Documentation
¶
Index ¶
- Constants
- Variables
- func LifecycleDatlyType() reflect.Type
- func WriterDatlyType() reflect.Type
- type Document
- func (entity *Document) GetCompression() *string
- func (entity *Document) GetDigest() *string
- func (entity *Document) GetId() *string
- func (entity *Document) GetInlineBody() []byte
- func (entity *Document) GetKind() *string
- func (entity *Document) GetMimeType() *string
- func (entity *Document) GetRunId() *string
- func (entity *Document) GetSchemaRef() *string
- func (entity *Document) GetSizeBytes() *int
- func (entity *Document) GetStorage() *string
- func (entity *Document) GetSubtype() *string
- func (entity *Document) SetCompression(value *string)
- func (entity *Document) SetDigest(value *string)
- func (entity *Document) SetId(value *string)
- func (entity *Document) SetInlineBody(value []byte)
- func (entity *Document) SetKind(value *string)
- func (entity *Document) SetMimeType(value *string)
- func (entity *Document) SetRunId(value *string)
- func (entity *Document) SetSchemaRef(value *string)
- func (entity *Document) SetSizeBytes(value *int)
- func (entity *Document) SetStorage(value *string)
- func (entity *Document) SetSubtype(value *string)
- type DocumentHas
- type Input
- type InputHas
- type Lifecycle
- func (*Lifecycle) AfterQueue(context.Context, *Document, ...) error
- func (*Lifecycle) AfterSequence(context.Context, *Document, ...) error
- func (*Lifecycle) Finalize(context.Context, *Input, *Output, xhandler.Outcome) error
- func (*Lifecycle) Init(_ context.Context, row *Document, ...) error
- func (*Lifecycle) Validate(context.Context, *Document, ...) error
- type Output
- type WriterComponent
Constants ¶
View Source
const WriterDatlyResourceNamespace = "reportingevidence_document_write_writer"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var 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.
Types ¶
type Document ¶
type Document struct {
Id *string `sqlx:"id,primaryKey=true,required=true" json:"id,omitempty"`
InlineBody []byte `sqlx:"inline_body" json:"inlineBody,omitempty"`
RunId *string `sqlx:"run_id,refTable=run,refColumn=id" json:"runId,omitempty"`
Kind *string `sqlx:"kind,required=true" json:"kind,omitempty"`
Subtype *string `sqlx:"subtype" json:"subtype,omitempty"`
SchemaRef *string `sqlx:"schema_ref" json:"schemaRef,omitempty"`
MimeType *string `sqlx:"mime_type,required=true" json:"mimeType,omitempty"`
Storage *string `sqlx:"storage,required=true" json:"storage,omitempty"`
Compression *string `sqlx:"compression,required=true" json:"compression,omitempty"`
Digest *string `sqlx:"digest" json:"digest,omitempty"`
SizeBytes *int `sqlx:"size_bytes,required=true" json:"sizeBytes,omitempty"`
Has *DocumentHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"DocumentHas"`
}
Document is generated canonical view metadata for writer.
func (*Document) GetCompression ¶
func (*Document) GetInlineBody ¶
func (*Document) GetMimeType ¶
func (*Document) GetSchemaRef ¶
func (*Document) GetSizeBytes ¶
func (*Document) GetStorage ¶
func (*Document) GetSubtype ¶
func (*Document) SetCompression ¶
func (*Document) SetInlineBody ¶
func (*Document) SetMimeType ¶
func (*Document) SetSchemaRef ¶
func (*Document) SetSizeBytes ¶
func (*Document) SetStorage ¶
func (*Document) SetSubtype ¶
type DocumentHas ¶
type Input ¶
type Input struct {
Rows []*Document `` /* 189-byte string literal not displayed */
Has *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
}
Input is the generated input scaffold for writer.
type Lifecycle ¶
type Lifecycle struct{}
func (*Lifecycle) AfterQueue ¶
func (*Lifecycle) AfterSequence ¶
type Output ¶
type Output struct {
Data []*Document `parameter:"Data,kind=output,in=body,dataType=[]*Document" json:"data"`
}
Output is the generated output scaffold for writer.
type WriterComponent ¶
type WriterComponent struct {
Contract xdatly.Component[Input, Output] "" /* 187-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
Click to show internal directories.
Click to hide internal directories.