jx: github.com/jenkins-x/jx/pkg/vault/mocks Index | Files | Directories

package vault_test

import "github.com/jenkins-x/jx/pkg/vault/mocks"

Index

Package Files

vault_client.go

type MockClient Uses

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

func NewMockClient Uses

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

func (*MockClient) Config Uses

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

func (*MockClient) FailHandler Uses

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

func (*MockClient) List Uses

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

func (*MockClient) Read Uses

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

func (*MockClient) ReadObject Uses

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

func (*MockClient) ReadYaml Uses

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

func (*MockClient) ReplaceURIs Uses

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

func (*MockClient) SetFailHandler Uses

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

func (*MockClient) VerifyWasCalled Uses

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

func (*MockClient) VerifyWasCalledEventually Uses

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

func (*MockClient) VerifyWasCalledInOrder Uses

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

func (*MockClient) VerifyWasCalledOnce Uses

func (mock *MockClient) VerifyWasCalledOnce() *VerifierMockClient

func (*MockClient) Write Uses

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

func (*MockClient) WriteObject Uses

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

func (*MockClient) WriteYaml Uses

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

type MockClient_Config_OngoingVerification Uses

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

func (*MockClient_Config_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockClient_Config_OngoingVerification) GetAllCapturedArguments()

func (*MockClient_Config_OngoingVerification) GetCapturedArguments Uses

func (c *MockClient_Config_OngoingVerification) GetCapturedArguments()

type MockClient_List_OngoingVerification Uses

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

func (*MockClient_List_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockClient_List_OngoingVerification) GetCapturedArguments Uses

func (c *MockClient_List_OngoingVerification) GetCapturedArguments() string

type MockClient_ReadObject_OngoingVerification Uses

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

func (*MockClient_ReadObject_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockClient_ReadObject_OngoingVerification) GetCapturedArguments Uses

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

type MockClient_ReadYaml_OngoingVerification Uses

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

func (*MockClient_ReadYaml_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockClient_ReadYaml_OngoingVerification) GetCapturedArguments Uses

func (c *MockClient_ReadYaml_OngoingVerification) GetCapturedArguments() string

type MockClient_Read_OngoingVerification Uses

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

func (*MockClient_Read_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockClient_Read_OngoingVerification) GetCapturedArguments Uses

func (c *MockClient_Read_OngoingVerification) GetCapturedArguments() string

type MockClient_ReplaceURIs_OngoingVerification Uses

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

func (*MockClient_ReplaceURIs_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockClient_ReplaceURIs_OngoingVerification) GetCapturedArguments Uses

func (c *MockClient_ReplaceURIs_OngoingVerification) GetCapturedArguments() string

type MockClient_WriteObject_OngoingVerification Uses

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

func (*MockClient_WriteObject_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockClient_WriteObject_OngoingVerification) GetCapturedArguments Uses

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

type MockClient_WriteYaml_OngoingVerification Uses

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

func (*MockClient_WriteYaml_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockClient_WriteYaml_OngoingVerification) GetCapturedArguments Uses

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

type MockClient_Write_OngoingVerification Uses

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

func (*MockClient_Write_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockClient_Write_OngoingVerification) GetCapturedArguments Uses

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

type VerifierMockClient Uses

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

func (*VerifierMockClient) Config Uses

func (verifier *VerifierMockClient) Config() *MockClient_Config_OngoingVerification

func (*VerifierMockClient) List Uses

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

func (*VerifierMockClient) Read Uses

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

func (*VerifierMockClient) ReadObject Uses

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

func (*VerifierMockClient) ReadYaml Uses

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

func (*VerifierMockClient) ReplaceURIs Uses

func (verifier *VerifierMockClient) ReplaceURIs(_param0 string) *MockClient_ReplaceURIs_OngoingVerification

func (*VerifierMockClient) Write Uses

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

func (*VerifierMockClient) WriteObject Uses

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

func (*VerifierMockClient) WriteYaml Uses

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

Directories

PathSynopsis
matchersCode generated by pegomock.

Package vault_test imports 4 packages (graph) and is imported by 1 packages. Updated 2019-07-20. Refresh now. Tools for package owners.