Documentation ¶
Index ¶
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 Telepolice ¶
type Telepolice struct {
// contains filtered or unexported fields
}
func NewByInClusterConfig ¶
func NewByInClusterConfig(c *Config) (*Telepolice, error)
func NewByKubeConfig ¶
func NewByKubeConfig(c *Config) (*Telepolice, error)
func (*Telepolice) Cleanup ¶
func (te *Telepolice) Cleanup(dryrun bool) error
func (*Telepolice) EnableVerbose ¶
func (te *Telepolice) EnableVerbose()
func (*Telepolice) Get ¶
func (te *Telepolice) Get() error
func (*Telepolice) SetAllNamespaces ¶
func (te *Telepolice) SetAllNamespaces() error
func (*Telepolice) SetNamespaces ¶
func (te *Telepolice) SetNamespaces(namespaces []string)
func (*Telepolice) WatchWithCleanup ¶
func (te *Telepolice) WatchWithCleanup(dryrun bool, intervalSec int) error
Click to show internal directories.
Click to hide internal directories.