providers

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Amazon = amazon.Provider
	Azure  = azure.Provider
	Google = google.Provider

	BucketCreating    = "CREATING"
	BucketCreated     = "AVAILABLE"
	BucketCreateError = "ERROR_CREATE"

	BucketDeleting    = "DELETING"
	BucketDeleted     = "DELETED"
	BucketDeleteError = "ERROR_DELETE"
)

Variables

This section is empty.

Functions

func NewSecretValidator

func NewSecretValidator(secrets secretStore) *secretValidator

NewSecretValidator returns a struct which validates that a secret belongs to a cloud provider.

func ValidateProvider

func ValidateProvider(provider string) error

ValidateProvider validates if the passed cloud provider is supported. Unsupported cloud providers trigger an pkgErrors.ErrorNotSupportedCloudType error.

Types

This section is empty.

Directories

Path Synopsis
ec2

Jump to

Keyboard shortcuts

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