network

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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