Documentation ¶
Overview ¶
Package ssmdocresource implements the methods to access resources from ssm
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSMDocInfo ¶
type SSMDocInfo struct {
DocName string `json:"name"`
}
S3Info represents the sourceInfo type sent by runcommand
type SSMDocResource ¶
type SSMDocResource struct { Info SSMDocInfo // contains filtered or unexported fields }
S3Resource is a struct for the remote resource of type git
func NewSSMDocResource ¶
func NewSSMDocResource(context context.T, info string) (*SSMDocResource, error)
NewS3Resource is a constructor of type GitResource
func (*SSMDocResource) DownloadRemoteResource ¶
func (ssmdoc *SSMDocResource) DownloadRemoteResource(filesys filemanager.FileSystem, destinationPath string) (err error, result *remoteresource.DownloadResult)
DownloadRemoteResource calls download to pull down files or directory from s3
func (*SSMDocResource) ValidateLocationInfo ¶
func (s3 *SSMDocResource) ValidateLocationInfo() (valid bool, err error)
ValidateLocationInfo ensures that the required parameters of SourceInfo are specified
Click to show internal directories.
Click to hide internal directories.