Documentation ¶
Index ¶
- func Canonicalize(conf *opv1alpha1.NetworkAddonsConfigSpec)
- func FillDefaults(conf, previous *opv1alpha1.NetworkAddonsConfigSpec)
- func IsChangeSafe(prev, next *opv1alpha1.NetworkAddonsConfigSpec) error
- func Render(conf *opv1alpha1.NetworkAddonsConfigSpec, manifestDir string, ...) ([]*unstructured.Unstructured, error)
- func Validate(conf *opv1alpha1.NetworkAddonsConfigSpec, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Canonicalize ¶
func Canonicalize(conf *opv1alpha1.NetworkAddonsConfigSpec)
Canonicalize converts configuration to a canonical form.
func FillDefaults ¶
func FillDefaults(conf, previous *opv1alpha1.NetworkAddonsConfigSpec)
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 IsChangeSafe ¶
func IsChangeSafe(prev, next *opv1alpha1.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 *opv1alpha1.NetworkAddonsConfigSpec, manifestDir string, openshiftNetworkConfig *osnetv1.NetworkConfig, enableSCC bool) ([]*unstructured.Unstructured, error)
func Validate ¶
func Validate(conf *opv1alpha1.NetworkAddonsConfigSpec, openshiftNetworkConfig *osnetv1.NetworkConfig) error
Validate checks that the supplied configuration is reasonable. This should be called after Canonicalize
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.