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 ExampleResourceExpansion ¶
type ExampleResourceExpansion interface{}
type ExampleResourceInterface ¶
type ExampleResourceInterface interface { Create(ctx context.Context, exampleResource *v1.ExampleResource, opts metav1.CreateOptions) (*v1.ExampleResource, error) Update(ctx context.Context, exampleResource *v1.ExampleResource, opts metav1.UpdateOptions) (*v1.ExampleResource, 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.ExampleResource, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ExampleResourceList, 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.ExampleResource, err error) ExampleResourceExpansion }
ExampleResourceInterface has methods to work with ExampleResource resources.
type ExampleResourcesGetter ¶
type ExampleResourcesGetter interface {
ExampleResources(namespace string) ExampleResourceInterface
}
ExampleResourcesGetter has a method to return a ExampleResourceInterface. A group's client should implement this interface.
type ExamplecrdV1Client ¶
type ExamplecrdV1Client struct {
// contains filtered or unexported fields
}
ExamplecrdV1Client is used to interact with features provided by the examplecrd.jasonhancock.com group.
func New ¶
func New(c rest.Interface) *ExamplecrdV1Client
New creates a new ExamplecrdV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ExamplecrdV1Client, error)
NewForConfig creates a new ExamplecrdV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new ExamplecrdV1Client 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) *ExamplecrdV1Client
NewForConfigOrDie creates a new ExamplecrdV1Client for the given config and panics if there is an error in the config.
func (*ExamplecrdV1Client) ExampleResources ¶
func (c *ExamplecrdV1Client) ExampleResources(namespace string) ExampleResourceInterface
func (*ExamplecrdV1Client) RESTClient ¶
func (c *ExamplecrdV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ExamplecrdV1Interface ¶
type ExamplecrdV1Interface interface { RESTClient() rest.Interface ExampleResourcesGetter }