mocks

package
v1.2.2-dev.84 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSecretStoreClient

type MockSecretStoreClient struct {
	mock.Mock
}

func (*MockSecretStoreClient) CheckSecretEngineInstalled

func (m *MockSecretStoreClient) CheckSecretEngineInstalled(token string, mountPoint string, engine string) (isInstalled bool, err error)

func (*MockSecretStoreClient) CreateToken

func (m *MockSecretStoreClient) CreateToken(token string, parameters map[string]interface{}, response interface{}) (statusCode int, err error)

func (*MockSecretStoreClient) EnableKVSecretEngine

func (m *MockSecretStoreClient) EnableKVSecretEngine(token string, mountPoint string, kvVersion string) (statusCode int, err error)

func (*MockSecretStoreClient) HealthCheck

func (m *MockSecretStoreClient) HealthCheck() (statusCode int, err error)

func (*MockSecretStoreClient) Init

func (m *MockSecretStoreClient) Init(secretThreshold int, secretShares int, initResponse *InitResponse) (statusCode int, err error)

func (*MockSecretStoreClient) InstallPolicy

func (m *MockSecretStoreClient) InstallPolicy(token string, policyName string, policyDocument string) (statusCode int, err error)

func (*MockSecretStoreClient) ListAccessors

func (m *MockSecretStoreClient) ListAccessors(token string, accessors *[]string) (statusCode int, err error)

func (*MockSecretStoreClient) LookupAccessor

func (m *MockSecretStoreClient) LookupAccessor(token string, accessor string, tokenMetadata *TokenMetadata) (statusCode int, err error)

func (*MockSecretStoreClient) LookupSelf

func (m *MockSecretStoreClient) LookupSelf(token string, tokenMetadata *TokenMetadata) (statusCode int, err error)

func (*MockSecretStoreClient) RegenRootToken

func (m *MockSecretStoreClient) RegenRootToken(initResponse *InitResponse, rootToken *string) (err error)

func (*MockSecretStoreClient) RevokeAccessor

func (m *MockSecretStoreClient) RevokeAccessor(token string, accessor string) (statusCode int, err error)

func (*MockSecretStoreClient) RevokeSelf

func (m *MockSecretStoreClient) RevokeSelf(token string) (statusCode int, err error)

func (*MockSecretStoreClient) Unseal

func (m *MockSecretStoreClient) Unseal(initResponse *InitResponse) (statusCode int, err error)

Jump to

Keyboard shortcuts

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