Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CEOSLabSpec ¶
type CEOSLabSpec struct {
ManifestDir string `yaml:"manifests"`
Operator string `yaml:"operator" kne:"yaml"`
OperatorData []byte
// contains filtered or unexported fields
}
func (*CEOSLabSpec) SetKClient ¶
func (c *CEOSLabSpec) SetKClient(k kubernetes.Interface)
type CdnosSpec ¶
type CdnosSpec struct {
Operator string `yaml:"operator" kne:"yaml"`
OperatorData []byte
// contains filtered or unexported fields
}
func (*CdnosSpec) SetKClient ¶
func (c *CdnosSpec) SetKClient(k kubernetes.Interface)
type Controller ¶
type Deployment ¶
type Deployment struct {
Cluster Cluster `kne:"cluster"`
Ingress Ingress `kne:"ingress"`
CNI CNI `kne:"cni"`
Controllers []Controller `kne:"controllers"`
// If Progress is true then deployment status updates will be sent to
// standard output.
Progress bool
// If ReportUsage is true then anonymous usage metrics will be
// published using Cloud PubSub.
ReportUsage bool
// ReportUsageProjectID is the ID of the GCP project the usage
// metrics should be written to. This field is not used if
// ReportUsage is unset. An empty string will result in the
// default project being used.
ReportUsageProjectID string
// ReportUsageTopicID is the ID of the GCP PubSub topic the usage
// metrics should be written to. This field is not used if
// ReportUsage is unset. An empty string will result in the
// default topic being used.
ReportUsageTopicID string
}
func (*Deployment) Delete ¶
func (d *Deployment) Delete() error
func (*Deployment) Deploy ¶
func (d *Deployment) Deploy(ctx context.Context, kubecfg string) (rerr error)
func (*Deployment) String ¶
func (d *Deployment) String() string
type ExternalSpec ¶
type ExternalSpec struct {
Network string `yaml:"network"`
}
func (*ExternalSpec) Apply ¶
func (e *ExternalSpec) Apply(cfg []byte) error
func (*ExternalSpec) Delete ¶
func (e *ExternalSpec) Delete() error
func (*ExternalSpec) GetDockerNetworkResourceName ¶
func (e *ExternalSpec) GetDockerNetworkResourceName() string
func (*ExternalSpec) GetName ¶
func (e *ExternalSpec) GetName() string
func (*ExternalSpec) Healthy ¶
func (e *ExternalSpec) Healthy() error
type IxiaTGSpec ¶
type IxiaTGSpec struct {
ManifestDir string `yaml:"manifests"`
Operator string `yaml:"operator" kne:"yaml"`
OperatorData []byte
ConfigMap string `yaml:"configMap" kne:"yaml"`
ConfigMapData []byte
// contains filtered or unexported fields
}
func (*IxiaTGSpec) SetKClient ¶
func (i *IxiaTGSpec) SetKClient(k kubernetes.Interface)
type KindSpec ¶
type KindSpec struct {
Name string `yaml:"name"`
Recycle bool `yaml:"recycle"`
Version string `yaml:"version"`
Image string `yaml:"image"`
Retain bool `yaml:"retain"`
Wait time.Duration `yaml:"wait"`
Kubecfg string `yaml:"kubecfg" kne:"yaml"`
GoogleArtifactRegistries []string `yaml:"googleArtifactRegistries"`
ContainerImages map[string]string `yaml:"containerImages"`
KindConfigFile string `yaml:"config" kne:"yaml"`
AdditionalManifests []string `yaml:"additionalManifests" kne:"yaml"`
}
func (*KindSpec) GetDockerNetworkResourceName ¶
type KubeadmSpec ¶
type KubeadmSpec struct {
CRISocket string `yaml:"criSocket"`
PodNetworkCIDR string `yaml:"podNetworkCIDR"`
PodNetworkAddOnManifest string `yaml:"podNetworkAddOnManifest" kne:"yaml"`
PodNetworkAddOnManifestData []byte
TokenTTL string `yaml:"tokenTTL"`
Network string `yaml:"network"`
AllowControlPlaneScheduling bool `yaml:"allowControlPlaneScheduling"`
}
func (*KubeadmSpec) Apply ¶
func (k *KubeadmSpec) Apply(cfg []byte) error
func (*KubeadmSpec) Delete ¶
func (k *KubeadmSpec) Delete() error
func (*KubeadmSpec) GetDockerNetworkResourceName ¶
func (k *KubeadmSpec) GetDockerNetworkResourceName() string
func (*KubeadmSpec) GetName ¶
func (k *KubeadmSpec) GetName() string
func (*KubeadmSpec) Healthy ¶
func (k *KubeadmSpec) Healthy() error
type LemmingSpec ¶
type LemmingSpec struct {
ManifestDir string `yaml:"manifests"`
Operator string `yaml:"operator" kne:"yaml"`
OperatorData []byte
// contains filtered or unexported fields
}
func (*LemmingSpec) SetKClient ¶
func (l *LemmingSpec) SetKClient(k kubernetes.Interface)
type MeshnetSpec ¶
type MeshnetSpec struct {
ManifestDir string `yaml:"manifests"`
Manifest string `yaml:"manifest" kne:"yaml"`
ManifestData []byte
// contains filtered or unexported fields
}
func (*MeshnetSpec) SetKClient ¶
func (m *MeshnetSpec) SetKClient(c kubernetes.Interface)
type MetalLBSpec ¶
type MetalLBSpec struct {
IPCount int `yaml:"ip_count"`
ManifestDir string `yaml:"manifests"`
Manifest string `yaml:"manifest" kne:"yaml"`
ManifestData []byte
// contains filtered or unexported fields
}
func (*MetalLBSpec) SetDockerNetworkResourceName ¶
func (m *MetalLBSpec) SetDockerNetworkResourceName(name string)
func (*MetalLBSpec) SetKClient ¶
func (m *MetalLBSpec) SetKClient(c kubernetes.Interface)
func (*MetalLBSpec) SetRCfg ¶
func (m *MetalLBSpec) SetRCfg(cfg *rest.Config)
type SRLinuxSpec ¶
type SRLinuxSpec struct {
ManifestDir string `yaml:"manifests"`
Operator string `yaml:"operator" kne:"yaml"`
OperatorData []byte
// contains filtered or unexported fields
}
func (*SRLinuxSpec) SetKClient ¶
func (s *SRLinuxSpec) SetKClient(k kubernetes.Interface)
Click to show internal directories.
Click to hide internal directories.