Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSClient ¶
type DNSClient interface { GetManagedZones(ctx context.Context) (map[string]string, error) CreateOrUpdateRecordSet(ctx context.Context, view, zone, name, record_type string, values []string, ttl int64) error DeleteRecordSet(ctx context.Context, zone, name, recordType string) error }
func NewDNSClient ¶
func NewDNSClient(ctx context.Context, username string, password string, host string) (DNSClient, error)
NewDNSClient creates a new dns client based on the Infoblox config provided
func NewDNSClientFromSecretRef ¶
func NewDNSClientFromSecretRef(ctx context.Context, c client.Client, secretRef corev1.SecretReference) (DNSClient, error)
get DNS client from secret reference func (c *dnsClient) NewDNSClientFromSecretRef(ctx context.Context, cl client.Client, secretRef corev1.SecretReference) (DNSClient, error) {
type InfobloxConfig ¶
type InfobloxConfig struct { Host *string `json:"host,omitempty"` Port *int `json:"port,omitempty"` SSLVerify *bool `json:"sslVerify,omitempty"` Version *string `json:"version,omitempty"` View *string `json:"view,omitempty"` PoolConnections *int `json:"httpPoolConnections,omitempty"` RequestTimeout *int `json:"httpRequestTimeout,omitempty"` CaCert *string `json:"caCert,omitempty"` MaxResults int `json:"maxResults,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` }
type RecordSet ¶
type RecordSet []raw.Base_Record
Click to show internal directories.
Click to hide internal directories.