Documentation ¶
Overview ¶
Package ingresses provides implementation of Ingress resources for Kubernetes
Index ¶
- type Ingresses
- func (obj *Ingresses) Apply(yaml string, namespace string) (k8sTypes.Ingress, error)
- func (obj *Ingresses) Create(ingress k8sTypes.Ingress, namespace string, opts metav1.CreateOptions) (k8sTypes.Ingress, error)
- func (obj *Ingresses) Delete(name, namespace string, opts metav1.DeleteOptions) error
- func (obj *Ingresses) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.Ingress, error)
- func (obj *Ingresses) Kill(name, namespace string, opts metav1.DeleteOptions) error
- func (obj *Ingresses) List(namespace string) ([]k8sTypes.Ingress, error)
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 ¶
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
Click to show internal directories.
Click to hide internal directories.