Documentation
¶
Overview ¶
dynamicrp holds the implementation of the dynamic resource provider. The dynamicrp is responsible for managing the lifecycle of resources that are defined without their own resource provider implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Bicep configures properties for the Bicep recipe driver.
Bicep hostoptions.BicepOptions `yaml:"bicep"`
// Environment is the configuration for the hosting environment.
Environment hostoptions.EnvironmentOptions `yaml:"environment"`
// Logging is the configuration for the logging system.
Logging ucplog.LoggingOptions `yaml:"logging"`
// Metrics is the configuration for the metrics endpoint.
Metrics metricsprovider.MetricsProviderOptions `yaml:"metricsProvider"`
// Profiler is the configuration for the profiler endpoint.
Profiler profilerprovider.ProfilerProviderOptions `yaml:"profilerProvider"`
// Queue is the configuration for the message queue.
Queue queueprovider.QueueProviderOptions `yaml:"queueProvider"`
// Secrets is the configuration for the secret storage system.
Secrets secretprovider.SecretProviderOptions `yaml:"secretProvider"`
// Server is the configuration for the HTTP server.
Server hostoptions.ServerOptions `yaml:"server"`
// Storage is the configuration for the database used for storage.
Storage dataprovider.StorageProviderOptions `yaml:"storageProvider"`
// Terraform configures properties for the Terraform recipe driver.
Terraform hostoptions.TerraformOptions `yaml:"terraform"`
// Tracing is the configuration for the tracing system.
Tracing trace.Options `yaml:"tracerProvider"`
// UCPConfig is the configuration for the connection to UCP.
UCP ucpconfig.UCPOptions `yaml:"ucp"`
// Worker is the configuration for the backend worker server.
Worker hostoptions.WorkerServerOptions `yaml:"workerServer"`
}
Config defines the configuration for the DynamicRP server.
type Options ¶
type Options struct {
// Config is the configuration for the server.
Config *Config
// QueueProvider provides access to the message queue client.
QueueProvider *queueprovider.QueueProvider
// Recipes is the configuration for the recipe subsystem.
Recipes *controllerconfig.RecipeControllerConfig
// SecretProvider provides access to the secret storage system.
SecretProvider *secretprovider.SecretProvider
// StatusManager implements operations on async operation statuses.
StatusManager statusmanager.StatusManager
// StorageProvider provides access to the data storage system.
StorageProvider dataprovider.DataStorageProvider
// UCP is the connection to UCP
UCP sdk.Connection
}
Options holds the configuration options and shared services for the server.
Click to show internal directories.
Click to hide internal directories.