Documentation ¶
Index ¶
- type Artefact
- type AsyncCall
- type AsyncCallState
- type Controller
- type ControllerState
- type CronJob
- type DBTX
- type Deployment
- type DeploymentArtefact
- type EncryptionKey
- type EventType
- type FsmInstance
- type FsmNextEvent
- type FsmStatus
- type GetOnlyEncryptionKeyRow
- type IngressRoute
- type Lease
- type Module
- type ModuleConfiguration
- type ModuleSecret
- type NullAsyncCallState
- type NullControllerState
- type NullEventType
- type NullFsmStatus
- type NullOrigin
- type NullRunnerState
- type NullTopicSubscriptionState
- type Origin
- type Querier
- type Queries
- func (q *Queries) CreateOnlyEncryptionKey(ctx context.Context, key []byte) error
- func (q *Queries) GetOnlyEncryptionKey(ctx context.Context) (GetOnlyEncryptionKeyRow, error)
- func (q *Queries) UpdateEncryptionVerification(ctx context.Context, verifyTimeline encryption.OptionalEncryptedTimelineColumn, ...) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Request
- type Runner
- type RunnerState
- type Timeline
- type Topic
- type TopicEvent
- type TopicSubscriber
- type TopicSubscription
- type TopicSubscriptionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncCall ¶
type AsyncCall struct { ID int64 CreatedAt time.Time LeaseID optional.Option[int64] Verb schema.RefKey State AsyncCallState Origin string ScheduledAt time.Time Request encryption.EncryptedAsyncColumn Response encryption.OptionalEncryptedAsyncColumn Error optional.Option[string] RemainingAttempts int32 Backoff sqltypes.Duration MaxBackoff sqltypes.Duration CatchVerb optional.Option[schema.RefKey] Catching bool ParentRequestKey optional.Option[string] TraceContext pqtype.NullRawMessage }
type AsyncCallState ¶
type AsyncCallState string
const ( AsyncCallStatePending AsyncCallState = "pending" AsyncCallStateExecuting AsyncCallState = "executing" AsyncCallStateSuccess AsyncCallState = "success" AsyncCallStateError AsyncCallState = "error" )
func (*AsyncCallState) Scan ¶
func (e *AsyncCallState) Scan(src interface{}) error
type Controller ¶
type Controller struct { ID int64 Key model.ControllerKey Created time.Time LastSeen time.Time State ControllerState Endpoint string }
type ControllerState ¶
type ControllerState string
const ( ControllerStateLive ControllerState = "live" ControllerStateDead ControllerState = "dead" )
func (*ControllerState) Scan ¶
func (e *ControllerState) Scan(src interface{}) error
type Deployment ¶
type DeploymentArtefact ¶
type EncryptionKey ¶
type EncryptionKey struct { ID int64 Key []byte CreatedAt time.Time VerifyTimeline encryption.OptionalEncryptedTimelineColumn VerifyAsync encryption.OptionalEncryptedAsyncColumn }
type FsmInstance ¶
type FsmNextEvent ¶
type FsmNextEvent struct { ID int64 CreatedAt time.Time FsmInstanceID int64 NextState schema.RefKey Request encryption.EncryptedAsyncColumn RequestType sqltypes.Type }
type GetOnlyEncryptionKeyRow ¶
type GetOnlyEncryptionKeyRow struct { Key []byte VerifyTimeline encryption.OptionalEncryptedTimelineColumn VerifyAsync encryption.OptionalEncryptedAsyncColumn }
type IngressRoute ¶
type ModuleConfiguration ¶
type ModuleSecret ¶
type NullAsyncCallState ¶
type NullAsyncCallState struct { AsyncCallState AsyncCallState Valid bool // Valid is true if AsyncCallState is not NULL }
func (*NullAsyncCallState) Scan ¶
func (ns *NullAsyncCallState) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullControllerState ¶
type NullControllerState struct { ControllerState ControllerState Valid bool // Valid is true if ControllerState is not NULL }
func (*NullControllerState) Scan ¶
func (ns *NullControllerState) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEventType ¶
type NullEventType struct { EventType EventType Valid bool // Valid is true if EventType is not NULL }
func (*NullEventType) Scan ¶
func (ns *NullEventType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullFsmStatus ¶
type NullFsmStatus struct { FsmStatus FsmStatus Valid bool // Valid is true if FsmStatus is not NULL }
func (*NullFsmStatus) Scan ¶
func (ns *NullFsmStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullOrigin ¶
func (*NullOrigin) Scan ¶
func (ns *NullOrigin) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullRunnerState ¶
type NullRunnerState struct { RunnerState RunnerState Valid bool // Valid is true if RunnerState is not NULL }
func (*NullRunnerState) Scan ¶
func (ns *NullRunnerState) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullTopicSubscriptionState ¶
type NullTopicSubscriptionState struct { TopicSubscriptionState TopicSubscriptionState Valid bool // Valid is true if TopicSubscriptionState is not NULL }
func (*NullTopicSubscriptionState) Scan ¶
func (ns *NullTopicSubscriptionState) Scan(value interface{}) error
Scan implements the Scanner interface.
type Querier ¶
type Querier interface { CreateOnlyEncryptionKey(ctx context.Context, key []byte) error GetOnlyEncryptionKey(ctx context.Context) (GetOnlyEncryptionKeyRow, error) UpdateEncryptionVerification(ctx context.Context, verifyTimeline encryption.OptionalEncryptedTimelineColumn, verifyAsync encryption.OptionalEncryptedAsyncColumn) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateOnlyEncryptionKey ¶
func (*Queries) GetOnlyEncryptionKey ¶
func (q *Queries) GetOnlyEncryptionKey(ctx context.Context) (GetOnlyEncryptionKeyRow, error)
func (*Queries) UpdateEncryptionVerification ¶
func (q *Queries) UpdateEncryptionVerification(ctx context.Context, verifyTimeline encryption.OptionalEncryptedTimelineColumn, verifyAsync encryption.OptionalEncryptedAsyncColumn) error
type Request ¶
type Request struct { ID int64 Origin Origin Key model.RequestKey SourceAddr string }
type RunnerState ¶
type RunnerState string
const ( RunnerStateNew RunnerState = "new" RunnerStateReserved RunnerState = "reserved" RunnerStateAssigned RunnerState = "assigned" RunnerStateDead RunnerState = "dead" )
func (*RunnerState) Scan ¶
func (e *RunnerState) Scan(src interface{}) error
type Timeline ¶
type Timeline struct { ID int64 TimeStamp time.Time DeploymentID int64 RequestID optional.Option[int64] Type EventType CustomKey1 optional.Option[string] CustomKey2 optional.Option[string] CustomKey3 optional.Option[string] CustomKey4 optional.Option[string] Payload encryption.EncryptedTimelineColumn ParentRequestID optional.Option[string] }
type TopicEvent ¶
type TopicEvent struct { ID int64 CreatedAt time.Time Key model.TopicEventKey TopicID int64 Payload encryption.EncryptedAsyncColumn Caller optional.Option[string] RequestKey optional.Option[string] TraceContext pqtype.NullRawMessage }
type TopicSubscriber ¶
type TopicSubscription ¶
type TopicSubscriptionState ¶
type TopicSubscriptionState string
const ( TopicSubscriptionStateIdle TopicSubscriptionState = "idle" TopicSubscriptionStateExecuting TopicSubscriptionState = "executing" )
func (*TopicSubscriptionState) Scan ¶
func (e *TopicSubscriptionState) Scan(src interface{}) error
Click to show internal directories.
Click to hide internal directories.