Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AppOperator defines the name of the app operator in a release. AppOperator = "app-operator" // CertOperator defines the name of the certificate operator in a release. CertOperator = "cert-operator" )
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsTooManyCRsError ¶
IsTooManyCRsError asserts tooManyCRsError.
Types ¶
type Interface ¶
type Interface interface { // AppVersion provides the version of each app in a release. Apps(ctx context.Context, obj interface{}) (map[string]ReleaseApp, error) // ComponentVersion provides the version of each component in a release. ComponentVersion(ctx context.Context, obj interface{}) (map[string]ReleaseComponent, error) }
type ReleaseApp ¶
type ReleaseComponent ¶
type ReleaseVersion ¶
type ReleaseVersion struct {
// contains filtered or unexported fields
}
func New ¶
func New(c Config) (*ReleaseVersion, error)
func (*ReleaseVersion) Apps ¶
func (rv *ReleaseVersion) Apps(ctx context.Context, obj interface{}) (map[string]ReleaseApp, error)
func (*ReleaseVersion) ComponentVersion ¶
func (rv *ReleaseVersion) ComponentVersion(ctx context.Context, obj interface{}) (map[string]ReleaseComponent, error)
Click to show internal directories.
Click to hide internal directories.