Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PanicIfMissingValue ¶
func PanicIfMissingValue(h interface{})
Types ¶
type Delete ¶
type Delete[T structureSpec.Structure] struct { PromptsGetOrSelect func(ctx *cli.Context) (T, error) TableConfirm func(ctx *cli.Context, resource T, prompt string) bool PromptsDeleteThis string LibDelete func(name string) error I18nDeleted func(name string) }
func (*Delete[T]) BasicFlags ¶
func (h *Delete[T]) BasicFlags() []cli.Flag
type Edit ¶
type Edit[T structureSpec.Structure] struct { PromptsGetOrSelect func(ctx *cli.Context) (T, error) PromptsEdit func(ctx *cli.Context, prev T) error TableConfirm func(ctx *cli.Context, resource T, prompt string) bool PromptsEditThis string LibSet func(resource T) error I18nEdited func(name string) UniqueFlags []cli.Flag }
func (*Edit[T]) BasicFlags ¶
func (h *Edit[T]) BasicFlags() []cli.Flag
type List ¶
type List[T structureSpec.Structure] struct { LibListResources func() ([]T, error) TableList func([]T) }
type New ¶
type New[T structureSpec.Structure] struct { PromptsNew func(ctx *cli.Context) (T, error) TableConfirm func(ctx *cli.Context, service T, prompt string) bool PromptsCreateThis string LibNew func(service T) error I18nCreated func(name string) UniqueFlags []cli.Flag }
func (*New[T]) BasicFlags ¶
func (h *New[T]) BasicFlags() []cli.Flag
type Query ¶
type Query[T structureSpec.Structure] struct { LibListResources func() ([]T, error) TableList func([]T) PromptsGetOrSelect func(ctx *cli.Context) (T, error) TableQuery func(T) }
func (*Query[T]) BasicFlags ¶
func (h *Query[T]) BasicFlags() []cli.Flag
Click to show internal directories.
Click to hide internal directories.