config

package
v0.0.0-...-3385690 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImagesReference

type ImagesReference struct {
	CloudControllerManagerOperator  string `json:"cloudControllerManagerOperator"`
	CloudControllerManagerAWS       string `json:"cloudControllerManagerAWS"`
	CloudControllerManagerAzure     string `json:"cloudControllerManagerAzure"`
	CloudNodeManagerAzure           string `json:"cloudNodeManagerAzure"`
	CloudControllerManagerGCP       string `json:"cloudControllerManagerGCP"`
	CloudControllerManagerIBM       string `json:"cloudControllerManagerIBM"`
	CloudControllerManagerOpenStack string `json:"cloudControllerManagerOpenStack"`
	CloudControllerManagerVSphere   string `json:"cloudControllerManagerVSphere"`
	CloudControllerManagerPowerVS   string `json:"cloudControllerManagerPowerVS"`
	CloudControllerManagerNutanix   string `json:"cloudControllerManagerNutanix"`
}

ImagesReference allows build systems to inject ImagesReference for CCCMO components This structure widely using for construct CloudProviderAssets objects and represents expected structure of `cloud-controller-manager-images` config map which manages and populating by `openshift-cluster-version-operator`. See manifests/0000_26_cloud-controller-manager-operator_01_images.configmap.yaml

type OperatorConfig

type OperatorConfig struct {
	ManagedNamespace   string
	ImagesReference    ImagesReference
	IsSingleReplica    bool
	InfrastructureName string
	PlatformStatus     *configv1.PlatformStatus
	ClusterProxy       *configv1.Proxy
	FeatureGates       string
}

OperatorConfig contains configuration values for templating resources

func ComposeConfig

func ComposeConfig(infrastructure *configv1.Infrastructure, clusterProxy *configv1.Proxy, imagesFile, managedNamespace string, featureGateAccessor featuregates.FeatureGateAccess) (OperatorConfig, error)

ComposeConfig creates a Config for operator

func (*OperatorConfig) GetPlatformNameString

func (cfg *OperatorConfig) GetPlatformNameString() string

Jump to

Keyboard shortcuts

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