 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( // AuthUCPCredential is the authentication method via UCP Credential API. AuthUCPCredential = "UCPCredential" // AuthDefault is the default authentication method, such as environment variables. AuthDefault = "default" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostOptions ¶
type HostOptions struct {
	// Config is the bootstrap configuration loaded from config file.
	Config *UCPConfig
}
    HostOptions defines all of the settings that our RP's execution environment provides.
func NewHostOptionsFromEnvironment ¶
func NewHostOptionsFromEnvironment(configPath string) (HostOptions, error)
NewHostOptionsFromEnvironment reads the configuration from the given path and returns a HostOptions object, or an error if the configuration could not be loaded.
type Identity ¶
type Identity struct {
	// AuthMethod represents the method of authentication for authenticating with external systems like Azure and AWS.
	AuthMethod string `yaml:"authMethod"`
}
    Identity represents configuration options for authenticating with external systems like Azure and AWS.
type RoutingConfig ¶ added in v0.41.0
type RoutingConfig struct {
	// DefaultDownstreamEndpoint is the default destination when a resource provider does not provide a downstream endpoint.
	// In practice, this points to the URL of dynamic-rp.
	DefaultDownstreamEndpoint string `yaml:"defaultDownstreamEndpoint"`
}
    RoutingConfig provides configuration for UCP routing.
type UCPConfig ¶
type UCPConfig struct {
	StorageProvider  dataprovider.StorageProviderOptions      `yaml:"storageProvider"`
	Planes           []rest.Plane                             `yaml:"planes"`
	SecretProvider   provider.SecretProviderOptions           `yaml:"secretProvider"`
	MetricsProvider  metricsprovider.MetricsProviderOptions   `yaml:"metricsProvider"`
	ProfilerProvider profilerprovider.ProfilerProviderOptions `yaml:"profilerProvider"`
	QueueProvider    qprovider.QueueProviderOptions           `yaml:"queueProvider"`
	TracerProvider   trace.Options                            `yaml:"tracerProvider"`
	Logging          ucplog.LoggingOptions                    `yaml:"logging"`
	Identity         Identity                                 `yaml:"identity,omitempty"`
	UCP              config.UCPOptions                        `yaml:"ucp"`
	Location         string                                   `yaml:"location"`
	Routing          RoutingConfig                            `yaml:"routing"`
}
    UCPConfig includes the resource provider configuration.
 Click to show internal directories. 
   Click to hide internal directories.