Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type HTTPPollerSourceExpansion
- type HTTPPollerSourceInterface
- type HTTPPollerSourcesGetter
- type SlackSourceExpansion
- type SlackSourceInterface
- type SlackSourcesGetter
- type SourcesV1alpha1Client
- func (c *SourcesV1alpha1Client) HTTPPollerSources(namespace string) HTTPPollerSourceInterface
- func (c *SourcesV1alpha1Client) RESTClient() rest.Interface
- func (c *SourcesV1alpha1Client) SlackSources(namespace string) SlackSourceInterface
- func (c *SourcesV1alpha1Client) WebhookSources(namespace string) WebhookSourceInterface
- func (c *SourcesV1alpha1Client) ZendeskSources(namespace string) ZendeskSourceInterface
- type SourcesV1alpha1Interface
- type WebhookSourceExpansion
- type WebhookSourceInterface
- type WebhookSourcesGetter
- type ZendeskSourceExpansion
- type ZendeskSourceInterface
- type ZendeskSourcesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPPollerSourceExpansion ¶ added in v1.4.0
type HTTPPollerSourceExpansion interface{}
type HTTPPollerSourceInterface ¶ added in v1.4.0
type HTTPPollerSourceInterface interface { Create(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, opts v1.CreateOptions) (*v1alpha1.HTTPPollerSource, error) Update(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, opts v1.UpdateOptions) (*v1alpha1.HTTPPollerSource, error) UpdateStatus(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, opts v1.UpdateOptions) (*v1alpha1.HTTPPollerSource, 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.HTTPPollerSource, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.HTTPPollerSourceList, 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.HTTPPollerSource, err error) HTTPPollerSourceExpansion }
HTTPPollerSourceInterface has methods to work with HTTPPollerSource resources.
type HTTPPollerSourcesGetter ¶ added in v1.4.0
type HTTPPollerSourcesGetter interface {
HTTPPollerSources(namespace string) HTTPPollerSourceInterface
}
HTTPPollerSourcesGetter has a method to return a HTTPPollerSourceInterface. A group's client should implement this interface.
type SlackSourceExpansion ¶
type SlackSourceExpansion interface{}
type SlackSourceInterface ¶
type SlackSourceInterface interface { Create(ctx context.Context, slackSource *v1alpha1.SlackSource, opts v1.CreateOptions) (*v1alpha1.SlackSource, error) Update(ctx context.Context, slackSource *v1alpha1.SlackSource, opts v1.UpdateOptions) (*v1alpha1.SlackSource, error) UpdateStatus(ctx context.Context, slackSource *v1alpha1.SlackSource, opts v1.UpdateOptions) (*v1alpha1.SlackSource, 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.SlackSource, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SlackSourceList, 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.SlackSource, err error) SlackSourceExpansion }
SlackSourceInterface has methods to work with SlackSource resources.
type SlackSourcesGetter ¶
type SlackSourcesGetter interface {
SlackSources(namespace string) SlackSourceInterface
}
SlackSourcesGetter has a method to return a SlackSourceInterface. A group's client should implement this interface.
type SourcesV1alpha1Client ¶
type SourcesV1alpha1Client struct {
// contains filtered or unexported fields
}
SourcesV1alpha1Client is used to interact with features provided by the sources.triggermesh.io group.
func New ¶
func New(c rest.Interface) *SourcesV1alpha1Client
New creates a new SourcesV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*SourcesV1alpha1Client, error)
NewForConfig creates a new SourcesV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *SourcesV1alpha1Client
NewForConfigOrDie creates a new SourcesV1alpha1Client for the given config and panics if there is an error in the config.
func (*SourcesV1alpha1Client) HTTPPollerSources ¶ added in v1.4.0
func (c *SourcesV1alpha1Client) HTTPPollerSources(namespace string) HTTPPollerSourceInterface
func (*SourcesV1alpha1Client) RESTClient ¶
func (c *SourcesV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*SourcesV1alpha1Client) SlackSources ¶
func (c *SourcesV1alpha1Client) SlackSources(namespace string) SlackSourceInterface
func (*SourcesV1alpha1Client) WebhookSources ¶ added in v1.4.0
func (c *SourcesV1alpha1Client) WebhookSources(namespace string) WebhookSourceInterface
func (*SourcesV1alpha1Client) ZendeskSources ¶
func (c *SourcesV1alpha1Client) ZendeskSources(namespace string) ZendeskSourceInterface
type SourcesV1alpha1Interface ¶
type SourcesV1alpha1Interface interface { RESTClient() rest.Interface HTTPPollerSourcesGetter SlackSourcesGetter WebhookSourcesGetter ZendeskSourcesGetter }
type WebhookSourceExpansion ¶ added in v1.4.0
type WebhookSourceExpansion interface{}
type WebhookSourceInterface ¶ added in v1.4.0
type WebhookSourceInterface interface { Create(ctx context.Context, webhookSource *v1alpha1.WebhookSource, opts v1.CreateOptions) (*v1alpha1.WebhookSource, error) Update(ctx context.Context, webhookSource *v1alpha1.WebhookSource, opts v1.UpdateOptions) (*v1alpha1.WebhookSource, error) UpdateStatus(ctx context.Context, webhookSource *v1alpha1.WebhookSource, opts v1.UpdateOptions) (*v1alpha1.WebhookSource, 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.WebhookSource, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.WebhookSourceList, 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.WebhookSource, err error) WebhookSourceExpansion }
WebhookSourceInterface has methods to work with WebhookSource resources.
type WebhookSourcesGetter ¶ added in v1.4.0
type WebhookSourcesGetter interface {
WebhookSources(namespace string) WebhookSourceInterface
}
WebhookSourcesGetter has a method to return a WebhookSourceInterface. A group's client should implement this interface.
type ZendeskSourceExpansion ¶
type ZendeskSourceExpansion interface{}
type ZendeskSourceInterface ¶
type ZendeskSourceInterface interface { Create(ctx context.Context, zendeskSource *v1alpha1.ZendeskSource, opts v1.CreateOptions) (*v1alpha1.ZendeskSource, error) Update(ctx context.Context, zendeskSource *v1alpha1.ZendeskSource, opts v1.UpdateOptions) (*v1alpha1.ZendeskSource, error) UpdateStatus(ctx context.Context, zendeskSource *v1alpha1.ZendeskSource, opts v1.UpdateOptions) (*v1alpha1.ZendeskSource, 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.ZendeskSource, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ZendeskSourceList, 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.ZendeskSource, err error) ZendeskSourceExpansion }
ZendeskSourceInterface has methods to work with ZendeskSource resources.
type ZendeskSourcesGetter ¶
type ZendeskSourcesGetter interface {
ZendeskSources(namespace string) ZendeskSourceInterface
}
ZendeskSourcesGetter has a method to return a ZendeskSourceInterface. A group's client should implement this interface.