Documentation ¶
Index ¶
- func MakeConfigMap(ctx context.Context, vms *v1alpha1.VSphereSource) *corev1.ConfigMap
- func MakeDeployment(ctx context.Context, vms *v1alpha1.VSphereSource, adapterImage string) *appsv1.Deployment
- func MakeRoleBinding(ctx context.Context, vms *v1alpha1.VSphereSource) *rbacv1.RoleBinding
- func MakeServiceAccount(ctx context.Context, vms *v1alpha1.VSphereSource) *corev1.ServiceAccount
- func MakeVSphereBinding(ctx context.Context, vms *v1alpha1.VSphereSource) *v1alpha1.VSphereBinding
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeConfigMap ¶
MakeConfigMap creates a ConfigMap owned by the VSphereSource
func MakeDeployment ¶
func MakeDeployment(ctx context.Context, vms *v1alpha1.VSphereSource, adapterImage string) *appsv1.Deployment
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'.
func MakeVSphereBinding ¶
func MakeVSphereBinding(ctx context.Context, vms *v1alpha1.VSphereSource) *v1alpha1.VSphereBinding
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.