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 ApiextensionsClient ¶
type ApiextensionsClient struct {
// contains filtered or unexported fields
}
ApiextensionsClient is used to interact with features provided by the apiextensions.k8s.io group.
func New ¶
func New(c rest.Interface) *ApiextensionsClient
New creates a new ApiextensionsClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ApiextensionsClient, error)
NewForConfig creates a new ApiextensionsClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ApiextensionsClient
NewForConfigOrDie creates a new ApiextensionsClient for the given config and panics if there is an error in the config.
func (*ApiextensionsClient) CustomResources ¶
func (c *ApiextensionsClient) CustomResources() CustomResourceInterface
func (*ApiextensionsClient) RESTClient ¶
func (c *ApiextensionsClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ApiextensionsInterface ¶
type ApiextensionsInterface interface { RESTClient() rest.Interface CustomResourcesGetter }
type CustomResourceExpansion ¶
type CustomResourceExpansion interface{}
type CustomResourceInterface ¶
type CustomResourceInterface interface { Create(*apiextensions.CustomResource) (*apiextensions.CustomResource, error) Update(*apiextensions.CustomResource) (*apiextensions.CustomResource, error) UpdateStatus(*apiextensions.CustomResource) (*apiextensions.CustomResource, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apiextensions.CustomResource, error) List(opts v1.ListOptions) (*apiextensions.CustomResourceList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apiextensions.CustomResource, err error) CustomResourceExpansion }
CustomResourceInterface has methods to work with CustomResource resources.
type CustomResourcesGetter ¶
type CustomResourcesGetter interface {
CustomResources() CustomResourceInterface
}
CustomResourcesGetter has a method to return a CustomResourceInterface. A group's client should implement this interface.