Documentation
¶
Index ¶
- func ParseKubernetesYAML(content []byte, into runtime.Object) (runtime.Object, error)
- type DockerShell
- type FLDockerShell
- type FLKubernetesDeployer
- func (k *FLKubernetesDeployer) CreateNamespace(ctx context.Context) error
- func (k *FLKubernetesDeployer) CreatePrometheusConfigMap(ctx context.Context) error
- func (k *FLKubernetesDeployer) CreateRole(ctx context.Context) error
- func (k *FLKubernetesDeployer) CreateRoleBinding(ctx context.Context) error
- func (k *FLKubernetesDeployer) CreateSvcAccount(ctx context.Context) error
- func (k *FLKubernetesDeployer) DeployCore(ctx context.Context) error
- func (k *FLKubernetesDeployer) DeployCoreService(ctx context.Context) error
- func (k *FLKubernetesDeployer) DeployPrometheus(ctx context.Context) error
- func (k *FLKubernetesDeployer) DeployPrometheusService(ctx context.Context) error
- func (k *FLKubernetesDeployer) DeployWorker(ctx context.Context) error
- func (k *FLKubernetesDeployer) WithConfig(config string) error
- type FLKubernetesRemover
- type KubernetesDeployer
- type KubernetesRemover
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerShell ¶ added in v0.3.0
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
Click to show internal directories.
Click to hide internal directories.