Documentation
¶
Index ¶
- func ClusterOrderToClusterCreate(ctx context.Context, clusterOrder *apiresourcecontracts.ResourceClusterOrder) error
- func ClusterOrderToClusterDelete(ctx context.Context, clusterOrder *apiresourcecontracts.ResourceClusterOrder) error
- func ClusterOrderToClusterUpdate(ctx context.Context, clusterOrder *apiresourcecontracts.ResourceClusterOrder) error
- func GetFreePort() (port int, err error)
- type KindConfig
- type KindExtraPortMapping
- type KindIpFamily
- type KindNetworking
- type KindNode
- type KindRole
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterOrderToClusterCreate ¶
func ClusterOrderToClusterCreate(ctx context.Context, clusterOrder *apiresourcecontracts.ResourceClusterOrder) error
func ClusterOrderToClusterDelete ¶
func ClusterOrderToClusterDelete(ctx context.Context, clusterOrder *apiresourcecontracts.ResourceClusterOrder) error
func ClusterOrderToClusterUpdate ¶
func ClusterOrderToClusterUpdate(ctx context.Context, clusterOrder *apiresourcecontracts.ResourceClusterOrder) error
func GetFreePort ¶
Types ¶
type KindConfig ¶
type KindConfig struct { Kind string `json:"kind" yaml:"kind"` ApiVersion string `json:"apiVersion" yaml:"apiVersion"` Nodes []KindNode `json:"nodes" yaml:"nodes"` Networking KindNetworking `json:"networking,omitempty" yaml:"networking,omitempty"` }
type KindExtraPortMapping ¶
type KindIpFamily ¶
type KindIpFamily string
const ( KindIpFamilyDualStack KindIpFamily = "dual" KindIpFamilyIPv4 KindIpFamily = "ipv4" KindIpFamilyIPv6 KindIpFamily = "ipv6" )
type KindNetworking ¶
type KindNetworking struct { ApiServerPort int `json:"apiServerPort" yaml:"apiServerPort"` ApiServerAddress string `json:"apiServerAddress" yaml:"apiServerAddress"` IpFamiliy KindIpFamily `json:"ipFamiliy" yaml:"ipFamiliy"` DisableDefaultCNI bool `json:"disableDefaultCNI" yaml:"disableDefaultCNI"` }
type KindNode ¶
type KindNode struct { Role KindRole `json:"role" yaml:"role"` ExtraPortMappings []KindExtraPortMapping `json:"extraPortMappings,omitempty" yaml:"extraPortMappings,omitempty"` Image string `json:"image,omitempty" yaml:"image,omitempty"` }
Click to show internal directories.
Click to hide internal directories.