google_blockchain_node_engine_blockchain_nodes

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// BlockchainNodeId: string, required
	BlockchainNodeId terra.StringValue `hcl:"blockchain_node_id,attr" validate:"required"`
	// BlockchainType: string, optional
	BlockchainType terra.StringValue `hcl:"blockchain_type,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// EthereumDetails: optional
	EthereumDetails *EthereumDetails `hcl:"ethereum_details,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_blockchain_node_engine_blockchain_nodes.

type ConnectionInfoAttributes

type ConnectionInfoAttributes struct {
	// contains filtered or unexported fields
}

func (ConnectionInfoAttributes) EndpointInfo

func (ConnectionInfoAttributes) InternalRef

func (ci ConnectionInfoAttributes) InternalRef() (terra.Reference, error)

func (ConnectionInfoAttributes) InternalTokens

func (ci ConnectionInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConnectionInfoAttributes) InternalWithRef

func (ConnectionInfoAttributes) ServiceAttachment

func (ci ConnectionInfoAttributes) ServiceAttachment() terra.StringValue

type ConnectionInfoEndpointInfoAttributes

type ConnectionInfoEndpointInfoAttributes struct {
	// contains filtered or unexported fields
}

func (ConnectionInfoEndpointInfoAttributes) InternalRef

func (ConnectionInfoEndpointInfoAttributes) InternalTokens

func (ConnectionInfoEndpointInfoAttributes) InternalWithRef

func (ConnectionInfoEndpointInfoAttributes) JsonRpcApiEndpoint

func (ei ConnectionInfoEndpointInfoAttributes) JsonRpcApiEndpoint() terra.StringValue

func (ConnectionInfoEndpointInfoAttributes) WebsocketsApiEndpoint

func (ei ConnectionInfoEndpointInfoAttributes) WebsocketsApiEndpoint() terra.StringValue

type ConnectionInfoEndpointInfoState

type ConnectionInfoEndpointInfoState struct {
	JsonRpcApiEndpoint    string `json:"json_rpc_api_endpoint"`
	WebsocketsApiEndpoint string `json:"websockets_api_endpoint"`
}

type ConnectionInfoState

type ConnectionInfoState struct {
	ServiceAttachment string                            `json:"service_attachment"`
	EndpointInfo      []ConnectionInfoEndpointInfoState `json:"endpoint_info"`
}

type EthereumDetails

type EthereumDetails struct {
	// ApiEnableAdmin: bool, optional
	ApiEnableAdmin terra.BoolValue `hcl:"api_enable_admin,attr"`
	// ApiEnableDebug: bool, optional
	ApiEnableDebug terra.BoolValue `hcl:"api_enable_debug,attr"`
	// ConsensusClient: string, optional
	ConsensusClient terra.StringValue `hcl:"consensus_client,attr"`
	// ExecutionClient: string, optional
	ExecutionClient terra.StringValue `hcl:"execution_client,attr"`
	// Network: string, optional
	Network terra.StringValue `hcl:"network,attr"`
	// NodeType: string, optional
	NodeType terra.StringValue `hcl:"node_type,attr"`
	// EthereumDetailsGethDetails: optional
	GethDetails *EthereumDetailsGethDetails `hcl:"geth_details,block"`
	// EthereumDetailsValidatorConfig: optional
	ValidatorConfig *EthereumDetailsValidatorConfig `hcl:"validator_config,block"`
}

type EthereumDetailsAdditionalEndpointsAttributes

type EthereumDetailsAdditionalEndpointsAttributes struct {
	// contains filtered or unexported fields
}

func (EthereumDetailsAdditionalEndpointsAttributes) BeaconApiEndpoint

func (EthereumDetailsAdditionalEndpointsAttributes) BeaconPrometheusMetricsApiEndpoint

func (ae EthereumDetailsAdditionalEndpointsAttributes) BeaconPrometheusMetricsApiEndpoint() terra.StringValue

func (EthereumDetailsAdditionalEndpointsAttributes) ExecutionClientPrometheusMetricsApiEndpoint

func (ae EthereumDetailsAdditionalEndpointsAttributes) ExecutionClientPrometheusMetricsApiEndpoint() terra.StringValue

func (EthereumDetailsAdditionalEndpointsAttributes) InternalRef

func (EthereumDetailsAdditionalEndpointsAttributes) InternalTokens

func (EthereumDetailsAdditionalEndpointsAttributes) InternalWithRef

type EthereumDetailsAdditionalEndpointsState

