user

package
v0.0.0-...-4f9d474 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(f util.Factory, ioStreams clioptions.IOStreams) *cobra.Command

func NewCmdGet

func NewCmdGet(f util.Factory, ioStreams clioptions.IOStreams) *cobra.Command

func NewCmdUser

func NewCmdUser(f util.Factory, ioStreams clioptions.IOStreams) *cobra.Command

Types

type CreateOptions

type CreateOptions struct {
	Nickname string
	Phone    string

	User *user.User

	Client apiclientv1.APIV1Interface
	clioptions.IOStreams
}

func NewCreateOptions

func NewCreateOptions(ioStreams clioptions.IOStreams) *CreateOptions

func (*CreateOptions) Complete

func (o *CreateOptions) Complete(f util.Factory, cmd *cobra.Command, args []string) error

func (*CreateOptions) Run

func (o *CreateOptions) Run(args []string) error

func (*CreateOptions) Validate

func (o *CreateOptions) Validate(cmd *cobra.Command, args []string) error

type GetOptions

type GetOptions struct {
	Name string

	Client apiclientv1.APIV1Interface
	clioptions.IOStreams
}

func NewGetOptions

func NewGetOptions(ioStreams clioptions.IOStreams) *GetOptions

func (*GetOptions) Complete

func (o *GetOptions) Complete(f util.Factory, cmd *cobra.Command, args []string) error

func (*GetOptions) Run

func (o *GetOptions) Run(args []string) error

func (*GetOptions) Validate

func (o *GetOptions) Validate(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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