knative

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AddonName indicates the unique name of this addon.
	AddonName clusters.AddonName = "knative"

	// DefaultNamespace indicates the default namespace this addon will be deployed to.
	DefaultNamespace = "knative-serving"

	// DefaultVersion is the Knative version deployed when the user requests no specific version
	DefaultVersion = "0.0.0"
)

Variables

This section is empty.

Functions

func New

func New() clusters.Addon

Types

type Addon added in v0.13.3

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

func (*Addon) Delete added in v0.13.3

func (a *Addon) Delete(ctx context.Context, cluster clusters.Cluster) error

func (*Addon) Dependencies added in v0.13.3

func (a *Addon) Dependencies(_ context.Context, _ clusters.Cluster) []clusters.AddonName

func (*Addon) Deploy added in v0.13.3

func (a *Addon) Deploy(ctx context.Context, cluster clusters.Cluster) error

func (*Addon) DumpDiagnostics added in v0.17.0

func (a *Addon) DumpDiagnostics(ctx context.Context, cluster clusters.Cluster) (map[string][]byte, error)

func (*Addon) Name added in v0.13.3

func (a *Addon) Name() clusters.AddonName

func (*Addon) Ready added in v0.13.3

func (a *Addon) Ready(ctx context.Context, cluster clusters.Cluster) ([]runtime.Object, bool, error)

type Builder added in v0.12.0

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

Builder constructs a knative addon

func NewBuilder added in v0.12.0

func NewBuilder() *Builder

NewBuilder returns a new Builder

func (*Builder) Build added in v0.12.0

func (b *Builder) Build() *Addon

Build creates a knative addon using the builder parameters

func (*Builder) WithVersion added in v0.12.0

func (b *Builder) WithVersion(version string) (*Builder, error)

WithVersion sets the addon version

Jump to

Keyboard shortcuts

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