Documentation ¶
Index ¶
- type MockSecretStoreClient
- func (m *MockSecretStoreClient) CheckSecretEngineInstalled(token string, mountPoint string, engine string) (isInstalled bool, err error)
- func (m *MockSecretStoreClient) CreateToken(token string, parameters map[string]interface{}, response interface{}) (statusCode int, err error)
- func (m *MockSecretStoreClient) EnableKVSecretEngine(token string, mountPoint string, kvVersion string) (statusCode int, err error)
- func (m *MockSecretStoreClient) HealthCheck() (statusCode int, err error)
- func (m *MockSecretStoreClient) Init(secretThreshold int, secretShares int, initResponse *InitResponse) (statusCode int, err error)
- func (m *MockSecretStoreClient) InstallPolicy(token string, policyName string, policyDocument string) (statusCode int, err error)
- func (m *MockSecretStoreClient) ListAccessors(token string, accessors *[]string) (statusCode int, err error)
- func (m *MockSecretStoreClient) LookupAccessor(token string, accessor string, tokenMetadata *TokenMetadata) (statusCode int, err error)
- func (m *MockSecretStoreClient) LookupSelf(token string, tokenMetadata *TokenMetadata) (statusCode int, err error)
- func (m *MockSecretStoreClient) RegenRootToken(initResponse *InitResponse, rootToken *string) (err error)
- func (m *MockSecretStoreClient) RevokeAccessor(token string, accessor string) (statusCode int, err error)
- func (m *MockSecretStoreClient) RevokeSelf(token string) (statusCode int, err error)
- func (m *MockSecretStoreClient) Unseal(initResponse *InitResponse) (statusCode int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecretStoreClient ¶
func (*MockSecretStoreClient) CheckSecretEngineInstalled ¶
func (*MockSecretStoreClient) CreateToken ¶
func (m *MockSecretStoreClient) CreateToken(token string, parameters map[string]interface{}, response interface{}) (statusCode int, err error)
func (*MockSecretStoreClient) EnableKVSecretEngine ¶
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 (*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)
Click to show internal directories.
Click to hide internal directories.