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 IntegrationSinkExpansion ¶ added in v0.44.0
type IntegrationSinkExpansion interface{}
type IntegrationSinkInterface ¶ added in v0.44.0
type IntegrationSinkInterface interface {
Create(ctx context.Context, integrationSink *sinksv1alpha1.IntegrationSink, opts v1.CreateOptions) (*sinksv1alpha1.IntegrationSink, error)
Update(ctx context.Context, integrationSink *sinksv1alpha1.IntegrationSink, opts v1.UpdateOptions) (*sinksv1alpha1.IntegrationSink, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, integrationSink *sinksv1alpha1.IntegrationSink, opts v1.UpdateOptions) (*sinksv1alpha1.IntegrationSink, 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) (*sinksv1alpha1.IntegrationSink, error)
List(ctx context.Context, opts v1.ListOptions) (*sinksv1alpha1.IntegrationSinkList, 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 *sinksv1alpha1.IntegrationSink, err error)
IntegrationSinkExpansion
}
IntegrationSinkInterface has methods to work with IntegrationSink resources.
type IntegrationSinksGetter ¶ added in v0.44.0
type IntegrationSinksGetter interface {
IntegrationSinks(namespace string) IntegrationSinkInterface
}
IntegrationSinksGetter has a method to return a IntegrationSinkInterface. A group's client should implement this interface.
type JobSinkExpansion ¶
type JobSinkExpansion interface{}
type JobSinkInterface ¶
type JobSinkInterface interface {
Create(ctx context.Context, jobSink *sinksv1alpha1.JobSink, opts v1.CreateOptions) (*sinksv1alpha1.JobSink, error)
Update(ctx context.Context, jobSink *sinksv1alpha1.JobSink, opts v1.UpdateOptions) (*sinksv1alpha1.JobSink, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, jobSink *sinksv1alpha1.JobSink, opts v1.UpdateOptions) (*sinksv1alpha1.JobSink, 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) (*sinksv1alpha1.JobSink, error)
List(ctx context.Context, opts v1.ListOptions) (*sinksv1alpha1.JobSinkList, 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 *sinksv1alpha1.JobSink, err error)
JobSinkExpansion
}
JobSinkInterface has methods to work with JobSink resources.
type JobSinksGetter ¶
type JobSinksGetter interface {
JobSinks(namespace string) JobSinkInterface
}
JobSinksGetter has a method to return a JobSinkInterface. A group's client should implement this interface.
type SinksV1alpha1Client ¶
type SinksV1alpha1Client struct {
// contains filtered or unexported fields
}
SinksV1alpha1Client is used to interact with features provided by the sinks.knative.dev group.
func New ¶
func New(c rest.Interface) *SinksV1alpha1Client
New creates a new SinksV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*SinksV1alpha1Client, error)
NewForConfig creates a new SinksV1alpha1Client 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 SinksV1alpha1Client 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) *SinksV1alpha1Client
NewForConfigOrDie creates a new SinksV1alpha1Client for the given config and panics if there is an error in the config.
func (*SinksV1alpha1Client) IntegrationSinks ¶ added in v0.44.0
func (c *SinksV1alpha1Client) IntegrationSinks(namespace string) IntegrationSinkInterface
func (*SinksV1alpha1Client) JobSinks ¶
func (c *SinksV1alpha1Client) JobSinks(namespace string) JobSinkInterface
func (*SinksV1alpha1Client) RESTClient ¶
func (c *SinksV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type SinksV1alpha1Interface ¶
type SinksV1alpha1Interface interface {
RESTClient() rest.Interface
IntegrationSinksGetter
JobSinksGetter
}