fakes

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 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 {
	DeleteClusterCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Zone    string
			Cluster string
		}
		Returns struct {
			Error error
		}
		Stub func(string, string) error
	}
	ListClustersCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Zone string
		}
		Returns struct {
			ListClustersResponse *gcpcontainer.ListClustersResponse
			Error                error
		}
		Stub func(string) (*gcpcontainer.ListClustersResponse, error)
	}
}

func (*ClustersClient) DeleteCluster

func (f *ClustersClient) DeleteCluster(param1 string, param2 string) error

func (*ClustersClient) ListClusters

func (f *ClustersClient) ListClusters(param1 string) (*gcpcontainer.ListClustersResponse, error)

type Logger

type Logger struct {
	DebugfCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Message string
			A       []interface {
			}
		}
		Stub func(string, ...interface {
		})
	}
	PrintfCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Message string
			A       []interface {
			}
		}
		Stub func(string, ...interface {
		})
	}
	PromptWithDetailsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			ResourceType string
			ResourceName string
		}
		Returns struct {
			Proceed bool
		}
		Stub func(string, string) bool
	}
}

func (*Logger) Debugf added in v0.57.0

func (f *Logger) Debugf(param1 string, param2 ...interface {
})

func (*Logger) Printf

func (f *Logger) Printf(param1 string, param2 ...interface {
})

func (*Logger) PromptWithDetails

func (f *Logger) PromptWithDetails(param1 string, param2 string) bool

Jump to

Keyboard shortcuts

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