Back to godoc.org
github.com/jenkins-x/jx/pkg/vault/mocks

package vault_test

v1.3.1119
Latest Go to latest
Published: Apr 15, 2019 | License: Apache-2.0 | Module: github.com/jenkins-x/jx

Index

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) 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_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 (verifier *VerifierMockClient) Config() *MockClient_Config_OngoingVerification

func (*VerifierMockClient) List

func (verifier *VerifierMockClient) List(_param0 string) *MockClient_List_OngoingVerification

func (*VerifierMockClient) Read

func (verifier *VerifierMockClient) Read(_param0 string) *MockClient_Read_OngoingVerification

func (*VerifierMockClient) ReadObject

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

func (*VerifierMockClient) ReadYaml

func (verifier *VerifierMockClient) ReadYaml(_param0 string) *MockClient_ReadYaml_OngoingVerification

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
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier