Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type CertificateManager
- func (fake *CertificateManager) CheckCertificatesForExpire(arg1 v1.Object, arg2 int64) (v1beta1.IBPCRStatusType, string, error)
- func (fake *CertificateManager) CheckCertificatesForExpireArgsForCall(i int) (v1.Object, int64)
- func (fake *CertificateManager) CheckCertificatesForExpireCallCount() int
- func (fake *CertificateManager) CheckCertificatesForExpireCalls(stub func(v1.Object, int64) (v1beta1.IBPCRStatusType, string, error))
- func (fake *CertificateManager) CheckCertificatesForExpireReturns(result1 v1beta1.IBPCRStatusType, result2 string, result3 error)
- func (fake *CertificateManager) CheckCertificatesForExpireReturnsOnCall(i int, result1 v1beta1.IBPCRStatusType, result2 string, result3 error)
- func (fake *CertificateManager) GetDurationToNextRenewal(arg1 common.SecretType, arg2 v1.Object, arg3 int64) (time.Duration, error)
- func (fake *CertificateManager) GetDurationToNextRenewalArgsForCall(i int) (common.SecretType, v1.Object, int64)
- func (fake *CertificateManager) GetDurationToNextRenewalCallCount() int
- func (fake *CertificateManager) GetDurationToNextRenewalCalls(stub func(common.SecretType, v1.Object, int64) (time.Duration, error))
- func (fake *CertificateManager) GetDurationToNextRenewalReturns(result1 time.Duration, result2 error)
- func (fake *CertificateManager) GetDurationToNextRenewalReturnsOnCall(i int, result1 time.Duration, result2 error)
- func (fake *CertificateManager) GetSignCert(arg1 string, arg2 string) ([]byte, error)
- func (fake *CertificateManager) GetSignCertArgsForCall(i int) (string, string)
- func (fake *CertificateManager) GetSignCertCallCount() int
- func (fake *CertificateManager) GetSignCertCalls(stub func(string, string) ([]byte, error))
- func (fake *CertificateManager) GetSignCertReturns(result1 []byte, result2 error)
- func (fake *CertificateManager) GetSignCertReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *CertificateManager) Invocations() map[string][][]interface{}
- func (fake *CertificateManager) RenewCert(arg1 common.SecretType, arg2 certificate.Instance, ...) error
- func (fake *CertificateManager) RenewCertArgsForCall(i int) (common.SecretType, certificate.Instance, *v1beta1.EnrollmentSpec, ...)
- func (fake *CertificateManager) RenewCertCallCount() int
- func (fake *CertificateManager) RenewCertCalls(...)
- func (fake *CertificateManager) RenewCertReturns(result1 error)
- func (fake *CertificateManager) RenewCertReturnsOnCall(i int, result1 error)
- type DeploymentManager
- func (fake *DeploymentManager) CheckForSecretChange(arg1 v1.Object, arg2 string, arg3 func(string, *v1a.Deployment) bool) error
- func (fake *DeploymentManager) CheckForSecretChangeArgsForCall(i int) (v1.Object, string, func(string, *v1a.Deployment) bool)
- func (fake *DeploymentManager) CheckForSecretChangeCallCount() int
- func (fake *DeploymentManager) CheckForSecretChangeCalls(stub func(v1.Object, string, func(string, *v1a.Deployment) bool) error)
- func (fake *DeploymentManager) CheckForSecretChangeReturns(result1 error)
- func (fake *DeploymentManager) CheckForSecretChangeReturnsOnCall(i int, result1 error)
- func (fake *DeploymentManager) CheckState(arg1 v1.Object) error
- func (fake *DeploymentManager) CheckStateArgsForCall(i int) v1.Object
- func (fake *DeploymentManager) CheckStateCallCount() int
- func (fake *DeploymentManager) CheckStateCalls(stub func(v1.Object) error)
- func (fake *DeploymentManager) CheckStateReturns(result1 error)
- func (fake *DeploymentManager) CheckStateReturnsOnCall(i int, result1 error)
- func (fake *DeploymentManager) Delete(arg1 v1.Object) error
- func (fake *DeploymentManager) DeleteArgsForCall(i int) v1.Object
- func (fake *DeploymentManager) DeleteCallCount() int
- func (fake *DeploymentManager) DeleteCalls(stub func(v1.Object) error)
- func (fake *DeploymentManager) DeleteReturns(result1 error)
- func (fake *DeploymentManager) DeleteReturnsOnCall(i int, result1 error)
- func (fake *DeploymentManager) DeploymentStatus(arg1 v1.Object) (v1a.DeploymentStatus, error)
- func (fake *DeploymentManager) DeploymentStatusArgsForCall(i int) v1.Object
- func (fake *DeploymentManager) DeploymentStatusCallCount() int
- func (fake *DeploymentManager) DeploymentStatusCalls(stub func(v1.Object) (v1a.DeploymentStatus, error))
- func (fake *DeploymentManager) DeploymentStatusReturns(result1 v1a.DeploymentStatus, result2 error)
- func (fake *DeploymentManager) DeploymentStatusReturnsOnCall(i int, result1 v1a.DeploymentStatus, result2 error)
- func (fake *DeploymentManager) Exists(arg1 v1.Object) bool
- func (fake *DeploymentManager) ExistsArgsForCall(i int) v1.Object
- func (fake *DeploymentManager) ExistsCallCount() int
- func (fake *DeploymentManager) ExistsCalls(stub func(v1.Object) bool)
- func (fake *DeploymentManager) ExistsReturns(result1 bool)
- func (fake *DeploymentManager) ExistsReturnsOnCall(i int, result1 bool)
- func (fake *DeploymentManager) Get(arg1 v1.Object) (client.Object, error)
- func (fake *DeploymentManager) GetArgsForCall(i int) v1.Object
- func (fake *DeploymentManager) GetCallCount() int
- func (fake *DeploymentManager) GetCalls(stub func(v1.Object) (client.Object, error))
- func (fake *DeploymentManager) GetName(arg1 v1.Object) string
- func (fake *DeploymentManager) GetNameArgsForCall(i int) v1.Object
- func (fake *DeploymentManager) GetNameCallCount() int
- func (fake *DeploymentManager) GetNameCalls(stub func(v1.Object) string)
- func (fake *DeploymentManager) GetNameReturns(result1 string)
- func (fake *DeploymentManager) GetNameReturnsOnCall(i int, result1 string)
- func (fake *DeploymentManager) GetReturns(result1 client.Object, result2 error)
- func (fake *DeploymentManager) GetReturnsOnCall(i int, result1 client.Object, result2 error)
- func (fake *DeploymentManager) GetScheme() *runtime.Scheme
- func (fake *DeploymentManager) GetSchemeCallCount() int
- func (fake *DeploymentManager) GetSchemeCalls(stub func() *runtime.Scheme)
- func (fake *DeploymentManager) GetSchemeReturns(result1 *runtime.Scheme)
- func (fake *DeploymentManager) GetSchemeReturnsOnCall(i int, result1 *runtime.Scheme)
- func (fake *DeploymentManager) Invocations() map[string][][]interface{}
- func (fake *DeploymentManager) Reconcile(arg1 v1.Object, arg2 bool) error
- func (fake *DeploymentManager) ReconcileArgsForCall(i int) (v1.Object, bool)
- func (fake *DeploymentManager) ReconcileCallCount() int
- func (fake *DeploymentManager) ReconcileCalls(stub func(v1.Object, bool) error)
- func (fake *DeploymentManager) ReconcileReturns(result1 error)
- func (fake *DeploymentManager) ReconcileReturnsOnCall(i int, result1 error)
- func (fake *DeploymentManager) RestoreState(arg1 v1.Object) error
- func (fake *DeploymentManager) RestoreStateArgsForCall(i int) v1.Object
- func (fake *DeploymentManager) RestoreStateCallCount() int
- func (fake *DeploymentManager) RestoreStateCalls(stub func(v1.Object) error)
- func (fake *DeploymentManager) RestoreStateReturns(result1 error)
- func (fake *DeploymentManager) RestoreStateReturnsOnCall(i int, result1 error)
- func (fake *DeploymentManager) SetCustomName(arg1 string)
- func (fake *DeploymentManager) SetCustomNameArgsForCall(i int) string
- func (fake *DeploymentManager) SetCustomNameCallCount() int
- func (fake *DeploymentManager) SetCustomNameCalls(stub func(string))
- type InitializeIBPPeer
- func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdated(arg1 *v1beta1.IBPPeer) (bool, error)
- func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedArgsForCall(i int) *v1beta1.IBPPeer
- func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedCallCount() int
- func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedCalls(stub func(*v1beta1.IBPPeer) (bool, error))
- func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedReturns(result1 bool, result2 error)
- func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *InitializeIBPPeer) CoreConfigMap() *initializer.CoreConfigMap
- func (fake *InitializeIBPPeer) CoreConfigMapCallCount() int
- func (fake *InitializeIBPPeer) CoreConfigMapCalls(stub func() *initializer.CoreConfigMap)
- func (fake *InitializeIBPPeer) CoreConfigMapReturns(result1 *initializer.CoreConfigMap)
- func (fake *InitializeIBPPeer) CoreConfigMapReturnsOnCall(i int, result1 *initializer.CoreConfigMap)
- func (fake *InitializeIBPPeer) Create(arg1 initializer.CoreConfig, arg2 initializer.IBPPeer, arg3 string) (*initializer.Response, error)
- func (fake *InitializeIBPPeer) CreateArgsForCall(i int) (initializer.CoreConfig, initializer.IBPPeer, string)
- func (fake *InitializeIBPPeer) CreateCallCount() int
- func (fake *InitializeIBPPeer) CreateCalls(...)
- func (fake *InitializeIBPPeer) CreateReturns(result1 *initializer.Response, result2 error)
- func (fake *InitializeIBPPeer) CreateReturnsOnCall(i int, result1 *initializer.Response, result2 error)
- func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecret(arg1 *v1beta1.IBPPeer, arg2 map[string][]byte) error
- func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecretArgsForCall(i int) (*v1beta1.IBPPeer, map[string][]byte)
- func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecretCallCount() int
- func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecretCalls(stub func(*v1beta1.IBPPeer, map[string][]byte) error)
- func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecretReturns(result1 error)
- func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecretReturnsOnCall(i int, result1 error)
- func (fake *InitializeIBPPeer) GenerateSecrets(arg1 common.SecretType, arg2 v1.Object, arg3 *config.Response) error
- func (fake *InitializeIBPPeer) GenerateSecretsArgsForCall(i int) (common.SecretType, v1.Object, *config.Response)
- func (fake *InitializeIBPPeer) GenerateSecretsCallCount() int
- func (fake *InitializeIBPPeer) GenerateSecretsCalls(stub func(common.SecretType, v1.Object, *config.Response) error)
- func (fake *InitializeIBPPeer) GenerateSecretsFromResponse(arg1 *v1beta1.IBPPeer, arg2 *config.CryptoResponse) error
- func (fake *InitializeIBPPeer) GenerateSecretsFromResponseArgsForCall(i int) (*v1beta1.IBPPeer, *config.CryptoResponse)
- func (fake *InitializeIBPPeer) GenerateSecretsFromResponseCallCount() int
- func (fake *InitializeIBPPeer) GenerateSecretsFromResponseCalls(stub func(*v1beta1.IBPPeer, *config.CryptoResponse) error)
- func (fake *InitializeIBPPeer) GenerateSecretsFromResponseReturns(result1 error)
- func (fake *InitializeIBPPeer) GenerateSecretsFromResponseReturnsOnCall(i int, result1 error)
- func (fake *InitializeIBPPeer) GenerateSecretsReturns(result1 error)
- func (fake *InitializeIBPPeer) GenerateSecretsReturnsOnCall(i int, result1 error)
- func (fake *InitializeIBPPeer) GetCrypto(arg1 *v1beta1.IBPPeer) (*config.CryptoResponse, error)
- func (fake *InitializeIBPPeer) GetCryptoArgsForCall(i int) *v1beta1.IBPPeer
- func (fake *InitializeIBPPeer) GetCryptoCallCount() int
- func (fake *InitializeIBPPeer) GetCryptoCalls(stub func(*v1beta1.IBPPeer) (*config.CryptoResponse, error))
- func (fake *InitializeIBPPeer) GetCryptoReturns(result1 *config.CryptoResponse, result2 error)
- func (fake *InitializeIBPPeer) GetCryptoReturnsOnCall(i int, result1 *config.CryptoResponse, result2 error)
- func (fake *InitializeIBPPeer) GetInitPeer(arg1 *v1beta1.IBPPeer, arg2 string) (*initializer.Peer, error)
- func (fake *InitializeIBPPeer) GetInitPeerArgsForCall(i int) (*v1beta1.IBPPeer, string)
- func (fake *InitializeIBPPeer) GetInitPeerCallCount() int
- func (fake *InitializeIBPPeer) GetInitPeerCalls(stub func(*v1beta1.IBPPeer, string) (*initializer.Peer, error))
- func (fake *InitializeIBPPeer) GetInitPeerReturns(result1 *initializer.Peer, result2 error)
- func (fake *InitializeIBPPeer) GetInitPeerReturnsOnCall(i int, result1 *initializer.Peer, result2 error)
- func (fake *InitializeIBPPeer) GetUpdatedPeer(arg1 *v1beta1.IBPPeer) (*initializer.Peer, error)
- func (fake *InitializeIBPPeer) GetUpdatedPeerArgsForCall(i int) *v1beta1.IBPPeer
- func (fake *InitializeIBPPeer) GetUpdatedPeerCallCount() int
- func (fake *InitializeIBPPeer) GetUpdatedPeerCalls(stub func(*v1beta1.IBPPeer) (*initializer.Peer, error))
- func (fake *InitializeIBPPeer) GetUpdatedPeerReturns(result1 *initializer.Peer, result2 error)
- func (fake *InitializeIBPPeer) GetUpdatedPeerReturnsOnCall(i int, result1 *initializer.Peer, result2 error)
- func (fake *InitializeIBPPeer) Invocations() map[string][][]interface{}
- func (fake *InitializeIBPPeer) MissingCrypto(arg1 *v1beta1.IBPPeer) bool
- func (fake *InitializeIBPPeer) MissingCryptoArgsForCall(i int) *v1beta1.IBPPeer
- func (fake *InitializeIBPPeer) MissingCryptoCallCount() int
- func (fake *InitializeIBPPeer) MissingCryptoCalls(stub func(*v1beta1.IBPPeer) bool)
- func (fake *InitializeIBPPeer) MissingCryptoReturns(result1 bool)
- func (fake *InitializeIBPPeer) MissingCryptoReturnsOnCall(i int, result1 bool)
- func (fake *InitializeIBPPeer) Update(arg1 initializer.CoreConfig, arg2 initializer.IBPPeer) (*initializer.Response, error)
- func (fake *InitializeIBPPeer) UpdateAdminSecret(arg1 *v1beta1.IBPPeer) error
- func (fake *InitializeIBPPeer) UpdateAdminSecretArgsForCall(i int) *v1beta1.IBPPeer
- func (fake *InitializeIBPPeer) UpdateAdminSecretCallCount() int
- func (fake *InitializeIBPPeer) UpdateAdminSecretCalls(stub func(*v1beta1.IBPPeer) error)
- func (fake *InitializeIBPPeer) UpdateAdminSecretReturns(result1 error)
- func (fake *InitializeIBPPeer) UpdateAdminSecretReturnsOnCall(i int, result1 error)
- func (fake *InitializeIBPPeer) UpdateArgsForCall(i int) (initializer.CoreConfig, initializer.IBPPeer)
- func (fake *InitializeIBPPeer) UpdateCallCount() int
- func (fake *InitializeIBPPeer) UpdateCalls(...)
- func (fake *InitializeIBPPeer) UpdateReturns(result1 *initializer.Response, result2 error)
- func (fake *InitializeIBPPeer) UpdateReturnsOnCall(i int, result1 *initializer.Response, result2 error)
- func (fake *InitializeIBPPeer) UpdateSecretsFromResponse(arg1 *v1beta1.IBPPeer, arg2 *config.CryptoResponse) error
- func (fake *InitializeIBPPeer) UpdateSecretsFromResponseArgsForCall(i int) (*v1beta1.IBPPeer, *config.CryptoResponse)
- func (fake *InitializeIBPPeer) UpdateSecretsFromResponseCallCount() int
- func (fake *InitializeIBPPeer) UpdateSecretsFromResponseCalls(stub func(*v1beta1.IBPPeer, *config.CryptoResponse) error)
- func (fake *InitializeIBPPeer) UpdateSecretsFromResponseReturns(result1 error)
- func (fake *InitializeIBPPeer) UpdateSecretsFromResponseReturnsOnCall(i int, result1 error)
- type RestartManager
- func (fake *RestartManager) ForAdminCertUpdate(arg1 v1.Object) error
- func (fake *RestartManager) ForAdminCertUpdateArgsForCall(i int) v1.Object
- func (fake *RestartManager) ForAdminCertUpdateCallCount() int
- func (fake *RestartManager) ForAdminCertUpdateCalls(stub func(v1.Object) error)
- func (fake *RestartManager) ForAdminCertUpdateReturns(result1 error)
- func (fake *RestartManager) ForAdminCertUpdateReturnsOnCall(i int, result1 error)
- func (fake *RestartManager) ForCertUpdate(arg1 common.SecretType, arg2 v1.Object) error
- func (fake *RestartManager) ForCertUpdateArgsForCall(i int) (common.SecretType, v1.Object)
- func (fake *RestartManager) ForCertUpdateCallCount() int
- func (fake *RestartManager) ForCertUpdateCalls(stub func(common.SecretType, v1.Object) error)
- func (fake *RestartManager) ForCertUpdateReturns(result1 error)
- func (fake *RestartManager) ForCertUpdateReturnsOnCall(i int, result1 error)
- func (fake *RestartManager) ForConfigOverride(arg1 v1.Object) error
- func (fake *RestartManager) ForConfigOverrideArgsForCall(i int) v1.Object
- func (fake *RestartManager) ForConfigOverrideCallCount() int
- func (fake *RestartManager) ForConfigOverrideCalls(stub func(v1.Object) error)
- func (fake *RestartManager) ForConfigOverrideReturns(result1 error)
- func (fake *RestartManager) ForConfigOverrideReturnsOnCall(i int, result1 error)
- func (fake *RestartManager) ForNodeOU(arg1 v1.Object) error
- func (fake *RestartManager) ForNodeOUArgsForCall(i int) v1.Object
- func (fake *RestartManager) ForNodeOUCallCount() int
- func (fake *RestartManager) ForNodeOUCalls(stub func(v1.Object) error)
- func (fake *RestartManager) ForNodeOUReturns(result1 error)
- func (fake *RestartManager) ForNodeOUReturnsOnCall(i int, result1 error)
- func (fake *RestartManager) ForRestartAction(arg1 v1.Object) error
- func (fake *RestartManager) ForRestartActionArgsForCall(i int) v1.Object
- func (fake *RestartManager) ForRestartActionCallCount() int
- func (fake *RestartManager) ForRestartActionCalls(stub func(v1.Object) error)
- func (fake *RestartManager) ForRestartActionReturns(result1 error)
- func (fake *RestartManager) ForRestartActionReturnsOnCall(i int, result1 error)
- func (fake *RestartManager) Invocations() map[string][][]interface{}
- func (fake *RestartManager) TriggerIfNeeded(arg1 restart.Instance) error
- func (fake *RestartManager) TriggerIfNeededArgsForCall(i int) restart.Instance
- func (fake *RestartManager) TriggerIfNeededCallCount() int
- func (fake *RestartManager) TriggerIfNeededCalls(stub func(restart.Instance) error)
- func (fake *RestartManager) TriggerIfNeededReturns(result1 error)
- func (fake *RestartManager) TriggerIfNeededReturnsOnCall(i int, result1 error)
- type Update
- func (fake *Update) CertificateCreated() bool
- func (fake *Update) CertificateCreatedCallCount() int
- func (fake *Update) CertificateCreatedCalls(stub func() bool)
- func (fake *Update) CertificateCreatedReturns(result1 bool)
- func (fake *Update) CertificateCreatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) CertificateUpdated() bool
- func (fake *Update) CertificateUpdatedCallCount() int
- func (fake *Update) CertificateUpdatedCalls(stub func() bool)
- func (fake *Update) CertificateUpdatedReturns(result1 bool)
- func (fake *Update) CertificateUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) ConfigOverridesUpdated() bool
- func (fake *Update) ConfigOverridesUpdatedCallCount() int
- func (fake *Update) ConfigOverridesUpdatedCalls(stub func() bool)
- func (fake *Update) ConfigOverridesUpdatedReturns(result1 bool)
- func (fake *Update) ConfigOverridesUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) CryptoBackupNeeded() bool
- func (fake *Update) CryptoBackupNeededCallCount() int
- func (fake *Update) CryptoBackupNeededCalls(stub func() bool)
- func (fake *Update) CryptoBackupNeededReturns(result1 bool)
- func (fake *Update) CryptoBackupNeededReturnsOnCall(i int, result1 bool)
- func (fake *Update) DindArgsUpdated() bool
- func (fake *Update) DindArgsUpdatedCallCount() int
- func (fake *Update) DindArgsUpdatedCalls(stub func() bool)
- func (fake *Update) DindArgsUpdatedReturns(result1 bool)
- func (fake *Update) DindArgsUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) EcertEnroll() bool
- func (fake *Update) EcertEnrollCallCount() int
- func (fake *Update) EcertEnrollCalls(stub func() bool)
- func (fake *Update) EcertEnrollReturns(result1 bool)
- func (fake *Update) EcertEnrollReturnsOnCall(i int, result1 bool)
- func (fake *Update) EcertNewKeyReenroll() bool
- func (fake *Update) EcertNewKeyReenrollCallCount() int
- func (fake *Update) EcertNewKeyReenrollCalls(stub func() bool)
- func (fake *Update) EcertNewKeyReenrollReturns(result1 bool)
- func (fake *Update) EcertNewKeyReenrollReturnsOnCall(i int, result1 bool)
- func (fake *Update) EcertReenrollNeeded() bool
- func (fake *Update) EcertReenrollNeededCallCount() int
- func (fake *Update) EcertReenrollNeededCalls(stub func() bool)
- func (fake *Update) EcertReenrollNeededReturns(result1 bool)
- func (fake *Update) EcertReenrollNeededReturnsOnCall(i int, result1 bool)
- func (fake *Update) EcertUpdated() bool
- func (fake *Update) EcertUpdatedCallCount() int
- func (fake *Update) EcertUpdatedCalls(stub func() bool)
- func (fake *Update) EcertUpdatedReturns(result1 bool)
- func (fake *Update) EcertUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) FabricVersionUpdated() bool
- func (fake *Update) FabricVersionUpdatedCallCount() int
- func (fake *Update) FabricVersionUpdatedCalls(stub func() bool)
- func (fake *Update) FabricVersionUpdatedReturns(result1 bool)
- func (fake *Update) FabricVersionUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) GetCreatedCertType() common.SecretType
- func (fake *Update) GetCreatedCertTypeCallCount() int
- func (fake *Update) GetCreatedCertTypeCalls(stub func() common.SecretType)
- func (fake *Update) GetCreatedCertTypeReturns(result1 common.SecretType)
- func (fake *Update) GetCreatedCertTypeReturnsOnCall(i int, result1 common.SecretType)
- func (fake *Update) ImagesUpdated() bool
- func (fake *Update) ImagesUpdatedCallCount() int
- func (fake *Update) ImagesUpdatedCalls(stub func() bool)
- func (fake *Update) ImagesUpdatedReturns(result1 bool)
- func (fake *Update) ImagesUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) Invocations() map[string][][]interface{}
- func (fake *Update) MSPUpdated() bool
- func (fake *Update) MSPUpdatedCallCount() int
- func (fake *Update) MSPUpdatedCalls(stub func() bool)
- func (fake *Update) MSPUpdatedReturns(result1 bool)
- func (fake *Update) MSPUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) MigrateToV2() bool
- func (fake *Update) MigrateToV24() bool
- func (fake *Update) MigrateToV24CallCount() int
- func (fake *Update) MigrateToV24Calls(stub func() bool)
- func (fake *Update) MigrateToV24Returns(result1 bool)
- func (fake *Update) MigrateToV24ReturnsOnCall(i int, result1 bool)
- func (fake *Update) MigrateToV2CallCount() int
- func (fake *Update) MigrateToV2Calls(stub func() bool)
- func (fake *Update) MigrateToV2Returns(result1 bool)
- func (fake *Update) MigrateToV2ReturnsOnCall(i int, result1 bool)
- func (fake *Update) NodeOUUpdated() bool
- func (fake *Update) NodeOUUpdatedCallCount() int
- func (fake *Update) NodeOUUpdatedCalls(stub func() bool)
- func (fake *Update) NodeOUUpdatedReturns(result1 bool)
- func (fake *Update) NodeOUUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) PeerTagUpdated() bool
- func (fake *Update) PeerTagUpdatedCallCount() int
- func (fake *Update) PeerTagUpdatedCalls(stub func() bool)
- func (fake *Update) PeerTagUpdatedReturns(result1 bool)
- func (fake *Update) PeerTagUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) RestartNeeded() bool
- func (fake *Update) RestartNeededCallCount() int
- func (fake *Update) RestartNeededCalls(stub func() bool)
- func (fake *Update) RestartNeededReturns(result1 bool)
- func (fake *Update) RestartNeededReturnsOnCall(i int, result1 bool)
- func (fake *Update) SetDindArgsUpdated(arg1 bool)
- func (fake *Update) SetDindArgsUpdatedArgsForCall(i int) bool
- func (fake *Update) SetDindArgsUpdatedCallCount() int
- func (fake *Update) SetDindArgsUpdatedCalls(stub func(bool))
- func (fake *Update) SpecUpdated() bool
- func (fake *Update) SpecUpdatedCallCount() int
- func (fake *Update) SpecUpdatedCalls(stub func() bool)
- func (fake *Update) SpecUpdatedReturns(result1 bool)
- func (fake *Update) SpecUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) TLSCertEnroll() bool
- func (fake *Update) TLSCertEnrollCallCount() int
- func (fake *Update) TLSCertEnrollCalls(stub func() bool)
- func (fake *Update) TLSCertEnrollReturns(result1 bool)
- func (fake *Update) TLSCertEnrollReturnsOnCall(i int, result1 bool)
- func (fake *Update) TLSCertUpdated() bool
- func (fake *Update) TLSCertUpdatedCallCount() int
- func (fake *Update) TLSCertUpdatedCalls(stub func() bool)
- func (fake *Update) TLSCertUpdatedReturns(result1 bool)
- func (fake *Update) TLSCertUpdatedReturnsOnCall(i int, result1 bool)
- func (fake *Update) TLSReenrollNeeded() bool
- func (fake *Update) TLSReenrollNeededCallCount() int
- func (fake *Update) TLSReenrollNeededCalls(stub func() bool)
- func (fake *Update) TLSReenrollNeededReturns(result1 bool)
- func (fake *Update) TLSReenrollNeededReturnsOnCall(i int, result1 bool)
- func (fake *Update) TLScertNewKeyReenroll() bool
- func (fake *Update) TLScertNewKeyReenrollCallCount() int
- func (fake *Update) TLScertNewKeyReenrollCalls(stub func() bool)
- func (fake *Update) TLScertNewKeyReenrollReturns(result1 bool)
- func (fake *Update) TLScertNewKeyReenrollReturnsOnCall(i int, result1 bool)
- func (fake *Update) UpgradeDBs() bool
- func (fake *Update) UpgradeDBsCallCount() int
- func (fake *Update) UpgradeDBsCalls(stub func() bool)
- func (fake *Update) UpgradeDBsReturns(result1 bool)
- func (fake *Update) UpgradeDBsReturnsOnCall(i int, result1 bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateManager ¶
type CertificateManager struct { CheckCertificatesForExpireStub func(v1.Object, int64) (v1beta1.IBPCRStatusType, string, error) GetDurationToNextRenewalStub func(common.SecretType, v1.Object, int64) (time.Duration, error) GetSignCertStub func(string, string) ([]byte, error) RenewCertStub func(common.SecretType, certificate.Instance, *v1beta1.EnrollmentSpec, *commona.BCCSP, string, bool, bool) error // contains filtered or unexported fields }
func (*CertificateManager) CheckCertificatesForExpire ¶
func (fake *CertificateManager) CheckCertificatesForExpire(arg1 v1.Object, arg2 int64) (v1beta1.IBPCRStatusType, string, error)
func (*CertificateManager) CheckCertificatesForExpireArgsForCall ¶
func (fake *CertificateManager) CheckCertificatesForExpireArgsForCall(i int) (v1.Object, int64)
func (*CertificateManager) CheckCertificatesForExpireCallCount ¶
func (fake *CertificateManager) CheckCertificatesForExpireCallCount() int
func (*CertificateManager) CheckCertificatesForExpireCalls ¶
func (fake *CertificateManager) CheckCertificatesForExpireCalls(stub func(v1.Object, int64) (v1beta1.IBPCRStatusType, string, error))
func (*CertificateManager) CheckCertificatesForExpireReturns ¶
func (fake *CertificateManager) CheckCertificatesForExpireReturns(result1 v1beta1.IBPCRStatusType, result2 string, result3 error)
func (*CertificateManager) CheckCertificatesForExpireReturnsOnCall ¶
func (fake *CertificateManager) CheckCertificatesForExpireReturnsOnCall(i int, result1 v1beta1.IBPCRStatusType, result2 string, result3 error)
func (*CertificateManager) GetDurationToNextRenewal ¶
func (fake *CertificateManager) GetDurationToNextRenewal(arg1 common.SecretType, arg2 v1.Object, arg3 int64) (time.Duration, error)
func (*CertificateManager) GetDurationToNextRenewalArgsForCall ¶
func (fake *CertificateManager) GetDurationToNextRenewalArgsForCall(i int) (common.SecretType, v1.Object, int64)
func (*CertificateManager) GetDurationToNextRenewalCallCount ¶
func (fake *CertificateManager) GetDurationToNextRenewalCallCount() int
func (*CertificateManager) GetDurationToNextRenewalCalls ¶
func (fake *CertificateManager) GetDurationToNextRenewalCalls(stub func(common.SecretType, v1.Object, int64) (time.Duration, error))
func (*CertificateManager) GetDurationToNextRenewalReturns ¶
func (fake *CertificateManager) GetDurationToNextRenewalReturns(result1 time.Duration, result2 error)
func (*CertificateManager) GetDurationToNextRenewalReturnsOnCall ¶
func (fake *CertificateManager) GetDurationToNextRenewalReturnsOnCall(i int, result1 time.Duration, result2 error)
func (*CertificateManager) GetSignCert ¶
func (fake *CertificateManager) GetSignCert(arg1 string, arg2 string) ([]byte, error)
func (*CertificateManager) GetSignCertArgsForCall ¶
func (fake *CertificateManager) GetSignCertArgsForCall(i int) (string, string)
func (*CertificateManager) GetSignCertCallCount ¶
func (fake *CertificateManager) GetSignCertCallCount() int
func (*CertificateManager) GetSignCertCalls ¶
func (fake *CertificateManager) GetSignCertCalls(stub func(string, string) ([]byte, error))
func (*CertificateManager) GetSignCertReturns ¶
func (fake *CertificateManager) GetSignCertReturns(result1 []byte, result2 error)
func (*CertificateManager) GetSignCertReturnsOnCall ¶
func (fake *CertificateManager) GetSignCertReturnsOnCall(i int, result1 []byte, result2 error)
func (*CertificateManager) Invocations ¶
func (fake *CertificateManager) Invocations() map[string][][]interface{}
func (*CertificateManager) RenewCert ¶
func (fake *CertificateManager) RenewCert(arg1 common.SecretType, arg2 certificate.Instance, arg3 *v1beta1.EnrollmentSpec, arg4 *commona.BCCSP, arg5 string, arg6 bool, arg7 bool) error
func (*CertificateManager) RenewCertArgsForCall ¶
func (fake *CertificateManager) RenewCertArgsForCall(i int) (common.SecretType, certificate.Instance, *v1beta1.EnrollmentSpec, *commona.BCCSP, string, bool, bool)
func (*CertificateManager) RenewCertCallCount ¶
func (fake *CertificateManager) RenewCertCallCount() int
func (*CertificateManager) RenewCertCalls ¶
func (fake *CertificateManager) RenewCertCalls(stub func(common.SecretType, certificate.Instance, *v1beta1.EnrollmentSpec, *commona.BCCSP, string, bool, bool) error)
func (*CertificateManager) RenewCertReturns ¶
func (fake *CertificateManager) RenewCertReturns(result1 error)
func (*CertificateManager) RenewCertReturnsOnCall ¶
func (fake *CertificateManager) RenewCertReturnsOnCall(i int, result1 error)
type DeploymentManager ¶
type DeploymentManager struct { CheckForSecretChangeStub func(v1.Object, string, func(string, *v1a.Deployment) bool) error CheckStateStub func(v1.Object) error DeleteStub func(v1.Object) error DeploymentStatusStub func(v1.Object) (v1a.DeploymentStatus, error) ExistsStub func(v1.Object) bool GetStub func(v1.Object) (client.Object, error) GetNameStub func(v1.Object) string GetSchemeStub func() *runtime.Scheme ReconcileStub func(v1.Object, bool) error RestoreStateStub func(v1.Object) error SetCustomNameStub func(string) // contains filtered or unexported fields }
func (*DeploymentManager) CheckForSecretChange ¶
func (fake *DeploymentManager) CheckForSecretChange(arg1 v1.Object, arg2 string, arg3 func(string, *v1a.Deployment) bool) error
func (*DeploymentManager) CheckForSecretChangeArgsForCall ¶
func (fake *DeploymentManager) CheckForSecretChangeArgsForCall(i int) (v1.Object, string, func(string, *v1a.Deployment) bool)
func (*DeploymentManager) CheckForSecretChangeCallCount ¶
func (fake *DeploymentManager) CheckForSecretChangeCallCount() int
func (*DeploymentManager) CheckForSecretChangeCalls ¶
func (fake *DeploymentManager) CheckForSecretChangeCalls(stub func(v1.Object, string, func(string, *v1a.Deployment) bool) error)
func (*DeploymentManager) CheckForSecretChangeReturns ¶
func (fake *DeploymentManager) CheckForSecretChangeReturns(result1 error)
func (*DeploymentManager) CheckForSecretChangeReturnsOnCall ¶
func (fake *DeploymentManager) CheckForSecretChangeReturnsOnCall(i int, result1 error)
func (*DeploymentManager) CheckState ¶
func (fake *DeploymentManager) CheckState(arg1 v1.Object) error
func (*DeploymentManager) CheckStateArgsForCall ¶
func (fake *DeploymentManager) CheckStateArgsForCall(i int) v1.Object
func (*DeploymentManager) CheckStateCallCount ¶
func (fake *DeploymentManager) CheckStateCallCount() int
func (*DeploymentManager) CheckStateCalls ¶
func (fake *DeploymentManager) CheckStateCalls(stub func(v1.Object) error)
func (*DeploymentManager) CheckStateReturns ¶
func (fake *DeploymentManager) CheckStateReturns(result1 error)
func (*DeploymentManager) CheckStateReturnsOnCall ¶
func (fake *DeploymentManager) CheckStateReturnsOnCall(i int, result1 error)
func (*DeploymentManager) DeleteArgsForCall ¶
func (fake *DeploymentManager) DeleteArgsForCall(i int) v1.Object
func (*DeploymentManager) DeleteCallCount ¶
func (fake *DeploymentManager) DeleteCallCount() int
func (*DeploymentManager) DeleteCalls ¶
func (fake *DeploymentManager) DeleteCalls(stub func(v1.Object) error)
func (*DeploymentManager) DeleteReturns ¶
func (fake *DeploymentManager) DeleteReturns(result1 error)
func (*DeploymentManager) DeleteReturnsOnCall ¶
func (fake *DeploymentManager) DeleteReturnsOnCall(i int, result1 error)
func (*DeploymentManager) DeploymentStatus ¶
func (fake *DeploymentManager) DeploymentStatus(arg1 v1.Object) (v1a.DeploymentStatus, error)
func (*DeploymentManager) DeploymentStatusArgsForCall ¶
func (fake *DeploymentManager) DeploymentStatusArgsForCall(i int) v1.Object
func (*DeploymentManager) DeploymentStatusCallCount ¶
func (fake *DeploymentManager) DeploymentStatusCallCount() int
func (*DeploymentManager) DeploymentStatusCalls ¶
func (fake *DeploymentManager) DeploymentStatusCalls(stub func(v1.Object) (v1a.DeploymentStatus, error))
func (*DeploymentManager) DeploymentStatusReturns ¶
func (fake *DeploymentManager) DeploymentStatusReturns(result1 v1a.DeploymentStatus, result2 error)
func (*DeploymentManager) DeploymentStatusReturnsOnCall ¶
func (fake *DeploymentManager) DeploymentStatusReturnsOnCall(i int, result1 v1a.DeploymentStatus, result2 error)
func (*DeploymentManager) ExistsArgsForCall ¶
func (fake *DeploymentManager) ExistsArgsForCall(i int) v1.Object
func (*DeploymentManager) ExistsCallCount ¶
func (fake *DeploymentManager) ExistsCallCount() int
func (*DeploymentManager) ExistsCalls ¶
func (fake *DeploymentManager) ExistsCalls(stub func(v1.Object) bool)
func (*DeploymentManager) ExistsReturns ¶
func (fake *DeploymentManager) ExistsReturns(result1 bool)
func (*DeploymentManager) ExistsReturnsOnCall ¶
func (fake *DeploymentManager) ExistsReturnsOnCall(i int, result1 bool)
func (*DeploymentManager) GetArgsForCall ¶
func (fake *DeploymentManager) GetArgsForCall(i int) v1.Object
func (*DeploymentManager) GetCallCount ¶
func (fake *DeploymentManager) GetCallCount() int
func (*DeploymentManager) GetNameArgsForCall ¶
func (fake *DeploymentManager) GetNameArgsForCall(i int) v1.Object
func (*DeploymentManager) GetNameCallCount ¶
func (fake *DeploymentManager) GetNameCallCount() int
func (*DeploymentManager) GetNameCalls ¶
func (fake *DeploymentManager) GetNameCalls(stub func(v1.Object) string)
func (*DeploymentManager) GetNameReturns ¶
func (fake *DeploymentManager) GetNameReturns(result1 string)
func (*DeploymentManager) GetNameReturnsOnCall ¶
func (fake *DeploymentManager) GetNameReturnsOnCall(i int, result1 string)
func (*DeploymentManager) GetReturns ¶
func (fake *DeploymentManager) GetReturns(result1 client.Object, result2 error)
func (*DeploymentManager) GetReturnsOnCall ¶
func (fake *DeploymentManager) GetReturnsOnCall(i int, result1 client.Object, result2 error)
func (*DeploymentManager) GetScheme ¶
func (fake *DeploymentManager) GetScheme() *runtime.Scheme
func (*DeploymentManager) GetSchemeCallCount ¶
func (fake *DeploymentManager) GetSchemeCallCount() int
func (*DeploymentManager) GetSchemeCalls ¶
func (fake *DeploymentManager) GetSchemeCalls(stub func() *runtime.Scheme)
func (*DeploymentManager) GetSchemeReturns ¶
func (fake *DeploymentManager) GetSchemeReturns(result1 *runtime.Scheme)
func (*DeploymentManager) GetSchemeReturnsOnCall ¶
func (fake *DeploymentManager) GetSchemeReturnsOnCall(i int, result1 *runtime.Scheme)
func (*DeploymentManager) Invocations ¶
func (fake *DeploymentManager) Invocations() map[string][][]interface{}
func (*DeploymentManager) Reconcile ¶
func (fake *DeploymentManager) Reconcile(arg1 v1.Object, arg2 bool) error
func (*DeploymentManager) ReconcileArgsForCall ¶
func (fake *DeploymentManager) ReconcileArgsForCall(i int) (v1.Object, bool)
func (*DeploymentManager) ReconcileCallCount ¶
func (fake *DeploymentManager) ReconcileCallCount() int
func (*DeploymentManager) ReconcileCalls ¶
func (fake *DeploymentManager) ReconcileCalls(stub func(v1.Object, bool) error)
func (*DeploymentManager) ReconcileReturns ¶
func (fake *DeploymentManager) ReconcileReturns(result1 error)
func (*DeploymentManager) ReconcileReturnsOnCall ¶
func (fake *DeploymentManager) ReconcileReturnsOnCall(i int, result1 error)
func (*DeploymentManager) RestoreState ¶
func (fake *DeploymentManager) RestoreState(arg1 v1.Object) error
func (*DeploymentManager) RestoreStateArgsForCall ¶
func (fake *DeploymentManager) RestoreStateArgsForCall(i int) v1.Object
func (*DeploymentManager) RestoreStateCallCount ¶
func (fake *DeploymentManager) RestoreStateCallCount() int
func (*DeploymentManager) RestoreStateCalls ¶
func (fake *DeploymentManager) RestoreStateCalls(stub func(v1.Object) error)
func (*DeploymentManager) RestoreStateReturns ¶
func (fake *DeploymentManager) RestoreStateReturns(result1 error)
func (*DeploymentManager) RestoreStateReturnsOnCall ¶
func (fake *DeploymentManager) RestoreStateReturnsOnCall(i int, result1 error)
func (*DeploymentManager) SetCustomName ¶
func (fake *DeploymentManager) SetCustomName(arg1 string)
func (*DeploymentManager) SetCustomNameArgsForCall ¶
func (fake *DeploymentManager) SetCustomNameArgsForCall(i int) string
func (*DeploymentManager) SetCustomNameCallCount ¶
func (fake *DeploymentManager) SetCustomNameCallCount() int
func (*DeploymentManager) SetCustomNameCalls ¶
func (fake *DeploymentManager) SetCustomNameCalls(stub func(string))
type InitializeIBPPeer ¶
type InitializeIBPPeer struct { CheckIfAdminCertsUpdatedStub func(*v1beta1.IBPPeer) (bool, error) CoreConfigMapStub func() *initializer.CoreConfigMap CreateStub func(initializer.CoreConfig, initializer.IBPPeer, string) (*initializer.Response, error) GenerateOrdererCACertsSecretStub func(*v1beta1.IBPPeer, map[string][]byte) error GenerateSecretsStub func(common.SecretType, v1.Object, *config.Response) error GenerateSecretsFromResponseStub func(*v1beta1.IBPPeer, *config.CryptoResponse) error GetCryptoStub func(*v1beta1.IBPPeer) (*config.CryptoResponse, error) GetInitPeerStub func(*v1beta1.IBPPeer, string) (*initializer.Peer, error) GetUpdatedPeerStub func(*v1beta1.IBPPeer) (*initializer.Peer, error) MissingCryptoStub func(*v1beta1.IBPPeer) bool UpdateStub func(initializer.CoreConfig, initializer.IBPPeer) (*initializer.Response, error) UpdateAdminSecretStub func(*v1beta1.IBPPeer) error UpdateSecretsFromResponseStub func(*v1beta1.IBPPeer, *config.CryptoResponse) error // contains filtered or unexported fields }
func (*InitializeIBPPeer) CheckIfAdminCertsUpdated ¶
func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdated(arg1 *v1beta1.IBPPeer) (bool, error)
func (*InitializeIBPPeer) CheckIfAdminCertsUpdatedArgsForCall ¶
func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedArgsForCall(i int) *v1beta1.IBPPeer
func (*InitializeIBPPeer) CheckIfAdminCertsUpdatedCallCount ¶
func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedCallCount() int
func (*InitializeIBPPeer) CheckIfAdminCertsUpdatedCalls ¶
func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedCalls(stub func(*v1beta1.IBPPeer) (bool, error))
func (*InitializeIBPPeer) CheckIfAdminCertsUpdatedReturns ¶
func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedReturns(result1 bool, result2 error)
func (*InitializeIBPPeer) CheckIfAdminCertsUpdatedReturnsOnCall ¶
func (fake *InitializeIBPPeer) CheckIfAdminCertsUpdatedReturnsOnCall(i int, result1 bool, result2 error)
func (*InitializeIBPPeer) CoreConfigMap ¶
func (fake *InitializeIBPPeer) CoreConfigMap() *initializer.CoreConfigMap
func (*InitializeIBPPeer) CoreConfigMapCallCount ¶
func (fake *InitializeIBPPeer) CoreConfigMapCallCount() int
func (*InitializeIBPPeer) CoreConfigMapCalls ¶
func (fake *InitializeIBPPeer) CoreConfigMapCalls(stub func() *initializer.CoreConfigMap)
func (*InitializeIBPPeer) CoreConfigMapReturns ¶
func (fake *InitializeIBPPeer) CoreConfigMapReturns(result1 *initializer.CoreConfigMap)
func (*InitializeIBPPeer) CoreConfigMapReturnsOnCall ¶
func (fake *InitializeIBPPeer) CoreConfigMapReturnsOnCall(i int, result1 *initializer.CoreConfigMap)
func (*InitializeIBPPeer) Create ¶
func (fake *InitializeIBPPeer) Create(arg1 initializer.CoreConfig, arg2 initializer.IBPPeer, arg3 string) (*initializer.Response, error)
func (*InitializeIBPPeer) CreateArgsForCall ¶
func (fake *InitializeIBPPeer) CreateArgsForCall(i int) (initializer.CoreConfig, initializer.IBPPeer, string)
func (*InitializeIBPPeer) CreateCallCount ¶
func (fake *InitializeIBPPeer) CreateCallCount() int
func (*InitializeIBPPeer) CreateCalls ¶
func (fake *InitializeIBPPeer) CreateCalls(stub func(initializer.CoreConfig, initializer.IBPPeer, string) (*initializer.Response, error))
func (*InitializeIBPPeer) CreateReturns ¶
func (fake *InitializeIBPPeer) CreateReturns(result1 *initializer.Response, result2 error)
func (*InitializeIBPPeer) CreateReturnsOnCall ¶
func (fake *InitializeIBPPeer) CreateReturnsOnCall(i int, result1 *initializer.Response, result2 error)
func (*InitializeIBPPeer) GenerateOrdererCACertsSecret ¶
func (*InitializeIBPPeer) GenerateOrdererCACertsSecretArgsForCall ¶
func (*InitializeIBPPeer) GenerateOrdererCACertsSecretCallCount ¶
func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecretCallCount() int
func (*InitializeIBPPeer) GenerateOrdererCACertsSecretCalls ¶
func (*InitializeIBPPeer) GenerateOrdererCACertsSecretReturns ¶
func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecretReturns(result1 error)
func (*InitializeIBPPeer) GenerateOrdererCACertsSecretReturnsOnCall ¶
func (fake *InitializeIBPPeer) GenerateOrdererCACertsSecretReturnsOnCall(i int, result1 error)
func (*InitializeIBPPeer) GenerateSecrets ¶
func (fake *InitializeIBPPeer) GenerateSecrets(arg1 common.SecretType, arg2 v1.Object, arg3 *config.Response) error
func (*InitializeIBPPeer) GenerateSecretsArgsForCall ¶
func (fake *InitializeIBPPeer) GenerateSecretsArgsForCall(i int) (common.SecretType, v1.Object, *config.Response)
func (*InitializeIBPPeer) GenerateSecretsCallCount ¶
func (fake *InitializeIBPPeer) GenerateSecretsCallCount() int
func (*InitializeIBPPeer) GenerateSecretsCalls ¶
func (fake *InitializeIBPPeer) GenerateSecretsCalls(stub func(common.SecretType, v1.Object, *config.Response) error)
func (*InitializeIBPPeer) GenerateSecretsFromResponse ¶
func (fake *InitializeIBPPeer) GenerateSecretsFromResponse(arg1 *v1beta1.IBPPeer, arg2 *config.CryptoResponse) error
func (*InitializeIBPPeer) GenerateSecretsFromResponseArgsForCall ¶
func (fake *InitializeIBPPeer) GenerateSecretsFromResponseArgsForCall(i int) (*v1beta1.IBPPeer, *config.CryptoResponse)
func (*InitializeIBPPeer) GenerateSecretsFromResponseCallCount ¶
func (fake *InitializeIBPPeer) GenerateSecretsFromResponseCallCount() int
func (*InitializeIBPPeer) GenerateSecretsFromResponseCalls ¶
func (fake *InitializeIBPPeer) GenerateSecretsFromResponseCalls(stub func(*v1beta1.IBPPeer, *config.CryptoResponse) error)
func (*InitializeIBPPeer) GenerateSecretsFromResponseReturns ¶
func (fake *InitializeIBPPeer) GenerateSecretsFromResponseReturns(result1 error)
func (*InitializeIBPPeer) GenerateSecretsFromResponseReturnsOnCall ¶
func (fake *InitializeIBPPeer) GenerateSecretsFromResponseReturnsOnCall(i int, result1 error)
func (*InitializeIBPPeer) GenerateSecretsReturns ¶
func (fake *InitializeIBPPeer) GenerateSecretsReturns(result1 error)
func (*InitializeIBPPeer) GenerateSecretsReturnsOnCall ¶
func (fake *InitializeIBPPeer) GenerateSecretsReturnsOnCall(i int, result1 error)
func (*InitializeIBPPeer) GetCrypto ¶
func (fake *InitializeIBPPeer) GetCrypto(arg1 *v1beta1.IBPPeer) (*config.CryptoResponse, error)
func (*InitializeIBPPeer) GetCryptoArgsForCall ¶
func (fake *InitializeIBPPeer) GetCryptoArgsForCall(i int) *v1beta1.IBPPeer
func (*InitializeIBPPeer) GetCryptoCallCount ¶
func (fake *InitializeIBPPeer) GetCryptoCallCount() int
func (*InitializeIBPPeer) GetCryptoCalls ¶
func (fake *InitializeIBPPeer) GetCryptoCalls(stub func(*v1beta1.IBPPeer) (*config.CryptoResponse, error))
func (*InitializeIBPPeer) GetCryptoReturns ¶
func (fake *InitializeIBPPeer) GetCryptoReturns(result1 *config.CryptoResponse, result2 error)
func (*InitializeIBPPeer) GetCryptoReturnsOnCall ¶
func (fake *InitializeIBPPeer) GetCryptoReturnsOnCall(i int, result1 *config.CryptoResponse, result2 error)
func (*InitializeIBPPeer) GetInitPeer ¶
func (fake *InitializeIBPPeer) GetInitPeer(arg1 *v1beta1.IBPPeer, arg2 string) (*initializer.Peer, error)
func (*InitializeIBPPeer) GetInitPeerArgsForCall ¶
func (fake *InitializeIBPPeer) GetInitPeerArgsForCall(i int) (*v1beta1.IBPPeer, string)
func (*InitializeIBPPeer) GetInitPeerCallCount ¶
func (fake *InitializeIBPPeer) GetInitPeerCallCount() int
func (*InitializeIBPPeer) GetInitPeerCalls ¶
func (fake *InitializeIBPPeer) GetInitPeerCalls(stub func(*v1beta1.IBPPeer, string) (*initializer.Peer, error))
func (*InitializeIBPPeer) GetInitPeerReturns ¶
func (fake *InitializeIBPPeer) GetInitPeerReturns(result1 *initializer.Peer, result2 error)
func (*InitializeIBPPeer) GetInitPeerReturnsOnCall ¶
func (fake *InitializeIBPPeer) GetInitPeerReturnsOnCall(i int, result1 *initializer.Peer, result2 error)
func (*InitializeIBPPeer) GetUpdatedPeer ¶
func (fake *InitializeIBPPeer) GetUpdatedPeer(arg1 *v1beta1.IBPPeer) (*initializer.Peer, error)
func (*InitializeIBPPeer) GetUpdatedPeerArgsForCall ¶
func (fake *InitializeIBPPeer) GetUpdatedPeerArgsForCall(i int) *v1beta1.IBPPeer
func (*InitializeIBPPeer) GetUpdatedPeerCallCount ¶
func (fake *InitializeIBPPeer) GetUpdatedPeerCallCount() int
func (*InitializeIBPPeer) GetUpdatedPeerCalls ¶
func (fake *InitializeIBPPeer) GetUpdatedPeerCalls(stub func(*v1beta1.IBPPeer) (*initializer.Peer, error))
func (*InitializeIBPPeer) GetUpdatedPeerReturns ¶
func (fake *InitializeIBPPeer) GetUpdatedPeerReturns(result1 *initializer.Peer, result2 error)
func (*InitializeIBPPeer) GetUpdatedPeerReturnsOnCall ¶
func (fake *InitializeIBPPeer) GetUpdatedPeerReturnsOnCall(i int, result1 *initializer.Peer, result2 error)
func (*InitializeIBPPeer) Invocations ¶
func (fake *InitializeIBPPeer) Invocations() map[string][][]interface{}
func (*InitializeIBPPeer) MissingCrypto ¶
func (fake *InitializeIBPPeer) MissingCrypto(arg1 *v1beta1.IBPPeer) bool
func (*InitializeIBPPeer) MissingCryptoArgsForCall ¶
func (fake *InitializeIBPPeer) MissingCryptoArgsForCall(i int) *v1beta1.IBPPeer
func (*InitializeIBPPeer) MissingCryptoCallCount ¶
func (fake *InitializeIBPPeer) MissingCryptoCallCount() int
func (*InitializeIBPPeer) MissingCryptoCalls ¶
func (fake *InitializeIBPPeer) MissingCryptoCalls(stub func(*v1beta1.IBPPeer) bool)
func (*InitializeIBPPeer) MissingCryptoReturns ¶
func (fake *InitializeIBPPeer) MissingCryptoReturns(result1 bool)
func (*InitializeIBPPeer) MissingCryptoReturnsOnCall ¶
func (fake *InitializeIBPPeer) MissingCryptoReturnsOnCall(i int, result1 bool)
func (*InitializeIBPPeer) Update ¶
func (fake *InitializeIBPPeer) Update(arg1 initializer.CoreConfig, arg2 initializer.IBPPeer) (*initializer.Response, error)
func (*InitializeIBPPeer) UpdateAdminSecret ¶
func (fake *InitializeIBPPeer) UpdateAdminSecret(arg1 *v1beta1.IBPPeer) error
func (*InitializeIBPPeer) UpdateAdminSecretArgsForCall ¶
func (fake *InitializeIBPPeer) UpdateAdminSecretArgsForCall(i int) *v1beta1.IBPPeer
func (*InitializeIBPPeer) UpdateAdminSecretCallCount ¶
func (fake *InitializeIBPPeer) UpdateAdminSecretCallCount() int
func (*InitializeIBPPeer) UpdateAdminSecretCalls ¶
func (fake *InitializeIBPPeer) UpdateAdminSecretCalls(stub func(*v1beta1.IBPPeer) error)
func (*InitializeIBPPeer) UpdateAdminSecretReturns ¶
func (fake *InitializeIBPPeer) UpdateAdminSecretReturns(result1 error)
func (*InitializeIBPPeer) UpdateAdminSecretReturnsOnCall ¶
func (fake *InitializeIBPPeer) UpdateAdminSecretReturnsOnCall(i int, result1 error)
func (*InitializeIBPPeer) UpdateArgsForCall ¶
func (fake *InitializeIBPPeer) UpdateArgsForCall(i int) (initializer.CoreConfig, initializer.IBPPeer)
func (*InitializeIBPPeer) UpdateCallCount ¶
func (fake *InitializeIBPPeer) UpdateCallCount() int
func (*InitializeIBPPeer) UpdateCalls ¶
func (fake *InitializeIBPPeer) UpdateCalls(stub func(initializer.CoreConfig, initializer.IBPPeer) (*initializer.Response, error))
func (*InitializeIBPPeer) UpdateReturns ¶
func (fake *InitializeIBPPeer) UpdateReturns(result1 *initializer.Response, result2 error)
func (*InitializeIBPPeer) UpdateReturnsOnCall ¶
func (fake *InitializeIBPPeer) UpdateReturnsOnCall(i int, result1 *initializer.Response, result2 error)
func (*InitializeIBPPeer) UpdateSecretsFromResponse ¶
func (fake *InitializeIBPPeer) UpdateSecretsFromResponse(arg1 *v1beta1.IBPPeer, arg2 *config.CryptoResponse) error
func (*InitializeIBPPeer) UpdateSecretsFromResponseArgsForCall ¶
func (fake *InitializeIBPPeer) UpdateSecretsFromResponseArgsForCall(i int) (*v1beta1.IBPPeer, *config.CryptoResponse)
func (*InitializeIBPPeer) UpdateSecretsFromResponseCallCount ¶
func (fake *InitializeIBPPeer) UpdateSecretsFromResponseCallCount() int
func (*InitializeIBPPeer) UpdateSecretsFromResponseCalls ¶
func (fake *InitializeIBPPeer) UpdateSecretsFromResponseCalls(stub func(*v1beta1.IBPPeer, *config.CryptoResponse) error)
func (*InitializeIBPPeer) UpdateSecretsFromResponseReturns ¶
func (fake *InitializeIBPPeer) UpdateSecretsFromResponseReturns(result1 error)
func (*InitializeIBPPeer) UpdateSecretsFromResponseReturnsOnCall ¶
func (fake *InitializeIBPPeer) UpdateSecretsFromResponseReturnsOnCall(i int, result1 error)
type RestartManager ¶
type RestartManager struct { ForAdminCertUpdateStub func(v1.Object) error ForCertUpdateStub func(common.SecretType, v1.Object) error ForConfigOverrideStub func(v1.Object) error ForNodeOUStub func(v1.Object) error ForRestartActionStub func(v1.Object) error TriggerIfNeededStub func(restart.Instance) error // contains filtered or unexported fields }
func (*RestartManager) ForAdminCertUpdate ¶
func (fake *RestartManager) ForAdminCertUpdate(arg1 v1.Object) error
func (*RestartManager) ForAdminCertUpdateArgsForCall ¶
func (fake *RestartManager) ForAdminCertUpdateArgsForCall(i int) v1.Object
func (*RestartManager) ForAdminCertUpdateCallCount ¶
func (fake *RestartManager) ForAdminCertUpdateCallCount() int
func (*RestartManager) ForAdminCertUpdateCalls ¶
func (fake *RestartManager) ForAdminCertUpdateCalls(stub func(v1.Object) error)
func (*RestartManager) ForAdminCertUpdateReturns ¶
func (fake *RestartManager) ForAdminCertUpdateReturns(result1 error)
func (*RestartManager) ForAdminCertUpdateReturnsOnCall ¶
func (fake *RestartManager) ForAdminCertUpdateReturnsOnCall(i int, result1 error)
func (*RestartManager) ForCertUpdate ¶
func (fake *RestartManager) ForCertUpdate(arg1 common.SecretType, arg2 v1.Object) error
func (*RestartManager) ForCertUpdateArgsForCall ¶
func (fake *RestartManager) ForCertUpdateArgsForCall(i int) (common.SecretType, v1.Object)
func (*RestartManager) ForCertUpdateCallCount ¶
func (fake *RestartManager) ForCertUpdateCallCount() int
func (*RestartManager) ForCertUpdateCalls ¶
func (fake *RestartManager) ForCertUpdateCalls(stub func(common.SecretType, v1.Object) error)
func (*RestartManager) ForCertUpdateReturns ¶
func (fake *RestartManager) ForCertUpdateReturns(result1 error)
func (*RestartManager) ForCertUpdateReturnsOnCall ¶
func (fake *RestartManager) ForCertUpdateReturnsOnCall(i int, result1 error)
func (*RestartManager) ForConfigOverride ¶
func (fake *RestartManager) ForConfigOverride(arg1 v1.Object) error
func (*RestartManager) ForConfigOverrideArgsForCall ¶
func (fake *RestartManager) ForConfigOverrideArgsForCall(i int) v1.Object
func (*RestartManager) ForConfigOverrideCallCount ¶
func (fake *RestartManager) ForConfigOverrideCallCount() int
func (*RestartManager) ForConfigOverrideCalls ¶
func (fake *RestartManager) ForConfigOverrideCalls(stub func(v1.Object) error)
func (*RestartManager) ForConfigOverrideReturns ¶
func (fake *RestartManager) ForConfigOverrideReturns(result1 error)
func (*RestartManager) ForConfigOverrideReturnsOnCall ¶
func (fake *RestartManager) ForConfigOverrideReturnsOnCall(i int, result1 error)
func (*RestartManager) ForNodeOUArgsForCall ¶
func (fake *RestartManager) ForNodeOUArgsForCall(i int) v1.Object
func (*RestartManager) ForNodeOUCallCount ¶
func (fake *RestartManager) ForNodeOUCallCount() int
func (*RestartManager) ForNodeOUCalls ¶
func (fake *RestartManager) ForNodeOUCalls(stub func(v1.Object) error)
func (*RestartManager) ForNodeOUReturns ¶
func (fake *RestartManager) ForNodeOUReturns(result1 error)
func (*RestartManager) ForNodeOUReturnsOnCall ¶
func (fake *RestartManager) ForNodeOUReturnsOnCall(i int, result1 error)
func (*RestartManager) ForRestartAction ¶
func (fake *RestartManager) ForRestartAction(arg1 v1.Object) error
func (*RestartManager) ForRestartActionArgsForCall ¶
func (fake *RestartManager) ForRestartActionArgsForCall(i int) v1.Object
func (*RestartManager) ForRestartActionCallCount ¶
func (fake *RestartManager) ForRestartActionCallCount() int
func (*RestartManager) ForRestartActionCalls ¶
func (fake *RestartManager) ForRestartActionCalls(stub func(v1.Object) error)
func (*RestartManager) ForRestartActionReturns ¶
func (fake *RestartManager) ForRestartActionReturns(result1 error)
func (*RestartManager) ForRestartActionReturnsOnCall ¶
func (fake *RestartManager) ForRestartActionReturnsOnCall(i int, result1 error)
func (*RestartManager) Invocations ¶
func (fake *RestartManager) Invocations() map[string][][]interface{}
func (*RestartManager) TriggerIfNeeded ¶
func (fake *RestartManager) TriggerIfNeeded(arg1 restart.Instance) error
func (*RestartManager) TriggerIfNeededArgsForCall ¶
func (fake *RestartManager) TriggerIfNeededArgsForCall(i int) restart.Instance
func (*RestartManager) TriggerIfNeededCallCount ¶
func (fake *RestartManager) TriggerIfNeededCallCount() int
func (*RestartManager) TriggerIfNeededCalls ¶
func (fake *RestartManager) TriggerIfNeededCalls(stub func(restart.Instance) error)
func (*RestartManager) TriggerIfNeededReturns ¶
func (fake *RestartManager) TriggerIfNeededReturns(result1 error)
func (*RestartManager) TriggerIfNeededReturnsOnCall ¶
func (fake *RestartManager) TriggerIfNeededReturnsOnCall(i int, result1 error)
type Update ¶
type Update struct { CertificateCreatedStub func() bool CertificateUpdatedStub func() bool ConfigOverridesUpdatedStub func() bool CryptoBackupNeededStub func() bool DindArgsUpdatedStub func() bool EcertEnrollStub func() bool EcertNewKeyReenrollStub func() bool EcertReenrollNeededStub func() bool EcertUpdatedStub func() bool FabricVersionUpdatedStub func() bool GetCreatedCertTypeStub func() common.SecretType ImagesUpdatedStub func() bool MSPUpdatedStub func() bool MigrateToV2Stub func() bool MigrateToV24Stub func() bool NodeOUUpdatedStub func() bool PeerTagUpdatedStub func() bool RestartNeededStub func() bool SetDindArgsUpdatedStub func(bool) SpecUpdatedStub func() bool TLSCertEnrollStub func() bool TLSCertUpdatedStub func() bool TLSReenrollNeededStub func() bool TLScertNewKeyReenrollStub func() bool UpgradeDBsStub func() bool // contains filtered or unexported fields }
func (*Update) CertificateCreated ¶
func (*Update) CertificateCreatedCallCount ¶
func (*Update) CertificateCreatedCalls ¶
func (*Update) CertificateCreatedReturns ¶
func (*Update) CertificateCreatedReturnsOnCall ¶
func (*Update) CertificateUpdated ¶
func (*Update) CertificateUpdatedCallCount ¶
func (*Update) CertificateUpdatedCalls ¶
func (*Update) CertificateUpdatedReturns ¶
func (*Update) CertificateUpdatedReturnsOnCall ¶
func (*Update) ConfigOverridesUpdated ¶
func (*Update) ConfigOverridesUpdatedCallCount ¶
func (*Update) ConfigOverridesUpdatedCalls ¶
func (*Update) ConfigOverridesUpdatedReturns ¶
func (*Update) ConfigOverridesUpdatedReturnsOnCall ¶
func (*Update) CryptoBackupNeeded ¶
func (*Update) CryptoBackupNeededCallCount ¶
func (*Update) CryptoBackupNeededCalls ¶
func (*Update) CryptoBackupNeededReturns ¶
func (*Update) CryptoBackupNeededReturnsOnCall ¶
func (*Update) DindArgsUpdated ¶
func (*Update) DindArgsUpdatedCallCount ¶
func (*Update) DindArgsUpdatedCalls ¶
func (*Update) DindArgsUpdatedReturns ¶
func (*Update) DindArgsUpdatedReturnsOnCall ¶
func (*Update) EcertEnroll ¶
func (*Update) EcertEnrollCallCount ¶
func (*Update) EcertEnrollCalls ¶
func (*Update) EcertEnrollReturns ¶
func (*Update) EcertEnrollReturnsOnCall ¶
func (*Update) EcertNewKeyReenroll ¶
func (*Update) EcertNewKeyReenrollCallCount ¶
func (*Update) EcertNewKeyReenrollCalls ¶
func (*Update) EcertNewKeyReenrollReturns ¶
func (*Update) EcertNewKeyReenrollReturnsOnCall ¶
func (*Update) EcertReenrollNeeded ¶
func (*Update) EcertReenrollNeededCallCount ¶
func (*Update) EcertReenrollNeededCalls ¶
func (*Update) EcertReenrollNeededReturns ¶
func (*Update) EcertReenrollNeededReturnsOnCall ¶
func (*Update) EcertUpdated ¶
func (*Update) EcertUpdatedCallCount ¶
func (*Update) EcertUpdatedCalls ¶
func (*Update) EcertUpdatedReturns ¶
func (*Update) EcertUpdatedReturnsOnCall ¶
func (*Update) FabricVersionUpdated ¶
func (*Update) FabricVersionUpdatedCallCount ¶
func (*Update) FabricVersionUpdatedCalls ¶
func (*Update) FabricVersionUpdatedReturns ¶
func (*Update) FabricVersionUpdatedReturnsOnCall ¶
func (*Update) GetCreatedCertType ¶
func (fake *Update) GetCreatedCertType() common.SecretType
func (*Update) GetCreatedCertTypeCallCount ¶
func (*Update) GetCreatedCertTypeCalls ¶
func (fake *Update) GetCreatedCertTypeCalls(stub func() common.SecretType)
func (*Update) GetCreatedCertTypeReturns ¶
func (fake *Update) GetCreatedCertTypeReturns(result1 common.SecretType)
func (*Update) GetCreatedCertTypeReturnsOnCall ¶
func (fake *Update) GetCreatedCertTypeReturnsOnCall(i int, result1 common.SecretType)
func (*Update) ImagesUpdated ¶
func (*Update) ImagesUpdatedCallCount ¶
func (*Update) ImagesUpdatedCalls ¶
func (*Update) ImagesUpdatedReturns ¶
func (*Update) ImagesUpdatedReturnsOnCall ¶
func (*Update) Invocations ¶
func (*Update) MSPUpdated ¶
func (*Update) MSPUpdatedCallCount ¶
func (*Update) MSPUpdatedCalls ¶
func (*Update) MSPUpdatedReturns ¶
func (*Update) MSPUpdatedReturnsOnCall ¶
func (*Update) MigrateToV2 ¶
func (*Update) MigrateToV24 ¶
func (*Update) MigrateToV24CallCount ¶
func (*Update) MigrateToV24Calls ¶
func (*Update) MigrateToV24Returns ¶
func (*Update) MigrateToV24ReturnsOnCall ¶
func (*Update) MigrateToV2CallCount ¶
func (*Update) MigrateToV2Calls ¶
func (*Update) MigrateToV2Returns ¶
func (*Update) MigrateToV2ReturnsOnCall ¶
func (*Update) NodeOUUpdated ¶
func (*Update) NodeOUUpdatedCallCount ¶
func (*Update) NodeOUUpdatedCalls ¶
func (*Update) NodeOUUpdatedReturns ¶
func (*Update) NodeOUUpdatedReturnsOnCall ¶
func (*Update) PeerTagUpdated ¶
func (*Update) PeerTagUpdatedCallCount ¶
func (*Update) PeerTagUpdatedCalls ¶
func (*Update) PeerTagUpdatedReturns ¶
func (*Update) PeerTagUpdatedReturnsOnCall ¶
func (*Update) RestartNeeded ¶
func (*Update) RestartNeededCallCount ¶
func (*Update) RestartNeededCalls ¶
func (*Update) RestartNeededReturns ¶
func (*Update) RestartNeededReturnsOnCall ¶
func (*Update) SetDindArgsUpdated ¶
func (*Update) SetDindArgsUpdatedArgsForCall ¶
func (*Update) SetDindArgsUpdatedCallCount ¶
func (*Update) SetDindArgsUpdatedCalls ¶
func (*Update) SpecUpdated ¶
func (*Update) SpecUpdatedCallCount ¶
func (*Update) SpecUpdatedCalls ¶
func (*Update) SpecUpdatedReturns ¶
func (*Update) SpecUpdatedReturnsOnCall ¶
func (*Update) TLSCertEnroll ¶
func (*Update) TLSCertEnrollCallCount ¶
func (*Update) TLSCertEnrollCalls ¶
func (*Update) TLSCertEnrollReturns ¶
func (*Update) TLSCertEnrollReturnsOnCall ¶
func (*Update) TLSCertUpdated ¶
func (*Update) TLSCertUpdatedCallCount ¶
func (*Update) TLSCertUpdatedCalls ¶
func (*Update) TLSCertUpdatedReturns ¶
func (*Update) TLSCertUpdatedReturnsOnCall ¶
func (*Update) TLSReenrollNeeded ¶
func (*Update) TLSReenrollNeededCallCount ¶
func (*Update) TLSReenrollNeededCalls ¶
func (*Update) TLSReenrollNeededReturns ¶
func (*Update) TLSReenrollNeededReturnsOnCall ¶
func (*Update) TLScertNewKeyReenroll ¶
func (*Update) TLScertNewKeyReenrollCallCount ¶
func (*Update) TLScertNewKeyReenrollCalls ¶
func (*Update) TLScertNewKeyReenrollReturns ¶
func (*Update) TLScertNewKeyReenrollReturnsOnCall ¶
func (*Update) UpgradeDBs ¶
func (*Update) UpgradeDBsCallCount ¶
func (*Update) UpgradeDBsCalls ¶
func (*Update) UpgradeDBsReturns ¶
func (*Update) UpgradeDBsReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.