Documentation ¶
Index ¶
Constants ¶
View Source
const (
ProviderIdFormat = "claudie://%s"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deleter ¶
type Deleter struct {
// contains filtered or unexported fields
}
func NewDeleter ¶ added in v0.2.2
func NewDeleter(masterNodes, workerNodes []string, cluster *pb.K8Scluster) *Deleter
New returns new Deleter struct, used for node deletion from a k8s cluster masterNodes - master nodes to DELETE workerNodes - worker nodes to DELETE
func (*Deleter) DeleteNodes ¶
func (d *Deleter) DeleteNodes() (*pb.K8Scluster, error)
DeleteNodes deletes nodes specified in d.masterNodes and d.workerNodes return nil if successful, error otherwise
type LonghornReplica ¶
type LonghornReplica struct { Metadata Metadata `yaml:"metadata"` Status Status `yaml:"status"` Spec ReplicaSpec `yaml:"spec"` }
type LonghornVolume ¶
type LonghornVolume struct { Metadata Metadata `yaml:"metadata"` Spec VolumeSpec `yaml:"spec"` }
type Patcher ¶ added in v0.2.2
type Patcher struct {
// contains filtered or unexported fields
}
func NewPatcher ¶ added in v0.2.2
func NewPatcher(cluster *pb.K8Scluster) *Patcher
type ReplicaSpec ¶
type ReplicaSpec struct {
VolumeName string `yaml:"volumeName"`
}
type VolumeSpec ¶
type VolumeSpec struct {
NumberOfReplicas int `yaml:"numberOfReplicas"`
}
Click to show internal directories.
Click to hide internal directories.