deployments

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContainerWithTCPPorts

func WithContainerWithTCPPorts(name, imageRef string, ports ...int32) (
	option kubernetesDeploymentOption,
)

func WithHostPathVolume

func WithHostPathVolume(name, hostPath, mountPath, containerName string,
) (
	option kubernetesDeploymentOption,
)

func WithImagePullSecrets

func WithImagePullSecrets(names ...string) (option kubernetesDeploymentOption)

func WithLabel

func WithLabel(key, value 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL