Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) Create(ctx context.Context, obj *netv1beta.Ingress, opts ...client.CreateOption) error
- func (c *Client) Delete(ctx context.Context, obj *netv1beta.Ingress, opts ...client.DeleteOption) error
- func (c *Client) List(ctx context.Context, list *netv1beta.IngressList, opts ...client.ListOption) error
- func (c *Client) Update(ctx context.Context, obj *netv1beta.Ingress, opts ...client.UpdateOption) error
- type QueryIngress
Constants ¶
const ExtensionAPI = "extension"
ExtensionAPI indicate k8s networking.k8s.io/v1beta1 should be used on the current cluster
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
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.
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