Documentation
¶
Index ¶
- func RegisterCommands(app *cobra.Command, c *client.Client)
- type AddAccountsCommand
- type AddAccountsDataCommand
- type AddBottlesCommand
- type AddBottlesDataCommand
- type ArrayResponseCommand
- type DeleteAccountsCommand
- type DeleteAccountsDataCommand
- type DeleteBottlesCommand
- type DeleteBottlesDataCommand
- type DownloadCommand
- type EtcMethodCommand
- type FollowMethodCommand
- type HashResponseCommand
- type HelloActionsCommand
- type IDActionsCommand
- type ListAccountsCommand
- type ListAccountsDataCommand
- type ListBottlesCommand
- type ListBottlesDataCommand
- type ListMethodCommand
- type ListRelationBottlesCommand
- type ListResponseCommand
- type MethodMethodCommand
- type NestedResponseCommand
- type PingActionsCommand
- type SecuritySecurityCommand
- type ShowAccountsCommand
- type ShowAccountsDataCommand
- type ShowBottlesCommand
- type ShowBottlesDataCommand
- type ShowResponseCommand
- type UpdateAccountsCommand
- type UpdateAccountsDataCommand
- type UpdateBottlesCommand
- type UpdateBottlesDataCommand
- type ValidationValidationCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddAccountsCommand ¶
AddAccountsCommand is the command line data structure for the add action of accounts
func (*AddAccountsCommand) RegisterFlags ¶
func (cmd *AddAccountsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type AddAccountsDataCommand ¶
AddAccountsDataCommand is the command line data structure for the add action of accounts_data
func (*AddAccountsDataCommand) RegisterFlags ¶
func (cmd *AddAccountsDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type AddBottlesCommand ¶
AddBottlesCommand is the command line data structure for the add action of bottles
func (*AddBottlesCommand) RegisterFlags ¶
func (cmd *AddBottlesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type AddBottlesDataCommand ¶
AddBottlesDataCommand is the command line data structure for the add action of bottles_data
func (*AddBottlesDataCommand) RegisterFlags ¶
func (cmd *AddBottlesDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ArrayResponseCommand ¶
type ArrayResponseCommand struct {
PrettyPrint bool
}
ArrayResponseCommand is the command line data structure for the array action of response
func (*ArrayResponseCommand) RegisterFlags ¶
func (cmd *ArrayResponseCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DeleteAccountsCommand ¶
DeleteAccountsCommand is the command line data structure for the delete action of accounts
func (*DeleteAccountsCommand) RegisterFlags ¶
func (cmd *DeleteAccountsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DeleteAccountsDataCommand ¶
DeleteAccountsDataCommand is the command line data structure for the delete action of accounts_data
func (*DeleteAccountsDataCommand) RegisterFlags ¶
func (cmd *DeleteAccountsDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DeleteBottlesCommand ¶
DeleteBottlesCommand is the command line data structure for the delete action of bottles
func (*DeleteBottlesCommand) RegisterFlags ¶
func (cmd *DeleteBottlesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DeleteBottlesDataCommand ¶
DeleteBottlesDataCommand is the command line data structure for the delete action of bottles_data
func (*DeleteBottlesDataCommand) RegisterFlags ¶
func (cmd *DeleteBottlesDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DownloadCommand ¶
type DownloadCommand struct { // OutFile is the path to the download output file. OutFile string }
DownloadCommand is the command line data structure for the download command.
type EtcMethodCommand ¶
EtcMethodCommand is the command line data structure for the etc action of method
func (*EtcMethodCommand) RegisterFlags ¶
func (cmd *EtcMethodCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type FollowMethodCommand ¶
type FollowMethodCommand struct {
PrettyPrint bool
}
FollowMethodCommand is the command line data structure for the follow action of method
func (*FollowMethodCommand) RegisterFlags ¶
func (cmd *FollowMethodCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type HashResponseCommand ¶
type HashResponseCommand struct {
PrettyPrint bool
}
HashResponseCommand is the command line data structure for the hash action of response
func (*HashResponseCommand) RegisterFlags ¶
func (cmd *HashResponseCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type HelloActionsCommand ¶
HelloActionsCommand is the command line data structure for the hello action of actions
func (*HelloActionsCommand) RegisterFlags ¶
func (cmd *HelloActionsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type IDActionsCommand ¶
IDActionsCommand is the command line data structure for the id action of actions
func (*IDActionsCommand) RegisterFlags ¶
func (cmd *IDActionsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListAccountsCommand ¶
type ListAccountsCommand struct {
PrettyPrint bool
}
ListAccountsCommand is the command line data structure for the list action of accounts
func (*ListAccountsCommand) RegisterFlags ¶
func (cmd *ListAccountsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListAccountsDataCommand ¶
type ListAccountsDataCommand struct {
PrettyPrint bool
}
ListAccountsDataCommand is the command line data structure for the list action of accounts_data
func (*ListAccountsDataCommand) RegisterFlags ¶
func (cmd *ListAccountsDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListBottlesCommand ¶
type ListBottlesCommand struct {
PrettyPrint bool
}
ListBottlesCommand is the command line data structure for the list action of bottles
func (*ListBottlesCommand) RegisterFlags ¶
func (cmd *ListBottlesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListBottlesDataCommand ¶
type ListBottlesDataCommand struct {
PrettyPrint bool
}
ListBottlesDataCommand is the command line data structure for the list action of bottles_data
func (*ListBottlesDataCommand) RegisterFlags ¶
func (cmd *ListBottlesDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListMethodCommand ¶
type ListMethodCommand struct {
PrettyPrint bool
}
ListMethodCommand is the command line data structure for the list action of method
func (*ListMethodCommand) RegisterFlags ¶
func (cmd *ListMethodCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListRelationBottlesCommand ¶
type ListRelationBottlesCommand struct {
PrettyPrint bool
}
ListRelationBottlesCommand is the command line data structure for the listRelation action of bottles
func (*ListRelationBottlesCommand) RegisterFlags ¶
func (cmd *ListRelationBottlesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListResponseCommand ¶
type ListResponseCommand struct {
PrettyPrint bool
}
ListResponseCommand is the command line data structure for the list action of response
func (*ListResponseCommand) RegisterFlags ¶
func (cmd *ListResponseCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type MethodMethodCommand ¶
type MethodMethodCommand struct {
PrettyPrint bool
}
MethodMethodCommand is the command line data structure for the method action of method
func (*MethodMethodCommand) RegisterFlags ¶
func (cmd *MethodMethodCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type NestedResponseCommand ¶
NestedResponseCommand is the command line data structure for the nested action of response
func (*NestedResponseCommand) RegisterFlags ¶
func (cmd *NestedResponseCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type PingActionsCommand ¶
type PingActionsCommand struct {
PrettyPrint bool
}
PingActionsCommand is the command line data structure for the ping action of actions
func (*PingActionsCommand) RegisterFlags ¶
func (cmd *PingActionsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type SecuritySecurityCommand ¶
type SecuritySecurityCommand struct {
PrettyPrint bool
}
SecuritySecurityCommand is the command line data structure for the security action of security
func (*SecuritySecurityCommand) RegisterFlags ¶
func (cmd *SecuritySecurityCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowAccountsCommand ¶
ShowAccountsCommand is the command line data structure for the show action of accounts
func (*ShowAccountsCommand) RegisterFlags ¶
func (cmd *ShowAccountsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowAccountsDataCommand ¶
ShowAccountsDataCommand is the command line data structure for the show action of accounts_data
func (*ShowAccountsDataCommand) RegisterFlags ¶
func (cmd *ShowAccountsDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowBottlesCommand ¶
ShowBottlesCommand is the command line data structure for the show action of bottles
func (*ShowBottlesCommand) RegisterFlags ¶
func (cmd *ShowBottlesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowBottlesDataCommand ¶
ShowBottlesDataCommand is the command line data structure for the show action of bottles_data
func (*ShowBottlesDataCommand) RegisterFlags ¶
func (cmd *ShowBottlesDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowResponseCommand ¶
ShowResponseCommand is the command line data structure for the show action of response
func (*ShowResponseCommand) RegisterFlags ¶
func (cmd *ShowResponseCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UpdateAccountsCommand ¶
type UpdateAccountsCommand struct { Payload string ContentType string // id ID int PrettyPrint bool }
UpdateAccountsCommand is the command line data structure for the update action of accounts
func (*UpdateAccountsCommand) RegisterFlags ¶
func (cmd *UpdateAccountsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UpdateAccountsDataCommand ¶
type UpdateAccountsDataCommand struct { Payload string ContentType string // id ID int PrettyPrint bool }
UpdateAccountsDataCommand is the command line data structure for the update action of accounts_data
func (*UpdateAccountsDataCommand) RegisterFlags ¶
func (cmd *UpdateAccountsDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UpdateBottlesCommand ¶
type UpdateBottlesCommand struct { Payload string ContentType string // id ID int PrettyPrint bool }
UpdateBottlesCommand is the command line data structure for the update action of bottles
func (*UpdateBottlesCommand) RegisterFlags ¶
func (cmd *UpdateBottlesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UpdateBottlesDataCommand ¶
type UpdateBottlesDataCommand struct { Payload string ContentType string // id ID int PrettyPrint bool }
UpdateBottlesDataCommand is the command line data structure for the update action of bottles_data
func (*UpdateBottlesDataCommand) RegisterFlags ¶
func (cmd *UpdateBottlesDataCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ValidationValidationCommand ¶
type ValidationValidationCommand struct { // デフォルト値 DefaultType string // メールアドレス Email string // 列挙型 EnumType string // id ID int // 数字(1〜10) IntegerType int // 正規表現 Reg string // 文字(1~10文字) StringType string PrettyPrint bool }
ValidationValidationCommand is the command line data structure for the validation action of validation
func (*ValidationValidationCommand) RegisterFlags ¶
func (cmd *ValidationValidationCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.