Documentation ¶
Index ¶
- Constants
- type AwsParam
- type ParamType
- type Service
- func (s *Service) Copy(cc common.CopyCommand) common.SaveOutput
- func (s *Service) Delete(p common.DeleteInput) string
- func (s *Service) GetMany(p common.ListParamInput) []common.EspParam
- func (s *Service) GetOne(p common.GetOneInput) common.EspParam
- func (s *Service) Init()
- func (s *Service) Save(p common.EspParamInput) common.SaveOutput
Constants ¶
View Source
const ( Get action = "get" GetMany action = "getMany" //Put action = "put" Save action = "save" Delete action = "delete" )
Constants to represent actions to take against SSM
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsParam ¶
type AwsParam struct { Arn string Name string Type ParamType Value string Version int LastModifiedDate float32 }
AwsParam represents an individual SSM parameter
type Service ¶
type Service struct { Svc *awsssm.SSM Region string Cfg aws.Config // contains filtered or unexported fields }
Service the struct representing AWS service/Session
func (*Service) Copy ¶
func (s *Service) Copy(cc common.CopyCommand) common.SaveOutput
Copy method copies the given parameter to a new location
func (*Service) Delete ¶
func (s *Service) Delete(p common.DeleteInput) string
Delete a single param for a given path
func (*Service) GetMany ¶
func (s *Service) GetMany(p common.ListParamInput) []common.EspParam
GetMany recursively gets parameters from a given path
func (*Service) GetOne ¶
func (s *Service) GetOne(p common.GetOneInput) common.EspParam
GetOne gets a single param for a given path
func (*Service) Init ¶
func (s *Service) Init()
Init create the actual session to talk to the AWS API
func (*Service) Save ¶
func (s *Service) Save(p common.EspParamInput) common.SaveOutput
Save a single param for a given path
Click to show internal directories.
Click to hide internal directories.