models

package
v1.116.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretIdClientId     string = "clientId"
	SecretIdClientSecret string = "clientSecret"
	SecretIdAccountName  string = "accountName"
	SecretIdAccountKey   string = "accountKey"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureKeyVaultSecretVersion

type AzureKeyVaultSecretVersion struct {
	// ReplicaName which uses the secret
	//
	// required: true
	// example: abcdf
	ReplicaName string `json:"replicaName"`

	// ReplicaCreated which uses the secret
	//
	// required: true
	// example: 2006-01-02T15:04:05Z
	ReplicaCreated string `json:"replicaCreated"`

	// JobName which uses the secret
	//
	// required: false
	// example: job-abc
	JobName string `json:"jobName"`

	// JobCreated which uses the secret
	//
	// required: false
	// example: 2006-01-02T15:04:05Z
	JobCreated string `json:"jobCreated"`

	// BatchName which uses the secret
	//
	// required: false
	// example: batch-abc
	BatchName string `json:"batchName"`

	// BatchCreated which uses the secret
	//
	// required: false
	// example: 2006-01-02T15:04:05Z
	BatchCreated string `json:"batchCreated"`

	// Version of the secret
	//
	// required: true
	// example: 0123456789
	Version string `json:"version"`
}

AzureKeyVaultSecretVersion holds a version of a Azure Key vault secret swagger:model AzureKeyVaultSecretVersion

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: generic
	Type SecretType `json:"type,omitempty"`

	// Resource of the secrets
	//
	// required: false
	// example: volumeAbc
	Resource string `json:"resource,omitempty"`

	// ID of the secret within the Resource
	//
	// required: false
	// example: clientId
	ID string `json:"id,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
	// - NotAvailable = Secret is available in external secret configuration but not in cluster
	//
	// required: false
	// enum: Pending,Consistent,NotAvailable
	// example: Consistent
	Status string `json:"status,omitempty"`

	// Updated timestamp of the last change
	//
	// required: false
	// swagger:strfmt date-time
	Updated *time.Time `json:"updated,omitempty"`
}

Secret holds general information about secret swagger:model Secret

func (Secret) String

func (secret Secret) String() string

type SecretParameters

type SecretParameters struct {
	// Name the unique name of the Radix application deployment
	//
	// required: true
	// example: p4$sW0rDz
	SecretValue string `json:"secretValue"`
}

SecretParameters describes a component secret swagger:model SecretParameters

type SecretStatus

type SecretStatus int

SecretStatus Enumeration of the statuses of a secret

const (
	// Pending In configuration but not in cluster
	Pending SecretStatus = iota

	// Consistent In configuration and in cluster
	Consistent

	// NotAvailable In external secret configuration but in cluster
	NotAvailable
)

func (SecretStatus) String

func (p SecretStatus) String() string

type SecretType

type SecretType string

swagger:enum SecretType

const (
	SecretTypeGeneric               SecretType = "generic"
	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"
)

type UpdateExternalDNSTLSRequest

type UpdateExternalDNSTLSRequest struct {
	// Private key in PEM format
	//
	// required: true
	PrivateKey string `json:"privateKey"`

	// X509 certificate in PEM format
	//
	// required: true
	Certificate string `json:"certificate"`

	// Skip validation of certificate and private key
	//
	// required: false
	SkipValidation bool `json:"skipValidation"`
}

UpdateExternalDNSTLSRequest describes request body for setting private key and certificate for external DNS TLS swagger:model UpdateExternalDnsTlsRequest

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL