Documentation ¶
Index ¶
- Constants
- func GenErrorMsg(errType, customMsg string) error
- func GetBiliName(client *kubernetes.Clientset, namespace, deploymentName string) (string, error)
- func GetK8sClient() (*kubernetes.Clientset, *rest.Config, error)
- func GetResourceFileSys() (filesys.FileSystem, error)
- func Run(cmd *exec.Cmd, in io.Reader) error
Constants ¶
View Source
const ( // For errors about kustomize TEMPLATE_ERROR = "template error" // For errors about file system FILE_ERROR = "file system error" // For errors about create/delete/... resources in cluster SERVER_ERROR = "cluster operation error" // For exec errors EXEC_ERROR = "exec error" )
Variables ¶
This section is empty.
Functions ¶
func GenErrorMsg ¶
func GetBiliName ¶
func GetBiliName(client *kubernetes.Clientset, namespace, deploymentName string) (string, error)
func GetK8sClient ¶
func GetK8sClient() (*kubernetes.Clientset, *rest.Config, error)
func GetResourceFileSys ¶
func GetResourceFileSys() (filesys.FileSystem, error)
GetResourceFileSys file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.