Documentation
¶
Index ¶
- type IBMCloudProvider
- func (p *IBMCloudProvider) AdjustEndpoints(endpoints []*endpoint.Endpoint) []*endpoint.Endpoint
- func (p *IBMCloudProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error
- func (p *IBMCloudProvider) PropertyValuesEqual(name string, previous string, current string) bool
- func (p *IBMCloudProvider) Records(ctx context.Context) (endpoints []*endpoint.Endpoint, err error)
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMCloudProvider ¶
type IBMCloudProvider struct { provider.BaseProvider Client ibmcloudClient DryRun bool // contains filtered or unexported fields }
IBMCloudProvider is an implementation of Provider for IBM Cloud DNS.
func NewIBMCloudProvider ¶
func NewIBMCloudProvider(configFile string, domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, source source.Source, proxiedByDefault bool, dryRun bool) (*IBMCloudProvider, error)
NewIBMCloudProvider creates a new IBMCloud provider.
Returns the provider or an error if a provider could not be created.
func (*IBMCloudProvider) AdjustEndpoints ¶
func (p *IBMCloudProvider) AdjustEndpoints(endpoints []*endpoint.Endpoint) []*endpoint.Endpoint
AdjustEndpoints modifies the endpoints as needed by the specific provider
func (*IBMCloudProvider) ApplyChanges ¶
ApplyChanges applies a given set of changes in a given zone.
func (*IBMCloudProvider) PropertyValuesEqual ¶
func (p *IBMCloudProvider) PropertyValuesEqual(name string, previous string, current string) bool
Click to show internal directories.
Click to hide internal directories.