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) CustomResourceDefinitions ¶
func (c *ApiextensionsClient) CustomResourceDefinitions() CustomResourceDefinitionInterface
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 CustomResourceDefinitionsGetter }
type CustomResourceDefinitionExpansion ¶
type CustomResourceDefinitionExpansion interface{}
type CustomResourceDefinitionInterface ¶
type CustomResourceDefinitionInterface interface { Create(*apiextensions.CustomResourceDefinition) (*apiextensions.CustomResourceDefinition, error) Update(*apiextensions.CustomResourceDefinition) (*apiextensions.CustomResourceDefinition, error) UpdateStatus(*apiextensions.CustomResourceDefinition) (*apiextensions.CustomResourceDefinition, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apiextensions.CustomResourceDefinition, error) List(opts v1.ListOptions) (*apiextensions.CustomResourceDefinitionList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apiextensions.CustomResourceDefinition, err error) CustomResourceDefinitionExpansion }
CustomResourceDefinitionInterface has methods to work with CustomResourceDefinition resources.
type CustomResourceDefinitionsGetter ¶
type CustomResourceDefinitionsGetter interface {
CustomResourceDefinitions() CustomResourceDefinitionInterface
}
CustomResourceDefinitionsGetter has a method to return a CustomResourceDefinitionInterface. A group's client should implement this interface.