Documentation ¶
Index ¶
- Constants
- Variables
- type MockSSMClient
- func (m *MockSSMClient) GetParameter(input *ssm.GetParameterInput) (*ssm.GetParameterOutput, error)
- func (m *MockSSMClient) GetParametersByPath(input *ssm.GetParametersByPathInput) (*ssm.GetParametersByPathOutput, error)
- func (m *MockSSMClient) PutParameter(input *ssm.PutParameterInput) (*ssm.PutParameterOutput, error)
Constants ¶
View Source
const ( Key1 = "test/webapp/cocpit_api_pass" Key2 = "test/webapp/user_api_pass" Key3 = "test/cockpit/user_api_pass" )
View Source
const ( SSMKey1 = "/" + Key1 SSMKey2 = "/" + Key2 SSMKey3 = "/" + Key3 )
Variables ¶
View Source
var KeyValueMap = map[string]string{ Key1: "as9@#$%^&*(/2hdiwnf", Key2: "as9@#$&*(/2saddsahdiwnf", Key3: "#$&*(/2saddsah&as", }
View Source
var SSMKeyValueMap = map[string]string{ SSMKey1: KeyValueMap[Key1], SSMKey2: KeyValueMap[Key2], SSMKey3: KeyValueMap[Key3], }
Functions ¶
This section is empty.
Types ¶
type MockSSMClient ¶
MockSSMClient fake SSMAPI
func (*MockSSMClient) GetParameter ¶
func (m *MockSSMClient) GetParameter(input *ssm.GetParameterInput) (*ssm.GetParameterOutput, error)
func (*MockSSMClient) GetParametersByPath ¶
func (m *MockSSMClient) GetParametersByPath(input *ssm.GetParametersByPathInput) (*ssm.GetParametersByPathOutput, error)
https://docs.aws.amazon.com/sdk-for-go/api/service/ssm/#SSM.GetParametersByPath https://docs.aws.amazon.com/sdk-for-go/api/service/ssm/#GetParametersByPathInput
func (*MockSSMClient) PutParameter ¶
func (m *MockSSMClient) PutParameter(input *ssm.PutParameterInput) (*ssm.PutParameterOutput, error)
Click to show internal directories.
Click to hide internal directories.