cmd

package
v0.0.0-...-79f6d92 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute executes the root command.

Types

type DBSRecord

type DBSRecord map[string]any

type MetaData

type MetaData struct {
	ID          string   `json:"id"`
	Site        string   `json:"site"`
	Description string   `json:"description"`
	Tags        []string `json:"tags"`
	Bucket      string   `json:"bucket"`
}

helper function to get metadata MetaData represents MetaData object returned from discovery service

type MetaDataRecord

type MetaDataRecord struct {
	Status string     `json:"status"`
	Data   []MetaData `json:"data"`
}

MetaDataRecord represents MetaData record returned by discovery service

type ResponseRecord

type ResponseRecord struct {
	Status string `json:"status"`
	Error  string `json:"error"`
}

ResponseRecord represents MetaData record returned by discovery service

type StorageRecord

type StorageRecord struct {
	Status string `json:"status"`
	Data   any    `json:"data"`
}

StorageRecord represents Storage record returned by datamanagement service

type UploadRecord

type UploadRecord struct {
	Status string `json:"status"`
	Error  string `json:"error"`
	Msg    string `json:"msg"`
	Object any    `json:"object"`
}

UploadRecord represents Storage record returned by datamanagement service

Jump to

Keyboard shortcuts

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