Documentation
¶
Index ¶
- Constants
- Variables
- func LifecycleDatlyType() reflect.Type
- func WriterDatlyType() reflect.Type
- func WriterHandlerCurrentWriterIndexByArtifactIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByArtifactRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByBaseArtifactRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByDocumentVersionKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByKindKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByLifecycleKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByOwnerIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByOwnerRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByPolicyRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByReportIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexBySourceArtifactIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByTitleKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByVersionKey(value *CurrentWriterView) (int, bool)
- type CurrentWriterView
- type Input
- func (input *Input) Init(context.Context) error
- func (input *Input) PrepareReadIndexes(ctx context.Context) error
- func (input *Input) ReadIndexes(ctx context.Context) (*WriterHandlerReadIndexes, error)
- func (input *Input) SetArtifact(value *SharedArtifact)
- func (input *Input) SetCurrentWriter(value []*CurrentWriterView)
- func (input *Input) SetInternal(value bool)
- func (input *Input) SetOwnerSubject(value *string)
- func (input *Input) SetWriteIntent(value string)
- func (input *Input) SetWriterKeys(value []WriterKeysRow)
- type InputHas
- type Lifecycle
- func (hooks *Lifecycle) AfterQueue(ctx context.Context, entity *SharedArtifact, ...) error
- func (hooks *Lifecycle) AfterSequence(ctx context.Context, entity *SharedArtifact, ...) error
- func (hooks *Lifecycle) Finalize(ctx context.Context, input *Input, output *Output, outcome xhandler.Outcome) error
- func (hooks *Lifecycle) Init(ctx context.Context, entity *SharedArtifact, ...) error
- func (hooks *Lifecycle) Validate(ctx context.Context, entity *SharedArtifact, ...) error
- type Output
- type SharedArtifact
- func (entity *SharedArtifact) GetArtifactId() string
- func (entity *SharedArtifact) GetArtifactRef() string
- func (entity *SharedArtifact) GetBaseArtifactRef() string
- func (entity *SharedArtifact) GetCompileStateJson() []byte
- func (entity *SharedArtifact) GetCreatedAt() time.Time
- func (entity *SharedArtifact) GetDocumentVersion() int
- func (entity *SharedArtifact) GetKind() string
- func (entity *SharedArtifact) GetLifecycle() string
- func (entity *SharedArtifact) GetMetadataJson() []byte
- func (entity *SharedArtifact) GetOwnerId() string
- func (entity *SharedArtifact) GetOwnerRef() string
- func (entity *SharedArtifact) GetPolicyRef() string
- func (entity *SharedArtifact) GetReportDocumentJson() []byte
- func (entity *SharedArtifact) GetReportFillJson() []byte
- func (entity *SharedArtifact) GetReportId() string
- func (entity *SharedArtifact) GetReportPrintJson() []byte
- func (entity *SharedArtifact) GetReportSpecJson() []byte
- func (entity *SharedArtifact) GetSavedViewOverlayJson() []byte
- func (entity *SharedArtifact) GetShouldDelete() bool
- func (entity *SharedArtifact) GetSourceArtifactId() string
- func (entity *SharedArtifact) GetTitle() string
- func (entity *SharedArtifact) GetUpdatedAt() *time.Time
- func (entity *SharedArtifact) GetVersion() int
- func (entity *SharedArtifact) SetArtifactId(value string)
- func (entity *SharedArtifact) SetArtifactRef(value string)
- func (entity *SharedArtifact) SetBaseArtifactRef(value string)
- func (entity *SharedArtifact) SetCompileStateJson(value []byte)
- func (entity *SharedArtifact) SetCreatedAt(value time.Time)
- func (entity *SharedArtifact) SetDocumentVersion(value int)
- func (entity *SharedArtifact) SetKind(value string)
- func (entity *SharedArtifact) SetLifecycle(value string)
- func (entity *SharedArtifact) SetMetadataJson(value []byte)
- func (entity *SharedArtifact) SetOwnerId(value string)
- func (entity *SharedArtifact) SetOwnerRef(value string)
- func (entity *SharedArtifact) SetPolicyRef(value string)
- func (entity *SharedArtifact) SetReportDocumentJson(value []byte)
- func (entity *SharedArtifact) SetReportFillJson(value []byte)
- func (entity *SharedArtifact) SetReportId(value string)
- func (entity *SharedArtifact) SetReportPrintJson(value []byte)
- func (entity *SharedArtifact) SetReportSpecJson(value []byte)
- func (entity *SharedArtifact) SetSavedViewOverlayJson(value []byte)
- func (entity *SharedArtifact) SetShouldDelete(value bool)
- func (entity *SharedArtifact) SetSourceArtifactId(value string)
- func (entity *SharedArtifact) SetTitle(value string)
- func (entity *SharedArtifact) SetUpdatedAt(value *time.Time)
- func (entity *SharedArtifact) SetVersion(value int)
- type SharedArtifactHas
- type WriterComponent
- type WriterHandlerCurrentWriterGroupedByArtifactId
- type WriterHandlerCurrentWriterGroupedByArtifactRef
- type WriterHandlerCurrentWriterGroupedByBaseArtifactRef
- type WriterHandlerCurrentWriterGroupedByCreatedAt
- type WriterHandlerCurrentWriterGroupedByDocumentVersion
- type WriterHandlerCurrentWriterGroupedByKind
- type WriterHandlerCurrentWriterGroupedByLifecycle
- type WriterHandlerCurrentWriterGroupedByOwnerId
- type WriterHandlerCurrentWriterGroupedByOwnerRef
- type WriterHandlerCurrentWriterGroupedByPolicyRef
- type WriterHandlerCurrentWriterGroupedByReportId
- type WriterHandlerCurrentWriterGroupedBySourceArtifactId
- type WriterHandlerCurrentWriterGroupedByTitle
- type WriterHandlerCurrentWriterGroupedByUpdatedAt
- type WriterHandlerCurrentWriterGroupedByVersion
- type WriterHandlerCurrentWriterIndexedByArtifactId
- type WriterHandlerCurrentWriterIndexedByArtifactRef
- type WriterHandlerCurrentWriterIndexedByBaseArtifactRef
- type WriterHandlerCurrentWriterIndexedByCreatedAt
- type WriterHandlerCurrentWriterIndexedByDocumentVersion
- type WriterHandlerCurrentWriterIndexedByKind
- type WriterHandlerCurrentWriterIndexedByLifecycle
- type WriterHandlerCurrentWriterIndexedByOwnerId
- type WriterHandlerCurrentWriterIndexedByOwnerRef
- type WriterHandlerCurrentWriterIndexedByPolicyRef
- type WriterHandlerCurrentWriterIndexedByReportId
- type WriterHandlerCurrentWriterIndexedBySourceArtifactId
- type WriterHandlerCurrentWriterIndexedByTitle
- type WriterHandlerCurrentWriterIndexedByUpdatedAt
- type WriterHandlerCurrentWriterIndexedByVersion
- type WriterHandlerCurrentWriterSlice
- func (rows WriterHandlerCurrentWriterSlice) GroupByArtifactId() WriterHandlerCurrentWriterGroupedByArtifactId
- func (rows WriterHandlerCurrentWriterSlice) GroupByArtifactRef() WriterHandlerCurrentWriterGroupedByArtifactRef
- func (rows WriterHandlerCurrentWriterSlice) GroupByBaseArtifactRef() WriterHandlerCurrentWriterGroupedByBaseArtifactRef
- func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByDocumentVersion() WriterHandlerCurrentWriterGroupedByDocumentVersion
- func (rows WriterHandlerCurrentWriterSlice) GroupByKind() WriterHandlerCurrentWriterGroupedByKind
- func (rows WriterHandlerCurrentWriterSlice) GroupByLifecycle() WriterHandlerCurrentWriterGroupedByLifecycle
- func (rows WriterHandlerCurrentWriterSlice) GroupByOwnerId() WriterHandlerCurrentWriterGroupedByOwnerId
- func (rows WriterHandlerCurrentWriterSlice) GroupByOwnerRef() WriterHandlerCurrentWriterGroupedByOwnerRef
- func (rows WriterHandlerCurrentWriterSlice) GroupByPolicyRef() WriterHandlerCurrentWriterGroupedByPolicyRef
- func (rows WriterHandlerCurrentWriterSlice) GroupByReportId() WriterHandlerCurrentWriterGroupedByReportId
- func (rows WriterHandlerCurrentWriterSlice) GroupBySourceArtifactId() WriterHandlerCurrentWriterGroupedBySourceArtifactId
- func (rows WriterHandlerCurrentWriterSlice) GroupByTitle() WriterHandlerCurrentWriterGroupedByTitle
- func (rows WriterHandlerCurrentWriterSlice) GroupByUpdatedAt() WriterHandlerCurrentWriterGroupedByUpdatedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByVersion() WriterHandlerCurrentWriterGroupedByVersion
- func (rows WriterHandlerCurrentWriterSlice) IndexByArtifactId() (WriterHandlerCurrentWriterIndexedByArtifactId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByArtifactRef() (WriterHandlerCurrentWriterIndexedByArtifactRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByBaseArtifactRef() (WriterHandlerCurrentWriterIndexedByBaseArtifactRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDocumentVersion() (WriterHandlerCurrentWriterIndexedByDocumentVersion, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByKind() (WriterHandlerCurrentWriterIndexedByKind, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByLifecycle() (WriterHandlerCurrentWriterIndexedByLifecycle, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByOwnerId() (WriterHandlerCurrentWriterIndexedByOwnerId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByOwnerRef() (WriterHandlerCurrentWriterIndexedByOwnerRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByPolicyRef() (WriterHandlerCurrentWriterIndexedByPolicyRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByReportId() (WriterHandlerCurrentWriterIndexedByReportId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySourceArtifactId() (WriterHandlerCurrentWriterIndexedBySourceArtifactId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByTitle() (WriterHandlerCurrentWriterIndexedByTitle, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUpdatedAt() (WriterHandlerCurrentWriterIndexedByUpdatedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByVersion() (WriterHandlerCurrentWriterIndexedByVersion, error)
- type WriterHandlerReadIndexes
- type WriterKeysRow
Constants ¶
View Source
const WriterDatlyResourceNamespace = "reporting_sharedartifact_write_writer"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var ( ErrAlreadyExists = errors.New("shared artifact already exists") ErrNotFound = errors.New("shared artifact not found") ErrOwnerDenied = errors.New("shared artifact 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 WriterHandlerCurrentWriterIndexByArtifactIdKey ¶
func WriterHandlerCurrentWriterIndexByArtifactIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByArtifactRefKey ¶
func WriterHandlerCurrentWriterIndexByArtifactRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByBaseArtifactRefKey ¶
func WriterHandlerCurrentWriterIndexByBaseArtifactRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByCreatedAtKey ¶
func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByDocumentVersionKey ¶
func WriterHandlerCurrentWriterIndexByDocumentVersionKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByKindKey ¶
func WriterHandlerCurrentWriterIndexByKindKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByLifecycleKey ¶
func WriterHandlerCurrentWriterIndexByLifecycleKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByOwnerIdKey ¶
func WriterHandlerCurrentWriterIndexByOwnerIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByOwnerRefKey ¶
func WriterHandlerCurrentWriterIndexByOwnerRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByPolicyRefKey ¶
func WriterHandlerCurrentWriterIndexByPolicyRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByReportIdKey ¶
func WriterHandlerCurrentWriterIndexByReportIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexBySourceArtifactIdKey ¶
func WriterHandlerCurrentWriterIndexBySourceArtifactIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByTitleKey ¶
func WriterHandlerCurrentWriterIndexByTitleKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByUpdatedAtKey ¶
func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByVersionKey ¶
func WriterHandlerCurrentWriterIndexByVersionKey(value *CurrentWriterView) (int, bool)
Types ¶
type CurrentWriterView ¶
type CurrentWriterView struct {
ArtifactId string `sqlx:"artifact_id,primaryKey" json:"artifactId,omitempty"`
ArtifactRef string "sqlx:\"artifact_ref|`artifact_ref`,required=true\" json:\"artifactRef,omitempty\""
OwnerId string "sqlx:\"owner_id|`owner_id`,required=true\" json:\"ownerId,omitempty\""
OwnerRef string `sqlx:"owner_ref" json:"ownerRef,omitempty"`
Kind string "sqlx:\"kind|`kind`,required=true\" json:\"kind,omitempty\""
Lifecycle string "sqlx:\"lifecycle|`lifecycle`,required=true\" json:\"lifecycle,omitempty\""
Version int "sqlx:\"version|`version`,required=true\" json:\"version,omitempty\""
ReportId string `sqlx:"report_id" json:"reportId,omitempty"`
Title string `sqlx:"title" json:"title,omitempty"`
SourceArtifactId string `sqlx:"source_artifact_id" json:"sourceArtifactId,omitempty"`
BaseArtifactRef string `sqlx:"base_artifact_ref" json:"baseArtifactRef,omitempty"`
PolicyRef string `sqlx:"policy_ref" json:"policyRef,omitempty"`
DocumentVersion int "sqlx:\"document_version|`document_version`,required=true\" json:\"documentVersion,omitempty\""
ReportDocumentJson []byte "json:\"document,omitempty\" sqlx:\"report_document_json|`report_document_json`\""
ReportSpecJson []byte "json:\"reportSpec,omitempty\" sqlx:\"report_spec_json|`report_spec_json`\""
CompileStateJson []byte "json:\"compileState,omitempty\" sqlx:\"compile_state_json|`compile_state_json`\""
ReportFillJson []byte "json:\"reportFill,omitempty\" sqlx:\"report_fill_json|`report_fill_json`\""
ReportPrintJson []byte "json:\"reportPrint,omitempty\" sqlx:\"report_print_json|`report_print_json`\""
SavedViewOverlayJson []byte "json:\"savedViewOverlay,omitempty\" sqlx:\"saved_view_overlay_json|`saved_view_overlay_json`\""
MetadataJson []byte "json:\"metadata,omitempty\" sqlx:\"metadata_json|`metadata_json`\""
CreatedAt time.Time "sqlx:\"created_at|`created_at`,required=true\" json:\"createdAt,omitempty\""
UpdatedAt *time.Time "sqlx:\"updated_at|`updated_at`\" json:\"updatedAt,omitempty\""
}
CurrentWriterView is generated canonical view metadata for writer.
type Input ¶
type Input struct {
Internal bool `parameter:"Internal,kind=artifactaccess,in=internal,dataType=bool,required=true"`
WriteIntent string `parameter:"WriteIntent,kind=query,in=intent,dataType=string,required=false"`
OwnerSubject *string `` /* 141-byte string literal not displayed */
Artifact *SharedArtifact `` /* 231-byte string literal not displayed */
WriterKeys []WriterKeysRow `` /* 143-byte string literal not displayed */
CurrentWriter []*CurrentWriterView `` /* 190-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) SetArtifact ¶
func (input *Input) SetArtifact(value *SharedArtifact)
func (*Input) SetCurrentWriter ¶
func (input *Input) SetCurrentWriter(value []*CurrentWriterView)
func (*Input) SetInternal ¶
func (*Input) SetOwnerSubject ¶
func (*Input) SetWriteIntent ¶
func (*Input) SetWriterKeys ¶
func (input *Input) SetWriterKeys(value []WriterKeysRow)
type Lifecycle ¶
type Lifecycle struct {
Input *Input `bind:"kind=input"`
// contains filtered or unexported fields
}
Lifecycle customizes role Input.Artifact.
func (*Lifecycle) AfterQueue ¶
func (hooks *Lifecycle) AfterQueue(ctx context.Context, entity *SharedArtifact, state xhandler.LifecycleContext[SharedArtifact, xhandler.NoParent, Output]) error
func (*Lifecycle) AfterSequence ¶
func (hooks *Lifecycle) AfterSequence(ctx context.Context, entity *SharedArtifact, state xhandler.LifecycleContext[SharedArtifact, xhandler.NoParent, Output]) error
func (*Lifecycle) Init ¶
func (hooks *Lifecycle) Init(ctx context.Context, entity *SharedArtifact, state xhandler.LifecycleContext[SharedArtifact, xhandler.NoParent, Output]) error
func (*Lifecycle) Validate ¶
func (hooks *Lifecycle) Validate(ctx context.Context, entity *SharedArtifact, state xhandler.LifecycleContext[SharedArtifact, xhandler.NoParent, Output]) error
type Output ¶
type Output struct {
Data *SharedArtifact `parameter:"Data,kind=output,in=body,dataType=*SharedArtifact" json:"data,omitempty"`
}
Output is the generated output scaffold for writer.
type SharedArtifact ¶
type SharedArtifact struct {
}
SharedArtifact is generated canonical view metadata for writer.
func (*SharedArtifact) GetArtifactId ¶
func (entity *SharedArtifact) GetArtifactId() string
func (*SharedArtifact) GetArtifactRef ¶
func (entity *SharedArtifact) GetArtifactRef() string
func (*SharedArtifact) GetBaseArtifactRef ¶
func (entity *SharedArtifact) GetBaseArtifactRef() string
func (*SharedArtifact) GetCompileStateJson ¶
func (entity *SharedArtifact) GetCompileStateJson() []byte
func (*SharedArtifact) GetCreatedAt ¶
func (entity *SharedArtifact) GetCreatedAt() time.Time
func (*SharedArtifact) GetDocumentVersion ¶
func (entity *SharedArtifact) GetDocumentVersion() int
func (*SharedArtifact) GetKind ¶
func (entity *SharedArtifact) GetKind() string
func (*SharedArtifact) GetLifecycle ¶
func (entity *SharedArtifact) GetLifecycle() string
func (*SharedArtifact) GetMetadataJson ¶
func (entity *SharedArtifact) GetMetadataJson() []byte
func (*SharedArtifact) GetOwnerId ¶
func (entity *SharedArtifact) GetOwnerId() string
func (*SharedArtifact) GetOwnerRef ¶
func (entity *SharedArtifact) GetOwnerRef() string
func (*SharedArtifact) GetPolicyRef ¶
func (entity *SharedArtifact) GetPolicyRef() string
func (*SharedArtifact) GetReportDocumentJson ¶
func (entity *SharedArtifact) GetReportDocumentJson() []byte
func (*SharedArtifact) GetReportFillJson ¶
func (entity *SharedArtifact) GetReportFillJson() []byte
func (*SharedArtifact) GetReportId ¶
func (entity *SharedArtifact) GetReportId() string
func (*SharedArtifact) GetReportPrintJson ¶
func (entity *SharedArtifact) GetReportPrintJson() []byte
func (*SharedArtifact) GetReportSpecJson ¶
func (entity *SharedArtifact) GetReportSpecJson() []byte
func (*SharedArtifact) GetSavedViewOverlayJson ¶
func (entity *SharedArtifact) GetSavedViewOverlayJson() []byte
func (*SharedArtifact) GetShouldDelete ¶
func (entity *SharedArtifact) GetShouldDelete() bool
func (*SharedArtifact) GetSourceArtifactId ¶
func (entity *SharedArtifact) GetSourceArtifactId() string
func (*SharedArtifact) GetTitle ¶
func (entity *SharedArtifact) GetTitle() string
func (*SharedArtifact) GetUpdatedAt ¶
func (entity *SharedArtifact) GetUpdatedAt() *time.Time
func (*SharedArtifact) GetVersion ¶
func (entity *SharedArtifact) GetVersion() int
func (*SharedArtifact) SetArtifactId ¶
func (entity *SharedArtifact) SetArtifactId(value string)
func (*SharedArtifact) SetArtifactRef ¶
func (entity *SharedArtifact) SetArtifactRef(value string)
func (*SharedArtifact) SetBaseArtifactRef ¶
func (entity *SharedArtifact) SetBaseArtifactRef(value string)
func (*SharedArtifact) SetCompileStateJson ¶
func (entity *SharedArtifact) SetCompileStateJson(value []byte)
func (*SharedArtifact) SetCreatedAt ¶
func (entity *SharedArtifact) SetCreatedAt(value time.Time)
func (*SharedArtifact) SetDocumentVersion ¶
func (entity *SharedArtifact) SetDocumentVersion(value int)
func (*SharedArtifact) SetKind ¶
func (entity *SharedArtifact) SetKind(value string)
func (*SharedArtifact) SetLifecycle ¶
func (entity *SharedArtifact) SetLifecycle(value string)
func (*SharedArtifact) SetMetadataJson ¶
func (entity *SharedArtifact) SetMetadataJson(value []byte)
func (*SharedArtifact) SetOwnerId ¶
func (entity *SharedArtifact) SetOwnerId(value string)
func (*SharedArtifact) SetOwnerRef ¶
func (entity *SharedArtifact) SetOwnerRef(value string)
func (*SharedArtifact) SetPolicyRef ¶
func (entity *SharedArtifact) SetPolicyRef(value string)
func (*SharedArtifact) SetReportDocumentJson ¶
func (entity *SharedArtifact) SetReportDocumentJson(value []byte)
func (*SharedArtifact) SetReportFillJson ¶
func (entity *SharedArtifact) SetReportFillJson(value []byte)
func (*SharedArtifact) SetReportId ¶
func (entity *SharedArtifact) SetReportId(value string)
func (*SharedArtifact) SetReportPrintJson ¶
func (entity *SharedArtifact) SetReportPrintJson(value []byte)
func (*SharedArtifact) SetReportSpecJson ¶
func (entity *SharedArtifact) SetReportSpecJson(value []byte)
func (*SharedArtifact) SetSavedViewOverlayJson ¶
func (entity *SharedArtifact) SetSavedViewOverlayJson(value []byte)
func (*SharedArtifact) SetShouldDelete ¶
func (entity *SharedArtifact) SetShouldDelete(value bool)
func (*SharedArtifact) SetSourceArtifactId ¶
func (entity *SharedArtifact) SetSourceArtifactId(value string)
func (*SharedArtifact) SetTitle ¶
func (entity *SharedArtifact) SetTitle(value string)
func (*SharedArtifact) SetUpdatedAt ¶
func (entity *SharedArtifact) SetUpdatedAt(value *time.Time)
func (*SharedArtifact) SetVersion ¶
func (entity *SharedArtifact) SetVersion(value int)
type SharedArtifactHas ¶
type SharedArtifactHas struct {
}
type WriterComponent ¶
type WriterComponent struct {
Contract xdatly.Component[Input, Output] "" /* 180-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 WriterHandlerCurrentWriterGroupedByArtifactId ¶
type WriterHandlerCurrentWriterGroupedByArtifactId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByArtifactId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByArtifactId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByArtifactRef ¶
type WriterHandlerCurrentWriterGroupedByArtifactRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByArtifactRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByArtifactRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByBaseArtifactRef ¶
type WriterHandlerCurrentWriterGroupedByBaseArtifactRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByBaseArtifactRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByBaseArtifactRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByCreatedAt ¶
type WriterHandlerCurrentWriterGroupedByCreatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByDocumentVersion ¶
type WriterHandlerCurrentWriterGroupedByDocumentVersion map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDocumentVersion) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDocumentVersion) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByKind ¶
type WriterHandlerCurrentWriterGroupedByKind map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByKind) Has ¶
func (index WriterHandlerCurrentWriterGroupedByKind) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByLifecycle ¶
type WriterHandlerCurrentWriterGroupedByLifecycle map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByLifecycle) Has ¶
func (index WriterHandlerCurrentWriterGroupedByLifecycle) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByOwnerId ¶
type WriterHandlerCurrentWriterGroupedByOwnerId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByOwnerId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByOwnerId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByOwnerRef ¶
type WriterHandlerCurrentWriterGroupedByOwnerRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByOwnerRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByOwnerRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByPolicyRef ¶
type WriterHandlerCurrentWriterGroupedByPolicyRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByPolicyRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByPolicyRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByReportId ¶
type WriterHandlerCurrentWriterGroupedByReportId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByReportId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByReportId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedBySourceArtifactId ¶
type WriterHandlerCurrentWriterGroupedBySourceArtifactId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySourceArtifactId) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySourceArtifactId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByTitle ¶
type WriterHandlerCurrentWriterGroupedByTitle map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByTitle) Has ¶
func (index WriterHandlerCurrentWriterGroupedByTitle) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByUpdatedAt ¶
type WriterHandlerCurrentWriterGroupedByUpdatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByVersion ¶
type WriterHandlerCurrentWriterGroupedByVersion map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByVersion) Has ¶
func (index WriterHandlerCurrentWriterGroupedByVersion) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByArtifactId ¶
type WriterHandlerCurrentWriterIndexedByArtifactId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByArtifactId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByArtifactId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByArtifactRef ¶
type WriterHandlerCurrentWriterIndexedByArtifactRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByArtifactRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByArtifactRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByBaseArtifactRef ¶
type WriterHandlerCurrentWriterIndexedByBaseArtifactRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByBaseArtifactRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByBaseArtifactRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByCreatedAt ¶
type WriterHandlerCurrentWriterIndexedByCreatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByDocumentVersion ¶
type WriterHandlerCurrentWriterIndexedByDocumentVersion map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDocumentVersion) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDocumentVersion) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByKind ¶
type WriterHandlerCurrentWriterIndexedByKind map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByKind) Has ¶
func (index WriterHandlerCurrentWriterIndexedByKind) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByLifecycle ¶
type WriterHandlerCurrentWriterIndexedByLifecycle map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByLifecycle) Has ¶
func (index WriterHandlerCurrentWriterIndexedByLifecycle) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByOwnerId ¶
type WriterHandlerCurrentWriterIndexedByOwnerId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByOwnerId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByOwnerId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByOwnerRef ¶
type WriterHandlerCurrentWriterIndexedByOwnerRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByOwnerRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByOwnerRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByPolicyRef ¶
type WriterHandlerCurrentWriterIndexedByPolicyRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByPolicyRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByPolicyRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByReportId ¶
type WriterHandlerCurrentWriterIndexedByReportId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByReportId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByReportId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedBySourceArtifactId ¶
type WriterHandlerCurrentWriterIndexedBySourceArtifactId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySourceArtifactId) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySourceArtifactId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByTitle ¶
type WriterHandlerCurrentWriterIndexedByTitle map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByTitle) Has ¶
func (index WriterHandlerCurrentWriterIndexedByTitle) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByUpdatedAt ¶
type WriterHandlerCurrentWriterIndexedByUpdatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByVersion ¶
type WriterHandlerCurrentWriterIndexedByVersion map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByVersion) Has ¶
func (index WriterHandlerCurrentWriterIndexedByVersion) Has(key int) bool
type WriterHandlerCurrentWriterSlice ¶
type WriterHandlerCurrentWriterSlice []*CurrentWriterView
func (WriterHandlerCurrentWriterSlice) GroupByArtifactId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByArtifactId() WriterHandlerCurrentWriterGroupedByArtifactId
func (WriterHandlerCurrentWriterSlice) GroupByArtifactRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByArtifactRef() WriterHandlerCurrentWriterGroupedByArtifactRef
func (WriterHandlerCurrentWriterSlice) GroupByBaseArtifactRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByBaseArtifactRef() WriterHandlerCurrentWriterGroupedByBaseArtifactRef
func (WriterHandlerCurrentWriterSlice) GroupByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
func (WriterHandlerCurrentWriterSlice) GroupByDocumentVersion ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDocumentVersion() WriterHandlerCurrentWriterGroupedByDocumentVersion
func (WriterHandlerCurrentWriterSlice) GroupByKind ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByKind() WriterHandlerCurrentWriterGroupedByKind
func (WriterHandlerCurrentWriterSlice) GroupByLifecycle ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByLifecycle() WriterHandlerCurrentWriterGroupedByLifecycle
func (WriterHandlerCurrentWriterSlice) GroupByOwnerId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByOwnerId() WriterHandlerCurrentWriterGroupedByOwnerId
func (WriterHandlerCurrentWriterSlice) GroupByOwnerRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByOwnerRef() WriterHandlerCurrentWriterGroupedByOwnerRef
func (WriterHandlerCurrentWriterSlice) GroupByPolicyRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByPolicyRef() WriterHandlerCurrentWriterGroupedByPolicyRef
func (WriterHandlerCurrentWriterSlice) GroupByReportId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByReportId() WriterHandlerCurrentWriterGroupedByReportId
func (WriterHandlerCurrentWriterSlice) GroupBySourceArtifactId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySourceArtifactId() WriterHandlerCurrentWriterGroupedBySourceArtifactId
func (WriterHandlerCurrentWriterSlice) GroupByTitle ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByTitle() WriterHandlerCurrentWriterGroupedByTitle
func (WriterHandlerCurrentWriterSlice) GroupByUpdatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUpdatedAt() WriterHandlerCurrentWriterGroupedByUpdatedAt
func (WriterHandlerCurrentWriterSlice) GroupByVersion ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByVersion() WriterHandlerCurrentWriterGroupedByVersion
func (WriterHandlerCurrentWriterSlice) IndexByArtifactId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByArtifactId() (WriterHandlerCurrentWriterIndexedByArtifactId, error)
func (WriterHandlerCurrentWriterSlice) IndexByArtifactRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByArtifactRef() (WriterHandlerCurrentWriterIndexedByArtifactRef, error)
func (WriterHandlerCurrentWriterSlice) IndexByBaseArtifactRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByBaseArtifactRef() (WriterHandlerCurrentWriterIndexedByBaseArtifactRef, error)
func (WriterHandlerCurrentWriterSlice) IndexByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByDocumentVersion ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDocumentVersion() (WriterHandlerCurrentWriterIndexedByDocumentVersion, error)
func (WriterHandlerCurrentWriterSlice) IndexByKind ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByKind() (WriterHandlerCurrentWriterIndexedByKind, error)
func (WriterHandlerCurrentWriterSlice) IndexByLifecycle ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByLifecycle() (WriterHandlerCurrentWriterIndexedByLifecycle, error)
func (WriterHandlerCurrentWriterSlice) IndexByOwnerId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByOwnerId() (WriterHandlerCurrentWriterIndexedByOwnerId, error)
func (WriterHandlerCurrentWriterSlice) IndexByOwnerRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByOwnerRef() (WriterHandlerCurrentWriterIndexedByOwnerRef, error)
func (WriterHandlerCurrentWriterSlice) IndexByPolicyRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByPolicyRef() (WriterHandlerCurrentWriterIndexedByPolicyRef, error)
func (WriterHandlerCurrentWriterSlice) IndexByReportId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByReportId() (WriterHandlerCurrentWriterIndexedByReportId, error)
func (WriterHandlerCurrentWriterSlice) IndexBySourceArtifactId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySourceArtifactId() (WriterHandlerCurrentWriterIndexedBySourceArtifactId, error)
func (WriterHandlerCurrentWriterSlice) IndexByTitle ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByTitle() (WriterHandlerCurrentWriterIndexedByTitle, error)
func (WriterHandlerCurrentWriterSlice) IndexByUpdatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUpdatedAt() (WriterHandlerCurrentWriterIndexedByUpdatedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByVersion ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByVersion() (WriterHandlerCurrentWriterIndexedByVersion, error)
type WriterHandlerReadIndexes ¶
type WriterHandlerReadIndexes struct {
CurrentWriter WriterHandlerCurrentWriterSlice
CurrentWriterByArtifactId WriterHandlerCurrentWriterIndexedByArtifactId
}
func BuildWriterHandlerReadIndexes ¶
func BuildWriterHandlerReadIndexes(ctx context.Context, input *Input) (*WriterHandlerReadIndexes, error)
type WriterKeysRow ¶
type WriterKeysRow struct {
ArtifactId string `sqlx:"artifact_id"`
}
Click to show internal directories.
Click to hide internal directories.