registry

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaultListAllFunc

func SetDefaultListAllFunc(platformName, resourceName, commandName string, fn ListAllFunc)

func SetDefaultServiceFunc

func SetDefaultServiceFunc(platformName, resourceName, commandName string, fn ServiceFunc)

Types

type ListAllFunc

type ListAllFunc func(ctx cli.Context, parameter interface{}) ([]interface{}, error)

func DefaultListAllFunc

func DefaultListAllFunc(platformName, resourceName, commandName string) (ListAllFunc, bool)

type ServiceFunc

type ServiceFunc func(ctx cli.Context, parameter interface{}) ([]interface{}, error)

func DefaultServiceFunc

func DefaultServiceFunc(platformName, resourceName, commandName string) (ServiceFunc, bool)

Jump to

Keyboard shortcuts

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