Documentation
¶
Index ¶
- func NewInternalError(err error) error
- func NewInvalidInputError(err error) error
- func NewNotFoundError(err error) error
- func NewResourceBusyError(err error) error
- func SetDefaultPermissions(instance Flow, permissions permV2Client.ResourcePermissions)
- type Cell
- type CellLink
- type CellPosition
- type ConfigValue
- type Flow
- type FlowsResponse
- type InternalError
- type InvalidInputError
- type Model
- type NotFoundError
- type ResourceBusyError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInternalError ¶
func NewInvalidInputError ¶
func NewNotFoundError ¶
func NewResourceBusyError ¶
func SetDefaultPermissions ¶ added in v0.0.7
func SetDefaultPermissions(instance Flow, permissions permV2Client.ResourcePermissions)
Types ¶
type Cell ¶
type Cell struct { Type string `json:"type,omitempty"` InPorts []string `json:"inPorts,omitempty"` OutPorts []string `json:"outPorts,omitempty"` Name *string `json:"name,omitempty"` Image *string `json:"image,omitempty"` OperatorId *string `json:"operatorId,omitempty"` Position *CellPosition `json:"position,omitempty"` Source *CellLink `json:"source,omitempty"` Target *CellLink `json:"target,omitempty"` Id string `json:"id,omitempty"` Config *[]ConfigValue `json:"config,omitempty"` Cost *int64 `json:"cost,omitempty"` DeploymentType *string `json:"deploymentType,omitempty"` }
type CellPosition ¶
type ConfigValue ¶ added in v0.0.3
type Flow ¶
type Flow struct { Id *primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` Name string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Model Model `json:"model,omitempty"` Image *string `json:"image,omitempty"` UserId string `bson:"userId,omitempty" json:"userId,omitempty"` DateCreated time.Time `bson:"dateCreated,omitempty" json:"dateCreated,omitempty"` DateUpdated time.Time `bson:"dateUpdated,omitempty" json:"dateUpdated,omitempty"` }
type FlowsResponse ¶
type InternalError ¶
type InternalError struct {
// contains filtered or unexported fields
}
type InvalidInputError ¶
type InvalidInputError struct {
// contains filtered or unexported fields
}
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.