{"modulePath":"github.com/smartcontractkit/chainlink-deployments-framework","version":"v0.129.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package node\n\n## Types\n\n```go\ntype MinimalNodeCfg struct {\n\tName                string `json:\"name\" toml:\"name\" yaml:\"name\"`\n\tCSAKey              string `json:\"csa_key\" toml:\"csa_key\" yaml:\"csa_key\"`\n\tNOP                 string `json:\"nop\" toml:\"nop\" yaml:\"nop\"`\n\tEncryptionPublicKey string `json:\"encryption_public_key\" toml:\"encryption_public_key\" yaml:\"encryption_public_key\"`\n}\n```\nMinimalNodeCfg is the minimal configuration that can be used to identify a node. It represents information that cannot be programmatically derived from Job Distributor.\n\n```go\ntype NodeCfg struct {\n\tMinimalNodeCfg\n\tP2PID string `json:\"p2p_id\" toml:\"p2p_id\" yaml:\"p2p_id\"`\n\n\tAdminAddr    string            `json:\"admin_addr\" toml:\"admin_addr\" yaml:\"admin_addr\"`\n\tMultiAddress *string           `json:\"multi_address,omitempty\" toml:\"multi_address,omitempty\" yaml:\"multi_address,omitempty\"` // needed only for bootstrap nodes, bootstrap IP:P2P PORT\n\tTags         map[string]string `json:\"tags,omitempty\" toml:\"tags,omitempty\" yaml:\"tags,omitempty\"`\n}\n```\nNodeCfg is the configuration for a node. It is used to register a node with the job distributor and contains only public information, no secrets or api keys.\n\n```go\nfunc (n NodeCfg) IsBootstrap() bool\n```\n\n```go\nfunc (n NodeCfg) Labels() map[string]string\n```\nLabels returns the labels for the node, containing the p2p\\_id, nop, admin\\_addr and all tags.\n\n```go\nfunc (n NodeCfg) Validate() error\n```\n\n","path":"github.com/smartcontractkit/chainlink-deployments-framework/offchain/node","name":"node","synopsis":"","isRedistributable":true}
