ingress

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Kind = "Ingress"

Kind of object this client handles.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	RestClient rest.Interface
	Namespace  string
}

Client for interacting with Ingress objects.

func (*Client) Create

func (c *Client) Create(ingress *edgev1beta1.Ingress) (*edgev1beta1.Ingress, error)

Create a Ingress.

func (*Client) Delete

func (c *Client) Delete(name string, options *metav1.DeleteOptions) error

Delete a Ingress.

func (*Client) Exists

func (c *Client) Exists(name string, opts metav1.GetOptions) (bool, error)

Exists checks if a Ingress is present.

func (*Client) Get

func (c *Client) Get(name string, opts metav1.GetOptions) (*edgev1beta1.Ingress, error)

Get a Ingress.

func (*Client) List

List all Ingresses.

func (*Client) Update

func (c *Client) Update(ingress *edgev1beta1.Ingress) (*edgev1beta1.Ingress, error)

Update a Ingress.

func (*Client) Watch

func (c *Client) Watch(opts metav1.ListOptions) (watch.Interface, error)

Watch for Ingresses.

type Interface

type Interface interface {
	List(opts metav1.ListOptions) (*edgev1beta1.IngressList, error)
	Get(name string, opts metav1.GetOptions) (*edgev1beta1.Ingress, error)
	Exists(name string, opts metav1.GetOptions) (bool, error)
	Create(*edgev1beta1.Ingress) (*edgev1beta1.Ingress, error)
	Update(*edgev1beta1.Ingress) (*edgev1beta1.Ingress, error)
	Delete(name string, opts *metav1.DeleteOptions) error
	Watch(opts metav1.ListOptions) (watch.Interface, error)
}

Interface declares interactions with the Ingress objects.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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