Documentation ¶
Index ¶
- func AdjustDockerRegToClusterPVCSize(ctx context.Context, c client.Client, obj unstructured.Unstructured) (unstructured.Unstructured, error)
- func CheckCRDOrphanResources(config *Config) error
- func Install(config *Config, customFlags map[string]interface{}) error
- func IsPVC(objKind schema.GroupVersionKind) bool
- func NewInMemoryManifestCache() *inMemoryManifestCache
- func NewSecretManifestCache(client client.Client) *secretManifestCache
- func Uninstall(config *Config, filterFunc ...FilterFunc) error
- func UninstallSecrets(config *Config, filterFunc ...FilterFunc) (error, bool)
- func Verify(config *Config) (bool, error)
- func WithoutCRDFilter(u unstructured.Unstructured) bool
- type Cluster
- type Config
- type FilterFunc
- type FlagsBuilder
- type ManifestCache
- type Release
- type ServerlessSpecManifest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustDockerRegToClusterPVCSize ¶
func AdjustDockerRegToClusterPVCSize(ctx context.Context, c client.Client, obj unstructured.Unstructured) (unstructured.Unstructured, error)
func CheckCRDOrphanResources ¶
func IsPVC ¶
func IsPVC(objKind schema.GroupVersionKind) bool
func NewInMemoryManifestCache ¶
func NewInMemoryManifestCache() *inMemoryManifestCache
NewInMemoryManifestCache returns a new instance of inMemoryManifestCache.
func NewSecretManifestCache ¶
NewSecretManifestCache - returns a new instance of SecretManifestCache.
func Uninstall ¶
func Uninstall(config *Config, filterFunc ...FilterFunc) error
func UninstallSecrets ¶
func UninstallSecrets(config *Config, filterFunc ...FilterFunc) (error, bool)
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 FlagsBuilder ¶
type FlagsBuilder interface { Build() map[string]interface{} WithControllerConfiguration(CPUUtilizationPercentage string, requeueDuration string, buildExecutorArgs string, maxSimultaneousJobs string, healthzLivenessTimeout string, requestBodyLimitMb string, timeoutSec string) *flagsBuilder WithDefaultPresetFlags(defaultBuildJobPreset string, defaultRuntimePodPreset string) *flagsBuilder WithOptionalDependencies(publisherURL string, traceCollectorURL string) *flagsBuilder WithRegistryAddresses(registryAddress string, serverAddress string) *flagsBuilder WithRegistryCredentials(username string, password string) *flagsBuilder WithRegistryEnableInternal(enableInternal bool) *flagsBuilder WithRegistryHttpSecret(httpSecret string) *flagsBuilder WithNodePort(nodePort int64) *flagsBuilder }
func NewFlagsBuilder ¶
func NewFlagsBuilder() FlagsBuilder
type ManifestCache ¶
type ServerlessSpecManifest ¶
Click to show internal directories.
Click to hide internal directories.