pkg

package
v0.0.0-...-732e647 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstallationResources

func CreateInstallationResources(cl client.Client, scheme *runtime.Scheme, log logr.Logger) error

CreateInstallationResources creates both CheInstallation and TektonInstallation resources. If they already exist then it ignores it. Before the actual creation it also tries to get the Subscription that was created for codeready-toolchain-operator. If such a subscription is found, then it sets it as ownerReference for the Installation resources. The reason is that we need to remove(uninstall) the Che and Tekton operators when the codeready-toolchain-operator is being uninstalled, which means their respective Subscriptions are also removed. Thanks to the garbage collector it will ensure that both Che and Tekton operators will be uninstalled too.

Types

This section is empty.

Directories

Path Synopsis
toolchain
Package toolchain contains toolchain API versions.
Package toolchain contains toolchain API versions.
toolchain/v1alpha1
Package v1alpha1 contains API Schema definitions for the toolchain v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=toolchain.openshift.dev Package v1alpha1 contains API Schema definitions for the toolchain v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=toolchain.openshift.dev
Package v1alpha1 contains API Schema definitions for the toolchain v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=toolchain.openshift.dev Package v1alpha1 contains API Schema definitions for the toolchain v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=toolchain.openshift.dev

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL