Documentation ¶
Index ¶
- type Client
- func (iClient *Client) Create(ctx context.Context, i *Ingress) error
- func (iClient *Client) Deploy(ctx context.Context, ingress *Ingress) error
- func (iClient *Client) Destroy(ctx context.Context, name, namespace string) error
- func (iClient *Client) Get(ctx context.Context, name, namespace string) (metav1.Object, error)
- func (iClient *Client) GetEndpointsBySelector(ctx context.Context, namespace, labels string) ([]string, error)
- func (iClient *Client) List(ctx context.Context, namespace, labels string) ([]metav1.Object, error)
- func (iClient *Client) Update(ctx context.Context, i *Ingress) error
- type Ingress
- type TranslateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewIngressClient ¶
func NewIngressClient(c kubernetes.Interface, isV1 bool) *Client
func (*Client) GetEndpointsBySelector ¶
type Ingress ¶
type Ingress struct { V1 *networkingv1.Ingress V1Beta1 *networkingv1beta1.Ingress }
func Translate ¶
func Translate(endpointName string, endpoint model.Endpoint, opts *TranslateOptions) *Ingress
Translate translates the endpoints spec at compose or okteto manifest and returns an ingress
func (Ingress) GetAnnotations ¶
GetAnnotations gets the annotations of the ingress
func (Ingress) GetNamespace ¶
GetNamespace gets the namespace of the ingress
type TranslateOptions ¶
Click to show internal directories.
Click to hide internal directories.