Documentation
¶
Index ¶
- func BuildApplication(rr *radixv1.RadixRegistration, ra *radixv1.RadixApplication, ...) *applicationModels.Application
- func BuildApplicationRegistration(rr *radixv1.RadixRegistration) *applicationModels.ApplicationRegistration
- func BuildComponents(ra *radixv1.RadixApplication, rd *radixv1.RadixDeployment, ...) []*deploymentModels.Component
- func BuildDNSExternalAliases(rdList []radixv1.RadixDeployment) []models.DNSExternalAlias
- func BuildDeployment(rr *radixv1.RadixRegistration, ra *radixv1.RadixApplication, ...) *deploymentModels.Deployment
- func BuildDeploymentSummary(rd *radixv1.RadixDeployment, rr *radixv1.RadixRegistration, ...) *deploymentModels.DeploymentSummary
- func BuildDeploymentSummaryList(rr *radixv1.RadixRegistration, rdList []radixv1.RadixDeployment, ...) []*deploymentModels.DeploymentSummary
- func BuildEnvironment(ctx context.Context, rr *radixv1.RadixRegistration, ...) *environmentModels.Environment
- func BuildEnvironmentSummaryList(rr *radixv1.RadixRegistration, ra *radixv1.RadixApplication, ...) []*environmentModels.EnvironmentSummary
- func BuildJobSummary(rj radixv1.RadixJob) *jobModels.JobSummary
- func BuildJobSummaryList(rjList []radixv1.RadixJob) []*jobModels.JobSummary
- func BuildReplicaSummaryList(podList []corev1.Pod, lastEventWarnings map[string]string) []deploymentModels.ReplicaSummary
- func BuildSecrets(ctx context.Context, secretList []corev1.Secret, ...) []secretModels.Secret
- func GetActiveDeploymentForAppEnv(appName, envName string, rds []radixv1.RadixDeployment) (radixv1.RadixDeployment, bool)
- func GetBatchDeployJobComponent(radixDeploymentName string, jobComponentName string, ...) *radixv1.RadixDeployJobComponent
- func GetHpaSummary(appName, componentName string, hpaList []autoscalingv2.HorizontalPodAutoscaler, ...) *deploymentModels.HorizontalScalingSummary
- func GetReplicaSummaryByJobPodStatus(radixBatchJob radixv1.RadixBatchJob, ...) models.ReplicaSummary
- func GetScheduledBatchSummary(radixBatch *radixv1.RadixBatch, batchStatus *jobSchedulerModels.BatchStatus, ...) models.ScheduledBatchSummary
- func GetScheduledBatchSummaryList(radixBatches []*radixv1.RadixBatch, ...) []models.ScheduledBatchSummary
- func GetScheduledJobSummary(radixBatch *radixv1.RadixBatch, radixBatchJob *radixv1.RadixBatchJob, ...) models.ScheduledJobSummary
- func GetScheduledJobSummaryList(radixBatch *radixv1.RadixBatch, ...) []models.ScheduledJobSummary
- func GetScheduledSingleJobSummaryList(radixBatches []*radixv1.RadixBatch, ...) []models.ScheduledJobSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildApplication ¶
func BuildApplication(rr *radixv1.RadixRegistration, ra *radixv1.RadixApplication, reList []radixv1.RadixEnvironment, rdList []radixv1.RadixDeployment, rjList []radixv1.RadixJob, userIsAdmin bool, dnsAliasList []radixv1.RadixDNSAlias, dnsZone string) *applicationModels.Application
BuildApplication builds an Application model.
func BuildApplicationRegistration ¶
func BuildApplicationRegistration(rr *radixv1.RadixRegistration) *applicationModels.ApplicationRegistration
BuildApplicationRegistration builds an ApplicationRegistration model.
func BuildComponents ¶
func BuildComponents( ra *radixv1.RadixApplication, rd *radixv1.RadixDeployment, deploymentList []appsv1.Deployment, podList []corev1.Pod, hpaList []autoscalingv2.HorizontalPodAutoscaler, secretList []corev1.Secret, eventList []corev1.Event, certs []cmv1.Certificate, certRequests []cmv1.CertificateRequest, tlsValidator tlsvalidation.Validator, scaledObjects []v1alpha1.ScaledObject, ) []*deploymentModels.Component
BuildComponents builds a list of Component models.
func BuildDNSExternalAliases ¶
func BuildDNSExternalAliases(rdList []radixv1.RadixDeployment) []models.DNSExternalAlias
BuildDNSExternalAliases builds DNSExternalAliases model list
func BuildDeployment ¶
func BuildDeployment( rr *radixv1.RadixRegistration, ra *radixv1.RadixApplication, rd *radixv1.RadixDeployment, deploymentList []appsv1.Deployment, podList []corev1.Pod, hpaList []autoscalingv2.HorizontalPodAutoscaler, secretList []corev1.Secret, eventList []corev1.Event, rjList []radixv1.RadixJob, certs []cmv1.Certificate, certRequests []cmv1.CertificateRequest, tlsValidator tlsvalidation.Validator, scaledObjects []v1alpha1.ScaledObject, ) *deploymentModels.Deployment
BuildDeployment builds a Deployment model.
func BuildDeploymentSummary ¶
func BuildDeploymentSummary(rd *radixv1.RadixDeployment, rr *radixv1.RadixRegistration, rjList []radixv1.RadixJob) *deploymentModels.DeploymentSummary
BuildDeploymentSummary builds a DeploymentSummary model.
func BuildDeploymentSummaryList ¶
func BuildDeploymentSummaryList(rr *radixv1.RadixRegistration, rdList []radixv1.RadixDeployment, rjList []radixv1.RadixJob) []*deploymentModels.DeploymentSummary
BuildDeploymentSummaryList builds a list of DeploymentSummary models.
func BuildEnvironment ¶
func BuildEnvironment(ctx context.Context, rr *radixv1.RadixRegistration, ra *radixv1.RadixApplication, re *radixv1.RadixEnvironment, rdList []radixv1.RadixDeployment, rjList []radixv1.RadixJob, deploymentList []appsv1.Deployment, podList []corev1.Pod, hpaList []autoscalingv2.HorizontalPodAutoscaler, secretList []corev1.Secret, secretProviderClassList []secretsstorev1.SecretProviderClass, eventList []corev1.Event, certs []cmv1.Certificate, certRequests []cmv1.CertificateRequest, tlsValidator tlsvalidation.Validator, scaledObjects []v1alpha1.ScaledObject, ) *environmentModels.Environment
BuildEnvironment builds and Environment model.
func BuildEnvironmentSummaryList ¶
func BuildEnvironmentSummaryList(rr *radixv1.RadixRegistration, ra *radixv1.RadixApplication, reList []radixv1.RadixEnvironment, rdList []radixv1.RadixDeployment, rjList []radixv1.RadixJob) []*environmentModels.EnvironmentSummary
BuildEnvironmentSummaryList builds a list of EnvironmentSummary models.
func BuildJobSummary ¶
func BuildJobSummary(rj radixv1.RadixJob) *jobModels.JobSummary
BuildJobSummary builds a JobSummary model.
func BuildJobSummaryList ¶
func BuildJobSummaryList(rjList []radixv1.RadixJob) []*jobModels.JobSummary
BuildJobSummaryList builds a list of JobSummary models.
func BuildReplicaSummaryList ¶
func BuildReplicaSummaryList(podList []corev1.Pod, lastEventWarnings map[string]string) []deploymentModels.ReplicaSummary
BuildReplicaSummaryList builds a list of ReplicaSummary models.
func BuildSecrets ¶
func BuildSecrets(ctx context.Context, secretList []corev1.Secret, secretProviderClassList []secretsstorev1.SecretProviderClass, rd *radixv1.RadixDeployment) []secretModels.Secret
BuildSecrets builds a list of Secret models.
func GetActiveDeploymentForAppEnv ¶
func GetActiveDeploymentForAppEnv(appName, envName string, rds []radixv1.RadixDeployment) (radixv1.RadixDeployment, bool)
func GetBatchDeployJobComponent ¶
func GetBatchDeployJobComponent(radixDeploymentName string, jobComponentName string, radixDeploymentsMap map[string]radixv1.RadixDeployment) *radixv1.RadixDeployJobComponent
GetBatchDeployJobComponent Get batch deploy job component
func GetHpaSummary ¶
func GetHpaSummary(appName, componentName string, hpaList []autoscalingv2.HorizontalPodAutoscaler, scalerList []v1alpha1.ScaledObject) *deploymentModels.HorizontalScalingSummary
func GetReplicaSummaryByJobPodStatus ¶
func GetReplicaSummaryByJobPodStatus(radixBatchJob radixv1.RadixBatchJob, jobPodStatus radixv1.RadixBatchJobPodStatus) models.ReplicaSummary
GetReplicaSummaryByJobPodStatus Get replica summary by job pod status
func GetScheduledBatchSummary ¶
func GetScheduledBatchSummary(radixBatch *radixv1.RadixBatch, batchStatus *jobSchedulerModels.BatchStatus, radixDeployJobComponent *radixv1.RadixDeployJobComponent) models.ScheduledBatchSummary
GetScheduledBatchSummary Get scheduled batch summary
func GetScheduledBatchSummaryList ¶
func GetScheduledBatchSummaryList(radixBatches []*radixv1.RadixBatch, batchStatuses []jobSchedulerModels.BatchStatus, radixDeploymentMap map[string]radixv1.RadixDeployment, jobComponentName string) []models.ScheduledBatchSummary
GetScheduledBatchSummaryList Get scheduled batch summary list
func GetScheduledJobSummary ¶
func GetScheduledJobSummary(radixBatch *radixv1.RadixBatch, radixBatchJob *radixv1.RadixBatchJob, batchStatus *jobSchedulerModels.BatchStatus, radixDeployJobComponent *radixv1.RadixDeployJobComponent) models.ScheduledJobSummary
GetScheduledJobSummary Get scheduled job summary
func GetScheduledJobSummaryList ¶
func GetScheduledJobSummaryList(radixBatch *radixv1.RadixBatch, radixBatchStatus *jobSchedulerModels.BatchStatus, radixDeployJobComponent *radixv1.RadixDeployJobComponent) []models.ScheduledJobSummary
GetScheduledJobSummaryList Get scheduled job summaries
func GetScheduledSingleJobSummaryList ¶
func GetScheduledSingleJobSummaryList(radixBatches []*radixv1.RadixBatch, batchStatuses []jobSchedulerModels.BatchStatus, radixDeploymentMap map[string]radixv1.RadixDeployment, jobComponentName string) []models.ScheduledJobSummary
GetScheduledSingleJobSummaryList Get scheduled single job summary list
Types ¶
This section is empty.