Documentation ¶
Index ¶
- Constants
- Variables
- func ListBindingHandlers(h hprinters.PrintHandler)
- func ListHandlers(h hprinters.PrintHandler)
- func NewBindCommand(p *KameletPluginParams) *cobra.Command
- func NewBindingCommand(p *KameletPluginParams) *cobra.Command
- func NewDescribeCommand(p *KameletPluginParams) *cobra.Command
- func NewListCommand(p *KameletPluginParams) *cobra.Command
- func NewVersionCommand() *cobra.Command
- type CreateBindingOptions
- type KameletPluginParams
Constants ¶
View Source
const ( KameletTypeLabel = "camel.apache.org/kamelet.type" KameletSupportLevelAnnotation = "camel.apache.org/kamelet.support.level" KameletProviderAnnotation = "camel.apache.org/provider" )
Variables ¶
View Source
var BuildDate string
View Source
var GitRevision string
View Source
var Version string
Functions ¶
func ListBindingHandlers ¶
func ListBindingHandlers(h hprinters.PrintHandler)
ListBindingHandlers handles printing human readable table for `kn-source-kamelet binding list` command's output
func ListHandlers ¶
func ListHandlers(h hprinters.PrintHandler)
ListHandlers handles printing human readable table for `kn-source-kamelet list` command's output
func NewBindCommand ¶
func NewBindCommand(p *KameletPluginParams) *cobra.Command
NewBindCommand implements 'kn-source-kamelet bind' command
func NewBindingCommand ¶
func NewBindingCommand(p *KameletPluginParams) *cobra.Command
NewBindingCommand implements 'kn-source-kamelet binding' command
func NewDescribeCommand ¶
func NewDescribeCommand(p *KameletPluginParams) *cobra.Command
NewDescribeCommand implements 'kn-source-kamelet describe' command
func NewListCommand ¶
func NewListCommand(p *KameletPluginParams) *cobra.Command
NewListCommand implements 'kn-source-kamelet list' command
func NewVersionCommand ¶
NewVersionCommand implements 'kn-source-kamelet version' command
Types ¶
type CreateBindingOptions ¶
type CreateBindingOptions struct { Name string Source string SourceProperties []string CloudEventsOverride []string CloudEventsSpecVersion string CloudEventsType string Sink string Broker string Channel string Service string Force bool CmdOut io.Writer }
CreateBindingOptions holding settings and options on the create binding command
type KameletPluginParams ¶
type KameletPluginParams struct { *commands.KnParams Context context.Context ContextCancel context.CancelFunc NewKameletClient func() (camelkv1alpha1.CamelV1alpha1Interface, error) }
KameletPluginParams for creating commands. Useful for inserting mocks for testing.
func (*KameletPluginParams) Initialize ¶
func (params *KameletPluginParams) Initialize()
Click to show internal directories.
Click to hide internal directories.