Documentation ¶
Index ¶
- type EventtypeBuilder
- func (e *EventtypeBuilder) Broker(broker string) *EventtypeBuilder
- func (e *EventtypeBuilder) Build() *eventingv1beta1.EventType
- func (e *EventtypeBuilder) Namespace(ns string) *EventtypeBuilder
- func (e *EventtypeBuilder) Source(source *apis.URL) *EventtypeBuilder
- func (e *EventtypeBuilder) Type(ceType string) *EventtypeBuilder
- func (e *EventtypeBuilder) WithGvk() *EventtypeBuilder
- type KnEventingV1Beta1Client
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 ¶
func (e *EventtypeBuilder) Build() *eventingv1beta1.EventType
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
Click to show internal directories.
Click to hide internal directories.