stubs

package
v1.1.0-alpha.1....-1f45cd0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

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

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

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

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 (*ManagedZonesListCall) Do

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 (*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 (*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 Quota

type Quota struct {
	// contains filtered or unexported fields
}

type ResourceRecordSet

type ResourceRecordSet struct {
	Name_    string
	Rrdatas_ []string
	Ttl_     int64
	Type_    string
}

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 (*ResourceRecordSetsListCall) Name

func (*ResourceRecordSetsListCall) Pages

func (*ResourceRecordSetsListCall) Type

type ResourceRecordSetsListResponse

type ResourceRecordSetsListResponse struct {
	// contains filtered or unexported fields
}

func (*ResourceRecordSetsListResponse) Rrsets

type ResourceRecordSetsService

type ResourceRecordSetsService struct {
	Service  *Service
	ListCall interfaces.ResourceRecordSetsListCall // Use to override response if required for testing
}

func (ResourceRecordSetsService) Get

func (s ResourceRecordSetsService) Get(project, managedZone, name string) interfaces.ResourceRecordSetsListCall

func (ResourceRecordSetsService) List

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL