Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Kubernetes() kubernetes.Interface KubernetesDynamic() dynamic.Interface Config() *rest.Config }
func NewKubernetesClient ¶
func NewKubernetesClient(options *KubernetesOptions) Client
NewKubernetesClient creates a KubernetesClient
type KubernetesOptions ¶
type KubernetesOptions struct { // kubernetes clientset qps // +optional QPS float32 `json:"qps,omitempty" yaml:"qps"` // kubernetes clientset burst // +optional Burst int `json:"burst,omitempty" yaml:"burst"` Kubeconfig string Master string Config *rest.Config `json:"-" yaml:"-"` }
func NewKubernetesOptions ¶
func NewKubernetesOptions(kubeConfig, master string) *KubernetesOptions
NewKubernetesOptions returns a `zero` instance
Click to show internal directories.
Click to hide internal directories.