Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsensusClientArgs ¶
type ConsensusClientArgs struct {
Name string
Namespace string
StorageSize string
StorageClass string
Image string
ImagePullPolicy string
JWTSecret string
NodeSelector pulumi.StringMap
Tolerations corev1.TolerationArray
P2PPort int
BeaconAPIPort int
MetricsPort int
ExecutionClientEndpoint string
Bootnodes []string
AdditionalArgs []string
}
ConsensusClientArgs represents the arguments for creating a consensus client
func (*ConsensusClientArgs) Validate ¶
func (args *ConsensusClientArgs) Validate() error
Validate validates the consensus client arguments
type ConsensusClientComponent ¶
type ConsensusClientComponent struct {
pulumi.ResourceState
// Name is the base name for all resources
Name string
// Namespace is the Kubernetes namespace
Namespace string
// PVC is the persistent volume claim
PVC *corev1.PersistentVolumeClaim
// JWTSecret is the JWT secret
JWTSecret *corev1.Secret
// P2PService is the P2P service
P2PService *corev1.Service
// BeaconAPIService is the beacon API service
BeaconAPIService *corev1.Service
// StatefulSet is the stateful set
StatefulSet *appsv1.StatefulSet
}
ConsensusClientComponent represents a consensus client deployment
func NewConsensusClient ¶
func NewConsensusClient(ctx *pulumi.Context, args *ConsensusClientArgs, opts ...pulumi.ResourceOption) (*ConsensusClientComponent, error)
NewConsensusClient creates a new consensus client component
Click to show internal directories.
Click to hide internal directories.