ssm

package
v0.0.0-...-0cfd7c9 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ssm provides abstracted interaction to AWS SSM service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSRequest

type AWSRequest interface {
	Send() error
}

type AWSRequester

type AWSRequester interface {
	NewRequest(operation *request.Operation, params interface{}, data interface{}) AWSRequest
}

type Client

type Client interface {
	RegisterManagedInstance(activationID, activationCode, publicKey, publicKeyType, fingerprint string) (string, error)
	Region() string
}

Client is an interface to the operations of the SSM service.

func NewClient

func NewClient(agentConfig *config.AgentConfig) Client

NewClient creates a new SSM client instance.

type MockAWSRequest

type MockAWSRequest struct {
	mock.Mock
}

MockAWSRequest is an autogenerated mock type for the AWSRequest type

func (*MockAWSRequest) Send

func (_m *MockAWSRequest) Send() error

Send provides a mock function with given fields:

type MockAWSRequester

type MockAWSRequester struct {
	mock.Mock
}

MockAWSRequester is an autogenerated mock type for the AWSRequester type

func (*MockAWSRequester) NewRequest

func (_m *MockAWSRequester) NewRequest(operation *request.Operation, params interface{}, data interface{}) AWSRequest

NewRequest provides a mock function with given fields: operation, params, data

type MockClient

type MockClient struct {
	mock.Mock
}

MockClient is an autogenerated mock type for the Client type

func (*MockClient) Region

func (_m *MockClient) Region() string

Region provides a mock function with given fields:

func (*MockClient) RegisterManagedInstance

func (_m *MockClient) RegisterManagedInstance(activationID string, activationCode string, publicKey string, publicKeyType string, fingerprint string) (string, error)

RegisterManagedInstance provides a mock function with given fields: activationID, activationCode, publicKey, publicKeyType, fingerprint

Jump to

Keyboard shortcuts

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