Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InKubernetes ¶
func InKubernetes() bool
func KubeConfig ¶
Types ¶
type Kube ¶
type Kube interface { Secret(namespace string, name string) (*v1.Secret, error) SecretList(namespace string, opts metav1.ListOptions) (*v1.SecretList, error) SecretCreate(namespace string, secret *v1.Secret) (*v1.Secret, error) SecretDelete(namespace string, secretName string) error SecretDeleteCollection(namespace string, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Node(name string) (*v1.Node, error) Nodes() (*v1.NodeList, error) FinalizeNamespace(namespace string) error LogTailList(namespace string) (*platformv1alpha1.LogTailList, error) LogTail(namespace string, name string) (*platformv1alpha1.LogTail, error) ProxyList(namespace string) (*platformv1alpha1.ProxyList, error) Proxy(namespace string, name string) (*platformv1alpha1.Proxy, error) Apply(path string, force bool) error CreateNamespace(namespace string, managedByPlural bool) error GetClient() *kubernetes.Clientset GetRestClient() *restclient.RESTClient }
func Kubernetes ¶
Click to show internal directories.
Click to hide internal directories.