v1beta1

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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 ClusterTriggerBindingExpansion

type ClusterTriggerBindingExpansion interface{}

type ClusterTriggerBindingInterface

type ClusterTriggerBindingInterface interface {
	Create(ctx context.Context, clusterTriggerBinding *v1beta1.ClusterTriggerBinding, opts v1.CreateOptions) (*v1beta1.ClusterTriggerBinding, error)
	Update(ctx context.Context, clusterTriggerBinding *v1beta1.ClusterTriggerBinding, opts v1.UpdateOptions) (*v1beta1.ClusterTriggerBinding, error)
	UpdateStatus(ctx context.Context, clusterTriggerBinding *v1beta1.ClusterTriggerBinding, opts v1.UpdateOptions) (*v1beta1.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) (*v1beta1.ClusterTriggerBinding, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.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 *v1beta1.ClusterTriggerBinding, err error)
	ClusterTriggerBindingExpansion
}

ClusterTriggerBindingInterface has methods to work with ClusterTriggerBinding resources.

type ClusterTriggerBindingsGetter

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 *v1beta1.EventListener, opts v1.CreateOptions) (*v1beta1.EventListener, error)
	Update(ctx context.Context, eventListener *v1beta1.EventListener, opts v1.UpdateOptions) (*v1beta1.EventListener, error)
	UpdateStatus(ctx context.Context, eventListener *v1beta1.EventListener, opts v1.UpdateOptions) (*v1beta1.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) (*v1beta1.EventListener, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.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 *v1beta1.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 *v1beta1.TriggerBinding, opts v1.CreateOptions) (*v1beta1.TriggerBinding, error)
	Update(ctx context.Context, triggerBinding *v1beta1.TriggerBinding, opts v1.UpdateOptions) (*v1beta1.TriggerBinding, error)
	UpdateStatus(ctx context.Context, triggerBinding *v1beta1.TriggerBinding, opts v1.UpdateOptions) (*v1beta1.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) (*v1beta1.TriggerBinding, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.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 *v1beta1.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

type TriggerExpansion interface{}

type TriggerInterface

type TriggerInterface interface {
	Create(ctx context.Context, trigger *v1beta1.Trigger, opts v1.CreateOptions) (*v1beta1.Trigger, error)
	Update(ctx context.Context, trigger *v1beta1.Trigger, opts v1.UpdateOptions) (*v1beta1.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) (*v1beta1.Trigger, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.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 *v1beta1.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 *v1beta1.TriggerTemplate, opts v1.CreateOptions) (*v1beta1.TriggerTemplate, error)
	Update(ctx context.Context, triggerTemplate *v1beta1.TriggerTemplate, opts v1.UpdateOptions) (*v1beta1.TriggerTemplate, error)
	UpdateStatus(ctx context.Context, triggerTemplate *v1beta1.TriggerTemplate, opts v1.UpdateOptions) (*v1beta1.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) (*v1beta1.TriggerTemplate, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.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 *v1beta1.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

type TriggersGetter interface {
	Triggers(namespace string) TriggerInterface
}

TriggersGetter has a method to return a TriggerInterface. A group's client should implement this interface.

type TriggersV1beta1Client

type TriggersV1beta1Client struct {
	// contains filtered or unexported fields
}

TriggersV1beta1Client is used to interact with features provided by the triggers.tekton.dev group.

func New

New creates a new TriggersV1beta1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*TriggersV1beta1Client, error)

NewForConfig creates a new TriggersV1beta1Client 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

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*TriggersV1beta1Client, error)

NewForConfigAndClient creates a new TriggersV1beta1Client 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) *TriggersV1beta1Client

NewForConfigOrDie creates a new TriggersV1beta1Client for the given config and panics if there is an error in the config.

func (*TriggersV1beta1Client) ClusterTriggerBindings

func (c *TriggersV1beta1Client) ClusterTriggerBindings() ClusterTriggerBindingInterface

func (*TriggersV1beta1Client) EventListeners

func (c *TriggersV1beta1Client) EventListeners(namespace string) EventListenerInterface

func (*TriggersV1beta1Client) RESTClient

func (c *TriggersV1beta1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*TriggersV1beta1Client) TriggerBindings

func (c *TriggersV1beta1Client) TriggerBindings(namespace string) TriggerBindingInterface

func (*TriggersV1beta1Client) TriggerTemplates

func (c *TriggersV1beta1Client) TriggerTemplates(namespace string) TriggerTemplateInterface

func (*TriggersV1beta1Client) Triggers

func (c *TriggersV1beta1Client) Triggers(namespace string) TriggerInterface

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL