image

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

Package image contains the commands to operate on vpc image resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands() *cobra.Command

Commands function to add VPC image commands.

func ListCommand

func ListCommand() *cobra.Command

ListCommand vpc image list command.

Types

type Image

type Image struct {
	CatalogOffering        bool            `json:"catalogOffering"`
	CreatedAt              strfmt.DateTime `json:"created_at"`
	Encryption             string          `json:"encryption"`
	ID                     string          `json:"id"`
	Name                   string          `json:"name"`
	OperatingSystemName    string          `json:"operatingSystemName"`
	OperatingSystemVersion string          `json:"operatingSystemVersion"`
	Arch                   string          `json:"arch"`
	FileSize               int64           `json:"fileSizeInGB"`
	SourceVolumeName       string          `json:"sourceVolumeName"`
	ResourceGroupName      string          `json:"resourceGroupName"`
	Status                 string          `json:"status"`
	Visibility             string          `json:"visibility"`
}

Image vpc image info.

type List

type List []Image

List is list of Image.

func (*List) ToTable

func (imageList *List) ToTable() *metav1.Table

ToTable converts List to *metav1.Table.

Jump to

Keyboard shortcuts

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