Documentation
¶
Index ¶
- Constants
- Variables
- func LifecycleDatlyType() reflect.Type
- func WriterDatlyType() reflect.Type
- func WriterHandlerCurrentWriterIndexByActivationSourceKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByActorIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByAdoptionSourceKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByBuilderRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByCompletedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByConversationIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByFailureCodeKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByFailureTextKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByMaterializerKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByOriginKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByOwnerIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByPresetIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByReportRunIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByRevisionKey(value *CurrentWriterView) (int64, bool)
- func WriterHandlerCurrentWriterIndexBySourceIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexBySourceKindKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByStartedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByStatusKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByUiRunRequestIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)
- type CurrentWriterView
- type Input
- func (input *Input) PrepareReadIndexes(ctx context.Context) error
- func (input *Input) ReadIndexes(ctx context.Context) (*WriterHandlerReadIndexes, error)
- func (input *Input) SetCurrentWriter(value []*CurrentWriterView)
- func (input *Input) SetDesiredRevision(value int64)
- func (input *Input) SetExpectedRequestID(value string)
- func (input *Input) SetInternal(value bool)
- func (input *Input) SetMode(value string)
- func (input *Input) SetOrphanColumn(value string)
- func (input *Input) SetOrphanDetach(value bool)
- func (input *Input) SetOwnerSubject(value *string)
- func (input *Input) SetRuns(value []*Run)
- func (input *Input) SetWriterKeys(value []WriterKeysRow)
- type InputHas
- type Lifecycle
- func (hooks *Lifecycle) AfterQueue(ctx context.Context, entity *Run, ...) error
- func (hooks *Lifecycle) AfterSequence(ctx context.Context, entity *Run, ...) error
- func (hooks *Lifecycle) Finalize(ctx context.Context, input *Input, output *Output, outcome xhandler.Outcome) error
- func (hooks *Lifecycle) Init(ctx context.Context, entity *Run, ...) error
- func (hooks *Lifecycle) Validate(ctx context.Context, entity *Run, ...) error
- type Output
- type Run
- func (entity *Run) GetActivationSource() *string
- func (entity *Run) GetActorId() *string
- func (entity *Run) GetAdoptionSource() *string
- func (entity *Run) GetBuilderRef() *string
- func (entity *Run) GetCompletedAt() *time.Time
- func (entity *Run) GetConversationId() *string
- func (entity *Run) GetCreatedAt() time.Time
- func (entity *Run) GetEffectiveParamsJson() []byte
- func (entity *Run) GetFailureCode() *string
- func (entity *Run) GetFailureText() *string
- func (entity *Run) GetMaterializer() string
- func (entity *Run) GetOrigin() *string
- func (entity *Run) GetOwnerId() string
- func (entity *Run) GetPresetId() *string
- func (entity *Run) GetReportFillJson() []byte
- func (entity *Run) GetReportPrintJson() []byte
- func (entity *Run) GetReportRunId() string
- func (entity *Run) GetReportSpecJson() []byte
- func (entity *Run) GetRequestedParamsJson() []byte
- func (entity *Run) GetRevision() int64
- func (entity *Run) GetShouldDelete() bool
- func (entity *Run) GetSourceId() *string
- func (entity *Run) GetSourceKind() *string
- func (entity *Run) GetStartedAt() time.Time
- func (entity *Run) GetStatus() string
- func (entity *Run) GetUiRunRequestId() string
- func (entity *Run) GetUpdatedAt() time.Time
- func (entity *Run) SetActivationSource(value *string)
- func (entity *Run) SetActorId(value *string)
- func (entity *Run) SetAdoptionSource(value *string)
- func (entity *Run) SetBuilderRef(value *string)
- func (entity *Run) SetCompletedAt(value *time.Time)
- func (entity *Run) SetConversationId(value *string)
- func (entity *Run) SetCreatedAt(value time.Time)
- func (entity *Run) SetEffectiveParamsJson(value []byte)
- func (entity *Run) SetFailureCode(value *string)
- func (entity *Run) SetFailureText(value *string)
- func (entity *Run) SetMaterializer(value string)
- func (entity *Run) SetOrigin(value *string)
- func (entity *Run) SetOwnerId(value string)
- func (entity *Run) SetPresetId(value *string)
- func (entity *Run) SetReportFillJson(value []byte)
- func (entity *Run) SetReportPrintJson(value []byte)
- func (entity *Run) SetReportRunId(value string)
- func (entity *Run) SetReportSpecJson(value []byte)
- func (entity *Run) SetRequestedParamsJson(value []byte)
- func (entity *Run) SetRevision(value int64)
- func (entity *Run) SetShouldDelete(value bool)
- func (entity *Run) SetSourceId(value *string)
- func (entity *Run) SetSourceKind(value *string)
- func (entity *Run) SetStartedAt(value time.Time)
- func (entity *Run) SetStatus(value string)
- func (entity *Run) SetUiRunRequestId(value string)
- func (entity *Run) SetUpdatedAt(value time.Time)
- type RunHas
- type WriterComponent
- type WriterHandlerCurrentWriterGroupedByActivationSource
- type WriterHandlerCurrentWriterGroupedByActorId
- type WriterHandlerCurrentWriterGroupedByAdoptionSource
- type WriterHandlerCurrentWriterGroupedByBuilderRef
- type WriterHandlerCurrentWriterGroupedByCompletedAt
- type WriterHandlerCurrentWriterGroupedByConversationId
- type WriterHandlerCurrentWriterGroupedByCreatedAt
- type WriterHandlerCurrentWriterGroupedByFailureCode
- type WriterHandlerCurrentWriterGroupedByFailureText
- type WriterHandlerCurrentWriterGroupedByMaterializer
- type WriterHandlerCurrentWriterGroupedByOrigin
- type WriterHandlerCurrentWriterGroupedByOwnerId
- type WriterHandlerCurrentWriterGroupedByPresetId
- type WriterHandlerCurrentWriterGroupedByReportRunId
- type WriterHandlerCurrentWriterGroupedByRevision
- type WriterHandlerCurrentWriterGroupedBySourceId
- type WriterHandlerCurrentWriterGroupedBySourceKind
- type WriterHandlerCurrentWriterGroupedByStartedAt
- type WriterHandlerCurrentWriterGroupedByStatus
- type WriterHandlerCurrentWriterGroupedByUiRunRequestId
- type WriterHandlerCurrentWriterGroupedByUpdatedAt
- type WriterHandlerCurrentWriterIndexedByActivationSource
- type WriterHandlerCurrentWriterIndexedByActorId
- type WriterHandlerCurrentWriterIndexedByAdoptionSource
- type WriterHandlerCurrentWriterIndexedByBuilderRef
- type WriterHandlerCurrentWriterIndexedByCompletedAt
- type WriterHandlerCurrentWriterIndexedByConversationId
- type WriterHandlerCurrentWriterIndexedByCreatedAt
- type WriterHandlerCurrentWriterIndexedByFailureCode
- type WriterHandlerCurrentWriterIndexedByFailureText
- type WriterHandlerCurrentWriterIndexedByMaterializer
- type WriterHandlerCurrentWriterIndexedByOrigin
- type WriterHandlerCurrentWriterIndexedByOwnerId
- type WriterHandlerCurrentWriterIndexedByPresetId
- type WriterHandlerCurrentWriterIndexedByReportRunId
- type WriterHandlerCurrentWriterIndexedByRevision
- type WriterHandlerCurrentWriterIndexedBySourceId
- type WriterHandlerCurrentWriterIndexedBySourceKind
- type WriterHandlerCurrentWriterIndexedByStartedAt
- type WriterHandlerCurrentWriterIndexedByStatus
- type WriterHandlerCurrentWriterIndexedByUiRunRequestId
- type WriterHandlerCurrentWriterIndexedByUpdatedAt
- type WriterHandlerCurrentWriterSlice
- func (rows WriterHandlerCurrentWriterSlice) GroupByActivationSource() WriterHandlerCurrentWriterGroupedByActivationSource
- func (rows WriterHandlerCurrentWriterSlice) GroupByActorId() WriterHandlerCurrentWriterGroupedByActorId
- func (rows WriterHandlerCurrentWriterSlice) GroupByAdoptionSource() WriterHandlerCurrentWriterGroupedByAdoptionSource
- func (rows WriterHandlerCurrentWriterSlice) GroupByBuilderRef() WriterHandlerCurrentWriterGroupedByBuilderRef
- func (rows WriterHandlerCurrentWriterSlice) GroupByCompletedAt() WriterHandlerCurrentWriterGroupedByCompletedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByConversationId() WriterHandlerCurrentWriterGroupedByConversationId
- func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByFailureCode() WriterHandlerCurrentWriterGroupedByFailureCode
- func (rows WriterHandlerCurrentWriterSlice) GroupByFailureText() WriterHandlerCurrentWriterGroupedByFailureText
- func (rows WriterHandlerCurrentWriterSlice) GroupByMaterializer() WriterHandlerCurrentWriterGroupedByMaterializer
- func (rows WriterHandlerCurrentWriterSlice) GroupByOrigin() WriterHandlerCurrentWriterGroupedByOrigin
- func (rows WriterHandlerCurrentWriterSlice) GroupByOwnerId() WriterHandlerCurrentWriterGroupedByOwnerId
- func (rows WriterHandlerCurrentWriterSlice) GroupByPresetId() WriterHandlerCurrentWriterGroupedByPresetId
- func (rows WriterHandlerCurrentWriterSlice) GroupByReportRunId() WriterHandlerCurrentWriterGroupedByReportRunId
- func (rows WriterHandlerCurrentWriterSlice) GroupByRevision() WriterHandlerCurrentWriterGroupedByRevision
- func (rows WriterHandlerCurrentWriterSlice) GroupBySourceId() WriterHandlerCurrentWriterGroupedBySourceId
- func (rows WriterHandlerCurrentWriterSlice) GroupBySourceKind() WriterHandlerCurrentWriterGroupedBySourceKind
- func (rows WriterHandlerCurrentWriterSlice) GroupByStartedAt() WriterHandlerCurrentWriterGroupedByStartedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByStatus() WriterHandlerCurrentWriterGroupedByStatus
- func (rows WriterHandlerCurrentWriterSlice) GroupByUiRunRequestId() WriterHandlerCurrentWriterGroupedByUiRunRequestId
- func (rows WriterHandlerCurrentWriterSlice) GroupByUpdatedAt() WriterHandlerCurrentWriterGroupedByUpdatedAt
- func (rows WriterHandlerCurrentWriterSlice) IndexByActivationSource() (WriterHandlerCurrentWriterIndexedByActivationSource, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByActorId() (WriterHandlerCurrentWriterIndexedByActorId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByAdoptionSource() (WriterHandlerCurrentWriterIndexedByAdoptionSource, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByBuilderRef() (WriterHandlerCurrentWriterIndexedByBuilderRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByCompletedAt() (WriterHandlerCurrentWriterIndexedByCompletedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByConversationId() (WriterHandlerCurrentWriterIndexedByConversationId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByFailureCode() (WriterHandlerCurrentWriterIndexedByFailureCode, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByFailureText() (WriterHandlerCurrentWriterIndexedByFailureText, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByMaterializer() (WriterHandlerCurrentWriterIndexedByMaterializer, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByOrigin() (WriterHandlerCurrentWriterIndexedByOrigin, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByOwnerId() (WriterHandlerCurrentWriterIndexedByOwnerId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByPresetId() (WriterHandlerCurrentWriterIndexedByPresetId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByReportRunId() (WriterHandlerCurrentWriterIndexedByReportRunId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByRevision() (WriterHandlerCurrentWriterIndexedByRevision, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySourceId() (WriterHandlerCurrentWriterIndexedBySourceId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySourceKind() (WriterHandlerCurrentWriterIndexedBySourceKind, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByStartedAt() (WriterHandlerCurrentWriterIndexedByStartedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByStatus() (WriterHandlerCurrentWriterIndexedByStatus, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUiRunRequestId() (WriterHandlerCurrentWriterIndexedByUiRunRequestId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUpdatedAt() (WriterHandlerCurrentWriterIndexedByUpdatedAt, error)
- type WriterHandlerReadIndexes
- type WriterKeysRow
Constants ¶
View Source
const WriterDatlyResourceNamespace = "reporting_run_write_writer"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var ( ErrAlreadyExists = errors.New("report run already exists") ErrNotFound = errors.New("report run not found") ErrCASMismatch = errors.New("report run revision mismatch") ErrImmutable = errors.New("completed report run is immutable") ErrOwnerDenied = errors.New("report run owner denied") )
View Source
var ( LifecycleHooks = new(Lifecycle) LifecycleDatly = LifecycleDatlyType() )
View Source
var WriterDatly = new(WriterComponent)
The public value supports explicit component wiring.
View Source
var WriterDatlyResources embed.FS
Functions ¶
func LifecycleDatlyType ¶
func WriterDatlyType ¶
WriterDatlyType returns the public component type.
func WriterHandlerCurrentWriterIndexByActivationSourceKey ¶
func WriterHandlerCurrentWriterIndexByActivationSourceKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByActorIdKey ¶
func WriterHandlerCurrentWriterIndexByActorIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByAdoptionSourceKey ¶
func WriterHandlerCurrentWriterIndexByAdoptionSourceKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByBuilderRefKey ¶
func WriterHandlerCurrentWriterIndexByBuilderRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByCompletedAtKey ¶
func WriterHandlerCurrentWriterIndexByCompletedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByConversationIdKey ¶
func WriterHandlerCurrentWriterIndexByConversationIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByCreatedAtKey ¶
func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByFailureCodeKey ¶
func WriterHandlerCurrentWriterIndexByFailureCodeKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByFailureTextKey ¶
func WriterHandlerCurrentWriterIndexByFailureTextKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByMaterializerKey ¶
func WriterHandlerCurrentWriterIndexByMaterializerKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByOriginKey ¶
func WriterHandlerCurrentWriterIndexByOriginKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByOwnerIdKey ¶
func WriterHandlerCurrentWriterIndexByOwnerIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByPresetIdKey ¶
func WriterHandlerCurrentWriterIndexByPresetIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByReportRunIdKey ¶
func WriterHandlerCurrentWriterIndexByReportRunIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByRevisionKey ¶
func WriterHandlerCurrentWriterIndexByRevisionKey(value *CurrentWriterView) (int64, bool)
func WriterHandlerCurrentWriterIndexBySourceIdKey ¶
func WriterHandlerCurrentWriterIndexBySourceIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexBySourceKindKey ¶
func WriterHandlerCurrentWriterIndexBySourceKindKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByStartedAtKey ¶
func WriterHandlerCurrentWriterIndexByStartedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByStatusKey ¶
func WriterHandlerCurrentWriterIndexByStatusKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByUiRunRequestIdKey ¶
func WriterHandlerCurrentWriterIndexByUiRunRequestIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByUpdatedAtKey ¶
func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)
Types ¶
type CurrentWriterView ¶
type CurrentWriterView struct {
Revision int64 `sqlx:"revision,required=true" json:"revision,omitempty"`
ReportRunId string `sqlx:"report_run_id,primaryKey=true,required=true" json:"reportRunId,omitempty"`
OwnerId string `sqlx:"owner_id,required=true" json:"ownerId,omitempty"`
Materializer string `sqlx:"materializer,required=true" json:"materializer,omitempty"`
RequestedParamsJson []byte `sqlx:"requested_params_json" json:"requestedParamsJson,omitempty"`
EffectiveParamsJson []byte `sqlx:"effective_params_json" json:"effectiveParamsJson,omitempty"`
Status string `sqlx:"status,required=true" json:"status,omitempty"`
StartedAt time.Time `sqlx:"started_at,required=true" json:"startedAt,omitempty"`
UiRunRequestId string `sqlx:"ui_run_request_id,required=true" json:"uiRunRequestId,omitempty"`
ReportSpecJson []byte `sqlx:"report_spec_json" json:"reportSpecJson,omitempty"`
ReportFillJson []byte `sqlx:"report_fill_json" json:"reportFillJson,omitempty"`
ReportPrintJson []byte `sqlx:"report_print_json" json:"reportPrintJson,omitempty"`
CreatedAt time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
UpdatedAt time.Time `sqlx:"updated_at,required=true" json:"updatedAt,omitempty"`
ConversationId *string `sqlx:"conversation_id,refTable=conversation,refColumn=id" json:"conversationId,omitempty"`
Origin *string `sqlx:"origin" json:"origin,omitempty"`
BuilderRef *string `sqlx:"builder_ref" json:"builderRef,omitempty"`
PresetId *string `sqlx:"preset_id" json:"presetId,omitempty"`
SourceKind *string `sqlx:"source_kind" json:"sourceKind,omitempty"`
SourceId *string `sqlx:"source_id" json:"sourceId,omitempty"`
FailureCode *string `sqlx:"failure_code" json:"failureCode,omitempty"`
FailureText *string `sqlx:"failure_text" json:"failureText,omitempty"`
CompletedAt *time.Time `sqlx:"completed_at" json:"completedAt,omitempty"`
ActivationSource *string `sqlx:"activation_source" json:"activationSource,omitempty"`
AdoptionSource *string `sqlx:"adoption_source" json:"adoptionSource,omitempty"`
ActorId *string `sqlx:"actor_id" json:"actorId,omitempty"`
}
CurrentWriterView is generated canonical view metadata for writer.
type Input ¶
type Input struct {
Internal bool `parameter:"Internal,kind=reportaccess,in=internal,dataType=bool,required=true"`
OwnerSubject *string `` /* 128-byte string literal not displayed */
OrphanDetach bool `parameter:"OrphanDetach,kind=orphandetach,in=enabledDetach,dataType=bool,required=false"`
OrphanColumn string `parameter:"OrphanColumn,kind=orphandetach,in=column,dataType=string,required=false"`
Mode string `parameter:"Mode,kind=query,in=mode,dataType=string,required=true"`
DesiredRevision int64 `parameter:"DesiredRevision,kind=query,in=desiredRevision,dataType=int64,required=false"`
ExpectedRequestID string `` /* 147-byte string literal not displayed */
Runs []*Run `` /* 207-byte string literal not displayed */
WriterKeys []WriterKeysRow `` /* 128-byte string literal not displayed */
CurrentWriter []*CurrentWriterView `` /* 167-byte string literal not displayed */
Has *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
// contains filtered or unexported fields
}
Input is the generated input scaffold for writer.
func (*Input) PrepareReadIndexes ¶
func (*Input) ReadIndexes ¶
func (input *Input) ReadIndexes(ctx context.Context) (*WriterHandlerReadIndexes, error)
func (*Input) SetCurrentWriter ¶
func (input *Input) SetCurrentWriter(value []*CurrentWriterView)
func (*Input) SetDesiredRevision ¶
func (*Input) SetExpectedRequestID ¶
func (*Input) SetInternal ¶
func (*Input) SetOrphanColumn ¶
func (*Input) SetOrphanDetach ¶
func (*Input) SetOwnerSubject ¶
func (*Input) SetWriterKeys ¶
func (input *Input) SetWriterKeys(value []WriterKeysRow)
type Lifecycle ¶
type Lifecycle struct {
Input *Input `bind:"kind=input"`
}
Lifecycle customizes role Input.Runs.
func (*Lifecycle) AfterQueue ¶
func (*Lifecycle) AfterSequence ¶
type Output ¶
type Output struct {
Data []*Run `parameter:"Data,kind=output,in=body,dataType=[]*Run" json:"data"`
}
Output is the generated output scaffold for writer.
type Run ¶
type Run struct {
ShouldDelete bool `json:"shouldDelete,omitempty" sqlx:"-" writer:"delete"`
Revision int64 `writer:"concurrency" sqlx:"revision,required=true" json:"revision,omitempty"`
ReportRunId string `sqlx:"report_run_id,primaryKey=true,required=true" json:"reportRunId,omitempty"`
OwnerId string `sqlx:"owner_id,required=true" json:"ownerId,omitempty"`
Materializer string `sqlx:"materializer,required=true" json:"materializer,omitempty"`
RequestedParamsJson []byte `sqlx:"requested_params_json" json:"requestedParamsJson,omitempty"`
EffectiveParamsJson []byte `sqlx:"effective_params_json" json:"effectiveParamsJson,omitempty"`
Status string `sqlx:"status,required=true" json:"status,omitempty"`
StartedAt time.Time `sqlx:"started_at,required=true" json:"startedAt,omitempty"`
UiRunRequestId string `sqlx:"ui_run_request_id,required=true" json:"uiRunRequestId,omitempty"`
ReportSpecJson []byte `sqlx:"report_spec_json" json:"reportSpecJson,omitempty"`
ReportFillJson []byte `sqlx:"report_fill_json" json:"reportFillJson,omitempty"`
ReportPrintJson []byte `sqlx:"report_print_json" json:"reportPrintJson,omitempty"`
CreatedAt time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
UpdatedAt time.Time `sqlx:"updated_at,required=true" json:"updatedAt,omitempty"`
ConversationId *string `sqlx:"conversation_id,refTable=conversation,refColumn=id" json:"conversationId,omitempty"`
Origin *string `sqlx:"origin" json:"origin,omitempty"`
BuilderRef *string `sqlx:"builder_ref" json:"builderRef,omitempty"`
PresetId *string `sqlx:"preset_id" json:"presetId,omitempty"`
SourceKind *string `sqlx:"source_kind" json:"sourceKind,omitempty"`
SourceId *string `sqlx:"source_id" json:"sourceId,omitempty"`
FailureCode *string `sqlx:"failure_code" json:"failureCode,omitempty"`
FailureText *string `sqlx:"failure_text" json:"failureText,omitempty"`
CompletedAt *time.Time `sqlx:"completed_at" json:"completedAt,omitempty"`
ActivationSource *string `sqlx:"activation_source" json:"activationSource,omitempty"`
AdoptionSource *string `sqlx:"adoption_source" json:"adoptionSource,omitempty"`
ActorId *string `sqlx:"actor_id" json:"actorId,omitempty"`
Has *RunHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"RunHas"`
}
Run is generated canonical view metadata for writer.
func (*Run) GetActivationSource ¶
func (*Run) GetActorId ¶
func (*Run) GetAdoptionSource ¶
func (*Run) GetBuilderRef ¶
func (*Run) GetCompletedAt ¶
func (*Run) GetConversationId ¶
func (*Run) GetCreatedAt ¶
func (*Run) GetEffectiveParamsJson ¶
func (*Run) GetFailureCode ¶
func (*Run) GetFailureText ¶
func (*Run) GetMaterializer ¶
func (*Run) GetOwnerId ¶
func (*Run) GetPresetId ¶
func (*Run) GetReportFillJson ¶
func (*Run) GetReportPrintJson ¶
func (*Run) GetReportRunId ¶
func (*Run) GetReportSpecJson ¶
func (*Run) GetRequestedParamsJson ¶
func (*Run) GetRevision ¶
func (*Run) GetShouldDelete ¶
func (*Run) GetSourceId ¶
func (*Run) GetSourceKind ¶
func (*Run) GetStartedAt ¶
func (*Run) GetUiRunRequestId ¶
func (*Run) GetUpdatedAt ¶
func (*Run) SetActivationSource ¶
func (*Run) SetActorId ¶
func (*Run) SetAdoptionSource ¶
func (*Run) SetBuilderRef ¶
func (*Run) SetCompletedAt ¶
func (*Run) SetConversationId ¶
func (*Run) SetCreatedAt ¶
func (*Run) SetEffectiveParamsJson ¶
func (*Run) SetFailureCode ¶
func (*Run) SetFailureText ¶
func (*Run) SetMaterializer ¶
func (*Run) SetOwnerId ¶
func (*Run) SetPresetId ¶
func (*Run) SetReportFillJson ¶
func (*Run) SetReportPrintJson ¶
func (*Run) SetReportRunId ¶
func (*Run) SetReportSpecJson ¶
func (*Run) SetRequestedParamsJson ¶
func (*Run) SetRevision ¶
func (*Run) SetShouldDelete ¶
func (*Run) SetSourceId ¶
func (*Run) SetSourceKind ¶
func (*Run) SetStartedAt ¶
func (*Run) SetUiRunRequestId ¶
func (*Run) SetUpdatedAt ¶
type RunHas ¶
type RunHas struct {
ShouldDelete bool
Revision bool
ReportRunId bool
OwnerId bool
Materializer bool
RequestedParamsJson bool
EffectiveParamsJson bool
Status bool
StartedAt bool
UiRunRequestId bool
ReportSpecJson bool
ReportFillJson bool
ReportPrintJson bool
CreatedAt bool
UpdatedAt bool
ConversationId bool
Origin bool
BuilderRef bool
PresetId bool
SourceKind bool
SourceId bool
FailureCode bool
FailureText bool
CompletedAt bool
ActivationSource bool
AdoptionSource bool
ActorId bool
}
type WriterComponent ¶
type WriterComponent struct {
Contract xdatly.Component[Input, Output] "" /* 173-byte string literal not displayed */
}
Component is the generated component scaffold for writer.
func (WriterComponent) EmbedFS ¶
func (WriterComponent) EmbedFS() *embed.FS
func (WriterComponent) EmbedNamespace ¶
func (WriterComponent) EmbedNamespace() string
type WriterHandlerCurrentWriterGroupedByActivationSource ¶
type WriterHandlerCurrentWriterGroupedByActivationSource map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByActivationSource) Has ¶
func (index WriterHandlerCurrentWriterGroupedByActivationSource) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByActorId ¶
type WriterHandlerCurrentWriterGroupedByActorId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByActorId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByActorId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByAdoptionSource ¶
type WriterHandlerCurrentWriterGroupedByAdoptionSource map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByAdoptionSource) Has ¶
func (index WriterHandlerCurrentWriterGroupedByAdoptionSource) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByBuilderRef ¶
type WriterHandlerCurrentWriterGroupedByBuilderRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByBuilderRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByBuilderRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByCompletedAt ¶
type WriterHandlerCurrentWriterGroupedByCompletedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByConversationId ¶
type WriterHandlerCurrentWriterGroupedByConversationId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByConversationId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByConversationId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByCreatedAt ¶
type WriterHandlerCurrentWriterGroupedByCreatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByFailureCode ¶
type WriterHandlerCurrentWriterGroupedByFailureCode map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByFailureCode) Has ¶
func (index WriterHandlerCurrentWriterGroupedByFailureCode) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByFailureText ¶
type WriterHandlerCurrentWriterGroupedByFailureText map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByFailureText) Has ¶
func (index WriterHandlerCurrentWriterGroupedByFailureText) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByMaterializer ¶
type WriterHandlerCurrentWriterGroupedByMaterializer map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByMaterializer) Has ¶
func (index WriterHandlerCurrentWriterGroupedByMaterializer) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByOrigin ¶
type WriterHandlerCurrentWriterGroupedByOrigin map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByOrigin) Has ¶
func (index WriterHandlerCurrentWriterGroupedByOrigin) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByOwnerId ¶
type WriterHandlerCurrentWriterGroupedByOwnerId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByOwnerId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByOwnerId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByPresetId ¶
type WriterHandlerCurrentWriterGroupedByPresetId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByPresetId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByPresetId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByReportRunId ¶
type WriterHandlerCurrentWriterGroupedByReportRunId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByReportRunId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByReportRunId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByRevision ¶
type WriterHandlerCurrentWriterGroupedByRevision map[int64][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByRevision) Has ¶
func (index WriterHandlerCurrentWriterGroupedByRevision) Has(key int64) bool
type WriterHandlerCurrentWriterGroupedBySourceId ¶
type WriterHandlerCurrentWriterGroupedBySourceId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySourceId) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySourceId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedBySourceKind ¶
type WriterHandlerCurrentWriterGroupedBySourceKind map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySourceKind) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySourceKind) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByStartedAt ¶
type WriterHandlerCurrentWriterGroupedByStartedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByStatus ¶
type WriterHandlerCurrentWriterGroupedByStatus map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByStatus) Has ¶
func (index WriterHandlerCurrentWriterGroupedByStatus) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByUiRunRequestId ¶
type WriterHandlerCurrentWriterGroupedByUiRunRequestId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByUiRunRequestId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByUiRunRequestId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByUpdatedAt ¶
type WriterHandlerCurrentWriterGroupedByUpdatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByActivationSource ¶
type WriterHandlerCurrentWriterIndexedByActivationSource map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByActivationSource) Has ¶
func (index WriterHandlerCurrentWriterIndexedByActivationSource) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByActorId ¶
type WriterHandlerCurrentWriterIndexedByActorId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByActorId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByActorId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByAdoptionSource ¶
type WriterHandlerCurrentWriterIndexedByAdoptionSource map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByAdoptionSource) Has ¶
func (index WriterHandlerCurrentWriterIndexedByAdoptionSource) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByBuilderRef ¶
type WriterHandlerCurrentWriterIndexedByBuilderRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByBuilderRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByBuilderRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByCompletedAt ¶
type WriterHandlerCurrentWriterIndexedByCompletedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByConversationId ¶
type WriterHandlerCurrentWriterIndexedByConversationId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByConversationId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByConversationId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByCreatedAt ¶
type WriterHandlerCurrentWriterIndexedByCreatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByFailureCode ¶
type WriterHandlerCurrentWriterIndexedByFailureCode map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByFailureCode) Has ¶
func (index WriterHandlerCurrentWriterIndexedByFailureCode) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByFailureText ¶
type WriterHandlerCurrentWriterIndexedByFailureText map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByFailureText) Has ¶
func (index WriterHandlerCurrentWriterIndexedByFailureText) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByMaterializer ¶
type WriterHandlerCurrentWriterIndexedByMaterializer map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByMaterializer) Has ¶
func (index WriterHandlerCurrentWriterIndexedByMaterializer) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByOrigin ¶
type WriterHandlerCurrentWriterIndexedByOrigin map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByOrigin) Has ¶
func (index WriterHandlerCurrentWriterIndexedByOrigin) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByOwnerId ¶
type WriterHandlerCurrentWriterIndexedByOwnerId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByOwnerId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByOwnerId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByPresetId ¶
type WriterHandlerCurrentWriterIndexedByPresetId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByPresetId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByPresetId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByReportRunId ¶
type WriterHandlerCurrentWriterIndexedByReportRunId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByReportRunId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByReportRunId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByRevision ¶
type WriterHandlerCurrentWriterIndexedByRevision map[int64]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByRevision) Has ¶
func (index WriterHandlerCurrentWriterIndexedByRevision) Has(key int64) bool
type WriterHandlerCurrentWriterIndexedBySourceId ¶
type WriterHandlerCurrentWriterIndexedBySourceId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySourceId) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySourceId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedBySourceKind ¶
type WriterHandlerCurrentWriterIndexedBySourceKind map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySourceKind) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySourceKind) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByStartedAt ¶
type WriterHandlerCurrentWriterIndexedByStartedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByStatus ¶
type WriterHandlerCurrentWriterIndexedByStatus map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByStatus) Has ¶
func (index WriterHandlerCurrentWriterIndexedByStatus) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByUiRunRequestId ¶
type WriterHandlerCurrentWriterIndexedByUiRunRequestId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByUiRunRequestId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByUiRunRequestId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByUpdatedAt ¶
type WriterHandlerCurrentWriterIndexedByUpdatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterSlice ¶
type WriterHandlerCurrentWriterSlice []*CurrentWriterView
func (WriterHandlerCurrentWriterSlice) GroupByActivationSource ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByActivationSource() WriterHandlerCurrentWriterGroupedByActivationSource
func (WriterHandlerCurrentWriterSlice) GroupByActorId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByActorId() WriterHandlerCurrentWriterGroupedByActorId
func (WriterHandlerCurrentWriterSlice) GroupByAdoptionSource ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByAdoptionSource() WriterHandlerCurrentWriterGroupedByAdoptionSource
func (WriterHandlerCurrentWriterSlice) GroupByBuilderRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByBuilderRef() WriterHandlerCurrentWriterGroupedByBuilderRef
func (WriterHandlerCurrentWriterSlice) GroupByCompletedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByCompletedAt() WriterHandlerCurrentWriterGroupedByCompletedAt
func (WriterHandlerCurrentWriterSlice) GroupByConversationId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByConversationId() WriterHandlerCurrentWriterGroupedByConversationId
func (WriterHandlerCurrentWriterSlice) GroupByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
func (WriterHandlerCurrentWriterSlice) GroupByFailureCode ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByFailureCode() WriterHandlerCurrentWriterGroupedByFailureCode
func (WriterHandlerCurrentWriterSlice) GroupByFailureText ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByFailureText() WriterHandlerCurrentWriterGroupedByFailureText
func (WriterHandlerCurrentWriterSlice) GroupByMaterializer ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByMaterializer() WriterHandlerCurrentWriterGroupedByMaterializer
func (WriterHandlerCurrentWriterSlice) GroupByOrigin ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByOrigin() WriterHandlerCurrentWriterGroupedByOrigin
func (WriterHandlerCurrentWriterSlice) GroupByOwnerId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByOwnerId() WriterHandlerCurrentWriterGroupedByOwnerId
func (WriterHandlerCurrentWriterSlice) GroupByPresetId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByPresetId() WriterHandlerCurrentWriterGroupedByPresetId
func (WriterHandlerCurrentWriterSlice) GroupByReportRunId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByReportRunId() WriterHandlerCurrentWriterGroupedByReportRunId
func (WriterHandlerCurrentWriterSlice) GroupByRevision ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByRevision() WriterHandlerCurrentWriterGroupedByRevision
func (WriterHandlerCurrentWriterSlice) GroupBySourceId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySourceId() WriterHandlerCurrentWriterGroupedBySourceId
func (WriterHandlerCurrentWriterSlice) GroupBySourceKind ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySourceKind() WriterHandlerCurrentWriterGroupedBySourceKind
func (WriterHandlerCurrentWriterSlice) GroupByStartedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByStartedAt() WriterHandlerCurrentWriterGroupedByStartedAt
func (WriterHandlerCurrentWriterSlice) GroupByStatus ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByStatus() WriterHandlerCurrentWriterGroupedByStatus
func (WriterHandlerCurrentWriterSlice) GroupByUiRunRequestId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUiRunRequestId() WriterHandlerCurrentWriterGroupedByUiRunRequestId
func (WriterHandlerCurrentWriterSlice) GroupByUpdatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUpdatedAt() WriterHandlerCurrentWriterGroupedByUpdatedAt
func (WriterHandlerCurrentWriterSlice) IndexByActivationSource ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByActivationSource() (WriterHandlerCurrentWriterIndexedByActivationSource, error)
func (WriterHandlerCurrentWriterSlice) IndexByActorId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByActorId() (WriterHandlerCurrentWriterIndexedByActorId, error)
func (WriterHandlerCurrentWriterSlice) IndexByAdoptionSource ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByAdoptionSource() (WriterHandlerCurrentWriterIndexedByAdoptionSource, error)
func (WriterHandlerCurrentWriterSlice) IndexByBuilderRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByBuilderRef() (WriterHandlerCurrentWriterIndexedByBuilderRef, error)
func (WriterHandlerCurrentWriterSlice) IndexByCompletedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByCompletedAt() (WriterHandlerCurrentWriterIndexedByCompletedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByConversationId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByConversationId() (WriterHandlerCurrentWriterIndexedByConversationId, error)
func (WriterHandlerCurrentWriterSlice) IndexByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByFailureCode ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByFailureCode() (WriterHandlerCurrentWriterIndexedByFailureCode, error)
func (WriterHandlerCurrentWriterSlice) IndexByFailureText ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByFailureText() (WriterHandlerCurrentWriterIndexedByFailureText, error)
func (WriterHandlerCurrentWriterSlice) IndexByMaterializer ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByMaterializer() (WriterHandlerCurrentWriterIndexedByMaterializer, error)
func (WriterHandlerCurrentWriterSlice) IndexByOrigin ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByOrigin() (WriterHandlerCurrentWriterIndexedByOrigin, error)
func (WriterHandlerCurrentWriterSlice) IndexByOwnerId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByOwnerId() (WriterHandlerCurrentWriterIndexedByOwnerId, error)
func (WriterHandlerCurrentWriterSlice) IndexByPresetId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByPresetId() (WriterHandlerCurrentWriterIndexedByPresetId, error)
func (WriterHandlerCurrentWriterSlice) IndexByReportRunId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByReportRunId() (WriterHandlerCurrentWriterIndexedByReportRunId, error)
func (WriterHandlerCurrentWriterSlice) IndexByRevision ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByRevision() (WriterHandlerCurrentWriterIndexedByRevision, error)
func (WriterHandlerCurrentWriterSlice) IndexBySourceId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySourceId() (WriterHandlerCurrentWriterIndexedBySourceId, error)
func (WriterHandlerCurrentWriterSlice) IndexBySourceKind ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySourceKind() (WriterHandlerCurrentWriterIndexedBySourceKind, error)
func (WriterHandlerCurrentWriterSlice) IndexByStartedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByStartedAt() (WriterHandlerCurrentWriterIndexedByStartedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByStatus ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByStatus() (WriterHandlerCurrentWriterIndexedByStatus, error)
func (WriterHandlerCurrentWriterSlice) IndexByUiRunRequestId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUiRunRequestId() (WriterHandlerCurrentWriterIndexedByUiRunRequestId, error)
func (WriterHandlerCurrentWriterSlice) IndexByUpdatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUpdatedAt() (WriterHandlerCurrentWriterIndexedByUpdatedAt, error)
type WriterHandlerReadIndexes ¶
type WriterHandlerReadIndexes struct {
CurrentWriter WriterHandlerCurrentWriterSlice
CurrentWriterByReportRunId WriterHandlerCurrentWriterIndexedByReportRunId
}
func BuildWriterHandlerReadIndexes ¶
func BuildWriterHandlerReadIndexes(ctx context.Context, input *Input) (*WriterHandlerReadIndexes, error)
type WriterKeysRow ¶
type WriterKeysRow struct {
ReportRunId string `sqlx:"report_run_id"`
}
Click to show internal directories.
Click to hide internal directories.