consensus

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsensusClientArgs

type ConsensusClientArgs struct {
	Name                    pulumi.StringInput
	Namespace               pulumi.StringInput
	StorageSize             pulumi.StringInput
	StorageClass            pulumi.StringInput
	Image                   pulumi.StringInput
	ImagePullPolicy         pulumi.StringInput
	JWTSecret               pulumi.StringInput
	NodeSelector            pulumi.StringMap
	Tolerations             corev1.TolerationArray
	P2PPort                 pulumi.IntInput
	BeaconAPIPort           pulumi.IntInput
	MetricsPort             pulumi.IntInput
	ExecutionClientEndpoint pulumi.StringInput
	Bootnodes               pulumi.StringArray
	AdditionalArgs          pulumi.StringArray
}

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 pulumi.StringOutput
	// Namespace is the Kubernetes namespace
	Namespace pulumi.StringOutput
	// 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL