Documentation
¶
Index ¶
- Constants
- Variables
- func LifecycleDatlyType() reflect.Type
- func WriterDatlyType() reflect.Type
- func WriterHandlerCurrentWriterIndexByCompressionKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByDigestKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByEncryptionKmsKeyIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByKindKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByMimeTypeKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByRedactedKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByRedactionPolicyVersionKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByRunIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexBySchemaRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexBySequenceKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexBySizeBytesKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByStorageKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexBySubtypeKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByTenantIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByUriKey(value *CurrentWriterView) (string, 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) SetCurrentWriter(value []*CurrentWriterView)
- func (input *Input) SetDeleteUnreferenced(value bool)
- func (input *Input) SetPayloads(value []*Payload)
- func (input *Input) SetWriterKeys(value []WriterKeysRow)
- type InputHas
- type Lifecycle
- func (hooks *Lifecycle) AfterQueue(ctx context.Context, entity *Payload, ...) error
- func (hooks *Lifecycle) AfterSequence(ctx context.Context, entity *Payload, ...) error
- func (hooks *Lifecycle) Finalize(ctx context.Context, input *Input, output *Output, outcome xhandler.Outcome) error
- func (hooks *Lifecycle) Init(ctx context.Context, entity *Payload, ...) error
- func (hooks *Lifecycle) Validate(ctx context.Context, entity *Payload, ...) error
- type Output
- type Payload
- func (entity *Payload) GetCompression() string
- func (entity *Payload) GetCreatedAt() *time.Time
- func (entity *Payload) GetDigest() *string
- func (entity *Payload) GetEncryptionKmsKeyId() *string
- func (entity *Payload) GetId() string
- func (entity *Payload) GetInlineBody() *[]byte
- func (entity *Payload) GetKind() string
- func (entity *Payload) GetMimeType() string
- func (entity *Payload) GetRedacted() *int
- func (entity *Payload) GetRedactionPolicyVersion() *string
- func (entity *Payload) GetRunId() *string
- func (entity *Payload) GetSchemaRef() *string
- func (entity *Payload) GetSequence() *int
- func (entity *Payload) GetShouldDelete() bool
- func (entity *Payload) GetSizeBytes() int
- func (entity *Payload) GetStorage() string
- func (entity *Payload) GetSubtype() *string
- func (entity *Payload) GetTenantId() *string
- func (entity *Payload) GetUri() *string
- func (entity *Payload) SetCompression(value string)
- func (entity *Payload) SetCreatedAt(value *time.Time)
- func (entity *Payload) SetDigest(value *string)
- func (entity *Payload) SetEncryptionKmsKeyId(value *string)
- func (entity *Payload) SetId(value string)
- func (entity *Payload) SetInlineBody(value *[]byte)
- func (entity *Payload) SetKind(value string)
- func (entity *Payload) SetMimeType(value string)
- func (entity *Payload) SetRedacted(value *int)
- func (entity *Payload) SetRedactionPolicyVersion(value *string)
- func (entity *Payload) SetRunId(value *string)
- func (entity *Payload) SetSchemaRef(value *string)
- func (entity *Payload) SetSequence(value *int)
- func (entity *Payload) SetShouldDelete(value bool)
- func (entity *Payload) SetSizeBytes(value int)
- func (entity *Payload) SetStorage(value string)
- func (entity *Payload) SetSubtype(value *string)
- func (entity *Payload) SetTenantId(value *string)
- func (entity *Payload) SetUri(value *string)
- type PayloadHas
- type WriterComponent
- type WriterHandlerCurrentWriterGroupedByCompression
- type WriterHandlerCurrentWriterGroupedByCreatedAt
- type WriterHandlerCurrentWriterGroupedByDigest
- type WriterHandlerCurrentWriterGroupedByEncryptionKmsKeyId
- type WriterHandlerCurrentWriterGroupedById
- type WriterHandlerCurrentWriterGroupedByKind
- type WriterHandlerCurrentWriterGroupedByMimeType
- type WriterHandlerCurrentWriterGroupedByRedacted
- type WriterHandlerCurrentWriterGroupedByRedactionPolicyVersion
- type WriterHandlerCurrentWriterGroupedByRunId
- type WriterHandlerCurrentWriterGroupedBySchemaRef
- type WriterHandlerCurrentWriterGroupedBySequence
- type WriterHandlerCurrentWriterGroupedBySizeBytes
- type WriterHandlerCurrentWriterGroupedByStorage
- type WriterHandlerCurrentWriterGroupedBySubtype
- type WriterHandlerCurrentWriterGroupedByTenantId
- type WriterHandlerCurrentWriterGroupedByUri
- type WriterHandlerCurrentWriterIndexedByCompression
- type WriterHandlerCurrentWriterIndexedByCreatedAt
- type WriterHandlerCurrentWriterIndexedByDigest
- type WriterHandlerCurrentWriterIndexedByEncryptionKmsKeyId
- type WriterHandlerCurrentWriterIndexedById
- type WriterHandlerCurrentWriterIndexedByKind
- type WriterHandlerCurrentWriterIndexedByMimeType
- type WriterHandlerCurrentWriterIndexedByRedacted
- type WriterHandlerCurrentWriterIndexedByRedactionPolicyVersion
- type WriterHandlerCurrentWriterIndexedByRunId
- type WriterHandlerCurrentWriterIndexedBySchemaRef
- type WriterHandlerCurrentWriterIndexedBySequence
- type WriterHandlerCurrentWriterIndexedBySizeBytes
- type WriterHandlerCurrentWriterIndexedByStorage
- type WriterHandlerCurrentWriterIndexedBySubtype
- type WriterHandlerCurrentWriterIndexedByTenantId
- type WriterHandlerCurrentWriterIndexedByUri
- type WriterHandlerCurrentWriterSlice
- func (rows WriterHandlerCurrentWriterSlice) GroupByCompression() WriterHandlerCurrentWriterGroupedByCompression
- func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByDigest() WriterHandlerCurrentWriterGroupedByDigest
- func (rows WriterHandlerCurrentWriterSlice) GroupByEncryptionKmsKeyId() WriterHandlerCurrentWriterGroupedByEncryptionKmsKeyId
- func (rows WriterHandlerCurrentWriterSlice) GroupById() WriterHandlerCurrentWriterGroupedById
- func (rows WriterHandlerCurrentWriterSlice) GroupByKind() WriterHandlerCurrentWriterGroupedByKind
- func (rows WriterHandlerCurrentWriterSlice) GroupByMimeType() WriterHandlerCurrentWriterGroupedByMimeType
- func (rows WriterHandlerCurrentWriterSlice) GroupByRedacted() WriterHandlerCurrentWriterGroupedByRedacted
- func (rows WriterHandlerCurrentWriterSlice) GroupByRedactionPolicyVersion() WriterHandlerCurrentWriterGroupedByRedactionPolicyVersion
- func (rows WriterHandlerCurrentWriterSlice) GroupByRunId() WriterHandlerCurrentWriterGroupedByRunId
- func (rows WriterHandlerCurrentWriterSlice) GroupBySchemaRef() WriterHandlerCurrentWriterGroupedBySchemaRef
- func (rows WriterHandlerCurrentWriterSlice) GroupBySequence() WriterHandlerCurrentWriterGroupedBySequence
- func (rows WriterHandlerCurrentWriterSlice) GroupBySizeBytes() WriterHandlerCurrentWriterGroupedBySizeBytes
- func (rows WriterHandlerCurrentWriterSlice) GroupByStorage() WriterHandlerCurrentWriterGroupedByStorage
- func (rows WriterHandlerCurrentWriterSlice) GroupBySubtype() WriterHandlerCurrentWriterGroupedBySubtype
- func (rows WriterHandlerCurrentWriterSlice) GroupByTenantId() WriterHandlerCurrentWriterGroupedByTenantId
- func (rows WriterHandlerCurrentWriterSlice) GroupByUri() WriterHandlerCurrentWriterGroupedByUri
- func (rows WriterHandlerCurrentWriterSlice) IndexByCompression() (WriterHandlerCurrentWriterIndexedByCompression, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDigest() (WriterHandlerCurrentWriterIndexedByDigest, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByEncryptionKmsKeyId() (WriterHandlerCurrentWriterIndexedByEncryptionKmsKeyId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexById() (WriterHandlerCurrentWriterIndexedById, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByKind() (WriterHandlerCurrentWriterIndexedByKind, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByMimeType() (WriterHandlerCurrentWriterIndexedByMimeType, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByRedacted() (WriterHandlerCurrentWriterIndexedByRedacted, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByRedactionPolicyVersion() (WriterHandlerCurrentWriterIndexedByRedactionPolicyVersion, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByRunId() (WriterHandlerCurrentWriterIndexedByRunId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySchemaRef() (WriterHandlerCurrentWriterIndexedBySchemaRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySequence() (WriterHandlerCurrentWriterIndexedBySequence, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySizeBytes() (WriterHandlerCurrentWriterIndexedBySizeBytes, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByStorage() (WriterHandlerCurrentWriterIndexedByStorage, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySubtype() (WriterHandlerCurrentWriterIndexedBySubtype, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByTenantId() (WriterHandlerCurrentWriterIndexedByTenantId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUri() (WriterHandlerCurrentWriterIndexedByUri, error)
- type WriterHandlerReadIndexes
- type WriterKeysRow
Constants ¶
View Source
const WriterDatlyResourceNamespace = "datly_payload_write_writer"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
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 WriterHandlerCurrentWriterIndexByCompressionKey ¶
func WriterHandlerCurrentWriterIndexByCompressionKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByCreatedAtKey ¶
func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByDigestKey ¶
func WriterHandlerCurrentWriterIndexByDigestKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByEncryptionKmsKeyIdKey ¶
func WriterHandlerCurrentWriterIndexByEncryptionKmsKeyIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByIdKey ¶
func WriterHandlerCurrentWriterIndexByIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByKindKey ¶
func WriterHandlerCurrentWriterIndexByKindKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByMimeTypeKey ¶
func WriterHandlerCurrentWriterIndexByMimeTypeKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByRedactedKey ¶
func WriterHandlerCurrentWriterIndexByRedactedKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByRedactionPolicyVersionKey ¶
func WriterHandlerCurrentWriterIndexByRedactionPolicyVersionKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByRunIdKey ¶
func WriterHandlerCurrentWriterIndexByRunIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexBySchemaRefKey ¶
func WriterHandlerCurrentWriterIndexBySchemaRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexBySequenceKey ¶
func WriterHandlerCurrentWriterIndexBySequenceKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexBySizeBytesKey ¶
func WriterHandlerCurrentWriterIndexBySizeBytesKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByStorageKey ¶
func WriterHandlerCurrentWriterIndexByStorageKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexBySubtypeKey ¶
func WriterHandlerCurrentWriterIndexBySubtypeKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByTenantIdKey ¶
func WriterHandlerCurrentWriterIndexByTenantIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByUriKey ¶
func WriterHandlerCurrentWriterIndexByUriKey(value *CurrentWriterView) (string, bool)
Types ¶
type CurrentWriterView ¶
type CurrentWriterView struct {
Id string `validate:"required" sqlx:"id,primaryKey" json:"id"`
Kind string `validate:"required" json:"kind" sqlx:"kind,required=true"`
MimeType string `validate:"required" json:"mimeType" sqlx:"mime_type,required=true"`
SizeBytes int `validate:"required" json:"sizeBytes" sqlx:"size_bytes,required=true"`
Storage string `validate:"required" json:"storage" sqlx:"storage,required=true"`
InlineBody *[]byte `sqlx:"inline_body" json:"inlineBody,omitempty"`
Compression string `json:"compression" sqlx:"compression,required=true"`
TenantId *string `sqlx:"tenant_id" json:"tenantId,omitempty"`
Subtype *string `sqlx:"subtype" json:"subtype,omitempty"`
Digest *string `sqlx:"digest" json:"digest,omitempty"`
Uri *string `sqlx:"uri" json:"uri,omitempty"`
EncryptionKmsKeyId *string `sqlx:"encryption_kms_key_id" json:"encryptionKmsKeyId,omitempty"`
RedactionPolicyVersion *string `sqlx:"redaction_policy_version" json:"redactionPolicyVersion,omitempty"`
Redacted *int `sqlx:"redacted,required=true" json:"redacted,omitempty"`
CreatedAt *time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
SchemaRef *string `sqlx:"schema_ref" json:"schemaRef,omitempty"`
RunId *string `sqlx:"run_id,refTable=run,refColumn=id" json:"runId,omitempty"`
Sequence *int `sqlx:"sequence" json:"sequence,omitempty"`
}
CurrentWriterView is generated canonical view metadata for writer.
type Input ¶
type Input struct {
DeleteUnreferenced bool `` /* 1069-byte string literal not displayed */
Payloads []*Payload `` /* 222-byte string literal not displayed */
WriterKeys []WriterKeysRow `` /* 132-byte string literal not displayed */
CurrentWriter []*CurrentWriterView `` /* 169-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) SetDeleteUnreferenced ¶
func (*Input) SetPayloads ¶
func (*Input) SetWriterKeys ¶
func (input *Input) SetWriterKeys(value []WriterKeysRow)
type Lifecycle ¶
type Lifecycle struct{}
Lifecycle customizes role Input.Payloads.
func (*Lifecycle) AfterQueue ¶
func (*Lifecycle) AfterSequence ¶
type Output ¶
type Output struct {
response.Status `parameter:",kind=output,in=status"`
Data []*Payload `parameter:"Data,kind=output,in=body,dataType=[]*Payload" json:"data,omitempty"`
}
Output is the generated output scaffold for writer.
type Payload ¶
type Payload struct {
ShouldDelete bool `sqlx:"-" writer:"delete" json:"shouldDelete,omitempty"`
Id string `validate:"required" sqlx:"id,primaryKey" json:"id"`
Kind string `validate:"required" json:"kind" sqlx:"kind,required=true"`
MimeType string `validate:"required" json:"mimeType" sqlx:"mime_type,required=true"`
SizeBytes int `validate:"required" json:"sizeBytes" sqlx:"size_bytes,required=true"`
Storage string `validate:"required" json:"storage" sqlx:"storage,required=true"`
InlineBody *[]byte `sqlx:"inline_body" json:"inlineBody,omitempty"`
Compression string `json:"compression" sqlx:"compression,required=true"`
TenantId *string `sqlx:"tenant_id" json:"tenantId,omitempty"`
Subtype *string `sqlx:"subtype" json:"subtype,omitempty"`
Digest *string `sqlx:"digest" json:"digest,omitempty"`
Uri *string `sqlx:"uri" json:"uri,omitempty"`
EncryptionKmsKeyId *string `sqlx:"encryption_kms_key_id" json:"encryptionKmsKeyId,omitempty"`
RedactionPolicyVersion *string `sqlx:"redaction_policy_version" json:"redactionPolicyVersion,omitempty"`
Redacted *int `sqlx:"redacted,required=true" json:"redacted,omitempty"`
CreatedAt *time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
SchemaRef *string `sqlx:"schema_ref" json:"schemaRef,omitempty"`
RunId *string `sqlx:"run_id,refTable=run,refColumn=id" json:"runId,omitempty"`
Sequence *int `sqlx:"sequence" json:"sequence,omitempty"`
Has *PayloadHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"PayloadHas"`
}
Payload is generated canonical view metadata for writer.
func (*Payload) GetCompression ¶
func (*Payload) GetCreatedAt ¶
func (*Payload) GetEncryptionKmsKeyId ¶
func (*Payload) GetInlineBody ¶
func (*Payload) GetMimeType ¶
func (*Payload) GetRedacted ¶
func (*Payload) GetRedactionPolicyVersion ¶
func (*Payload) GetSchemaRef ¶
func (*Payload) GetSequence ¶
func (*Payload) GetShouldDelete ¶
func (*Payload) GetSizeBytes ¶
func (*Payload) GetStorage ¶
func (*Payload) GetSubtype ¶
func (*Payload) GetTenantId ¶
func (*Payload) SetCompression ¶
func (*Payload) SetCreatedAt ¶
func (*Payload) SetEncryptionKmsKeyId ¶
func (*Payload) SetInlineBody ¶
func (*Payload) SetMimeType ¶
func (*Payload) SetRedacted ¶
func (*Payload) SetRedactionPolicyVersion ¶
func (*Payload) SetSchemaRef ¶
func (*Payload) SetSequence ¶
func (*Payload) SetShouldDelete ¶
func (*Payload) SetSizeBytes ¶
func (*Payload) SetStorage ¶
func (*Payload) SetSubtype ¶
func (*Payload) SetTenantId ¶
type PayloadHas ¶
type PayloadHas struct {
ShouldDelete bool
Id bool
Kind bool
MimeType bool
SizeBytes bool
Storage bool
InlineBody bool
Compression bool
TenantId bool
Subtype bool
Digest bool
Uri bool
EncryptionKmsKeyId bool
RedactionPolicyVersion bool
Redacted bool
CreatedAt bool
SchemaRef bool
RunId bool
Sequence bool
}
type WriterComponent ¶
type WriterComponent struct {
Contract xdatly.Component[Input, Output] "" /* 164-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 WriterHandlerCurrentWriterGroupedByCompression ¶
type WriterHandlerCurrentWriterGroupedByCompression map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByCompression) Has ¶
func (index WriterHandlerCurrentWriterGroupedByCompression) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByCreatedAt ¶
type WriterHandlerCurrentWriterGroupedByCreatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByDigest ¶
type WriterHandlerCurrentWriterGroupedByDigest map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDigest) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDigest) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByEncryptionKmsKeyId ¶
type WriterHandlerCurrentWriterGroupedByEncryptionKmsKeyId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByEncryptionKmsKeyId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByEncryptionKmsKeyId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedById ¶
type WriterHandlerCurrentWriterGroupedById map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedById) Has ¶
func (index WriterHandlerCurrentWriterGroupedById) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByKind ¶
type WriterHandlerCurrentWriterGroupedByKind map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByKind) Has ¶
func (index WriterHandlerCurrentWriterGroupedByKind) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByMimeType ¶
type WriterHandlerCurrentWriterGroupedByMimeType map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByMimeType) Has ¶
func (index WriterHandlerCurrentWriterGroupedByMimeType) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByRedacted ¶
type WriterHandlerCurrentWriterGroupedByRedacted map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByRedacted) Has ¶
func (index WriterHandlerCurrentWriterGroupedByRedacted) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByRedactionPolicyVersion ¶
type WriterHandlerCurrentWriterGroupedByRedactionPolicyVersion map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByRedactionPolicyVersion) Has ¶
func (index WriterHandlerCurrentWriterGroupedByRedactionPolicyVersion) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByRunId ¶
type WriterHandlerCurrentWriterGroupedByRunId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByRunId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByRunId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedBySchemaRef ¶
type WriterHandlerCurrentWriterGroupedBySchemaRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySchemaRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySchemaRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedBySequence ¶
type WriterHandlerCurrentWriterGroupedBySequence map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySequence) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySequence) Has(key int) bool
type WriterHandlerCurrentWriterGroupedBySizeBytes ¶
type WriterHandlerCurrentWriterGroupedBySizeBytes map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySizeBytes) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySizeBytes) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByStorage ¶
type WriterHandlerCurrentWriterGroupedByStorage map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByStorage) Has ¶
func (index WriterHandlerCurrentWriterGroupedByStorage) Has(key string) bool
type WriterHandlerCurrentWriterGroupedBySubtype ¶
type WriterHandlerCurrentWriterGroupedBySubtype map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySubtype) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySubtype) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByTenantId ¶
type WriterHandlerCurrentWriterGroupedByTenantId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByTenantId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByTenantId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByUri ¶
type WriterHandlerCurrentWriterGroupedByUri map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByUri) Has ¶
func (index WriterHandlerCurrentWriterGroupedByUri) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByCompression ¶
type WriterHandlerCurrentWriterIndexedByCompression map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByCompression) Has ¶
func (index WriterHandlerCurrentWriterIndexedByCompression) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByCreatedAt ¶
type WriterHandlerCurrentWriterIndexedByCreatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByDigest ¶
type WriterHandlerCurrentWriterIndexedByDigest map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDigest) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDigest) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByEncryptionKmsKeyId ¶
type WriterHandlerCurrentWriterIndexedByEncryptionKmsKeyId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByEncryptionKmsKeyId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByEncryptionKmsKeyId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedById ¶
type WriterHandlerCurrentWriterIndexedById map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedById) Has ¶
func (index WriterHandlerCurrentWriterIndexedById) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByKind ¶
type WriterHandlerCurrentWriterIndexedByKind map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByKind) Has ¶
func (index WriterHandlerCurrentWriterIndexedByKind) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByMimeType ¶
type WriterHandlerCurrentWriterIndexedByMimeType map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByMimeType) Has ¶
func (index WriterHandlerCurrentWriterIndexedByMimeType) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByRedacted ¶
type WriterHandlerCurrentWriterIndexedByRedacted map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByRedacted) Has ¶
func (index WriterHandlerCurrentWriterIndexedByRedacted) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByRedactionPolicyVersion ¶
type WriterHandlerCurrentWriterIndexedByRedactionPolicyVersion map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByRedactionPolicyVersion) Has ¶
func (index WriterHandlerCurrentWriterIndexedByRedactionPolicyVersion) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByRunId ¶
type WriterHandlerCurrentWriterIndexedByRunId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByRunId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByRunId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedBySchemaRef ¶
type WriterHandlerCurrentWriterIndexedBySchemaRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySchemaRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySchemaRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedBySequence ¶
type WriterHandlerCurrentWriterIndexedBySequence map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySequence) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySequence) Has(key int) bool
type WriterHandlerCurrentWriterIndexedBySizeBytes ¶
type WriterHandlerCurrentWriterIndexedBySizeBytes map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySizeBytes) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySizeBytes) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByStorage ¶
type WriterHandlerCurrentWriterIndexedByStorage map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByStorage) Has ¶
func (index WriterHandlerCurrentWriterIndexedByStorage) Has(key string) bool
type WriterHandlerCurrentWriterIndexedBySubtype ¶
type WriterHandlerCurrentWriterIndexedBySubtype map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySubtype) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySubtype) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByTenantId ¶
type WriterHandlerCurrentWriterIndexedByTenantId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByTenantId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByTenantId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByUri ¶
type WriterHandlerCurrentWriterIndexedByUri map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByUri) Has ¶
func (index WriterHandlerCurrentWriterIndexedByUri) Has(key string) bool
type WriterHandlerCurrentWriterSlice ¶
type WriterHandlerCurrentWriterSlice []*CurrentWriterView
func (WriterHandlerCurrentWriterSlice) GroupByCompression ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByCompression() WriterHandlerCurrentWriterGroupedByCompression
func (WriterHandlerCurrentWriterSlice) GroupByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
func (WriterHandlerCurrentWriterSlice) GroupByDigest ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDigest() WriterHandlerCurrentWriterGroupedByDigest
func (WriterHandlerCurrentWriterSlice) GroupByEncryptionKmsKeyId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByEncryptionKmsKeyId() WriterHandlerCurrentWriterGroupedByEncryptionKmsKeyId
func (WriterHandlerCurrentWriterSlice) GroupById ¶
func (rows WriterHandlerCurrentWriterSlice) GroupById() WriterHandlerCurrentWriterGroupedById
func (WriterHandlerCurrentWriterSlice) GroupByKind ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByKind() WriterHandlerCurrentWriterGroupedByKind
func (WriterHandlerCurrentWriterSlice) GroupByMimeType ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByMimeType() WriterHandlerCurrentWriterGroupedByMimeType
func (WriterHandlerCurrentWriterSlice) GroupByRedacted ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByRedacted() WriterHandlerCurrentWriterGroupedByRedacted
func (WriterHandlerCurrentWriterSlice) GroupByRedactionPolicyVersion ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByRedactionPolicyVersion() WriterHandlerCurrentWriterGroupedByRedactionPolicyVersion
func (WriterHandlerCurrentWriterSlice) GroupByRunId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByRunId() WriterHandlerCurrentWriterGroupedByRunId
func (WriterHandlerCurrentWriterSlice) GroupBySchemaRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySchemaRef() WriterHandlerCurrentWriterGroupedBySchemaRef
func (WriterHandlerCurrentWriterSlice) GroupBySequence ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySequence() WriterHandlerCurrentWriterGroupedBySequence
func (WriterHandlerCurrentWriterSlice) GroupBySizeBytes ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySizeBytes() WriterHandlerCurrentWriterGroupedBySizeBytes
func (WriterHandlerCurrentWriterSlice) GroupByStorage ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByStorage() WriterHandlerCurrentWriterGroupedByStorage
func (WriterHandlerCurrentWriterSlice) GroupBySubtype ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySubtype() WriterHandlerCurrentWriterGroupedBySubtype
func (WriterHandlerCurrentWriterSlice) GroupByTenantId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByTenantId() WriterHandlerCurrentWriterGroupedByTenantId
func (WriterHandlerCurrentWriterSlice) GroupByUri ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUri() WriterHandlerCurrentWriterGroupedByUri
func (WriterHandlerCurrentWriterSlice) IndexByCompression ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByCompression() (WriterHandlerCurrentWriterIndexedByCompression, error)
func (WriterHandlerCurrentWriterSlice) IndexByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByDigest ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDigest() (WriterHandlerCurrentWriterIndexedByDigest, error)
func (WriterHandlerCurrentWriterSlice) IndexByEncryptionKmsKeyId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByEncryptionKmsKeyId() (WriterHandlerCurrentWriterIndexedByEncryptionKmsKeyId, error)
func (WriterHandlerCurrentWriterSlice) IndexById ¶
func (rows WriterHandlerCurrentWriterSlice) IndexById() (WriterHandlerCurrentWriterIndexedById, error)
func (WriterHandlerCurrentWriterSlice) IndexByKind ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByKind() (WriterHandlerCurrentWriterIndexedByKind, error)
func (WriterHandlerCurrentWriterSlice) IndexByMimeType ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByMimeType() (WriterHandlerCurrentWriterIndexedByMimeType, error)
func (WriterHandlerCurrentWriterSlice) IndexByRedacted ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByRedacted() (WriterHandlerCurrentWriterIndexedByRedacted, error)
func (WriterHandlerCurrentWriterSlice) IndexByRedactionPolicyVersion ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByRedactionPolicyVersion() (WriterHandlerCurrentWriterIndexedByRedactionPolicyVersion, error)
func (WriterHandlerCurrentWriterSlice) IndexByRunId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByRunId() (WriterHandlerCurrentWriterIndexedByRunId, error)
func (WriterHandlerCurrentWriterSlice) IndexBySchemaRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySchemaRef() (WriterHandlerCurrentWriterIndexedBySchemaRef, error)
func (WriterHandlerCurrentWriterSlice) IndexBySequence ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySequence() (WriterHandlerCurrentWriterIndexedBySequence, error)
func (WriterHandlerCurrentWriterSlice) IndexBySizeBytes ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySizeBytes() (WriterHandlerCurrentWriterIndexedBySizeBytes, error)
func (WriterHandlerCurrentWriterSlice) IndexByStorage ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByStorage() (WriterHandlerCurrentWriterIndexedByStorage, error)
func (WriterHandlerCurrentWriterSlice) IndexBySubtype ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySubtype() (WriterHandlerCurrentWriterIndexedBySubtype, error)
func (WriterHandlerCurrentWriterSlice) IndexByTenantId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByTenantId() (WriterHandlerCurrentWriterIndexedByTenantId, error)
func (WriterHandlerCurrentWriterSlice) IndexByUri ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUri() (WriterHandlerCurrentWriterIndexedByUri, error)
type WriterHandlerReadIndexes ¶
type WriterHandlerReadIndexes struct {
CurrentWriter WriterHandlerCurrentWriterSlice
CurrentWriterById WriterHandlerCurrentWriterIndexedById
}
func BuildWriterHandlerReadIndexes ¶
func BuildWriterHandlerReadIndexes(ctx context.Context, input *Input) (*WriterHandlerReadIndexes, error)
type WriterKeysRow ¶
type WriterKeysRow struct {
Id string `sqlx:"id"`
}
Click to show internal directories.
Click to hide internal directories.