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: 4 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 {
	DebuglnCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Message string
		}
		Stub func(string)
	}
	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) Debugln added in v0.57.0

func (f *Logger) Debugln(param1 string)

func (*Logger) Printf

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

func (*Logger) PromptWithDetails

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

type LogicalRoutingAPI added in v0.57.0

type LogicalRoutingAPI struct {
	DeleteLogicalRouterCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Ctx               context.Context
			Id                string
			LocalVarOptionals map[string]interface {
			}
		}
		Returns struct {
			Response *http.Response
			Error    error
		}
		Stub func(context.Context, string, map[string]interface {
		}) (*http.Response, error)
	}
	ListLogicalRoutersCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Ctx               context.Context
			LocalVarOptionals map[string]interface {
			}
		}
		Returns struct {
			LogicalRouterListResult manager.LogicalRouterListResult
			Response                *http.Response
			Error                   error
		}
		Stub func(context.Context, map[string]interface {
		}) (manager.LogicalRouterListResult, *http.Response, error)
	}
}

func (*LogicalRoutingAPI) DeleteLogicalRouter added in v0.57.0

func (f *LogicalRoutingAPI) DeleteLogicalRouter(param1 context.Context, param2 string, param3 map[string]interface {
}) (*http.Response, error)

func (*LogicalRoutingAPI) ListLogicalRouters added in v0.57.0

func (f *LogicalRoutingAPI) ListLogicalRouters(param1 context.Context, param2 map[string]interface {
}) (manager.LogicalRouterListResult, *http.Response, error)

Jump to

Keyboard shortcuts

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