Documentation ¶
Index ¶
- Constants
- func Setv2Handlers(svc *awss3.S3)
- func Sign(req *request.Request)
- type ByLastModified
- type Model
- type PlanFile
- type StateFile
- func (s StateFile) ConvertFromTainted() StateFile
- func (s StateFile) ConvertToMigrated() StateFile
- func (s StateFile) ConvertToTainted() StateFile
- func (s StateFile) Delete() (Version, error)
- func (s StateFile) Download() (Version, error)
- func (s StateFile) Exists() (bool, error)
- func (s StateFile) ExistsAsTainted() (bool, error)
- func (s StateFile) IsTainted() bool
- func (s StateFile) LatestVersion() (Version, error)
- func (s StateFile) Upload() (Version, error)
- func (s StateFile) UploadTainted() error
- type Storage
- type Version
Constants ¶
View Source
const ( // e.g. "2006-01-02T15:04:05Z" TimeFormat = time.RFC3339 DeprecationWarning = "" /* 177-byte string literal not displayed */ )
View Source
const (
S3Driver = "s3"
)
Variables ¶
This section is empty.
Functions ¶
func Setv2Handlers ¶
Types ¶
type ByLastModified ¶
func (ByLastModified) Len ¶
func (a ByLastModified) Len() int
func (ByLastModified) Less ¶
func (a ByLastModified) Less(i, j int) bool
func (ByLastModified) Swap ¶
func (a ByLastModified) Swap(i, j int)
type Model ¶
type Model struct { Driver string `json:"driver"` // S3 driver Bucket string `json:"bucket"` BucketPath string `json:"bucket_path"` AccessKeyID string `json:"access_key_id"` SecretAccessKey string `json:"secret_access_key"` RegionName string `json:"region_name,omitempty"` // optional Endpoint string `json:"endpoint,omitempty"` // optional UseSigningV2 bool `json:"use_signing_v2,omitempty"` // optional UseSigningV4 bool `json:"use_signing_v4,omitempty"` // optional ServerSideEncryption string `json:"server_side_encryption,omitempty"` //optional SSEKMSKeyId string `json:"sse_kms_key_id,omitempty"` //optional }
func (Model) ShouldUseSigningV2 ¶
type PlanFile ¶
func (PlanFile) LatestVersion ¶
type StateFile ¶
type StateFile struct { LocalPath string RemotePath string StorageDriver Storage // contains filtered or unexported fields }
func (StateFile) ConvertFromTainted ¶
func (StateFile) ConvertToMigrated ¶
func (StateFile) ConvertToTainted ¶
func (StateFile) ExistsAsTainted ¶
func (StateFile) LatestVersion ¶
func (StateFile) UploadTainted ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.