builder

package
v0.1.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Install

type Install struct {
	Force    bool   `usage:"Force installation by deleting existing builder"`
	Selector string `usage:"Selector for nodes (label query) to apply builder role"`
	NoWait   bool   `usage:"Do not wait for backend to become available"`
	NoFail   bool   `usage:"Do not fail if backend components are already installed"`
	server.Config
}

Install the builder.

func (*Install) DaemonSet

func (a *Install) DaemonSet(_ context.Context, k *client.Interface) error

func (*Install) Do

func (a *Install) Do(ctx context.Context, k8s *client.Interface) error

func (*Install) Namespace

func (_ *Install) Namespace(_ context.Context, k *client.Interface) error

func (*Install) NodeRole

func (a *Install) NodeRole(_ context.Context, k *client.Interface) error

func (*Install) Secrets

func (a *Install) Secrets(_ context.Context, k *client.Interface) error

func (*Install) Service

func (a *Install) Service(_ context.Context, k *client.Interface) error

type Uninstall

type Uninstall struct {
	Force bool `usage:"Force uninstallation by deleting namespace"`
}

Uninstall the builder.

func (*Uninstall) Namespace

func (a *Uninstall) Namespace(ctx context.Context, k *client.Interface) error

Namespace uninstalls the builder namespace.

func (*Uninstall) NodeRole

func (a *Uninstall) NodeRole(_ context.Context, k *client.Interface) error

NodeRole removes the builder role from all nodes with that role.

Jump to

Keyboard shortcuts

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