Documentation ¶
Index ¶
- func AdjustDockerRegToClusterPVCSize(ctx context.Context, c client.Client, obj unstructured.Unstructured) (unstructured.Unstructured, error)
- func AppendContainersFlags(flags map[string]interface{}, ...) map[string]interface{}
- func AppendDefaultPresetFlags(flags map[string]interface{}, ...) map[string]interface{}
- func AppendExistingInternalRegistryCredentialsFlags(flags map[string]interface{}, username, password, registryHttpSecret string) map[string]interface{}
- func AppendExternalRegistryFlags(flags map[string]interface{}, enableInternal bool, ...) map[string]interface{}
- func AppendInternalRegistryFlags(flags map[string]interface{}, enableInternal bool) map[string]interface{}
- func AppendK3dRegistryFlags(flags map[string]interface{}, enableInternal bool, ...) map[string]interface{}
- func AppendNodePortFlag(flags map[string]interface{}, nodePort int64) map[string]interface{}
- func CheckCRDOrphanResources(config *Config) error
- func EmptyFlags() map[string]interface{}
- func Install(config *Config) error
- func IsPVC(objKind schema.GroupVersionKind) bool
- func NewInMemoryManifestCache() *inMemoryManifestCache
- func NewSecretManifestCache(client client.Client) *secretManifestCache
- func Uninstall(config *Config, filterFunc ...FilterFunc) error
- func Verify(config *Config) (bool, error)
- func WithoutCRDFilter(u unstructured.Unstructured) bool
- type Cluster
- type Config
- type FilterFunc
- type ManifestCache
- type Release
- type ServerlessSpecManifest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustDockerRegToClusterPVCSize ¶ added in v0.3.0
func AdjustDockerRegToClusterPVCSize(ctx context.Context, c client.Client, obj unstructured.Unstructured) (unstructured.Unstructured, error)
func AppendContainersFlags ¶ added in v0.0.3
func AppendDefaultPresetFlags ¶ added in v0.3.0
func AppendExistingInternalRegistryCredentialsFlags ¶ added in v0.3.0
func AppendExternalRegistryFlags ¶ added in v0.2.0
func AppendInternalRegistryFlags ¶ added in v0.2.0
func AppendK3dRegistryFlags ¶ added in v0.2.0
func AppendNodePortFlag ¶ added in v0.2.0
AppendNodePortFlag nodePort must be int64, because when we compare old Flags with new flags, by default all integers are int64
func CheckCRDOrphanResources ¶
func EmptyFlags ¶ added in v0.2.0
func EmptyFlags() map[string]interface{}
func IsPVC ¶ added in v0.3.0
func IsPVC(objKind schema.GroupVersionKind) bool
func NewInMemoryManifestCache ¶ added in v0.1.0
func NewInMemoryManifestCache() *inMemoryManifestCache
NewInMemoryManifestCache returns a new instance of inMemoryManifestCache.
func NewSecretManifestCache ¶ added in v0.1.0
NewSecretManifestCache - returns a new instance of SecretManifestCache.
func Uninstall ¶
func Uninstall(config *Config, filterFunc ...FilterFunc) error
func WithoutCRDFilter ¶
func WithoutCRDFilter(u unstructured.Unstructured) bool
Types ¶
type Config ¶
type Config struct { Ctx context.Context Log *zap.SugaredLogger Cache ManifestCache CacheKey types.NamespacedName ManagerUID string Cluster Cluster Release Release }
type FilterFunc ¶
type FilterFunc func(unstructured.Unstructured) bool
type ManifestCache ¶
type ServerlessSpecManifest ¶
Click to show internal directories.
Click to hide internal directories.