Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationStatus ¶
type ConfigurationStatus int
ConfigurationStatus Enumeration of the statuses of configuration
const ( // Pending In configuration but not in cluster Pending ConfigurationStatus = iota // Consistent In configuration and in cluster Consistent // Orphan In cluster and not in configuration Orphan // External Secret value is in external resource, status unknown External )
func (ConfigurationStatus) String ¶
func (p ConfigurationStatus) String() string
type Secret ¶
type Secret struct {
// Name of the secret or its property, related to type and resource)
//
// required: true
// example: db_password
Name string `json:"name"`
// DisplayName of the secret
//
// required: false
// example: Database password
DisplayName string `json:"displayName,omitempty"`
// Type of the secret
//
// required: false
// example: csi-az-blob
Type SecretType `json:"type,omitempty"`
// Resource of the secrets
//
// required: false
// example: volumeAbc
Resource string `json:"resource,omitempty"`
// Component name of the component having the secret
//
// required: false
// example: api
Component string `json:"component,omitempty"`
// Status of the secret
// - Pending = Secret exists in Radix config, but not in cluster
// - Consistent = Secret exists in Radix config and in cluster
// - Orphan = Secret does not exist in Radix config, but exists in cluster
//
// required: false
// example: Consistent
Status string `json:"status,omitempty"`
}
Secret holds general information about secret swagger:model Secret
type SecretParameters ¶
type SecretParameters struct {
// Name the unique name of the Radix application deployment
//
// required: true
// example: p4$sW0rDz
SecretValue string `json:"secretValue"`
// Type of the secret
//
// required: false
// example: csi-az-blob
Type SecretType `json:"type,omitempty"`
}
SecretParameters describes a component secret swagger:model SecretParameters
type SecretType ¶
type SecretType string
const ( SecretTypeGeneric SecretType = "generic" SecretTypeClientCert SecretType = "client-cert" SecretTypeAzureBlobFuseVolume SecretType = "azure-blob-fuse-volume" SecretTypeCsiAzureBlobVolume SecretType = "csi-azure-blob-volume" SecretTypeCsiAzureKeyVaultCreds SecretType = "csi-azure-key-vault-creds" SecretTypeCsiAzureKeyVaultItem SecretType = "csi-azure-key-vault-item" SecretTypeClientCertificateAuth SecretType = "client-cert-auth" SecretTypeOAuth2Proxy SecretType = "oauth2-proxy" SecretTypeOrphaned SecretType = "orphaned" SecretTypePending SecretType = "pending" )
Click to show internal directories.
Click to hide internal directories.