v1beta1

package
v0.0.0-...-0e15285 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IngressKind = resource.Kind{
	Group:   "extensions",
	Version: "v1beta1",
	Kind:    "Ingress",
	Scoped:  true,
}
View Source
var IngressResource = resource.Type{
	Kind: IngressKind,
	Name: "ingresses",
}

Functions

This section is empty.

Types

type Client

type Client interface {
	IngressesClient
}

func NewClient

func NewClient(resources resource.Client, filter resource.Filter) Client

type Ingress

type Ingress struct {
	*resource.Resource
	Object *extensionsv1beta1.Ingress
}

func NewIngress

func NewIngress(ingress *extensionsv1beta1.Ingress, client resource.Client) *Ingress

func (*Ingress) Delete

func (r *Ingress) Delete() error

type IngressesClient

type IngressesClient interface {
	Ingresses() IngressesReader
}

func NewIngressesClient

func NewIngressesClient(resources resource.Client, filter resource.Filter) IngressesClient

type IngressesReader

type IngressesReader interface {
	Get(name string) (*Ingress, error)
	List() ([]*Ingress, error)
}

func NewIngressesReader

func NewIngressesReader(client resource.Client, filter resource.Filter) IngressesReader

Jump to

Keyboard shortcuts

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