fakes

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupsClient

type GroupsClient struct {
	ListCall struct {
		CallCount int
		Receives  struct {
			Filter string
			Top    *int32
		}
		Returns struct {
			Output resources.GroupListResult
			Error  error
		}
	}

	DeleteCall struct {
		CallCount int
		Receives  struct {
			Name    string
			Channel <-chan struct{}
		}
		Returns struct {
			Output <-chan autorest.Response
			Error  <-chan error
		}
	}
}

func (*GroupsClient) Delete

func (i *GroupsClient) Delete(name string, channel <-chan struct{}) (<-chan autorest.Response, <-chan error)

func (*GroupsClient) List

func (i *GroupsClient) List(filter string, top *int32) (resources.GroupListResult, 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