Documentation ¶
Overview ¶
Package repositoryserver validates the secret credentials for all location profiles.
Index ¶
- Constants
- func NewAWSLocation(secret *corev1.Secret) *aws
- func NewAzureLocation(secret *corev1.Secret) *azure
- func NewFileStoreLocation(secret *corev1.Secret) *fileStore
- func NewGCPLocation(secret *corev1.Secret) *gcp
- func NewRepoPassword(secret *corev1.Secret) *repositoryPassword
- func NewRepositoryServerAdminCredentials(secret *corev1.Secret) *repositoryServerAdminCredentials
- func NewRepositoryServerUserAccessCredentials(secret *corev1.Secret) *repositoryServerUserAccessCredentials
- func NewS3CompliantLocation(secret *corev1.Secret) *s3Compliant
- type LocType
- type Secret
Constants ¶
View Source
const ( LocTypeS3 LocType = "s3" LocTypes3Compliant LocType = "s3Compliant" LocTypeGCS LocType = "gcs" LocTypeAzure LocType = "azure" LocTypeFilestore LocType = "filestore" // Location represents the storage location secret type for kopia repository server Location corev1.SecretType = "secrets.kanister.io/storage-location" // RepositoryPasswordSecret represents the kopia repository passowrd secret type RepositoryPasswordSecret corev1.SecretType = "secrets.kanister.io/kopia-repository/password" // AdminCredentialsSecret represents the kopia server admin credentials secret type AdminCredentialsSecret corev1.SecretType = "secrets.kanister.io/kopia-repository/serveradmin" )
View Source
const ( // Location secret keys BucketKey = "bucket" EndpointKey = "endpoint" PrefixKey = "prefix" RegionKey = "region" SkipSSLVerifyKey = "skipSSLVerify" TypeKey = "type" // Location secret key to be used only for filestore location type ClaimNameKey = "claimName" // Kopia Repository Server secret keys RepoPasswordKey = "repo-password" AdminUsernameKey = "username" AdminPasswordKey = "password" )
Variables ¶
This section is empty.
Functions ¶
func NewAWSLocation ¶
func NewAzureLocation ¶
func NewFileStoreLocation ¶
func NewGCPLocation ¶
func NewRepoPassword ¶
func NewS3CompliantLocation ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.