command

package
v0.0.0-...-8450a52 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationManager

type ApplicationManager interface {
	Create(ktx kontext.Context, e entity.OauthApplicationJSON) (entity.OauthApplicationJSON, jsonapi.Errors)
}

type CreateOauthApplication

type CreateOauthApplication struct {
	// contains filtered or unexported fields
}

CreateOauthApplication struct of CreateOauthApplication command

func NewCreateOauthApplication

func NewCreateOauthApplication(applicationManager ApplicationManager) *CreateOauthApplication

NewCreateOauthApplication return struct of CreateOauthApplication

func (*CreateOauthApplication) Example

func (m *CreateOauthApplication) Example() string

Example return example of command

func (*CreateOauthApplication) ModifyFlags

func (m *CreateOauthApplication) ModifyFlags(flags *pflag.FlagSet)

ModifyFlags modify flags of command

func (*CreateOauthApplication) Run

func (m *CreateOauthApplication) Run(cmd *cobra.Command, args []string)

Run run command

func (*CreateOauthApplication) Short

func (m *CreateOauthApplication) Short() string

Short return short description of command

func (*CreateOauthApplication) Use

func (m *CreateOauthApplication) Use() string

Use return name of command

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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