ingress

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const ExtensionAPI = "extension"

ExtensionAPI indicate k8s networking.k8s.io/v1beta1 should be used on the current cluster

View Source
const NetworkingAPI = "networking"

NetworkingAPI indicate k8s extensions/v1beta1 should be used on the current cluster

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.18.0

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

Client wrap around k8s client, and decide which ingress API should be used, depending on cluster capabilities.

func NewIngressClient added in v1.18.0

func NewIngressClient(client client.Client, reader client.Reader) *Client

NewIngressClient Creates a new Ingress.client wrapper.

func (*Client) Create added in v1.18.0

func (c *Client) Create(ctx context.Context, obj *netv1beta.Ingress, opts ...client.CreateOption) error

Create is a wrap function that calls k8s client Create with extend or networking API.

func (*Client) Delete added in v1.18.0

func (c *Client) Delete(ctx context.Context, obj *netv1beta.Ingress, opts ...client.DeleteOption) error

Delete is a wrap function that calls k8s client Delete with extend or networking API.

func (*Client) List added in v1.18.0

func (c *Client) List(ctx context.Context, list *netv1beta.IngressList, opts ...client.ListOption) error

List is a wrap function that calls k8s client List with extend or networking API.

func (*Client) Update added in v1.18.0

func (c *Client) Update(ctx context.Context, obj *netv1beta.Ingress, opts ...client.UpdateOption) error

Update is a wrap function that calls k8s client Update with extend or networking API.

type QueryIngress added in v1.8.0

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

QueryIngress builds pods for jaegertracing/jaeger-query

func NewQueryIngress

func NewQueryIngress(jaeger *v1.Jaeger) *QueryIngress

NewQueryIngress builds a new QueryIngress struct based on the given spec

func (*QueryIngress) Get added in v1.8.0

func (i *QueryIngress) Get() *netv1beta1.Ingress

Get returns an ingress specification for the current instance

Jump to

Keyboard shortcuts

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