fakes

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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 ClustersClient

type ClustersClient struct {
	ListClustersCall struct {
		CallCount int
		Receives  struct {
			Zone string
		}
		Returns struct {
			Output *gcpcontainer.ListClustersResponse
			Error  error
		}
	}
	DeleteClusterCall struct {
		CallCount int
		Receives  struct {
			Zone    string
			Cluster string
		}
		Returns struct {
			Error error
		}
	}
}

func (*ClustersClient) DeleteCluster

func (c *ClustersClient) DeleteCluster(zone string, cluster string) error

func (*ClustersClient) ListClusters

func (c *ClustersClient) ListClusters(zone string) (*gcpcontainer.ListClustersResponse, 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