install

package
v1.21.6-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeGemPluginsPath            = "plugins"
	GlobalValuesConfigMapName     = pluginscommon.KubeGemsGlobalValuesConfigMapName
	KubeGemsLocalPluginsNamespace = pluginscommon.KubeGemsLocalPluginsNamespace
)

Variables

This section is empty.

Functions

func CreateOrPatchInNamespace

func CreateOrPatchInNamespace(ctx context.Context, cli client.Client, ns string, objects ...client.Object) error

func ParseInstallerFrom

func ParseInstallerFrom(path string, values GlobalValues) ([]client.Object, error)

func ParsePluginsFrom

func ParsePluginsFrom(path string, values GlobalValues) ([]client.Object, error)

Types

type GlobalValues

type GlobalValues struct {
	ImageRegistry   string `json:"imageRegistry"`
	ImageRepository string `json:"imageRepository"`
	ClusterName     string `json:"clusterName"`
	StorageClass    string `json:"storageClass"`
	KubegemsVersion string `json:"kubegemsVersion"`
	Runtime         string `json:"runtime"`
}

type OpratorInstaller

type OpratorInstaller struct {
	Config *rest.Config // target cluster config
}

func (OpratorInstaller) Apply

func (i OpratorInstaller) Apply(ctx context.Context, ns string, values GlobalValues) error

func (OpratorInstaller) Remove

func (i OpratorInstaller) Remove(ctx context.Context, ns string) error

Jump to

Keyboard shortcuts

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