Documentation ¶
Index ¶
- 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
- type ListArtifactRequest
- type ListOrderRequest
- type ListServiceRequest
- type ReadArtifactRequest
- type ReadOrderRequest
- type ReadServiceRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddArtifactMeta ¶
func AddArtifactToCollection ¶
func AddProgressBar ¶
func AddUpdateMetadata ¶
func BaseEncode ¶
func CreateArtifact ¶
func CreateArtifactRaw ¶
func CreateOrder ¶
func CreateOrderRaw ¶
func CreateServiceRaw ¶
func CreateServiceRaw(ctxt context.Context, cmd *api.CreateRequestBody, adpt *adapter.Adapter, logger *log.Logger) (adapter.Payload, error)
type CreateServiceRequest struct { Id string `json:"id"` Name string `json:"name"` }
func GetMetadata ¶
func ListArtifacts ¶
func ListArtifacts(ctxt context.Context, cmd *ListArtifactRequest, adpt *adapter.Adapter, logger *log.Logger) (*api.ListResponseBody, error)
func ListArtifactsRaw ¶
func ListMetadata ¶
func ListOrders ¶
func ListOrders(ctxt context.Context, cmd *ListOrderRequest, adpt *adapter.Adapter, logger *log.Logger) (*api.ListResponseBody, error)
func ListOrdersRaw ¶
func ListServices ¶
func ListServices(ctxt context.Context, cmd *ListServiceRequest, adpt *adapter.Adapter, logger *log.Logger) (*api.ListResponseBody, error)
func ListServicesRaw ¶
func ReadArtifact ¶
func ReadArtifact(ctxt context.Context, cmd *ReadArtifactRequest, adpt *adapter.Adapter, logger *log.Logger) (*api.ReadResponseBody, error)
func ReadArtifactRaw ¶
func ReadOrder ¶
func ReadOrder(ctxt context.Context, cmd *ReadOrderRequest, adpt *adapter.Adapter, logger *log.Logger) (*api.ReadResponseBody, error)
func ReadOrderRaw ¶
func ReadService ¶
func ReadService(ctxt context.Context, cmd *ReadServiceRequest, adpt *adapter.Adapter, logger *log.Logger) (*api.ReadResponseBody, error)
func ReadServiceRaw ¶
func RevokeMetadata ¶
func UpdateServiceRaw ¶
Types ¶
type CreateArtifactRequest ¶
type ListArtifactRequest ¶
type ListOrderRequest ¶
type ListServiceRequest ¶
type ReadArtifactRequest ¶
type ReadArtifactRequest struct {
Id string
}
type ReadOrderRequest ¶
type ReadOrderRequest struct {
Id string
}
type ReadServiceRequest ¶
type ReadServiceRequest struct {
Id string
}
Directories ¶
Path | Synopsis |
---|---|
Program to create, update & delete aspect schemas in cayp Adapted from https://github.com/maxott/cayp-cli/blob/main/pkg/adapter/adapter.go
|
Program to create, update & delete aspect schemas in cayp Adapted from https://github.com/maxott/cayp-cli/blob/main/pkg/adapter/adapter.go |
Click to show internal directories.
Click to hide internal directories.