Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(config *rest.Config, opts *CloudEventsOptions) (addonmanager.AddonManager, error)
New returns a new addon manager with the given config and optional options
Types ¶
type CloudEventsOptions ¶
type CloudEventsOptions struct { WorkDriver string WorkDriverConfig string CloudEventsClientID string SourceID string }
CloudEventsOptions defines the flags for addon manager
func NewCloudEventsOptions ¶
func NewCloudEventsOptions() *CloudEventsOptions
NewCloudEventsOptions returns the flags with default value set
func (*CloudEventsOptions) AddFlags ¶
func (o *CloudEventsOptions) AddFlags(cmd *cobra.Command)
AddFlags adds the cloudevents options flags to the given command
Click to show internal directories.
Click to hide internal directories.