ingresses

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ingresses provides implementation of Ingress resources for Kubernetes

Deprecated: Use the resources package instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ingresses deprecated

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

Ingresses provides API for manipulating Ingress resources within a Kubernetes cluster

Deprecated: No longer used in favor of generic resources.

func New deprecated

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

New creates a new instance backed by the provided client

Deprecated: No longer used.

func (*Ingresses) Apply deprecated

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

Apply creates the Kubernetes resource given the supplied YAML configuration

Deprecated: Use resources.Apply instead.

func (*Ingresses) Create deprecated

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

Create creates the Kubernetes resource given the supplied object

Deprecated: Use resources.Create instead.

func (*Ingresses) Delete deprecated

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

Delete removes the named Ingress from the namespace

Deprecated: Use resources.Delete instead.

func (*Ingresses) Get deprecated

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

Get returns the named Ingresses instance within the namespace if available

Deprecated: Use resources.Get instead.

func (*Ingresses) Kill deprecated

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

Kill removes the named Ingress from the namespace

Deprecated: Use resources.Delete instead.

func (*Ingresses) List deprecated

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

List returns a collection of Ingresses available within the namespace

Deprecated: Use resources.List instead.

Jump to

Keyboard shortcuts

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