vault_test

package
v1.3.1119 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 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 MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

func NewMockClient

func NewMockClient(options ...pegomock.Option) *MockClient

func (*MockClient) Config

func (mock *MockClient) Config() (url.URL, string, error)

func (*MockClient) FailHandler added in v1.3.1104

func (mock *MockClient) FailHandler() pegomock.FailHandler

func (*MockClient) List

func (mock *MockClient) List(_param0 string) ([]string, error)

func (*MockClient) Read

func (mock *MockClient) Read(_param0 string) (map[string]interface{}, error)

func (*MockClient) ReadObject

func (mock *MockClient) ReadObject(_param0 string, _param1 interface{}) error

func (*MockClient) ReadYaml added in v1.3.845

func (mock *MockClient) ReadYaml(_param0 string) (string, error)

func (*MockClient) SetFailHandler added in v1.3.1104

func (mock *MockClient) SetFailHandler(fh pegomock.FailHandler)

func (*MockClient) VerifyWasCalled

func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockClient

func (*MockClient) VerifyWasCalledEventually

func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockClient

func (*MockClient) VerifyWasCalledInOrder

func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockClient

func (*MockClient) VerifyWasCalledOnce

func (mock *MockClient) VerifyWasCalledOnce() *VerifierMockClient

func (*MockClient) Write

func (mock *MockClient) Write(_param0 string, _param1 map[string]interface{}) (map[string]interface{}, error)

func (*MockClient) WriteObject

func (mock *MockClient) WriteObject(_param0 string, _param1 interface{}) (map[string]interface{}, error)

func (*MockClient) WriteYaml

func (mock *MockClient) WriteYaml(_param0 string, _param1 string) (map[string]interface{}, error)

type MockClient_Config_OngoingVerification added in v1.3.1104

type MockClient_Config_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockClient_Config_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockClient_Config_OngoingVerification) GetAllCapturedArguments()

func (*MockClient_Config_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockClient_Config_OngoingVerification) GetCapturedArguments()

type MockClient_List_OngoingVerification added in v1.3.1104

type MockClient_List_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockClient_List_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockClient_List_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockClient_List_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockClient_List_OngoingVerification) GetCapturedArguments() string

type MockClient_ReadObject_OngoingVerification added in v1.3.1104

type MockClient_ReadObject_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockClient_ReadObject_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockClient_ReadObject_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []interface{})

func (*MockClient_ReadObject_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockClient_ReadObject_OngoingVerification) GetCapturedArguments() (string, interface{})

type MockClient_ReadYaml_OngoingVerification added in v1.3.1104

type MockClient_ReadYaml_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockClient_ReadYaml_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockClient_ReadYaml_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockClient_ReadYaml_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockClient_ReadYaml_OngoingVerification) GetCapturedArguments() string

type MockClient_Read_OngoingVerification added in v1.3.1104

type MockClient_Read_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockClient_Read_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockClient_Read_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockClient_Read_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockClient_Read_OngoingVerification) GetCapturedArguments() string

type MockClient_WriteObject_OngoingVerification added in v1.3.1104

type MockClient_WriteObject_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockClient_WriteObject_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockClient_WriteObject_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []interface{})

func (*MockClient_WriteObject_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockClient_WriteObject_OngoingVerification) GetCapturedArguments() (string, interface{})

type MockClient_WriteYaml_OngoingVerification added in v1.3.1104

type MockClient_WriteYaml_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockClient_WriteYaml_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockClient_WriteYaml_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string)

func (*MockClient_WriteYaml_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockClient_WriteYaml_OngoingVerification) GetCapturedArguments() (string, string)

type MockClient_Write_OngoingVerification added in v1.3.1104

type MockClient_Write_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockClient_Write_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockClient_Write_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []map[string]interface{})

func (*MockClient_Write_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockClient_Write_OngoingVerification) GetCapturedArguments() (string, map[string]interface{})

type VerifierMockClient added in v1.3.1104

type VerifierMockClient struct {
	// contains filtered or unexported fields
}

func (*VerifierMockClient) Config added in v1.3.1104

func (*VerifierMockClient) List added in v1.3.1104

func (*VerifierMockClient) Read added in v1.3.1104

func (*VerifierMockClient) ReadObject added in v1.3.1104

func (verifier *VerifierMockClient) ReadObject(_param0 string, _param1 interface{}) *MockClient_ReadObject_OngoingVerification

func (*VerifierMockClient) ReadYaml added in v1.3.1104

func (*VerifierMockClient) Write added in v1.3.1104

func (verifier *VerifierMockClient) Write(_param0 string, _param1 map[string]interface{}) *MockClient_Write_OngoingVerification

func (*VerifierMockClient) WriteObject added in v1.3.1104

func (verifier *VerifierMockClient) WriteObject(_param0 string, _param1 interface{}) *MockClient_WriteObject_OngoingVerification

func (*VerifierMockClient) WriteYaml added in v1.3.1104

func (verifier *VerifierMockClient) WriteYaml(_param0 string, _param1 string) *MockClient_WriteYaml_OngoingVerification

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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