override

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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

func CommonDeployerCM(instance *current.IBPConsole, config *deployer.Config, options map[string]interface{}) error

Types

type Override

type Override struct{}

func (*Override) CM

func (o *Override) CM(object v1.Object, cm *corev1.ConfigMap, action resources.Action, options map[string]interface{}) error

func (*Override) CommonCM

func (o *Override) CommonCM(instance *current.IBPConsole, cm *corev1.ConfigMap) error

func (*Override) CommonDeployerServiceOverride

func (o *Override) CommonDeployerServiceOverride(instance *current.IBPConsole, service *corev1.Service) error

func (*Override) CommonDeployment

func (o *Override) CommonDeployment(instance *current.IBPConsole, deployment *dep.Deployment) error

func (*Override) CommonServiceOverride

func (o *Override) CommonServiceOverride(instance *current.IBPConsole, service *corev1.Service) error

func (*Override) ConsoleCM

func (o *Override) ConsoleCM(object v1.Object, cm *corev1.ConfigMap, action resources.Action, options map[string]interface{}) error

func (*Override) CreateCM

func (o *Override) CreateCM(instance *current.IBPConsole, cm *corev1.ConfigMap) error

func (*Override) CreateConsoleCM

func (o *Override) CreateConsoleCM(instance *current.IBPConsole, cm *corev1.ConfigMap, options map[string]interface{}) error

func (*Override) CreateCouchdbContainer

func (o *Override) CreateCouchdbContainer() container.Container

func (*Override) CreateDeployerCM

func (o *Override) CreateDeployerCM(instance *current.IBPConsole, cm *corev1.ConfigMap, options map[string]interface{}) error

func (*Override) CreateDeployerService

func (o *Override) CreateDeployerService(instance *current.IBPConsole, service *corev1.Service) error

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 (o *Override) CreateService(instance *current.IBPConsole, service *corev1.Service) error

func (*Override) CreateServiceAccount

func (o *Override) CreateServiceAccount(instance *current.IBPConsole, sa *corev1.ServiceAccount) error

func (*Override) DeployerCM

func (o *Override) DeployerCM(object v1.Object, cm *corev1.ConfigMap, action resources.Action, options map[string]interface{}) error

func (*Override) DeployerService

func (o *Override) DeployerService(object v1.Object, service *corev1.Service, action resources.Action) error

func (*Override) Deployment

func (o *Override) Deployment(object v1.Object, deployment *appsv1.Deployment, action resources.Action) error

func (*Override) GetAffinity

func (o *Override) GetAffinity(instance *current.IBPConsole) *corev1.Affinity

func (*Override) PVC

func (o *Override) PVC(object v1.Object, pvc *corev1.PersistentVolumeClaim, action resources.Action) error

func (*Override) Service

func (o *Override) Service(object v1.Object, service *corev1.Service, action resources.Action) error

func (*Override) ServiceAccount

func (o *Override) ServiceAccount(object v1.Object, sa *corev1.ServiceAccount, action resources.Action) error

func (*Override) UpdateCM

func (o *Override) UpdateCM(instance *current.IBPConsole, cm *corev1.ConfigMap) error

func (*Override) UpdateConsoleCM

func (o *Override) UpdateConsoleCM(instance *current.IBPConsole, cm *corev1.ConfigMap, options map[string]interface{}) error

func (*Override) UpdateDeployerCM

func (o *Override) UpdateDeployerCM(instance *current.IBPConsole, cm *corev1.ConfigMap, options map[string]interface{}) error

func (*Override) UpdateDeployerService

func (o *Override) UpdateDeployerService(instance *current.IBPConsole, service *corev1.Service) error

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 (o *Override) UpdateService(instance *current.IBPConsole, service *corev1.Service) error

func (*Override) UpdateServiceAccount

func (o *Override) UpdateServiceAccount(instance *current.IBPConsole, sa *corev1.ServiceAccount) error

Jump to

Keyboard shortcuts

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