key

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands() *cobra.Command

Commands function to add VPC key commands.

func CreateCommand

func CreateCommand() *cobra.Command

CreateCommand vpc key create command.

func DeleteCommand

func DeleteCommand() *cobra.Command

DeleteCommand vpc key delete command.

func ListCommand

func ListCommand() *cobra.Command

ListCommand vpc key list command.

Types

type Key

type Key struct {
	ID            string          `json:"id"`
	CreatedAt     strfmt.DateTime `json:"created_at"`
	Name          string          `json:"name"`
	Type          string          `json:"type"`
	ResourceGroup string          `json:"resourceGroup"`
	FingerPrint   string          `json:"fingerPrint"`
	Length        int64           `json:"length"`
}

Key vpc key info.

type List

type List []Key

List is list of Key.

func (*List) ToTable

func (keyList *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