resources

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdapterName

func AdapterName(source *sourcesv1alpha1.RedisStreamSource) string

func Labels

func Labels(name string) map[string]string

func MakeReceiveAdapter

func MakeReceiveAdapter(source *sourcesv1alpha1.RedisStreamSource, image string, sinkURI string, numConsumers string, tlsCert string) *appsv1.StatefulSet

MakeReceiveAdapter generates (but does not insert into K8s) the Receive Adapter Deployment for RedisStream Sources.

func MakeRoleBinding

func MakeRoleBinding(source *v1alpha1.RedisStreamSource, clusterRoleName string) *rbacv1.RoleBinding

MakeRoleBinding creates a RoleBinding object for the single-tenant receive adapter service account 'sa' in the Namespace 'ns'.

func RoleBindingName

func RoleBindingName(source *sourcesv1alpha1.RedisStreamSource) string

func ServiceAccountName

func ServiceAccountName(source kmeta.OwnerRefable) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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