Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
internal
|
|
pkg
|
|
arguments
This file contains functions that add common arguments to the command line
|
This file contains functions that add common arguments to the command line |
cluster
Cluster package provides way to work with RHOAS and Service binding operators Package will ofer integration with various RHOAS services Structure: v1alpha - end user api kubeclient - provides kubernetes clients service - individual service implementations Usage: cliProperties := v1alpha.CommandEnvironment{ IO: opts.IO, Logger: opts.Logger, Localizer: opts.localizer, Config: opts.Config, Connection: conn, } kubeClients, err := kubeclient.NewKubernetesClusterClients(&cliProperties, opts.kubeconfigLocation) if err != nil { return err } clusterAPI := cluster.KubernetesClusterAPIImpl{ KubernetesClients: kubeClients, CommandEnvironment: &cliProperties, } err = clusterAPI.ExecuteServiceBinding(&v1alpha.BindOperationOptions{ ServiceName: opts.serviceName, Namespace: opts.namespace, AppName: opts.appName, ForceCreationWithoutAsk: opts.forceCreationWithoutAsk, BindingName: opts.bindingName, BindAsFiles: !opts.bindAsEnv, DeploymentConfigEnabled: opts.deploymentConfigEnabled, }) Adding new service in "4 Simple Steps" ™ 1.
|
Cluster package provides way to work with RHOAS and Service binding operators Package will ofer integration with various RHOAS services Structure: v1alpha - end user api kubeclient - provides kubernetes clients service - individual service implementations Usage: cliProperties := v1alpha.CommandEnvironment{ IO: opts.IO, Logger: opts.Logger, Localizer: opts.localizer, Config: opts.Config, Connection: conn, } kubeClients, err := kubeclient.NewKubernetesClusterClients(&cliProperties, opts.kubeconfigLocation) if err != nil { return err } clusterAPI := cluster.KubernetesClusterAPIImpl{ KubernetesClients: kubeClients, CommandEnvironment: &cliProperties, } err = clusterAPI.ExecuteServiceBinding(&v1alpha.BindOperationOptions{ ServiceName: opts.serviceName, Namespace: opts.namespace, AppName: opts.appName, ForceCreationWithoutAsk: opts.forceCreationWithoutAsk, BindingName: opts.bindingName, BindAsFiles: !opts.bindAsEnv, DeploymentConfigEnabled: opts.deploymentConfigEnabled, }) Adding new service in "4 Simple Steps" ™ 1. |
cmd/kafka
Package kafka instance contains commands for interacting with cluster logic of the service directly instead of through the REST API exposed via the serve command.
|
Package kafka instance contains commands for interacting with cluster logic of the service directly instead of through the REST API exposed via the serve command. |
cmd/registry
REST API exposed via the serve command.
|
REST API exposed via the serve command. |
cmdutil/flags
Package flags is a helper package for processing and interactive command line flags
|
Package flags is a helper package for processing and interactive command line flags |
color
Color package is for printing a uniform set of colors for the CLI
|
Color package is for printing a uniform set of colors for the CLI |
dump
Package dump contains functions used to print documents to JSON, YAML and Table formats
|
Package dump contains functions used to print documents to JSON, YAML and Table formats |
httputil
Package httputil contains functions that act as middleware for api interactions
|
Package httputil contains functions that act as middleware for api interactions |
localize/goi18n
Internationalization implementation using nicksnyder/go-i18n
|
Internationalization implementation using nicksnyder/go-i18n |
profile
This file contains functions that help to manage visibility of early stage commands
|
This file contains functions that help to manage visibility of early stage commands |
Click to show internal directories.
Click to hide internal directories.