chart

package
v0.0.0-...-f333cfc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCRDOrphanResources

func CheckCRDOrphanResources(config *Config) error

func Install

func Install(config *Config, customFlags map[string]interface{}) error

func IsPVC

func IsPVC(objKind schema.GroupVersionKind) bool

func NewInMemoryManifestCache

func NewInMemoryManifestCache() *inMemoryManifestCache

NewInMemoryManifestCache returns a new instance of inMemoryManifestCache.

func NewSecretManifestCache

func NewSecretManifestCache(client client.Client) *secretManifestCache

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 Verify

func Verify(config *Config) (bool, error)

func WithoutCRDFilter

func WithoutCRDFilter(u unstructured.Unstructured) bool

Types

type Cluster

type Cluster struct {
	Client client.Client
	Config *rest.Config
}

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 Release

type Release struct {
	ChartPath string
	Name      string
	Namespace string
}

type ServerlessSpecManifest

type ServerlessSpecManifest struct {
	ManagerUID  string
	CustomFlags map[string]interface{}
	Manifest    string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL