deploy

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseKubernetesYAML added in v0.3.0

func ParseKubernetesYAML(content []byte, into runtime.Object) (runtime.Object, error)

Types

type DockerShell added in v0.3.0

type DockerShell interface {
	ComposeUp(composeFilePath string) error
	ComposeDown(composeFilePath string) error
}

type FLDockerShell added in v0.3.0

type FLDockerShell struct{}

func (*FLDockerShell) ComposeDown added in v0.3.0

func (sh *FLDockerShell) ComposeDown(composeFilePath string) error

func (*FLDockerShell) ComposeUp added in v0.3.0

func (sh *FLDockerShell) ComposeUp(composeFilePath string) error

type FLKubernetesDeployer added in v0.3.0

type FLKubernetesDeployer struct {
	// contains filtered or unexported fields
}

func (*FLKubernetesDeployer) CreateNamespace added in v0.3.0

func (k *FLKubernetesDeployer) CreateNamespace(ctx context.Context) error

func (*FLKubernetesDeployer) CreatePrometheusConfigMap added in v0.3.0

func (k *FLKubernetesDeployer) CreatePrometheusConfigMap(ctx context.Context) error

func (*FLKubernetesDeployer) CreateRole added in v0.3.0

func (k *FLKubernetesDeployer) CreateRole(ctx context.Context) error

func (*FLKubernetesDeployer) CreateRoleBinding added in v0.3.0

func (k *FLKubernetesDeployer) CreateRoleBinding(ctx context.Context) error

func (*FLKubernetesDeployer) CreateSvcAccount added in v0.3.0

func (k *FLKubernetesDeployer) CreateSvcAccount(ctx context.Context) error

func (*FLKubernetesDeployer) DeployCore added in v0.3.0

func (k *FLKubernetesDeployer) DeployCore(ctx context.Context) error

func (*FLKubernetesDeployer) DeployCoreService added in v0.3.0

func (k *FLKubernetesDeployer) DeployCoreService(ctx context.Context) error

func (*FLKubernetesDeployer) DeployPrometheus added in v0.3.0

func (k *FLKubernetesDeployer) DeployPrometheus(ctx context.Context) error

func (*FLKubernetesDeployer) DeployPrometheusService added in v0.3.0

func (k *FLKubernetesDeployer) DeployPrometheusService(ctx context.Context) error

func (*FLKubernetesDeployer) DeployWorker added in v0.3.0

func (k *FLKubernetesDeployer) DeployWorker(ctx context.Context) error

func (*FLKubernetesDeployer) WithConfig added in v0.3.0

func (k *FLKubernetesDeployer) WithConfig(config string) error

type FLKubernetesRemover added in v0.3.0

type FLKubernetesRemover struct {
	// contains filtered or unexported fields
}

func (*FLKubernetesRemover) RemoveNamespace added in v0.3.0

func (k *FLKubernetesRemover) RemoveNamespace(ctx context.Context) error

func (*FLKubernetesRemover) WithConfig added in v0.3.0

func (k *FLKubernetesRemover) WithConfig(config string) error

type KubernetesDeployer added in v0.3.0

type KubernetesDeployer interface {
	WithConfig(config string) error

	CreateNamespace(ctx context.Context) error
	CreateSvcAccount(ctx context.Context) error
	CreateRole(ctx context.Context) error
	CreateRoleBinding(ctx context.Context) error
	CreatePrometheusConfigMap(ctx context.Context) error
	DeployPrometheus(ctx context.Context) error
	DeployPrometheusService(ctx context.Context) error
	DeployCore(ctx context.Context) error
	DeployCoreService(ctx context.Context) error
	DeployWorker(ctx context.Context) error
}

func NewKubernetesDeployer added in v0.3.0

func NewKubernetesDeployer() KubernetesDeployer

type KubernetesRemover added in v0.3.0

type KubernetesRemover interface {
	WithConfig(config string) error

	RemoveNamespace(ctx context.Context) error
}

func NewKubernetesRemover added in v0.3.0

func NewKubernetesRemover() KubernetesRemover

Jump to

Keyboard shortcuts

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