Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service holds a collection of interfaces. The interfaces are broken down like this to group functions together. One alternative is to have a large list of functions from the ec2 client.
func NewService ¶
func NewService(secretsScope cloud.ClusterScoper) *Service
NewService returns a new service given the api clients.
func (*Service) Create ¶
Create stores data in AWS SSM for a given machine, chunking at 4kb per secret. The prefix of the secret ARN and the number of chunks are returned.
func (*Service) Delete ¶
func (s *Service) Delete(m *scope.MachineScope) error
Delete the secret belonging to a machine from AWS SSM.
func (*Service) UserData ¶
func (s *Service) UserData(secretPrefix string, chunks int32, region string, endpoints []scope.ServiceEndpoint) ([]byte, error)
UserData creates a multi-part MIME document including a script boothook to download userdata from AWS Systems Manager and then restart cloud-init, and an include part specifying the on disk location of the new userdata.
Directories ¶
Path | Synopsis |
---|---|
Package mock_ssmiface is a generated GoMock package.
|
Package mock_ssmiface is a generated GoMock package. |