Documentation ¶
Index ¶
- func CreateAppNamespace(kubeclient kubernetes.Interface, appName string) string
- func CreateEnvNamespace(kubeclient kubernetes.Interface, appName, environment string) string
- func IntPtr(i int) *int
- func SetRequiredEnvironmentVariables()
- type Utils
- func (tu *Utils) ApplyApplication(applicationBuilder builders.ApplicationBuilder) error
- func (tu *Utils) ApplyApplicationUpdate(applicationBuilder builders.ApplicationBuilder) error
- func (tu *Utils) ApplyDeployment(deploymentBuilder builders.DeploymentBuilder) (*v1.RadixDeployment, error)
- func (tu *Utils) ApplyDeploymentUpdate(deploymentBuilder builders.DeploymentBuilder) (*v1.RadixDeployment, error)
- func (tu *Utils) ApplyJob(jobBuilder builders.JobBuilder) (*v1.RadixJob, error)
- func (tu *Utils) ApplyJobUpdate(jobBuilder builders.JobBuilder) (*v1.RadixJob, error)
- func (tu *Utils) ApplyRegistration(registrationBuilder builders.RegistrationBuilder) error
- func (tu *Utils) CreateClusterPrerequisites(clustername, containerRegistry string)
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 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) Utils
NewTestUtils Constructor
func (*Utils) ApplyApplication ¶
func (tu *Utils) ApplyApplication(applicationBuilder builders.ApplicationBuilder) error
ApplyApplication Will help persist an application
func (*Utils) ApplyApplicationUpdate ¶
func (tu *Utils) ApplyApplicationUpdate(applicationBuilder builders.ApplicationBuilder) error
ApplyApplicationUpdate Will help update an application
func (*Utils) ApplyDeployment ¶
func (tu *Utils) ApplyDeployment(deploymentBuilder builders.DeploymentBuilder) (*v1.RadixDeployment, error)
ApplyDeployment Will help persist a deployment
func (*Utils) ApplyDeploymentUpdate ¶
func (tu *Utils) ApplyDeploymentUpdate(deploymentBuilder builders.DeploymentBuilder) (*v1.RadixDeployment, error)
ApplyDeploymentUpdate Will help update a deployment
func (*Utils) ApplyJobUpdate ¶
ApplyJobUpdate Will help update a radixjob
func (*Utils) ApplyRegistration ¶
func (tu *Utils) ApplyRegistration(registrationBuilder builders.RegistrationBuilder) error
ApplyRegistration Will help persist an application registration
func (*Utils) CreateClusterPrerequisites ¶
CreateClusterPrerequisites Will do the needed setup which is part of radix boot