Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
Container abstraction
func NewContainer ¶
NewContainer create new Container object
func (Container) AddVolume ¶
func (c Container) AddVolume(vol corev1.VolumeMount)
AddVolume extends Container volume mouns with a Volume
type Deployment ¶
type Deployment struct {
Obj *k8sapps.Deployment
}
Deployment abstraction
func NewDeployment ¶
func NewDeployment(name, namespace string, replicas *int32, labels map[string]string) Deployment
NewDeployment creates new Deployment object
func (Deployment) AddContainer ¶
func (d Deployment) AddContainer(c Container)
AddContainer extends Deployment pod with a Container
func (Deployment) AddVolume ¶
func (d Deployment) AddVolume(v Volume)
AddVolume extends Deployment pod with a Volume
Click to show internal directories.
Click to hide internal directories.