helpers

package
v0.0.0-...-82468b1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadPlugins

func DownloadPlugins(pluginPath string, url string) error

func DownloadStatefulPlugin

func DownloadStatefulPlugin(workingDir string) error

func FileLocation

func FileLocation(relativePath string) string

func ProjectRoot

func ProjectRoot() string

func RandomString

func RandomString(prefix string) string

Types

type AWSVerifier

type AWSVerifier struct {
	// contains filtered or unexported fields
}

func NewAWSVerifier

func NewAWSVerifier(accessKey string, secretKey string, region string, endpoint string) *AWSVerifier

func (AWSVerifier) DeleteObjectFromS3

func (a AWSVerifier) DeleteObjectFromS3(bucketName string, key string)

func (AWSVerifier) ExpectS3BucketToExist

func (a AWSVerifier) ExpectS3BucketToExist(bucketName string)

func (AWSVerifier) ExpectS3FileToExist

func (a AWSVerifier) ExpectS3FileToExist(bucketName string, key string)

func (AWSVerifier) ExpectS3FileToNotExist

func (a AWSVerifier) ExpectS3FileToNotExist(bucketName string, key string)

func (AWSVerifier) ExpectS3ServerSideEncryption

func (a AWSVerifier) ExpectS3ServerSideEncryption(bucketName string, key string, expectedAlgo string, expectedKMSKeyID ...string)

func (AWSVerifier) GetLastModifiedFromS3

func (a AWSVerifier) GetLastModifiedFromS3(bucketName string, key string) string

func (AWSVerifier) GetMD5FromS3

func (a AWSVerifier) GetMD5FromS3(bucketName string, key string) string

func (AWSVerifier) UploadObjectToS3

func (a AWSVerifier) UploadObjectToS3(bucketName string, key string, content io.Reader)

Jump to

Keyboard shortcuts

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