image

package
v0.1.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *Client

func (*Client) Delete

func (c *Client) Delete(id string) error

func (*Client) Get

func (c *Client) Get(id string) (*models.Image, error)

func (*Client) GetAll

func (c *Client) GetAll() (*models.Images, error)

func (*Client) GetAllPurgeable

func (c *Client) GetAllPurgeable(before, since time.Duration, expr string) ([]*models.ImageReference, error)

func (*Client) ImportImage

func (c *Client) ImportImage(instanceID, imageName, s3Filename, region, accessKey, secretKey, bucketName, osType, storageType string) (*models.Image, error)

func ImportImage imports image from S3 Instance

Jump to

Keyboard shortcuts

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