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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppSecurityGroupsClient added in v0.56.0

type AppSecurityGroupsClient struct {
	DeleteAppSecurityGroupCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			RgName string
			Name   string
		}
		Returns struct {
			Error error
		}
		Stub func(string, string) error
	}
	ListAppSecurityGroupsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			RgName string
		}
		Returns struct {
			StringSlice []string
			Error       error
		}
		Stub func(string) ([]string, error)
	}
}

func (*AppSecurityGroupsClient) DeleteAppSecurityGroup added in v0.56.0

func (f *AppSecurityGroupsClient) DeleteAppSecurityGroup(param1 string, param2 string) error

func (*AppSecurityGroupsClient) ListAppSecurityGroups added in v0.56.0

func (f *AppSecurityGroupsClient) ListAppSecurityGroups(param1 string) ([]string, error)

type GroupsClient

type GroupsClient struct {
	DeleteGroupCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Name string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
	}
	ListGroupsCall struct {
		sync.Mutex
		CallCount int
		Returns   struct {
			Groups []string
			Err    error
		}
		Stub func() ([]string, error)
	}
}

func (*GroupsClient) DeleteGroup added in v0.56.0

func (f *GroupsClient) DeleteGroup(param1 string) error

func (*GroupsClient) ListGroups added in v0.56.0

func (f *GroupsClient) ListGroups() ([]string, error)

type Logger

type Logger struct {
	DebuglnCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Message string
		}
		Stub func(string)
	}
	NoConfirmCall struct {
		sync.Mutex
		CallCount int
		Stub      func()
	}
	PrintfCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Message string
			Args    []interface {
			}
		}
		Stub func(string, ...interface {
		})
	}
	PrintlnCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Message string
		}
		Stub func(string)
	}
	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) NoConfirm added in v0.17.0

func (f *Logger) NoConfirm()

func (*Logger) Printf

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

func (*Logger) Println

func (f *Logger) Println(param1 string)

func (*Logger) PromptWithDetails added in v0.25.0

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