Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Names = names.PubSub Verb = verbs.Get )
Functions ¶
func Add ¶
func Add(ctx cpi.Context, s pubsub.PubSubSpec, slice *sliceutils.Slice[string])
func NewCommand ¶
NewCommand creates a new pubsub command.
func TableOutput ¶
func TableOutput(opts *output.Options, mapping processing.MappingFunction) *output.TableOutput
Types ¶
type Command ¶
type Command struct { utils.BaseCommand RepoSpecs []string }
type Repo ¶
type Repo struct { RepoSpec string `json:"repository"` Repo cpi.Repository `json:"-"` Spec pubsub.PubSubSpec `json:"pubsub,omitempty"` Error string `json:"error,omitempty"` }
func (*Repo) AsManifest ¶
func (r *Repo) AsManifest() interface{}
Click to show internal directories.
Click to hide internal directories.