v1alpha1

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 7 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 BrokerExpansion added in v0.5.0

type BrokerExpansion interface{}

type BrokerInterface added in v0.5.0

type BrokerInterface interface {
	Create(*v1alpha1.Broker) (*v1alpha1.Broker, error)
	Update(*v1alpha1.Broker) (*v1alpha1.Broker, error)
	UpdateStatus(*v1alpha1.Broker) (*v1alpha1.Broker, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Broker, error)
	List(opts v1.ListOptions) (*v1alpha1.BrokerList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Broker, err error)
	BrokerExpansion
}

BrokerInterface has methods to work with Broker resources.

type BrokersGetter added in v0.5.0

type BrokersGetter interface {
	Brokers(namespace string) BrokerInterface
}

BrokersGetter has a method to return a BrokerInterface. A group's client should implement this interface.

type EventTypeExpansion added in v0.6.0

type EventTypeExpansion interface{}

type EventTypeInterface added in v0.6.0

type EventTypeInterface interface {
	Create(*v1alpha1.EventType) (*v1alpha1.EventType, error)
	Update(*v1alpha1.EventType) (*v1alpha1.EventType, error)
	UpdateStatus(*v1alpha1.EventType) (*v1alpha1.EventType, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.EventType, error)
	List(opts v1.ListOptions) (*v1alpha1.EventTypeList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventType, err error)
	EventTypeExpansion
}

EventTypeInterface has methods to work with EventType resources.

type EventTypesGetter added in v0.6.0

type EventTypesGetter interface {
	EventTypes(namespace string) EventTypeInterface
}

EventTypesGetter has a method to return a EventTypeInterface. A group's client should implement this interface.

type EventingV1alpha1Client

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

EventingV1alpha1Client is used to interact with features provided by the eventing.knative.dev group.

func New

New creates a new EventingV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new EventingV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *EventingV1alpha1Client

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

func (*EventingV1alpha1Client) Brokers added in v0.5.0

func (c *EventingV1alpha1Client) Brokers(namespace string) BrokerInterface

func (*EventingV1alpha1Client) EventTypes added in v0.6.0

func (c *EventingV1alpha1Client) EventTypes(namespace string) EventTypeInterface

func (*EventingV1alpha1Client) RESTClient

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

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

func (*EventingV1alpha1Client) Triggers added in v0.5.0

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

type EventingV1alpha1Interface

type EventingV1alpha1Interface interface {
	RESTClient() rest.Interface
	BrokersGetter
	EventTypesGetter
	TriggersGetter
}

type TriggerExpansion added in v0.5.0

type TriggerExpansion interface{}

type TriggerInterface added in v0.5.0

type TriggerInterface interface {
	Create(*v1alpha1.Trigger) (*v1alpha1.Trigger, error)
	Update(*v1alpha1.Trigger) (*v1alpha1.Trigger, error)
	UpdateStatus(*v1alpha1.Trigger) (*v1alpha1.Trigger, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Trigger, error)
	List(opts v1.ListOptions) (*v1alpha1.TriggerList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Trigger, err error)
	TriggerExpansion
}

TriggerInterface has methods to work with Trigger resources.

type TriggersGetter added in v0.5.0

type TriggersGetter interface {
	Triggers(namespace string) TriggerInterface
}

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

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