Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Name is the identifier of the resource.
Name = "app"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfigError ¶
IsInvalidConfigError asserts invalidConfigError.
func IsNotDeleted ¶ added in v1.2.0
IsNotDeleted asserts notDeletedError.
Types ¶
type AppSpec ¶ added in v1.2.0
type AppSpec struct {
App string
AppOperatorVersion string
AppName string
Catalog string
ConfigMapName string
ConfigMapNamespace string
InCluster bool
HasClusterValuesSecret bool
TargetNamespace string
UseUpgradeForce bool
Version string
}
AppSpec is used to define app custom resources.
type Config ¶
type Config struct {
CtrlClient client.Client
Logger micrologger.Logger
AppOperatorCatalog string
AppOperatorVersion string
ChartOperatorCatalog string
ChartOperatorVersion string
}
Config represents the configuration used to create a new app resource.
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource implements the app resource.
func New ¶
New creates a new configured app state getter resource managing app CRs.
https://pkg.go.dev/github.com/giantswarm/resource/v2/appresource#StateGetter
func (Resource) EnsureCreated ¶ added in v1.2.0
func (Resource) EnsureDeleted ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.