Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type APIResourceImportExpansion
- type APIResourceImportInterface
- type APIResourceImportsGetter
- type ApiresourceV1alpha1Client
- func New(c rest.Interface) *ApiresourceV1alpha1Client
- func NewForConfig(c *rest.Config) (*ApiresourceV1alpha1Client, error)
- func NewForConfigAndClient(c *rest.Config, h *http.Client) (*ApiresourceV1alpha1Client, error)
- func NewForConfigOrDie(c *rest.Config) *ApiresourceV1alpha1Client
- func NewWithCluster(c rest.Interface, cluster v2.Name) *ApiresourceV1alpha1Client
- type ApiresourceV1alpha1Interface
- type NegotiatedAPIResourceExpansion
- type NegotiatedAPIResourceInterface
- type NegotiatedAPIResourcesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResourceImportExpansion ¶
type APIResourceImportExpansion interface{}
type APIResourceImportInterface ¶
type APIResourceImportInterface interface { Create(ctx context.Context, aPIResourceImport *v1alpha1.APIResourceImport, opts v1.CreateOptions) (*v1alpha1.APIResourceImport, error) Update(ctx context.Context, aPIResourceImport *v1alpha1.APIResourceImport, opts v1.UpdateOptions) (*v1alpha1.APIResourceImport, error) UpdateStatus(ctx context.Context, aPIResourceImport *v1alpha1.APIResourceImport, opts v1.UpdateOptions) (*v1alpha1.APIResourceImport, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.APIResourceImport, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIResourceImportList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.APIResourceImport, err error) APIResourceImportExpansion }
APIResourceImportInterface has methods to work with APIResourceImport resources.
type APIResourceImportsGetter ¶
type APIResourceImportsGetter interface {
APIResourceImports() APIResourceImportInterface
}
APIResourceImportsGetter has a method to return a APIResourceImportInterface. A group's client should implement this interface.
type ApiresourceV1alpha1Client ¶
type ApiresourceV1alpha1Client struct {
// contains filtered or unexported fields
}
ApiresourceV1alpha1Client is used to interact with features provided by the apiresource.kcp.dev group.
func New ¶
func New(c rest.Interface) *ApiresourceV1alpha1Client
New creates a new ApiresourceV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ApiresourceV1alpha1Client, error)
NewForConfig creates a new ApiresourceV1alpha1Client 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 ApiresourceV1alpha1Client 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) *ApiresourceV1alpha1Client
NewForConfigOrDie creates a new ApiresourceV1alpha1Client for the given config and panics if there is an error in the config.
func NewWithCluster ¶
func NewWithCluster(c rest.Interface, cluster v2.Name) *ApiresourceV1alpha1Client
NewWithCluster creates a new ApiresourceV1alpha1Client for the given RESTClient and cluster.
func (*ApiresourceV1alpha1Client) APIResourceImports ¶
func (c *ApiresourceV1alpha1Client) APIResourceImports() APIResourceImportInterface
func (*ApiresourceV1alpha1Client) NegotiatedAPIResources ¶
func (c *ApiresourceV1alpha1Client) NegotiatedAPIResources() NegotiatedAPIResourceInterface
func (*ApiresourceV1alpha1Client) RESTClient ¶
func (c *ApiresourceV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ApiresourceV1alpha1Interface ¶
type ApiresourceV1alpha1Interface interface { RESTClient() rest.Interface APIResourceImportsGetter NegotiatedAPIResourcesGetter }
type NegotiatedAPIResourceExpansion ¶
type NegotiatedAPIResourceExpansion interface{}
type NegotiatedAPIResourceInterface ¶
type NegotiatedAPIResourceInterface interface { Create(ctx context.Context, negotiatedAPIResource *v1alpha1.NegotiatedAPIResource, opts v1.CreateOptions) (*v1alpha1.NegotiatedAPIResource, error) Update(ctx context.Context, negotiatedAPIResource *v1alpha1.NegotiatedAPIResource, opts v1.UpdateOptions) (*v1alpha1.NegotiatedAPIResource, error) UpdateStatus(ctx context.Context, negotiatedAPIResource *v1alpha1.NegotiatedAPIResource, opts v1.UpdateOptions) (*v1alpha1.NegotiatedAPIResource, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NegotiatedAPIResource, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NegotiatedAPIResourceList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NegotiatedAPIResource, err error) NegotiatedAPIResourceExpansion }
NegotiatedAPIResourceInterface has methods to work with NegotiatedAPIResource resources.
type NegotiatedAPIResourcesGetter ¶
type NegotiatedAPIResourcesGetter interface {
NegotiatedAPIResources() NegotiatedAPIResourceInterface
}
NegotiatedAPIResourcesGetter has a method to return a NegotiatedAPIResourceInterface. A group's client should implement this interface.