v1beta1

package
v1.6.20 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 8 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(ctx context.Context) 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(ctx context.Context, name string) (*Ingress, error)
	List(ctx context.Context) ([]*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