Documentation ¶
Index ¶
- Constants
- type OrdererConfig
- type Override
- func (o *Override) AdminSecretExists(instance *current.IBPOrderer) bool
- func (o *Override) CommonDeploymentOverrides(instance *current.IBPOrderer, deployment *dep.Deployment) error
- func (o *Override) CreateDeployment(instance *current.IBPOrderer, k8sDep *appsv1.Deployment) error
- func (o *Override) CreateEnvCM(instance *current.IBPOrderer, cm *corev1.ConfigMap) error
- func (o *Override) CreateOrderernode(instance *current.IBPOrderer, orderernode *current.IBPOrderer) error
- func (o *Override) CreatePVC(instance *current.IBPOrderer, pvc *corev1.PersistentVolumeClaim) error
- func (o *Override) CreateService(instance *current.IBPOrderer, service *corev1.Service) error
- func (o *Override) CreateServiceAccount(instance *current.IBPOrderer, sa *corev1.ServiceAccount) error
- func (o *Override) Deployment(object v1.Object, deployment *appsv1.Deployment, action resources.Action) error
- func (o *Override) EnvCM(object v1.Object, cm *corev1.ConfigMap, action resources.Action, ...) error
- func (o *Override) GetAffinity(instance *current.IBPOrderer) *corev1.Affinity
- func (o *Override) OrdererNode(object v1.Object, orderernode *current.IBPOrderer, action resources.Action) error
- 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) UpdateDeployment(instance *current.IBPOrderer, k8sDep *appsv1.Deployment) error
- func (o *Override) UpdateEnvCM(instance *current.IBPOrderer, cm *corev1.ConfigMap) error
- func (o *Override) UpdateOrderernode(instance *current.IBPOrderer, deployment *current.IBPOrderer) error
- func (o *Override) UpdatePVC(instance *current.IBPOrderer, pvc *corev1.PersistentVolumeClaim) error
- func (o *Override) UpdateService(instance *current.IBPOrderer, service *corev1.Service) error
- func (o *Override) UpdateServiceAccount(instance *current.IBPOrderer, sa *corev1.ServiceAccount) error
Constants ¶
View Source
const ( INIT = "init" ORDERER = "orderer" PROXY = "proxy" HSMCLIENT = "hsm-client" )
Container names
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrdererConfig ¶
type Override ¶
type Override struct { Name string Client controllerclient.Client Config *config.Config }
func (*Override) AdminSecretExists ¶
func (o *Override) AdminSecretExists(instance *current.IBPOrderer) bool
func (*Override) CommonDeploymentOverrides ¶
func (o *Override) CommonDeploymentOverrides(instance *current.IBPOrderer, deployment *dep.Deployment) error
func (*Override) CreateDeployment ¶
func (o *Override) CreateDeployment(instance *current.IBPOrderer, k8sDep *appsv1.Deployment) error
func (*Override) CreateEnvCM ¶
func (*Override) CreateOrderernode ¶
func (o *Override) CreateOrderernode(instance *current.IBPOrderer, orderernode *current.IBPOrderer) error
func (*Override) CreatePVC ¶
func (o *Override) CreatePVC(instance *current.IBPOrderer, pvc *corev1.PersistentVolumeClaim) error
func (*Override) CreateService ¶
func (*Override) CreateServiceAccount ¶
func (o *Override) CreateServiceAccount(instance *current.IBPOrderer, sa *corev1.ServiceAccount) error
func (*Override) Deployment ¶
func (*Override) GetAffinity ¶
func (o *Override) GetAffinity(instance *current.IBPOrderer) *corev1.Affinity
func (*Override) OrdererNode ¶
func (*Override) ServiceAccount ¶
func (*Override) UpdateDeployment ¶
func (o *Override) UpdateDeployment(instance *current.IBPOrderer, k8sDep *appsv1.Deployment) error
func (*Override) UpdateEnvCM ¶
func (*Override) UpdateOrderernode ¶
func (o *Override) UpdateOrderernode(instance *current.IBPOrderer, deployment *current.IBPOrderer) error
func (*Override) UpdatePVC ¶
func (o *Override) UpdatePVC(instance *current.IBPOrderer, pvc *corev1.PersistentVolumeClaim) error
func (*Override) UpdateService ¶
func (*Override) UpdateServiceAccount ¶
func (o *Override) UpdateServiceAccount(instance *current.IBPOrderer, sa *corev1.ServiceAccount) error
Click to show internal directories.
Click to hide internal directories.