Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteIntegration(ctx context.Context, c client.Client, name string, namespace string) error
- func GetContainerIntegrationRunCommand(ctx context.Context, properties []string, dependencies []string, ...) (*exec.Cmd, error)
- func NewKamelCommand(ctx context.Context) (*cobra.Command, error)
- func NewKamelWithModelineCommand(ctx context.Context, osArgs []string) (*cobra.Command, []string, error)
- func RunLocalIntegrationRunCommand(ctx context.Context, properties []string, dependencies []string, ...) error
- type Config
- type RootCmdOptions
- type Source
Constants ¶
View Source
const ( // DefaultConfigName is the default config name DefaultConfigName = "kamel-config" // DefaultConfigLocation is the main place where the kamel content is stored DefaultConfigLocation = DefaultConfigName + ".yaml" // KamelTagName --- KamelTagName = "kamel" // MapstructureTagName --- MapstructureTagName = "mapstructure" )
Variables ¶
View Source
var VersionVariant = ""
VersionVariant may be overridden at build time
Functions ¶
func DeleteIntegration ¶
DeleteIntegration --
func GetContainerIntegrationRunCommand ¶
func GetContainerIntegrationRunCommand(ctx context.Context, properties []string, dependencies []string, routes []string, stdout, stderr io.Writer) (*exec.Cmd, error)
GetContainerIntegrationRunCommand --
func NewKamelCommand ¶
NewKamelCommand --
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is a helper class to manipulate kamel configuration files
func LoadConfiguration ¶
LoadConfiguration loads a kamel configuration file
type RootCmdOptions ¶
type RootCmdOptions struct { RootContext context.Context `mapstructure:"-"` Context context.Context `mapstructure:"-"` ContextCancel context.CancelFunc `mapstructure:"-"` KubeConfig string `mapstructure:"kube-config"` Namespace string `mapstructure:"namespace"` // contains filtered or unexported fields }
RootCmdOptions --
func (*RootCmdOptions) GetCamelCmdClient ¶
func (command *RootCmdOptions) GetCamelCmdClient() (*camelv1.CamelV1Client, error)
GetCamelCmdClient returns a client to access the Camel resources
func (*RootCmdOptions) GetCmdClient ¶
func (command *RootCmdOptions) GetCmdClient() (client.Client, error)
GetCmdClient returns the client that can be used from command line tools
func (*RootCmdOptions) NewCmdClient ¶
func (command *RootCmdOptions) NewCmdClient() (client.Client, error)
NewCmdClient returns a new client that can be used from command line tools
Source Files ¶
- bind.go
- builder.go
- completion.go
- completion_bash.go
- completion_zsh.go
- debug.go
- delete.go
- describe.go
- describe_integration.go
- describe_kit.go
- describe_platform.go
- dump.go
- get.go
- init.go
- install.go
- kit.go
- kit_create.go
- kit_delete.go
- kit_get.go
- local.go
- local_build.go
- local_inspect.go
- local_run.go
- log.go
- modeline.go
- operator.go
- rebuild.go
- reset.go
- root.go
- run.go
- trait_help.go
- uninstall.go
- util.go
- util_commands.go
- util_config.go
- util_containerization.go
- util_content.go
- util_dependencies.go
- util_sources.go
- version.go
Click to show internal directories.
Click to hide internal directories.