Include the accumulated workflow scheduling, run history, subtree rerun, operator UI, deployment, data asset, object storage, database browser, and documentation changes currently in the worktree.
80 lines
2.8 KiB
Go
80 lines
2.8 KiB
Go
package domain
|
|
|
|
type ObjectStorageBucketSummary struct {
|
|
Name string `json:"name"`
|
|
ObjectCount int64 `json:"objectCount,omitempty"`
|
|
TotalBytes int64 `json:"totalBytes,omitempty"`
|
|
CreatedAt string `json:"createdAt,omitempty"`
|
|
LastModified string `json:"lastModified,omitempty"`
|
|
}
|
|
|
|
type ObjectStorageObjectSummary struct {
|
|
Bucket string `json:"bucket"`
|
|
Key string `json:"key"`
|
|
Name string `json:"name"`
|
|
Kind string `json:"kind"`
|
|
SizeBytes int64 `json:"sizeBytes,omitempty"`
|
|
ContentType string `json:"contentType,omitempty"`
|
|
ETag string `json:"etag,omitempty"`
|
|
LastModified string `json:"lastModified,omitempty"`
|
|
StorageClass string `json:"storageClass,omitempty"`
|
|
Metadata map[string]any `json:"metadata,omitempty"`
|
|
}
|
|
|
|
type ObjectStorageOverview struct {
|
|
ConnectionID string `json:"connectionId,omitempty"`
|
|
ConnectionName string `json:"connectionName,omitempty"`
|
|
Provider string `json:"provider"`
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
Bucket string `json:"bucket,omitempty"`
|
|
Configured bool `json:"configured"`
|
|
Buckets []ObjectStorageBucketSummary `json:"buckets"`
|
|
}
|
|
|
|
type ObjectStorageBrowseResult struct {
|
|
ConnectionID string `json:"connectionId,omitempty"`
|
|
ConnectionName string `json:"connectionName,omitempty"`
|
|
Provider string `json:"provider"`
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
Configured bool `json:"configured"`
|
|
Bucket string `json:"bucket"`
|
|
Prefix string `json:"prefix,omitempty"`
|
|
Items []ObjectStorageObjectSummary `json:"items"`
|
|
}
|
|
|
|
type ObjectStorageBucketCreateInput struct {
|
|
Name string `json:"name"`
|
|
}
|
|
|
|
type ObjectStorageBucketMutationResult struct {
|
|
Bucket ObjectStorageBucketSummary `json:"bucket"`
|
|
}
|
|
|
|
type ObjectStorageBucketDeleteResult struct {
|
|
Bucket string `json:"bucket"`
|
|
Deleted bool `json:"deleted"`
|
|
}
|
|
|
|
type ObjectStorageObjectPutInput struct {
|
|
Bucket string `json:"bucket"`
|
|
Key string `json:"key"`
|
|
Content string `json:"content"`
|
|
ContentType string `json:"contentType,omitempty"`
|
|
}
|
|
|
|
type ObjectStorageObjectRenameInput struct {
|
|
Bucket string `json:"bucket"`
|
|
Key string `json:"key"`
|
|
NewKey string `json:"newKey"`
|
|
}
|
|
|
|
type ObjectStorageObjectMutationResult struct {
|
|
Object ObjectStorageObjectSummary `json:"object"`
|
|
}
|
|
|
|
type ObjectStorageObjectDeleteResult struct {
|
|
Bucket string `json:"bucket"`
|
|
Key string `json:"key"`
|
|
Deleted bool `json:"deleted"`
|
|
}
|