Documentation ¶
Index ¶
- type Deployment
- func (d *Deployment) DeployM() error
- func (d *Deployment) ExistByDeployment() (bool bool, err error)
- func (d *Deployment) ExistByNameSpace() (bool, error)
- func (d *Deployment) GetDeployment() (*appv1.Deployment, error)
- func (d *Deployment) GetDeploymentsAll() (data []string, err error)
- func (d *Deployment) GetDeploymentsAllCount() (data int, err error)
- func (d *Deployment) GetNameSpace() (*apiv1.Namespace, error)
- func (d *Deployment) GetNameSpaces() (data []string, err error)
- func (d *Deployment) GetNameSpacesCount() (data int32, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
分层代码,一般将前端所传的参数申明成在一个结构体内
func (*Deployment) DeployM ¶
func (d *Deployment) DeployM() error
func (*Deployment) ExistByDeployment ¶
func (d *Deployment) ExistByDeployment() (bool bool, err error)
func (*Deployment) ExistByNameSpace ¶
func (d *Deployment) ExistByNameSpace() (bool, error)
func (*Deployment) GetDeployment ¶
func (d *Deployment) GetDeployment() (*appv1.Deployment, error)
func (*Deployment) GetDeploymentsAll ¶
func (d *Deployment) GetDeploymentsAll() (data []string, err error)
func (*Deployment) GetDeploymentsAllCount ¶
func (d *Deployment) GetDeploymentsAllCount() (data int, err error)
func (*Deployment) GetNameSpace ¶
func (d *Deployment) GetNameSpace() (*apiv1.Namespace, error)
func (*Deployment) GetNameSpaces ¶
func (d *Deployment) GetNameSpaces() (data []string, err error)
func (*Deployment) GetNameSpacesCount ¶
func (d *Deployment) GetNameSpacesCount() (data int32, err error)
Click to show internal directories.
Click to hide internal directories.