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
OCPFeatureGates featuregates.FeatureGate
// TLSCipherSuites is a comma-separated list of TLS cipher suites for CCM --tls-cipher-suites flag
TLSCipherSuites string
// TLSMinVersion is the minimum TLS version for CCM --tls-min-version flag
TLSMinVersion string
}
OperatorConfig contains configuration values for templating resources
func ComposeConfig ¶
func ComposeConfig(infrastructure *configv1.Infrastructure, clusterProxy *configv1.Proxy, imagesFile, managedNamespace string, featureGateAccessor featuregates.FeatureGateAccess, tlsConfig func(*tls.Config)) (OperatorConfig, error)
ComposeConfig creates a Config for operator
func (*OperatorConfig) GetPlatformNameString ¶
func (cfg *OperatorConfig) GetPlatformNameString() string
Click to show internal directories.
Click to hide internal directories.