Documentation ¶
Index ¶
- type Artefact
- type AsyncCall
- type AsyncCallState
- type ConnI
- type Controller
- type ControllerState
- type CronJob
- type CronJobState
- type DB
- type DBI
- type DBTX
- type Deployment
- type DeploymentArtefact
- type Event
- type EventType
- type FsmInstance
- type FsmStatus
- type IngressRoute
- type Lease
- type Module
- type ModuleConfiguration
- type ModuleSecret
- type NullAsyncCallState
- type NullControllerState
- type NullCronJobState
- type NullEventType
- type NullFsmStatus
- type NullOrigin
- type NullRunnerState
- type NullTopicSubscriptionState
- type Origin
- type Querier
- type Queries
- func (q *Queries) GetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) ([]byte, error)
- func (q *Queries) GetModuleSecretURL(ctx context.Context, module optional.Option[string], name string) (string, error)
- func (q *Queries) ListModuleConfiguration(ctx context.Context) ([]ModuleConfiguration, error)
- func (q *Queries) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error)
- func (q *Queries) SetModuleConfiguration(ctx context.Context, module optional.Option[string], name string, value []byte) error
- func (q *Queries) SetModuleSecretURL(ctx context.Context, module optional.Option[string], name string, url string) error
- func (q *Queries) UnsetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) error
- func (q *Queries) UnsetModuleSecret(ctx context.Context, module optional.Option[string], name string) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Request
- type Runner
- type RunnerState
- 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 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 CronJobState ¶
type CronJobState string
const ( CronJobStateIdle CronJobState = "idle" CronJobStateExecuting CronJobState = "executing" )
func (*CronJobState) Scan ¶
func (e *CronJobState) Scan(src interface{}) error
type Deployment ¶
type DeploymentArtefact ¶
type FsmInstance ¶
type IngressRoute ¶
type ModuleConfiguration ¶
type ModuleSecret ¶ added in v0.276.5
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 NullCronJobState ¶
type NullCronJobState struct { CronJobState CronJobState Valid bool // Valid is true if CronJobState is not NULL }
func (*NullCronJobState) Scan ¶
func (ns *NullCronJobState) 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 { GetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) ([]byte, error) GetModuleSecretURL(ctx context.Context, module optional.Option[string], name string) (string, error) ListModuleConfiguration(ctx context.Context) ([]ModuleConfiguration, error) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error) SetModuleConfiguration(ctx context.Context, module optional.Option[string], name string, value []byte) error SetModuleSecretURL(ctx context.Context, module optional.Option[string], name string, url string) error UnsetModuleConfiguration(ctx context.Context, module optional.Option[string], name string) error UnsetModuleSecret(ctx context.Context, module optional.Option[string], name string) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetModuleConfiguration ¶
func (*Queries) GetModuleSecretURL ¶ added in v0.276.5
func (*Queries) ListModuleConfiguration ¶
func (q *Queries) ListModuleConfiguration(ctx context.Context) ([]ModuleConfiguration, error)
func (*Queries) ListModuleSecrets ¶ added in v0.276.5
func (q *Queries) ListModuleSecrets(ctx context.Context) ([]ModuleSecret, error)
func (*Queries) SetModuleConfiguration ¶
func (*Queries) SetModuleSecretURL ¶ added in v0.276.5
func (*Queries) UnsetModuleConfiguration ¶
func (*Queries) UnsetModuleSecret ¶ added in v0.276.5
type Request ¶
type Request struct { ID int64 Origin Origin Key model.RequestKey SourceAddr string }
type RunnerState ¶
type RunnerState string
const ( RunnerStateIdle RunnerState = "idle" RunnerStateReserved RunnerState = "reserved" RunnerStateAssigned RunnerState = "assigned" RunnerStateDead RunnerState = "dead" )
func (*RunnerState) Scan ¶
func (e *RunnerState) Scan(src interface{}) error
type TopicEvent ¶
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.