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 ¶
func NewDeleter(masterNodes, workerNodes []string, cluster *spec.K8Scluster, keepNodePools map[string]struct{}) *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() (*spec.K8Scluster, error)
DeleteNodes deletes nodes specified in d.masterNodes and d.workerNodes return nil if successful, error otherwise
type LonghornReplica ¶
type LonghornReplica struct {
Metadata struct {
Name string `yaml:"name"`
} `yaml:"metadata"`
Status struct {
InstanceManagerName string `yaml:"instanceManagerName"`
CurrentState string `yaml:"currentState"`
Started bool `yaml:"started"`
} `yaml:"status"`
Spec struct {
NodeID string `yaml:"nodeID"`
FailedAt string `yaml:"failedAt"`
} `yaml:"spec"`
}
type MetadataAnnotations ¶ added in v0.7.0
type PatchAnnotations ¶ added in v0.7.0
type PatchAnnotations struct {
MetadataAnnotations `json:"metadata"`
}
type Patcher ¶
type Patcher struct {
// contains filtered or unexported fields
}
func NewPatcher ¶
func NewPatcher(cluster *spec.K8Scluster, logger zerolog.Logger) *Patcher
type ReplicaList ¶ added in v0.9.1
type ReplicaList struct {
Items []LonghornReplica `yaml:"items"`
}
Click to show internal directories.
Click to hide internal directories.