Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type AppCatalog ¶ added in v1.28.0
type AppCatalog struct { CR *applicationv1alpha1.AppCatalog Entries *applicationv1alpha1.AppCatalogEntryList }
AppCatalog abstracts away the custom resource so it can be returned as a runtime object or a typed custom resource.
func (*AppCatalog) Object ¶ added in v1.28.0
func (a *AppCatalog) Object() runtime.Object
type Collection ¶ added in v1.28.0
type Collection struct {
Items []AppCatalog
}
Collection wraps a list of appcatalogs.
func (*Collection) Object ¶ added in v1.28.0
func (cc *Collection) Object() runtime.Object
type Config ¶
Config represent the input parameters that New takes to produce a valid appcatalog getter Service.
type GetOptions ¶
GetOptions are the parameters that the Get method takes.
type Interface ¶
type Interface interface {
Get(context.Context, GetOptions) (Resource, error)
}
Interface represents the contract for the appcatalog data service. Using this instead of a regular 'struct' makes mocking the service in tests much simpler.
Click to show internal directories.
Click to hide internal directories.