package
10.17.0+incompatible
Repository: https://github.com/openshift/windows-machine-config-operator.git
Documentation: pkg.go.dev

# Functions

GetDNS parses a subnet in CIDR format as defined by RFC 4632 and RFC 4291 and returns the IP address of the Cluster DNS.
GetProxyVars returns a map of the proxy variables and values from the WMCO container's environment.
IsProxyEnabled returns whether a global egress proxy is active in the cluster.
NewClusterNetworkCfg assigns a serviceCIDR value and returns a pointer to the clusterNetworkCfg struct.
NewConfig returns a Config struct pertaining to the cluster configuration.
ValidateCIDR uses the parseCIDR from network package to validate the format of the CIDR.

# Constants

MachineAPINamespace is the name of the namespace in which machine objects and userData secret is created.

# Variables

WatchedEnvironmentVars is a list of the WMCO watched environment variables.

# Interfaces

Config interface contains methods to expose cluster config related information.
Network interface contains methods to interact with cluster network objects.