Versions in this module Expand all Collapse all v0 v0.17.0 Apr 30, 2024 v0.16.0 Nov 9, 2023 Changes in this version + type API struct + func New(opts *Options) (*API, error) + func (a *API) ChangeVisibility(region string, id string, public bool) error + func (a *API) CopyImage(source_id, dest_name, dest_region, dest_description, kms_key_id string, ...) (string, error) + func (a *API) DeleteFile(bucket, path string) error + func (a *API) DeleteImage(id string, force bool) error + func (a *API) DeleteSnapshot(id string, force bool) error + func (a *API) GetImages(name string) (*ecs.DescribeImagesResponse, error) + func (a *API) GetImagesByID(id string, region string) (*ecs.DescribeImagesResponse, error) + func (a *API) ImportImage(...) (string, error) + func (a *API) ListRegions() ([]string, error) + func (a *API) PutObject(r io.Reader, bucket, path string, force bool) error + func (a *API) UploadFile(filepath, bucket, path string, force bool) error + func (a *API) WaitForImageReady(region_id string, image_id string) error + type Options struct + AccessKeyID string + ConfigPath string + Profile string + Region string + SecretKey string