Documentation ¶
Index ¶
- func RegisterCommands(app *cobra.Command, c *client.Client)
- type CreateFeedCommand
- type CreateFilterOutputCommand
- type CreateOutputCommand
- type DeleteFeedCommand
- type DeleteFilterOutputCommand
- type DeleteOutputCommand
- type GetExploreCommand
- type GetFeedCommand
- type GetHealthCommand
- type GetIndexCommand
- type GetOpmlCommand
- type GetOutputCommand
- type GetSwaggerCommand
- type GetVarsCommand
- type ListFeedCommand
- type ListOutputCommand
- type PubPshbCommand
- type SpecsFilterCommand
- type SpecsOutputCommand
- type StartFeedCommand
- type StatusOpmlCommand
- type StopFeedCommand
- type SubPshbCommand
- type UpdateFeedCommand
- type UpdateFilterOutputCommand
- type UpdateOutputCommand
- type UploadOpmlCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateFeedCommand ¶
type CreateFeedCommand struct { // Feed activation status Enable string // Comma separated list of tags Tags string // Feed title (will overide official feed title) Title string // Feed URL URL string PrettyPrint bool }
CreateFeedCommand is the command line data structure for the create action of feed
func (*CreateFeedCommand) RegisterFlags ¶
func (cmd *CreateFeedCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type CreateFilterOutputCommand ¶
type CreateFilterOutputCommand struct { Payload string ContentType string // Output ID ID string PrettyPrint bool }
CreateFilterOutputCommand is the command line data structure for the createFilter action of output
func (*CreateFilterOutputCommand) RegisterFlags ¶
func (cmd *CreateFilterOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type CreateOutputCommand ¶
CreateOutputCommand is the command line data structure for the create action of output
func (*CreateOutputCommand) RegisterFlags ¶
func (cmd *CreateOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DeleteFeedCommand ¶
DeleteFeedCommand is the command line data structure for the delete action of feed
func (*DeleteFeedCommand) RegisterFlags ¶
func (cmd *DeleteFeedCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DeleteFilterOutputCommand ¶
type DeleteFilterOutputCommand struct { // Filter ID ID string // Filter ID IDFilter string PrettyPrint bool }
DeleteFilterOutputCommand is the command line data structure for the deleteFilter action of output
func (*DeleteFilterOutputCommand) RegisterFlags ¶
func (cmd *DeleteFilterOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DeleteOutputCommand ¶
DeleteOutputCommand is the command line data structure for the delete action of output
func (*DeleteOutputCommand) RegisterFlags ¶
func (cmd *DeleteOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetExploreCommand ¶
GetExploreCommand is the command line data structure for the get action of explore
func (*GetExploreCommand) RegisterFlags ¶
func (cmd *GetExploreCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetFeedCommand ¶
GetFeedCommand is the command line data structure for the get action of feed
func (*GetFeedCommand) RegisterFlags ¶
func (cmd *GetFeedCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetHealthCommand ¶
type GetHealthCommand struct {
PrettyPrint bool
}
GetHealthCommand is the command line data structure for the get action of health
func (*GetHealthCommand) RegisterFlags ¶
func (cmd *GetHealthCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetIndexCommand ¶
type GetIndexCommand struct {
PrettyPrint bool
}
GetIndexCommand is the command line data structure for the get action of index
func (*GetIndexCommand) RegisterFlags ¶
func (cmd *GetIndexCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetOpmlCommand ¶
type GetOpmlCommand struct {
PrettyPrint bool
}
GetOpmlCommand is the command line data structure for the get action of opml
func (*GetOpmlCommand) RegisterFlags ¶
func (cmd *GetOpmlCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetOutputCommand ¶
GetOutputCommand is the command line data structure for the get action of output
func (*GetOutputCommand) RegisterFlags ¶
func (cmd *GetOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetSwaggerCommand ¶
type GetSwaggerCommand struct {
PrettyPrint bool
}
GetSwaggerCommand is the command line data structure for the get action of swagger
func (*GetSwaggerCommand) RegisterFlags ¶
func (cmd *GetSwaggerCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetVarsCommand ¶
type GetVarsCommand struct {
PrettyPrint bool
}
GetVarsCommand is the command line data structure for the get action of vars
func (*GetVarsCommand) RegisterFlags ¶
func (cmd *GetVarsCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListFeedCommand ¶
type ListFeedCommand struct { // Page to fetch Page int // Search query Q string // Page size Size int PrettyPrint bool }
ListFeedCommand is the command line data structure for the list action of feed
func (*ListFeedCommand) RegisterFlags ¶
func (cmd *ListFeedCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ListOutputCommand ¶
type ListOutputCommand struct {
PrettyPrint bool
}
ListOutputCommand is the command line data structure for the list action of output
func (*ListOutputCommand) RegisterFlags ¶
func (cmd *ListOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type PubPshbCommand ¶
type PubPshbCommand struct {
PrettyPrint bool
}
PubPshbCommand is the command line data structure for the pub action of pshb
func (*PubPshbCommand) RegisterFlags ¶
func (cmd *PubPshbCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type SpecsFilterCommand ¶
type SpecsFilterCommand struct {
PrettyPrint bool
}
SpecsFilterCommand is the command line data structure for the specs action of filter
func (*SpecsFilterCommand) RegisterFlags ¶
func (cmd *SpecsFilterCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type SpecsOutputCommand ¶
type SpecsOutputCommand struct {
PrettyPrint bool
}
SpecsOutputCommand is the command line data structure for the specs action of output
func (*SpecsOutputCommand) RegisterFlags ¶
func (cmd *SpecsOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type StartFeedCommand ¶
StartFeedCommand is the command line data structure for the start action of feed
func (*StartFeedCommand) RegisterFlags ¶
func (cmd *StartFeedCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type StatusOpmlCommand ¶
StatusOpmlCommand is the command line data structure for the status action of opml
func (*StatusOpmlCommand) RegisterFlags ¶
func (cmd *StatusOpmlCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type StopFeedCommand ¶
StopFeedCommand is the command line data structure for the stop action of feed
func (*StopFeedCommand) RegisterFlags ¶
func (cmd *StopFeedCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type SubPshbCommand ¶
type SubPshbCommand struct { // A hub-generated random string HubChallenge string // The hub-determined number of seconds that the subscription will stay active before expiring HubLeaseSeconds int // The literal string "subscribe" or "unsubscribe" HubMode string // The topic URL given in the corresponding subscription request HubTopic string PrettyPrint bool }
SubPshbCommand is the command line data structure for the sub action of pshb
func (*SubPshbCommand) RegisterFlags ¶
func (cmd *SubPshbCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UpdateFeedCommand ¶
type UpdateFeedCommand struct { // Feed ID ID string // Comma separated list of tags Tags string // Feed title Title string PrettyPrint bool }
UpdateFeedCommand is the command line data structure for the update action of feed
func (*UpdateFeedCommand) RegisterFlags ¶
func (cmd *UpdateFeedCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UpdateFilterOutputCommand ¶
type UpdateFilterOutputCommand struct { Payload string ContentType string // Output ID ID string // Filter ID IDFilter string PrettyPrint bool }
UpdateFilterOutputCommand is the command line data structure for the updateFilter action of output
func (*UpdateFilterOutputCommand) RegisterFlags ¶
func (cmd *UpdateFilterOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UpdateOutputCommand ¶
type UpdateOutputCommand struct { Payload string ContentType string // Output ID ID string PrettyPrint bool }
UpdateOutputCommand is the command line data structure for the update action of output
func (*UpdateOutputCommand) RegisterFlags ¶
func (cmd *UpdateOutputCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UploadOpmlCommand ¶
type UploadOpmlCommand struct {
PrettyPrint bool
}
UploadOpmlCommand is the command line data structure for the upload action of opml
func (*UploadOpmlCommand) RegisterFlags ¶
func (cmd *UploadOpmlCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.