Documentation
¶
Index ¶
- Constants
- func AddOrUpdateUpgrade(upgrades []appsv1.Upgrade, upgrade appsv1.Upgrade, currentHeight int64) []appsv1.Upgrade
- func IsPodReady(pod *corev1.Pod) bool
- func WithChainNodeLabels(chainNode *appsv1.ChainNode, additional ...map[string]string) map[string]string
- type GenerationChangedPredicate
- type KeyFormatter
- func (kf *KeyFormatter) API() string
- func (kf *KeyFormatter) AddrBookFile() string
- func (kf *KeyFormatter) AddrBookStrict() string
- func (kf *KeyFormatter) Address() string
- func (kf *KeyFormatter) AllowDuplicateIP() string
- func (kf *KeyFormatter) CorsAllowedOrigins() string
- func (kf *KeyFormatter) Enable() string
- func (kf *KeyFormatter) ExternalAddress() string
- func (kf *KeyFormatter) FormatKey(key string) string
- func (kf *KeyFormatter) GRPC() string
- func (kf *KeyFormatter) GenesisFile() string
- func (kf *KeyFormatter) GetBaseAppToml() map[string]interface{}
- func (kf *KeyFormatter) GetBaseConfigToml() map[string]interface{}
- func (kf *KeyFormatter) HaltHeight() string
- func (kf *KeyFormatter) Instrumentation() string
- func (kf *KeyFormatter) JsonRPC() string
- func (kf *KeyFormatter) Laddr() string
- func (kf *KeyFormatter) LogFormat() string
- func (kf *KeyFormatter) Moniker() string
- func (kf *KeyFormatter) P2P() string
- func (kf *KeyFormatter) PersistentPeers() string
- func (kf *KeyFormatter) Pex() string
- func (kf *KeyFormatter) PrivValidatorLaddr() string
- func (kf *KeyFormatter) PrivatePeerIDs() string
- func (kf *KeyFormatter) Prometheus() string
- func (kf *KeyFormatter) RPC() string
- func (kf *KeyFormatter) RPCServers() string
- func (kf *KeyFormatter) SeedMode() string
- func (kf *KeyFormatter) Seeds() string
- func (kf *KeyFormatter) SnapshotInterval() string
- func (kf *KeyFormatter) SnapshotKeepRecent() string
- func (kf *KeyFormatter) StateDashSync() string
- func (kf *KeyFormatter) StateSync() string
- func (kf *KeyFormatter) TrustHash() string
- func (kf *KeyFormatter) TrustHeight() string
- func (kf *KeyFormatter) TrustPeriod() string
- func (kf *KeyFormatter) UnconditionalPeerIDs() string
- func (kf *KeyFormatter) WsAddress() string
- type Reconciler
- type SnapshotIntegrityStatus
Constants ¶
View Source
const ( PrivKeyFilename = "priv_validator_key.json" MnemonicKey = "mnemonic" VolumeSnapshotDataSourceKind = "VolumeSnapshot" VolumeSnapshotDataSourceApiGroup = "snapshot.storage.k8s.io" ReasonImagePullBackOff = "ImagePullBackOff" ReasonErrImagePull = "ErrImagePull" )
View Source
const OneMiB = int64(1024 * 1024)
Variables ¶
This section is empty.
Functions ¶
func AddOrUpdateUpgrade ¶
func IsPodReady ¶ added in v1.46.3
Types ¶
type GenerationChangedPredicate ¶
func (GenerationChangedPredicate) Create ¶
func (p GenerationChangedPredicate) Create(e event.CreateEvent) bool
Create implements default CreateEvent filter
func (GenerationChangedPredicate) Delete ¶
func (p GenerationChangedPredicate) Delete(e event.DeleteEvent) bool
Delete implements default DeleteEvent filter
func (GenerationChangedPredicate) Update ¶
func (p GenerationChangedPredicate) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating generation change
type KeyFormatter ¶
func GetKeyFormatter ¶
func GetKeyFormatter(chainNode *appsv1.ChainNode) *KeyFormatter
func (*KeyFormatter) API ¶
func (kf *KeyFormatter) API() string
func (*KeyFormatter) AddrBookFile ¶
func (kf *KeyFormatter) AddrBookFile() string
func (*KeyFormatter) AddrBookStrict ¶
func (kf *KeyFormatter) AddrBookStrict() string
func (*KeyFormatter) Address ¶
func (kf *KeyFormatter) Address() string
func (*KeyFormatter) AllowDuplicateIP ¶
func (kf *KeyFormatter) AllowDuplicateIP() string
func (*KeyFormatter) CorsAllowedOrigins ¶
func (kf *KeyFormatter) CorsAllowedOrigins() string
func (*KeyFormatter) Enable ¶
func (kf *KeyFormatter) Enable() string
func (*KeyFormatter) ExternalAddress ¶
func (kf *KeyFormatter) ExternalAddress() string
func (*KeyFormatter) FormatKey ¶
func (kf *KeyFormatter) FormatKey(key string) string
func (*KeyFormatter) GRPC ¶
func (kf *KeyFormatter) GRPC() string
func (*KeyFormatter) GenesisFile ¶
func (kf *KeyFormatter) GenesisFile() string
func (*KeyFormatter) GetBaseAppToml ¶
func (kf *KeyFormatter) GetBaseAppToml() map[string]interface{}
func (*KeyFormatter) GetBaseConfigToml ¶
func (kf *KeyFormatter) GetBaseConfigToml() map[string]interface{}
func (*KeyFormatter) HaltHeight ¶ added in v1.40.0
func (kf *KeyFormatter) HaltHeight() string
func (*KeyFormatter) Instrumentation ¶
func (kf *KeyFormatter) Instrumentation() string
func (*KeyFormatter) JsonRPC ¶
func (kf *KeyFormatter) JsonRPC() string
func (*KeyFormatter) Laddr ¶
func (kf *KeyFormatter) Laddr() string
func (*KeyFormatter) LogFormat ¶
func (kf *KeyFormatter) LogFormat() string
func (*KeyFormatter) Moniker ¶
func (kf *KeyFormatter) Moniker() string
func (*KeyFormatter) P2P ¶
func (kf *KeyFormatter) P2P() string
func (*KeyFormatter) PersistentPeers ¶
func (kf *KeyFormatter) PersistentPeers() string
func (*KeyFormatter) Pex ¶
func (kf *KeyFormatter) Pex() string
func (*KeyFormatter) PrivValidatorLaddr ¶
func (kf *KeyFormatter) PrivValidatorLaddr() string
func (*KeyFormatter) PrivatePeerIDs ¶
func (kf *KeyFormatter) PrivatePeerIDs() string
func (*KeyFormatter) Prometheus ¶
func (kf *KeyFormatter) Prometheus() string
func (*KeyFormatter) RPC ¶
func (kf *KeyFormatter) RPC() string
func (*KeyFormatter) RPCServers ¶
func (kf *KeyFormatter) RPCServers() string
func (*KeyFormatter) SeedMode ¶
func (kf *KeyFormatter) SeedMode() string
func (*KeyFormatter) Seeds ¶ added in v1.48.0
func (kf *KeyFormatter) Seeds() string
func (*KeyFormatter) SnapshotInterval ¶
func (kf *KeyFormatter) SnapshotInterval() string
func (*KeyFormatter) SnapshotKeepRecent ¶
func (kf *KeyFormatter) SnapshotKeepRecent() string
func (*KeyFormatter) StateDashSync ¶
func (kf *KeyFormatter) StateDashSync() string
func (*KeyFormatter) StateSync ¶
func (kf *KeyFormatter) StateSync() string
func (*KeyFormatter) TrustHash ¶
func (kf *KeyFormatter) TrustHash() string
func (*KeyFormatter) TrustHeight ¶
func (kf *KeyFormatter) TrustHeight() string
func (*KeyFormatter) TrustPeriod ¶
func (kf *KeyFormatter) TrustPeriod() string
func (*KeyFormatter) UnconditionalPeerIDs ¶
func (kf *KeyFormatter) UnconditionalPeerIDs() string
func (*KeyFormatter) WsAddress ¶
func (kf *KeyFormatter) WsAddress() string
type Reconciler ¶
type Reconciler struct { client.Client ClientSet *kubernetes.Clientset RestConfig *rest.Config Scheme *runtime.Scheme // contains filtered or unexported fields }
Reconciler reconciles a ChainNode object
func New ¶
func New(mgr ctrl.Manager, clientSet *kubernetes.Clientset, opts *controllers.ControllerRunOptions) (*Reconciler, error)
type SnapshotIntegrityStatus ¶
type SnapshotIntegrityStatus string
Click to show internal directories.
Click to hide internal directories.