Documentation
¶
Index ¶
- Constants
- type AlertConfig
- type AlertConfigList
- type AlertingConfig
- type Application
- type ApplicationAlias
- type ApplicationRegistration
- func (m *ApplicationRegistration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ApplicationRegistration) MarshalBinary() ([]byte, error)
- func (m *ApplicationRegistration) UnmarshalBinary(b []byte) error
- func (m *ApplicationRegistration) Validate(formats strfmt.Registry) error
- type ApplicationRegistrationPatch
- func (m *ApplicationRegistrationPatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ApplicationRegistrationPatch) MarshalBinary() ([]byte, error)
- func (m *ApplicationRegistrationPatch) UnmarshalBinary(b []byte) error
- func (m *ApplicationRegistrationPatch) Validate(formats strfmt.Registry) error
- type ApplicationRegistrationPatchRequest
- func (m *ApplicationRegistrationPatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ApplicationRegistrationPatchRequest) MarshalBinary() ([]byte, error)
- func (m *ApplicationRegistrationPatchRequest) UnmarshalBinary(b []byte) error
- func (m *ApplicationRegistrationPatchRequest) Validate(formats strfmt.Registry) error
- type ApplicationRegistrationRequest
- func (m *ApplicationRegistrationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ApplicationRegistrationRequest) MarshalBinary() ([]byte, error)
- func (m *ApplicationRegistrationRequest) UnmarshalBinary(b []byte) error
- func (m *ApplicationRegistrationRequest) Validate(formats strfmt.Registry) error
- type ApplicationRegistrationUpsertResponse
- func (m *ApplicationRegistrationUpsertResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ApplicationRegistrationUpsertResponse) MarshalBinary() ([]byte, error)
- func (m *ApplicationRegistrationUpsertResponse) UnmarshalBinary(b []byte) error
- func (m *ApplicationRegistrationUpsertResponse) Validate(formats strfmt.Registry) error
- type ApplicationSearchIncludeFields
- func (m *ApplicationSearchIncludeFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ApplicationSearchIncludeFields) MarshalBinary() ([]byte, error)
- func (m *ApplicationSearchIncludeFields) UnmarshalBinary(b []byte) error
- func (m *ApplicationSearchIncludeFields) Validate(formats strfmt.Registry) error
- type ApplicationSummary
- type ApplicationsSearchRequest
- func (m *ApplicationsSearchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ApplicationsSearchRequest) MarshalBinary() ([]byte, error)
- func (m *ApplicationsSearchRequest) UnmarshalBinary(b []byte) error
- func (m *ApplicationsSearchRequest) Validate(formats strfmt.Registry) error
- type AuxiliaryResource
- type AuxiliaryResourceDeployment
- func (m *AuxiliaryResourceDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuxiliaryResourceDeployment) MarshalBinary() ([]byte, error)
- func (m *AuxiliaryResourceDeployment) UnmarshalBinary(b []byte) error
- func (m *AuxiliaryResourceDeployment) Validate(formats strfmt.Registry) error
- type AzureIdentity
- type AzureKeyVaultSecretVersion
- func (m *AzureKeyVaultSecretVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AzureKeyVaultSecretVersion) MarshalBinary() ([]byte, error)
- func (m *AzureKeyVaultSecretVersion) UnmarshalBinary(b []byte) error
- func (m *AzureKeyVaultSecretVersion) Validate(formats strfmt.Registry) error
- type BuildSecret
- type Component
- type ComponentSummary
- type DNSAlias
- type DNSAliasStatus
- type DeployKeyAndSecret
- type Deployment
- type DeploymentItem
- type DeploymentSummary
- type DeploymentSummaryPipelineJobInfo
- func (m *DeploymentSummaryPipelineJobInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeploymentSummaryPipelineJobInfo) MarshalBinary() ([]byte, error)
- func (m *DeploymentSummaryPipelineJobInfo) UnmarshalBinary(b []byte) error
- func (m *DeploymentSummaryPipelineJobInfo) Validate(formats strfmt.Registry) error
- type EnvVar
- type EnvVarMetadata
- type EnvVarParameter
- type Environment
- type EnvironmentSummary
- type Event
- type ExternalDNS
- type HorizontalScalingSummary
- func (m *HorizontalScalingSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HorizontalScalingSummary) MarshalBinary() ([]byte, error)
- func (m *HorizontalScalingSummary) UnmarshalBinary(b []byte) error
- func (m *HorizontalScalingSummary) Validate(formats strfmt.Registry) error
- type Identity
- type ImageHubSecret
- type Job
- type JobSummary
- type MachineUser
- type Node
- type Notifications
- type OAuth2AuxiliaryResource
- func (m *OAuth2AuxiliaryResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OAuth2AuxiliaryResource) MarshalBinary() ([]byte, error)
- func (m *OAuth2AuxiliaryResource) UnmarshalBinary(b []byte) error
- func (m *OAuth2AuxiliaryResource) Validate(formats strfmt.Registry) error
- type ObjectState
- type PipelineParametersBuild
- func (m *PipelineParametersBuild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PipelineParametersBuild) MarshalBinary() ([]byte, error)
- func (m *PipelineParametersBuild) UnmarshalBinary(b []byte) error
- func (m *PipelineParametersBuild) Validate(formats strfmt.Registry) error
- type PipelineParametersDeploy
- func (m *PipelineParametersDeploy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PipelineParametersDeploy) MarshalBinary() ([]byte, error)
- func (m *PipelineParametersDeploy) UnmarshalBinary(b []byte) error
- func (m *PipelineParametersDeploy) Validate(formats strfmt.Registry) error
- type PipelineParametersPromote
- func (m *PipelineParametersPromote) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PipelineParametersPromote) MarshalBinary() ([]byte, error)
- func (m *PipelineParametersPromote) UnmarshalBinary(b []byte) error
- func (m *PipelineParametersPromote) Validate(formats strfmt.Registry) error
- type PipelineRun
- type PipelineRunTask
- type PipelineRunTaskStep
- type PodState
- type Port
- type PromotionParameters
- type ReceiverConfig
- type ReceiverConfigMap
- type ReceiverConfigSecretStatus
- func (m *ReceiverConfigSecretStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ReceiverConfigSecretStatus) MarshalBinary() ([]byte, error)
- func (m *ReceiverConfigSecretStatus) UnmarshalBinary(b []byte) error
- func (m *ReceiverConfigSecretStatus) Validate(formats strfmt.Registry) error
- type ReceiverConfigSecretStatusMap
- type RegenerateDeployKeyAndSecretData
- func (m *RegenerateDeployKeyAndSecretData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RegenerateDeployKeyAndSecretData) MarshalBinary() ([]byte, error)
- func (m *RegenerateDeployKeyAndSecretData) UnmarshalBinary(b []byte) error
- func (m *RegenerateDeployKeyAndSecretData) Validate(formats strfmt.Registry) error
- type ReplicaStatus
- type ReplicaSummary
- type ResourceRequirements
- type Resources
- type ScheduledBatchRequest
- type ScheduledBatchSummary
- type ScheduledJobRequest
- type ScheduledJobSummary
- type Secret
- type SecretParameters
- type SecretType
- type SlackConfig
- type SlackConfigSecretStatus
- func (m *SlackConfigSecretStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SlackConfigSecretStatus) MarshalBinary() ([]byte, error)
- func (m *SlackConfigSecretStatus) UnmarshalBinary(b []byte) error
- func (m *SlackConfigSecretStatus) Validate(formats strfmt.Registry) error
- type Step
- type TLS
- type TLSCertificate
- type UpdateAlertingConfig
- type UpdateExternalDNSTLSRequest
- func (m *UpdateExternalDNSTLSRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateExternalDNSTLSRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateExternalDNSTLSRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateExternalDNSTLSRequest) Validate(formats strfmt.Registry) error
- type UpdateReceiverConfigSecrets
- func (m *UpdateReceiverConfigSecrets) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateReceiverConfigSecrets) MarshalBinary() ([]byte, error)
- func (m *UpdateReceiverConfigSecrets) UnmarshalBinary(b []byte) error
- func (m *UpdateReceiverConfigSecrets) Validate(formats strfmt.Registry) error
- type UpdateReceiverConfigSecretsMap
- type UpdateSlackConfigSecrets
- func (m *UpdateSlackConfigSecrets) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateSlackConfigSecrets) MarshalBinary() ([]byte, error)
- func (m *UpdateSlackConfigSecrets) UnmarshalBinary(b []byte) error
- func (m *UpdateSlackConfigSecrets) Validate(formats strfmt.Registry) error
- type X509Certificate
Constants ¶
const ( // AuxiliaryResourceDeploymentStatusStopped captures enum value "Stopped" AuxiliaryResourceDeploymentStatusStopped string = "Stopped" // AuxiliaryResourceDeploymentStatusConsistent captures enum value "Consistent" AuxiliaryResourceDeploymentStatusConsistent string = "Consistent" // AuxiliaryResourceDeploymentStatusReconciling captures enum value "Reconciling" AuxiliaryResourceDeploymentStatusReconciling string = "Reconciling" )
const ( // BuildSecretStatusPending captures enum value "Pending" BuildSecretStatusPending string = "Pending" // BuildSecretStatusConsistent captures enum value "Consistent" BuildSecretStatusConsistent string = "Consistent" )
const ( // ComponentStatusStopped captures enum value "Stopped" ComponentStatusStopped string = "Stopped" // ComponentStatusConsistent captures enum value "Consistent" ComponentStatusConsistent string = "Consistent" // ComponentStatusReconciling captures enum value "Reconciling" ComponentStatusReconciling string = "Reconciling" // ComponentStatusRestarting captures enum value "Restarting" ComponentStatusRestarting string = "Restarting" // ComponentStatusOutdated captures enum value "Outdated" ComponentStatusOutdated string = "Outdated" )
const ( // ComponentTypeComponent captures enum value "component" ComponentTypeComponent string = "component" // ComponentTypeJob captures enum value "job" ComponentTypeJob string = "job" )
const ( // ComponentSummaryTypeComponent captures enum value "component" ComponentSummaryTypeComponent string = "component" // ComponentSummaryTypeJob captures enum value "job" ComponentSummaryTypeJob string = "job" )
const ( // DeploymentSummaryPipelineJobTypeBuild captures enum value "build" DeploymentSummaryPipelineJobTypeBuild string = "build" // DeploymentSummaryPipelineJobTypeBuildDashDeploy captures enum value "build-deploy" DeploymentSummaryPipelineJobTypeBuildDashDeploy string = "build-deploy" // DeploymentSummaryPipelineJobTypePromote captures enum value "promote" DeploymentSummaryPipelineJobTypePromote string = "promote" // DeploymentSummaryPipelineJobTypeDeploy captures enum value "deploy" DeploymentSummaryPipelineJobTypeDeploy string = "deploy" )
const ( // DeploymentSummaryPipelineJobInfoPipelineJobTypeBuild captures enum value "build" DeploymentSummaryPipelineJobInfoPipelineJobTypeBuild string = "build" // DeploymentSummaryPipelineJobInfoPipelineJobTypeBuildDashDeploy captures enum value "build-deploy" DeploymentSummaryPipelineJobInfoPipelineJobTypeBuildDashDeploy string = "build-deploy" // DeploymentSummaryPipelineJobInfoPipelineJobTypePromote captures enum value "promote" DeploymentSummaryPipelineJobInfoPipelineJobTypePromote string = "promote" // DeploymentSummaryPipelineJobInfoPipelineJobTypeDeploy captures enum value "deploy" DeploymentSummaryPipelineJobInfoPipelineJobTypeDeploy string = "deploy" )
const ( // EnvironmentStatusPending captures enum value "Pending" EnvironmentStatusPending string = "Pending" // EnvironmentStatusConsistent captures enum value "Consistent" EnvironmentStatusConsistent string = "Consistent" // EnvironmentStatusOrphan captures enum value "Orphan" EnvironmentStatusOrphan string = "Orphan" )
const ( // EnvironmentSummaryStatusPending captures enum value "Pending" EnvironmentSummaryStatusPending string = "Pending" // EnvironmentSummaryStatusConsistent captures enum value "Consistent" EnvironmentSummaryStatusConsistent string = "Consistent" // EnvironmentSummaryStatusOrphan captures enum value "Orphan" EnvironmentSummaryStatusOrphan string = "Orphan" )
const ( // ImageHubSecretStatusPending captures enum value "Pending" ImageHubSecretStatusPending string = "Pending" // ImageHubSecretStatusConsistent captures enum value "Consistent" ImageHubSecretStatusConsistent string = "Consistent" )
const ( // JobPipelineBuild captures enum value "build" JobPipelineBuild string = "build" // JobPipelineBuildDashDeploy captures enum value "build-deploy" JobPipelineBuildDashDeploy string = "build-deploy" // JobPipelinePromote captures enum value "promote" JobPipelinePromote string = "promote" // JobPipelineDeploy captures enum value "deploy" JobPipelineDeploy string = "deploy" )
const ( // JobStatusQueued captures enum value "Queued" JobStatusQueued string = "Queued" // JobStatusWaiting captures enum value "Waiting" JobStatusWaiting string = "Waiting" // JobStatusRunning captures enum value "Running" JobStatusRunning string = "Running" // JobStatusSucceeded captures enum value "Succeeded" JobStatusSucceeded string = "Succeeded" // JobStatusFailed captures enum value "Failed" JobStatusFailed string = "Failed" // JobStatusStopped captures enum value "Stopped" JobStatusStopped string = "Stopped" // JobStatusStopping captures enum value "Stopping" JobStatusStopping string = "Stopping" // JobStatusStoppedNoChanges captures enum value "StoppedNoChanges" JobStatusStoppedNoChanges string = "StoppedNoChanges" )
const ( // JobSummaryPipelineBuild captures enum value "build" JobSummaryPipelineBuild string = "build" // JobSummaryPipelineBuildDashDeploy captures enum value "build-deploy" JobSummaryPipelineBuildDashDeploy string = "build-deploy" // JobSummaryPipelinePromote captures enum value "promote" JobSummaryPipelinePromote string = "promote" // JobSummaryPipelineDeploy captures enum value "deploy" JobSummaryPipelineDeploy string = "deploy" )
const ( // JobSummaryStatusQueued captures enum value "Queued" JobSummaryStatusQueued string = "Queued" // JobSummaryStatusWaiting captures enum value "Waiting" JobSummaryStatusWaiting string = "Waiting" // JobSummaryStatusRunning captures enum value "Running" JobSummaryStatusRunning string = "Running" // JobSummaryStatusSucceeded captures enum value "Succeeded" JobSummaryStatusSucceeded string = "Succeeded" // JobSummaryStatusFailed captures enum value "Failed" JobSummaryStatusFailed string = "Failed" // JobSummaryStatusStopped captures enum value "Stopped" JobSummaryStatusStopped string = "Stopped" // JobSummaryStatusStopping captures enum value "Stopping" JobSummaryStatusStopping string = "Stopping" // JobSummaryStatusStoppedNoChanges captures enum value "StoppedNoChanges" JobSummaryStatusStoppedNoChanges string = "StoppedNoChanges" )
const ( // ReplicaStatusStatusPending captures enum value "Pending" ReplicaStatusStatusPending string = "Pending" // ReplicaStatusStatusFailing captures enum value "Failing" ReplicaStatusStatusFailing string = "Failing" // ReplicaStatusStatusRunning captures enum value "Running" ReplicaStatusStatusRunning string = "Running" // ReplicaStatusStatusTerminated captures enum value "Terminated" ReplicaStatusStatusTerminated string = "Terminated" // ReplicaStatusStatusStarting captures enum value "Starting" ReplicaStatusStatusStarting string = "Starting" )
const ( // ScheduledBatchSummaryStatusWaiting captures enum value "Waiting" ScheduledBatchSummaryStatusWaiting string = "Waiting" // ScheduledBatchSummaryStatusRunning captures enum value "Running" ScheduledBatchSummaryStatusRunning string = "Running" // ScheduledBatchSummaryStatusSucceeded captures enum value "Succeeded" ScheduledBatchSummaryStatusSucceeded string = "Succeeded" // ScheduledBatchSummaryStatusFailed captures enum value "Failed" ScheduledBatchSummaryStatusFailed string = "Failed" )
const ( // ScheduledJobSummaryStatusRunning captures enum value "Running" ScheduledJobSummaryStatusRunning string = "Running" // ScheduledJobSummaryStatusSucceeded captures enum value "Succeeded" ScheduledJobSummaryStatusSucceeded string = "Succeeded" // ScheduledJobSummaryStatusFailed captures enum value "Failed" ScheduledJobSummaryStatusFailed string = "Failed" // ScheduledJobSummaryStatusWaiting captures enum value "Waiting" ScheduledJobSummaryStatusWaiting string = "Waiting" // ScheduledJobSummaryStatusStopping captures enum value "Stopping" ScheduledJobSummaryStatusStopping string = "Stopping" // ScheduledJobSummaryStatusStopped captures enum value "Stopped" ScheduledJobSummaryStatusStopped string = "Stopped" )
const ( // SecretStatusPending captures enum value "Pending" SecretStatusPending string = "Pending" // SecretStatusConsistent captures enum value "Consistent" SecretStatusConsistent string = "Consistent" // SecretStatusNotAvailable captures enum value "NotAvailable" SecretStatusNotAvailable string = "NotAvailable" )
const ( // SecretTypeGeneric captures enum value "generic" SecretTypeGeneric string = "generic" // SecretTypeAzureDashBlobDashFuseDashVolume captures enum value "azure-blob-fuse-volume" SecretTypeAzureDashBlobDashFuseDashVolume string = "azure-blob-fuse-volume" // SecretTypeCsiDashAzureDashBlobDashVolume captures enum value "csi-azure-blob-volume" SecretTypeCsiDashAzureDashBlobDashVolume string = "csi-azure-blob-volume" // SecretTypeCsiDashAzureDashKeyDashVaultDashCreds captures enum value "csi-azure-key-vault-creds" SecretTypeCsiDashAzureDashKeyDashVaultDashCreds string = "csi-azure-key-vault-creds" // SecretTypeCsiDashAzureDashKeyDashVaultDashItem captures enum value "csi-azure-key-vault-item" SecretTypeCsiDashAzureDashKeyDashVaultDashItem string = "csi-azure-key-vault-item" // SecretTypeClientDashCertDashAuth captures enum value "client-cert-auth" SecretTypeClientDashCertDashAuth string = "client-cert-auth" // SecretTypeOauth2DashProxy captures enum value "oauth2-proxy" SecretTypeOauth2DashProxy string = "oauth2-proxy" )
const ( // SecretParametersTypeGeneric captures enum value "generic" SecretParametersTypeGeneric string = "generic" // SecretParametersTypeAzureDashBlobDashFuseDashVolume captures enum value "azure-blob-fuse-volume" SecretParametersTypeAzureDashBlobDashFuseDashVolume string = "azure-blob-fuse-volume" // SecretParametersTypeCsiDashAzureDashBlobDashVolume captures enum value "csi-azure-blob-volume" SecretParametersTypeCsiDashAzureDashBlobDashVolume string = "csi-azure-blob-volume" // SecretParametersTypeCsiDashAzureDashKeyDashVaultDashCreds captures enum value "csi-azure-key-vault-creds" SecretParametersTypeCsiDashAzureDashKeyDashVaultDashCreds string = "csi-azure-key-vault-creds" // SecretParametersTypeCsiDashAzureDashKeyDashVaultDashItem captures enum value "csi-azure-key-vault-item" SecretParametersTypeCsiDashAzureDashKeyDashVaultDashItem string = "csi-azure-key-vault-item" // SecretParametersTypeClientDashCertDashAuth captures enum value "client-cert-auth" SecretParametersTypeClientDashCertDashAuth string = "client-cert-auth" // SecretParametersTypeOauth2DashProxy captures enum value "oauth2-proxy" SecretParametersTypeOauth2DashProxy string = "oauth2-proxy" )
const ( // StepStatusQueued captures enum value "Queued" StepStatusQueued string = "Queued" // StepStatusWaiting captures enum value "Waiting" StepStatusWaiting string = "Waiting" // StepStatusRunning captures enum value "Running" StepStatusRunning string = "Running" // StepStatusSucceeded captures enum value "Succeeded" StepStatusSucceeded string = "Succeeded" // StepStatusFailed captures enum value "Failed" StepStatusFailed string = "Failed" // StepStatusStopped captures enum value "Stopped" StepStatusStopped string = "Stopped" // StepStatusStoppedNoChanges captures enum value "StoppedNoChanges" StepStatusStoppedNoChanges string = "StoppedNoChanges" )
const ( // TLSStatusPending captures enum value "Pending" TLSStatusPending string = "Pending" // TLSStatusConsistent captures enum value "Consistent" TLSStatusConsistent string = "Consistent" // TLSStatusInvalid captures enum value "Invalid" TLSStatusInvalid string = "Invalid" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertConfig ¶
type AlertConfig struct {
// Alert defines the name of a predefined alert
// Required: true
Alert *string `json:"alert"`
// Receiver is the name of the receiver that will handle this alert
// Required: true
Receiver *string `json:"receiver"`
}
AlertConfig AlertConfig defines a mapping between a pre-defined alert name and a receiver
swagger:model AlertConfig
func (*AlertConfig) ContextValidate ¶
ContextValidate validates this alert config based on context it is used
func (*AlertConfig) MarshalBinary ¶
func (m *AlertConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertConfig) UnmarshalBinary ¶
func (m *AlertConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertConfigList ¶
type AlertConfigList []*AlertConfig
AlertConfigList AlertConfigList list of AlertConfig
swagger:model AlertConfigList
func (AlertConfigList) ContextValidate ¶
ContextValidate validate this alert config list based on the context it is used
type AlertingConfig ¶
type AlertingConfig struct {
// AlertNames is the list of alert names that can be handled by Radix
AlertNames []string `json:"alertNames"`
// Enabled flag tells if alerting is enabled or disabled
Enabled bool `json:"enabled,omitempty"`
// Ready flag tells tells if alerting is ready to be configured
// Value is always false when Enabled is false
// Vlaue is True if Enabled is true and Radix operator has processed the alert configuration
Ready bool `json:"ready,omitempty"`
// alerts
Alerts AlertConfigList `json:"alerts,omitempty"`
// receiver secret status
ReceiverSecretStatus ReceiverConfigSecretStatusMap `json:"receiverSecretStatus,omitempty"`
// receivers
Receivers ReceiverConfigMap `json:"receivers,omitempty"`
}
AlertingConfig AlertingConfig current alert settings
swagger:model AlertingConfig
func (*AlertingConfig) ContextValidate ¶
ContextValidate validate this alerting config based on the context it is used
func (*AlertingConfig) MarshalBinary ¶
func (m *AlertingConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertingConfig) UnmarshalBinary ¶
func (m *AlertingConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Application ¶
type Application struct {
// DNS aliases showing nicer endpoint for application, without "app." subdomain domain
DNSAliases []*DNSAlias `json:"dnsAliases"`
// Environments List of environments for this application
Environments []*EnvironmentSummary `json:"environments"`
// Jobs list of run jobs for the application
Jobs []*JobSummary `json:"jobs"`
// Name the name of the application
// Example: radix-canary-golang
Name string `json:"name,omitempty"`
// UserIsAdmin if user is member of application's admin groups
// Required: true
UserIsAdmin *bool `json:"userIsAdmin"`
// app alias
AppAlias *ApplicationAlias `json:"appAlias,omitempty"`
// registration
Registration *ApplicationRegistration `json:"registration,omitempty"`
}
Application Application details of an application
swagger:model Application
func (*Application) ContextValidate ¶
ContextValidate validate this application based on the context it is used
func (*Application) MarshalBinary ¶
func (m *Application) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Application) UnmarshalBinary ¶
func (m *Application) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationAlias ¶
type ApplicationAlias struct {
// ComponentName the component exposing the endpoint
// Example: frontend
// Required: true
ComponentName *string `json:"componentName"`
// EnvironmentName the environment hosting the endpoint
// Example: prod
// Required: true
EnvironmentName *string `json:"environmentName"`
// URL the public endpoint
// Example: https://my-app.app.radix.equinor.com
// Required: true
URL *string `json:"url"`
}
ApplicationAlias ApplicationAlias holds public alias information
swagger:model ApplicationAlias
func (*ApplicationAlias) ContextValidate ¶
ContextValidate validates this application alias based on context it is used
func (*ApplicationAlias) MarshalBinary ¶
func (m *ApplicationAlias) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationAlias) UnmarshalBinary ¶
func (m *ApplicationAlias) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationRegistration ¶
type ApplicationRegistration struct {
// AdGroups the groups that should be able to access the application
// Required: true
AdGroups []string `json:"adGroups"`
// ConfigBranch information
// Required: true
ConfigBranch *string `json:"configBranch"`
// ConfigurationItem is an identifier for an entity in a configuration management solution such as a CMDB.
// ITIL defines a CI as any component that needs to be managed in order to deliver an IT Service
// Ref: https://en.wikipedia.org/wiki/Configuration_item
ConfigurationItem string `json:"configurationItem,omitempty"`
// Owner of the application (email). Can be a single person or a shared group email
// Required: true
Creator *string `json:"creator"`
// Name the unique name of the Radix application
// Example: radix-canary-golang
// Required: true
Name *string `json:"name"`
// Owner of the application (email). Can be a single person or a shared group email
// Required: true
Owner *string `json:"owner"`
// radixconfig.yaml file name and path, starting from the GitHub repository root (without leading slash)
RadixConfigFullName string `json:"radixConfigFullName,omitempty"`
// ReaderAdGroups the groups that should be able to read the application
ReaderAdGroups []string `json:"readerAdGroups"`
// Repository the github repository
// Example: https://github.com/equinor/radix-canary-golang
// Required: true
Repository *string `json:"repository"`
// Required: true
SharedSecret *string `json:"sharedSecret"`
// WBS information
WBS string `json:"wbs,omitempty"`
}
ApplicationRegistration ApplicationRegistration describe an application
swagger:model ApplicationRegistration
func (*ApplicationRegistration) ContextValidate ¶
func (m *ApplicationRegistration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this application registration based on context it is used
func (*ApplicationRegistration) MarshalBinary ¶
func (m *ApplicationRegistration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationRegistration) UnmarshalBinary ¶
func (m *ApplicationRegistration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationRegistrationPatch ¶
type ApplicationRegistrationPatch struct {
// AdGroups the groups that should be able to access the application
AdGroups []string `json:"adGroups"`
// ConfigBranch information
ConfigBranch string `json:"configBranch,omitempty"`
// ConfigurationItem is an identifier for an entity in a configuration management solution such as a CMDB.
// ITIL defines a CI as any component that needs to be managed in order to deliver an IT Service
// Ref: https://en.wikipedia.org/wiki/Configuration_item
ConfigurationItem string `json:"configurationItem,omitempty"`
// Owner of the application - should be an email
Owner string `json:"owner,omitempty"`
// radixconfig.yaml file name and path, starting from the GitHub repository root (without leading slash)
RadixConfigFullName string `json:"radixConfigFullName,omitempty"`
// ReaderAdGroups the groups that should be able to read the application
ReaderAdGroups []string `json:"readerAdGroups"`
// Repository the github repository
Repository string `json:"repository,omitempty"`
// WBS information
WBS string `json:"wbs,omitempty"`
}
ApplicationRegistrationPatch ApplicationRegistrationPatch contains fields that can be patched on a registration
swagger:model ApplicationRegistrationPatch
func (*ApplicationRegistrationPatch) ContextValidate ¶
func (m *ApplicationRegistrationPatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this application registration patch based on context it is used
func (*ApplicationRegistrationPatch) MarshalBinary ¶
func (m *ApplicationRegistrationPatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationRegistrationPatch) UnmarshalBinary ¶
func (m *ApplicationRegistrationPatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationRegistrationPatchRequest ¶
type ApplicationRegistrationPatchRequest struct {
// AcknowledgeWarnings acknowledge all warnings
AcknowledgeWarnings bool `json:"acknowledgeWarnings,omitempty"`
// application registration patch
// Required: true
ApplicationRegistrationPatch *ApplicationRegistrationPatch `json:"applicationRegistrationPatch"`
}
ApplicationRegistrationPatchRequest ApplicationRegistrationPatchRequest contains request with fields that can be patched on a registration
swagger:model ApplicationRegistrationPatchRequest
func (*ApplicationRegistrationPatchRequest) ContextValidate ¶
func (m *ApplicationRegistrationPatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this application registration patch request based on the context it is used
func (*ApplicationRegistrationPatchRequest) MarshalBinary ¶
func (m *ApplicationRegistrationPatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationRegistrationPatchRequest) UnmarshalBinary ¶
func (m *ApplicationRegistrationPatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationRegistrationRequest ¶
type ApplicationRegistrationRequest struct {
// AcknowledgeWarnings acknowledge all warnings
AcknowledgeWarnings bool `json:"acknowledgeWarnings,omitempty"`
// application registration
ApplicationRegistration *ApplicationRegistration `json:"applicationRegistration,omitempty"`
}
ApplicationRegistrationRequest ApplicationRegistrationRequest describe a register application request
swagger:model ApplicationRegistrationRequest
func (*ApplicationRegistrationRequest) ContextValidate ¶
func (m *ApplicationRegistrationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this application registration request based on the context it is used
func (*ApplicationRegistrationRequest) MarshalBinary ¶
func (m *ApplicationRegistrationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationRegistrationRequest) UnmarshalBinary ¶
func (m *ApplicationRegistrationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationRegistrationUpsertResponse ¶
type ApplicationRegistrationUpsertResponse struct {
// Warnings of upsert operation
// Example: ["Repository is used in other application(s)"]
Warnings []string `json:"warnings"`
// application registration
ApplicationRegistration *ApplicationRegistration `json:"applicationRegistration,omitempty"`
}
ApplicationRegistrationUpsertResponse ApplicationRegistrationUpsertResponse describe an application upsert operation response
swagger:model ApplicationRegistrationUpsertResponse
func (*ApplicationRegistrationUpsertResponse) ContextValidate ¶
func (m *ApplicationRegistrationUpsertResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this application registration upsert response based on the context it is used
func (*ApplicationRegistrationUpsertResponse) MarshalBinary ¶
func (m *ApplicationRegistrationUpsertResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationRegistrationUpsertResponse) UnmarshalBinary ¶
func (m *ApplicationRegistrationUpsertResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationSearchIncludeFields ¶
type ApplicationSearchIncludeFields struct {
// environment active components
EnvironmentActiveComponents bool `json:"environmentActiveComponents,omitempty"`
// latest job summary
LatestJobSummary bool `json:"latestJobSummary,omitempty"`
}
ApplicationSearchIncludeFields ApplicationSearchIncludeFields specifies additional fields to include in the response of an ApplicationsSearchRequest
swagger:model ApplicationSearchIncludeFields
func (*ApplicationSearchIncludeFields) ContextValidate ¶
func (m *ApplicationSearchIncludeFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this application search include fields based on context it is used
func (*ApplicationSearchIncludeFields) MarshalBinary ¶
func (m *ApplicationSearchIncludeFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationSearchIncludeFields) UnmarshalBinary ¶
func (m *ApplicationSearchIncludeFields) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationSummary ¶
type ApplicationSummary struct {
// EnvironmentActiveComponents All component summaries of the active deployments in the environments
EnvironmentActiveComponents map[string][]Component `json:"environmentActiveComponents,omitempty"`
// Name the name of the application
// Example: radix-canary-golang
Name string `json:"name,omitempty"`
// latest job
LatestJob *JobSummary `json:"latestJob,omitempty"`
}
ApplicationSummary ApplicationSummary describe an application
swagger:model ApplicationSummary
func (*ApplicationSummary) ContextValidate ¶
ContextValidate validate this application summary based on the context it is used
func (*ApplicationSummary) MarshalBinary ¶
func (m *ApplicationSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationSummary) UnmarshalBinary ¶
func (m *ApplicationSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplicationsSearchRequest ¶
type ApplicationsSearchRequest struct {
// List of application names to be returned
// Example: ["app1","app2"]
// Required: true
Names []string `json:"names"`
// include fields
IncludeFields *ApplicationSearchIncludeFields `json:"includeFields,omitempty"`
}
ApplicationsSearchRequest ApplicationsSearchRequest contains the list of application names to be queried
swagger:model ApplicationsSearchRequest
func (*ApplicationsSearchRequest) ContextValidate ¶
func (m *ApplicationsSearchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this applications search request based on the context it is used
func (*ApplicationsSearchRequest) MarshalBinary ¶
func (m *ApplicationsSearchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplicationsSearchRequest) UnmarshalBinary ¶
func (m *ApplicationsSearchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuxiliaryResource ¶
type AuxiliaryResource struct {
// oauth2
Oauth2 *OAuth2AuxiliaryResource `json:"oauth2,omitempty"`
}
AuxiliaryResource AuxiliaryResource describes an auxiliary resources for a component
swagger:model AuxiliaryResource
func (*AuxiliaryResource) ContextValidate ¶
ContextValidate validate this auxiliary resource based on the context it is used
func (*AuxiliaryResource) MarshalBinary ¶
func (m *AuxiliaryResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuxiliaryResource) UnmarshalBinary ¶
func (m *AuxiliaryResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuxiliaryResourceDeployment ¶
type AuxiliaryResourceDeployment struct {
// Running replicas of the auxiliary resource's deployment
ReplicaList []*ReplicaSummary `json:"replicaList"`
// Status of the auxiliary resource's deployment
// Example: Consistent
// Required: true
// Enum: [Stopped Consistent Reconciling]
Status *string `json:"status"`
}
AuxiliaryResourceDeployment AuxiliaryResourceDeployment describes the state of the auxiliary resource's deployment
swagger:model AuxiliaryResourceDeployment
func (*AuxiliaryResourceDeployment) ContextValidate ¶
func (m *AuxiliaryResourceDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this auxiliary resource deployment based on the context it is used
func (*AuxiliaryResourceDeployment) MarshalBinary ¶
func (m *AuxiliaryResourceDeployment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuxiliaryResourceDeployment) UnmarshalBinary ¶
func (m *AuxiliaryResourceDeployment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureIdentity ¶
type AzureIdentity struct {
// The Azure Key Vaults names, which use Azure Identity
AzureKeyVaults []string `json:"azureKeyVaults"`
// ClientId is the client ID of an Azure User Assigned Managed Identity
// or the application ID of an Azure AD Application Registration
// Required: true
ClientID *string `json:"clientId"`
// The Service Account name to use when configuring Kubernetes Federation Credentials for the identity
// Required: true
ServiceAccountName *string `json:"serviceAccountName"`
}
AzureIdentity AzureIdentity describes an identity in Azure
swagger:model AzureIdentity
func (*AzureIdentity) ContextValidate ¶
ContextValidate validates this azure identity based on context it is used
func (*AzureIdentity) MarshalBinary ¶
func (m *AzureIdentity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureIdentity) UnmarshalBinary ¶
func (m *AzureIdentity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureKeyVaultSecretVersion ¶
type AzureKeyVaultSecretVersion struct {
// BatchCreated which uses the secret
// Example: 2006-01-02T15:04:05Z
BatchCreated string `json:"batchCreated,omitempty"`
// BatchName which uses the secret
// Example: batch-abc
BatchName string `json:"batchName,omitempty"`
// JobCreated which uses the secret
// Example: 2006-01-02T15:04:05Z
JobCreated string `json:"jobCreated,omitempty"`
// JobName which uses the secret
// Example: job-abc
JobName string `json:"jobName,omitempty"`
// ReplicaCreated which uses the secret
// Example: 2006-01-02T15:04:05Z
// Required: true
ReplicaCreated *string `json:"replicaCreated"`
// ReplicaName which uses the secret
// Example: abcdf
// Required: true
ReplicaName *string `json:"replicaName"`
// Version of the secret
// Example: 0123456789
// Required: true
Version *string `json:"version"`
}
AzureKeyVaultSecretVersion AzureKeyVaultSecretVersion holds a version of a Azure Key vault secret
swagger:model AzureKeyVaultSecretVersion
func (*AzureKeyVaultSecretVersion) ContextValidate ¶
func (m *AzureKeyVaultSecretVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this azure key vault secret version based on context it is used
func (*AzureKeyVaultSecretVersion) MarshalBinary ¶
func (m *AzureKeyVaultSecretVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureKeyVaultSecretVersion) UnmarshalBinary ¶
func (m *AzureKeyVaultSecretVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuildSecret ¶
type BuildSecret struct {
// Name name of the build secret
// Example: SECRET_1
// Required: true
Name *string `json:"name"`
// Status of the secret
// Pending = Secret value is not set
// Consistent = Secret value is set
// Example: Consistent
// Enum: [Pending Consistent]
Status string `json:"status,omitempty"`
}
BuildSecret BuildSecret holds general information about image hubs
swagger:model BuildSecret
func (*BuildSecret) ContextValidate ¶
ContextValidate validates this build secret based on context it is used
func (*BuildSecret) MarshalBinary ¶
func (m *BuildSecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildSecret) UnmarshalBinary ¶
func (m *BuildSecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Component ¶
type Component struct {
// Array of external DNS configurations
ExternalDNS []*ExternalDNS `json:"externalDNS"`
// Image name
// Example: radixdev.azurecr.io/app-server:cdgkg
// Required: true
Image *string `json:"image"`
// Name the component
// Example: server
// Required: true
Name *string `json:"name"`
// Ports defines the port number and protocol that a component is exposed for internally in environment
Ports []*Port `json:"ports"`
// Array of ReplicaSummary
ReplicaList []*ReplicaSummary `json:"replicaList"`
// Array of pod names
// Example: ["server-78fc8857c4-hm76l","server-78fc8857c4-asfa2"]
Replicas []string `json:"replicas"`
// ScheduledJobPayloadPath defines the payload path, where payload for Job Scheduler will be mapped as a file. From radixconfig.yaml
// Example: \"/tmp/payload\
ScheduledJobPayloadPath string `json:"scheduledJobPayloadPath,omitempty"`
// SchedulerPort defines the port number that a Job Scheduler is exposed internally in environment
// Example: 8080
SchedulerPort int32 `json:"schedulerPort,omitempty"`
// Component secret names. From radixconfig.yaml
// Example: ["DB_CON","A_SECRET"]
Secrets []string `json:"secrets"`
// Status of the component
// Example: Consistent
// Enum: [Stopped Consistent Reconciling Restarting Outdated]
Status string `json:"status,omitempty"`
// Type of component
// Example: component
// Required: true
// Enum: [component job]
Type *string `json:"type"`
// Variable names map to values. From radixconfig.yaml
Variables map[string]string `json:"variables,omitempty"`
// horizontal scaling summary
HorizontalScalingSummary *HorizontalScalingSummary `json:"horizontalScalingSummary,omitempty"`
// identity
Identity *Identity `json:"identity,omitempty"`
// notifications
Notifications *Notifications `json:"notifications,omitempty"`
// oauth2
Oauth2 *OAuth2AuxiliaryResource `json:"oauth2,omitempty"`
}
Component Component describe an component part of an deployment
swagger:model Component
func (*Component) ContextValidate ¶
ContextValidate validate this component based on the context it is used
func (*Component) MarshalBinary ¶
MarshalBinary interface implementation
func (*Component) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ComponentSummary ¶
type ComponentSummary struct {
// Image name
// Example: radixdev.azurecr.io/app-server:cdgkg
// Required: true
Image *string `json:"image"`
// Name the component
// Example: server
// Required: true
Name *string `json:"name"`
// Type of component
// Example: component
// Required: true
// Enum: [component job]
Type *string `json:"type"`
}
ComponentSummary ComponentSummary describe a component part of a deployment
swagger:model ComponentSummary
func (*ComponentSummary) ContextValidate ¶
ContextValidate validates this component summary based on context it is used
func (*ComponentSummary) MarshalBinary ¶
func (m *ComponentSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ComponentSummary) UnmarshalBinary ¶
func (m *ComponentSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DNSAlias ¶ added in v1.13.2
type DNSAlias struct {
// ComponentName the component exposing the endpoint
// Example: frontend
// Required: true
ComponentName *string `json:"componentName"`
// EnvironmentName the environment hosting the endpoint
// Example: prod
// Required: true
EnvironmentName *string `json:"environmentName"`
// URL the public endpoint
// Example: https://my-app.radix.equinor.com
// Required: true
URL *string `json:"url"`
// status
Status *DNSAliasStatus `json:"status,omitempty"`
}
DNSAlias DNSAlias holds public DNS alias information
swagger:model DNSAlias
func (*DNSAlias) ContextValidate ¶ added in v1.13.2
ContextValidate validate this DNS alias based on the context it is used
func (*DNSAlias) MarshalBinary ¶ added in v1.13.2
MarshalBinary interface implementation
func (*DNSAlias) UnmarshalBinary ¶ added in v1.13.2
UnmarshalBinary interface implementation
type DNSAliasStatus ¶ added in v1.13.2
type DNSAliasStatus struct {
// condition
Condition string `json:"condition,omitempty"`
// message
Message string `json:"message,omitempty"`
}
DNSAliasStatus DNSAliasStatus Status of the DNSAlias
swagger:model DNSAliasStatus
func (*DNSAliasStatus) ContextValidate ¶ added in v1.13.2
ContextValidate validates this DNS alias status based on context it is used
func (*DNSAliasStatus) MarshalBinary ¶ added in v1.13.2
func (m *DNSAliasStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DNSAliasStatus) UnmarshalBinary ¶ added in v1.13.2
func (m *DNSAliasStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployKeyAndSecret ¶
type DeployKeyAndSecret struct {
// PublicDeployKey the public value of the deploy key
// Required: true
PublicDeployKey *string `json:"publicDeployKey"`
// Required: true
SharedSecret *string `json:"sharedSecret"`
}
DeployKeyAndSecret DeployKeyAndSecret Holds generated public deploy key and shared secret
swagger:model DeployKeyAndSecret
func (*DeployKeyAndSecret) ContextValidate ¶
ContextValidate validates this deploy key and secret based on context it is used
func (*DeployKeyAndSecret) MarshalBinary ¶
func (m *DeployKeyAndSecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployKeyAndSecret) UnmarshalBinary ¶
func (m *DeployKeyAndSecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Deployment ¶
type Deployment struct {
// ActiveFrom Timestamp when the deployment starts (or created)
// Example: 2006-01-02T15:04:05Z
ActiveFrom string `json:"activeFrom,omitempty"`
// ActiveTo Timestamp when the deployment ends
// Example: 2006-01-02T15:04:05Z
ActiveTo string `json:"activeTo,omitempty"`
// Array of components
Components []*Component `json:"components"`
// Name of job creating deployment
CreatedByJob string `json:"createdByJob,omitempty"`
// Environment the environment this Radix application deployment runs in
// Example: prod
Environment string `json:"environment,omitempty"`
// GitCommitHash the hash of the git commit from which radixconfig.yaml was parsed
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
GitCommitHash string `json:"gitCommitHash,omitempty"`
// GitTags the git tags that the git commit hash points to
// Example: \"v1.22.1 v1.22.3\
GitTags string `json:"gitTags,omitempty"`
// Name the unique name of the Radix application deployment
// Example: radix-canary-golang-tzbqi
Name string `json:"name,omitempty"`
// Namespace where the deployment is stored
// Example: radix-canary-golang-dev
// Required: true
Namespace *string `json:"namespace"`
// Repository the GitHub repository that the deployment was built from
// Example: https://github.com/equinor/radix-canary-golang
// Required: true
Repository *string `json:"repository"`
}
Deployment Deployment describe an deployment
swagger:model Deployment
func (*Deployment) ContextValidate ¶
ContextValidate validate this deployment based on the context it is used
func (*Deployment) MarshalBinary ¶
func (m *Deployment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Deployment) UnmarshalBinary ¶
func (m *Deployment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeploymentItem ¶
type DeploymentItem struct {
// ActiveFrom Timestamp when the deployment starts (or created)
// Example: 2006-01-02T15:04:05Z
// Required: true
ActiveFrom *string `json:"activeFrom"`
// ActiveTo Timestamp when the deployment ends
// Example: 2006-01-02T15:04:05Z
ActiveTo string `json:"activeTo,omitempty"`
// GitCommitHash the hash of the git commit from which radixconfig.yaml was parsed
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
GitCommitHash string `json:"gitCommitHash,omitempty"`
// Name the unique name of the Radix application deployment
// Example: radix-canary-golang-tzbqi
// Required: true
Name *string `json:"name"`
}
DeploymentItem DeploymentItem describe a deployment short info
swagger:model DeploymentItem
func (*DeploymentItem) ContextValidate ¶
ContextValidate validates this deployment item based on context it is used
func (*DeploymentItem) MarshalBinary ¶
func (m *DeploymentItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeploymentItem) UnmarshalBinary ¶
func (m *DeploymentItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeploymentSummary ¶
type DeploymentSummary struct {
// ActiveFrom Timestamp when the deployment starts (or created)
// Example: 2006-01-02T15:04:05Z
// Required: true
ActiveFrom *string `json:"activeFrom"`
// ActiveTo Timestamp when the deployment ends
// Example: 2006-01-02T15:04:05Z
ActiveTo string `json:"activeTo,omitempty"`
// CommitID the commit ID of the branch to build
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
CommitID string `json:"commitID,omitempty"`
// Array of component summaries
Components []*ComponentSummary `json:"components"`
// Name of job creating deployment
CreatedByJob string `json:"createdByJob,omitempty"`
// Environment the environment this Radix application deployment runs in
// Example: prod
// Required: true
Environment *string `json:"environment"`
// GitCommitHash the hash of the git commit from which radixconfig.yaml was parsed
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
GitCommitHash string `json:"gitCommitHash,omitempty"`
// GitTags the git tags that the git commit hash points to
// Example: \"v1.22.1 v1.22.3\
GitTags string `json:"gitTags,omitempty"`
// Name the unique name of the Radix application deployment
// Example: radix-canary-golang-tzbqi
// Required: true
Name *string `json:"name"`
// Type of pipeline job
// Example: build-deploy
// Enum: [build build-deploy promote deploy]
PipelineJobType string `json:"pipelineJobType,omitempty"`
// Name of the environment the deployment was promoted from
// Applies only for pipeline jobs of type 'promote'
// Example: qa
PromotedFromEnvironment string `json:"promotedFromEnvironment,omitempty"`
}
DeploymentSummary DeploymentSummary describe an deployment
swagger:model DeploymentSummary
func (*DeploymentSummary) ContextValidate ¶
ContextValidate validate this deployment summary based on the context it is used
func (*DeploymentSummary) MarshalBinary ¶
func (m *DeploymentSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeploymentSummary) UnmarshalBinary ¶
func (m *DeploymentSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeploymentSummaryPipelineJobInfo ¶
type DeploymentSummaryPipelineJobInfo struct {
// CommitID the commit ID of the branch to build
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
CommitID string `json:"commitID,omitempty"`
// Name of job creating deployment
CreatedByJob string `json:"createdByJob,omitempty"`
// Type of pipeline job
// Example: build-deploy
// Enum: [build build-deploy promote deploy]
PipelineJobType string `json:"pipelineJobType,omitempty"`
// Name of the environment the deployment was promoted from
// Applies only for pipeline jobs of type 'promote'
// Example: qa
PromotedFromEnvironment string `json:"promotedFromEnvironment,omitempty"`
}
DeploymentSummaryPipelineJobInfo deployment summary pipeline job info
swagger:model DeploymentSummaryPipelineJobInfo
func (*DeploymentSummaryPipelineJobInfo) ContextValidate ¶
func (m *DeploymentSummaryPipelineJobInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this deployment summary pipeline job info based on context it is used
func (*DeploymentSummaryPipelineJobInfo) MarshalBinary ¶
func (m *DeploymentSummaryPipelineJobInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeploymentSummaryPipelineJobInfo) UnmarshalBinary ¶
func (m *DeploymentSummaryPipelineJobInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvVar ¶
type EnvVar struct {
// Name of the environment variable
// Example: VAR1
// Required: true
Name *string `json:"name"`
// Value of the environment variable
// Example: value1
Value string `json:"value,omitempty"`
// metadata
Metadata *EnvVarMetadata `json:"metadata,omitempty"`
}
EnvVar EnvVar environment variable with metadata
swagger:model EnvVar
func (*EnvVar) ContextValidate ¶
ContextValidate validate this env var based on the context it is used
func (*EnvVar) MarshalBinary ¶
MarshalBinary interface implementation
func (*EnvVar) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EnvVarMetadata ¶
type EnvVarMetadata struct {
// Value of the environment variable in radixconfig.yaml
// Example: value1
RadixConfigValue string `json:"radixConfigValue,omitempty"`
}
EnvVarMetadata EnvVarMetadata Environment variable metadata, holding state of creating or changing of value in Radix console
swagger:model EnvVarMetadata
func (*EnvVarMetadata) ContextValidate ¶
ContextValidate validates this env var metadata based on context it is used
func (*EnvVarMetadata) MarshalBinary ¶
func (m *EnvVarMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvVarMetadata) UnmarshalBinary ¶
func (m *EnvVarMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvVarParameter ¶
type EnvVarParameter struct {
// Name of the environment variable
// Example: VAR1
// Required: true
Name *string `json:"name"`
// Value a new value of the environment variable
// Example: value1
// Required: true
Value *string `json:"value"`
}
EnvVarParameter EnvVarParameter describes an environment variable
swagger:model EnvVarParameter
func (*EnvVarParameter) ContextValidate ¶
ContextValidate validates this env var parameter based on context it is used
func (*EnvVarParameter) MarshalBinary ¶
func (m *EnvVarParameter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvVarParameter) UnmarshalBinary ¶
func (m *EnvVarParameter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Environment ¶
type Environment struct {
// BranchMapping The branch mapped to this environment
// Example: master
BranchMapping string `json:"branchMapping,omitempty"`
// Deployments All deployments in environment
Deployments []*DeploymentSummary `json:"deployments"`
// Name of the environment
// Example: prod
Name string `json:"name,omitempty"`
// Secrets All secrets in environment
Secrets []*Secret `json:"secrets"`
// Status of the environment
// Pending = Environment exists in Radix config, but not in cluster
// Consistent = Environment exists in Radix config and in cluster
// Orphan = Environment does not exist in Radix config, but exists in cluster
// Example: Consistent
// Enum: [Pending Consistent Orphan]
Status string `json:"status,omitempty"`
// active deployment
ActiveDeployment *Deployment `json:"activeDeployment,omitempty"`
}
Environment Environment holds detail information about environment
swagger:model Environment
func (*Environment) ContextValidate ¶
ContextValidate validate this environment based on the context it is used
func (*Environment) MarshalBinary ¶
func (m *Environment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Environment) UnmarshalBinary ¶
func (m *Environment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvironmentSummary ¶
type EnvironmentSummary struct {
// BranchMapping The branch mapped to this environment
BranchMapping string `json:"branchMapping,omitempty"`
// Name of the environment
// Example: prod
Name string `json:"name,omitempty"`
// Status of the environment
// Pending = Environment exists in Radix config, but not in cluster
// Consistent = Environment exists in Radix config and in cluster
// Orphan = Environment does not exist in Radix config, but exists in cluster
// Example: Consistent
// Enum: [Pending Consistent Orphan]
Status string `json:"status,omitempty"`
// active deployment
ActiveDeployment *DeploymentSummary `json:"activeDeployment,omitempty"`
}
EnvironmentSummary EnvironmentSummary holds general information about environment
swagger:model EnvironmentSummary
func (*EnvironmentSummary) ContextValidate ¶
ContextValidate validate this environment summary based on the context it is used
func (*EnvironmentSummary) MarshalBinary ¶
func (m *EnvironmentSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvironmentSummary) UnmarshalBinary ¶
func (m *EnvironmentSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Event ¶
type Event struct {
// Kind of object involved in this event
// Example: Pod
InvolvedObjectKind string `json:"involvedObjectKind,omitempty"`
// Name of object involved in this event
// Example: www-74cb7c986-fgcrl
InvolvedObjectName string `json:"involvedObjectName,omitempty"`
// Namespace of object involved in this event
// Example: myapp-production
InvolvedObjectNamespace string `json:"involvedObjectNamespace,omitempty"`
// The time (ISO8601) at which the event was last recorded
// Format: date-time
LastTimestamp strfmt.DateTime `json:"lastTimestamp,omitempty"`
// A human-readable description of the status of this event
// Example: 'Readiness probe failed: dial tcp 10.40.1.5:3003: connect: connection refused'
Message string `json:"message,omitempty"`
// A short, machine understandable string that gives the reason for this event
// Example: Unhealthy
Reason string `json:"reason,omitempty"`
// Type of event (Normal, Warning)
// Example: Warning
Type string `json:"type,omitempty"`
// involved object state
InvolvedObjectState *ObjectState `json:"involvedObjectState,omitempty"`
}
Event Event holds information about Kubernetes events
swagger:model Event
func (*Event) ContextValidate ¶
ContextValidate validate this event based on the context it is used
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ExternalDNS ¶ added in v1.14.0
type ExternalDNS struct {
// Fully Qualified Domain Name
// Example: site.example.com
// Required: true
FQDN *string `json:"fqdn"`
// tls
// Required: true
TLS *TLS `json:"tls"`
}
ExternalDNS ExternalDNS describes an external DNS entry for a component
swagger:model ExternalDNS
func (*ExternalDNS) ContextValidate ¶ added in v1.14.0
ContextValidate validate this external DNS based on the context it is used
func (*ExternalDNS) MarshalBinary ¶ added in v1.14.0
func (m *ExternalDNS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExternalDNS) UnmarshalBinary ¶ added in v1.14.0
func (m *ExternalDNS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HorizontalScalingSummary ¶
type HorizontalScalingSummary struct {
// Component current average CPU utilization over all pods, represented as a percentage of requested CPU
// Example: 70
CurrentCPUUtilizationPercentage int32 `json:"currentCPUUtilizationPercentage,omitempty"`
// Component current average memory utilization over all pods, represented as a percentage of requested memory
// Example: 80
CurrentMemoryUtilizationPercentage int32 `json:"currentMemoryUtilizationPercentage,omitempty"`
// Component maximum replicas. From radixconfig.yaml
// Example: 5
MaxReplicas int32 `json:"maxReplicas,omitempty"`
// Component minimum replicas. From radixconfig.yaml
// Example: 2
MinReplicas int32 `json:"minReplicas,omitempty"`
// Component target average CPU utilization over all pods
// Example: 80
TargetCPUUtilizationPercentage int32 `json:"targetCPUUtilizationPercentage,omitempty"`
// Component target average memory utilization over all pods
// Example: 80
TargetMemoryUtilizationPercentage int32 `json:"targetMemoryUtilizationPercentage,omitempty"`
}
HorizontalScalingSummary HorizontalScalingSummary describe the summary of horizontal scaling of a component
swagger:model HorizontalScalingSummary
func (*HorizontalScalingSummary) ContextValidate ¶
func (m *HorizontalScalingSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this horizontal scaling summary based on context it is used
func (*HorizontalScalingSummary) MarshalBinary ¶
func (m *HorizontalScalingSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HorizontalScalingSummary) UnmarshalBinary ¶
func (m *HorizontalScalingSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Identity ¶
type Identity struct {
// azure
Azure *AzureIdentity `json:"azure,omitempty"`
}
Identity Identity describes external identities
swagger:model Identity
func (*Identity) ContextValidate ¶
ContextValidate validate this identity based on the context it is used
func (*Identity) MarshalBinary ¶
MarshalBinary interface implementation
func (*Identity) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ImageHubSecret ¶
type ImageHubSecret struct {
// Email provided in radixconfig.yaml
// Example: radix@equinor.com
Email string `json:"email,omitempty"`
// Server name of the image hub
// Example: myprivaterepo.azurecr.io
// Required: true
Server *string `json:"server"`
// Status of the secret
// Pending = Secret value is not set
// Consistent = Secret value is set
// Example: Consistent
// Enum: [Pending Consistent]
Status string `json:"status,omitempty"`
// Username for connecting to private image hub
// Example: my-user-name
// Required: true
Username *string `json:"username"`
}
ImageHubSecret ImageHubSecret holds general information about image hubs
swagger:model ImageHubSecret
func (*ImageHubSecret) ContextValidate ¶
ContextValidate validates this image hub secret based on context it is used
func (*ImageHubSecret) MarshalBinary ¶
func (m *ImageHubSecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageHubSecret) UnmarshalBinary ¶
func (m *ImageHubSecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Job ¶
type Job struct {
// Branch to build from
// Example: master
Branch string `json:"branch,omitempty"`
// CommitID the commit ID of the branch to build
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
CommitID string `json:"commitID,omitempty"`
// Components (array of ComponentSummary) created by the job
//
// Deprecated: Inspect each deployment to get list of components created by the job
Components []*ComponentSummary `json:"components"`
// Created timestamp
// Example: 2006-01-02T15:04:05Z
Created string `json:"created,omitempty"`
// Array of deployments
Deployments []*DeploymentSummary `json:"deployments"`
// Ended timestamp
// Example: 2006-01-02T15:04:05Z
Ended string `json:"ended,omitempty"`
// Image tags names for components - if empty will use default logic
// Example: component1: tag1,component2: tag2
ImageTagNames map[string]string `json:"imageTagNames,omitempty"`
// Name of the job
// Example: radix-pipeline-20181029135644-algpv-6hznh
Name string `json:"name,omitempty"`
// Name of the pipeline
// Example: build-deploy
// Enum: [build build-deploy promote deploy]
Pipeline string `json:"pipeline,omitempty"`
// PromotedDeploymentName the name of the deployment that was promoted
// Example: component-6hznh
PromotedDeploymentName string `json:"promotedDeploymentName,omitempty"`
// RadixDeployment name, which is promoted
PromotedFromDeployment string `json:"promotedFromDeployment,omitempty"`
// PromotedFromEnvironment the name of the environment that was promoted from
// Example: dev
PromotedFromEnvironment string `json:"promotedFromEnvironment,omitempty"`
// PromotedToEnvironment the name of the environment that was promoted to
// Example: qa
PromotedToEnvironment string `json:"promotedToEnvironment,omitempty"`
// RerunFromJob The source name of the job if this job was restarted from it
// Example: radix-pipeline-20231011104617-urynf
RerunFromJob string `json:"rerunFromJob,omitempty"`
// Started timestamp
// Example: 2006-01-02T15:04:05Z
Started string `json:"started,omitempty"`
// Status of the job
// Example: Waiting
// Enum: [Queued Waiting Running Succeeded Failed Stopped Stopping StoppedNoChanges]
Status string `json:"status,omitempty"`
// Array of steps
Steps []*Step `json:"steps"`
// TriggeredBy user that triggered the job. If through webhook = sender.login. If through api = usertoken.upn
// Example: a_user@equinor.com
TriggeredBy string `json:"triggeredBy,omitempty"`
}
Job Job holds general information about job
swagger:model Job
func (*Job) ContextValidate ¶
ContextValidate validate this job based on the context it is used
func (*Job) MarshalBinary ¶
MarshalBinary interface implementation
func (*Job) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobSummary ¶
type JobSummary struct {
// AppName of the application
// Example: radix-pipeline-20181029135644-algpv-6hznh
AppName string `json:"appName,omitempty"`
// Branch to build from
// Example: master
Branch string `json:"branch,omitempty"`
// CommitID the commit ID of the branch to build
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
CommitID string `json:"commitID,omitempty"`
// Created timestamp
// Example: 2006-01-02T15:04:05Z
Created string `json:"created,omitempty"`
// Ended timestamp
// Example: 2006-01-02T15:04:05Z
Ended string `json:"ended,omitempty"`
// Environments the job deployed to
// Example: ["dev","qa"]
Environments []string `json:"environments"`
// Image tags names for components - if empty will use default logic
// Example: component1: tag1,component2: tag2
ImageTagNames map[string]string `json:"imageTagNames,omitempty"`
// Name of the job
// Example: radix-pipeline-20181029135644-algpv-6hznh
Name string `json:"name,omitempty"`
// Name of the pipeline
// Example: build-deploy
// Enum: [build build-deploy promote deploy]
Pipeline string `json:"pipeline,omitempty"`
// RadixDeployment name, which is promoted
PromotedFromDeployment string `json:"promotedFromDeployment,omitempty"`
// Environment name, from which the Radix deployment is promoted
PromotedFromEnvironment string `json:"promotedFromEnvironment,omitempty"`
// Environment name, to which the Radix deployment is promoted
PromotedToEnvironment string `json:"promotedToEnvironment,omitempty"`
// Started timestamp
// Example: 2006-01-02T15:04:05Z
Started string `json:"started,omitempty"`
// Status of the job
// Example: Waiting
// Enum: [Queued Waiting Running Succeeded Failed Stopped Stopping StoppedNoChanges]
Status string `json:"status,omitempty"`
// TriggeredBy user that triggered the job. If through webhook = sender.login. If through api - usertoken.upn
// Example: a_user@equinor.com
TriggeredBy string `json:"triggeredBy,omitempty"`
}
JobSummary JobSummary holds general information about job
swagger:model JobSummary
func (*JobSummary) ContextValidate ¶
ContextValidate validates this job summary based on context it is used
func (*JobSummary) MarshalBinary ¶
func (m *JobSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobSummary) UnmarshalBinary ¶
func (m *JobSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MachineUser ¶
type MachineUser struct {
// Token the value of the token
// Required: true
Token *string `json:"token"`
}
MachineUser MachineUser Holds info about machine user
swagger:model MachineUser
func (*MachineUser) ContextValidate ¶
ContextValidate validates this machine user based on context it is used
func (*MachineUser) MarshalBinary ¶
func (m *MachineUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MachineUser) UnmarshalBinary ¶
func (m *MachineUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Node ¶
type Node struct {
// Gpu Holds lists of node GPU types, with dashed types to exclude
Gpu string `json:"gpu,omitempty"`
// GpuCount Holds minimum count of GPU on node
GpuCount string `json:"gpuCount,omitempty"`
}
Node Node Defines node attributes, where pod should be scheduled
swagger:model Node
func (*Node) ContextValidate ¶
ContextValidate validates this node based on context it is used
func (*Node) MarshalBinary ¶
MarshalBinary interface implementation
func (*Node) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Notifications ¶
type Notifications struct {
// Webhook is a URL for notification about internal events or changes. The URL should be of a Radix component or job-component, with not public port.
Webhook string `json:"webhook,omitempty"`
}
Notifications Notifications is the spec for notification about internal events or changes
swagger:model Notifications
func (*Notifications) ContextValidate ¶
ContextValidate validates this notifications based on context it is used
func (*Notifications) MarshalBinary ¶
func (m *Notifications) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Notifications) UnmarshalBinary ¶
func (m *Notifications) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OAuth2AuxiliaryResource ¶
type OAuth2AuxiliaryResource struct {
// deployment
// Required: true
Deployment *AuxiliaryResourceDeployment `json:"deployment"`
}
OAuth2AuxiliaryResource o auth2 auxiliary resource
swagger:model OAuth2AuxiliaryResource
func (*OAuth2AuxiliaryResource) ContextValidate ¶
func (m *OAuth2AuxiliaryResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this o auth2 auxiliary resource based on the context it is used
func (*OAuth2AuxiliaryResource) MarshalBinary ¶
func (m *OAuth2AuxiliaryResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OAuth2AuxiliaryResource) UnmarshalBinary ¶
func (m *OAuth2AuxiliaryResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectState ¶
type ObjectState struct {
// pod
Pod *PodState `json:"pod,omitempty"`
}
ObjectState ObjectState holds information about the state of objects involved in an event
swagger:model ObjectState
func (*ObjectState) ContextValidate ¶
ContextValidate validate this object state based on the context it is used
func (*ObjectState) MarshalBinary ¶
func (m *ObjectState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectState) UnmarshalBinary ¶
func (m *ObjectState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineParametersBuild ¶
type PipelineParametersBuild struct {
// Branch the branch to build
// REQUIRED for "build" and "build-deploy" pipelines
// Example: master
Branch string `json:"branch,omitempty"`
// CommitID the commit ID of the branch to build
// REQUIRED for "build" and "build-deploy" pipelines
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
CommitID string `json:"commitID,omitempty"`
// ImageName of the component, without repository name and image-tag
// Example: radix-component
ImageName string `json:"imageName,omitempty"`
// ImageRepository of the component, without image name and image-tag
// Example: ghcr.io/test
ImageRepository string `json:"imageRepository,omitempty"`
// ImageTag of the image - if empty will use default logic
// Example: master-latest
ImageTag string `json:"imageTag,omitempty"`
// PushImage should image be pushed to container registry. Defaults pushing
// Example: true
PushImage string `json:"pushImage,omitempty"`
// TriggeredBy of the job - if empty will use user token upn (user principle name)
// Example: a_user@equinor.com
TriggeredBy string `json:"triggeredBy,omitempty"`
}
PipelineParametersBuild PipelineParametersBuild describe branch to build and its commit ID
swagger:model PipelineParametersBuild
func (*PipelineParametersBuild) ContextValidate ¶
func (m *PipelineParametersBuild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this pipeline parameters build based on context it is used
func (*PipelineParametersBuild) MarshalBinary ¶
func (m *PipelineParametersBuild) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineParametersBuild) UnmarshalBinary ¶
func (m *PipelineParametersBuild) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineParametersDeploy ¶
type PipelineParametersDeploy struct {
// CommitID the commit ID of the branch
// OPTIONAL for information only
// Example: 4faca8595c5283a9d0f17a623b9255a0d9866a2e
CommitID string `json:"commitID,omitempty"`
// Image tags names for components
// Example: component1=tag1,component2=tag2
ImageTagNames map[string]string `json:"imageTagNames,omitempty"`
// Name of environment to deploy
// REQUIRED for "deploy" pipeline
// Example: prod
ToEnvironment string `json:"toEnvironment,omitempty"`
// TriggeredBy of the job - if empty will use user token upn (user principle name)
// Example: a_user@equinor.com
TriggeredBy string `json:"triggeredBy,omitempty"`
}
PipelineParametersDeploy PipelineParametersDeploy describes environment to deploy
swagger:model PipelineParametersDeploy
func (*PipelineParametersDeploy) ContextValidate ¶
func (m *PipelineParametersDeploy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this pipeline parameters deploy based on context it is used
func (*PipelineParametersDeploy) MarshalBinary ¶
func (m *PipelineParametersDeploy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineParametersDeploy) UnmarshalBinary ¶
func (m *PipelineParametersDeploy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineParametersPromote ¶
type PipelineParametersPromote struct {
// ID of the deployment to promote
// REQUIRED for "promote" pipeline
// Example: dev-9tyu1-tftmnqzq
DeploymentName string `json:"deploymentName,omitempty"`
// Name of environment where to look for the deployment to be promoted
// REQUIRED for "promote" pipeline
// Example: prod
FromEnvironment string `json:"fromEnvironment,omitempty"`
// Name of environment to receive the promoted deployment
// REQUIRED for "promote" pipeline
// Example: prod
ToEnvironment string `json:"toEnvironment,omitempty"`
// TriggeredBy of the job - if empty will use user token upn (user principle name)
// Example: a_user@equinor.com
TriggeredBy string `json:"triggeredBy,omitempty"`
}
PipelineParametersPromote PipelineParametersPromote identify deployment to promote and a target environment
swagger:model PipelineParametersPromote
func (*PipelineParametersPromote) ContextValidate ¶
func (m *PipelineParametersPromote) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this pipeline parameters promote based on context it is used
func (*PipelineParametersPromote) MarshalBinary ¶
func (m *PipelineParametersPromote) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineParametersPromote) UnmarshalBinary ¶
func (m *PipelineParametersPromote) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineRun ¶
type PipelineRun struct {
// Ended timestamp
// Example: 2006-01-02T15:04:05Z
Ended string `json:"ended,omitempty"`
// Env Environment of the pipeline run
// Example: prod
// Required: true
Env *string `json:"env"`
// Name Original name of the pipeline run
// Example: build-pipeline
// Required: true
Name *string `json:"name"`
// RealName Name of the pipeline run in the namespace
// Example: radix-tekton-pipelinerun-dev-2022-05-09-abcde
// Required: true
RealName *string `json:"realName"`
// Started timestamp
// Example: 2006-01-02T15:04:05Z
Started string `json:"started,omitempty"`
// Status of the step
// Example: Started
Status string `json:"status,omitempty"`
// StatusMessage of the task
StatusMessage string `json:"statusMessage,omitempty"`
}
PipelineRun PipelineRun holds general information about pipeline run
swagger:model PipelineRun
func (*PipelineRun) ContextValidate ¶
ContextValidate validates this pipeline run based on context it is used
func (*PipelineRun) MarshalBinary ¶
func (m *PipelineRun) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineRun) UnmarshalBinary ¶
func (m *PipelineRun) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineRunTask ¶
type PipelineRunTask struct {
// Ended timestamp
// Example: 2006-01-02T15:04:05Z
Ended string `json:"ended,omitempty"`
// Name of the task
// Example: build
// Required: true
Name *string `json:"name"`
// PipelineName of the task
// Example: build-pipeline
// Required: true
PipelineName *string `json:"pipelineName"`
// PipelineRunEnv Environment of the pipeline run
// Example: prod
// Required: true
PipelineRunEnv *string `json:"pipelineRunEnv"`
// RealName Name of the pipeline run in the namespace
// Example: radix-tekton-task-dev-2022-05-09-abcde
// Required: true
RealName *string `json:"realName"`
// Started timestamp
// Example: 2006-01-02T15:04:05Z
Started string `json:"started,omitempty"`
// Status of the task
// Example: Running
Status string `json:"status,omitempty"`
// StatusMessage of the task
StatusMessage string `json:"statusMessage,omitempty"`
}
PipelineRunTask PipelineRunTask holds general information about pipeline run task
swagger:model PipelineRunTask
func (*PipelineRunTask) ContextValidate ¶
ContextValidate validates this pipeline run task based on context it is used
func (*PipelineRunTask) MarshalBinary ¶
func (m *PipelineRunTask) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineRunTask) UnmarshalBinary ¶
func (m *PipelineRunTask) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PipelineRunTaskStep ¶
type PipelineRunTaskStep struct {
// Ended timestamp
// Example: 2006-01-02T15:04:05Z
Ended string `json:"ended,omitempty"`
// Name of the step
// Example: build
// Required: true
Name *string `json:"name"`
// Started timestamp
// Example: 2006-01-02T15:04:05Z
Started string `json:"started,omitempty"`
// Status of the task
// Example: Completed
Status string `json:"status,omitempty"`
// StatusMessage of the task
StatusMessage string `json:"statusMessage,omitempty"`
}
PipelineRunTaskStep PipelineRunTaskStep holds general information about pipeline run task steps
swagger:model PipelineRunTaskStep
func (*PipelineRunTaskStep) ContextValidate ¶
ContextValidate validates this pipeline run task step based on context it is used
func (*PipelineRunTaskStep) MarshalBinary ¶
func (m *PipelineRunTaskStep) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PipelineRunTaskStep) UnmarshalBinary ¶
func (m *PipelineRunTaskStep) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PodState ¶
type PodState struct {
// Specifies whether the first container has passed its readiness probe.
// Example: false
Ready bool `json:"ready,omitempty"`
// The number of times the first container has been restarted
// Example: 1
RestartCount int32 `json:"restartCount,omitempty"`
// Specifies whether the first container has started.
// Example: true
Started *bool `json:"started,omitempty"`
}
PodState PodState holds information about the state of the first container in a Pod
swagger:model PodState
func (*PodState) ContextValidate ¶
ContextValidate validates this pod state based on context it is used
func (*PodState) MarshalBinary ¶
MarshalBinary interface implementation
func (*PodState) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Port ¶
type Port struct {
// Component port name. From radixconfig.yaml
// Example: http
// Required: true
Name *string `json:"name"`
// Component port number. From radixconfig.yaml
// Example: 8080
Port int32 `json:"port,omitempty"`
}
Port Port describe a port of a component
swagger:model Port
func (*Port) ContextValidate ¶
ContextValidate validates this port based on context it is used
func (*Port) MarshalBinary ¶
MarshalBinary interface implementation
func (*Port) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PromotionParameters ¶
type PromotionParameters struct {
// FromEnvironment the environment to promote from
// Example: dev
// Required: true
FromEnvironment *string `json:"fromEnvironment"`
// ToEnvironment the environment to promote to
// Example: prod
// Required: true
ToEnvironment *string `json:"toEnvironment"`
}
PromotionParameters PromotionParameters describe environment to promote from and to
swagger:model PromotionParameters
func (*PromotionParameters) ContextValidate ¶
ContextValidate validates this promotion parameters based on context it is used
func (*PromotionParameters) MarshalBinary ¶
func (m *PromotionParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PromotionParameters) UnmarshalBinary ¶
func (m *PromotionParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReceiverConfig ¶
type ReceiverConfig struct {
// slack config
// Required: true
SlackConfig *SlackConfig `json:"slackConfig"`
}
ReceiverConfig ReceiverConfig receiver configuration
swagger:model ReceiverConfig
func (*ReceiverConfig) ContextValidate ¶
ContextValidate validate this receiver config based on the context it is used
func (*ReceiverConfig) MarshalBinary ¶
func (m *ReceiverConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReceiverConfig) UnmarshalBinary ¶
func (m *ReceiverConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReceiverConfigMap ¶
type ReceiverConfigMap map[string]ReceiverConfig
ReceiverConfigMap ReceiverConfigMap defines a map of ReceiverConfig where key is the name of the receiver
swagger:model ReceiverConfigMap
func (ReceiverConfigMap) ContextValidate ¶
ContextValidate validate this receiver config map based on the context it is used
type ReceiverConfigSecretStatus ¶
type ReceiverConfigSecretStatus struct {
// slack config
SlackConfig *SlackConfigSecretStatus `json:"slackConfig,omitempty"`
}
ReceiverConfigSecretStatus receiver config secret status
swagger:model ReceiverConfigSecretStatus
func (*ReceiverConfigSecretStatus) ContextValidate ¶
func (m *ReceiverConfigSecretStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this receiver config secret status based on the context it is used
func (*ReceiverConfigSecretStatus) MarshalBinary ¶
func (m *ReceiverConfigSecretStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReceiverConfigSecretStatus) UnmarshalBinary ¶
func (m *ReceiverConfigSecretStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReceiverConfigSecretStatusMap ¶
type ReceiverConfigSecretStatusMap map[string]ReceiverConfigSecretStatus
ReceiverConfigSecretStatusMap ReceiverConfigSecretStatusMap defines a map of ReceiverConfigSecretStatus where key is the name of the receiver
swagger:model ReceiverConfigSecretStatusMap
func (ReceiverConfigSecretStatusMap) ContextValidate ¶
func (m ReceiverConfigSecretStatusMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this receiver config secret status map based on the context it is used
type RegenerateDeployKeyAndSecretData ¶
type RegenerateDeployKeyAndSecretData struct {
// PrivateKey of the deploy key
PrivateKey string `json:"privateKey,omitempty"`
SharedSecret string `json:"sharedSecret,omitempty"`
}
RegenerateDeployKeyAndSecretData RegenerateDeployKeyAndSecretData Holds regenerated shared secret
swagger:model RegenerateDeployKeyAndSecretData
func (*RegenerateDeployKeyAndSecretData) ContextValidate ¶
func (m *RegenerateDeployKeyAndSecretData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this regenerate deploy key and secret data based on context it is used
func (*RegenerateDeployKeyAndSecretData) MarshalBinary ¶
func (m *RegenerateDeployKeyAndSecretData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegenerateDeployKeyAndSecretData) UnmarshalBinary ¶
func (m *RegenerateDeployKeyAndSecretData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplicaStatus ¶
type ReplicaStatus struct {
// Status of the container
// Pending = Container in Waiting state and the reason is ContainerCreating
// Failing = Container in Waiting state and the reason is anything else but ContainerCreating
// Running = Container in Running state
// Terminated = Container in Terminated state
// Example: Running
// Required: true
// Enum: [Pending Failing Running Terminated Starting]
Status *string `json:"status"`
}
ReplicaStatus ReplicaStatus describes the status of a component container inside a pod
swagger:model ReplicaStatus
func (*ReplicaStatus) ContextValidate ¶
ContextValidate validates this replica status based on context it is used
func (*ReplicaStatus) MarshalBinary ¶
func (m *ReplicaStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplicaStatus) UnmarshalBinary ¶
func (m *ReplicaStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReplicaSummary ¶
type ReplicaSummary struct {
// Container started timestamp
// Example: 2006-01-02T15:04:05Z
ContainerStarted string `json:"containerStarted,omitempty"`
// Created timestamp
// Example: 2006-01-02T15:04:05Z
Created string `json:"created,omitempty"`
// The image the container is running.
// Example: radixdev.azurecr.io/app-server:cdgkg
Image string `json:"image,omitempty"`
// ImageID of the container's image.
// Example: radixdev.azurecr.io/app-server@sha256:d40cda01916ef63da3607c03785efabc56eb2fc2e0dab0726b1a843e9ded093f
ImageID string `json:"imageId,omitempty"`
// Pod name
// Example: server-78fc8857c4-hm76l
// Required: true
Name *string `json:"name"`
// RestartCount count of restarts of a component container inside a pod
RestartCount int32 `json:"restartCount,omitempty"`
// StatusMessage provides message describing the status of a component container inside a pod
StatusMessage string `json:"statusMessage,omitempty"`
// replica status
ReplicaStatus *ReplicaStatus `json:"replicaStatus,omitempty"`
// resources
Resources *ResourceRequirements `json:"resources,omitempty"`
}
ReplicaSummary ReplicaSummary describes condition of a pod
swagger:model ReplicaSummary
func (*ReplicaSummary) ContextValidate ¶
ContextValidate validate this replica summary based on the context it is used
func (*ReplicaSummary) MarshalBinary ¶
func (m *ReplicaSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReplicaSummary) UnmarshalBinary ¶
func (m *ReplicaSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceRequirements ¶
type ResourceRequirements struct {
// limits
Limits *Resources `json:"limits,omitempty"`
// requests
Requests *Resources `json:"requests,omitempty"`
}
ResourceRequirements ResourceRequirements Requirements of resources for pods
swagger:model ResourceRequirements
func (*ResourceRequirements) ContextValidate ¶
ContextValidate validate this resource requirements based on the context it is used
func (*ResourceRequirements) MarshalBinary ¶
func (m *ResourceRequirements) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceRequirements) UnmarshalBinary ¶
func (m *ResourceRequirements) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Resources ¶
type Resources struct {
// CPU
CPU string `json:"cpu,omitempty"`
// memory
Memory string `json:"memory,omitempty"`
}
Resources Resources Required for pods
swagger:model Resources
func (*Resources) ContextValidate ¶
ContextValidate validates this resources based on context it is used
func (*Resources) MarshalBinary ¶
MarshalBinary interface implementation
func (*Resources) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ScheduledBatchRequest ¶
type ScheduledBatchRequest struct {
// Name of the Radix deployment for a batch
DeploymentName string `json:"deploymentName,omitempty"`
}
ScheduledBatchRequest ScheduledBatchRequest holds information about a creating scheduled batch request
swagger:model ScheduledBatchRequest
func (*ScheduledBatchRequest) ContextValidate ¶
ContextValidate validates this scheduled batch request based on context it is used
func (*ScheduledBatchRequest) MarshalBinary ¶
func (m *ScheduledBatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScheduledBatchRequest) UnmarshalBinary ¶
func (m *ScheduledBatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScheduledBatchSummary ¶
type ScheduledBatchSummary struct {
// Created timestamp
// Example: 2006-01-02T15:04:05Z
Created string `json:"created,omitempty"`
// DeploymentName name of RadixDeployment for the batch
// Required: true
DeploymentName *string `json:"deploymentName"`
// Ended timestamp
// Example: 2006-01-02T15:04:05Z
Ended string `json:"ended,omitempty"`
// Jobs within the batch of ScheduledJobSummary
JobList []*ScheduledJobSummary `json:"jobList"`
// Deprecated: Message of a status, if any, of the job
// Example: \"Error occurred\
Message string `json:"message,omitempty"`
// Name of the scheduled batch
// Example: batch-20181029135644-algpv-6hznh
// Required: true
Name *string `json:"name"`
// Started timestamp
// Example: 2006-01-02T15:04:05Z
Started string `json:"started,omitempty"`
// Status of the job
// Example: Waiting
// Required: true
// Enum: [Waiting Running Succeeded Failed]
Status *string `json:"status"`
// TotalJobCount count of jobs, requested to be scheduled by a batch
// Example: 5
// Required: true
TotalJobCount *int64 `json:"totalJobCount"`
// replica
Replica *ReplicaSummary `json:"replica,omitempty"`
}
ScheduledBatchSummary ScheduledBatchSummary holds information about scheduled batch
swagger:model ScheduledBatchSummary
func (*ScheduledBatchSummary) ContextValidate ¶
ContextValidate validate this scheduled batch summary based on the context it is used
func (*ScheduledBatchSummary) MarshalBinary ¶
func (m *ScheduledBatchSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScheduledBatchSummary) UnmarshalBinary ¶
func (m *ScheduledBatchSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScheduledJobRequest ¶
type ScheduledJobRequest struct {
// Name of the Radix deployment for a job
DeploymentName string `json:"deploymentName,omitempty"`
}
ScheduledJobRequest ScheduledJobRequest holds information about a creating scheduled job request
swagger:model ScheduledJobRequest
func (*ScheduledJobRequest) ContextValidate ¶
ContextValidate validates this scheduled job request based on context it is used
func (*ScheduledJobRequest) MarshalBinary ¶
func (m *ScheduledJobRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScheduledJobRequest) UnmarshalBinary ¶
func (m *ScheduledJobRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScheduledJobSummary ¶
type ScheduledJobSummary struct {
// BackoffLimit Amount of retries due to a logical error in configuration etc.
// Example: 1
// Required: true
BackoffLimit *int32 `json:"backoffLimit"`
// BatchName Batch name, if any
// Example: \"batch-abc\
BatchName string `json:"batchName,omitempty"`
// Created timestamp
// Example: 2006-01-02T15:04:05Z
Created string `json:"created,omitempty"`
// DeploymentName name of RadixDeployment for the job
DeploymentName string `json:"deploymentName,omitempty"`
// Ended timestamp
// Example: 2006-01-02T15:04:05Z
Ended string `json:"ended,omitempty"`
// FailedCount is the number of times the job has failed
// Example: 1
// Required: true
FailedCount *int32 `json:"failedCount"`
// JobId JobId, if any
// Example: \"job1\
JobID string `json:"jobId,omitempty"`
// Message of a status, if any, of the job
// Example: \"Error occurred\
Message string `json:"message,omitempty"`
// Name of the scheduled job
// Example: job-component-20181029135644-algpv-6hznh
Name string `json:"name,omitempty"`
// Array of ReplicaSummary
ReplicaList []*ReplicaSummary `json:"replicaList"`
// Timestamp of the job restart, if applied.
// +optional
Restart string `json:"Restart,omitempty"`
// Started timestamp
// Example: 2006-01-02T15:04:05Z
Started string `json:"started,omitempty"`
// Status of the job
// Example: Waiting
// Required: true
// Enum: [Running Succeeded Failed Waiting Stopping Stopped]
Status *string `json:"status"`
// TimeLimitSeconds How long the job supposed to run at maximum
// Example: 3600
TimeLimitSeconds int64 `json:"timeLimitSeconds,omitempty"`
// node
Node *Node `json:"node,omitempty"`
// resources
Resources *ResourceRequirements `json:"resources,omitempty"`
}
ScheduledJobSummary ScheduledJobSummary holds general information about scheduled job
swagger:model ScheduledJobSummary
func (*ScheduledJobSummary) ContextValidate ¶
ContextValidate validate this scheduled job summary based on the context it is used
func (*ScheduledJobSummary) MarshalBinary ¶
func (m *ScheduledJobSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScheduledJobSummary) UnmarshalBinary ¶
func (m *ScheduledJobSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Secret ¶
type Secret struct {
// Component name of the component having the secret
// Example: api
Component string `json:"component,omitempty"`
// DisplayName of the secret
// Example: Database password
DisplayName string `json:"displayName,omitempty"`
// ID of the secret within the Resource
// Example: clientId
ID string `json:"id,omitempty"`
// Name of the secret or its property, related to type and resource)
// Example: db_password
// Required: true
Name *string `json:"name"`
// Resource of the secrets
// Example: volumeAbc
Resource string `json:"resource,omitempty"`
// Status of the secret
// Pending = Secret exists in Radix config, but not in cluster
// Consistent = Secret exists in Radix config and in cluster
// NotAvailable = Secret is available in external secret configuration but not in cluster
// Example: Consistent
// Enum: [Pending Consistent NotAvailable]
Status string `json:"status,omitempty"`
// Type of the secret
// generic SecretTypeGeneric
// azure-blob-fuse-volume SecretTypeAzureBlobFuseVolume
// csi-azure-blob-volume SecretTypeCsiAzureBlobVolume
// csi-azure-key-vault-creds SecretTypeCsiAzureKeyVaultCreds
// csi-azure-key-vault-item SecretTypeCsiAzureKeyVaultItem
// client-cert-auth SecretTypeClientCertificateAuth
// oauth2-proxy SecretTypeOAuth2Proxy
// Example: client-cert
// Enum: [generic azure-blob-fuse-volume csi-azure-blob-volume csi-azure-key-vault-creds csi-azure-key-vault-item client-cert-auth oauth2-proxy]
Type string `json:"type,omitempty"`
}
Secret Secret holds general information about secret
swagger:model Secret
func (*Secret) ContextValidate ¶
ContextValidate validates this secret based on context it is used
func (*Secret) MarshalBinary ¶
MarshalBinary interface implementation
func (*Secret) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SecretParameters ¶
type SecretParameters struct {
// Name the unique name of the Radix application deployment
// Example: p4$sW0rDz
// Required: true
SecretValue *string `json:"secretValue"`
// Type of the secret
// generic SecretTypeGeneric
// azure-blob-fuse-volume SecretTypeAzureBlobFuseVolume
// csi-azure-blob-volume SecretTypeCsiAzureBlobVolume
// csi-azure-key-vault-creds SecretTypeCsiAzureKeyVaultCreds
// csi-azure-key-vault-item SecretTypeCsiAzureKeyVaultItem
// client-cert-auth SecretTypeClientCertificateAuth
// oauth2-proxy SecretTypeOAuth2Proxy
// Example: azure-blob-fuse-volume
// Enum: [generic azure-blob-fuse-volume csi-azure-blob-volume csi-azure-key-vault-creds csi-azure-key-vault-item client-cert-auth oauth2-proxy]
Type string `json:"type,omitempty"`
}
SecretParameters SecretParameters describes a component secret
swagger:model SecretParameters
func (*SecretParameters) ContextValidate ¶
ContextValidate validates this secret parameters based on context it is used
func (*SecretParameters) MarshalBinary ¶
func (m *SecretParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecretParameters) UnmarshalBinary ¶
func (m *SecretParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecretType ¶
type SecretType string
SecretType secret type
swagger:model SecretType
func (SecretType) ContextValidate ¶
ContextValidate validates this secret type based on context it is used
type SlackConfig ¶
type SlackConfig struct {
// Enabled flag indicates if alert notifications should be sent to Slack
// Required: true
Enabled *bool `json:"enabled"`
}
SlackConfig SlackConfig configuration options for Slack
swagger:model SlackConfig
func (*SlackConfig) ContextValidate ¶
ContextValidate validates this slack config based on context it is used
func (*SlackConfig) MarshalBinary ¶
func (m *SlackConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackConfig) UnmarshalBinary ¶
func (m *SlackConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlackConfigSecretStatus ¶
type SlackConfigSecretStatus struct {
// WebhookURLConfigured flag indicates if a Slack webhook URL is set
WebhookURLConfigured bool `json:"webhookUrlConfigured,omitempty"`
}
SlackConfigSecretStatus SlackConfigSecretStatus
swagger:model SlackConfigSecretStatus
func (*SlackConfigSecretStatus) ContextValidate ¶
func (m *SlackConfigSecretStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this slack config secret status based on context it is used
func (*SlackConfigSecretStatus) MarshalBinary ¶
func (m *SlackConfigSecretStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackConfigSecretStatus) UnmarshalBinary ¶
func (m *SlackConfigSecretStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Step ¶
type Step struct {
// Components associated components
Components []string `json:"components"`
// Ended timestamp
// Format: date-time
Ended strfmt.DateTime `json:"ended,omitempty"`
// Name of the step
// Example: build
Name string `json:"name,omitempty"`
// Started timestamp
// Format: date-time
Started strfmt.DateTime `json:"started,omitempty"`
// Status of the step
// Example: Waiting
// Enum: [Queued Waiting Running Succeeded Failed Stopped StoppedNoChanges]
Status string `json:"status,omitempty"`
}
Step Step holds general information about job step
swagger:model Step
func (*Step) ContextValidate ¶
ContextValidate validates this step based on context it is used
func (*Step) MarshalBinary ¶
MarshalBinary interface implementation
func (*Step) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TLS ¶ added in v1.14.0
type TLS struct {
// Certificates holds the X509 certificate chain
// The first certificate in the list should be the host certificate and the rest should be intermediate certificates
Certificates []*X509Certificate `json:"certificates"`
// Status of TLS certificate and private key
// Pending TLSStatusPending TLS certificate and private key not set
// Consistent TLSStatusConsistent TLS certificate and private key is valid
// Invalid TLSStatusInvalid TLS certificate and private key is invalid
// Example: Consistent
// Required: true
// Enum: [Pending Consistent Invalid]
Status *string `json:"status"`
// StatusMessages contains a list of messages related to Status
StatusMessages []string `json:"statusMessages"`
// UseAutomation describes if TLS certificate is automatically issued using automation (ACME)
// Required: true
UseAutomation *bool `json:"useAutomation"`
}
TLS TLS configuration and status for external DNS
swagger:model TLS
func (*TLS) ContextValidate ¶ added in v1.14.0
ContextValidate validate this TLS based on the context it is used
func (*TLS) MarshalBinary ¶ added in v1.14.0
MarshalBinary interface implementation
func (*TLS) UnmarshalBinary ¶ added in v1.14.0
UnmarshalBinary interface implementation
type TLSCertificate ¶
type TLSCertificate struct {
// DNSNames defines list of Subject Alternate Names in the certificate
DNSNames []string `json:"dnsNames"`
// Issuer contains the distinguished name for the certificate's issuer
// Example: CN=DigiCert TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US
// Required: true
Issuer *string `json:"issuer"`
// NotAfter defines the uppdater date/time validity boundary
// Required: true
// Format: date-time
NotAfter *strfmt.DateTime `json:"notAfter"`
// NotBefore defines the lower date/time validity boundary
// Required: true
// Format: date-time
NotBefore *strfmt.DateTime `json:"notBefore"`
// Subject contains the distinguished name for the certificate
// Example: CN=mysite.example.com,O=MyOrg,L=MyLocation,C=NO
// Required: true
Subject *string `json:"subject"`
}
TLSCertificate TLSCertificate holds information about a TLS certificate
swagger:model TLSCertificate
func (*TLSCertificate) ContextValidate ¶
ContextValidate validates this TLS certificate based on context it is used
func (*TLSCertificate) MarshalBinary ¶
func (m *TLSCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TLSCertificate) UnmarshalBinary ¶
func (m *TLSCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAlertingConfig ¶
type UpdateAlertingConfig struct {
// alerts
// Required: true
Alerts AlertConfigList `json:"alerts"`
// receiver secrets
// Required: true
ReceiverSecrets UpdateReceiverConfigSecretsMap `json:"receiverSecrets"`
// receivers
// Required: true
Receivers ReceiverConfigMap `json:"receivers"`
}
UpdateAlertingConfig UpdateAlertingConfig contains fields for updating alert settings
swagger:model UpdateAlertingConfig
func (*UpdateAlertingConfig) ContextValidate ¶
ContextValidate validate this update alerting config based on the context it is used
func (*UpdateAlertingConfig) MarshalBinary ¶
func (m *UpdateAlertingConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAlertingConfig) UnmarshalBinary ¶
func (m *UpdateAlertingConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateExternalDNSTLSRequest ¶ added in v1.14.0
type UpdateExternalDNSTLSRequest struct {
// X509 certificate in PEM format
// Required: true
Certificate *string `json:"certificate"`
// Private key in PEM format
// Required: true
PrivateKey *string `json:"privateKey"`
// Skip validation of certificate and private key
SkipValidation bool `json:"skipValidation,omitempty"`
}
UpdateExternalDNSTLSRequest UpdateExternalDNSTLSRequest describes request body for setting private key and certificate for external DNS TLS
swagger:model UpdateExternalDNSTLSRequest
func (*UpdateExternalDNSTLSRequest) ContextValidate ¶ added in v1.14.0
func (m *UpdateExternalDNSTLSRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update external DNS TLS request based on context it is used
func (*UpdateExternalDNSTLSRequest) MarshalBinary ¶ added in v1.14.0
func (m *UpdateExternalDNSTLSRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateExternalDNSTLSRequest) UnmarshalBinary ¶ added in v1.14.0
func (m *UpdateExternalDNSTLSRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateReceiverConfigSecrets ¶
type UpdateReceiverConfigSecrets struct {
// slack config
SlackConfig *UpdateSlackConfigSecrets `json:"slackConfig,omitempty"`
}
UpdateReceiverConfigSecrets UpdateReceiverConfigSecrets defines secrets to be updated
swagger:model UpdateReceiverConfigSecrets
func (*UpdateReceiverConfigSecrets) ContextValidate ¶
func (m *UpdateReceiverConfigSecrets) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update receiver config secrets based on the context it is used
func (*UpdateReceiverConfigSecrets) MarshalBinary ¶
func (m *UpdateReceiverConfigSecrets) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateReceiverConfigSecrets) UnmarshalBinary ¶
func (m *UpdateReceiverConfigSecrets) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateReceiverConfigSecretsMap ¶
type UpdateReceiverConfigSecretsMap map[string]UpdateReceiverConfigSecrets
UpdateReceiverConfigSecretsMap UpdateReceiverConfigSecretsMap defines a map of UpdateReceiverConfigSecrets where key is the name of the receiver
swagger:model UpdateReceiverConfigSecretsMap
func (UpdateReceiverConfigSecretsMap) ContextValidate ¶
func (m UpdateReceiverConfigSecretsMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update receiver config secrets map based on the context it is used
type UpdateSlackConfigSecrets ¶
type UpdateSlackConfigSecrets struct {
// WebhookURL the Slack webhook URL where alerts are sent
// Secret key for webhook URL is updated if a non-nil value is present, and deleted if omitted or set to null
//
// required:
WebhookURL *string `json:"webhookUrl,omitempty"`
}
UpdateSlackConfigSecrets UpdateSlackConfig defines secrets to be updated for Slack
swagger:model UpdateSlackConfigSecrets
func (*UpdateSlackConfigSecrets) ContextValidate ¶
func (m *UpdateSlackConfigSecrets) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update slack config secrets based on context it is used
func (*UpdateSlackConfigSecrets) MarshalBinary ¶
func (m *UpdateSlackConfigSecrets) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateSlackConfigSecrets) UnmarshalBinary ¶
func (m *UpdateSlackConfigSecrets) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type X509Certificate ¶ added in v1.14.0
type X509Certificate struct {
// DNSNames defines list of Subject Alternate Names in the certificate
DNSNames []string `json:"dnsNames"`
// Issuer contains the distinguished name for the certificate's issuer
// Example: CN=DigiCert TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US
// Required: true
Issuer *string `json:"issuer"`
// NotAfter defines the uppdater date/time validity boundary
// Required: true
// Format: date-time
NotAfter *strfmt.DateTime `json:"notAfter"`
// NotBefore defines the lower date/time validity boundary
// Required: true
// Format: date-time
NotBefore *strfmt.DateTime `json:"notBefore"`
// Subject contains the distinguished name for the certificate
// Example: CN=mysite.example.com,O=MyOrg,L=MyLocation,C=NO
// Required: true
Subject *string `json:"subject"`
}
X509Certificate X509Certificate holds information about a X509 certificate
swagger:model X509Certificate
func (*X509Certificate) ContextValidate ¶ added in v1.14.0
ContextValidate validates this x509 certificate based on context it is used
func (*X509Certificate) MarshalBinary ¶ added in v1.14.0
func (m *X509Certificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*X509Certificate) UnmarshalBinary ¶ added in v1.14.0
func (m *X509Certificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- alert_config.go
- alert_config_list.go
- alerting_config.go
- application.go
- application_alias.go
- application_registration.go
- application_registration_patch.go
- application_registration_patch_request.go
- application_registration_request.go
- application_registration_upsert_response.go
- application_search_include_fields.go
- application_summary.go
- applications_search_request.go
- auxiliary_resource.go
- auxiliary_resource_deployment.go
- azure_identity.go
- azure_key_vault_secret_version.go
- build_secret.go
- component.go
- component_summary.go
- deploy_key_and_secret.go
- deployment.go
- deployment_item.go
- deployment_summary.go
- deployment_summary_pipeline_job_info.go
- dns_alias.go
- dns_alias_status.go
- env_var.go
- env_var_metadata.go
- env_var_parameter.go
- environment.go
- environment_summary.go
- event.go
- external_dns.go
- horizontal_scaling_summary.go
- identity.go
- image_hub_secret.go
- job.go
- job_summary.go
- machine_user.go
- node.go
- notifications.go
- o_auth2_auxiliary_resource.go
- object_state.go
- pipeline_parameters_build.go
- pipeline_parameters_deploy.go
- pipeline_parameters_promote.go
- pipeline_run.go
- pipeline_run_task.go
- pipeline_run_task_step.go
- pod_state.go
- port.go
- promotion_parameters.go
- receiver_config.go
- receiver_config_map.go
- receiver_config_secret_status.go
- receiver_config_secret_status_map.go
- regenerate_deploy_key_and_secret_data.go
- replica_status.go
- replica_summary.go
- resource_requirements.go
- resources.go
- scheduled_batch_request.go
- scheduled_batch_summary.go
- scheduled_job_request.go
- scheduled_job_summary.go
- secret.go
- secret_parameters.go
- secret_type.go
- slack_config.go
- slack_config_secret_status.go
- step.go
- tls.go
- tls_certificate.go
- update_alerting_config.go
- update_external_dns_tls_request.go
- update_receiver_config_secrets.go
- update_receiver_config_secrets_map.go
- update_slack_config_secrets.go
- x509_certificate.go