revision

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Revision

type Revision struct {
	Name      string
	Namespace string
}

func (*Revision) Delete

func (r *Revision) Delete(clientset *client.ConfigSet) error

Revision remove knative revision object

func (*Revision) Get

func (r *Revision) Get(clientset *client.ConfigSet) (*servingv1.Revision, error)

Get returns k8s object

func (*Revision) GetObject added in v0.1.1

func (r *Revision) GetObject(revision *servingv1.Revision) printer.Object

GetObject converts k8s object into printable structure

func (*Revision) GetTable added in v0.1.1

func (r *Revision) GetTable(list *servingv1.RevisionList) printer.Table

GetTable converts k8s list instance into printable object

func (*Revision) List

func (r *Revision) List(clientset *client.ConfigSet) (*servingv1.RevisionList, error)

List returns k8s list object

Jump to

Keyboard shortcuts

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