Documentation ¶
Index ¶
- func WithContainerWithTCPPorts(name, imageRef string, ports ...int32) (option kubernetesDeploymentOption)
- func WithHostPathVolume(name, hostPath, mountPath, containerName string) (option kubernetesDeploymentOption)
- func WithImagePullSecrets(names ...string) (option kubernetesDeploymentOption)
- func WithLabel(key, value string) (option kubernetesDeploymentOption)
- func WithReplicas(number int32) (option kubernetesDeploymentOption)
- func WithServiceAccount(name string) (option kubernetesDeploymentOption)
- type KubernetesDeployment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithHostPathVolume ¶
func WithHostPathVolume(name, hostPath, mountPath, containerName string, ) ( option kubernetesDeploymentOption, )
func WithImagePullSecrets ¶
func WithImagePullSecrets(names ...string) (option kubernetesDeploymentOption)
func WithReplicas ¶
func WithReplicas(number int32) (option kubernetesDeploymentOption)
func WithServiceAccount ¶
func WithServiceAccount(name string) (option kubernetesDeploymentOption)
Types ¶
type KubernetesDeployment ¶
type KubernetesDeployment struct {
// contains filtered or unexported fields
}
func NewKubernetesDeployment ¶
func NewKubernetesDeployment( name, kubeconfigPath string, options ...kubernetesDeploymentOption, ) ( d *KubernetesDeployment, e error, )
func (*KubernetesDeployment) Destroy ¶
func (d *KubernetesDeployment) Destroy() (e error)
Click to show internal directories.
Click to hide internal directories.