Documentation ¶
Index ¶
- type AuditEnabler
- type AuditPolicyFileTemplate
- type CpuMemoryGetter
- type DefaultPasswordGetter
- type ExportPortsGetter
- type GpuGetter
- type K8sNodeVersion
- type KindConfiger
- type KindFileTemplate
- type KubeAPIIPGetter
- type KubeAPIPortGetter
- type LocalPathGetter
- type NameGetter
- type NodeLabelsGetter
- type NodeVersionGetter
- type SSHPortGetter
- type TemplateExecutor
- type Worker
- type WorkersGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEnabler ¶
type AuditPolicyFileTemplate ¶
type AuditPolicyFileTemplate struct {
// contains filtered or unexported fields
}
func NewAuditPolicyTemplate ¶
func NewAuditPolicyTemplate() *AuditPolicyFileTemplate
func (*AuditPolicyFileTemplate) Execute ¶
func (k *AuditPolicyFileTemplate) Execute(w io.Writer) error
func (*AuditPolicyFileTemplate) Filename ¶
func (k *AuditPolicyFileTemplate) Filename() string
func (*AuditPolicyFileTemplate) Populate ¶
func (k *AuditPolicyFileTemplate) Populate(v interface{}) error
type CpuMemoryGetter ¶
type DefaultPasswordGetter ¶
type DefaultPasswordGetter interface {
GetDefaultPassword() string
}
type ExportPortsGetter ¶
type ExportPortsGetter interface {
GetExportPorts() []machine.ExportPortPair
}
type K8sNodeVersion ¶
func (K8sNodeVersion) String ¶
func (k K8sNodeVersion) String() string
type KindConfiger ¶
type KindConfiger interface { NameGetter NodeVersionGetter KubeAPIPortGetter KubeAPIIPGetter GpuGetter ExportPortsGetter AuditEnabler WorkersGetter NodeLabelsGetter LocalPathGetter }
type KindFileTemplate ¶
type KindFileTemplate struct { Name string KubeAPIIP string KubeAPIPort int UseGPU bool ExportPorts []machine.ExportPortPair AuditEnabled bool AuditFileAbsolutePath string LocalPath string Workers []Worker NodeLabels []string NodeVersion string // contains filtered or unexported fields }
func NewKindTemplate ¶
func NewKindTemplate() *KindFileTemplate
func (*KindFileTemplate) Filename ¶
func (k *KindFileTemplate) Filename() string
func (*KindFileTemplate) Populate ¶
func (k *KindFileTemplate) Populate(v interface{}) error
type KubeAPIIPGetter ¶
type KubeAPIIPGetter interface {
GetKubeAPIIP() string
}
type KubeAPIPortGetter ¶
type KubeAPIPortGetter interface {
GetKubeAPIPort() int
}
type LocalPathGetter ¶
type LocalPathGetter interface {
LocalPath() string
}
type NameGetter ¶
type NameGetter interface {
GetName() string
}
type NodeLabelsGetter ¶
type NodeVersionGetter ¶
type NodeVersionGetter interface {
GetNodeVersion() k8s.KindK8sVersion
}
type SSHPortGetter ¶
type SSHPortGetter interface {
GetSSHPort() int
}
type TemplateExecutor ¶
type WorkersGetter ¶
type WorkersGetter interface {
GetWorkers() []Worker
}
Click to show internal directories.
Click to hide internal directories.