Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientSet ¶
func GetClientSet() *kubernetes.Clientset
Types ¶
type Dep ¶
type Dep struct {
DeploymentClient v1.DeploymentInterface
}
func (Dep) CreateDelployment ¶
func (d Dep) CreateDelployment()
func (Dep) DeleteDeployment ¶
func (d Dep) DeleteDeployment()
func (Dep) GetDeployment ¶
func (d Dep) GetDeployment()
func (Dep) UpdateDeployment ¶
func (d Dep) UpdateDeployment()
type Resource ¶
type Resource struct { //holds on the file path of the wanted api object FilePath string // type of the api obeject like depl,statefulset,etc Kind appsv1.Deployment // such as depl client, statefulset client Clientset v1.DeploymentInterface }
Click to show internal directories.
Click to hide internal directories.