v1

package
v1.16.13 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayExpansion

type GatewayExpansion interface{}

type GatewayInterface

type GatewayInterface interface {
	Create(ctx context.Context, gateway *v1.Gateway, opts metav1.CreateOptions) (*v1.Gateway, error)
	Update(ctx context.Context, gateway *v1.Gateway, opts metav1.UpdateOptions) (*v1.Gateway, error)
	UpdateStatus(ctx context.Context, gateway *v1.Gateway, opts metav1.UpdateOptions) (*v1.Gateway, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Gateway, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.GatewayList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Gateway, err error)
	GatewayExpansion
}

GatewayInterface has methods to work with Gateway resources.

type GatewayV1Client

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

GatewayV1Client is used to interact with features provided by the gateway.solo.io group.

func New

New creates a new GatewayV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*GatewayV1Client, error)

NewForConfig creates a new GatewayV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v1.14.4

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*GatewayV1Client, error)

NewForConfigAndClient creates a new GatewayV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *GatewayV1Client

NewForConfigOrDie creates a new GatewayV1Client for the given config and panics if there is an error in the config.

func (*GatewayV1Client) Gateways

func (c *GatewayV1Client) Gateways(namespace string) GatewayInterface

func (*GatewayV1Client) MatchableHttpGateways added in v1.9.25

func (c *GatewayV1Client) MatchableHttpGateways(namespace string) MatchableHttpGatewayInterface

func (*GatewayV1Client) MatchableTcpGateways added in v1.14.4

func (c *GatewayV1Client) MatchableTcpGateways(namespace string) MatchableTcpGatewayInterface

func (*GatewayV1Client) RESTClient

func (c *GatewayV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*GatewayV1Client) RouteOptions added in v1.8.0

func (c *GatewayV1Client) RouteOptions(namespace string) RouteOptionInterface

func (*GatewayV1Client) RouteTables

func (c *GatewayV1Client) RouteTables(namespace string) RouteTableInterface

func (*GatewayV1Client) VirtualHostOptions added in v1.8.0

func (c *GatewayV1Client) VirtualHostOptions(namespace string) VirtualHostOptionInterface

func (*GatewayV1Client) VirtualServices

func (c *GatewayV1Client) VirtualServices(namespace string) VirtualServiceInterface

type GatewaysGetter

type GatewaysGetter interface {
	Gateways(namespace string) GatewayInterface
}

GatewaysGetter has a method to return a GatewayInterface. A group's client should implement this interface.

type MatchableHttpGatewayExpansion added in v1.9.25

type MatchableHttpGatewayExpansion interface{}

type MatchableHttpGatewayInterface added in v1.9.25

type MatchableHttpGatewayInterface interface {
	Create(ctx context.Context, matchableHttpGateway *v1.MatchableHttpGateway, opts metav1.CreateOptions) (*v1.MatchableHttpGateway, error)
	Update(ctx context.Context, matchableHttpGateway *v1.MatchableHttpGateway, opts metav1.UpdateOptions) (*v1.MatchableHttpGateway, error)
	UpdateStatus(ctx context.Context, matchableHttpGateway *v1.MatchableHttpGateway, opts metav1.UpdateOptions) (*v1.MatchableHttpGateway, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MatchableHttpGateway, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.MatchableHttpGatewayList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MatchableHttpGateway, err error)
	MatchableHttpGatewayExpansion
}

MatchableHttpGatewayInterface has methods to work with MatchableHttpGateway resources.

type MatchableHttpGatewaysGetter added in v1.9.25

type MatchableHttpGatewaysGetter interface {
	MatchableHttpGateways(namespace string) MatchableHttpGatewayInterface
}

MatchableHttpGatewaysGetter has a method to return a MatchableHttpGatewayInterface. A group's client should implement this interface.

type MatchableTcpGatewayExpansion added in v1.14.4

type MatchableTcpGatewayExpansion interface{}

type MatchableTcpGatewayInterface added in v1.14.4

type MatchableTcpGatewayInterface interface {
	Create(ctx context.Context, matchableTcpGateway *v1.MatchableTcpGateway, opts metav1.CreateOptions) (*v1.MatchableTcpGateway, error)
	Update(ctx context.Context, matchableTcpGateway *v1.MatchableTcpGateway, opts metav1.UpdateOptions) (*v1.MatchableTcpGateway, error)
	UpdateStatus(ctx context.Context, matchableTcpGateway *v1.MatchableTcpGateway, opts metav1.UpdateOptions) (*v1.MatchableTcpGateway, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MatchableTcpGateway, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.MatchableTcpGatewayList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MatchableTcpGateway, err error)
	MatchableTcpGatewayExpansion
}

