edge_storage

package
v0.0.0-...-2d90593 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBucket

func NewBucket(f *cmdutil.Factory) *cobra.Command

func NewCmd

func NewCmd(f *cmdutil.Factory) *cobra.Command

func NewFactoryObjects

func NewFactoryObjects(fact *cmdutil.Factory) *factoryObjects

Types

type Fields

type Fields interface {
	RunE(cmd *cobra.Command, args []string) error
	AddFlags(flags *pflag.FlagSet)
	CreateRequestFromFlags(cmd *cobra.Command, request *api.RequestBucket) error
}

type FieldsBucket

type FieldsBucket struct {
	Name       string
	EdgeAccess string
	FileJSON   string
	Factory    *cmdutil.Factory
}

func (*FieldsBucket) AddFlags

func (fields *FieldsBucket) AddFlags(flags *pflag.FlagSet)

func (*FieldsBucket) CreateRequestFromFlags

func (fields *FieldsBucket) CreateRequestFromFlags(cmd *cobra.Command, request *api.RequestBucket) error

func (*FieldsBucket) RunE

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

Jump to

Keyboard shortcuts

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