package
0.20.4
Repository: https://github.com/keptn/go-utils.git
Documentation: pkg.go.dev

# Functions

NewResourceHelper creates a new ResourceHelper using a api.ResourcesV1Interface.
NewSLIHelper creates a new SLIHelper with a Keptn resource handler for the configuration service.

# Structs

GetSLIOptions specifies the project, stage, dervice and SLI file name to be fetched.
ResourceError represents an error for a resource that was not found.
ResourceHelper is the default implementation for the ResourceClientInterface using a Keptn api.ResourcesV1Interface.
ResourceRetrievalFailedError represents an error for a resource that could not be retrieved because of an error.
ResourceUploadFailedError represents an error for a resource that could not be uploaded.
SLI struct for SLI.yaml.
SLIHelper is the default implementation of SLIReader used for retrieving SLI content.

# Interfaces

ResourceClientInterface defines the methods for interacting with resources of Keptn's configuration service.

# Type aliases

ResourceEmptyError represents an error for a resource that was found, but is empty.
ResourceNotFoundError represents an error for a resource that was not found.