Documentation
¶
Index ¶
- Constants
- Variables
- func ReaderDatlyType() reflect.Type
- type Input
- func (input *Input) Init(context.Context) error
- func (input *Input) SetArtifactID(value string)
- func (input *Input) SetArtifactRef(value string)
- func (input *Input) SetFields(value []string)
- func (input *Input) SetInternal(value bool)
- func (input *Input) SetKind(value string)
- func (input *Input) SetLifecycle(value string)
- func (input *Input) SetLimit(value int)
- func (input *Input) SetOffset(value int)
- func (input *Input) SetOrderBy(value string)
- func (input *Input) SetOwnerID(value string)
- func (input *Input) SetOwnerSubject(value *string)
- func (input *Input) SetReadMode(value string)
- func (input *Input) SetReportID(value string)
- type InputHas
- type Output
- type ReaderComponent
- type SharedArtifact
Constants ¶
View Source
const ReaderDatlyResourceNamespace = "reporting_sharedartifact_read_reader"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var ReaderDatly = new(ReaderComponent)
The public value supports explicit component wiring.
View Source
var ReaderDatlyResources embed.FS
Functions ¶
func ReaderDatlyType ¶
ReaderDatlyType returns the public component type.
Types ¶
type Input ¶
type Input struct {
Internal bool `parameter:"Internal,kind=artifactaccess,in=internal,dataType=bool,required=true"`
ReadMode string `parameter:"ReadMode,kind=artifactaccess,in=mode,dataType=string,required=true"`
OwnerSubject *string `parameter:"OwnerSubject,kind=visibility,in=subject,dataType=*string,required=true"`
ArtifactID string `parameter:"ArtifactID,kind=query,in=artifactId,dataType=string,required=false" predicate:"equal,r,artifact_id"`
Fields []string `` /* 132-byte string literal not displayed */
Limit int `parameter:"Limit,kind=query,in=limit,dataType=int,required=false,cacheable=false" querySelector:"view=reader,property=limit"`
Offset int `` /* 127-byte string literal not displayed */
OrderBy string `` /* 133-byte string literal not displayed */
OwnerID string `parameter:"OwnerID,kind=query,in=ownerId,dataType=string,required=false" predicate:"equal,r,owner_id"`
ArtifactRef string `parameter:"ArtifactRef,kind=query,in=artifactRef,dataType=string,required=false" predicate:"equal,r,artifact_ref"`
ReportID string `parameter:"ReportID,kind=query,in=reportId,dataType=string,required=false" predicate:"equal,r,report_id"`
Kind string `parameter:"Kind,kind=query,in=kind,dataType=string,required=false" predicate:"equal,r,kind"`
Lifecycle string `parameter:"Lifecycle,kind=query,in=lifecycle,dataType=string,required=false" predicate:"equal,r,lifecycle"`
Has *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
}
Input is the generated input scaffold for reader.
func (*Input) SetArtifactID ¶
func (*Input) SetArtifactRef ¶
func (*Input) SetInternal ¶
func (*Input) SetLifecycle ¶
func (*Input) SetOrderBy ¶
func (*Input) SetOwnerID ¶
func (*Input) SetOwnerSubject ¶
func (*Input) SetReadMode ¶
func (*Input) SetReportID ¶
type Output ¶
type Output struct {
Data []*SharedArtifact `` /* 284-byte string literal not displayed */
}
Output is the generated output scaffold for reader.
type ReaderComponent ¶
type ReaderComponent struct {
Contract xdatly.Component[Input, Output] "" /* 164-byte string literal not displayed */
}
Component is the generated component scaffold for reader.
func (ReaderComponent) EmbedFS ¶
func (ReaderComponent) EmbedFS() *embed.FS
func (ReaderComponent) EmbedNamespace ¶
func (ReaderComponent) EmbedNamespace() string
type SharedArtifact ¶
type SharedArtifact struct {
}
SharedArtifact is generated canonical view metadata for reader.
Click to show internal directories.
Click to hide internal directories.