Documentation ¶
Overview ¶
Package ingress manipulates the k8s api of ingress object
Index ¶
- type Ingress
- func (n *Ingress) Create(ing *extensionsv1beta1.Ingress) error
- func (n *Ingress) CreateOrUpdate(ing *extensionsv1beta1.Ingress) error
- func (n *Ingress) Delete(namespace, name string) error
- func (n *Ingress) DeleteIfExists(namespace, name string) error
- func (n *Ingress) Get(namespace, name string) (*extensionsv1beta1.Ingress, error)
- func (n *Ingress) Update(ing *extensionsv1beta1.Ingress) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ingress ¶
type Ingress struct {
// contains filtered or unexported fields
}
Ingress is the object to manipulate k8s api of ingress
func (*Ingress) Create ¶
func (n *Ingress) Create(ing *extensionsv1beta1.Ingress) error
Create creates a k8s ingress object
func (*Ingress) CreateOrUpdate ¶
func (n *Ingress) CreateOrUpdate(ing *extensionsv1beta1.Ingress) error
CreateOrUpdate create or update a k8s ingress object
func (*Ingress) DeleteIfExists ¶
DeleteIfExists delete if k8s ingress exists
type Option ¶
type Option func(*Ingress)
Option configures an Ingress
func WithCompleteParams ¶
func WithCompleteParams(addr string, client *httpclient.HTTPClient) Option
WithCompleteParams provides an Option
Click to show internal directories.
Click to hide internal directories.