Versions in this module Expand all Collapse all v0 v0.22.0 Jun 6, 2023 Changes in this version + func AddArtifactMeta(ctxt context.Context, artifactID string, schemaName string, schema io.Reader, ...) (adapter.Payload, error) + func AddArtifactToCollection(ctxt context.Context, artifactID string, collectionName string, ...) (adapter.Payload, error) + func AddProgressBar(description string, size int64, reader io.Reader) io.Reader + func AddUpdateMetadata(ctxt context.Context, isAdd bool, entity string, schema string, meta []byte, ...) (adapter.Payload, error) + func BaseEncode(value string) string + func CreateArtifact(ctxt context.Context, cmd *CreateArtifactRequest, contentType string, ...) (*api.UploadResponseBody, error) + func CreateArtifactRaw(ctxt context.Context, cmd *CreateArtifactRequest, contentType string, ...) (adapter.Payload, error) + func CreateOrder(ctxt context.Context, cmd *api.CreateRequestBody, adpt *adapter.Adapter, ...) (*api.CreateResponseBody, error) + func CreateOrderRaw(ctxt context.Context, cmd *api.CreateRequestBody, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func CreateServiceRaw(ctxt context.Context, cmd *api.CreateRequestBody, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func GetMetadata(ctxt context.Context, recordID string, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func GetProgressBar(description string, size int64) io.Writer + func ListArtifacts(ctxt context.Context, cmd *ListArtifactRequest, adpt *adapter.Adapter, ...) (*api.ListResponseBody, error) + func ListArtifactsRaw(ctxt context.Context, cmd *ListArtifactRequest, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func ListMetadata(ctxt context.Context, entity string, schemaPrefix string, timestamp *time.Time, ...) (*api.ListResponseBody, adapter.Payload, error) + func ListOrders(ctxt context.Context, cmd *ListOrderRequest, adpt *adapter.Adapter, ...) (*api.ListResponseBody, error) + func ListOrdersRaw(ctxt context.Context, cmd *ListOrderRequest, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func ListServices(ctxt context.Context, cmd *ListServiceRequest, adpt *adapter.Adapter, ...) (*api.ListResponseBody, error) + func ListServicesRaw(ctxt context.Context, cmd *ListServiceRequest, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func ReadArtifact(ctxt context.Context, cmd *ReadArtifactRequest, adpt *adapter.Adapter, ...) (*api.ReadResponseBody, error) + func ReadArtifactRaw(ctxt context.Context, cmd *ReadArtifactRequest, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func ReadOrder(ctxt context.Context, cmd *ReadOrderRequest, adpt *adapter.Adapter, ...) (*api.ReadResponseBody, error) + func ReadOrderRaw(ctxt context.Context, cmd *ReadOrderRequest, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func ReadService(ctxt context.Context, cmd *ReadServiceRequest, adpt *adapter.Adapter, ...) (*api.ReadResponseBody, error) + func ReadServiceRaw(ctxt context.Context, cmd *ReadServiceRequest, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func RemoveArtifactToCollection(ctxt context.Context, artifactID string, collectionName string, ...) (adapter.Payload, error) + func RevokeMetadata(ctxt context.Context, recordID string, adpt *adapter.Adapter, ...) (adapter.Payload, error) + func UpdateServiceRaw(ctxt context.Context, id string, createAnyway bool, cmd *api.UpdateRequestBody, ...) (adapter.Payload, error) + func UploadArtifact(ctxt context.Context, reader io.Reader, size int64, offset int64, ...) (err error) + type CreateArtifactRequest struct + Collection string + Meta map[string]string + Name string + Size int64 + type ListArtifactRequest struct + Limit int + Offset int + type ListOrderRequest struct + Limit int + Offset int + type ListServiceRequest struct + Limit int + Offset int + type ReadArtifactRequest struct + Id string + type ReadOrderRequest struct + Id string + type ReadServiceRequest struct + Id string