Documentation ¶
Index ¶
- func CreateAppNamespace(kubeclient kubernetes.Interface, appName string) string
- func CreateEnvNamespace(kubeclient kubernetes.Interface, appName, environment string) string
- func GetAzureKeyVaultTypeSecrets(secrets *corev1.SecretList) *corev1.SecretList
- func GetRadixAzureKeyVaultObjectTypePtr(objectType v1.RadixAzureKeyVaultObjectType) *v1.RadixAzureKeyVaultObjectType
- func IntPtr(i int) *int
- func SetRequiredEnvironmentVariables()
- type Utils
- func (tu *Utils) ApplyApplication(applicationBuilder utils.ApplicationBuilder) (*v1.RadixApplication, error)
- func (tu *Utils) ApplyApplicationUpdate(applicationBuilder utils.ApplicationBuilder) (*v1.RadixApplication, error)
- func (tu *Utils) ApplyDeployment(deploymentBuilder utils.DeploymentBuilder) (*v1.RadixDeployment, error)
- func (tu *Utils) ApplyDeploymentUpdate(deploymentBuilder utils.DeploymentBuilder) (*v1.RadixDeployment, error)
- func (tu *Utils) ApplyEnvironment(environmentBuilder utils.EnvironmentBuilder) (*v1.RadixEnvironment, error)
- func (tu *Utils) ApplyEnvironmentUpdate(environmentBuilder utils.EnvironmentBuilder) (*v1.RadixEnvironment, error)
- func (tu *Utils) ApplyJob(jobBuilder utils.JobBuilder) (*v1.RadixJob, error)
- func (tu *Utils) ApplyJobUpdate(jobBuilder utils.JobBuilder) (*v1.RadixJob, error)
- func (tu *Utils) ApplyRegistration(registrationBuilder utils.RegistrationBuilder) (*v1.RadixRegistration, error)
- func (tu *Utils) ApplyRegistrationUpdate(registrationBuilder utils.RegistrationBuilder) (*v1.RadixRegistration, error)
- func (tu *Utils) CreateClusterPrerequisites(clustername, containerRegistry, egressIps string)
- func (tu *Utils) GetKubeUtil() *kube.Kube
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAppNamespace ¶
func CreateAppNamespace(kubeclient kubernetes.Interface, appName string) string
CreateAppNamespace Helper method to creat app namespace
func CreateEnvNamespace ¶
func CreateEnvNamespace(kubeclient kubernetes.Interface, appName, environment string) string
CreateEnvNamespace Helper method to creat env namespace
func GetAzureKeyVaultTypeSecrets ¶ added in v1.19.0
func GetAzureKeyVaultTypeSecrets(secrets *corev1.SecretList) *corev1.SecretList
GetAzureKeyVaultTypeSecrets Gets secrets with kube.RadixSecretRefTypeLabel and value v1.RadixSecretRefTypeAzureKeyVault
func GetRadixAzureKeyVaultObjectTypePtr ¶ added in v1.19.0
func GetRadixAzureKeyVaultObjectTypePtr(objectType v1.RadixAzureKeyVaultObjectType) *v1.RadixAzureKeyVaultObjectType
GetRadixAzureKeyVaultObjectTypePtr Gets pointer to RadixAzureKeyVaultObjectType
func SetRequiredEnvironmentVariables ¶
func SetRequiredEnvironmentVariables()
SetRequiredEnvironmentVariables Sets the required environment variables needed for the operator to run properly
Types ¶
type Utils ¶
type Utils struct {
// contains filtered or unexported fields
}
Utils Instance variables
func NewTestUtils ¶
func NewTestUtils(client kubernetes.Interface, radixclient radixclient.Interface, secretproviderclient secretProviderClient.Interface) Utils
NewTestUtils Constructor
func (*Utils) ApplyApplication ¶
func (tu *Utils) ApplyApplication(applicationBuilder utils.ApplicationBuilder) (*v1.RadixApplication, error)
ApplyApplication Will help persist an application
func (*Utils) ApplyApplicationUpdate ¶
func (tu *Utils) ApplyApplicationUpdate(applicationBuilder utils.ApplicationBuilder) (*v1.RadixApplication, error)
ApplyApplicationUpdate Will help update an application
func (*Utils) ApplyDeployment ¶
func (tu *Utils) ApplyDeployment(deploymentBuilder utils.DeploymentBuilder) (*v1.RadixDeployment, error)
ApplyDeployment Will help persist a deployment
func (*Utils) ApplyDeploymentUpdate ¶
func (tu *Utils) ApplyDeploymentUpdate(deploymentBuilder utils.DeploymentBuilder) (*v1.RadixDeployment, error)
ApplyDeploymentUpdate Will help update a deployment
func (*Utils) ApplyEnvironment ¶ added in v1.5.7
func (tu *Utils) ApplyEnvironment(environmentBuilder utils.EnvironmentBuilder) (*v1.RadixEnvironment, error)
ApplyEnvironment Will help persist a RadixEnvironment
func (*Utils) ApplyEnvironmentUpdate ¶ added in v1.5.8
func (tu *Utils) ApplyEnvironmentUpdate(environmentBuilder utils.EnvironmentBuilder) (*v1.RadixEnvironment, error)
ApplyEnvironmentUpdate Will help update a RadixEnvironment
func (*Utils) ApplyJobUpdate ¶
ApplyJobUpdate Will help update a radixjob
func (*Utils) ApplyRegistration ¶
func (tu *Utils) ApplyRegistration(registrationBuilder utils.RegistrationBuilder) (*v1.RadixRegistration, error)
ApplyRegistration Will help persist an application registration
func (*Utils) ApplyRegistrationUpdate ¶ added in v1.5.8
func (tu *Utils) ApplyRegistrationUpdate(registrationBuilder utils.RegistrationBuilder) (*v1.RadixRegistration, error)
ApplyRegistrationUpdate Will help update a registration
func (*Utils) CreateClusterPrerequisites ¶
CreateClusterPrerequisites Will do the needed setup which is part of radix boot