Help us shape the future of Go! Take the 2026 Go Developer Survey

write

package
v0.1.58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 LifecycleDatlyType() reflect.Type

func WriterDatlyType

func WriterDatlyType() reflect.Type

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) Init

func (input *Input) Init(context.Context) error

func (*Input) PrepareReadIndexes

func (input *Input) PrepareReadIndexes(ctx context.Context) error

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 *Input) SetInternal(value bool)

func (*Input) SetOwnerSubject

func (input *Input) SetOwnerSubject(value *string)

func (*Input) SetWriteIntent

func (input *Input) SetWriteIntent(value string)

func (*Input) SetWriterKeys

func (input *Input) SetWriterKeys(value []WriterKeysRow)

type InputHas

type InputHas struct {
	Internal      bool
	WriteIntent   bool
	OwnerSubject  bool
	Artifact      bool
	WriterKeys    bool
	CurrentWriter bool
}

type Lifecycle

type Lifecycle struct {
	Input *Input `bind:"kind=input"`
	// contains filtered or unexported fields
}

Lifecycle customizes role Input.Artifact.

func (*Lifecycle) AfterQueue

func (*Lifecycle) AfterSequence

func (*Lifecycle) Finalize

func (hooks *Lifecycle) Finalize(ctx context.Context, input *Input, output *Output, outcome xhandler.Outcome) error

func (*Lifecycle) Init

