Documentation ¶
Index ¶
- Constants
- func CommonConsoleCM(instance *current.IBPConsole, config *consolev1.ConsoleSettingsConfig, ...) error
- func CommonDeployerCM(instance *current.IBPConsole, config *deployer.Config, ...) error
- type Override
- func (o *Override) CM(object v1.Object, cm *corev1.ConfigMap, action resources.Action, ...) error
- func (o *Override) CommonCM(instance *current.IBPConsole, cm *corev1.ConfigMap) error
- func (o *Override) CommonDeployerServiceOverride(instance *current.IBPConsole, service *corev1.Service) error
- func (o *Override) CommonDeployment(instance *current.IBPConsole, deployment *dep.Deployment) error
- func (o *Override) CommonServiceOverride(instance *current.IBPConsole, service *corev1.Service) error
- func (o *Override) ConsoleCM(object v1.Object, cm *corev1.ConfigMap, action resources.Action, ...) error
- func (o *Override) CreateCM(instance *current.IBPConsole, cm *corev1.ConfigMap) error
- func (o *Override) CreateConsoleCM(instance *current.IBPConsole, cm *corev1.ConfigMap, ...) error
- func (o *Override) CreateCouchdbContainer() container.Container
- func (o *Override) CreateDeployerCM(instance *current.IBPConsole, cm *corev1.ConfigMap, ...) error
- func (o *Override) CreateDeployerService(instance *current.IBPConsole, service *corev1.Service) error
- func (o *Override) CreateDeployment(instance *current.IBPConsole, k8sDep *appsv1.Deployment) error
- func (o *Override) CreatePVC(instance *current.IBPConsole, pvc *corev1.PersistentVolumeClaim) error
- func (o *Override) CreateService(instance *current.IBPConsole, service *corev1.Service) error
- func (o *Override) CreateServiceAccount(instance *current.IBPConsole, sa *corev1.ServiceAccount) error
- func (o *Override) DeployerCM(object v1.Object, cm *corev1.ConfigMap, action resources.Action, ...) error
- func (o *Override) DeployerService(object v1.Object, service *corev1.Service, action resources.Action) error
- func (o *Override) Deployment(object v1.Object, deployment *appsv1.Deployment, action resources.Action) error
- func (o *Override) GetAffinity(instance *current.IBPConsole) *corev1.Affinity
- func (o *Override) PVC(object v1.Object, pvc *corev1.PersistentVolumeClaim, action resources.Action) error
- func (o *Override) Service(object v1.Object, service *corev1.Service, action resources.Action) error
- func (o *Override) ServiceAccount(object v1.Object, sa *corev1.ServiceAccount, action resources.Action) error
- func (o *Override) UpdateCM(instance *current.IBPConsole, cm *corev1.ConfigMap) error
- func (o *Override) UpdateConsoleCM(instance *current.IBPConsole, cm *corev1.ConfigMap, ...) error
- func (o *Override) UpdateDeployerCM(instance *current.IBPConsole, cm *corev1.ConfigMap, ...) error
- func (o *Override) UpdateDeployerService(instance *current.IBPConsole, service *corev1.Service) error
- func (o *Override) UpdateDeployment(instance *current.IBPConsole, k8sDep *appsv1.Deployment) error
- func (o *Override) UpdatePVC(instance *current.IBPConsole, pvc *corev1.PersistentVolumeClaim) error
- func (o *Override) UpdateService(instance *current.IBPConsole, service *corev1.Service) error
- func (o *Override) UpdateServiceAccount(instance *current.IBPConsole, sa *corev1.ServiceAccount) error
Constants ¶
View Source
const ( INIT = "init" CONSOLE = "optools" DEPLOYER = "deployer" CONFIGTXLATOR = "configtxlator" COUCHDB = "couchdb" )
Container names
View Source
const ( K8S string = "kubernetes" OPENSHIFT string = "openshift" )
Variables ¶
This section is empty.
Functions ¶
func CommonConsoleCM ¶
func CommonConsoleCM(instance *current.IBPConsole, config *consolev1.ConsoleSettingsConfig, options map[string]interface{}) error
func CommonDeployerCM ¶
Types ¶
type Override ¶
type Override struct{}
func (*Override) CommonDeployerServiceOverride ¶
func (*Override) CommonDeployment ¶
func (o *Override) CommonDeployment(instance *current.IBPConsole, deployment *dep.Deployment) error
func (*Override) CommonServiceOverride ¶
func (*Override) CreateConsoleCM ¶
func (*Override) CreateCouchdbContainer ¶
func (*Override) CreateDeployerCM ¶
func (*Override) CreateDeployerService ¶
func (*Override) CreateDeployment ¶
func (o *Override) CreateDeployment(instance *current.IBPConsole, k8sDep *appsv1.Deployment) error
func (*Override) CreatePVC ¶
func (o *Override) CreatePVC(instance *current.IBPConsole, pvc *corev1.PersistentVolumeClaim) error
func (*Override) CreateService ¶
func (*Override) CreateServiceAccount ¶
func (o *Override) CreateServiceAccount(instance *current.IBPConsole, sa *corev1.ServiceAccount) error
func (*Override) DeployerCM ¶
func (*Override) DeployerService ¶
func (*Override) Deployment ¶
func (*Override) GetAffinity ¶
func (o *Override) GetAffinity(instance *current.IBPConsole) *corev1.Affinity
func (*Override) ServiceAccount ¶
func (*Override) UpdateConsoleCM ¶
func (*Override) UpdateDeployerCM ¶
func (*Override) UpdateDeployerService ¶
func (*Override) UpdateDeployment ¶
func (o *Override) UpdateDeployment(instance *current.IBPConsole, k8sDep *appsv1.Deployment) error
func (*Override) UpdatePVC ¶
func (o *Override) UpdatePVC(instance *current.IBPConsole, pvc *corev1.PersistentVolumeClaim) error
func (*Override) UpdateService ¶
func (*Override) UpdateServiceAccount ¶
func (o *Override) UpdateServiceAccount(instance *current.IBPConsole, sa *corev1.ServiceAccount) error
Click to show internal directories.
Click to hide internal directories.