Documentation
¶
Index ¶
- Constants
- func FromLogLevel(logLvl LogLevel) string
- func ValidateBridgeType(bt *bridges.BridgeTypeRequest) error
- func ValidateBridgeTypeUniqueness(bt *bridges.BridgeTypeRequest, orm bridges.ORM) error
- type APITokenResolver
- type BlockhashStoreSpecResolver
- func (b *BlockhashStoreSpecResolver) BlockhashStoreAddress() string
- func (b *BlockhashStoreSpecResolver) CoordinatorV1Address() *string
- func (b *BlockhashStoreSpecResolver) CoordinatorV2Address() *string
- func (b *BlockhashStoreSpecResolver) CoordinatorV2PlusAddress() *string
- func (b *BlockhashStoreSpecResolver) CreatedAt() graphql.Time
- func (b *BlockhashStoreSpecResolver) EVMChainID() *string
- func (b *BlockhashStoreSpecResolver) FromAddresses() *[]string
- func (b *BlockhashStoreSpecResolver) HeartbeatPeriod() string
- func (b *BlockhashStoreSpecResolver) LookbackBlocks() int32
- func (b *BlockhashStoreSpecResolver) PollPeriod() string
- func (b *BlockhashStoreSpecResolver) RunTimeout() string
- func (b *BlockhashStoreSpecResolver) TrustedBlockhashStoreAddress() *string
- func (b *BlockhashStoreSpecResolver) TrustedBlockhashStoreBatchSize() int32
- func (b *BlockhashStoreSpecResolver) WaitBlocks() int32
- type BridgePayloadResolver
- type BridgeResolver
- func (r *BridgeResolver) Confirmations() int32
- func (r *BridgeResolver) CreatedAt() graphql.Time
- func (r *BridgeResolver) ID() graphql.ID
- func (r *BridgeResolver) MinimumContractPayment() string
- func (r *BridgeResolver) Name() string
- func (r *BridgeResolver) OutgoingToken() string
- func (r *BridgeResolver) URL() string
- type BridgesPayloadResolver
- type CSAKeyExistsErrorResolver
- type CSAKeyResolver
- type CSAKeysPayloadResolver
- type ChainPayloadResolver
- type ChainResolver
- type ChainsPayloadResolver
- type ConfigV2PayloadResolver
- type CreateAPITokenPayloadResolver
- type CreateAPITokenSuccessResolver
- type CreateBridgePayloadResolver
- type CreateBridgeSuccessResolver
- type CreateCSAKeyPayloadResolver
- type CreateCSAKeySuccessResolver
- type CreateJobPayloadResolver
- type CreateJobSuccessResolver
- type CreateVRFKeyPayloadResolver
- type DeleteAPITokenPayloadResolver
- type DeleteAPITokenSuccessResolver
- type DeleteBridgeConflictErrorResolver
- type DeleteBridgeInvalidNameErrorResolver
- type DeleteBridgePayloadResolver
- func (r *DeleteBridgePayloadResolver) ToDeleteBridgeConflictError() (*DeleteBridgeConflictErrorResolver, bool)
- func (r *DeleteBridgePayloadResolver) ToDeleteBridgeInvalidNameError() (*DeleteBridgeInvalidNameErrorResolver, bool)
- func (r *DeleteBridgePayloadResolver) ToDeleteBridgeSuccess() (*DeleteBridgeSuccessResolver, bool)
- type DeleteBridgeSuccessResolver
- type DeleteCSAKeyPayloadResolver
- type DeleteCSAKeySuccessResolver
- type DeleteJobPayloadResolver
- type DeleteJobSuccessResolver
- type DeleteVRFKeyPayloadResolver
- type DeleteVRFKeySuccessResolver
- type DismissJobErrorPayloadResolver
- type DismissJobErrorSuccessResolver
- type ETHKey
- type ETHKeyResolver
- func (r *ETHKeyResolver) Address() string
- func (r *ETHKeyResolver) Chain(ctx context.Context) (*ChainResolver, error)
- func (r *ETHKeyResolver) CreatedAt() graphql.Time
- func (r *ETHKeyResolver) ETHBalance(ctx context.Context) *string
- func (r *ETHKeyResolver) IsDisabled() bool
- func (r *ETHKeyResolver) LINKBalance(ctx context.Context) *string
- func (r *ETHKeyResolver) MaxGasPriceWei() *string
- func (r *ETHKeyResolver) UpdatedAt() graphql.Time
- type ETHKeysPayloadResolver
- type ErrorCode
- type EthTransactionAttemptResolver
- type EthTransactionPayloadResolver
- type EthTransactionResolver
- func (r *EthTransactionResolver) Attempts(ctx context.Context) ([]*EthTransactionAttemptResolver, error)
- func (r *EthTransactionResolver) Chain(ctx context.Context) (*ChainResolver, error)
- func (r *EthTransactionResolver) Data() hexutil.Bytes
- func (r *EthTransactionResolver) EVMChainID() graphql.ID
- func (r *EthTransactionResolver) From() string
- func (r *EthTransactionResolver) GasLimit() string
- func (r *EthTransactionResolver) GasPrice(ctx context.Context) string
- func (r *EthTransactionResolver) Hash(ctx context.Context) string
- func (r *EthTransactionResolver) Hex(ctx context.Context) string
- func (r *EthTransactionResolver) Nonce() *string
- func (r *EthTransactionResolver) SentAt(ctx context.Context) *string
- func (r *EthTransactionResolver) State() string
- func (r *EthTransactionResolver) To() string
- func (r *EthTransactionResolver) Value() string
- type EthTransactionsAttemptsPayloadResolver
- type EthTransactionsPayloadResolver
- type FeaturesPayloadResolver
- type FeaturesResolver
- type GatewaySpecResolver
- type GetSQLLoggingPayloadResolver
- type GlobalLogLevelPayloadResolver
- type GlobalLogLevelResolver
- type InputErrorResolver
- type InputErrorsResolver
- type JobErrorResolver
- type JobPayloadResolver
- type JobResolver
- func (r *JobResolver) CreatedAt() graphql.Time
- func (r *JobResolver) Errors(ctx context.Context) ([]*JobErrorResolver, error)
- func (r *JobResolver) ExternalJobID() string
- func (r *JobResolver) ForwardingAllowed() *bool
- func (r *JobResolver) GasLimit() *int32
- func (r *JobResolver) ID() graphql.ID
- func (r *JobResolver) MaxTaskDuration() string
- func (r *JobResolver) Name() string
- func (r *JobResolver) ObservationSource() string
- func (r *JobResolver) Runs(ctx context.Context, args struct{ ... }) (*JobRunsPayloadResolver, error)
- func (r *JobResolver) SchemaVersion() int32
- func (r *JobResolver) Spec() *SpecResolver
- func (r *JobResolver) Type() string
- type JobRunPayloadResolver
- type JobRunResolver
- func (r *JobRunResolver) AllErrors() []string
- func (r *JobRunResolver) CreatedAt() graphql.Time
- func (r *JobRunResolver) FatalErrors() []string
- func (r *JobRunResolver) FinishedAt() *graphql.Time
- func (r *JobRunResolver) ID() graphql.ID
- func (r *JobRunResolver) Inputs() string
- func (r *JobRunResolver) Job(ctx context.Context) (*JobResolver, error)
- func (r *JobRunResolver) Outputs() []*string
- func (r *JobRunResolver) PipelineSpecID() graphql.ID
- func (r *JobRunResolver) Status() JobRunStatus
- func (r *JobRunResolver) TaskRuns() []*TaskRunResolver
- type JobRunStatus
- type JobRunsPayloadResolver
- type JobsPayloadResolver
- type LogLevel
- type NodePayloadResolver
- type NodeResolver
- func (r *NodeResolver) Chain(ctx context.Context) (*ChainResolver, error)
- func (r *NodeResolver) HTTPURL() string
- func (r *NodeResolver) ID() graphql.ID
- func (r *NodeResolver) Name() string
- func (r *NodeResolver) Order() *int32
- func (r *NodeResolver) SendOnly() bool
- func (r *NodeResolver) State() string
- func (r *NodeResolver) WSURL() string
- type NodesPayloadResolver
- type NotFoundErrorResolver
- type NotFoundErrorUnionType
- type PaginationMetadataResolver
- type PluginsResolver
- type Resolver
- func (r *Resolver) Bridge(ctx context.Context, args struct{ ... }) (*BridgePayloadResolver, error)
- func (r *Resolver) Bridges(ctx context.Context, args struct{ ... }) (*BridgesPayloadResolver, error)
- func (r *Resolver) CSAKeys(ctx context.Context) (*CSAKeysPayloadResolver, error)
- func (r *Resolver) Chain(ctx context.Context, args struct{ ... }) (*ChainPayloadResolver, error)
- func (r *Resolver) Chains(ctx context.Context, args struct{ ... }) (*ChainsPayloadResolver, error)
- func (r *Resolver) ConfigV2(ctx context.Context) (*ConfigV2PayloadResolver, error)
- func (r *Resolver) CreateAPIToken(ctx context.Context, args struct{ ... }) (*CreateAPITokenPayloadResolver, error)
- func (r *Resolver) CreateBridge(ctx context.Context, args struct{ ... }) (*CreateBridgePayloadResolver, error)
- func (r *Resolver) CreateCSAKey(ctx context.Context) (*CreateCSAKeyPayloadResolver, error)
- func (r *Resolver) CreateJob(ctx context.Context, args struct{ ... }) (*CreateJobPayloadResolver, error)
- func (r *Resolver) CreateVRFKey(ctx context.Context) (*CreateVRFKeyPayloadResolver, error)
- func (r *Resolver) DeleteAPIToken(ctx context.Context, args struct{ ... }) (*DeleteAPITokenPayloadResolver, error)
- func (r *Resolver) DeleteBridge(ctx context.Context, args struct{ ... }) (*DeleteBridgePayloadResolver, error)
- func (r *Resolver) DeleteCSAKey(ctx context.Context, args struct{ ... }) (*DeleteCSAKeyPayloadResolver, error)
- func (r *Resolver) DeleteJob(ctx context.Context, args struct{ ... }) (*DeleteJobPayloadResolver, error)
- func (r *Resolver) DeleteVRFKey(ctx context.Context, args struct{ ... }) (*DeleteVRFKeyPayloadResolver, error)
- func (r *Resolver) DismissJobError(ctx context.Context, args struct{ ... }) (*DismissJobErrorPayloadResolver, error)
- func (r *Resolver) ETHKeys(ctx context.Context) (*ETHKeysPayloadResolver, error)
- func (r *Resolver) EthTransaction(ctx context.Context, args struct{ ... }) (*EthTransactionPayloadResolver, error)
- func (r *Resolver) EthTransactions(ctx context.Context, args struct{ ... }) (*EthTransactionsPayloadResolver, error)
- func (r *Resolver) EthTransactionsAttempts(ctx context.Context, args struct{ ... }) (*EthTransactionsAttemptsPayloadResolver, error)
- func (r *Resolver) Features(ctx context.Context) (*FeaturesPayloadResolver, error)
- func (r *Resolver) GlobalLogLevel(ctx context.Context) (*GlobalLogLevelPayloadResolver, error)
- func (r *Resolver) Job(ctx context.Context, args struct{ ... }) (*JobPayloadResolver, error)
- func (r *Resolver) JobRun(ctx context.Context, args struct{ ... }) (*JobRunPayloadResolver, error)
- func (r *Resolver) JobRuns(ctx context.Context, args struct{ ... }) (*JobRunsPayloadResolver, error)
- func (r *Resolver) Jobs(ctx context.Context, args struct{ ... }) (*JobsPayloadResolver, error)
- func (r *Resolver) Node(ctx context.Context, args struct{ ... }) (*NodePayloadResolver, error)
- func (r *Resolver) Nodes(ctx context.Context, args struct{ ... }) (*NodesPayloadResolver, error)
- func (r *Resolver) RunJob(ctx context.Context, args struct{ ... }) (*RunJobPayloadResolver, error)
- func (r *Resolver) SQLLogging(ctx context.Context) (*GetSQLLoggingPayloadResolver, error)
- func (r *Resolver) SetGlobalLogLevel(ctx context.Context, args struct{ ... }) (*SetGlobalLogLevelPayloadResolver, error)
- func (r *Resolver) SetSQLLogging(ctx context.Context, args struct{ ... }) (*SetSQLLoggingPayloadResolver, error)
- func (r *Resolver) UpdateBridge(ctx context.Context, args struct{ ... }) (*UpdateBridgePayloadResolver, error)
- func (r *Resolver) UpdateUserPassword(ctx context.Context, args struct{ ... }) (*UpdatePasswordPayloadResolver, error)
- func (r *Resolver) VRFKey(ctx context.Context, args struct{ ... }) (*VRFKeyPayloadResolver, error)
- func (r *Resolver) VRFKeys(ctx context.Context) (*VRFKeysPayloadResolver, error)
- type RoleNotPermittedErr
- type RunJobCannotRunErrorResolver
- type RunJobPayloadResolver
- type RunJobSuccessResolver
- type SQLLoggingResolver
- type SetGlobalLogLevelPayloadResolver
- type SetGlobalLogLevelSuccessResolver
- type SetSQLLoggingPayloadResolver
- type SetSQLLoggingSuccessResolver
- type SpecResolver
- type TaskRunResolver
- func (r *TaskRunResolver) CreatedAt() graphql.Time
- func (r *TaskRunResolver) DotID() string
- func (r *TaskRunResolver) Error() *string
- func (r *TaskRunResolver) FinishedAt() *graphql.Time
- func (r *TaskRunResolver) ID() graphql.ID
- func (r *TaskRunResolver) Output() string
- func (r *TaskRunResolver) Type() string
- type UpdateBridgePayloadResolver
- type UpdateBridgeSuccessResolver
- type UpdatePasswordInput
- type UpdatePasswordPayloadResolver
- type UpdatePasswordSuccessResolver
- type UserResolver
- type VRFKeyPayloadResolver
- type VRFKeyResolver
- type VRFKeySuccessResolver
- type VRFKeysPayloadResolver
- type VRFSpecResolver
- func (r *VRFSpecResolver) BackoffInitialDelay() string
- func (r *VRFSpecResolver) BackoffMaxDelay() string
- func (r *VRFSpecResolver) BatchCoordinatorAddress() *string
- func (r *VRFSpecResolver) BatchFulfillmentEnabled() bool
- func (r *VRFSpecResolver) BatchFulfillmentGasMultiplier() float64
- func (r *VRFSpecResolver) ChunkSize() int32
- func (r *VRFSpecResolver) CoordinatorAddress() string
- func (r *VRFSpecResolver) CreatedAt() graphql.Time
- func (r *VRFSpecResolver) CustomRevertsPipelineEnabled() *bool
- func (r *VRFSpecResolver) EVMChainID() *string
- func (r *VRFSpecResolver) FromAddresses() *[]string
- func (r *VRFSpecResolver) GasLanePrice() *string
- func (r *VRFSpecResolver) MinIncomingConfirmations() int32
- func (r *VRFSpecResolver) PollPeriod() string
- func (r *VRFSpecResolver) PublicKey() string
- func (r *VRFSpecResolver) RequestTimeout() string
- func (r *VRFSpecResolver) RequestedConfsDelay() int32
- func (r *VRFSpecResolver) VRFOwnerAddress() *string
- type WebhookSpecResolver
Constants ¶
const ( // PageDefaultOffset defines the default offset to use if none is provided PageDefaultOffset = 0 // PageDefaultLimit defines the default limit to use if none is provided PageDefaultLimit = 50 )
const ( LogLevelDebug = "DEBUG" LogLevelInfo = "INFO" LogLevelWarn = "WARN" LogLevelError = "ERROR" )
Variables ¶
This section is empty.
Functions ¶
func FromLogLevel ¶
func ValidateBridgeType ¶
func ValidateBridgeType(bt *bridges.BridgeTypeRequest) error
ValidateBridgeType checks that the bridge type doesn't have a duplicate or invalid name or invalid url
This validation function should be moved into a bridge service and return multiple errors.
func ValidateBridgeTypeUniqueness ¶
func ValidateBridgeTypeUniqueness(bt *bridges.BridgeTypeRequest, orm bridges.ORM) error
ValidateBridgeTypeUniqueness checks that a bridge has not already been created
/ This validation function should be moved into a bridge service.
Types ¶
type APITokenResolver ¶
type APITokenResolver struct {
// contains filtered or unexported fields
}
func NewAPIToken ¶
func NewAPIToken(token auth.Token) *APITokenResolver
func (*APITokenResolver) AccessKey ¶
func (r *APITokenResolver) AccessKey() string
func (*APITokenResolver) Secret ¶
func (r *APITokenResolver) Secret() string
type BlockhashStoreSpecResolver ¶
type BlockhashStoreSpecResolver struct {
// contains filtered or unexported fields
}
BlockhashStoreSpecResolver exposes the job parameters for a BlockhashStoreSpec.
func (*BlockhashStoreSpecResolver) BlockhashStoreAddress ¶
func (b *BlockhashStoreSpecResolver) BlockhashStoreAddress() string
BlockhashStoreAddress returns the job's BlockhashStoreAddress param.
func (*BlockhashStoreSpecResolver) CoordinatorV1Address ¶
func (b *BlockhashStoreSpecResolver) CoordinatorV1Address() *string
CoordinatorV1Address returns the address of the V1 Coordinator, if any.
func (*BlockhashStoreSpecResolver) CoordinatorV2Address ¶
func (b *BlockhashStoreSpecResolver) CoordinatorV2Address() *string
CoordinatorV2Address returns the address of the V2 Coordinator, if any.
func (*BlockhashStoreSpecResolver) CoordinatorV2PlusAddress ¶
func (b *BlockhashStoreSpecResolver) CoordinatorV2PlusAddress() *string
CoordinatorV2PlusAddress returns the address of the V2Plus Coordinator, if any.
func (*BlockhashStoreSpecResolver) CreatedAt ¶
func (b *BlockhashStoreSpecResolver) CreatedAt() graphql.Time
CreatedAt resolves the spec's created at timestamp.
func (*BlockhashStoreSpecResolver) EVMChainID ¶
func (b *BlockhashStoreSpecResolver) EVMChainID() *string
EVMChainID returns the job's EVMChainID param.
func (*BlockhashStoreSpecResolver) FromAddresses ¶
func (b *BlockhashStoreSpecResolver) FromAddresses() *[]string
FromAddress returns the job's FromAddress param, if any.
func (*BlockhashStoreSpecResolver) HeartbeatPeriod ¶
func (b *BlockhashStoreSpecResolver) HeartbeatPeriod() string
HeartbeatPeriod returns the job's HeartbeatPeriod param.
func (*BlockhashStoreSpecResolver) LookbackBlocks ¶
func (b *BlockhashStoreSpecResolver) LookbackBlocks() int32
LookbackBlocks returns the job's LookbackBlocks param.
func (*BlockhashStoreSpecResolver) PollPeriod ¶
func (b *BlockhashStoreSpecResolver) PollPeriod() string
PollPeriod return's the job's PollPeriod param.
func (*BlockhashStoreSpecResolver) RunTimeout ¶
func (b *BlockhashStoreSpecResolver) RunTimeout() string
RunTimeout return's the job's RunTimeout param.
func (*BlockhashStoreSpecResolver) TrustedBlockhashStoreAddress ¶
func (b *BlockhashStoreSpecResolver) TrustedBlockhashStoreAddress() *string
TrustedBlockhashStoreAddress returns the address of the job's TrustedBlockhashStoreAddress, if any.
func (*BlockhashStoreSpecResolver) TrustedBlockhashStoreBatchSize ¶
func (b *BlockhashStoreSpecResolver) TrustedBlockhashStoreBatchSize() int32
BatchBlockhashStoreAddress returns the job's BatchBlockhashStoreAddress param.
func (*BlockhashStoreSpecResolver) WaitBlocks ¶
func (b *BlockhashStoreSpecResolver) WaitBlocks() int32
WaitBlocks returns the job's WaitBlocks param.
type BridgePayloadResolver ¶
type BridgePayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
BridgePayloadResolver resolves a single bridge response
func NewBridgePayload ¶
func NewBridgePayload(bridge bridges.BridgeType, err error) *BridgePayloadResolver
func (*BridgePayloadResolver) ToBridge ¶
func (r *BridgePayloadResolver) ToBridge() (*BridgeResolver, bool)
ToBridge implements the Bridge union type of the payload
type BridgeResolver ¶
type BridgeResolver struct {
// contains filtered or unexported fields
}
BridgeResolver resolves the Bridge type.
func NewBridge ¶
func NewBridge(bridge bridges.BridgeType) *BridgeResolver
func NewBridges ¶
func NewBridges(bridges []bridges.BridgeType) []*BridgeResolver
func (*BridgeResolver) Confirmations ¶
func (r *BridgeResolver) Confirmations() int32
Confirmations resolves the bridge's url.
func (*BridgeResolver) CreatedAt ¶
func (r *BridgeResolver) CreatedAt() graphql.Time
CreatedAt resolves the bridge's created at field.
func (*BridgeResolver) ID ¶
func (r *BridgeResolver) ID() graphql.ID
ID resolves the bridge's name as the id (Bridge does not have an id).
func (*BridgeResolver) MinimumContractPayment ¶
func (r *BridgeResolver) MinimumContractPayment() string
MinimumContractPayment resolves the bridge's minimum contract payment.
func (*BridgeResolver) Name ¶
func (r *BridgeResolver) Name() string
Name resolves the bridge's name.
func (*BridgeResolver) OutgoingToken ¶
func (r *BridgeResolver) OutgoingToken() string
OutgoingToken resolves the bridge's outgoing token.
type BridgesPayloadResolver ¶
type BridgesPayloadResolver struct {
// contains filtered or unexported fields
}
BridgesPayloadResolver resolves a page of bridges
func NewBridgesPayload ¶
func NewBridgesPayload(bridges []bridges.BridgeType, total int32) *BridgesPayloadResolver
func (*BridgesPayloadResolver) Metadata ¶
func (r *BridgesPayloadResolver) Metadata() *PaginationMetadataResolver
Metadata returns the pagination metadata.
func (*BridgesPayloadResolver) Results ¶
func (r *BridgesPayloadResolver) Results() []*BridgeResolver
Results returns the bridges.
type CSAKeyExistsErrorResolver ¶
type CSAKeyExistsErrorResolver struct {
// contains filtered or unexported fields
}
func NewCSAKeyExistsError ¶
func NewCSAKeyExistsError(message string) *CSAKeyExistsErrorResolver
func (*CSAKeyExistsErrorResolver) Code ¶
func (r *CSAKeyExistsErrorResolver) Code() ErrorCode
func (*CSAKeyExistsErrorResolver) Message ¶
func (r *CSAKeyExistsErrorResolver) Message() string
type CSAKeyResolver ¶
type CSAKeyResolver struct {
// contains filtered or unexported fields
}
CSAKeyResolver resolves the single CSA Key object
func NewCSAKey ¶
func NewCSAKey(key csakey.KeyV2) *CSAKeyResolver
func NewCSAKeys ¶
func NewCSAKeys(keys []csakey.KeyV2) []*CSAKeyResolver
func (*CSAKeyResolver) ID ¶
func (r *CSAKeyResolver) ID() graphql.ID
ID resolves the CSA Key public key as the id.
func (*CSAKeyResolver) PublicKey ¶
func (r *CSAKeyResolver) PublicKey() string
PubKey resolves the CSA Key public key string.
func (*CSAKeyResolver) Version ¶
func (r *CSAKeyResolver) Version() int32
Version resolves the CSA Key version number.
type CSAKeysPayloadResolver ¶
type CSAKeysPayloadResolver struct {
// contains filtered or unexported fields
}
func NewCSAKeysResolver ¶
func NewCSAKeysResolver(keys []csakey.KeyV2) *CSAKeysPayloadResolver
func (*CSAKeysPayloadResolver) Results ¶
func (r *CSAKeysPayloadResolver) Results() []*CSAKeyResolver
type ChainPayloadResolver ¶
type ChainPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewChainPayload ¶
func NewChainPayload(chain types.ChainStatus, err error) *ChainPayloadResolver
func (*ChainPayloadResolver) ToChain ¶
func (r *ChainPayloadResolver) ToChain() (*ChainResolver, bool)
type ChainResolver ¶
type ChainResolver struct {
// contains filtered or unexported fields
}
ChainResolver resolves the Chain type.
func NewChain ¶
func NewChain(chain types.ChainStatus) *ChainResolver
func NewChains ¶
func NewChains(chains []types.ChainStatus) []*ChainResolver
func (*ChainResolver) Config ¶
func (r *ChainResolver) Config() string
Config resolves the chain's configuration field
func (*ChainResolver) Enabled ¶
func (r *ChainResolver) Enabled() bool
Enabled resolves the chain's enabled field.
func (*ChainResolver) ID ¶
func (r *ChainResolver) ID() graphql.ID
ID resolves the chain's unique identifier.
type ChainsPayloadResolver ¶
type ChainsPayloadResolver struct {
// contains filtered or unexported fields
}
func NewChainsPayload ¶
func NewChainsPayload(chains []types.ChainStatus, total int32) *ChainsPayloadResolver
func (*ChainsPayloadResolver) Metadata ¶
func (r *ChainsPayloadResolver) Metadata() *PaginationMetadataResolver
func (*ChainsPayloadResolver) Results ¶
func (r *ChainsPayloadResolver) Results() []*ChainResolver
type ConfigV2PayloadResolver ¶
type ConfigV2PayloadResolver struct {
// contains filtered or unexported fields
}
func NewConfigV2Payload ¶
func NewConfigV2Payload(user, effective string) *ConfigV2PayloadResolver
func (*ConfigV2PayloadResolver) Effective ¶
func (r *ConfigV2PayloadResolver) Effective() string
func (*ConfigV2PayloadResolver) User ¶
func (r *ConfigV2PayloadResolver) User() string
type CreateAPITokenPayloadResolver ¶
type CreateAPITokenPayloadResolver struct {
// contains filtered or unexported fields
}
func NewCreateAPITokenPayload ¶
func NewCreateAPITokenPayload(token *auth.Token, inputErrs map[string]string) *CreateAPITokenPayloadResolver
func (*CreateAPITokenPayloadResolver) ToCreateAPITokenSuccess ¶
func (r *CreateAPITokenPayloadResolver) ToCreateAPITokenSuccess() (*CreateAPITokenSuccessResolver, bool)
func (*CreateAPITokenPayloadResolver) ToInputErrors ¶
func (r *CreateAPITokenPayloadResolver) ToInputErrors() (*InputErrorsResolver, bool)
type CreateAPITokenSuccessResolver ¶
type CreateAPITokenSuccessResolver struct {
// contains filtered or unexported fields
}
func NewCreateAPITokenSuccess ¶
func NewCreateAPITokenSuccess(token *auth.Token) *CreateAPITokenSuccessResolver
func (*CreateAPITokenSuccessResolver) Token ¶
func (r *CreateAPITokenSuccessResolver) Token() *APITokenResolver
type CreateBridgePayloadResolver ¶
type CreateBridgePayloadResolver struct {
// contains filtered or unexported fields
}
CreateBridgePayloadResolver
func NewCreateBridgePayload ¶
func NewCreateBridgePayload(bridge bridges.BridgeType, incomingToken string) *CreateBridgePayloadResolver
func (*CreateBridgePayloadResolver) ToCreateBridgeSuccess ¶
func (r *CreateBridgePayloadResolver) ToCreateBridgeSuccess() (*CreateBridgeSuccessResolver, bool)
type CreateBridgeSuccessResolver ¶
type CreateBridgeSuccessResolver struct {
// contains filtered or unexported fields
}
func NewCreateBridgeSuccessResolver ¶
func NewCreateBridgeSuccessResolver(bridge bridges.BridgeType, incomingToken string) *CreateBridgeSuccessResolver
func (*CreateBridgeSuccessResolver) Bridge ¶
func (r *CreateBridgeSuccessResolver) Bridge() *BridgeResolver
Bridge resolves the bridge.
func (*CreateBridgeSuccessResolver) IncomingToken ¶
func (r *CreateBridgeSuccessResolver) IncomingToken() string
Token resolves the bridge's incoming token.
type CreateCSAKeyPayloadResolver ¶
type CreateCSAKeyPayloadResolver struct {
// contains filtered or unexported fields
}
func NewCreateCSAKeyPayload ¶
func NewCreateCSAKeyPayload(key *csakey.KeyV2, err error) *CreateCSAKeyPayloadResolver
func (*CreateCSAKeyPayloadResolver) ToCSAKeyExistsError ¶
func (r *CreateCSAKeyPayloadResolver) ToCSAKeyExistsError() (*CSAKeyExistsErrorResolver, bool)
func (*CreateCSAKeyPayloadResolver) ToCreateCSAKeySuccess ¶
func (r *CreateCSAKeyPayloadResolver) ToCreateCSAKeySuccess() (*CreateCSAKeySuccessResolver, bool)
type CreateCSAKeySuccessResolver ¶
type CreateCSAKeySuccessResolver struct {
// contains filtered or unexported fields
}
func NewCreateCSAKeySuccessResolver ¶
func NewCreateCSAKeySuccessResolver(key *csakey.KeyV2) *CreateCSAKeySuccessResolver
func (*CreateCSAKeySuccessResolver) CSAKey ¶
func (r *CreateCSAKeySuccessResolver) CSAKey() *CSAKeyResolver
type CreateJobPayloadResolver ¶
type CreateJobPayloadResolver struct {
// contains filtered or unexported fields
}
func NewCreateJobPayload ¶
func NewCreateJobPayload(app erinaceus.Application, job *job.Job, inputErrs map[string]string) *CreateJobPayloadResolver
func (*CreateJobPayloadResolver) ToCreateJobSuccess ¶
func (r *CreateJobPayloadResolver) ToCreateJobSuccess() (*CreateJobSuccessResolver, bool)
func (*CreateJobPayloadResolver) ToInputErrors ¶
func (r *CreateJobPayloadResolver) ToInputErrors() (*InputErrorsResolver, bool)
type CreateJobSuccessResolver ¶
type CreateJobSuccessResolver struct {
// contains filtered or unexported fields
}
func NewCreateJobSuccess ¶
func NewCreateJobSuccess(app erinaceus.Application, job *job.Job) *CreateJobSuccessResolver
func (*CreateJobSuccessResolver) Job ¶
func (r *CreateJobSuccessResolver) Job() *JobResolver
type CreateVRFKeyPayloadResolver ¶
type CreateVRFKeyPayloadResolver struct {
// contains filtered or unexported fields
}
func NewCreateVRFKeyPayloadResolver ¶
func NewCreateVRFKeyPayloadResolver(key vrfkey.KeyV2) *CreateVRFKeyPayloadResolver
func (*CreateVRFKeyPayloadResolver) Key ¶
func (r *CreateVRFKeyPayloadResolver) Key() VRFKeyResolver
type DeleteAPITokenPayloadResolver ¶
type DeleteAPITokenPayloadResolver struct {
// contains filtered or unexported fields
}
func NewDeleteAPITokenPayload ¶
func NewDeleteAPITokenPayload(token *auth.Token, inputErrs map[string]string) *DeleteAPITokenPayloadResolver
func (*DeleteAPITokenPayloadResolver) ToDeleteAPITokenSuccess ¶
func (r *DeleteAPITokenPayloadResolver) ToDeleteAPITokenSuccess() (*DeleteAPITokenSuccessResolver, bool)
func (*DeleteAPITokenPayloadResolver) ToInputErrors ¶
func (r *DeleteAPITokenPayloadResolver) ToInputErrors() (*InputErrorsResolver, bool)
type DeleteAPITokenSuccessResolver ¶
type DeleteAPITokenSuccessResolver struct {
// contains filtered or unexported fields
}
func NewDeleteAPITokenSuccess ¶
func NewDeleteAPITokenSuccess(token *auth.Token) *DeleteAPITokenSuccessResolver
func (*DeleteAPITokenSuccessResolver) Token ¶
func (r *DeleteAPITokenSuccessResolver) Token() *APITokenResolver
type DeleteBridgeConflictErrorResolver ¶
type DeleteBridgeConflictErrorResolver struct {
// contains filtered or unexported fields
}
func NewDeleteBridgeConflictError ¶
func NewDeleteBridgeConflictError(message string) *DeleteBridgeConflictErrorResolver
func (*DeleteBridgeConflictErrorResolver) Code ¶
func (r *DeleteBridgeConflictErrorResolver) Code() ErrorCode
func (*DeleteBridgeConflictErrorResolver) Message ¶
func (r *DeleteBridgeConflictErrorResolver) Message() string
type DeleteBridgeInvalidNameErrorResolver ¶
type DeleteBridgeInvalidNameErrorResolver struct {
// contains filtered or unexported fields
}
func NewDeleteBridgeInvalidNameError ¶
func NewDeleteBridgeInvalidNameError(message string) *DeleteBridgeInvalidNameErrorResolver
func (*DeleteBridgeInvalidNameErrorResolver) Code ¶
func (r *DeleteBridgeInvalidNameErrorResolver) Code() ErrorCode
func (*DeleteBridgeInvalidNameErrorResolver) Message ¶
func (r *DeleteBridgeInvalidNameErrorResolver) Message() string
type DeleteBridgePayloadResolver ¶
type DeleteBridgePayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewDeleteBridgePayload ¶
func NewDeleteBridgePayload(bridge *bridges.BridgeType, err error) *DeleteBridgePayloadResolver
func (*DeleteBridgePayloadResolver) ToDeleteBridgeConflictError ¶
func (r *DeleteBridgePayloadResolver) ToDeleteBridgeConflictError() (*DeleteBridgeConflictErrorResolver, bool)
func (*DeleteBridgePayloadResolver) ToDeleteBridgeInvalidNameError ¶
func (r *DeleteBridgePayloadResolver) ToDeleteBridgeInvalidNameError() (*DeleteBridgeInvalidNameErrorResolver, bool)
func (*DeleteBridgePayloadResolver) ToDeleteBridgeSuccess ¶
func (r *DeleteBridgePayloadResolver) ToDeleteBridgeSuccess() (*DeleteBridgeSuccessResolver, bool)
type DeleteBridgeSuccessResolver ¶
type DeleteBridgeSuccessResolver struct {
// contains filtered or unexported fields
}
func NewDeleteBridgeSuccess ¶
func NewDeleteBridgeSuccess(bridge *bridges.BridgeType) *DeleteBridgeSuccessResolver
func (*DeleteBridgeSuccessResolver) Bridge ¶
func (r *DeleteBridgeSuccessResolver) Bridge() *BridgeResolver
type DeleteCSAKeyPayloadResolver ¶
type DeleteCSAKeyPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewDeleteCSAKeyPayload ¶
func NewDeleteCSAKeyPayload(key csakey.KeyV2, err error) *DeleteCSAKeyPayloadResolver
func (*DeleteCSAKeyPayloadResolver) ToDeleteCSAKeySuccess ¶
func (r *DeleteCSAKeyPayloadResolver) ToDeleteCSAKeySuccess() (*DeleteCSAKeySuccessResolver, bool)
type DeleteCSAKeySuccessResolver ¶
type DeleteCSAKeySuccessResolver struct {
// contains filtered or unexported fields
}
func NewDeleteCSAKeySuccess ¶
func NewDeleteCSAKeySuccess(key csakey.KeyV2) *DeleteCSAKeySuccessResolver
func (*DeleteCSAKeySuccessResolver) CSAKey ¶
func (r *DeleteCSAKeySuccessResolver) CSAKey() *CSAKeyResolver
type DeleteJobPayloadResolver ¶
type DeleteJobPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewDeleteJobPayload ¶
func NewDeleteJobPayload(app erinaceus.Application, j *job.Job, err error) *DeleteJobPayloadResolver
func (*DeleteJobPayloadResolver) ToDeleteJobSuccess ¶
func (r *DeleteJobPayloadResolver) ToDeleteJobSuccess() (*DeleteJobSuccessResolver, bool)
type DeleteJobSuccessResolver ¶
type DeleteJobSuccessResolver struct {
// contains filtered or unexported fields
}
func NewDeleteJobSuccess ¶
func NewDeleteJobSuccess(app erinaceus.Application, job *job.Job) *DeleteJobSuccessResolver
func (*DeleteJobSuccessResolver) Job ¶
func (r *DeleteJobSuccessResolver) Job() *JobResolver
type DeleteVRFKeyPayloadResolver ¶
type DeleteVRFKeyPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewDeleteVRFKeyPayloadResolver ¶
func NewDeleteVRFKeyPayloadResolver(key vrfkey.KeyV2, err error) *DeleteVRFKeyPayloadResolver
func (*DeleteVRFKeyPayloadResolver) ToDeleteVRFKeySuccess ¶
func (r *DeleteVRFKeyPayloadResolver) ToDeleteVRFKeySuccess() (*DeleteVRFKeySuccessResolver, bool)
type DeleteVRFKeySuccessResolver ¶
type DeleteVRFKeySuccessResolver struct {
// contains filtered or unexported fields
}
func NewDeleteVRFKeySuccessResolver ¶
func NewDeleteVRFKeySuccessResolver(key vrfkey.KeyV2) *DeleteVRFKeySuccessResolver
func (*DeleteVRFKeySuccessResolver) Key ¶
func (r *DeleteVRFKeySuccessResolver) Key() VRFKeyResolver
type DismissJobErrorPayloadResolver ¶
type DismissJobErrorPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewDismissJobErrorPayload ¶
func NewDismissJobErrorPayload(specError *job.SpecError, err error) *DismissJobErrorPayloadResolver
func (*DismissJobErrorPayloadResolver) ToDismissJobErrorSuccess ¶
func (r *DismissJobErrorPayloadResolver) ToDismissJobErrorSuccess() (*DismissJobErrorSuccessResolver, bool)
type DismissJobErrorSuccessResolver ¶
type DismissJobErrorSuccessResolver struct {
// contains filtered or unexported fields
}
func NewDismissJobErrorSuccess ¶
func NewDismissJobErrorSuccess(specError *job.SpecError) *DismissJobErrorSuccessResolver
func (*DismissJobErrorSuccessResolver) JobError ¶
func (r *DismissJobErrorSuccessResolver) JobError() *JobErrorResolver
type ETHKeyResolver ¶
type ETHKeyResolver struct {
// contains filtered or unexported fields
}
func NewETHKey ¶
func NewETHKey(key ETHKey) *ETHKeyResolver
func NewETHKeys ¶
func NewETHKeys(keys []ETHKey) []*ETHKeyResolver
func (*ETHKeyResolver) Address ¶
func (r *ETHKeyResolver) Address() string
func (*ETHKeyResolver) Chain ¶
func (r *ETHKeyResolver) Chain(ctx context.Context) (*ChainResolver, error)
func (*ETHKeyResolver) CreatedAt ¶
func (r *ETHKeyResolver) CreatedAt() graphql.Time
func (*ETHKeyResolver) ETHBalance ¶
func (r *ETHKeyResolver) ETHBalance(ctx context.Context) *string
ETHBalance returns the ETH balance available
func (*ETHKeyResolver) IsDisabled ¶
func (r *ETHKeyResolver) IsDisabled() bool
func (*ETHKeyResolver) LINKBalance ¶
func (r *ETHKeyResolver) LINKBalance(ctx context.Context) *string
func (*ETHKeyResolver) MaxGasPriceWei ¶
func (r *ETHKeyResolver) MaxGasPriceWei() *string
func (*ETHKeyResolver) UpdatedAt ¶
func (r *ETHKeyResolver) UpdatedAt() graphql.Time
type ETHKeysPayloadResolver ¶
type ETHKeysPayloadResolver struct {
// contains filtered or unexported fields
}
func NewETHKeysPayload ¶
func NewETHKeysPayload(keys []ETHKey) *ETHKeysPayloadResolver
func (*ETHKeysPayloadResolver) Results ¶
func (r *ETHKeysPayloadResolver) Results() []*ETHKeyResolver
type EthTransactionAttemptResolver ¶
type EthTransactionAttemptResolver struct {
// contains filtered or unexported fields
}
func NewEthTransactionAttempt ¶
func NewEthTransactionAttempt(attmpt txmgr.TxAttempt) *EthTransactionAttemptResolver
func NewEthTransactionsAttempts ¶
func NewEthTransactionsAttempts(results []txmgr.TxAttempt) []*EthTransactionAttemptResolver
func (*EthTransactionAttemptResolver) GasPrice ¶
func (r *EthTransactionAttemptResolver) GasPrice() string
func (*EthTransactionAttemptResolver) Hash ¶
func (r *EthTransactionAttemptResolver) Hash() string
func (*EthTransactionAttemptResolver) Hex ¶
func (r *EthTransactionAttemptResolver) Hex() string
func (*EthTransactionAttemptResolver) SentAt ¶
func (r *EthTransactionAttemptResolver) SentAt() *string
type EthTransactionPayloadResolver ¶
type EthTransactionPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewEthTransactionPayload ¶
func NewEthTransactionPayload(tx *txmgr.Tx, err error) *EthTransactionPayloadResolver
func (*EthTransactionPayloadResolver) ToEthTransaction ¶
func (r *EthTransactionPayloadResolver) ToEthTransaction() (*EthTransactionResolver, bool)
type EthTransactionResolver ¶
type EthTransactionResolver struct {
// contains filtered or unexported fields
}
func NewEthTransaction ¶
func NewEthTransaction(tx txmgr.Tx) *EthTransactionResolver
func NewEthTransactions ¶
func NewEthTransactions(results []txmgr.Tx) []*EthTransactionResolver
func (*EthTransactionResolver) Attempts ¶
func (r *EthTransactionResolver) Attempts(ctx context.Context) ([]*EthTransactionAttemptResolver, error)
func (*EthTransactionResolver) Chain ¶
func (r *EthTransactionResolver) Chain(ctx context.Context) (*ChainResolver, error)
Chain resolves the node's chain object field.
func (*EthTransactionResolver) Data ¶
func (r *EthTransactionResolver) Data() hexutil.Bytes
func (*EthTransactionResolver) EVMChainID ¶
func (r *EthTransactionResolver) EVMChainID() graphql.ID
func (*EthTransactionResolver) From ¶
func (r *EthTransactionResolver) From() string
func (*EthTransactionResolver) GasLimit ¶
func (r *EthTransactionResolver) GasLimit() string
func (*EthTransactionResolver) GasPrice ¶
func (r *EthTransactionResolver) GasPrice(ctx context.Context) string
func (*EthTransactionResolver) Hash ¶
func (r *EthTransactionResolver) Hash(ctx context.Context) string
func (*EthTransactionResolver) Hex ¶
func (r *EthTransactionResolver) Hex(ctx context.Context) string
func (*EthTransactionResolver) Nonce ¶
func (r *EthTransactionResolver) Nonce() *string
func (*EthTransactionResolver) SentAt ¶
func (r *EthTransactionResolver) SentAt(ctx context.Context) *string
func (*EthTransactionResolver) State ¶
func (r *EthTransactionResolver) State() string
func (*EthTransactionResolver) To ¶
func (r *EthTransactionResolver) To() string
func (*EthTransactionResolver) Value ¶
func (r *EthTransactionResolver) Value() string
type EthTransactionsAttemptsPayloadResolver ¶
type EthTransactionsAttemptsPayloadResolver struct {
// contains filtered or unexported fields
}
func NewEthTransactionsAttemptsPayload ¶
func NewEthTransactionsAttemptsPayload(results []txmgr.TxAttempt, total int32) *EthTransactionsAttemptsPayloadResolver
func (*EthTransactionsAttemptsPayloadResolver) Metadata ¶
func (r *EthTransactionsAttemptsPayloadResolver) Metadata() *PaginationMetadataResolver
func (*EthTransactionsAttemptsPayloadResolver) Results ¶
func (r *EthTransactionsAttemptsPayloadResolver) Results() []*EthTransactionAttemptResolver
type EthTransactionsPayloadResolver ¶
type EthTransactionsPayloadResolver struct {
// contains filtered or unexported fields
}
func NewEthTransactionsPayload ¶
func NewEthTransactionsPayload(results []txmgr.Tx, total int32) *EthTransactionsPayloadResolver
func (*EthTransactionsPayloadResolver) Metadata ¶
func (r *EthTransactionsPayloadResolver) Metadata() *PaginationMetadataResolver
func (*EthTransactionsPayloadResolver) Results ¶
func (r *EthTransactionsPayloadResolver) Results() []*EthTransactionResolver
type FeaturesPayloadResolver ¶
type FeaturesPayloadResolver struct {
// contains filtered or unexported fields
}
func NewFeaturesPayloadResolver ¶
func NewFeaturesPayloadResolver(cfg config.Feature) *FeaturesPayloadResolver
func (*FeaturesPayloadResolver) ToFeatures ¶
func (r *FeaturesPayloadResolver) ToFeatures() (*FeaturesResolver, bool)
type FeaturesResolver ¶
type FeaturesResolver struct {
// contains filtered or unexported fields
}
func NewFeaturesResolver ¶
func NewFeaturesResolver(cfg config.Feature) *FeaturesResolver
func (*FeaturesResolver) CSA ¶
func (r *FeaturesResolver) CSA() bool
CSA resolves to whether CSA Keys are enabled
type GatewaySpecResolver ¶
type GatewaySpecResolver struct {
// contains filtered or unexported fields
}
func (*GatewaySpecResolver) CreatedAt ¶
func (r *GatewaySpecResolver) CreatedAt() graphql.Time
func (*GatewaySpecResolver) GatewayConfig ¶
func (r *GatewaySpecResolver) GatewayConfig() gqlscalar.Map
func (*GatewaySpecResolver) ID ¶
func (r *GatewaySpecResolver) ID() graphql.ID
type GetSQLLoggingPayloadResolver ¶
type GetSQLLoggingPayloadResolver struct {
// contains filtered or unexported fields
}
func NewGetSQLLoggingPayload ¶
func NewGetSQLLoggingPayload(enabled bool) *GetSQLLoggingPayloadResolver
func (*GetSQLLoggingPayloadResolver) ToSQLLogging ¶
func (r *GetSQLLoggingPayloadResolver) ToSQLLogging() (*SQLLoggingResolver, bool)
type GlobalLogLevelPayloadResolver ¶
type GlobalLogLevelPayloadResolver struct {
// contains filtered or unexported fields
}
func NewGlobalLogLevelPayload ¶
func NewGlobalLogLevelPayload(lgLvl string) *GlobalLogLevelPayloadResolver
func (*GlobalLogLevelPayloadResolver) ToGlobalLogLevel ¶
func (r *GlobalLogLevelPayloadResolver) ToGlobalLogLevel() (*GlobalLogLevelResolver, bool)
type GlobalLogLevelResolver ¶
type GlobalLogLevelResolver struct {
// contains filtered or unexported fields
}
func GlobalLogLevel ¶
func GlobalLogLevel(lvl string) *GlobalLogLevelResolver
func (*GlobalLogLevelResolver) Level ¶
func (r *GlobalLogLevelResolver) Level() (LogLevel, error)
type InputErrorResolver ¶
type InputErrorResolver struct {
// contains filtered or unexported fields
}
func NewInputError ¶
func NewInputError(path, message string) *InputErrorResolver
func (*InputErrorResolver) Code ¶
func (r *InputErrorResolver) Code() ErrorCode
func (*InputErrorResolver) Message ¶
func (r *InputErrorResolver) Message() string
func (*InputErrorResolver) Path ¶
func (r *InputErrorResolver) Path() string
type InputErrorsResolver ¶
type InputErrorsResolver struct {
// contains filtered or unexported fields
}
InputErrorsResolver groups a slice of input errors
func NewInputErrors ¶
func NewInputErrors(iers []*InputErrorResolver) *InputErrorsResolver
func (*InputErrorsResolver) Errors ¶
func (r *InputErrorsResolver) Errors() []*InputErrorResolver
type JobErrorResolver ¶
type JobErrorResolver struct {
// contains filtered or unexported fields
}
JobErrorResolver resolves a Job Error
func NewJobError ¶
func NewJobError(specError job.SpecError) *JobErrorResolver
func NewJobErrors ¶
func NewJobErrors(specErrors []job.SpecError) []*JobErrorResolver
func (*JobErrorResolver) CreatedAt ¶
func (r *JobErrorResolver) CreatedAt() graphql.Time
CreatedAt resolves the job error's created at timestamp.
func (*JobErrorResolver) Description ¶
func (r *JobErrorResolver) Description() string
Description resolves the job error's description.
func (*JobErrorResolver) ID ¶
func (r *JobErrorResolver) ID() graphql.ID
ID resolves the job error's id.
func (*JobErrorResolver) Occurrences ¶
func (r *JobErrorResolver) Occurrences() int32
Occurrences resolves the job error's number of occurrences.
func (*JobErrorResolver) UpdatedAt ¶
func (r *JobErrorResolver) UpdatedAt() graphql.Time
UpdatedAt resolves the job error's updated at timestamp.
type JobPayloadResolver ¶
type JobPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewJobPayload ¶
func NewJobPayload(app erinaceus.Application, j *job.Job, err error) *JobPayloadResolver
func (*JobPayloadResolver) ToJob ¶
func (r *JobPayloadResolver) ToJob() (*JobResolver, bool)
ToJob implements the JobPayload union type of the payload
type JobResolver ¶
type JobResolver struct {
// contains filtered or unexported fields
}
JobResolver resolves the Job type.
func NewJob ¶
func NewJob(app erinaceus.Application, j job.Job) *JobResolver
func NewJobs ¶
func NewJobs(app erinaceus.Application, jobs []job.Job) []*JobResolver
func (*JobResolver) CreatedAt ¶
func (r *JobResolver) CreatedAt() graphql.Time
CreatedAt resolves the job's created at timestamp.
func (*JobResolver) Errors ¶
func (r *JobResolver) Errors(ctx context.Context) ([]*JobErrorResolver, error)
Errors resolves the job's top level errors.
func (*JobResolver) ExternalJobID ¶
func (r *JobResolver) ExternalJobID() string
ExternalJobID resolves the job's external job id.
func (*JobResolver) ForwardingAllowed ¶
func (r *JobResolver) ForwardingAllowed() *bool
ForwardingAllowed sets whether txs submitted by this job should be forwarded when possible.
func (*JobResolver) GasLimit ¶
func (r *JobResolver) GasLimit() *int32
GasLimit resolves the job's gas limit.
func (*JobResolver) MaxTaskDuration ¶
func (r *JobResolver) MaxTaskDuration() string
MaxTaskDuration resolves the job's max task duration.
func (*JobResolver) ObservationSource ¶
func (r *JobResolver) ObservationSource() string
ObservationSource resolves the job's observation source.
This could potentially be moved to a dataloader in the future as we are fetching it from a relationship.
func (*JobResolver) Runs ¶
func (r *JobResolver) Runs(ctx context.Context, args struct { Offset *int32 Limit *int32 }) (*JobRunsPayloadResolver, error)
Runs fetches the runs for a Job.
func (*JobResolver) SchemaVersion ¶
func (r *JobResolver) SchemaVersion() int32
SchemaVersion resolves the job's schema version.
type JobRunPayloadResolver ¶
type JobRunPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewJobRunPayload ¶
func NewJobRunPayload(jr *pipeline.Run, app erinaceus.Application, err error) *JobRunPayloadResolver
func (*JobRunPayloadResolver) ToJobRun ¶
func (r *JobRunPayloadResolver) ToJobRun() (*JobRunResolver, bool)
type JobRunResolver ¶
type JobRunResolver struct {
// contains filtered or unexported fields
}
func NewJobRun ¶
func NewJobRun(run pipeline.Run, app erinaceus.Application) *JobRunResolver
func NewJobRuns ¶
func NewJobRuns(runs []pipeline.Run, app erinaceus.Application) []*JobRunResolver
func (*JobRunResolver) AllErrors ¶
func (r *JobRunResolver) AllErrors() []string
func (*JobRunResolver) CreatedAt ¶
func (r *JobRunResolver) CreatedAt() graphql.Time
func (*JobRunResolver) FatalErrors ¶
func (r *JobRunResolver) FatalErrors() []string
func (*JobRunResolver) FinishedAt ¶
func (r *JobRunResolver) FinishedAt() *graphql.Time
func (*JobRunResolver) ID ¶
func (r *JobRunResolver) ID() graphql.ID
func (*JobRunResolver) Inputs ¶
func (r *JobRunResolver) Inputs() string
func (*JobRunResolver) Job ¶
func (r *JobRunResolver) Job(ctx context.Context) (*JobResolver, error)
func (*JobRunResolver) Outputs ¶
func (r *JobRunResolver) Outputs() []*string
func (*JobRunResolver) PipelineSpecID ¶
func (r *JobRunResolver) PipelineSpecID() graphql.ID
func (*JobRunResolver) Status ¶
func (r *JobRunResolver) Status() JobRunStatus
func (*JobRunResolver) TaskRuns ¶
func (r *JobRunResolver) TaskRuns() []*TaskRunResolver
TaskRuns resolves the job run's task runs
This could be moved to a data loader later, which means also modifying to ORM to not get everything at once
type JobRunStatus ¶
type JobRunStatus string
const ( JobRunStatusUnknown JobRunStatus = "UNKNOWN" JobRunStatusRunning JobRunStatus = "RUNNING" JobRunStatusSuspended JobRunStatus = "SUSPENDED" JobRunStatusErrored JobRunStatus = "ERRORED" JobRunStatusCompleted JobRunStatus = "COMPLETED" )
func NewJobRunStatus ¶
func NewJobRunStatus(status pipeline.RunStatus) JobRunStatus
type JobRunsPayloadResolver ¶
type JobRunsPayloadResolver struct {
// contains filtered or unexported fields
}
JobRunsPayloadResolver resolves a page of job runs
func NewJobRunsPayload ¶
func NewJobRunsPayload(runs []pipeline.Run, total int32, app erinaceus.Application) *JobRunsPayloadResolver
func (*JobRunsPayloadResolver) Metadata ¶
func (r *JobRunsPayloadResolver) Metadata() *PaginationMetadataResolver
Metadata returns the pagination metadata.
func (*JobRunsPayloadResolver) Results ¶
func (r *JobRunsPayloadResolver) Results() []*JobRunResolver
Results returns the job runs.
type JobsPayloadResolver ¶
type JobsPayloadResolver struct {
// contains filtered or unexported fields
}
JobsPayloadResolver resolves a page of jobs
func NewJobsPayload ¶
func NewJobsPayload(app erinaceus.Application, jobs []job.Job, total int32) *JobsPayloadResolver
func (*JobsPayloadResolver) Metadata ¶
func (r *JobsPayloadResolver) Metadata() *PaginationMetadataResolver
Metadata returns the pagination metadata.
func (*JobsPayloadResolver) Results ¶
func (r *JobsPayloadResolver) Results() []*JobResolver
Results returns the jobs.
type NodePayloadResolver ¶
type NodePayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewNodePayloadResolver ¶
func NewNodePayloadResolver(node *types.NodeStatus, err error) (npr *NodePayloadResolver, warn error)
func (*NodePayloadResolver) ToNode ¶
func (r *NodePayloadResolver) ToNode() (*NodeResolver, bool)
ToNode resolves the Node object to be returned if it is found
type NodeResolver ¶
type NodeResolver struct {
// contains filtered or unexported fields
}
NodeResolver resolves the Node type.
func NewNode ¶
func NewNode(status types.NodeStatus) (nr *NodeResolver, warn error)
func NewNodes ¶
func NewNodes(nodes []types.NodeStatus) (resolvers []*NodeResolver, warns error)
func (*NodeResolver) Chain ¶
func (r *NodeResolver) Chain(ctx context.Context) (*ChainResolver, error)
Chain resolves the node's chain object field.
func (*NodeResolver) HTTPURL ¶
func (r *NodeResolver) HTTPURL() string
HTTPURL resolves the node's http url field.
func (*NodeResolver) ID ¶
func (r *NodeResolver) ID() graphql.ID
ID resolves the node's unique identifier.
func (*NodeResolver) Name ¶
func (r *NodeResolver) Name() string
Name resolves the node's name field.
func (*NodeResolver) Order ¶
func (r *NodeResolver) Order() *int32
Order resolves the node's order field
func (*NodeResolver) SendOnly ¶
func (r *NodeResolver) SendOnly() bool
SendOnly resolves the node's sendOnly bool
func (*NodeResolver) WSURL ¶
func (r *NodeResolver) WSURL() string
WSURL resolves the node's websocket url field.
type NodesPayloadResolver ¶
type NodesPayloadResolver struct {
// contains filtered or unexported fields
}
func NewNodesPayload ¶
func NewNodesPayload(nodes []types.NodeStatus, total int32) (npr *NodesPayloadResolver, warn error)
func (*NodesPayloadResolver) Metadata ¶
func (r *NodesPayloadResolver) Metadata() *PaginationMetadataResolver
func (*NodesPayloadResolver) Results ¶
func (r *NodesPayloadResolver) Results() []*NodeResolver
type NotFoundErrorResolver ¶
type NotFoundErrorResolver struct {
// contains filtered or unexported fields
}
func NewNotFoundError ¶
func NewNotFoundError(message string) *NotFoundErrorResolver
func (*NotFoundErrorResolver) Code ¶
func (r *NotFoundErrorResolver) Code() ErrorCode
func (*NotFoundErrorResolver) Message ¶
func (r *NotFoundErrorResolver) Message() string
type NotFoundErrorUnionType ¶
type NotFoundErrorUnionType struct {
// contains filtered or unexported fields
}
func (*NotFoundErrorUnionType) ToNotFoundError ¶
func (e *NotFoundErrorUnionType) ToNotFoundError() (*NotFoundErrorResolver, bool)
ToNotFoundError resolves to the not found error resolver
type PaginationMetadataResolver ¶
type PaginationMetadataResolver struct {
// contains filtered or unexported fields
}
func NewPaginationMetadata ¶
func NewPaginationMetadata(total int32) *PaginationMetadataResolver
func (*PaginationMetadataResolver) Total ¶
func (r *PaginationMetadataResolver) Total() int32
type PluginsResolver ¶
type PluginsResolver struct {
// contains filtered or unexported fields
}
func (PluginsResolver) Commit ¶
func (r PluginsResolver) Commit() bool
Commit returns the the status of the commit plugin.
func (PluginsResolver) Execute ¶
func (r PluginsResolver) Execute() bool
Execute returns the the status of the execute plugin.
type Resolver ¶
type Resolver struct {
App erinaceus.Application
}
func (*Resolver) Bridge ¶
func (r *Resolver) Bridge(ctx context.Context, args struct{ ID graphql.ID }) (*BridgePayloadResolver, error)
Bridge retrieves a bridges by name.
func (*Resolver) Bridges ¶
func (r *Resolver) Bridges(ctx context.Context, args struct { Offset *int32 Limit *int32 }) (*BridgesPayloadResolver, error)
Bridges retrieves a paginated list of bridges.
func (*Resolver) CSAKeys ¶
func (r *Resolver) CSAKeys(ctx context.Context) (*CSAKeysPayloadResolver, error)
func (*Resolver) Chain ¶
func (r *Resolver) Chain(ctx context.Context, args struct{ ID graphql.ID }) (*ChainPayloadResolver, error)
Chain retrieves a chain by id.
func (*Resolver) Chains ¶
func (r *Resolver) Chains(ctx context.Context, args struct { Offset *int32 Limit *int32 }) (*ChainsPayloadResolver, error)
Chains retrieves a paginated list of chains.
func (*Resolver) ConfigV2 ¶
func (r *Resolver) ConfigV2(ctx context.Context) (*ConfigV2PayloadResolver, error)
ConfigV2 retrieves the Chainlink node's configuration (V2 mode)
func (*Resolver) CreateAPIToken ¶
func (*Resolver) CreateBridge ¶
func (r *Resolver) CreateBridge(ctx context.Context, args struct{ Input createBridgeInput }) (*CreateBridgePayloadResolver, error)
CreateBridge creates a new bridge.
func (*Resolver) CreateCSAKey ¶
func (r *Resolver) CreateCSAKey(ctx context.Context) (*CreateCSAKeyPayloadResolver, error)
func (*Resolver) CreateVRFKey ¶
func (r *Resolver) CreateVRFKey(ctx context.Context) (*CreateVRFKeyPayloadResolver, error)
func (*Resolver) DeleteAPIToken ¶
func (*Resolver) DeleteBridge ¶
func (r *Resolver) DeleteBridge(ctx context.Context, args struct { ID graphql.ID }) (*DeleteBridgePayloadResolver, error)
func (*Resolver) DeleteCSAKey ¶
func (r *Resolver) DeleteCSAKey(ctx context.Context, args struct { ID graphql.ID }) (*DeleteCSAKeyPayloadResolver, error)
func (*Resolver) DeleteJob ¶
func (r *Resolver) DeleteJob(ctx context.Context, args struct { ID graphql.ID }) (*DeleteJobPayloadResolver, error)
func (*Resolver) DeleteVRFKey ¶
func (r *Resolver) DeleteVRFKey(ctx context.Context, args struct { ID graphql.ID }) (*DeleteVRFKeyPayloadResolver, error)
func (*Resolver) DismissJobError ¶
func (r *Resolver) DismissJobError(ctx context.Context, args struct { ID graphql.ID }) (*DismissJobErrorPayloadResolver, error)
func (*Resolver) ETHKeys ¶
func (r *Resolver) ETHKeys(ctx context.Context) (*ETHKeysPayloadResolver, error)
func (*Resolver) EthTransaction ¶
func (r *Resolver) EthTransaction(ctx context.Context, args struct { Hash graphql.ID }) (*EthTransactionPayloadResolver, error)
func (*Resolver) EthTransactions ¶
func (*Resolver) EthTransactionsAttempts ¶
func (*Resolver) Features ¶
func (r *Resolver) Features(ctx context.Context) (*FeaturesPayloadResolver, error)
Features retrieves each featured enabled by boolean mapping
func (*Resolver) GlobalLogLevel ¶
func (r *Resolver) GlobalLogLevel(ctx context.Context) (*GlobalLogLevelPayloadResolver, error)
func (*Resolver) Job ¶
func (r *Resolver) Job(ctx context.Context, args struct{ ID graphql.ID }) (*JobPayloadResolver, error)
Job retrieves a job by id.
func (*Resolver) JobRun ¶
func (r *Resolver) JobRun(ctx context.Context, args struct { ID graphql.ID }) (*JobRunPayloadResolver, error)
func (*Resolver) Jobs ¶
func (r *Resolver) Jobs(ctx context.Context, args struct { Offset *int32 Limit *int32 }) (*JobsPayloadResolver, error)
Jobs fetches a paginated list of jobs
func (*Resolver) Node ¶
func (r *Resolver) Node(ctx context.Context, args struct{ ID graphql.ID }) (*NodePayloadResolver, error)
Node retrieves a node by ID (Name)
func (*Resolver) Nodes ¶
func (r *Resolver) Nodes(ctx context.Context, args struct { Offset *int32 Limit *int32 }) (*NodesPayloadResolver, error)
Nodes retrieves a paginated list of nodes.
func (*Resolver) RunJob ¶
func (r *Resolver) RunJob(ctx context.Context, args struct { ID graphql.ID }) (*RunJobPayloadResolver, error)
func (*Resolver) SQLLogging ¶
func (r *Resolver) SQLLogging(ctx context.Context) (*GetSQLLoggingPayloadResolver, error)
func (*Resolver) SetGlobalLogLevel ¶
func (*Resolver) SetSQLLogging ¶
func (*Resolver) UpdateBridge ¶
func (r *Resolver) UpdateBridge(ctx context.Context, args struct { ID graphql.ID Input updateBridgeInput }) (*UpdateBridgePayloadResolver, error)
func (*Resolver) UpdateUserPassword ¶
func (r *Resolver) UpdateUserPassword(ctx context.Context, args struct { Input UpdatePasswordInput }) (*UpdatePasswordPayloadResolver, error)
type RoleNotPermittedErr ¶
func (RoleNotPermittedErr) Error ¶
func (e RoleNotPermittedErr) Error() string
type RunJobCannotRunErrorResolver ¶
type RunJobCannotRunErrorResolver struct {
// contains filtered or unexported fields
}
func NewRunJobCannotRunError ¶
func NewRunJobCannotRunError(err error) *RunJobCannotRunErrorResolver
func (*RunJobCannotRunErrorResolver) Code ¶
func (r *RunJobCannotRunErrorResolver) Code() ErrorCode
func (*RunJobCannotRunErrorResolver) Message ¶
func (r *RunJobCannotRunErrorResolver) Message() string
type RunJobPayloadResolver ¶
type RunJobPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewRunJobPayload ¶
func NewRunJobPayload(run *pipeline.Run, app erinaceus.Application, err error) *RunJobPayloadResolver
func (*RunJobPayloadResolver) ToRunJobCannotRunError ¶
func (r *RunJobPayloadResolver) ToRunJobCannotRunError() (*RunJobCannotRunErrorResolver, bool)
func (*RunJobPayloadResolver) ToRunJobSuccess ¶
func (r *RunJobPayloadResolver) ToRunJobSuccess() (*RunJobSuccessResolver, bool)
type RunJobSuccessResolver ¶
type RunJobSuccessResolver struct {
// contains filtered or unexported fields
}
func NewRunJobSuccess ¶
func NewRunJobSuccess(run pipeline.Run, app erinaceus.Application) *RunJobSuccessResolver
func (*RunJobSuccessResolver) JobRun ¶
func (r *RunJobSuccessResolver) JobRun() *JobRunResolver
type SQLLoggingResolver ¶
type SQLLoggingResolver struct {
// contains filtered or unexported fields
}
func NewSQLLogging ¶
func NewSQLLogging(enabled bool) *SQLLoggingResolver
func (*SQLLoggingResolver) Enabled ¶
func (r *SQLLoggingResolver) Enabled() bool
type SetGlobalLogLevelPayloadResolver ¶
type SetGlobalLogLevelPayloadResolver struct {
// contains filtered or unexported fields
}
func NewSetGlobalLogLevelPayload ¶
func NewSetGlobalLogLevelPayload(lvl LogLevel, inputErrs map[string]string) *SetGlobalLogLevelPayloadResolver
func (*SetGlobalLogLevelPayloadResolver) ToInputErrors ¶
func (r *SetGlobalLogLevelPayloadResolver) ToInputErrors() (*InputErrorsResolver, bool)
func (*SetGlobalLogLevelPayloadResolver) ToSetGlobalLogLevelSuccess ¶
func (r *SetGlobalLogLevelPayloadResolver) ToSetGlobalLogLevelSuccess() (*SetGlobalLogLevelSuccessResolver, bool)
type SetGlobalLogLevelSuccessResolver ¶
type SetGlobalLogLevelSuccessResolver struct {
// contains filtered or unexported fields
}
func NewSetGlobalLogLevelSuccess ¶
func NewSetGlobalLogLevelSuccess(lvl LogLevel) *SetGlobalLogLevelSuccessResolver
func (*SetGlobalLogLevelSuccessResolver) GlobalLogLevel ¶
func (r *SetGlobalLogLevelSuccessResolver) GlobalLogLevel() *GlobalLogLevelResolver
type SetSQLLoggingPayloadResolver ¶
type SetSQLLoggingPayloadResolver struct {
// contains filtered or unexported fields
}
func NewSetSQLLoggingPayload ¶
func NewSetSQLLoggingPayload(enabled bool) *SetSQLLoggingPayloadResolver
func (*SetSQLLoggingPayloadResolver) ToSetSQLLoggingSuccess ¶
func (r *SetSQLLoggingPayloadResolver) ToSetSQLLoggingSuccess() (*SetSQLLoggingSuccessResolver, bool)
type SetSQLLoggingSuccessResolver ¶
type SetSQLLoggingSuccessResolver struct {
// contains filtered or unexported fields
}
func NewSetSQLLoggingSuccess ¶
func NewSetSQLLoggingSuccess(enabled bool) *SetSQLLoggingSuccessResolver
func (*SetSQLLoggingSuccessResolver) SQLLogging ¶
func (r *SetSQLLoggingSuccessResolver) SQLLogging() *SQLLoggingResolver
type SpecResolver ¶
type SpecResolver struct {
// contains filtered or unexported fields
}
func NewSpec ¶
func NewSpec(j job.Job) *SpecResolver
func (*SpecResolver) ToBlockhashStoreSpec ¶
func (r *SpecResolver) ToBlockhashStoreSpec() (*BlockhashStoreSpecResolver, bool)
ToBlockhashStoreSpec returns the BlockhashStoreSpec from the SpecResolver if the job is a BlockhashStore job.
func (*SpecResolver) ToGatewaySpec ¶
func (r *SpecResolver) ToGatewaySpec() (*GatewaySpecResolver, bool)
func (*SpecResolver) ToVRFSpec ¶
func (r *SpecResolver) ToVRFSpec() (*VRFSpecResolver, bool)
func (*SpecResolver) ToWebhookSpec ¶
func (r *SpecResolver) ToWebhookSpec() (*WebhookSpecResolver, bool)
type TaskRunResolver ¶
type TaskRunResolver struct {
// contains filtered or unexported fields
}
func NewTaskRun ¶
func NewTaskRun(tr pipeline.TaskRun) *TaskRunResolver
func NewTaskRuns ¶
func NewTaskRuns(runs []pipeline.TaskRun) []*TaskRunResolver
func (*TaskRunResolver) CreatedAt ¶
func (r *TaskRunResolver) CreatedAt() graphql.Time
func (*TaskRunResolver) DotID ¶
func (r *TaskRunResolver) DotID() string
func (*TaskRunResolver) Error ¶
func (r *TaskRunResolver) Error() *string
func (*TaskRunResolver) FinishedAt ¶
func (r *TaskRunResolver) FinishedAt() *graphql.Time
func (*TaskRunResolver) ID ¶
func (r *TaskRunResolver) ID() graphql.ID
func (*TaskRunResolver) Output ¶
func (r *TaskRunResolver) Output() string
func (*TaskRunResolver) Type ¶
func (r *TaskRunResolver) Type() string
type UpdateBridgePayloadResolver ¶
type UpdateBridgePayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewUpdateBridgePayload ¶
func NewUpdateBridgePayload(bridge *bridges.BridgeType, err error) *UpdateBridgePayloadResolver
func (*UpdateBridgePayloadResolver) ToUpdateBridgeSuccess ¶
func (r *UpdateBridgePayloadResolver) ToUpdateBridgeSuccess() (*UpdateBridgeSuccessResolver, bool)
type UpdateBridgeSuccessResolver ¶
type UpdateBridgeSuccessResolver struct {
// contains filtered or unexported fields
}
UpdateBridgePayloadResolver resolves
func NewUpdateBridgeSuccess ¶
func NewUpdateBridgeSuccess(bridge bridges.BridgeType) *UpdateBridgeSuccessResolver
func (*UpdateBridgeSuccessResolver) Bridge ¶
func (r *UpdateBridgeSuccessResolver) Bridge() *BridgeResolver
Bridge resolves the success payload's bridge.
type UpdatePasswordInput ¶
type UpdatePasswordPayloadResolver ¶
type UpdatePasswordPayloadResolver struct {
// contains filtered or unexported fields
}
UpdatePasswordPayloadResolver resolves the payload type
func NewUpdatePasswordPayload ¶
func NewUpdatePasswordPayload(user *sessions.User, inputErrs map[string]string) *UpdatePasswordPayloadResolver
func (*UpdatePasswordPayloadResolver) ToInputErrors ¶
func (r *UpdatePasswordPayloadResolver) ToInputErrors() (*InputErrorsResolver, bool)
func (*UpdatePasswordPayloadResolver) ToUpdatePasswordSuccess ¶
func (r *UpdatePasswordPayloadResolver) ToUpdatePasswordSuccess() (*UpdatePasswordSuccessResolver, bool)
type UpdatePasswordSuccessResolver ¶
type UpdatePasswordSuccessResolver struct {
// contains filtered or unexported fields
}
func NewUpdatePasswordSuccess ¶
func NewUpdatePasswordSuccess(user *sessions.User) *UpdatePasswordSuccessResolver
func (*UpdatePasswordSuccessResolver) User ¶
func (r *UpdatePasswordSuccessResolver) User() *UserResolver
type UserResolver ¶
type UserResolver struct {
// contains filtered or unexported fields
}
UserResolver resolves the User type
func NewUser ¶
func NewUser(user *sessions.User) *UserResolver
func (*UserResolver) CreatedAt ¶
func (r *UserResolver) CreatedAt() graphql.Time
CreatedAt resolves the user's creation date
type VRFKeyPayloadResolver ¶
type VRFKeyPayloadResolver struct { NotFoundErrorUnionType // contains filtered or unexported fields }
func NewVRFKeyPayloadResolver ¶
func NewVRFKeyPayloadResolver(key vrfkey.KeyV2, err error) *VRFKeyPayloadResolver
func (*VRFKeyPayloadResolver) ToVRFKeySuccess ¶
func (r *VRFKeyPayloadResolver) ToVRFKeySuccess() (*VRFKeySuccessResolver, bool)
type VRFKeyResolver ¶
type VRFKeyResolver struct {
// contains filtered or unexported fields
}
func NewVRFKeyResolver ¶
func NewVRFKeyResolver(key vrfkey.KeyV2) VRFKeyResolver
func (VRFKeyResolver) Compressed ¶
func (k VRFKeyResolver) Compressed() string
Compressed returns the compressed version of the public key.
func (VRFKeyResolver) Hash ¶
func (k VRFKeyResolver) Hash() string
Hash returns the hash of the VRF public key.
func (VRFKeyResolver) ID ¶
func (k VRFKeyResolver) ID() graphql.ID
ID returns the ID of the VRF key, which is the public key.
func (VRFKeyResolver) Uncompressed ¶
func (k VRFKeyResolver) Uncompressed() string
type VRFKeySuccessResolver ¶
type VRFKeySuccessResolver struct {
// contains filtered or unexported fields
}
func NewVRFKeySuccessResolver ¶
func NewVRFKeySuccessResolver(key vrfkey.KeyV2) *VRFKeySuccessResolver
func (*VRFKeySuccessResolver) Key ¶
func (r *VRFKeySuccessResolver) Key() VRFKeyResolver
type VRFKeysPayloadResolver ¶
type VRFKeysPayloadResolver struct {
// contains filtered or unexported fields
}
func NewVRFKeysPayloadResolver ¶
func NewVRFKeysPayloadResolver(keys []vrfkey.KeyV2) *VRFKeysPayloadResolver
func (*VRFKeysPayloadResolver) Results ¶
func (r *VRFKeysPayloadResolver) Results() []VRFKeyResolver
type VRFSpecResolver ¶
type VRFSpecResolver struct {
// contains filtered or unexported fields
}
func (*VRFSpecResolver) BackoffInitialDelay ¶
func (r *VRFSpecResolver) BackoffInitialDelay() string
BackoffInitialDelay resolves the spec's backoff initial delay.
func (*VRFSpecResolver) BackoffMaxDelay ¶
func (r *VRFSpecResolver) BackoffMaxDelay() string
BackoffMaxDelay resolves the spec's backoff max delay.
func (*VRFSpecResolver) BatchCoordinatorAddress ¶
func (r *VRFSpecResolver) BatchCoordinatorAddress() *string
BatchCoordinatorAddress resolves the spec's batch coordinator address.
func (*VRFSpecResolver) BatchFulfillmentEnabled ¶
func (r *VRFSpecResolver) BatchFulfillmentEnabled() bool
BatchFulfillmentEnabled resolves the spec's batch fulfillment enabled flag.
func (*VRFSpecResolver) BatchFulfillmentGasMultiplier ¶
func (r *VRFSpecResolver) BatchFulfillmentGasMultiplier() float64
BatchFulfillmentGasMultiplier resolves the spec's batch fulfillment gas multiplier.
func (*VRFSpecResolver) ChunkSize ¶
func (r *VRFSpecResolver) ChunkSize() int32
ChunkSize resolves the spec's chunk size.
func (*VRFSpecResolver) CoordinatorAddress ¶
func (r *VRFSpecResolver) CoordinatorAddress() string
CoordinatorAddress resolves the spec's coordinator address.
func (*VRFSpecResolver) CreatedAt ¶
func (r *VRFSpecResolver) CreatedAt() graphql.Time
CreatedAt resolves the spec's created at timestamp.
func (*VRFSpecResolver) CustomRevertsPipelineEnabled ¶
func (r *VRFSpecResolver) CustomRevertsPipelineEnabled() *bool
CustomRevertsPipelineEnabled resolves the spec's custom reverts pipeline enabled flag.
func (*VRFSpecResolver) EVMChainID ¶
func (r *VRFSpecResolver) EVMChainID() *string
EVMChainID resolves the spec's evm chain id.
func (*VRFSpecResolver) FromAddresses ¶
func (r *VRFSpecResolver) FromAddresses() *[]string
FromAddresses resolves the spec's from addresses.
func (*VRFSpecResolver) GasLanePrice ¶
func (r *VRFSpecResolver) GasLanePrice() *string
GasLanePrice resolves the spec's gas lane price.
func (*VRFSpecResolver) MinIncomingConfirmations ¶
func (r *VRFSpecResolver) MinIncomingConfirmations() int32
MinIncomingConfirmations resolves the spec's min incoming confirmations.
func (*VRFSpecResolver) PollPeriod ¶
func (r *VRFSpecResolver) PollPeriod() string
PollPeriod resolves the spec's poll period.
func (*VRFSpecResolver) PublicKey ¶
func (r *VRFSpecResolver) PublicKey() string
PublicKey resolves the spec's public key.
func (*VRFSpecResolver) RequestTimeout ¶
func (r *VRFSpecResolver) RequestTimeout() string
RequestTimeout resolves the spec's request timeout.
func (*VRFSpecResolver) RequestedConfsDelay ¶
func (r *VRFSpecResolver) RequestedConfsDelay() int32
RequestedConfsDelay resolves the spec's requested conf delay.
func (*VRFSpecResolver) VRFOwnerAddress ¶
func (r *VRFSpecResolver) VRFOwnerAddress() *string
VRFOwnerAddress resolves the spec's vrf owner address.
type WebhookSpecResolver ¶
type WebhookSpecResolver struct {
// contains filtered or unexported fields
}
func (*WebhookSpecResolver) CreatedAt ¶
func (r *WebhookSpecResolver) CreatedAt() graphql.Time
CreatedAt resolves the spec's created at timestamp.