Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type APIBindingExpansion
- type APIBindingInterface
- type APIBindingsGetter
- type APIExportExpansion
- type APIExportInterface
- type APIExportsGetter
- type APIResourceSchemaExpansion
- type APIResourceSchemaInterface
- type APIResourceSchemasGetter
- type ApisV1alpha1Client
- func New(c rest.Interface) *ApisV1alpha1Client
- func NewForConfig(c *rest.Config) (*ApisV1alpha1Client, error)
- func NewForConfigAndClient(c *rest.Config, h *http.Client) (*ApisV1alpha1Client, error)
- func NewForConfigOrDie(c *rest.Config) *ApisV1alpha1Client
- func NewWithCluster(c rest.Interface, cluster v2.Name) *ApisV1alpha1Client
- type ApisV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIBindingExpansion ¶
type APIBindingExpansion interface{}
type APIBindingInterface ¶
type APIBindingInterface interface { Create(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.CreateOptions) (*v1alpha1.APIBinding, error) Update(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.UpdateOptions) (*v1alpha1.APIBinding, error) UpdateStatus(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.UpdateOptions) (*v1alpha1.APIBinding, 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.APIBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIBindingList, 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.APIBinding, err error) APIBindingExpansion }
APIBindingInterface has methods to work with APIBinding resources.
type APIBindingsGetter ¶
type APIBindingsGetter interface {
APIBindings() APIBindingInterface
}
APIBindingsGetter has a method to return a APIBindingInterface. A group's client should implement this interface.
type APIExportExpansion ¶
type APIExportExpansion interface{}
type APIExportInterface ¶
type APIExportInterface interface { Create(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.CreateOptions) (*v1alpha1.APIExport, error) Update(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.UpdateOptions) (*v1alpha1.APIExport, error) UpdateStatus(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.UpdateOptions) (*v1alpha1.APIExport, 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.APIExport, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIExportList, 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.APIExport, err error) APIExportExpansion }
APIExportInterface has methods to work with APIExport resources.
type APIExportsGetter ¶
type APIExportsGetter interface {
APIExports() APIExportInterface
}
APIExportsGetter has a method to return a APIExportInterface. A group's client should implement this interface.
type APIResourceSchemaExpansion ¶
type APIResourceSchemaExpansion interface{}
type APIResourceSchemaInterface ¶
type APIResourceSchemaInterface interface { Create(ctx context.Context, aPIResourceSchema *v1alpha1.APIResourceSchema, opts v1.CreateOptions) (*v1alpha1.APIResourceSchema, error) Update(ctx context.Context, aPIResourceSchema *v1alpha1.APIResourceSchema, opts v1.UpdateOptions) (*v1alpha1.APIResourceSchema, 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.APIResourceSchema, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIResourceSchemaList, 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.APIResourceSchema, err error) APIResourceSchemaExpansion }
APIResourceSchemaInterface has methods to work with APIResourceSchema resources.
type APIResourceSchemasGetter ¶
type APIResourceSchemasGetter interface {
APIResourceSchemas() APIResourceSchemaInterface
}
APIResourceSchemasGetter has a method to return a APIResourceSchemaInterface. A group's client should implement this interface.
type ApisV1alpha1Client ¶
type ApisV1alpha1Client struct {
// contains filtered or unexported fields
}
ApisV1alpha1Client is used to interact with features provided by the apis.kcp.dev group.
func New ¶
func New(c rest.Interface) *ApisV1alpha1Client
New creates a new ApisV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ApisV1alpha1Client, error)
NewForConfig creates a new ApisV1alpha1Client 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 ApisV1alpha1Client 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) *ApisV1alpha1Client
NewForConfigOrDie creates a new ApisV1alpha1Client for the given config and panics if there is an error in the config.
func NewWithCluster ¶
func NewWithCluster(c rest.Interface, cluster v2.Name) *ApisV1alpha1Client
NewWithCluster creates a new ApisV1alpha1Client for the given RESTClient and cluster.
func (*ApisV1alpha1Client) APIBindings ¶
func (c *ApisV1alpha1Client) APIBindings() APIBindingInterface
func (*ApisV1alpha1Client) APIExports ¶
func (c *ApisV1alpha1Client) APIExports() APIExportInterface
func (*ApisV1alpha1Client) APIResourceSchemas ¶
func (c *ApisV1alpha1Client) APIResourceSchemas() APIResourceSchemaInterface
func (*ApisV1alpha1Client) RESTClient ¶
func (c *ApisV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ApisV1alpha1Interface ¶
type ApisV1alpha1Interface interface { RESTClient() rest.Interface APIBindingsGetter APIExportsGetter APIResourceSchemasGetter }