adapter

package
v0.45.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RedisServerPersistencePropertyKey = "persistence"
	RedisServerPort                   = 6379
	RedisJobName                      = "redis-server"
	HealthCheckErrandName             = "health-check"
	CleanupDataErrandName             = "cleanup-data"
	LifecycleErrandType               = "errand"
)
View Source
const (
	ManagedSecretValue          = "HardcodedAdapterValue"
	ManagedSecretKey            = "odb_managed_secret"
	IgnoreSecretKey             = "ignore_secret"
	GeneratedSecretKey          = "generated_secret"
	GeneratedSecretVariableName = "secret_pass"
	CertificateVariableName     = "instance_certificate"
	CloudConfigKey              = "cloud"
	VMExtensionsConfigKey       = "vm_extensions_config"
)

Variables

View Source
var CurrentPasswordGenerator = randomPasswordGenerator

Functions

This section is empty.

Types

type Binder

type Binder struct {
	StderrLogger *log.Logger
	Config       Config
}

func (Binder) CreateBinding

func (Binder) DeleteBinding

func (b Binder) DeleteBinding(params serviceadapter.DeleteBindingParams) error

type CloudConfig

type CloudConfig struct {
	VMExtensions []VMExtension `yaml:"vm_extensions"`
}

type Config

type Config struct {
	RedisInstanceGroupName         string `yaml:"redis_instance_group_name"`
	IgnoreODBManagedSecretOnUpdate bool   `yaml:"ignore_odb_managed_secret_on_update"`
	SecureManifestsEnabled         bool   `yaml:"secure_manifests_enabled"`
}

func LoadConfig

func LoadConfig(path string, logger *log.Logger) (Config, error)

type DashboardGenerator

type DashboardGenerator struct{}

func (DashboardGenerator) DashboardUrl

type ManifestGenerator

type ManifestGenerator struct {
	StderrLogger *log.Logger
	Config       Config
}

type VMExtension

type VMExtension struct {
	Name            string                 `yaml:"name"`
	CloudProperties map[string]interface{} `yaml:"cloud_properties"`
}

Jump to

Keyboard shortcuts

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