resources

package
v0.0.0-...-3b77c0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemResource

type ItemResource struct {
	Data       *data.DataResource             `bson:"data,omitempty" json:"data,omitempty"`
	Processing *processing.ProcessingResource `bson:"processing,omitempty" json:"processing,omitempty"`
	Storage    *storage.StorageResource       `bson:"storage,omitempty" json:"storage,omitempty"`
	Compute    *compute.ComputeResource       `bson:"compute,omitempty" json:"compute,omitempty"`
	Workflow   *w.WorkflowResource            `bson:"workflow,omitempty" json:"workflow,omitempty"`
}

func (*ItemResource) GetAbstractRessource

func (i *ItemResource) GetAbstractRessource() *resource_model.AbstractResource

type ResourceSet

type ResourceSet struct {
	Datas       []string `bson:"datas,omitempty" json:"datas,omitempty"`
	Storages    []string `bson:"storages,omitempty" json:"storages,omitempty"`
	Processings []string `bson:"processings,omitempty" json:"processings,omitempty"`
	Computes    []string `bson:"computes,omitempty" json:"computes,omitempty"`
	Workflows   []string `bson:"workflows,omitempty" json:"workflows,omitempty"`

	DataResources       []*data.DataResource             `bson:"-" json:"data_resources,omitempty"`
	StorageResources    []*storage.StorageResource       `bson:"-" json:"storage_resources,omitempty"`
	ProcessingResources []*processing.ProcessingResource `bson:"-" json:"processing_resources,omitempty"`
	ComputeResources    []*compute.ComputeResource       `bson:"-" json:"compute_resources,omitempty"`
	WorkflowResources   []*w.WorkflowResource            `bson:"-" json:"workflow_resources,omitempty"`
}

http://www.inanzzz.com/index.php/post/wqbs/a-basic-usage-of-int-and-string-enum-types-in-golang

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL