Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigPrefix = "client"
ConfigPrefix define configuration prefix
Functions ¶
This section is empty.
Types ¶
type Listable ¶
type Listable interface { Nodes() (*corev1.NodeList, error) Namespaces() (*corev1.NamespaceList, error) Deployments(ns string) (*appsv1.DeploymentList, error) Jobs(ns string) (*batchv1.JobList, error) Pods(ns string) (*corev1.PodList, error) }
Listable represents a listable client interface
type Options ¶
type Options struct { Logger logger.Logger `ignored:"true" json:"-"` InCluster bool `default:"true" envconfig:"in_cluster"` ConfigPath path.Path `envconfig:"config_path"` TimeoutSeconds int64 `default:"2" envconfig:"timeout_seconds"` }
Options represents the list of options
type Watchable ¶
type Watchable interface { NodesWatch() (watch.Interface, error) NamespacesWatch() (watch.Interface, error) DeploymentsWatch(ns string) (watch.Interface, error) JobsWatch(ns string) (watch.Interface, error) PodsWatch(ns string) (watch.Interface, error) }
Watchable represents a watchable client interface
Click to show internal directories.
Click to hide internal directories.