export

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

func ExportStorageReceiveByte

func ExportStorageReceiveByte(ctx context.Context, w io.Writer, project string) error

func ExportStorageTotalByte

func ExportStorageTotalByte(ctx context.Context, w io.Writer, project string) error

func RunE

func RunE(cmd *cobra.Command, args []string) (err error)

Types

type StorageReceiveByte

type StorageReceiveByte struct {
	ProjectID     string    `json:"projectID"`
	Bucket        string    `json:"bucket"`
	Location      string    `json:"location"`
	ReceivedBytes int64     `json:"receivedBytes"`
	StartTime     time.Time `json:"startTime"`
}

type StorageTotalByte

type StorageTotalByte struct {
	ProjectID    string    `json:"projectID"`
	Bucket       string    `json:"bucket"`
	StorageClass string    `json:"storageClass"`
	Location     string    `json:"location"`
	TotalBytes   float64   `json:"totalBytes"`
	StartTime    time.Time `json:"startTime"`
}

Jump to

Keyboard shortcuts

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