Documentation
¶
Index ¶
- Variables
- func Deploy(name string, DeploymentName string, replica int32, image string) error
- func ExistByNameSpace(NameSpace string) (bool, error)
- func GetDeployment(NameSpace string, DeploymentName string) (*appv1.Deployment, error)
- func GetDeploymentsAll(NameSpace string) (*appv1.DeploymentList, error)
- func GetNameSpace(NameSpace string) (*apiv1.Namespace, error)
- func GetNameSpaces() (*apiv1.NamespaceList, error)
- func SetDeployment(NameSpace string, DeploymentName string, Replicas int32, Image string) error
- func Setup()
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientSetConn *kubernetes.Clientset
Functions ¶
func ExistByNameSpace ¶
func GetDeployment ¶
func GetDeployment(NameSpace string, DeploymentName string) (*appv1.Deployment, error)
func GetDeploymentsAll ¶
func GetDeploymentsAll(NameSpace string) (*appv1.DeploymentList, error)
func GetNameSpaces ¶
func GetNameSpaces() (*apiv1.NamespaceList, error)
func SetDeployment ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.