Documentation ¶
Index ¶
- func New(t tools.DataType, username string, peerID string, groups []string, ...) *bookingMongoAccessor
- type Booking
- func (wfa *Booking) ArgoStatusToState(status string) *Booking
- func (wfa *Booking) CheckBooking(id string, start time.Time, end *time.Time) (bool, error)
- func (d *Booking) GetAccessor(username string, peerID string, groups []string, caller *tools.HTTPCaller) utils.Accessor
- func (d *Booking) GetName() string
- func (d *Booking) VerifyAuth(username string, peerID string, groups []string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Booking ¶
type Booking struct { workflow_execution.WorkflowExecution // WorkflowExecution contains the workflow execution data ComputeResourceID string `json:"compute_resource_id,omitempty" bson:"compute_resource_id,omitempty" validate:"required"` // ComputeResourceID is the ID of the compute resource specified in the booking }
* Booking is a struct that represents a booking
func (*Booking) ArgoStatusToState ¶
tool to convert the argo status to a state
func (*Booking) CheckBooking ¶
CheckBooking checks if a booking is possible on a specific compute resource
func (*Booking) GetAccessor ¶
Click to show internal directories.
Click to hide internal directories.