Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(restClient *client.RestClient, templateId string, requestOpts *client.RequestOpts) error
func List ¶
func List(restClient *client.RestClient, requestOpts *client.RequestOpts) (*[]ImageInfo, error)
Types ¶
type ImageInfo ¶
type ImageInfo struct { ID string TenantID string ClusterID string ClusterName string Size int RealSize int RefCount int Name string CreatedAt string Ownership string // 테넌트 소유, 개인 소유 TemplateType string State string Protection int OS string Arch string // Architecture Format string Enabled int Description string PoolID string PoolName string SnapshotID string Creator string VolumeID string Url string Pause int SourceType string MinKvmVersion int }
func Create ¶
func Create(restClient *client.RestClient, requestOpts *client.RequestOpts) (*ImageInfo, error)
func Get ¶
func Get(restClient *client.RestClient, templateId string, requestOpts *client.RequestOpts) (*ImageInfo, error)
Click to show internal directories.
Click to hide internal directories.