bootstrap

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBootstrapped added in v0.0.3

func IsBootstrapped(ctx context.Context, cfg *rest.Config) (bool, error)

Types

type BootstrapClient

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

func NewBootstrapClient

func NewBootstrapClient(config *rest.Config) *BootstrapClient

func (*BootstrapClient) Bootstrap

func (c *BootstrapClient) Bootstrap(ctx context.Context, options BootstrapOptions) error

type BootstrapOptions added in v0.1.0

type BootstrapOptions struct {
	Type   BootstrapType
	Url    string
	Latest bool
}

func DefaultOptions added in v0.1.0

func DefaultOptions() BootstrapOptions

type BootstrapType

type BootstrapType string
const (
	BootstrapTypeSlim BootstrapType = "slim"
	BootstrapTypeAio  BootstrapType = "aio"
)

func (*BootstrapType) Set

func (t *BootstrapType) Set(v string) error

func (*BootstrapType) String

func (t *BootstrapType) String() string

func (*BootstrapType) Type

func (e *BootstrapType) Type() string

Jump to

Keyboard shortcuts

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