Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FAILED status label FAILED = "failed" // IGNORED status label IGNORED = "ignored" // PUBLISHED status label PUBLISHED = "published" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultKnativePublisher ¶
type DefaultKnativePublisher struct{}
DefaultKnativePublisher is the default KnativePublisher instance.
type KnativePublisher ¶
type KnativePublisher interface { Publish(knativeLib *knative.KnativeLib, channelName *string, namespace *string, headers *map[string][]string, payload *[]byte, publishRequest *api.Request) (*api.Error, string) }
KnativePublisher encapsulates the publish behaviour.
func NewKnativePublisher ¶
func NewKnativePublisher() KnativePublisher
NewKnativePublisher creates a new KnativePublisher instance.
Click to show internal directories.
Click to hide internal directories.