MatchableTcpGatewayInterface has methods to work with MatchableTcpGateway resources.

type MatchableTcpGatewaysGetter added in v1.14.4

type MatchableTcpGatewaysGetter interface {
	MatchableTcpGateways(namespace string) MatchableTcpGatewayInterface
}

MatchableTcpGatewaysGetter has a method to return a MatchableTcpGatewayInterface. A group's client should implement this interface.

type RouteOptionExpansion added in v1.8.0

type RouteOptionExpansion interface{}

type RouteOptionInterface added in v1.8.0

type RouteOptionInterface interface {
	Create(ctx context.Context, routeOption *v1.RouteOption, opts metav1.CreateOptions) (*v1.RouteOption, error)
	Update(ctx context.Context, routeOption *v1.RouteOption, opts metav1.UpdateOptions) (*v1.RouteOption, error)
	UpdateStatus(ctx context.Context, routeOption *v1.RouteOption, opts metav1.UpdateOptions) (*v1.RouteOption, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.RouteOption, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RouteOptionList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RouteOption, err error)
	RouteOptionExpansion
}

RouteOptionInterface has methods to work with RouteOption resources.

type RouteOptionsGetter added in v1.8.0

type RouteOptionsGetter interface {
	RouteOptions(namespace string) RouteOptionInterface
}

RouteOptionsGetter has a method to return a RouteOptionInterface. A group's client should implement this interface.

type RouteTableExpansion

type RouteTableExpansion interface{}

type RouteTableInterface

type RouteTableInterface interface {
	Create(ctx context.Context, routeTable *v1.RouteTable, opts metav1.CreateOptions) (*v1.RouteTable, error)
	Update(ctx context.Context, routeTable *v1.RouteTable, opts metav1.UpdateOptions) (*v1.RouteTable, error)
	UpdateStatus(ctx context.Context, routeTable *v1.RouteTable, opts metav1.UpdateOptions) (*v1.RouteTable, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.RouteTable, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RouteTableList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RouteTable, err error)
	RouteTableExpansion
}

RouteTableInterface has methods to work with RouteTable resources.

type RouteTablesGetter

type RouteTablesGetter interface {
	RouteTables(namespace string) RouteTableInterface
}

RouteTablesGetter has a method to return a RouteTableInterface. A group's client should implement this interface.

type VirtualHostOptionExpansion added in v1.8.0

type VirtualHostOptionExpansion interface{}

type VirtualHostOptionInterface added in v1.8.0

type VirtualHostOptionInterface interface {
	Create(ctx context.Context, virtualHostOption *v1.VirtualHostOption, opts metav1.CreateOptions) (*v1.VirtualHostOption, error)
	Update(ctx context.Context, virtualHostOption *v1.VirtualHostOption, opts metav1.UpdateOptions) (*v1.VirtualHostOption, error)
	UpdateStatus(ctx context.Context, virtualHostOption *v1.VirtualHostOption, opts metav1.UpdateOptions) (*v1.VirtualHostOption, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VirtualHostOption, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VirtualHostOptionList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VirtualHostOption, err error)
	VirtualHostOptionExpansion
}

VirtualHostOptionInterface has methods to work with VirtualHostOption resources.

type VirtualHostOptionsGetter added in v1.8.0

type VirtualHostOptionsGetter interface {
	VirtualHostOptions(namespace string) VirtualHostOptionInterface
}

VirtualHostOptionsGetter has a method to return a VirtualHostOptionInterface. A group's client should implement this interface.

type VirtualServiceExpansion

type VirtualServiceExpansion interface{}

type VirtualServiceInterface

type VirtualServiceInterface interface {
	Create(ctx context.Context, virtualService *v1.VirtualService, opts metav1.CreateOptions) (*v1.VirtualService, error)
	Update(ctx context.Context, virtualService *v1.VirtualService, opts metav1.UpdateOptions) (*v1.VirtualService, error)
	UpdateStatus(ctx context.Context, virtualService *v1.VirtualService, opts metav1.UpdateOptions) (*v1.VirtualService, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VirtualService, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VirtualServiceList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VirtualService, err error)
	VirtualServiceExpansion
}

VirtualServiceInterface has methods to work with VirtualService resources.

type VirtualServicesGetter

type VirtualServicesGetter interface {
	VirtualServices(namespace string) VirtualServiceInterface
}

VirtualServicesGetter has a method to return a VirtualServiceInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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