Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶ added in v0.2.4
type Discovery struct {
// contains filtered or unexported fields
}
Discovery periodically performs OCI-SD requests. It implements the Discoverer interface.
func NewDiscovery ¶
NewDiscovery returns a new OCI discovery which periodically refreshes its targets.
type SDConfig ¶
type SDConfig struct { User string FingerPrint string KeyFile string PassPhrase string `toml:",omitempty"` Tenancy string Region string Compartment string Port int `toml:",omitempty"` RefreshInterval model.Duration `toml:",omitempty"` InstancePrincipal bool Sanitise bool }
SDConfig is the configuration for OCI based service discovery.
func (*SDConfig) ApplyDefault ¶
ApplyDefault function applies default values to the optional fields of the SDConfig struct if these are not provided.
Click to show internal directories.
Click to hide internal directories.