ingress

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCollectionIngress

func DeleteCollectionIngress(client *client.Clientset, ingressList []k8s.ServiceData) (err error)

func DeleteIngress

func DeleteIngress(client *client.Clientset, namespace string, name string) error

Types

type Ingress

type Ingress struct {
	k8s.ObjectMeta `json:"objectMeta"`
	k8s.TypeMeta   `json:"typeMeta"`

	// External endpoints of this ingress.
	Endpoints []k8scommon.Endpoint `json:"endpoints"`
	Hosts     []string             `json:"hosts"`
	Spec      v1.IngressSpec       `json:"spec"`
	Status    v1.IngressStatus     `json:"status"`
}

Ingress - a single ingress returned to the frontend.

type IngressCell

type IngressCell v1.Ingress

func (IngressCell) GetProperty

type IngressDetail

type IngressDetail struct {
	// Extends list item structure.
	Ingress `json:",inline"`

	// Spec is the desired state of the Ingress.
	Spec v1.IngressSpec `json:"spec"`

	// Status is the current state of the Ingress.
	Status v1.IngressStatus `json:"status"`
}

IngressDetail API resource provides mechanisms to inject containers with configuration data while keeping containers agnostic of Kubernetes

func GetIngressDetail

func GetIngressDetail(client *client.Clientset, namespace, name string) (*IngressDetail, error)

GetIngressDetail returns detailed information about an ingress

type IngressList

type IngressList struct {
	k8s.ListMeta `json:"listMeta"`

	// Unordered list of Ingresss.
	Items []Ingress `json:"items"`
}

IngressList - response structure for a queried ingress list.

func GetIngressList

func GetIngressList(client *client.Clientset, namespace *k8scommon.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*IngressList, error)

GetIngressList returns all ingresses in the given namespace.

Jump to

Keyboard shortcuts

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