knative

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

type Deployer struct {
	Namespace string
	Verbose   bool
}

func NewDeployer

func NewDeployer() *Deployer

func (*Deployer) Deploy

func (deployer *Deployer) Deploy(name, image string) (address string, err error)

type Describer

type Describer struct {
	Verbose bool
	// contains filtered or unexported fields
}

func NewDescriber

func NewDescriber(namespace string) (describer *Describer, err error)

func (*Describer) Describe

func (describer *Describer) Describe(name string) (description faas.FunctionDescription, err error)

Describe by name. Note that the consuming API uses domain style notation, whereas Kubernetes restricts to label-syntax, which is thus escaped. Therefore as a knative (kube) implementation detal proper full names have to be escaped on the way in and unescaped on the way out. ex: www.example-site.com -> www-example--site-com

type Lister

type Lister struct {
	Verbose bool
	// contains filtered or unexported fields
}

func NewLister

func NewLister(namespace string) (l *Lister, err error)

func (*Lister) List

func (l *Lister) List() (names []string, err error)

type Remover

type Remover struct {
	Namespace string
	Verbose   bool
}

func NewRemover

func NewRemover() *Remover

func (*Remover) Remove

func (remover *Remover) Remove(name string) (err error)

type Updater

type Updater struct {
	Verbose bool
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(namespace string) (updater *Updater, err error)

func (*Updater) Update

func (updater *Updater) Update(name, image string) error

Jump to

Keyboard shortcuts

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