Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterInterceptorExpansion
- type ClusterInterceptorInterface
- type ClusterInterceptorsGetter
- type ClusterTriggerBindingExpansion
- type ClusterTriggerBindingInterface
- type ClusterTriggerBindingsGetter
- type EventListenerExpansion
- type EventListenerInterface
- type EventListenersGetter
- type InterceptorExpansion
- type InterceptorInterface
- type InterceptorsGetter
- type TriggerBindingExpansion
- type TriggerBindingInterface
- type TriggerBindingsGetter
- type TriggerExpansion
- type TriggerInterface
- type TriggerTemplateExpansion
- type TriggerTemplateInterface
- type TriggerTemplatesGetter
- type TriggersGetter
- type TriggersV1alpha1Client
- func (c *TriggersV1alpha1Client) ClusterInterceptors() ClusterInterceptorInterface
- func (c *TriggersV1alpha1Client) ClusterTriggerBindings() ClusterTriggerBindingInterface
- func (c *TriggersV1alpha1Client) EventListeners(namespace string) EventListenerInterface
- func (c *TriggersV1alpha1Client) Interceptors(namespace string) InterceptorInterface
- 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 ClusterInterceptorExpansion ¶ added in v0.13.0
type ClusterInterceptorExpansion interface{}
type ClusterInterceptorInterface ¶ added in v0.13.0
type ClusterInterceptorInterface interface { Create(ctx context.Context, clusterInterceptor *v1alpha1.ClusterInterceptor, opts v1.CreateOptions) (*v1alpha1.ClusterInterceptor, error) Update(ctx context.Context, clusterInterceptor *v1alpha1.ClusterInterceptor, opts v1.UpdateOptions) (*v1alpha1.ClusterInterceptor, error) UpdateStatus(ctx context.Context, clusterInterceptor *v1alpha1.ClusterInterceptor, opts v1.UpdateOptions) (*v1alpha1.ClusterInterceptor, 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.ClusterInterceptor, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterInterceptorList, 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.ClusterInterceptor, err error) ClusterInterceptorExpansion }
ClusterInterceptorInterface has methods to work with ClusterInterceptor resources.
type ClusterInterceptorsGetter ¶ added in v0.13.0
type ClusterInterceptorsGetter interface {
ClusterInterceptors() ClusterInterceptorInterface
}
ClusterInterceptorsGetter has a method to return a ClusterInterceptorInterface. A group's client should implement this interface.
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 InterceptorExpansion ¶ added in v0.22.0
type InterceptorExpansion interface{}
type InterceptorInterface ¶ added in v0.22.0
type InterceptorInterface interface { Create(ctx context.Context, interceptor *v1alpha1.Interceptor, opts v1.CreateOptions) (*v1alpha1.Interceptor, error) Update(ctx context.Context, interceptor *v1alpha1.Interceptor, opts v1.UpdateOptions) (*v1alpha1.Interceptor, error) UpdateStatus(ctx context.Context, interceptor *v1alpha1.Interceptor, opts v1.UpdateOptions) (*v1alpha1.Interceptor, 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.Interceptor, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.InterceptorList, 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.Interceptor, err error) InterceptorExpansion }
InterceptorInterface has methods to work with Interceptor resources.
type InterceptorsGetter ¶ added in v0.22.0
type InterceptorsGetter interface {
Interceptors(namespace string) InterceptorInterface
}
InterceptorsGetter has a method to return a InterceptorInterface. 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. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.20.0
NewForConfigAndClient creates a new TriggersV1alpha1Client 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) *TriggersV1alpha1Client
NewForConfigOrDie creates a new TriggersV1alpha1Client for the given config and panics if there is an error in the config.
func (*TriggersV1alpha1Client) ClusterInterceptors ¶ added in v0.13.0
func (c *TriggersV1alpha1Client) ClusterInterceptors() ClusterInterceptorInterface
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) Interceptors ¶ added in v0.22.0
func (c *TriggersV1alpha1Client) Interceptors(namespace string) InterceptorInterface
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 ClusterInterceptorsGetter ClusterTriggerBindingsGetter EventListenersGetter InterceptorsGetter TriggersGetter TriggerBindingsGetter TriggerTemplatesGetter }