Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OCIAuthConfig ¶
type OCIAuthConfig struct {
Region string `yaml:"region"`
TenancyID string `yaml:"tenancy"`
UserID string `yaml:"user"`
PrivateKey string `yaml:"key"`
Fingerprint string `yaml:"fingerprint"`
Passphrase string `yaml:"passphrase"`
}
OCIAuthConfig holds connection parameters for the OCI API.
type OCIConfig ¶
type OCIConfig struct {
Auth OCIAuthConfig `yaml:"auth"`
CompartmentID string `yaml:"compartment"`
}
OCIConfig holds the configuration for the OCI Provider.
func LoadOCIConfig ¶
func LoadOCIConfig(path string) (*OCIConfig, error)
LoadOCIConfig reads and parses the OCI ExternalDNS config file at the given path.
type OCIProvider ¶
type OCIProvider struct {
provider.BaseProvider
// contains filtered or unexported fields
}
OCIProvider is an implementation of Provider for Oracle Cloud Infrastructure (OCI) DNS.
func NewOCIProvider ¶
func NewOCIProvider(cfg OCIConfig, domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, dryRun bool) (*OCIProvider, error)
NewOCIProvider initializes a new OCI DNS based Provider.
func (*OCIProvider) ApplyChanges ¶
func (p *OCIProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error
ApplyChanges applies a given set of changes to a given zone.
Click to show internal directories.
Click to hide internal directories.