Documentation ¶
Index ¶
- func DefaultSecretSelector() *corev1.SecretKeySelector
- func GeneratePublisherName(topic *v1.Topic) string
- func GetLabelSelector(controller, source string) labels.Selector
- func GetLabels(controller, topic string) map[string]string
- func MakePublisher(args *PublisherArgs) *servingv1.Service
- type PublisherArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSecretSelector ¶
func DefaultSecretSelector() *corev1.SecretKeySelector
DefaultSecretSelector is the default secret selector used to load the creds for the publisher to auth with Google Cloud.
func GeneratePublisherName ¶
func GetLabelSelector ¶
func MakePublisher ¶
func MakePublisher(args *PublisherArgs) *servingv1.Service
MakePublisher generates (but does not insert into K8s) the Invoker Deployment for Channels.
Types ¶
type PublisherArgs ¶
type PublisherArgs struct { Image string Topic *v1.Topic Labels map[string]string TracingConfig string // There are three types: `secret`, `workload-identity-gsa` and `workload-identity`. AuthType authcheck.AuthType }
PublisherArgs are the arguments needed to create a Topic publisher. Every field is required.
Click to show internal directories.
Click to hide internal directories.