ssmdocresource

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

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

Jump to

Keyboard shortcuts

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