fakes

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 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 {
	ListAppSecurityGroupsCall struct {
		CallCount int
		Receives  struct {
			ResourceGroupName string
		}
		Returns struct {
			List  []string
			Error error
		}
	}

	DeleteAppSecurityGroupCall struct {
		CallCount int
		Receives  struct {
			ResourceGroupName string
			Name              string
		}
		Returns struct {
			Error error
		}
	}
}

func (*AppSecurityGroupsClient) DeleteAppSecurityGroup added in v0.56.0

func (c *AppSecurityGroupsClient) DeleteAppSecurityGroup(rgName, name string) error

func (*AppSecurityGroupsClient) ListAppSecurityGroups added in v0.56.0

func (c *AppSecurityGroupsClient) ListAppSecurityGroups(rgName string) ([]string, error)

type GroupsClient

type GroupsClient struct {
	ListGroupsCall struct {
		CallCount int
		Returns   struct {
			List  []string
			Error error
		}
	}

	DeleteGroupCall struct {
		CallCount int
		Receives  struct {
			Name string
		}
		Returns struct {
			Error error
		}
	}
}

func (*GroupsClient) DeleteGroup added in v0.56.0

func (i *GroupsClient) DeleteGroup(name string) error

func (*GroupsClient) ListGroups added in v0.56.0

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

type Logger

type Logger struct {
	PrintfCall struct {
		Receives struct {
			Message   string
			Arguments []interface{}
		}
		Messages []string
	}

	PrintlnCall struct {
		Receives struct {
			Message string
		}
		Messages []string
	}

	PromptWithDetailsCall struct {
		CallCount int
		Receives  struct {
			Type string
			Name string
		}
		Returns struct {
			Proceed bool
		}
	}
}

func (*Logger) NoConfirm added in v0.17.0

func (l *Logger) NoConfirm()

func (*Logger) Printf

func (l *Logger) Printf(message string, a ...interface{})

func (*Logger) Println

func (l *Logger) Println(message string)

func (*Logger) PromptWithDetails added in v0.25.0

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