v1

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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 GRPCRouteExpansion

type GRPCRouteExpansion interface{}

type GRPCRouteInterface

type GRPCRouteInterface interface {
	Create(ctx context.Context, gRPCRoute *v1.GRPCRoute, opts metav1.CreateOptions) (*v1.GRPCRoute, error)
	Update(ctx context.Context, gRPCRoute *v1.GRPCRoute, opts metav1.UpdateOptions) (*v1.GRPCRoute, error)
	UpdateStatus(ctx context.Context, gRPCRoute *v1.GRPCRoute, opts metav1.UpdateOptions) (*v1.GRPCRoute, 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.GRPCRoute, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.GRPCRouteList, 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.GRPCRoute, err error)
	GRPCRouteExpansion
}

GRPCRouteInterface has methods to work with GRPCRoute resources.

type GRPCRoutesGetter

type GRPCRoutesGetter interface {
	GRPCRoutes() GRPCRouteInterface
}

GRPCRoutesGetter has a method to return a GRPCRouteInterface. A group's client should implement this interface.

type GatewayClassExpansion

type GatewayClassExpansion interface{}

type GatewayClassInterface

type GatewayClassInterface interface {
	Create(ctx context.Context, gatewayClass *v1.GatewayClass, opts metav1.CreateOptions) (*v1.GatewayClass, error)
	Update(ctx context.Context, gatewayClass *v1.GatewayClass, opts metav1.UpdateOptions) (*v1.GatewayClass, error)
	UpdateStatus(ctx context.Context, gatewayClass *v1.GatewayClass, opts metav1.UpdateOptions) (*v1.GatewayClass, 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.GatewayClass, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.GatewayClassList, 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.GatewayClass, err error)
	GatewayClassExpansion
}

GatewayClassInterface has methods to work with GatewayClass resources.

type GatewayClassesGetter

type GatewayClassesGetter interface {
	GatewayClasses() GatewayClassInterface
}

GatewayClassesGetter has a method to return a GatewayClassInterface. A group's client should implement this interface.

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.apoxy.dev 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

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) GRPCRoutes

func (c *GatewayV1Client) GRPCRoutes() GRPCRouteInterface

func (*GatewayV1Client) GatewayClasses

func (c *GatewayV1Client) GatewayClasses() GatewayClassInterface

func (*GatewayV1Client) Gateways

func (c *GatewayV1Client) Gateways() GatewayInterface

func (*GatewayV1Client) HTTPRoutes

func (c *GatewayV1Client) HTTPRoutes() HTTPRouteInterface

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.

type GatewaysGetter

type GatewaysGetter interface {
	Gateways() GatewayInterface
}

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

type HTTPRouteExpansion

type HTTPRouteExpansion interface{}

type HTTPRouteInterface

type HTTPRouteInterface interface {
	Create(ctx context.Context, hTTPRoute *v1.HTTPRoute, opts metav1.CreateOptions) (*v1.HTTPRoute, error)
	Update(ctx context.Context, hTTPRoute *v1.HTTPRoute, opts metav1.UpdateOptions) (*v1.HTTPRoute, error)
	UpdateStatus(ctx context.Context, hTTPRoute *v1.HTTPRoute, opts metav1.UpdateOptions) (*v1.HTTPRoute, 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.HTTPRoute, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.HTTPRouteList, 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.HTTPRoute, err error)
	HTTPRouteExpansion
}

HTTPRouteInterface has methods to work with HTTPRoute resources.

type HTTPRoutesGetter

type HTTPRoutesGetter interface {
	HTTPRoutes() HTTPRouteInterface
}

HTTPRoutesGetter has a method to return a HTTPRouteInterface. 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