Documentation
¶
Index ¶
- Constants
- func CreateOrPatchInNamespace(ctx context.Context, cli client.Client, ns string, objects ...client.Object) error
- func ParseInstallerFrom(path string, values GlobalValues) ([]client.Object, error)
- func ParsePluginsFrom(path string, values GlobalValues) ([]client.Object, error)
- type GlobalValues
- type OpratorInstaller
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
}
Click to show internal directories.
Click to hide internal directories.