package
1.0.0
Repository: https://github.com/lsutils/kind.git
Documentation: pkg.go.dev

# Packages

Package encoding implements utilities for decoding from yaml the `kind` Config.

# Functions

ClusterHasImplicitLoadBalancer returns true if this cluster has an implicit api-server LoadBalancer.
ClusterHasIPv6 returns true if the cluster should have IPv6 enabled due to either being IPv6 cluster family or Dual Stack.
Convertv1alpha4 converts a v1alpha4 cluster to a cluster at the internal API version.
SetDefaultsCluster sets uninitialized fields to their default value.
SetDefaultsNode sets uninitialized fields to their default value.

# Constants

ControlPlaneRole identifies a node that hosts a Kubernetes control-plane.
DualStackFamily sets ClusterIPFamily to dual.
IPTablesProxyMode sets ProxyMode to iptables.
IPv4Family sets ClusterIPFamily to ipv4.
IPv6Family sets ClusterIPFamily to ipv6.
IPVSProxyMode sets ProxyMode to ipvs.
MountPropagationBidirectional specifies that mounts get propagated from the host to the container and from the container to the host ("rshared" in Linux).
MountPropagationHostToContainer specifies that mounts get propagated from the host to the container ("rslave" in Linux).
MountPropagationNone specifies that no mount propagation ("private" in Linux terminology).
NFTablesProxyMode sets ProxyMode to nftables.
NoneProxyMode disables kube-proxy.
PortMappingProtocolSCTP specifies SCTP protocol.
PortMappingProtocolTCP specifies TCP protocol.
PortMappingProtocolUDP specifies UDP protocol.
WorkerRole identifies a node that hosts a Kubernetes worker.

# Structs

Cluster contains kind cluster configuration.
Mount specifies a host volume to mount into a container.
Networking contains cluster wide network settings.
Node contains settings for a node in the `kind` Cluster.
PatchJSON6902 represents an inline kustomize json 6902 patch https://tools.ietf.org/html/rfc6902.
PortMapping specifies a host port mapped into a container port.

# Type aliases

ClusterIPFamily defines cluster network IP family.
MountPropagation represents an "enum" for mount propagation options, see also Mount.
NodeRole defines possible role for nodes in a Kubernetes cluster managed by `kind`.
PortMappingProtocol represents an "enum" for port mapping protocol options, see also PortMapping.
ProxyMode defines a proxy mode for kube-proxy.