type EthereumDetailsAdditionalEndpointsState struct {
	BeaconApiEndpoint                           string `json:"beacon_api_endpoint"`
	BeaconPrometheusMetricsApiEndpoint          string `json:"beacon_prometheus_metrics_api_endpoint"`
	ExecutionClientPrometheusMetricsApiEndpoint string `json:"execution_client_prometheus_metrics_api_endpoint"`
}

type EthereumDetailsAttributes

type EthereumDetailsAttributes struct {
	// contains filtered or unexported fields
}

func (EthereumDetailsAttributes) AdditionalEndpoints

func (EthereumDetailsAttributes) ApiEnableAdmin

func (ed EthereumDetailsAttributes) ApiEnableAdmin() terra.BoolValue

func (EthereumDetailsAttributes) ApiEnableDebug

func (ed EthereumDetailsAttributes) ApiEnableDebug() terra.BoolValue

func (EthereumDetailsAttributes) ConsensusClient

func (ed EthereumDetailsAttributes) ConsensusClient() terra.StringValue

func (EthereumDetailsAttributes) ExecutionClient

func (ed EthereumDetailsAttributes) ExecutionClient() terra.StringValue

func (EthereumDetailsAttributes) GethDetails

func (EthereumDetailsAttributes) InternalRef

func (ed EthereumDetailsAttributes) InternalRef() (terra.Reference, error)

func (EthereumDetailsAttributes) InternalTokens

func (ed EthereumDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EthereumDetailsAttributes) InternalWithRef

func (EthereumDetailsAttributes) Network

func (EthereumDetailsAttributes) NodeType

func (EthereumDetailsAttributes) ValidatorConfig

type EthereumDetailsGethDetails

type EthereumDetailsGethDetails struct {
	// GarbageCollectionMode: string, optional
	GarbageCollectionMode terra.StringValue `hcl:"garbage_collection_mode,attr"`
}

type EthereumDetailsGethDetailsAttributes

type EthereumDetailsGethDetailsAttributes struct {
	// contains filtered or unexported fields
}

func (EthereumDetailsGethDetailsAttributes) GarbageCollectionMode

func (gd EthereumDetailsGethDetailsAttributes) GarbageCollectionMode() terra.StringValue

func (EthereumDetailsGethDetailsAttributes) InternalRef

func (EthereumDetailsGethDetailsAttributes) InternalTokens

func (EthereumDetailsGethDetailsAttributes) InternalWithRef

type EthereumDetailsGethDetailsState

type EthereumDetailsGethDetailsState struct {
	GarbageCollectionMode string `json:"garbage_collection_mode"`
}

type EthereumDetailsState

type EthereumDetailsState struct {
	ApiEnableAdmin      bool                                      `json:"api_enable_admin"`
	ApiEnableDebug      bool                                      `json:"api_enable_debug"`
	ConsensusClient     string                                    `json:"consensus_client"`
	ExecutionClient     string                                    `json:"execution_client"`
	Network             string                                    `json:"network"`
	NodeType            string                                    `json:"node_type"`
	AdditionalEndpoints []EthereumDetailsAdditionalEndpointsState `json:"additional_endpoints"`
	GethDetails         []EthereumDetailsGethDetailsState         `json:"geth_details"`
	ValidatorConfig     []EthereumDetailsValidatorConfigState     `json:"validator_config"`
}

type EthereumDetailsValidatorConfig

type EthereumDetailsValidatorConfig struct {
	// MevRelayUrls: list of string, optional
	MevRelayUrls terra.ListValue[terra.StringValue] `hcl:"mev_relay_urls,attr"`
}

type EthereumDetailsValidatorConfigAttributes

type EthereumDetailsValidatorConfigAttributes struct {
	// contains filtered or unexported fields
}

func (EthereumDetailsValidatorConfigAttributes) InternalRef

func (EthereumDetailsValidatorConfigAttributes) InternalTokens

func (EthereumDetailsValidatorConfigAttributes) InternalWithRef

func (EthereumDetailsValidatorConfigAttributes) MevRelayUrls

type EthereumDetailsValidatorConfigState

type EthereumDetailsValidatorConfigState struct {
	MevRelayUrls []string `json:"mev_relay_urls"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_blockchain_node_engine_blockchain_nodes.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gbnebn *Resource) Attributes() googleBlockchainNodeEngineBlockchainNodesAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gbnebn *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gbnebn *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gbnebn *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gbnebn *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gbnebn *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gbnebn *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gbnebn *Resource) State() (*googleBlockchainNodeEngineBlockchainNodesState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gbnebn *Resource) StateMust() *googleBlockchainNodeEngineBlockchainNodesState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gbnebn *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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