Documentation ¶
Index ¶
- type Mock
- func (m *Mock) CancelCommand(log log.T, commandID string, instanceIDs []string) (response *ssm.CancelCommandOutput, err error)
- func (m *Mock) CreateDocument(log log.T, docName string, docContent string) (response *ssm.CreateDocumentOutput, err error)
- func (m *Mock) DeleteDocument(log log.T, instanceID string) (response *ssm.DeleteDocumentOutput, err error)
- func (m *Mock) ListAssociations(log log.T, instanceID string) (response *ssm.ListAssociationsOutput, err error)
- func (m *Mock) ListCommandInvocations(log log.T, instanceID string, commandID string) (response *ssm.ListCommandInvocationsOutput, err error)
- func (m *Mock) ListCommands(log log.T, instanceID string) (response *ssm.ListCommandsOutput, err error)
- func (m *Mock) SendCommand(log log.T, documentName string, instanceIDs []string, ...) (response *ssm.SendCommandOutput, err error)
- func (m *Mock) UpdateInstanceInformation(log log.T, agentVersion string, agentStatus string) (response *ssm.UpdateInstanceInformationOutput, err error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
Mock stands for a mocked SSM service.
func NewMockDefault ¶
func NewMockDefault() *Mock
NewMockDefault returns an instance of Mock with default expectations set.
func (*Mock) CancelCommand ¶
func (m *Mock) CancelCommand(log log.T, commandID string, instanceIDs []string) (response *ssm.CancelCommandOutput, err error)
CancelCommand mocks the CancelCommand function.
func (*Mock) CreateDocument ¶
func (m *Mock) CreateDocument(log log.T, docName string, docContent string) (response *ssm.CreateDocumentOutput, err error)
CreateDocument mocks the CreateDocument function.
func (*Mock) DeleteDocument ¶
func (m *Mock) DeleteDocument(log log.T, instanceID string) (response *ssm.DeleteDocumentOutput, err error)
DeleteDocument mocks the DeleteDocument function.
func (*Mock) ListAssociations ¶
func (m *Mock) ListAssociations(log log.T, instanceID string) (response *ssm.ListAssociationsOutput, err error)
ListAssociations mocks the ListAssociations function.
func (*Mock) ListCommandInvocations ¶
func (m *Mock) ListCommandInvocations(log log.T, instanceID string, commandID string) (response *ssm.ListCommandInvocationsOutput, err error)
ListCommandInvocations mocks the ListCommandInvocations function.
func (*Mock) ListCommands ¶
func (m *Mock) ListCommands(log log.T, instanceID string) (response *ssm.ListCommandsOutput, err error)
ListCommands mocks the ListCommands function.
func (*Mock) SendCommand ¶
func (m *Mock) SendCommand(log log.T, documentName string, instanceIDs []string, parameters map[string][]*string, timeoutSeconds *int64, outputS3BucketName *string, outputS3KeyPrefix *string) (response *ssm.SendCommandOutput, err error)
SendCommand mocks the SendCommand function.
func (*Mock) UpdateInstanceInformation ¶
func (m *Mock) UpdateInstanceInformation(log log.T, agentVersion string, agentStatus string) (response *ssm.UpdateInstanceInformationOutput, err error)
UpdateInstanceInformation mocks the UpdateInstanceInformation function.
type Service ¶
type Service interface { ListAssociations(log log.T, instanceID string) (response *ssm.ListAssociationsOutput, err error) SendCommand(log log.T, documentName string, instanceIDs []string, parameters map[string][]*string, timeoutSeconds *int64, outputS3BucketName *string, outputS3KeyPrefix *string) (response *ssm.SendCommandOutput, err error) ListCommands(log log.T, instanceID string) (response *ssm.ListCommandsOutput, err error) ListCommandInvocations(log log.T, instanceID string, commandID string) (response *ssm.ListCommandInvocationsOutput, err error) CancelCommand(log log.T, commandID string, instanceIDs []string) (response *ssm.CancelCommandOutput, err error) CreateDocument(log log.T, docName string, docContent string) (response *ssm.CreateDocumentOutput, err error) DeleteDocument(log log.T, instanceID string) (response *ssm.DeleteDocumentOutput, err error) UpdateInstanceInformation(log log.T, agentVersion string, agentStatus string) (response *ssm.UpdateInstanceInformationOutput, err error) }
Service is an interface to the SSM service.
Directories ¶
Path | Synopsis |
---|---|
Package anonauth is an interface to the anonymous methods of the SSM service.
|
Package anonauth is an interface to the anonymous methods of the SSM service. |
Package rsaauth is an interface to the RSA signed methods of the SSM service.
|
Package rsaauth is an interface to the RSA signed methods of the SSM service. |
Package util contains helper function common for ssm service
|
Package util contains helper function common for ssm service |
Click to show internal directories.
Click to hide internal directories.