ingresses

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ingresses provides implementation of Ingress resources for Kubernetes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ingresses

type Ingresses struct {
	// contains filtered or unexported fields
}

Ingresses provides API for manipulating Ingress resources within a Kubernetes cluster

func New

func New(ctx context.Context, client kubernetes.Interface, metaOptions metav1.ListOptions) *Ingresses

New creates a new instance backed by the provided client

func (*Ingresses) Apply

func (obj *Ingresses) Apply(yaml string, namespace string) (k8sTypes.Ingress, error)

Apply creates the Kubernetes resource given the supplied YAML configuration

func (*Ingresses) Create

func (obj *Ingresses) Create(
	ingress k8sTypes.Ingress,
	namespace string,
	opts metav1.CreateOptions,
) (k8sTypes.Ingress, error)

Create creates the Kubernetes resource given the supplied object

func (*Ingresses) Delete

func (obj *Ingresses) Delete(name, namespace string, opts metav1.DeleteOptions) error

Delete removes the named Ingress from the namespace

func (*Ingresses) Get

func (obj *Ingresses) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.Ingress, error)

Get returns the named Ingresses instance within the namespace if available

func (*Ingresses) Kill

func (obj *Ingresses) Kill(name, namespace string, opts metav1.DeleteOptions) error

Kill removes the named Ingress from the namespace Deprecated: Use Delete instead.

func (*Ingresses) List

func (obj *Ingresses) List(namespace string) ([]k8sTypes.Ingress, error)

List returns a collection of Ingresses available within the namespace

Jump to

Keyboard shortcuts

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