Documentation ¶
Index ¶
- Constants
- func NewARecordSet(hostname string, hostExternalIp string, resourceName string, ttl int64) *dns.ResourceRecordSet
- func NewSrvRecordSet(hostname string, gs *agonesv1.GameServer, ttl int64, aRecordName string) *dns.ResourceRecordSet
- type GoogleDnsClient
- func (c *GoogleDnsClient) IgnoreAlreadyExists(err error) error
- func (c *GoogleDnsClient) IgnoreClientError(err error) error
- func (c *GoogleDnsClient) RemoveGameServerExternalDns(hostname string, gs *agonesv1.GameServer) error
- func (c *GoogleDnsClient) RemoveNodeExternalDns(hostname string, node *corev1.Node) error
- func (c *GoogleDnsClient) SetGameServerExternalDns(hostname string, gs *agonesv1.GameServer) error
- func (c *GoogleDnsClient) SetNodeExternalDns(hostname string, node *corev1.Node) error
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewARecordSet ¶
func NewSrvRecordSet ¶
func NewSrvRecordSet(hostname string, gs *agonesv1.GameServer, ttl int64, aRecordName string) *dns.ResourceRecordSet
Types ¶
type GoogleDnsClient ¶
type GoogleDnsClient struct { *dns.Service // contains filtered or unexported fields }
func NewDnsClient ¶
func NewDnsClient(managedZone, projectId string) (*GoogleDnsClient, error)
func (*GoogleDnsClient) IgnoreAlreadyExists ¶
func (c *GoogleDnsClient) IgnoreAlreadyExists(err error) error
func (*GoogleDnsClient) IgnoreClientError ¶
func (c *GoogleDnsClient) IgnoreClientError(err error) error
func (*GoogleDnsClient) RemoveGameServerExternalDns ¶
func (c *GoogleDnsClient) RemoveGameServerExternalDns(hostname string, gs *agonesv1.GameServer) error
func (*GoogleDnsClient) RemoveNodeExternalDns ¶
func (c *GoogleDnsClient) RemoveNodeExternalDns(hostname string, node *corev1.Node) error
func (*GoogleDnsClient) SetGameServerExternalDns ¶
func (c *GoogleDnsClient) SetGameServerExternalDns(hostname string, gs *agonesv1.GameServer) error
func (*GoogleDnsClient) SetNodeExternalDns ¶
func (c *GoogleDnsClient) SetNodeExternalDns(hostname string, node *corev1.Node) error
Click to show internal directories.
Click to hide internal directories.