v1beta1

package
v0.0.0-...-14f4a3a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventtypeBuilder

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

EventtypeBuilder is for building the eventtype

func NewEventtypeBuilder

func NewEventtypeBuilder(name string) *EventtypeBuilder

NewEventtypeBuilder for building eventtype object

func (*EventtypeBuilder) Broker

func (e *EventtypeBuilder) Broker(broker string) *EventtypeBuilder

Broker for eventtype builder

func (*EventtypeBuilder) Build

Build to return an instance of eventtype object

func (*EventtypeBuilder) Namespace

func (e *EventtypeBuilder) Namespace(ns string) *EventtypeBuilder

Namespace for eventtype builder

func (*EventtypeBuilder) Source

func (e *EventtypeBuilder) Source(source *apis.URL) *EventtypeBuilder

Source for eventtype builder

func (*EventtypeBuilder) Type

func (e *EventtypeBuilder) Type(ceType string) *EventtypeBuilder

Type for eventtype builder

func (*EventtypeBuilder) WithGvk

func (e *EventtypeBuilder) WithGvk() *EventtypeBuilder

WithGvk add the GVK coordinates for read tests

type KnEventingV1Beta1Client

type KnEventingV1Beta1Client interface {
	// Namespace in which this client is operating for
	Namespace() string
	// ListEventtypes is used to list eventtypes
	ListEventtypes(ctx context.Context) (*eventingv1beta1.EventTypeList, error)
	// GetEventtype is used to describe an eventtype
	GetEventtype(ctx context.Context, name string) (*eventingv1beta1.EventType, error)
	// CreateEventtype is used to create an eventtype
	CreateEventtype(ctx context.Context, eventtype *eventingv1beta1.EventType) error
	// DeleteEventtype is used to delete an eventtype
	DeleteEventtype(ctx context.Context, name string) error
}

KnEventingV1Beta1Client to Eventing Sources. All methods are relative to the namespace specified during construction

func NewKnEventingV1Beta1Client

func NewKnEventingV1Beta1Client(client beta1.EventingV1beta1Interface, namespace string) KnEventingV1Beta1Client

NewKnEventingV1Beta1Client is to invoke Eventing Types Client API to create object

Jump to

Keyboard shortcuts

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