Documentation ¶
Index ¶
- func CurrentDir() string
- func ExecToPodThroughAPI(command, containerName, podName, namespace string, stdin io.Reader) (string, string, error)
- func Exists(path string) (bool, error)
- func GetClientConfig() (*rest.Config, error)
- func GetClientDynamic() (dynamic.Interface, error)
- func GetClientFromDynamic(config *rest.Config) (dynamic.Interface, error)
- func GetClientFromKubernetes(config *rest.Config) (*kubernetes.Clientset, error)
- func GetClientKubernetes() (*kubernetes.Clientset, error)
- func GetRESTClient() (*rest.RESTClient, error)
- func Indent(n int, text string) string
- func Render(tmpl *template.Template, variables map[string]interface{}) (string, error)
- func RunCommand(command string) string
- func ToYAML(v interface{}) string
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentDir ¶
func CurrentDir() string
func ExecToPodThroughAPI ¶
func GetClientConfig ¶
func GetClientDynamic ¶
func GetClientFromDynamic ¶
func GetClientFromKubernetes ¶
func GetClientFromKubernetes(config *rest.Config) (*kubernetes.Clientset, error)
func GetClientKubernetes ¶
func GetClientKubernetes() (*kubernetes.Clientset, error)
func GetRESTClient ¶
func GetRESTClient() (*rest.RESTClient, error)
func RunCommand ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.