Documentation ¶
Index ¶
- func CompareBuildSecretHash(targetHash string, secret *corev1.Secret) (bool, error)
- func CompareRadixApplicationHash(targetHash string, ra *radixv1.RadixApplication) (bool, error)
- func ConstructForTargetEnvironment(config *radixv1.RadixApplication, ...) (*radixv1.RadixDeployment, error)
- func CreateBuildSecretHash(secret *corev1.Secret) (string, error)
- func CreateRadixApplication(ctx context.Context, radixClient radixclient.Interface, ...) (*radixv1.RadixApplication, error)
- func CreateRadixApplicationHash(ra *radixv1.RadixApplication) (string, error)
- func GetCurrentRadixDeployment(ctx context.Context, kubeUtil *kube.Kube, namespace string) (*radixv1.RadixDeployment, error)
- func GetGitCommitHashFromDeployment(radixDeployment *radixv1.RadixDeployment) string
- func GetRuntimeForEnvironment(radixComponent v1.RadixCommonComponent, environment string) *v1.Runtime
- type PreservingDeployComponents
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareBuildSecretHash ¶ added in v1.56.0
func CompareRadixApplicationHash ¶ added in v1.56.0
func CompareRadixApplicationHash(targetHash string, ra *radixv1.RadixApplication) (bool, error)
func ConstructForTargetEnvironment ¶
func ConstructForTargetEnvironment(config *radixv1.RadixApplication, activeRadixDeployment *radixv1.RadixDeployment, jobName, imageTag, branch string, componentImages pipeline.DeployComponentImages, envName string, defaultEnvVars radixv1.EnvVarsMap, radixConfigHash, buildSecretHash string, buildContext *model.PrepareBuildContext, componentsToDeploy []string) (*radixv1.RadixDeployment, error)
ConstructForTargetEnvironment Will build a deployment for target environment
func CreateBuildSecretHash ¶ added in v1.56.0
func CreateRadixApplication ¶ added in v1.56.0
func CreateRadixApplication(ctx context.Context, radixClient radixclient.Interface, dnsConfig *dnsalias.DNSConfig, configFileContent string) (*radixv1.RadixApplication, error)
CreateRadixApplication Create RadixApplication from radixconfig.yaml content
func CreateRadixApplicationHash ¶ added in v1.56.0
func CreateRadixApplicationHash(ra *radixv1.RadixApplication) (string, error)
func GetCurrentRadixDeployment ¶
func GetCurrentRadixDeployment(ctx context.Context, kubeUtil *kube.Kube, namespace string) (*radixv1.RadixDeployment, error)
GetCurrentRadixDeployment Returns active RadixDeployment if it exists and if it is available to get
func GetGitCommitHashFromDeployment ¶ added in v1.56.0
func GetGitCommitHashFromDeployment(radixDeployment *radixv1.RadixDeployment) string
func GetRuntimeForEnvironment ¶ added in v1.56.0
func GetRuntimeForEnvironment(radixComponent v1.RadixCommonComponent, environment string) *v1.Runtime
GetRuntimeForEnvironment Returns Runtime configuration by combining Runtime from the specified environment with Runtime configuration on the component level.
Types ¶
type PreservingDeployComponents ¶
type PreservingDeployComponents struct { DeployComponents []radixv1.RadixDeployComponent DeployJobComponents []radixv1.RadixDeployJobComponent }
PreservingDeployComponents DeployComponents, not to be updated during deployment, but transferred from an active deployment
Click to show internal directories.
Click to hide internal directories.