Documentation ¶
Index ¶
- func Canonicalize(conf *cnao.NetworkAddonsConfigSpec)
- func DefaultSelfSignConfiguration() *cnao.SelfSignConfiguration
- func FillDefaults(conf, previous *cnao.NetworkAddonsConfigSpec) error
- func GetDefaultPlacementConfiguration() cnao.PlacementConfiguration
- func IsChangeSafe(prev, next *cnao.NetworkAddonsConfigSpec) error
- func Render(conf *cnao.NetworkAddonsConfigSpec, manifestDir string, ...) ([]*unstructured.Unstructured, error)
- func RenderObjsToRemove(prev, conf *cnao.NetworkAddonsConfigSpec, manifestDir string, ...) ([]*unstructured.Unstructured, error)
- func SpecialCleanUp(conf *cnao.NetworkAddonsConfigSpec, client k8sclient.Client, ...) error
- func Validate(conf *cnao.NetworkAddonsConfigSpec, openshiftNetworkConfig *osv1.Network) error
- type ClusterInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Canonicalize ¶
func Canonicalize(conf *cnao.NetworkAddonsConfigSpec)
Canonicalize converts configuration to a canonical form.
func DefaultSelfSignConfiguration ¶ added in v0.50.0
func DefaultSelfSignConfiguration() *cnao.SelfSignConfiguration
func FillDefaults ¶
func FillDefaults(conf, previous *cnao.NetworkAddonsConfigSpec) error
FillDefaults computes any default values and applies them to the configuration This is a mutating operation. It should be called after Validate.
Defaults are carried forward from previous if it is provided. This is so we can change defaults as we move forward, but won't disrupt existing clusters.
func GetDefaultPlacementConfiguration ¶ added in v0.42.3
func GetDefaultPlacementConfiguration() cnao.PlacementConfiguration
func IsChangeSafe ¶
func IsChangeSafe(prev, next *cnao.NetworkAddonsConfigSpec) error
IsChangeSafe checks to see if the change between prev and next are allowed FillDefaults and Validate should have been called.
func Render ¶
func Render(conf *cnao.NetworkAddonsConfigSpec, manifestDir string, openshiftNetworkConfig *osv1.Network, clusterInfo *ClusterInfo) ([]*unstructured.Unstructured, error)
Render creates a list of components to be created
func RenderObjsToRemove ¶ added in v0.41.0
func RenderObjsToRemove(prev, conf *cnao.NetworkAddonsConfigSpec, manifestDir string, openshiftNetworkConfig *osv1.Network, clusterInfo *ClusterInfo) ([]*unstructured.Unstructured, error)
RenderObjsToRemove creates list of components to be removed
func SpecialCleanUp ¶ added in v0.41.0
func SpecialCleanUp(conf *cnao.NetworkAddonsConfigSpec, client k8sclient.Client, clusterInfo *ClusterInfo) error
specialCleanUp checks if there are any specific outdated objects or ones that are no longer compatible and deletes them.