Directories ¶
Path | Synopsis |
---|---|
This file contains functions that add common arguments to the command line
|
This file contains functions that add common arguments to the command line |
auth
|
|
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. |
registry
REST API exposed via the serve command.
|
REST API exposed via the serve command. |
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 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 |
common
|
|
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 |
Package httputil contains functions that act as middleware for api interactions
|
Package httputil contains functions that act as middleware for api interactions |
ioutil
|
|
goi18n
Internationalization implementation using nicksnyder/go-i18n
|
Internationalization implementation using nicksnyder/go-i18n |
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 |
service
|
|
serviceaccount
|
|
Click to show internal directories.
Click to hide internal directories.