nodenetworkconfig

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NodeNetworkConfigsYAML []byte

NodeNetworkConfigsYAML embeds the CRD YAML for downstream consumers.

Functions

func GetNodeNetworkConfigs

func GetNodeNetworkConfigs() (*apiextensionsv1.CustomResourceDefinition, error)

GetNodeNetworkConfigsDefinition parses the raw []byte NodeNetworkConfigs in to a CustomResourceDefinition and returns it or an unmarshalling error.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClientWithConfig added in v1.4.12

func NewClientWithConfig(c *rest.Config) (*Client, error)

func (*Client) Install added in v1.4.12

func (c *Client) Install(ctx context.Context) (*v1.CustomResourceDefinition, error)

Install installs the embedded NodeNetworkConfig CRD definition in the cluster.

func (*Client) InstallOrUpdate added in v1.4.12

func (c *Client) InstallOrUpdate(ctx context.Context) (*v1.CustomResourceDefinition, error)

Directories

Path Synopsis
api
v1alpha
Package v1alpha contains API Schema definitions for the acn v1alpha API group +kubebuilder:object:generate=true +groupName=acn.azure.com
Package v1alpha contains API Schema definitions for the acn v1alpha API group +kubebuilder:object:generate=true +groupName=acn.azure.com
Package manifests exists to allow the rendered CRD manifests to be packaged in to dependent components.
Package manifests exists to allow the rendered CRD manifests to be packaged in to dependent components.

Jump to

Keyboard shortcuts

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