override

package
v1.0.9-6 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INIT      = "init"
	CA        = "ca"
	HSMCLIENT = "hsm-client"
)

Container names

Variables

This section is empty.

Functions

This section is empty.

Types

type Override

type Override struct {
	Client controllerclient.Client
}

func (*Override) CommonDeployment

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

func (*Override) CreateDeployment

func (o *Override) CreateDeployment(instance *current.IBPCA, k8sDep *appsv1.Deployment) error

func (*Override) CreateOverrideCM

func (o *Override) CreateOverrideCM(instance *current.IBPCA, cm *corev1.ConfigMap) error

func (*Override) CreatePVC

func (o *Override) CreatePVC(instance *current.IBPCA, pvc *corev1.PersistentVolumeClaim) error

func (*Override) CreateRole

func (o *Override) CreateRole(instance *current.IBPCA, rb *rbacv1.Role) error

func (*Override) CreateRoleBinding

func (o *Override) CreateRoleBinding(instance *current.IBPCA, rb *rbacv1.RoleBinding) error

func (*Override) CreateService

func (o *Override) CreateService(instance v1.Object, service *corev1.Service) error

func (*Override) CreateServiceAccount

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

func (*Override) CreateServiceV210

func (o *Override) CreateServiceV210(instance *current.IBPCA, service *corev1.Service) error

func (*Override) CreateServiceV213

func (o *Override) CreateServiceV213(instance *current.IBPCA, service *corev1.Service) 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.IBPCA) *corev1.Affinity

func (*Override) GetNodeAffinity

func (o *Override) GetNodeAffinity(instance *current.IBPCA) *corev1.NodeAffinity

func (*Override) GetPodAntiAffinity

func (o *Override) GetPodAntiAffinity(instance *current.IBPCA) *corev1.PodAntiAffinity

func (*Override) IsPostgres

func (o *Override) IsPostgres(instance *current.IBPCA) bool

func (*Override) OverrideCM

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

func (*Override) PVC

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

func (*Override) Role

func (o *Override) Role(object v1.Object, role *rbacv1.Role, action resources.Action) error

func (*Override) RoleBinding

func (o *Override) RoleBinding(object v1.Object, rb *rbacv1.RoleBinding, 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) UpdateDeployment

func (o *Override) UpdateDeployment(instance *current.IBPCA, k8sDep *appsv1.Deployment) error

func (*Override) UpdateOverrideCM

func (o *Override) UpdateOverrideCM(instance *current.IBPCA, cm *corev1.ConfigMap) error

func (*Override) UpdatePVC

func (o *Override) UpdatePVC(instance *current.IBPCA, pvc *corev1.PersistentVolumeClaim) error

func (*Override) UpdateRole

func (o *Override) UpdateRole(instance *current.IBPCA, rb *rbacv1.Role) error

func (*Override) UpdateRoleBinding

func (o *Override) UpdateRoleBinding(instance *current.IBPCA, rb *rbacv1.RoleBinding) error

func (*Override) UpdateService

func (o *Override) UpdateService(instance v1.Object, service *corev1.Service) error

func (*Override) UpdateServiceAccount

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

func (*Override) ValidateConfigOverride

func (o *Override) ValidateConfigOverride(configOverride *current.ConfigOverride) error

func (*Override) ValidateServerConfig

func (o *Override) ValidateServerConfig(byteArray *[]byte, configType string) error

Jump to

Keyboard shortcuts

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