Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager, config *config.Config) error
- func GetUpdateStack(allUpdates map[string][]Update) string
- type ReconcileIBPOrderer
- func (r *ReconcileIBPOrderer) AddOwnerReferenceToSecret(secret *corev1.Secret) (bool, error)
- func (r *ReconcileIBPOrderer) AppendUpdateIfMissing(updates []Update, update Update) []Update
- func (r *ReconcileIBPOrderer) CreateFunc(e event.CreateEvent) bool
- func (r *ReconcileIBPOrderer) DeleteFunc(e event.DeleteEvent) bool
- func (r *ReconcileIBPOrderer) GetGenesisSecret(instance *current.IBPOrderer) error
- func (r *ReconcileIBPOrderer) GetPodStatus(instance *current.IBPOrderer) (map[string]corev1.PodStatus, error)
- func (r *ReconcileIBPOrderer) GetSpecState(instance *current.IBPOrderer) (*corev1.ConfigMap, error)
- func (r *ReconcileIBPOrderer) GetUpdateStatus(instance *current.IBPOrderer) *Update
- func (r *ReconcileIBPOrderer) GetUpdateStatusAtElement(instance *current.IBPOrderer, index int) *Update
- func (r *ReconcileIBPOrderer) PopUpdate(instanceName string) *Update
- func (r *ReconcileIBPOrderer) PushUpdate(instanceName string, update Update)
- func (r *ReconcileIBPOrderer) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileIBPOrderer) ReconcileRestart(namespace string) (bool, error)
- func (r *ReconcileIBPOrderer) SaveSpecState(instance *current.IBPOrderer) error
- func (r *ReconcileIBPOrderer) SetStatus(instance *current.IBPOrderer, result *common.Result, reconcileErr error) error
- func (r *ReconcileIBPOrderer) SetupWithManager(mgr ctrl.Manager) error
- func (r *ReconcileIBPOrderer) UpdateFunc(e event.UpdateEvent) bool
- type Update
- func (u *Update) CertificateCreated() bool
- func (u *Update) CertificateUpdated() bool
- func (u *Update) ConfigOverridesUpdated() bool
- func (u *Update) CryptoBackupNeeded() bool
- func (u *Update) DeploymentUpdated() bool
- func (u *Update) Detected() bool
- func (u *Update) EcertCreated() bool
- func (u *Update) EcertEnroll() bool
- func (u *Update) EcertNewKeyReenroll() bool
- func (u *Update) EcertReenrollNeeded() bool
- func (u *Update) EcertUpdated() bool
- func (u *Update) FabricVersionUpdated() bool
- func (u *Update) GetCreatedCertType() commoninit.SecretType
- func (u *Update) GetUpdateStackWithTrues() string
- func (u *Update) GetUpdatedCertType() commoninit.SecretType
- func (u *Update) ImagesUpdated() bool
- func (u *Update) MSPUpdated() bool
- func (u *Update) MigrateToV2() bool
- func (u *Update) MigrateToV24() bool
- func (u *Update) NodeOUUpdated() bool
- func (u *Update) OrdererTagUpdated() bool
- func (u *Update) RestartNeeded() bool
- func (u *Update) SpecUpdated() bool
- func (u *Update) StatusUpdated() bool
- func (u *Update) TLSCertCreated() bool
- func (u *Update) TLSCertUpdated() bool
- func (u *Update) TLScertEnroll() bool
- func (u *Update) TLScertNewKeyReenroll() bool
- func (u *Update) TLScertReenrollNeeded() bool
Constants ¶
View Source
const (
KIND = "IBPOrderer"
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new IBPOrderer Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func GetUpdateStack ¶
Types ¶
type ReconcileIBPOrderer ¶
type ReconcileIBPOrderer struct { Offering ordererReconcile Config *config.Config RestartService *staggerrestarts.StaggerRestartsService // contains filtered or unexported fields }
ReconcileIBPOrderer reconciles a IBPOrderer object
func (*ReconcileIBPOrderer) AddOwnerReferenceToSecret ¶
func (r *ReconcileIBPOrderer) AddOwnerReferenceToSecret(secret *corev1.Secret) (bool, error)
func (*ReconcileIBPOrderer) AppendUpdateIfMissing ¶
func (r *ReconcileIBPOrderer) AppendUpdateIfMissing(updates []Update, update Update) []Update
func (*ReconcileIBPOrderer) CreateFunc ¶
func (r *ReconcileIBPOrderer) CreateFunc(e event.CreateEvent) bool
func (*ReconcileIBPOrderer) DeleteFunc ¶
func (r *ReconcileIBPOrderer) DeleteFunc(e event.DeleteEvent) bool
func (*ReconcileIBPOrderer) GetGenesisSecret ¶
func (r *ReconcileIBPOrderer) GetGenesisSecret(instance *current.IBPOrderer) error
func (*ReconcileIBPOrderer) GetPodStatus ¶
func (r *ReconcileIBPOrderer) GetPodStatus(instance *current.IBPOrderer) (map[string]corev1.PodStatus, error)
func (*ReconcileIBPOrderer) GetSpecState ¶
func (r *ReconcileIBPOrderer) GetSpecState(instance *current.IBPOrderer) (*corev1.ConfigMap, error)
func (*ReconcileIBPOrderer) GetUpdateStatus ¶
func (r *ReconcileIBPOrderer) GetUpdateStatus(instance *current.IBPOrderer) *Update
func (*ReconcileIBPOrderer) GetUpdateStatusAtElement ¶
func (r *ReconcileIBPOrderer) GetUpdateStatusAtElement(instance *current.IBPOrderer, index int) *Update
func (*ReconcileIBPOrderer) PopUpdate ¶
func (r *ReconcileIBPOrderer) PopUpdate(instanceName string) *Update
func (*ReconcileIBPOrderer) PushUpdate ¶
func (r *ReconcileIBPOrderer) PushUpdate(instanceName string, update Update)
func (*ReconcileIBPOrderer) Reconcile ¶
func (r *ReconcileIBPOrderer) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a IBPOrderer object and makes changes based on the state read and what is in the IBPOrderer.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*ReconcileIBPOrderer) ReconcileRestart ¶
func (r *ReconcileIBPOrderer) ReconcileRestart(namespace string) (bool, error)
func (*ReconcileIBPOrderer) SaveSpecState ¶
func (r *ReconcileIBPOrderer) SaveSpecState(instance *current.IBPOrderer) error
func (*ReconcileIBPOrderer) SetStatus ¶
func (r *ReconcileIBPOrderer) SetStatus(instance *current.IBPOrderer, result *common.Result, reconcileErr error) error
func (*ReconcileIBPOrderer) SetupWithManager ¶
func (r *ReconcileIBPOrderer) SetupWithManager(mgr ctrl.Manager) error
func (*ReconcileIBPOrderer) UpdateFunc ¶
func (r *ReconcileIBPOrderer) UpdateFunc(e event.UpdateEvent) bool
type Update ¶
type Update struct {
// contains filtered or unexported fields
}
func (*Update) CertificateCreated ¶
func (*Update) CertificateUpdated ¶
func (*Update) ConfigOverridesUpdated ¶
func (*Update) CryptoBackupNeeded ¶
func (*Update) DeploymentUpdated ¶
func (*Update) EcertCreated ¶
func (*Update) EcertEnroll ¶
func (*Update) EcertNewKeyReenroll ¶
func (*Update) EcertReenrollNeeded ¶
func (*Update) EcertUpdated ¶
func (*Update) FabricVersionUpdated ¶
FabricVersionUpdated returns true if fabric version updated
func (*Update) GetCreatedCertType ¶
func (u *Update) GetCreatedCertType() commoninit.SecretType
func (*Update) GetUpdateStackWithTrues ¶
func (*Update) GetUpdatedCertType ¶
func (u *Update) GetUpdatedCertType() commoninit.SecretType
func (*Update) ImagesUpdated ¶
ImagesUpdated returns true if images updated
func (*Update) MSPUpdated ¶
func (*Update) MigrateToV2 ¶
func (*Update) MigrateToV24 ¶
func (*Update) NodeOUUpdated ¶
func (*Update) OrdererTagUpdated ¶
func (*Update) RestartNeeded ¶
func (*Update) SpecUpdated ¶
func (*Update) StatusUpdated ¶
func (*Update) TLSCertCreated ¶
func (*Update) TLSCertUpdated ¶
func (*Update) TLScertEnroll ¶
func (*Update) TLScertNewKeyReenroll ¶
func (*Update) TLScertReenrollNeeded ¶
Click to show internal directories.
Click to hide internal directories.