fakes

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	PrintfCall struct {
		Receives struct {
			Message   string
			Arguments []interface{}
		}
		Messages []string
	}

	PromptWithDetailsCall struct {
		CallCount int
		Receives  struct {
			Type string
			Name string
		}
		Returns struct {
			Proceed bool
		}
	}
}

func (*Logger) Printf

func (l *Logger) Printf(message string, a ...interface{})

func (*Logger) PromptWithDetails added in v0.24.0

func (l *Logger) PromptWithDetails(resourceType, resourceName string) bool

type ManagedZonesClient

type ManagedZonesClient struct {
	ListManagedZonesCall struct {
		CallCount int
		Returns   struct {
			Output *gcpdns.ManagedZonesListResponse
			Error  error
		}
	}

	DeleteManagedZoneCall struct {
		CallCount int
		Receives  struct {
			ManagedZone string
		}
		Returns struct {
			Error error
		}
	}
}

func (*ManagedZonesClient) DeleteManagedZone

func (u *ManagedZonesClient) DeleteManagedZone(managedZone string) error

func (*ManagedZonesClient) ListManagedZones

func (u *ManagedZonesClient) ListManagedZones() (*gcpdns.ManagedZonesListResponse, error)

type RecordSets

type RecordSets struct {
	DeleteCall struct {
		CallCount int
		Receives  struct {
			ManagedZone string
		}
		Returns struct {
			Error error
		}
	}
}

func (*RecordSets) Delete

func (r *RecordSets) Delete(managedZone string) error

type RecordSetsClient

type RecordSetsClient struct {
	ListRecordSetsCall struct {
		CallCount int
		Receives  struct {
			ManagedZone string
		}
		Returns struct {
			Output *gcpdns.ResourceRecordSetsListResponse
			Error  error
		}
	}

	DeleteRecordSetsCall struct {
		CallCount int
		Receives  struct {
			ManagedZone string
			Change      *gcpdns.Change
		}
		Returns struct {
			Error error
		}
	}
}

func (*RecordSetsClient) DeleteRecordSets

func (r *RecordSetsClient) DeleteRecordSets(managedZone string, change *gcpdns.Change) error

func (*RecordSetsClient) ListRecordSets

func (r *RecordSetsClient) ListRecordSets(managedZone string) (*gcpdns.ResourceRecordSetsListResponse, error)

Jump to

Keyboard shortcuts

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