fakes

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 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 {
		CallCount int
		Receives  struct {
			Zone    string
			Cluster string
		}
		Returns struct {
			Error error
		}
		Stub func(string, string) error
		// contains filtered or unexported fields
	}
	ListClustersCall struct {
		CallCount int
		Returns   struct {
			ListClustersResponse *container.ListClustersResponse
			Error                error
		}
		Stub func() (*container.ListClustersResponse, error)
		// contains filtered or unexported fields
	}
}

func (*ClustersClient) DeleteCluster

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

func (*ClustersClient) ListClusters

func (f *ClustersClient) ListClusters() (*container.ListClustersResponse, error)

type Logger

type Logger struct {
	DebugfCall struct {
		CallCount int
		Receives  struct {
			Message string
			A       []interface {
			}
		}
		Stub func(string, ...interface {
		})
		// contains filtered or unexported fields
	}
	PrintfCall struct {
		CallCount int
		Receives  struct {
			Message string
			A       []interface {
			}
		}
		Stub func(string, ...interface {
		})
		// contains filtered or unexported fields
	}
	PromptWithDetailsCall struct {
		CallCount int
		Receives  struct {
			ResourceType string
			ResourceName string
		}
		Returns struct {
			Proceed bool
		}
		Stub func(string, string) bool
		// contains filtered or unexported fields
	}
}

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