builder

package
v0.1.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: Apache-2.0 Imports: 20 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"`
	EndpointAddr string `usage:"Override the endpoint address" hidden:"true"`
	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

NodeRole asserts that the node can run KIM and labels it with the builder role

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 Login

type Login struct {
	Password      string `usage:"Password" short:"p"`
	PasswordStdin bool   `usage:"Take the password from stdin"`
	Username      string `usage:"Username" short:"u"`
}

func (*Login) Do

func (s *Login) Do(_ context.Context, k *client.Interface, server string) 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