func (*Lifecycle) Validate

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 {
	ShouldDelete         bool               `sqlx:"-" writer:"delete" json:"shouldDelete,omitempty"`
	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\""
	Has                  *SharedArtifactHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"SharedArtifactHas"`
}

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 {
	ShouldDelete         bool
	ArtifactId           bool
	ArtifactRef          bool
	OwnerId              bool
	OwnerRef             bool
	Kind                 bool
	Lifecycle            bool
	Version              bool
	ReportId             bool
	Title                bool
	SourceArtifactId     bool
	BaseArtifactRef      bool
	PolicyRef            bool
	DocumentVersion      bool
	ReportDocumentJson   bool
	ReportSpecJson       bool
	CompileStateJson     bool
	ReportFillJson       bool
	ReportPrintJson      bool
	SavedViewOverlayJson bool
	MetadataJson         bool
	CreatedAt            bool
	UpdatedAt            bool
}

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

type WriterHandlerCurrentWriterGroupedByArtifactRef

type WriterHandlerCurrentWriterGroupedByArtifactRef map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByArtifactRef) Has

type WriterHandlerCurrentWriterGroupedByBaseArtifactRef

type WriterHandlerCurrentWriterGroupedByBaseArtifactRef map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByBaseArtifactRef) Has

type WriterHandlerCurrentWriterGroupedByCreatedAt

type WriterHandlerCurrentWriterGroupedByCreatedAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByCreatedAt) Has

type WriterHandlerCurrentWriterGroupedByDocumentVersion

type WriterHandlerCurrentWriterGroupedByDocumentVersion map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByDocumentVersion) Has

type WriterHandlerCurrentWriterGroupedByKind

type WriterHandlerCurrentWriterGroupedByKind map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByKind) Has

type WriterHandlerCurrentWriterGroupedByLifecycle

type WriterHandlerCurrentWriterGroupedByLifecycle map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByLifecycle) Has

type WriterHandlerCurrentWriterGroupedByOwnerId

type WriterHandlerCurrentWriterGroupedByOwnerId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByOwnerId) Has

type WriterHandlerCurrentWriterGroupedByOwnerRef

type WriterHandlerCurrentWriterGroupedByOwnerRef map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByOwnerRef) Has

type WriterHandlerCurrentWriterGroupedByPolicyRef

type WriterHandlerCurrentWriterGroupedByPolicyRef map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByPolicyRef) Has

type WriterHandlerCurrentWriterGroupedByReportId

type WriterHandlerCurrentWriterGroupedByReportId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByReportId) Has

type WriterHandlerCurrentWriterGroupedBySourceArtifactId

type WriterHandlerCurrentWriterGroupedBySourceArtifactId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedBySourceArtifactId) Has

type WriterHandlerCurrentWriterGroupedByTitle

type WriterHandlerCurrentWriterGroupedByTitle map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByTitle) Has

type WriterHandlerCurrentWriterGroupedByUpdatedAt

type WriterHandlerCurrentWriterGroupedByUpdatedAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByUpdatedAt) Has

type WriterHandlerCurrentWriterGroupedByVersion

type WriterHandlerCurrentWriterGroupedByVersion map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByVersion) Has

type WriterHandlerCurrentWriterIndexedByArtifactId

type WriterHandlerCurrentWriterIndexedByArtifactId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByArtifactId) Has

type WriterHandlerCurrentWriterIndexedByArtifactRef

type WriterHandlerCurrentWriterIndexedByArtifactRef map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByArtifactRef) Has

type WriterHandlerCurrentWriterIndexedByBaseArtifactRef

type WriterHandlerCurrentWriterIndexedByBaseArtifactRef map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByBaseArtifactRef) Has

type WriterHandlerCurrentWriterIndexedByCreatedAt

type WriterHandlerCurrentWriterIndexedByCreatedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByCreatedAt) Has

type WriterHandlerCurrentWriterIndexedByDocumentVersion

type WriterHandlerCurrentWriterIndexedByDocumentVersion map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByDocumentVersion) Has

type WriterHandlerCurrentWriterIndexedByKind

type WriterHandlerCurrentWriterIndexedByKind map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByKind) Has

type WriterHandlerCurrentWriterIndexedByLifecycle

type WriterHandlerCurrentWriterIndexedByLifecycle map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByLifecycle) Has

type WriterHandlerCurrentWriterIndexedByOwnerId

type WriterHandlerCurrentWriterIndexedByOwnerId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByOwnerId) Has

type WriterHandlerCurrentWriterIndexedByOwnerRef

type WriterHandlerCurrentWriterIndexedByOwnerRef map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByOwnerRef) Has

type WriterHandlerCurrentWriterIndexedByPolicyRef

type WriterHandlerCurrentWriterIndexedByPolicyRef map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByPolicyRef) Has

type WriterHandlerCurrentWriterIndexedByReportId

type WriterHandlerCurrentWriterIndexedByReportId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByReportId) Has

type WriterHandlerCurrentWriterIndexedBySourceArtifactId

type WriterHandlerCurrentWriterIndexedBySourceArtifactId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedBySourceArtifactId) Has

type WriterHandlerCurrentWriterIndexedByTitle

type WriterHandlerCurrentWriterIndexedByTitle map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByTitle) Has

type WriterHandlerCurrentWriterIndexedByUpdatedAt

type WriterHandlerCurrentWriterIndexedByUpdatedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByUpdatedAt) Has

type WriterHandlerCurrentWriterIndexedByVersion

type WriterHandlerCurrentWriterIndexedByVersion map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByVersion) Has

type WriterHandlerCurrentWriterSlice

type WriterHandlerCurrentWriterSlice []*CurrentWriterView

func (WriterHandlerCurrentWriterSlice) GroupByArtifactId

func (WriterHandlerCurrentWriterSlice) GroupByArtifactRef

func (WriterHandlerCurrentWriterSlice) GroupByBaseArtifactRef

func (WriterHandlerCurrentWriterSlice) GroupByCreatedAt

func (WriterHandlerCurrentWriterSlice) GroupByDocumentVersion

func (WriterHandlerCurrentWriterSlice) GroupByKind

func (WriterHandlerCurrentWriterSlice) GroupByLifecycle

func (WriterHandlerCurrentWriterSlice) GroupByOwnerId

func (WriterHandlerCurrentWriterSlice) GroupByOwnerRef

func (WriterHandlerCurrentWriterSlice) GroupByPolicyRef

func (WriterHandlerCurrentWriterSlice) GroupByReportId

func (WriterHandlerCurrentWriterSlice) GroupBySourceArtifactId

func (WriterHandlerCurrentWriterSlice) GroupByTitle

func (WriterHandlerCurrentWriterSlice) GroupByUpdatedAt

func (WriterHandlerCurrentWriterSlice) GroupByVersion

func (WriterHandlerCurrentWriterSlice) IndexByArtifactId

func (WriterHandlerCurrentWriterSlice) IndexByArtifactRef

func (WriterHandlerCurrentWriterSlice) IndexByBaseArtifactRef

func (WriterHandlerCurrentWriterSlice) IndexByCreatedAt

func (WriterHandlerCurrentWriterSlice) IndexByDocumentVersion

func (WriterHandlerCurrentWriterSlice) IndexByKind

func (WriterHandlerCurrentWriterSlice) IndexByLifecycle

func (WriterHandlerCurrentWriterSlice) IndexByOwnerId

func (WriterHandlerCurrentWriterSlice) IndexByOwnerRef

func (WriterHandlerCurrentWriterSlice) IndexByPolicyRef

func (WriterHandlerCurrentWriterSlice) IndexByReportId

func (WriterHandlerCurrentWriterSlice) IndexBySourceArtifactId

func (WriterHandlerCurrentWriterSlice) IndexByTitle

func (WriterHandlerCurrentWriterSlice) IndexByUpdatedAt

func (WriterHandlerCurrentWriterSlice) IndexByVersion

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL