Versions in this module Expand all Collapse all v0 v0.5.0 Jun 23, 2023 v0.4.0 Jun 22, 2023 v0.3.0 Jun 22, 2023 v0.2.0 Jun 22, 2023 Changes in this version + const FeatureKeyCSA + const FeatureKeyFeedsManager + const KeyNextLink + const KeyPreviousLink + const MediaType + const PaginationDefault + var ErrEVMNotEnabled = errChainDisabled + var ErrInvalidChainID = errors.New("invalid evmChainID") + var ErrMissingChainID = errors.New("evmChainID does not match any local chains") + var ErrMultipleChains = errors.New("more than one chain available, you must specify evmChainID parameter") + var ErrSolanaNotEnabled = errChainDisabled + var ErrStarkNetNotEnabled = errChainDisabled + func FindSessionCookie(cookies []*http.Cookie) *http.Cookie + func GzipFileServer(root ServeFileSystem, lggr logger.Logger) http.Handler + func NewJSONAPIResponse(resource interface{}) ([]byte, error) + func NewPaginatedResponse(url url.URL, size, page, count int, resource interface{}) ([]byte, error) + func NewRouter(app chainlink.Application, prometheus *ginprom.Prometheus) (*gin.Engine, error) + func ParseJSONAPIResponse(input []byte, resource interface{}) error + func ParsePaginatedRequest(sizeParam, pageParam string) (int, int, int, error) + func ParsePaginatedResponse(input []byte, resource interface{}, links *jsonapi.Links) error + func Router(t testing.TB, app chainlink.Application, prometheus *ginprom.Prometheus) *gin.Engine + func ServeGzippedAssets(urlPrefix string, fs ServeFileSystem, lggr logger.Logger) gin.HandlerFunc + func ValidateBridgeType(bt *bridges.BridgeTypeRequest) error + func ValidateBridgeTypeNotExist(bt *bridges.BridgeTypeRequest, orm bridges.ORM) error + func ValidateEthBalanceForTransfer(c *gin.Context, chain evm.Chain, fromAddr common.Address, amount assets.Eth) error + func ValidateExternalInitiator(exi *bridges.ExternalInitiatorRequest, orm bridges.ORM) error + type BridgeTypesController struct + App chainlink.Application + func (btc *BridgeTypesController) Create(c *gin.Context) + func (btc *BridgeTypesController) Destroy(c *gin.Context) + func (btc *BridgeTypesController) Index(c *gin.Context, size, page, offset int) + func (btc *BridgeTypesController) Show(c *gin.Context) + func (btc *BridgeTypesController) Update(c *gin.Context) + type BuildInfoController struct + App chainlink.Application + func (eic *BuildInfoController) Show(c *gin.Context) + type CSAKeysController struct + App chainlink.Application + func (ctrl *CSAKeysController) Create(c *gin.Context) + func (ctrl *CSAKeysController) Export(c *gin.Context) + func (ctrl *CSAKeysController) Import(c *gin.Context) + func (ctrl *CSAKeysController) Index(c *gin.Context) + type ChainsController interface + Create func(*gin.Context) + Delete func(*gin.Context) + Index func(c *gin.Context, size, page, offset int) + Show func(*gin.Context) + Update func(*gin.Context) + func NewEVMChainsController(app chainlink.Application) ChainsController + func NewSolanaChainsController(app chainlink.Application) ChainsController + func NewStarkNetChainsController(app chainlink.Application) ChainsController + type Change struct + From string + To string + type ConfigController struct + App chainlink.Application + func (cc *ConfigController) Dump(c *gin.Context) + func (cc *ConfigController) Patch(c *gin.Context) + func (cc *ConfigController) Show(c *gin.Context) + func (cc *ConfigController) Show2(c *gin.Context) + type ConfigPatchResponse struct + EVMChainID *utils.Big + EvmGasPriceDefault Change + func (*ConfigPatchResponse) SetID(string) error + func (c ConfigPatchResponse) GetID() string + type ConfigV2Resource struct + Config string + func (c *ConfigV2Resource) SetID(string) error + func (c ConfigV2Resource) GetID() string + type CreateChainRequest struct + Config C + ID I + func NewCreateChainRequest[I chains.ID, C chains.Config](id I, config C) CreateChainRequest[I, C] + type CreateJobRequest struct + TOML string + type ETHKeysController struct + func NewETHKeysController(app chainlink.Application) *ETHKeysController + func (ekc *ETHKeysController) Chain(c *gin.Context) + func (ekc *ETHKeysController) Create(c *gin.Context) + func (ekc *ETHKeysController) Delete(c *gin.Context) + func (ekc *ETHKeysController) Export(c *gin.Context) + func (ekc *ETHKeysController) Import(c *gin.Context) + func (ekc *ETHKeysController) Index(c *gin.Context) + func (ekc *ETHKeysController) Update(c *gin.Context) + type EVMForwardersController struct + App chainlink.Application + func (cc *EVMForwardersController) Delete(c *gin.Context) + func (cc *EVMForwardersController) Index(c *gin.Context, size, page, offset int) + func (cc *EVMForwardersController) Track(c *gin.Context) + type EVMTransfersController struct + App chainlink.Application + func (tc *EVMTransfersController) Create(c *gin.Context) + type EmbedFileSystem struct + func (e *EmbedFileSystem) Exists(prefix string, filepath string) bool + func (e *EmbedFileSystem) Open(name string) (http.File, error) + type ExternalInitiatorsController struct + App chainlink.Application + func (eic *ExternalInitiatorsController) Create(c *gin.Context) + func (eic *ExternalInitiatorsController) Destroy(c *gin.Context) + func (eic *ExternalInitiatorsController) Index(c *gin.Context, size, page, offset int) + type FeaturesController struct + App chainlink.Application + func (fc *FeaturesController) Index(c *gin.Context) + type HealthController struct + App chainlink.Application + func (hc *HealthController) Health(c *gin.Context) + func (hc *HealthController) Readyz(c *gin.Context) + type JobsController struct + App chainlink.Application + func (jc *JobsController) Create(c *gin.Context) + func (jc *JobsController) Delete(c *gin.Context) + func (jc *JobsController) Index(c *gin.Context, size, page, offset int) + func (jc *JobsController) Show(c *gin.Context) + func (jc *JobsController) Update(c *gin.Context) + type KeysController interface + Create func(*gin.Context) + Delete func(*gin.Context) + Export func(*gin.Context) + Import func(*gin.Context) + Index func(*gin.Context) + func NewDKGEncryptKeysController(app chainlink.Application) KeysController + func NewDKGSignKeysController(app chainlink.Application) KeysController + func NewKeysController[K keystore.Key, R jsonapi.EntityNamer](ks Keystore[K], lggr logger.Logger, auditLogger audit.AuditLogger, ...) KeysController + func NewSolanaKeysController(app chainlink.Application) KeysController + func NewStarkNetKeysController(app chainlink.Application) KeysController + type Keystore interface + Create func() (K, error) + Delete func(id string) (K, error) + Export func(id string, password string) ([]byte, error) + Get func(id string) (K, error) + GetAll func() ([]K, error) + Import func(keyJSON []byte, password string) (K, error) + type LogController struct + App chainlink.Application + func (cc *LogController) Get(c *gin.Context) + func (cc *LogController) Patch(c *gin.Context) + type LogPatchRequest struct + Level string + SqlEnabled *bool + type NodesController interface + Create func(*gin.Context) + Delete func(*gin.Context) + Index func(c *gin.Context, size, page, offset int) + func NewEVMNodesController(app chainlink.Application) NodesController + func NewSolanaNodesController(app chainlink.Application) NodesController + func NewStarkNetNodesController(app chainlink.Application) NodesController + type OCR2KeysController struct + App chainlink.Application + func (ocr2kc *OCR2KeysController) Create(c *gin.Context) + func (ocr2kc *OCR2KeysController) Delete(c *gin.Context) + func (ocr2kc *OCR2KeysController) Export(c *gin.Context) + func (ocr2kc *OCR2KeysController) Import(c *gin.Context) + func (ocr2kc *OCR2KeysController) Index(c *gin.Context) + type OCRKeysController struct + App chainlink.Application + func (ocrkc *OCRKeysController) Create(c *gin.Context) + func (ocrkc *OCRKeysController) Delete(c *gin.Context) + func (ocrkc *OCRKeysController) Export(c *gin.Context) + func (ocrkc *OCRKeysController) Import(c *gin.Context) + func (ocrkc *OCRKeysController) Index(c *gin.Context) + type P2PKeysController struct + App chainlink.Application + func (p2pkc *P2PKeysController) Create(c *gin.Context) + func (p2pkc *P2PKeysController) Delete(c *gin.Context) + func (p2pkc *P2PKeysController) Export(c *gin.Context) + func (p2pkc *P2PKeysController) Import(c *gin.Context) + func (p2pkc *P2PKeysController) Index(c *gin.Context) + type PingController struct + App chainlink.Application + func (eic *PingController) Show(c *gin.Context) + type PipelineJobSpecErrorsController struct + App chainlink.Application + func (psec *PipelineJobSpecErrorsController) Destroy(c *gin.Context) + type PipelineRunsController struct + App chainlink.Application + func (prc *PipelineRunsController) Create(c *gin.Context) + func (prc *PipelineRunsController) Index(c *gin.Context, size, page, offset int) + func (prc *PipelineRunsController) Resume(c *gin.Context) + func (prc *PipelineRunsController) Show(c *gin.Context) + type ReplayController struct + App chainlink.Application + func (bdc *ReplayController) ReplayFromBlock(c *gin.Context) + type ReplayResponse struct + EVMChainID *utils.Big + Message string + func (*ReplayResponse) SetID(string) error + func (ReplayResponse) GetName() string + func (s ReplayResponse) GetID() string + type SecurityConfig interface + AllowOrigins func() string + Dev func() bool + TLSHost func() string + TLSRedirect func() bool + type ServeFileSystem interface + Exists func(prefix string, path string) bool + func NewEmbedFileSystem(efs embed.FS, pathPrefix string) ServeFileSystem + type Session struct + Authenticated bool + func (*Session) SetID(string) error + func (Session) GetName() string + func (s Session) GetID() string + type SessionsController struct + App chainlink.Application + func NewSessionsController(app chainlink.Application) *SessionsController + func (sc *SessionsController) Create(c *gin.Context) + func (sc *SessionsController) Destroy(c *gin.Context) + type SolanaTransfersController struct + App chainlink.Application + func (tc *SolanaTransfersController) Create(c *gin.Context) + type TrackEVMForwarderRequest struct + Address common.Address + EVMChainID *utils.Big + type TransactionsController struct + App chainlink.Application + func (tc *TransactionsController) Index(c *gin.Context, size, page, offset int) + func (tc *TransactionsController) Show(c *gin.Context) + type TxAttemptsController struct + App chainlink.Application + func (tac *TxAttemptsController) Index(c *gin.Context, size, page, offset int) + type UpdateChainRequest struct + Config C + Enabled bool + type UpdateJobRequest struct + TOML string + type UpdatePasswordRequest struct + NewPassword string + OldPassword string + type UserController struct + App chainlink.Application + func (c *UserController) Create(ctx *gin.Context) + func (c *UserController) Delete(ctx *gin.Context) + func (c *UserController) DeleteAPIToken(ctx *gin.Context) + func (c *UserController) Index(ctx *gin.Context) + func (c *UserController) NewAPIToken(ctx *gin.Context) + func (c *UserController) UpdatePassword(ctx *gin.Context) + func (c *UserController) UpdateRole(ctx *gin.Context) + type VRFKeysController struct + App chainlink.Application + func (vrfkc *VRFKeysController) Create(c *gin.Context) + func (vrfkc *VRFKeysController) Delete(c *gin.Context) + func (vrfkc *VRFKeysController) Export(c *gin.Context) + func (vrfkc *VRFKeysController) Import(c *gin.Context) + func (vrfkc *VRFKeysController) Index(c *gin.Context) + type WebAuthnController struct + App chainlink.Application + func NewWebAuthnController(app chainlink.Application) WebAuthnController + func (c *WebAuthnController) BeginRegistration(ctx *gin.Context) + func (c *WebAuthnController) FinishRegistration(ctx *gin.Context)