Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionClientArgs ¶
type ExecutionClientArgs struct {
// Name is the base name for all resources
Name string
// Namespace is the Kubernetes namespace to deploy resources in
Namespace string
// StorageSize is the size of the persistent volume claim
StorageSize string
// StorageClass is the Kubernetes storage class to use
StorageClass string
// Image is the container image to use
Image string
// ImagePullPolicy is the Kubernetes image pull policy
ImagePullPolicy string
// Resources contains the resource requests and limits
Resources *corev1.ResourceRequirements
// NodeSelector is the Kubernetes node selector
NodeSelector pulumi.StringMap
// Tolerations are the Kubernetes tolerations
Tolerations corev1.TolerationArray
// JWTSecret is the JWT secret for authentication
JWTSecret string
// P2PPort is the port for P2P communication
P2PPort int
// RPCPort is the port for RPC communication
RPCPort int
// WSPort is the port for WebSocket communication
WSPort int
// MetricsPort is the port for metrics
MetricsPort int
// AuthRPCPort is the port for authenticated RPC
AuthRPCPort int
// DiscoveryPort is the port for node discovery
DiscoveryPort int
// Bootnodes is a list of bootnode URLs
Bootnodes []string
// AdditionalArgs are additional command line arguments
AdditionalArgs []string
// Environment variables for the execution client, accepts a generic type that implements the utils.EnvProvider interface
ExecutionClientEnv utils.EnvProvider
}
ExecutionClientArgs contains the configuration for an execution client
func (*ExecutionClientArgs) Validate ¶
func (args *ExecutionClientArgs) Validate() error
Validate validates the execution client arguments NOTE: This only works for pulumi.Int (not computed outputs) in tests.
type ExecutionClientComponent ¶
type ExecutionClientComponent struct {
pulumi.ResourceState
// Name is the base name for all resources
Name string
// Namespace is the Kubernetes namespace
Namespace string
// ConfigMap is the shared config map
ConfigMap *corev1.ConfigMap
// 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
// RPCService is the RPC service
RPCService *corev1.Service
// StatefulSet is the stateful set
StatefulSet *appsv1.StatefulSet
}
ExecutionClientComponent represents an execution client deployment
func NewExecutionClient ¶
func NewExecutionClient(ctx *pulumi.Context, args *ExecutionClientArgs, opts ...pulumi.ResourceOption) (*ExecutionClientComponent, error)
NewExecutionClient creates a new execution client component
Click to show internal directories.
Click to hide internal directories.