resources

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeConfigMap

func MakeConfigMap(ctx context.Context, vms *v1alpha1.VSphereSource) *corev1.ConfigMap

MakeConfigMap creates a ConfigMap owned by the VSphereSource

func MakeDeployment

func MakeDeployment(ctx context.Context, vms *v1alpha1.VSphereSource, args AdapterArgs) (*appsv1.Deployment, error)

func MakeRoleBinding

func MakeRoleBinding(ctx context.Context, vms *v1alpha1.VSphereSource) *rbacv1.RoleBinding

MakeRoleBinding creates a RoleBinding object for the receive adapter service account 'sa' in the Namespace 'ns'. This is necessary for the receive adapter to be able to store state in configmaps.

func MakeServiceAccount

func MakeServiceAccount(ctx context.Context, vms *v1alpha1.VSphereSource) *corev1.ServiceAccount

MakeServiceAccount creates a ServiceAccount object for the Namespace 'ns'.

Types

type AdapterArgs added in v0.31.0

type AdapterArgs struct {
	Image         string
	LoggingConfig string
	MetricsConfig string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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