v1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 7 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 ApisixRouteExpansion

type ApisixRouteExpansion interface{}

type ApisixRouteInterface

type ApisixRouteInterface interface {
	Create(*v1.ApisixRoute) (*v1.ApisixRoute, error)
	Update(*v1.ApisixRoute) (*v1.ApisixRoute, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ApisixRoute, error)
	List(opts metav1.ListOptions) (*v1.ApisixRouteList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ApisixRoute, err error)
	ApisixRouteExpansion
}

ApisixRouteInterface has methods to work with ApisixRoute resources.

type ApisixRoutesGetter

type ApisixRoutesGetter interface {
	ApisixRoutes(namespace string) ApisixRouteInterface
}

ApisixRoutesGetter has a method to return a ApisixRouteInterface. A group's client should implement this interface.

type ApisixServiceExpansion

type ApisixServiceExpansion interface{}

type ApisixServiceInterface

type ApisixServiceInterface interface {
	Create(*v1.ApisixService) (*v1.ApisixService, error)
	Update(*v1.ApisixService) (*v1.ApisixService, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ApisixService, error)
	List(opts metav1.ListOptions) (*v1.ApisixServiceList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ApisixService, err error)
	ApisixServiceExpansion
}

ApisixServiceInterface has methods to work with ApisixService resources.

type ApisixServicesGetter

type ApisixServicesGetter interface {
	ApisixServices(namespace string) ApisixServiceInterface
}

ApisixServicesGetter has a method to return a ApisixServiceInterface. A group's client should implement this interface.

type ApisixTlsExpansion

type ApisixTlsExpansion interface{}

type ApisixTlsInterface

type ApisixTlsInterface interface {
	Create(*v1.ApisixTls) (*v1.ApisixTls, error)
	Update(*v1.ApisixTls) (*v1.ApisixTls, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ApisixTls, error)
	List(opts metav1.ListOptions) (*v1.ApisixTlsList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ApisixTls, err error)
	ApisixTlsExpansion
}

ApisixTlsInterface has methods to work with ApisixTls resources.

type ApisixTlsesGetter

type ApisixTlsesGetter interface {
	ApisixTlses(namespace string) ApisixTlsInterface
}

ApisixTlsesGetter has a method to return a ApisixTlsInterface. A group's client should implement this interface.

type ApisixUpstreamExpansion

type ApisixUpstreamExpansion interface{}

type ApisixUpstreamInterface

type ApisixUpstreamInterface interface {
	Create(*v1.ApisixUpstream) (*v1.ApisixUpstream, error)
	Update(*v1.ApisixUpstream) (*v1.ApisixUpstream, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ApisixUpstream, error)
	List(opts metav1.ListOptions) (*v1.ApisixUpstreamList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ApisixUpstream, err error)
	ApisixUpstreamExpansion
}

ApisixUpstreamInterface has methods to work with ApisixUpstream resources.

type ApisixUpstreamsGetter

type ApisixUpstreamsGetter interface {
	ApisixUpstreams(namespace string) ApisixUpstreamInterface
}

ApisixUpstreamsGetter has a method to return a ApisixUpstreamInterface. A group's client should implement this interface.

type ApisixV1Client

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

ApisixV1Client is used to interact with features provided by the apisix.apache.org group.

func New

New creates a new ApisixV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ApisixV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ApisixV1Client

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

func (*ApisixV1Client) ApisixRoutes

func (c *ApisixV1Client) ApisixRoutes(namespace string) ApisixRouteInterface

func (*ApisixV1Client) ApisixServices

func (c *ApisixV1Client) ApisixServices(namespace string) ApisixServiceInterface

func (*ApisixV1Client) ApisixTlses

func (c *ApisixV1Client) ApisixTlses(namespace string) ApisixTlsInterface

func (*ApisixV1Client) ApisixUpstreams

func (c *ApisixV1Client) ApisixUpstreams(namespace string) ApisixUpstreamInterface

func (*ApisixV1Client) RESTClient

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

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

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