Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterTriggerBindingExpansion
- type ClusterTriggerBindingInterface
- type ClusterTriggerBindingsGetter
- type EventListenerExpansion
- type EventListenerInterface
- type EventListenersGetter
- type TriggerBindingExpansion
- type TriggerBindingInterface
- type TriggerBindingsGetter
- type TriggerExpansion
- type TriggerInterface
- type TriggerTemplateExpansion
- type TriggerTemplateInterface
- type TriggerTemplatesGetter
- type TriggersGetter
- type TriggersV1alpha1Client
- func (c *TriggersV1alpha1Client) ClusterTriggerBindings() ClusterTriggerBindingInterface
- func (c *TriggersV1alpha1Client) EventListeners(namespace string) EventListenerInterface
- func (c *TriggersV1alpha1Client) RESTClient() rest.Interface
- func (c *TriggersV1alpha1Client) TriggerBindings(namespace string) TriggerBindingInterface
- func (c *TriggersV1alpha1Client) TriggerTemplates(namespace string) TriggerTemplateInterface
- func (c *TriggersV1alpha1Client) Triggers(namespace string) TriggerInterface
- type TriggersV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterTriggerBindingExpansion ¶ added in v0.3.0
type ClusterTriggerBindingExpansion interface{}
type ClusterTriggerBindingInterface ¶ added in v0.3.0
type ClusterTriggerBindingInterface interface { Create(ctx context.Context, clusterTriggerBinding *v1alpha1.ClusterTriggerBinding, opts v1.CreateOptions) (*v1alpha1.ClusterTriggerBinding, error) Update(ctx context.Context, clusterTriggerBinding *v1alpha1.ClusterTriggerBinding, opts v1.UpdateOptions) (*v1alpha1.ClusterTriggerBinding, error) UpdateStatus(ctx context.Context, clusterTriggerBinding *v1alpha1.ClusterTriggerBinding, opts v1.UpdateOptions) (*v1alpha1.ClusterTriggerBinding, 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.ClusterTriggerBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterTriggerBindingList, 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.ClusterTriggerBinding, err error) ClusterTriggerBindingExpansion }
ClusterTriggerBindingInterface has methods to work with ClusterTriggerBinding resources.
type ClusterTriggerBindingsGetter ¶ added in v0.3.0
type ClusterTriggerBindingsGetter interface {
ClusterTriggerBindings() ClusterTriggerBindingInterface
}
ClusterTriggerBindingsGetter has a method to return a ClusterTriggerBindingInterface. A group's client should implement this interface.
type EventListenerExpansion ¶
type EventListenerExpansion interface{}
type EventListenerInterface ¶
type EventListenerInterface interface { Create(ctx context.Context, eventListener *v1alpha1.EventListener, opts v1.CreateOptions) (*v1alpha1.EventListener, error) Update(ctx context.Context, eventListener *v1alpha1.EventListener, opts v1.UpdateOptions) (*v1alpha1.EventListener, error) UpdateStatus(ctx context.Context, eventListener *v1alpha1.EventListener, opts v1.UpdateOptions) (*v1alpha1.EventListener, 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.EventListener, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EventListenerList, 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.EventListener, err error) EventListenerExpansion }
EventListenerInterface has methods to work with EventListener resources.
type EventListenersGetter ¶
type EventListenersGetter interface {
EventListeners(namespace string) EventListenerInterface
}
EventListenersGetter has a method to return a EventListenerInterface. A group's client should implement this interface.
type TriggerBindingExpansion ¶
type TriggerBindingExpansion interface{}
type TriggerBindingInterface ¶
type TriggerBindingInterface interface { Create(ctx context.Context, triggerBinding *v1alpha1.TriggerBinding, opts v1.CreateOptions) (*v1alpha1.TriggerBinding, error) Update(ctx context.Context, triggerBinding *v1alpha1.TriggerBinding, opts v1.UpdateOptions) (*v1alpha1.TriggerBinding, error) UpdateStatus(ctx context.Context, triggerBinding *v1alpha1.TriggerBinding, opts v1.UpdateOptions) (*v1alpha1.TriggerBinding, 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.TriggerBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TriggerBindingList, 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.TriggerBinding, err error) TriggerBindingExpansion }
TriggerBindingInterface has methods to work with TriggerBinding resources.
type TriggerBindingsGetter ¶
type TriggerBindingsGetter interface {
TriggerBindings(namespace string) TriggerBindingInterface
}
TriggerBindingsGetter has a method to return a TriggerBindingInterface. A group's client should implement this interface.
type TriggerExpansion ¶ added in v0.7.0
type TriggerExpansion interface{}
type TriggerInterface ¶ added in v0.7.0
type TriggerInterface interface { Create(ctx context.Context, trigger *v1alpha1.Trigger, opts v1.CreateOptions) (*v1alpha1.Trigger, error) Update(ctx context.Context, trigger *v1alpha1.Trigger, opts v1.UpdateOptions) (*v1alpha1.Trigger, 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.Trigger, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TriggerList, 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.Trigger, err error) TriggerExpansion }
TriggerInterface has methods to work with Trigger resources.
type TriggerTemplateExpansion ¶
type TriggerTemplateExpansion interface{}
type TriggerTemplateInterface ¶
type TriggerTemplateInterface interface { Create(ctx context.Context, triggerTemplate *v1alpha1.TriggerTemplate, opts v1.CreateOptions) (*v1alpha1.TriggerTemplate, error) Update(ctx context.Context, triggerTemplate *v1alpha1.TriggerTemplate, opts v1.UpdateOptions) (*v1alpha1.TriggerTemplate, error) UpdateStatus(ctx context.Context, triggerTemplate *v1alpha1.TriggerTemplate, opts v1.UpdateOptions) (*v1alpha1.TriggerTemplate, 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.TriggerTemplate, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TriggerTemplateList, 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.TriggerTemplate, err error) TriggerTemplateExpansion }
TriggerTemplateInterface has methods to work with TriggerTemplate resources.
type TriggerTemplatesGetter ¶
type TriggerTemplatesGetter interface {
TriggerTemplates(namespace string) TriggerTemplateInterface
}
TriggerTemplatesGetter has a method to return a TriggerTemplateInterface. A group's client should implement this interface.
type TriggersGetter ¶ added in v0.7.0
type TriggersGetter interface {
Triggers(namespace string) TriggerInterface
}
TriggersGetter has a method to return a TriggerInterface. A group's client should implement this interface.
type TriggersV1alpha1Client ¶ added in v0.4.0
type TriggersV1alpha1Client struct {
// contains filtered or unexported fields
}
TriggersV1alpha1Client is used to interact with features provided by the triggers.tekton.dev group.
func New ¶
func New(c rest.Interface) *TriggersV1alpha1Client
New creates a new TriggersV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*TriggersV1alpha1Client, error)
NewForConfig creates a new TriggersV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *TriggersV1alpha1Client
NewForConfigOrDie creates a new TriggersV1alpha1Client for the given config and panics if there is an error in the config.
func (*TriggersV1alpha1Client) ClusterTriggerBindings ¶ added in v0.4.0
func (c *TriggersV1alpha1Client) ClusterTriggerBindings() ClusterTriggerBindingInterface
func (*TriggersV1alpha1Client) EventListeners ¶ added in v0.4.0
func (c *TriggersV1alpha1Client) EventListeners(namespace string) EventListenerInterface
func (*TriggersV1alpha1Client) RESTClient ¶ added in v0.4.0
func (c *TriggersV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*TriggersV1alpha1Client) TriggerBindings ¶ added in v0.4.0
func (c *TriggersV1alpha1Client) TriggerBindings(namespace string) TriggerBindingInterface
func (*TriggersV1alpha1Client) TriggerTemplates ¶ added in v0.4.0
func (c *TriggersV1alpha1Client) TriggerTemplates(namespace string) TriggerTemplateInterface
func (*TriggersV1alpha1Client) Triggers ¶ added in v0.7.0
func (c *TriggersV1alpha1Client) Triggers(namespace string) TriggerInterface
type TriggersV1alpha1Interface ¶ added in v0.4.0
type TriggersV1alpha1Interface interface { RESTClient() rest.Interface ClusterTriggerBindingsGetter EventListenersGetter TriggersGetter TriggerBindingsGetter TriggerTemplatesGetter }