fakes

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2018 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 InstancesClient

type InstancesClient struct {
	ListInstancesCall struct {
		CallCount int
		Returns   struct {
			Output *gcpsql.InstancesListResponse
			Error  error
		}
	}

	DeleteInstanceCall struct {
		CallCount int
		Receives  struct {
			Instance string
		}
		Returns struct {
			Error error
		}
	}
}

func (*InstancesClient) DeleteInstance

func (u *InstancesClient) DeleteInstance(instance string) error

func (*InstancesClient) ListInstances

func (u *InstancesClient) ListInstances() (*gcpsql.InstancesListResponse, error)

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

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

Jump to

Keyboard shortcuts

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