Documentation ¶
Index ¶
- type Config
- type KubernetesLastAppliedConfiguration
- type KubernetesMetadata
- type KubernetesSpec
- type Telecleaner
- func (te *Telecleaner) Cleanup(dryrun bool) error
- func (te *Telecleaner) EnableVerbose()
- func (te *Telecleaner) Get() error
- func (te *Telecleaner) SetAllNamespaces() error
- func (te *Telecleaner) SetNamespaces(namespaces []string)
- func (te *Telecleaner) WatchWithCleanup(dryrun bool, intervalSec int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type KubernetesLastAppliedConfiguration ¶
type KubernetesLastAppliedConfiguration struct { Metadata KubernetesMetadata `json:"metadata"` Spec KubernetesSpec `json:"spec"` }
type KubernetesMetadata ¶
type KubernetesMetadata struct {
SelfLink string `json:"selfLink"`
}
type KubernetesSpec ¶
type KubernetesSpec struct {
Replicas int32 `json:"replicas"`
}
type Telecleaner ¶
type Telecleaner struct {
// contains filtered or unexported fields
}
func NewByInClusterConfig ¶
func NewByInClusterConfig(c *Config) (*Telecleaner, error)
func NewByKubeConfig ¶
func NewByKubeConfig(c *Config) (*Telecleaner, error)
func (*Telecleaner) Cleanup ¶
func (te *Telecleaner) Cleanup(dryrun bool) error
func (*Telecleaner) EnableVerbose ¶
func (te *Telecleaner) EnableVerbose()
func (*Telecleaner) Get ¶
func (te *Telecleaner) Get() error
func (*Telecleaner) SetAllNamespaces ¶
func (te *Telecleaner) SetAllNamespaces() error
func (*Telecleaner) SetNamespaces ¶
func (te *Telecleaner) SetNamespaces(namespaces []string)
func (*Telecleaner) WatchWithCleanup ¶
func (te *Telecleaner) WatchWithCleanup(dryrun bool, intervalSec int) error
Click to show internal directories.
Click to hide internal directories.