builders

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertRawExtensionToYaml

func ConvertRawExtensionToYaml(config runtime.RawExtension) (string, error)

ConvertRawExtensionToYaml converts a RawExtension input to Yaml

func CreateClusterRole

func CreateClusterRole(crdName string, crdNamespace string) *rbacv1.ClusterRole

func CreateSecret

func CreateSecret(appConfig runtime.RawExtension, secretName, secretNamespace, filename string) (*corev1.Secret, error)

func CreateServiceAccount

func CreateServiceAccount(name, namespace string, labels map[string]string, serviceAccountConfig *installv1alpha1.ServiceAccountConfig) *corev1.ServiceAccount

func GenerateArmadaConfig

func GenerateArmadaConfig(config runtime.RawExtension, key string) (map[string][]byte, error)

GenerateArmadaConfig generates armada config from the provided raw data and stores it into a map under the provided key.

func Service

func Service(name string, namespace string, labels, identityLabel map[string]string, portConfig v1alpha1.PortConfig) *corev1.Service

Types

This section is empty.

Jump to

Keyboard shortcuts

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