vault_test

package
v2.1.74 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 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

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

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

func (*MockClient) ReplaceURIs

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

func (*MockClient) SetFailHandler

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

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

func (*MockClient_Config_OngoingVerification) GetAllCapturedArguments

func (c *MockClient_Config_OngoingVerification) GetAllCapturedArguments()

func (*MockClient_Config_OngoingVerification) GetCapturedArguments

func (c *MockClient_Config_OngoingVerification) GetCapturedArguments()

type MockClient_List_OngoingVerification

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

func (*MockClient_List_OngoingVerification) GetAllCapturedArguments

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

func (*MockClient_List_OngoingVerification) GetCapturedArguments

func (c *MockClient_List_OngoingVerification) GetCapturedArguments() string

type MockClient_ReadObject_OngoingVerification

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

func (*MockClient_ReadObject_OngoingVerification) GetAllCapturedArguments

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

func (*MockClient_ReadObject_OngoingVerification) GetCapturedArguments

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

type MockClient_ReadYaml_OngoingVerification

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

func (*MockClient_ReadYaml_OngoingVerification) GetAllCapturedArguments

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

func (*MockClient_ReadYaml_OngoingVerification) GetCapturedArguments

func (c *MockClient_ReadYaml_OngoingVerification) GetCapturedArguments() string

type MockClient_Read_OngoingVerification

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

func (*MockClient_Read_OngoingVerification) GetAllCapturedArguments

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

func (*MockClient_Read_OngoingVerification) GetCapturedArguments

func (c *MockClient_Read_OngoingVerification) GetCapturedArguments() string

type MockClient_ReplaceURIs_OngoingVerification

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

func (*MockClient_ReplaceURIs_OngoingVerification) GetAllCapturedArguments

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

func (*MockClient_ReplaceURIs_OngoingVerification) GetCapturedArguments

func (c *MockClient_ReplaceURIs_OngoingVerification) GetCapturedArguments() string

type MockClient_WriteObject_OngoingVerification

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

func (*MockClient_WriteObject_OngoingVerification) GetAllCapturedArguments

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

func (*MockClient_WriteObject_OngoingVerification) GetCapturedArguments

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

type MockClient_WriteYaml_OngoingVerification

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

func (*MockClient_WriteYaml_OngoingVerification) GetAllCapturedArguments

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

func (*MockClient_WriteYaml_OngoingVerification) GetCapturedArguments

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

type MockClient_Write_OngoingVerification

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

func (*MockClient_Write_OngoingVerification) GetAllCapturedArguments

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

func (*MockClient_Write_OngoingVerification) GetCapturedArguments

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

type VerifierMockClient

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

func (*VerifierMockClient) Config

func (*VerifierMockClient) List

func (*VerifierMockClient) Read

func (*VerifierMockClient) ReadObject

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

func (*VerifierMockClient) ReadYaml

func (*VerifierMockClient) ReplaceURIs

func (*VerifierMockClient) Write

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

func (*VerifierMockClient) WriteObject

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

func (*VerifierMockClient) WriteYaml

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