Documentation ¶
Index ¶
- type Change
- type ChangesCreateCall
- type ChangesService
- type ManagedZone
- type ManagedZonesCreateCall
- type ManagedZonesDeleteCall
- type ManagedZonesGetCall
- type ManagedZonesListCall
- type ManagedZonesListResponse
- type ManagedZonesService
- func (m *ManagedZonesService) Create(project string, managedzone interfaces.ManagedZone) interfaces.ManagedZonesCreateCall
- func (m *ManagedZonesService) Delete(project string, managedZone string) interfaces.ManagedZonesDeleteCall
- func (m *ManagedZonesService) Get(project string, managedZone string) interfaces.ManagedZonesGetCall
- func (m *ManagedZonesService) List(project string) interfaces.ManagedZonesListCall
- func (m *ManagedZonesService) NewManagedZone(dnsName string) interfaces.ManagedZone
- type Project
- type ProjectsGetCall
- type ProjectsService
- type Quota
- type ResourceRecordSet
- type ResourceRecordSetsListCall
- func (call *ResourceRecordSetsListCall) Do(opts ...googleapi.CallOption) (interfaces.ResourceRecordSetsListResponse, error)
- func (call *ResourceRecordSetsListCall) Name(name string) interfaces.ResourceRecordSetsListCall
- func (call *ResourceRecordSetsListCall) Type(type_ string) interfaces.ResourceRecordSetsListCall
- type ResourceRecordSetsListResponse
- type ResourceRecordSetsService
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct { Service *ChangesService Additions_ []interfaces.ResourceRecordSet Deletions_ []interfaces.ResourceRecordSet }
func (*Change) Additions ¶
func (c *Change) Additions() (rrsets []interfaces.ResourceRecordSet)
func (*Change) Deletions ¶
func (c *Change) Deletions() (rrsets []interfaces.ResourceRecordSet)
type ChangesCreateCall ¶
type ChangesCreateCall struct { Service *ChangesService Project string Zone string Change interfaces.Change Error error // Use this to over-ride response if necessary }
func (ChangesCreateCall) Do ¶
func (c ChangesCreateCall) Do(opts ...googleapi.CallOption) (interfaces.Change, error)
type ChangesService ¶
type ChangesService struct {
Service *Service
}
func (*ChangesService) Create ¶
func (c *ChangesService) Create(project string, managedZone string, change interfaces.Change) interfaces.ChangesCreateCall
func (*ChangesService) NewChange ¶
func (c *ChangesService) NewChange(additions, deletions []interfaces.ResourceRecordSet) interfaces.Change
type ManagedZone ¶
type ManagedZone struct { Service *ManagedZonesService Name_ string Id_ uint64 Rrsets []ResourceRecordSet }
func (ManagedZone) DnsName ¶
func (m ManagedZone) DnsName() string
func (ManagedZone) Id ¶
func (m ManagedZone) Id() uint64
func (ManagedZone) Name ¶
func (m ManagedZone) Name() string
type ManagedZonesCreateCall ¶
type ManagedZonesCreateCall struct { Error *error // Use to override response for testing Service *ManagedZonesService Project string ManagedZone interfaces.ManagedZone }
func (ManagedZonesCreateCall) Do ¶
func (call ManagedZonesCreateCall) Do(opts ...googleapi.CallOption) (interfaces.ManagedZone, error)
type ManagedZonesDeleteCall ¶
type ManagedZonesDeleteCall struct { Service *ManagedZonesService Project string ZoneName string Error *error // Use this to override response for testing if required }
func (ManagedZonesDeleteCall) Do ¶
func (call ManagedZonesDeleteCall) Do(opts ...googleapi.CallOption) error
type ManagedZonesGetCall ¶
type ManagedZonesGetCall struct { Service *ManagedZonesService Project string ZoneName string Response interfaces.ManagedZone // Use this to override response if required Error *error // Use this to override response if required DnsName_ string }
func (ManagedZonesGetCall) Do ¶
func (call ManagedZonesGetCall) Do(opts ...googleapi.CallOption) (interfaces.ManagedZone, error)
type ManagedZonesListCall ¶
type ManagedZonesListCall struct { Service *ManagedZonesService Project string Response *interfaces.ManagedZonesListResponse // Use this to override response if required Error *error // Use this to override response if required DnsName_ string }
func (*ManagedZonesListCall) DnsName ¶
func (call *ManagedZonesListCall) DnsName(dnsName string) interfaces.ManagedZonesListCall
func (*ManagedZonesListCall) Do ¶
func (call *ManagedZonesListCall) Do(opts ...googleapi.CallOption) (interfaces.ManagedZonesListResponse, error)
type ManagedZonesListResponse ¶
type ManagedZonesListResponse struct{ ManagedZones_ []interfaces.ManagedZone }
func (*ManagedZonesListResponse) ManagedZones ¶
func (response *ManagedZonesListResponse) ManagedZones() []interfaces.ManagedZone
type ManagedZonesService ¶
type ManagedZonesService struct {
Impl map[string]map[string]interfaces.ManagedZone
}
func (*ManagedZonesService) Create ¶
func (m *ManagedZonesService) Create(project string, managedzone interfaces.ManagedZone) interfaces.ManagedZonesCreateCall
func (*ManagedZonesService) Delete ¶
func (m *ManagedZonesService) Delete(project string, managedZone string) interfaces.ManagedZonesDeleteCall
func (*ManagedZonesService) Get ¶
func (m *ManagedZonesService) Get(project string, managedZone string) interfaces.ManagedZonesGetCall
func (*ManagedZonesService) List ¶
func (m *ManagedZonesService) List(project string) interfaces.ManagedZonesListCall
func (*ManagedZonesService) NewManagedZone ¶
func (m *ManagedZonesService) NewManagedZone(dnsName string) interfaces.ManagedZone
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
TODO: We don't need these yet, so they remain unimplemented. Add later as required.
type ProjectsGetCall ¶
type ProjectsGetCall struct {
// contains filtered or unexported fields
}
type ProjectsService ¶
type ProjectsService struct {
// contains filtered or unexported fields
}
type ResourceRecordSet ¶
func (ResourceRecordSet) Name ¶
func (r ResourceRecordSet) Name() string
func (ResourceRecordSet) Rrdatas ¶
func (r ResourceRecordSet) Rrdatas() []string
func (ResourceRecordSet) Ttl ¶
func (r ResourceRecordSet) Ttl() int64
func (ResourceRecordSet) Type ¶
func (r ResourceRecordSet) Type() string
type ResourceRecordSetsListCall ¶
type ResourceRecordSetsListCall struct { Response_ *ResourceRecordSetsListResponse Err_ error Name_ string Type_ string }
func (*ResourceRecordSetsListCall) Do ¶
func (call *ResourceRecordSetsListCall) Do(opts ...googleapi.CallOption) (interfaces.ResourceRecordSetsListResponse, error)
func (*ResourceRecordSetsListCall) Name ¶
func (call *ResourceRecordSetsListCall) Name(name string) interfaces.ResourceRecordSetsListCall
func (*ResourceRecordSetsListCall) Type ¶
func (call *ResourceRecordSetsListCall) Type(type_ string) interfaces.ResourceRecordSetsListCall
type ResourceRecordSetsListResponse ¶
type ResourceRecordSetsListResponse struct {
// contains filtered or unexported fields
}
func (*ResourceRecordSetsListResponse) Rrsets ¶
func (response *ResourceRecordSetsListResponse) Rrsets() []interfaces.ResourceRecordSet
type ResourceRecordSetsService ¶
type ResourceRecordSetsService struct { Service *Service ListCall interfaces.ResourceRecordSetsListCall // Use to override response if required for testing }
func (ResourceRecordSetsService) List ¶
func (s ResourceRecordSetsService) List(project string, managedZone string) interfaces.ResourceRecordSetsListCall
func (ResourceRecordSetsService) NewResourceRecordSet ¶
func (service ResourceRecordSetsService) NewResourceRecordSet(name string, rrdatas []string, ttl int64, type_ rrstype.RrsType) interfaces.ResourceRecordSet
type Service ¶
type Service struct { Changes_ *ChangesService ManagedZones_ *ManagedZonesService Projects_ *ProjectsService Rrsets_ *ResourceRecordSetsService }
func NewService ¶
func NewService() *Service
func (*Service) Changes ¶
func (s *Service) Changes() interfaces.ChangesService
func (*Service) ManagedZones ¶
func (s *Service) ManagedZones() interfaces.ManagedZonesService
func (*Service) Projects ¶
func (s *Service) Projects() interfaces.ProjectsService
func (*Service) ResourceRecordSets ¶
func (s *Service) ResourceRecordSets() interfaces.ResourceRecordSetsService
Source Files ¶
- change.go
- changes_create_call.go
- changes_service.go
- clouddns.go
- managed_zone.go
- managed_zone_create_call.go
- managed_zones_delete_call.go
- managed_zones_get_call.go
- managed_zones_list_call.go
- managed_zones_list_response.go
- managed_zones_service.go
- rrset.go
- rrsets_list_call.go
- rrsets_list_response.go
- rrsets_service.go
- service.go
Click to show internal directories.
Click to hide internal directories.