Documentation ¶
Index ¶
- Constants
- Variables
- type MockBackendClient
- func (m *MockBackendClient) DeleteObject(input *types.DeleteObjectInput) error
- func (m *MockBackendClient) GetObject(input *types.GetObjectInput) (*types.GetObjectOutput, error)
- func (m *MockBackendClient) GetObjects(input *types.GetObjectsInput) (*types.GetObjectsOuput, error)
- func (m *MockBackendClient) PutObject(input *types.PutObjectInput) error
Constants ¶
View Source
const ( Key1 = "test/webapp/cockpit_api_pass" Key1NoEnv = "webapp/cockpit_api_pass" ShortKey1 = "cockpit_api_pass" Key2 = "test/webapp/user_api_pass" Key2NoEnv = "webapp/user_api_pass" ShortKey2 = "user_api_pass" Key3 = "test/cockpit/user_api_pass" Key3NoEnv = "cockpit/user_api_pass" ShortKey3 = "user_api_pass" Key4 = "test/webapp/some_key" Key4NoEnv = "webapp/some_key" ShortKey4 = "some_key" Key5 = "test/airmail/DATABASE_URL" Key5NoEnv = "airmail/DATABASE_URL" ShortKey5 = "DATABASE_URL" Key6 = "test/airmail/user_api_pass" Key6NoEnv = "airmail/user_api_pass" ShortKey6 = "user_api_pass" Key7 = "test/aircom/TWILIO_AUTH_TOKEN" Key7NoEnv = "aircom/TWILIO_AUTH_TOKEN" ShortKey7 = "TWILIO_AUTH_TOKEN" Key8 = "test/aircom/NEW_RELIC_LICENSE_KEY" Key8NoEnv = "aircom/NEW_RELIC_LICENSE_KEY" ShortKey8 = "NEW_RELIC_LICENSE_KEY" Key9 = "test/slack/SLACK_TOKEN" Key9NoEnv = "slack/SLACK_TOKEN" ShortKey9 = "SLACK_TOKEN" )
Variables ¶
View Source
var KeyValueMap = map[string]string{ Key1: "as9@#$%^&*(/2hdiwnf", Key2: "as9@#$&*(/2saddsahdiwnf", Key3: "#$&*(/2saddsah&as", Key4: "value=with=multiple=equal=signs==", Key5: "postgres://user:password@ip:port/db", Key6: "2oui3yrwohsf", Key7: "weoirgfhdh", Key8: "sfjsoidhgi340j", Key9: "sdfjksdfjksdf", }
Functions ¶
This section is empty.
Types ¶
type MockBackendClient ¶
type MockBackendClient struct {
backend.BackendAPI
}
MockBackendClient fake backendAPI
func (*MockBackendClient) DeleteObject ¶ added in v0.12.0
func (m *MockBackendClient) DeleteObject(input *types.DeleteObjectInput) error
func (*MockBackendClient) GetObject ¶
func (m *MockBackendClient) GetObject(input *types.GetObjectInput) (*types.GetObjectOutput, error)
func (*MockBackendClient) GetObjects ¶
func (m *MockBackendClient) GetObjects(input *types.GetObjectsInput) (*types.GetObjectsOuput, error)
func (*MockBackendClient) PutObject ¶
func (m *MockBackendClient) PutObject(input *types.PutObjectInput) error
Click to show internal directories.
Click to hide internal directories.