Documentation ¶
Index ¶
- type Deployments
- func (obj *Deployments) Apply(yaml string, namespace string) (k8sTypes.Deployment, error)
- func (obj *Deployments) Create(deployment k8sTypes.Deployment, namespace string, opts metav1.CreateOptions) (k8sTypes.Deployment, error)
- func (obj *Deployments) Delete(name, namespace string, opts metav1.DeleteOptions) error
- func (obj *Deployments) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.Deployment, error)
- func (obj *Deployments) Kill(name, namespace string, opts metav1.DeleteOptions) errordeprecated
- func (obj *Deployments) List(namespace string) ([]k8sTypes.Deployment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployments ¶
type Deployments struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *kubernetes.Clientset, metaOptions metav1.ListOptions, ctx context.Context) *Deployments
func (*Deployments) Apply ¶
func (obj *Deployments) Apply(yaml string, namespace string) (k8sTypes.Deployment, error)
func (*Deployments) Create ¶
func (obj *Deployments) Create( deployment k8sTypes.Deployment, namespace string, opts metav1.CreateOptions, ) (k8sTypes.Deployment, error)
func (*Deployments) Delete ¶
func (obj *Deployments) Delete(name, namespace string, opts metav1.DeleteOptions) error
func (*Deployments) Get ¶
func (obj *Deployments) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.Deployment, error)
func (*Deployments) Kill
deprecated
func (obj *Deployments) Kill(name, namespace string, opts metav1.DeleteOptions) error
Deprecated: Use Delete instead.
func (*Deployments) List ¶
func (obj *Deployments) List(namespace string) ([]k8sTypes.Deployment, error)
Click to show internal directories.
Click to hide internal directories.