Documentation
¶
Index ¶
- Variables
- func CreateContainerRegistrySelfSignedCerts(ctx context.Context, key, crt string) error
- func OpenShiftConsoleDownloadLink(ctx context.Context, c client.Client) error
- func OperatorStartupOptionalTools(ctx context.Context, c client.Client, log logutil.Logger)
- func OperatorStartupRegistry(ctx context.Context, c client.Client, withSecret bool, ...) (*registryConf, error)
- func OverrideRegistryConfiguration(conf *registryConf)
Constants ¶
This section is empty.
Variables ¶
var ( // KamelCLIDownloadName --. KamelCLIDownloadName = "kamel-cli" // KamelCLIDownloadDisplayName is the name as seen in the download page. KamelCLIDownloadDisplayName = "kamel - Apache Camel K Command Line Interface" // KamelCLIDownloadDescription is the description as seen in the download page. KamelCLIDownloadDescription = "Apache Camel K is a lightweight integration platform, born on Kubernetes, with serverless superpowers.\n\n" + "The `kamel` binary can be used to both configure the cluster and run integrations. " + "Once you've downloaded the `kamel` binary, log into the cluster using the `oc` client tool and start using the `kamel` CLI.\n\n" + "You can run `kamel help` to list the available commands or go to the [Camel K Website](https://camel.apache.org/projects/camel-k/) for more information." // KamelCLIDownloadURLTemplate is the download template with 3 missing parameters (version, version, os). KamelCLIDownloadURLTemplate = "https://github.com/apache/camel-k/v2/releases/download/v%s/camel-k-client-%s-%s-64bit.tar.gz" )
The following variables may be overridden at build time.
Functions ¶
func CreateContainerRegistrySelfSignedCerts ¶ added in v2.12.0
CreateContainerRegistrySelfSignedCerts is in charge to generate a self signed certificate for development and internal use only.
func OpenShiftConsoleDownloadLink ¶
OpenShiftConsoleDownloadLink installs the download link for the OpenShift console.
func OperatorStartupOptionalTools ¶
OperatorStartupOptionalTools tries to install optional tools at operator startup and warns if something goes wrong.
func OperatorStartupRegistry ¶ added in v2.12.0
func OperatorStartupRegistry(ctx context.Context, c client.Client, withSecret bool, crtSecret *corev1.Secret) (*registryConf, error)
OperatorStartupRegistry tries to install optional development container registry.
func OverrideRegistryConfiguration ¶ added in v2.12.0
func OverrideRegistryConfiguration(conf *registryConf)
OverrideRegistryConfiguration is in charge to change the registry configuration at runtime.
Types ¶
This section is empty.