Documentation ¶
Index ¶
- type DeploymentWrapper
- func (d *DeploymentWrapper) Label(k, v string) *DeploymentWrapper
- func (d *DeploymentWrapper) Name(n string) *DeploymentWrapper
- func (d *DeploymentWrapper) Obj() *appsv1.Deployment
- func (d *DeploymentWrapper) PodTemplateSpecLabel(k, v string) *DeploymentWrapper
- func (d *DeploymentWrapper) PodTemplateSpecQueue(q string) *DeploymentWrapper
- func (d *DeploymentWrapper) Queue(q string) *DeploymentWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentWrapper ¶
type DeploymentWrapper struct {
appsv1.Deployment
}
DeploymentWrapper wraps a Deployment.
func MakeDeployment ¶
func MakeDeployment(name, ns string) *DeploymentWrapper
MakeDeployment creates a wrapper for a Deployment with a single container.
func (*DeploymentWrapper) Label ¶
func (d *DeploymentWrapper) Label(k, v string) *DeploymentWrapper
Label sets the label of the Deployment
func (*DeploymentWrapper) Name ¶
func (d *DeploymentWrapper) Name(n string) *DeploymentWrapper
Name updated the name of the Deployment
func (*DeploymentWrapper) Obj ¶
func (d *DeploymentWrapper) Obj() *appsv1.Deployment
Obj returns the inner Deployment.
func (*DeploymentWrapper) PodTemplateSpecLabel ¶
func (d *DeploymentWrapper) PodTemplateSpecLabel(k, v string) *DeploymentWrapper
PodTemplateSpecLabel sets the label of the pod template spec of the Deployment
func (*DeploymentWrapper) PodTemplateSpecQueue ¶
func (d *DeploymentWrapper) PodTemplateSpecQueue(q string) *DeploymentWrapper
PodTemplateSpecQueue updates the queue name of the pod template spec of the Deployment
func (*DeploymentWrapper) Queue ¶
func (d *DeploymentWrapper) Queue(q string) *DeploymentWrapper
Queue updates the queue name of the Deployment
Click to show internal directories.
Click to hide internal directories.