Documentation
¶
Overview ¶
Package forge_dashboard implements the ForgeDashboard block type and world operations.
Index ¶
- Constants
- Variables
- func LookupCreateForgeDashboardOp(ctx context.Context, operationTypeID string) (world.Operation, error)
- func LookupInitForgeQuickstartOp(ctx context.Context, operationTypeID string) (world.Operation, error)
- func LookupLinkForgeDashboardOp(ctx context.Context, operationTypeID string) (world.Operation, error)
- func NewCreateForgeDashboardOpBlock() block.Block
- func NewLinkForgeDashboardOpBlock() block.Block
- type CreateForgeDashboardOp
- func (o *CreateForgeDashboardOp) ApplyWorldObjectOp(ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID) (sysErr bool, err error)
- func (o *CreateForgeDashboardOp) ApplyWorldOp(ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID) (sysErr bool, err error)
- func (m *CreateForgeDashboardOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CreateForgeDashboardOp) CloneVT() *CreateForgeDashboardOp
- func (this *CreateForgeDashboardOp) EqualMessageVT(thatMsg any) bool
- func (this *CreateForgeDashboardOp) EqualVT(that *CreateForgeDashboardOp) bool
- func (x *CreateForgeDashboardOp) GetName() string
- func (x *CreateForgeDashboardOp) GetObjectKey() string
- func (o *CreateForgeDashboardOp) GetOperationTypeId() string
- func (x *CreateForgeDashboardOp) GetTimestamp() *timestamppb.Timestamp
- func (o *CreateForgeDashboardOp) MarshalBlock() ([]byte, error)
- func (x *CreateForgeDashboardOp) MarshalJSON() ([]byte, error)
- func (x *CreateForgeDashboardOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *CreateForgeDashboardOp) MarshalProtoText() string
- func (m *CreateForgeDashboardOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateForgeDashboardOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateForgeDashboardOp) MarshalVT() (dAtA []byte, err error)
- func (*CreateForgeDashboardOp) ProtoMessage()
- func (x *CreateForgeDashboardOp) Reset()
- func (m *CreateForgeDashboardOp) SizeVT() (n int)
- func (x *CreateForgeDashboardOp) String() string
- func (o *CreateForgeDashboardOp) UnmarshalBlock(data []byte) error
- func (x *CreateForgeDashboardOp) UnmarshalJSON(b []byte) error
- func (x *CreateForgeDashboardOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CreateForgeDashboardOp) UnmarshalVT(dAtA []byte) error
- func (o *CreateForgeDashboardOp) Validate() error
- type ForgeDashboard
- func (m *ForgeDashboard) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ForgeDashboard) CloneVT() *ForgeDashboard
- func (this *ForgeDashboard) EqualMessageVT(thatMsg any) bool
- func (this *ForgeDashboard) EqualVT(that *ForgeDashboard) bool
- func (d *ForgeDashboard) GetBlockTypeId() string
- func (x *ForgeDashboard) GetCreatedAt() *timestamppb.Timestamp
- func (x *ForgeDashboard) GetName() string
- func (d *ForgeDashboard) MarshalBlock() ([]byte, error)
- func (x *ForgeDashboard) MarshalJSON() ([]byte, error)
- func (x *ForgeDashboard) MarshalProtoJSON(s *json.MarshalState)
- func (x *ForgeDashboard) MarshalProtoText() string
- func (m *ForgeDashboard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ForgeDashboard) MarshalToVT(dAtA []byte) (int, error)
- func (m *ForgeDashboard) MarshalVT() (dAtA []byte, err error)
- func (*ForgeDashboard) ProtoMessage()
- func (x *ForgeDashboard) Reset()
- func (m *ForgeDashboard) SizeVT() (n int)
- func (x *ForgeDashboard) String() string
- func (d *ForgeDashboard) UnmarshalBlock(data []byte) error
- func (x *ForgeDashboard) UnmarshalJSON(b []byte) error
- func (x *ForgeDashboard) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ForgeDashboard) UnmarshalVT(dAtA []byte) error
- func (d *ForgeDashboard) Validate() error
- type InitForgeQuickstartOp
- func (o *InitForgeQuickstartOp) ApplyWorldObjectOp(ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID) (sysErr bool, err error)
- func (o *InitForgeQuickstartOp) ApplyWorldOp(ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID) (sysErr bool, err error)
- func (m *InitForgeQuickstartOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *InitForgeQuickstartOp) CloneVT() *InitForgeQuickstartOp
- func (this *InitForgeQuickstartOp) EqualMessageVT(thatMsg any) bool
- func (this *InitForgeQuickstartOp) EqualVT(that *InitForgeQuickstartOp) bool
- func (x *InitForgeQuickstartOp) GetClusterKey() string
- func (x *InitForgeQuickstartOp) GetClusterName() string
- func (x *InitForgeQuickstartOp) GetDashboardKey() string
- func (x *InitForgeQuickstartOp) GetLayoutKey() string
- func (o *InitForgeQuickstartOp) GetOperationTypeId() string
- func (x *InitForgeQuickstartOp) GetSessionPeerId() string
- func (x *InitForgeQuickstartOp) GetTimestamp() *timestamppb.Timestamp
- func (x *InitForgeQuickstartOp) GetWorkerKey() string
- func (o *InitForgeQuickstartOp) MarshalBlock() ([]byte, error)
- func (x *InitForgeQuickstartOp) MarshalJSON() ([]byte, error)
- func (x *InitForgeQuickstartOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *InitForgeQuickstartOp) MarshalProtoText() string
- func (m *InitForgeQuickstartOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InitForgeQuickstartOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *InitForgeQuickstartOp) MarshalVT() (dAtA []byte, err error)
- func (*InitForgeQuickstartOp) ProtoMessage()
- func (x *InitForgeQuickstartOp) Reset()
- func (m *InitForgeQuickstartOp) SizeVT() (n int)
- func (x *InitForgeQuickstartOp) String() string
- func (o *InitForgeQuickstartOp) UnmarshalBlock(data []byte) error
- func (x *InitForgeQuickstartOp) UnmarshalJSON(b []byte) error
- func (x *InitForgeQuickstartOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *InitForgeQuickstartOp) UnmarshalVT(dAtA []byte) error
- func (o *InitForgeQuickstartOp) Validate() error
- type LinkForgeDashboardOp
- func (o *LinkForgeDashboardOp) ApplyWorldObjectOp(ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID) (sysErr bool, err error)
- func (o *LinkForgeDashboardOp) ApplyWorldOp(ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID) (sysErr bool, err error)
- func (m *LinkForgeDashboardOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *LinkForgeDashboardOp) CloneVT() *LinkForgeDashboardOp
- func (this *LinkForgeDashboardOp) EqualMessageVT(thatMsg any) bool
- func (this *LinkForgeDashboardOp) EqualVT(that *LinkForgeDashboardOp) bool
- func (x *LinkForgeDashboardOp) GetDashboardKey() string
- func (x *LinkForgeDashboardOp) GetEntityKey() string
- func (o *LinkForgeDashboardOp) GetOperationTypeId() string
- func (o *LinkForgeDashboardOp) MarshalBlock() ([]byte, error)
- func (x *LinkForgeDashboardOp) MarshalJSON() ([]byte, error)
- func (x *LinkForgeDashboardOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *LinkForgeDashboardOp) MarshalProtoText() string
- func (m *LinkForgeDashboardOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LinkForgeDashboardOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *LinkForgeDashboardOp) MarshalVT() (dAtA []byte, err error)
- func (*LinkForgeDashboardOp) ProtoMessage()
- func (x *LinkForgeDashboardOp) Reset()
- func (m *LinkForgeDashboardOp) SizeVT() (n int)
- func (x *LinkForgeDashboardOp) String() string
- func (o *LinkForgeDashboardOp) UnmarshalBlock(data []byte) error
- func (x *LinkForgeDashboardOp) UnmarshalJSON(b []byte) error
- func (x *LinkForgeDashboardOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *LinkForgeDashboardOp) UnmarshalVT(dAtA []byte) error
- func (o *LinkForgeDashboardOp) Validate() error
Constants ¶
const ForgeDashboardTypeID = "spacewave/forge/dashboard"
ForgeDashboardTypeID is the type identifier for ForgeDashboard objects.
Variables ¶
var CreateForgeDashboardOpId = "spacewave/forge/dashboard/create"
CreateForgeDashboardOpId is the operation id for CreateForgeDashboardOp.
var InitForgeQuickstartOpId = "spacewave/forge/quickstart/init"
InitForgeQuickstartOpId is the operation id for InitForgeQuickstartOp.
var LinkForgeDashboardOpId = "spacewave/forge/dashboard/link"
LinkForgeDashboardOpId is the operation id for LinkForgeDashboardOp.
var PredDashboardForgeRef = quad.IRI("dashboard/forge-ref")
PredDashboardForgeRef is the graph predicate for linking a dashboard to a Forge entity.
Functions ¶
func LookupCreateForgeDashboardOp ¶
func LookupCreateForgeDashboardOp(ctx context.Context, operationTypeID string) (world.Operation, error)
LookupCreateForgeDashboardOp looks up a CreateForgeDashboardOp operation type.
func LookupInitForgeQuickstartOp ¶
func LookupInitForgeQuickstartOp(ctx context.Context, operationTypeID string) (world.Operation, error)
LookupInitForgeQuickstartOp looks up an InitForgeQuickstartOp operation type.
func LookupLinkForgeDashboardOp ¶
func LookupLinkForgeDashboardOp(ctx context.Context, operationTypeID string) (world.Operation, error)
LookupLinkForgeDashboardOp looks up a LinkForgeDashboardOp operation type.
func NewCreateForgeDashboardOpBlock ¶
NewCreateForgeDashboardOpBlock constructs a new CreateForgeDashboardOp block.
func NewLinkForgeDashboardOpBlock ¶
NewLinkForgeDashboardOpBlock constructs a new LinkForgeDashboardOp block.
Types ¶
type CreateForgeDashboardOp ¶
type CreateForgeDashboardOp struct {
// ObjectKey is the key to create the dashboard at.
ObjectKey string `protobuf:"bytes,1,opt,name=object_key,json=objectKey,proto3" json:"objectKey,omitempty"`
// Name is the display name of the dashboard.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Timestamp is the creation timestamp.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
CreateForgeDashboardOp creates a new ForgeDashboard world object.
func NewCreateForgeDashboardOp ¶
func NewCreateForgeDashboardOp(objKey, name string, ts time.Time) *CreateForgeDashboardOp
NewCreateForgeDashboardOp constructs a new CreateForgeDashboardOp.
func (*CreateForgeDashboardOp) ApplyWorldObjectOp ¶
func (o *CreateForgeDashboardOp) ApplyWorldObjectOp( ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID, ) (sysErr bool, err error)
ApplyWorldObjectOp applies the operation to a world object handle.
func (*CreateForgeDashboardOp) ApplyWorldOp ¶
func (o *CreateForgeDashboardOp) ApplyWorldOp( ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID, ) (sysErr bool, err error)
ApplyWorldOp applies the operation as a world operation.
func (*CreateForgeDashboardOp) CloneMessageVT ¶
func (m *CreateForgeDashboardOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CreateForgeDashboardOp) CloneVT ¶
func (m *CreateForgeDashboardOp) CloneVT() *CreateForgeDashboardOp
func (*CreateForgeDashboardOp) EqualMessageVT ¶
func (this *CreateForgeDashboardOp) EqualMessageVT(thatMsg any) bool
func (*CreateForgeDashboardOp) EqualVT ¶
func (this *CreateForgeDashboardOp) EqualVT(that *CreateForgeDashboardOp) bool
func (*CreateForgeDashboardOp) GetName ¶
func (x *CreateForgeDashboardOp) GetName() string
func (*CreateForgeDashboardOp) GetObjectKey ¶
func (x *CreateForgeDashboardOp) GetObjectKey() string
func (*CreateForgeDashboardOp) GetOperationTypeId ¶
func (o *CreateForgeDashboardOp) GetOperationTypeId() string
GetOperationTypeId returns the operation type identifier.
func (*CreateForgeDashboardOp) GetTimestamp ¶
func (x *CreateForgeDashboardOp) GetTimestamp() *timestamppb.Timestamp
func (*CreateForgeDashboardOp) MarshalBlock ¶
func (o *CreateForgeDashboardOp) MarshalBlock() ([]byte, error)
MarshalBlock marshals the block to binary.
func (*CreateForgeDashboardOp) MarshalJSON ¶
func (x *CreateForgeDashboardOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CreateForgeDashboardOp to JSON.
func (*CreateForgeDashboardOp) MarshalProtoJSON ¶
func (x *CreateForgeDashboardOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CreateForgeDashboardOp message to JSON.
func (*CreateForgeDashboardOp) MarshalProtoText ¶
func (x *CreateForgeDashboardOp) MarshalProtoText() string
func (*CreateForgeDashboardOp) MarshalToSizedBufferVT ¶
func (m *CreateForgeDashboardOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateForgeDashboardOp) MarshalToVT ¶
func (m *CreateForgeDashboardOp) MarshalToVT(dAtA []byte) (int, error)
func (*CreateForgeDashboardOp) MarshalVT ¶
func (m *CreateForgeDashboardOp) MarshalVT() (dAtA []byte, err error)
func (*CreateForgeDashboardOp) ProtoMessage ¶
func (*CreateForgeDashboardOp) ProtoMessage()
func (*CreateForgeDashboardOp) Reset ¶
func (x *CreateForgeDashboardOp) Reset()
func (*CreateForgeDashboardOp) SizeVT ¶
func (m *CreateForgeDashboardOp) SizeVT() (n int)
func (*CreateForgeDashboardOp) String ¶
func (x *CreateForgeDashboardOp) String() string
func (*CreateForgeDashboardOp) UnmarshalBlock ¶
func (o *CreateForgeDashboardOp) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the block to the object.
func (*CreateForgeDashboardOp) UnmarshalJSON ¶
func (x *CreateForgeDashboardOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CreateForgeDashboardOp from JSON.
func (*CreateForgeDashboardOp) UnmarshalProtoJSON ¶
func (x *CreateForgeDashboardOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CreateForgeDashboardOp message from JSON.
func (*CreateForgeDashboardOp) UnmarshalVT ¶
func (m *CreateForgeDashboardOp) UnmarshalVT(dAtA []byte) error
func (*CreateForgeDashboardOp) Validate ¶
func (o *CreateForgeDashboardOp) Validate() error
Validate performs cursory checks on the op.
type ForgeDashboard ¶
type ForgeDashboard struct {
// Name is the display name of this dashboard.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// CreatedAt is the time this dashboard was created.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"createdAt,omitempty"`
// contains filtered or unexported fields
}
ForgeDashboard is a unified control panel linking to Forge entities in a Space. Links to Forge entities via dashboard/forge-ref graph edges.
func (*ForgeDashboard) CloneMessageVT ¶
func (m *ForgeDashboard) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ForgeDashboard) CloneVT ¶
func (m *ForgeDashboard) CloneVT() *ForgeDashboard
func (*ForgeDashboard) EqualMessageVT ¶
func (this *ForgeDashboard) EqualMessageVT(thatMsg any) bool
func (*ForgeDashboard) EqualVT ¶
func (this *ForgeDashboard) EqualVT(that *ForgeDashboard) bool
func (*ForgeDashboard) GetBlockTypeId ¶
func (d *ForgeDashboard) GetBlockTypeId() string
GetBlockTypeId returns the block type identifier.
func (*ForgeDashboard) GetCreatedAt ¶
func (x *ForgeDashboard) GetCreatedAt() *timestamppb.Timestamp
func (*ForgeDashboard) GetName ¶
func (x *ForgeDashboard) GetName() string
func (*ForgeDashboard) MarshalBlock ¶
func (d *ForgeDashboard) MarshalBlock() ([]byte, error)
MarshalBlock marshals the block to binary.
func (*ForgeDashboard) MarshalJSON ¶
func (x *ForgeDashboard) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ForgeDashboard to JSON.
func (*ForgeDashboard) MarshalProtoJSON ¶
func (x *ForgeDashboard) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ForgeDashboard message to JSON.
func (*ForgeDashboard) MarshalProtoText ¶
func (x *ForgeDashboard) MarshalProtoText() string
func (*ForgeDashboard) MarshalToSizedBufferVT ¶
func (m *ForgeDashboard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ForgeDashboard) MarshalToVT ¶
func (m *ForgeDashboard) MarshalToVT(dAtA []byte) (int, error)
func (*ForgeDashboard) MarshalVT ¶
func (m *ForgeDashboard) MarshalVT() (dAtA []byte, err error)
func (*ForgeDashboard) ProtoMessage ¶
func (*ForgeDashboard) ProtoMessage()
func (*ForgeDashboard) Reset ¶
func (x *ForgeDashboard) Reset()
func (*ForgeDashboard) SizeVT ¶
func (m *ForgeDashboard) SizeVT() (n int)
func (*ForgeDashboard) String ¶
func (x *ForgeDashboard) String() string
func (*ForgeDashboard) UnmarshalBlock ¶
func (d *ForgeDashboard) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the block from binary.
func (*ForgeDashboard) UnmarshalJSON ¶
func (x *ForgeDashboard) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ForgeDashboard from JSON.
func (*ForgeDashboard) UnmarshalProtoJSON ¶
func (x *ForgeDashboard) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ForgeDashboard message from JSON.
func (*ForgeDashboard) UnmarshalVT ¶
func (m *ForgeDashboard) UnmarshalVT(dAtA []byte) error
func (*ForgeDashboard) Validate ¶
func (d *ForgeDashboard) Validate() error
Validate performs cursory checks on the ForgeDashboard.
type InitForgeQuickstartOp ¶
type InitForgeQuickstartOp struct {
// LayoutKey is the object key for the ObjectLayout.
LayoutKey string `protobuf:"bytes,1,opt,name=layout_key,json=layoutKey,proto3" json:"layoutKey,omitempty"`
// DashboardKey is the object key for the Forge Dashboard.
DashboardKey string `protobuf:"bytes,2,opt,name=dashboard_key,json=dashboardKey,proto3" json:"dashboardKey,omitempty"`
// ClusterKey is the object key for the Forge Cluster.
ClusterKey string `protobuf:"bytes,3,opt,name=cluster_key,json=clusterKey,proto3" json:"clusterKey,omitempty"`
// ClusterName is the display name for the cluster.
ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"clusterName,omitempty"`
// Timestamp is the creation timestamp.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// WorkerKey is the object key for the session worker.
// If empty, no worker is created.
WorkerKey string `protobuf:"bytes,6,opt,name=worker_key,json=workerKey,proto3" json:"workerKey,omitempty"`
// SessionPeerId is the peer ID of the creating session.
// Used to link the worker to the session's keypair.
SessionPeerId string `protobuf:"bytes,7,opt,name=session_peer_id,json=sessionPeerId,proto3" json:"sessionPeerId,omitempty"`
// contains filtered or unexported fields
}
InitForgeQuickstartOp creates a complete Forge environment: ObjectLayout with dashboard tab, cluster, sample job with tasks, and optionally a worker linked to the session peer.
func (*InitForgeQuickstartOp) ApplyWorldObjectOp ¶
func (o *InitForgeQuickstartOp) ApplyWorldObjectOp( ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID, ) (sysErr bool, err error)
ApplyWorldObjectOp applies the operation to a world object handle.
func (*InitForgeQuickstartOp) ApplyWorldOp ¶
func (o *InitForgeQuickstartOp) ApplyWorldOp( ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID, ) (sysErr bool, err error)
ApplyWorldOp applies the operation as a world operation.
func (*InitForgeQuickstartOp) CloneMessageVT ¶
func (m *InitForgeQuickstartOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*InitForgeQuickstartOp) CloneVT ¶
func (m *InitForgeQuickstartOp) CloneVT() *InitForgeQuickstartOp
func (*InitForgeQuickstartOp) EqualMessageVT ¶
func (this *InitForgeQuickstartOp) EqualMessageVT(thatMsg any) bool
func (*InitForgeQuickstartOp) EqualVT ¶
func (this *InitForgeQuickstartOp) EqualVT(that *InitForgeQuickstartOp) bool
func (*InitForgeQuickstartOp) GetClusterKey ¶
func (x *InitForgeQuickstartOp) GetClusterKey() string
func (*InitForgeQuickstartOp) GetClusterName ¶
func (x *InitForgeQuickstartOp) GetClusterName() string
func (*InitForgeQuickstartOp) GetDashboardKey ¶
func (x *InitForgeQuickstartOp) GetDashboardKey() string
func (*InitForgeQuickstartOp) GetLayoutKey ¶
func (x *InitForgeQuickstartOp) GetLayoutKey() string
func (*InitForgeQuickstartOp) GetOperationTypeId ¶
func (o *InitForgeQuickstartOp) GetOperationTypeId() string
GetOperationTypeId returns the operation type identifier.
func (*InitForgeQuickstartOp) GetSessionPeerId ¶
func (x *InitForgeQuickstartOp) GetSessionPeerId() string
func (*InitForgeQuickstartOp) GetTimestamp ¶
func (x *InitForgeQuickstartOp) GetTimestamp() *timestamppb.Timestamp
func (*InitForgeQuickstartOp) GetWorkerKey ¶
func (x *InitForgeQuickstartOp) GetWorkerKey() string
func (*InitForgeQuickstartOp) MarshalBlock ¶
func (o *InitForgeQuickstartOp) MarshalBlock() ([]byte, error)
MarshalBlock marshals the block to binary.
func (*InitForgeQuickstartOp) MarshalJSON ¶
func (x *InitForgeQuickstartOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the InitForgeQuickstartOp to JSON.
func (*InitForgeQuickstartOp) MarshalProtoJSON ¶
func (x *InitForgeQuickstartOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the InitForgeQuickstartOp message to JSON.
func (*InitForgeQuickstartOp) MarshalProtoText ¶
func (x *InitForgeQuickstartOp) MarshalProtoText() string
func (*InitForgeQuickstartOp) MarshalToSizedBufferVT ¶
func (m *InitForgeQuickstartOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InitForgeQuickstartOp) MarshalToVT ¶
func (m *InitForgeQuickstartOp) MarshalToVT(dAtA []byte) (int, error)
func (*InitForgeQuickstartOp) MarshalVT ¶
func (m *InitForgeQuickstartOp) MarshalVT() (dAtA []byte, err error)
func (*InitForgeQuickstartOp) ProtoMessage ¶
func (*InitForgeQuickstartOp) ProtoMessage()
func (*InitForgeQuickstartOp) Reset ¶
func (x *InitForgeQuickstartOp) Reset()
func (*InitForgeQuickstartOp) SizeVT ¶
func (m *InitForgeQuickstartOp) SizeVT() (n int)
func (*InitForgeQuickstartOp) String ¶
func (x *InitForgeQuickstartOp) String() string
func (*InitForgeQuickstartOp) UnmarshalBlock ¶
func (o *InitForgeQuickstartOp) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the block to the object.
func (*InitForgeQuickstartOp) UnmarshalJSON ¶
func (x *InitForgeQuickstartOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the InitForgeQuickstartOp from JSON.
func (*InitForgeQuickstartOp) UnmarshalProtoJSON ¶
func (x *InitForgeQuickstartOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the InitForgeQuickstartOp message from JSON.
func (*InitForgeQuickstartOp) UnmarshalVT ¶
func (m *InitForgeQuickstartOp) UnmarshalVT(dAtA []byte) error
func (*InitForgeQuickstartOp) Validate ¶
func (o *InitForgeQuickstartOp) Validate() error
Validate performs cursory checks on the op.
type LinkForgeDashboardOp ¶
type LinkForgeDashboardOp struct {
// DashboardKey is the dashboard object key.
DashboardKey string `protobuf:"bytes,1,opt,name=dashboard_key,json=dashboardKey,proto3" json:"dashboardKey,omitempty"`
// EntityKey is the Forge entity object key to link.
EntityKey string `protobuf:"bytes,2,opt,name=entity_key,json=entityKey,proto3" json:"entityKey,omitempty"`
// contains filtered or unexported fields
}
LinkForgeDashboardOp links a Forge entity to a ForgeDashboard.
func NewLinkForgeDashboardOp ¶
func NewLinkForgeDashboardOp(dashboardKey, entityKey string) *LinkForgeDashboardOp
NewLinkForgeDashboardOp constructs a new LinkForgeDashboardOp.
func (*LinkForgeDashboardOp) ApplyWorldObjectOp ¶
func (o *LinkForgeDashboardOp) ApplyWorldObjectOp( ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID, ) (sysErr bool, err error)
ApplyWorldObjectOp applies the operation to a world object handle.
func (*LinkForgeDashboardOp) ApplyWorldOp ¶
func (o *LinkForgeDashboardOp) ApplyWorldOp( ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID, ) (sysErr bool, err error)
ApplyWorldOp applies the operation as a world operation.
func (*LinkForgeDashboardOp) CloneMessageVT ¶
func (m *LinkForgeDashboardOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*LinkForgeDashboardOp) CloneVT ¶
func (m *LinkForgeDashboardOp) CloneVT() *LinkForgeDashboardOp
func (*LinkForgeDashboardOp) EqualMessageVT ¶
func (this *LinkForgeDashboardOp) EqualMessageVT(thatMsg any) bool
func (*LinkForgeDashboardOp) EqualVT ¶
func (this *LinkForgeDashboardOp) EqualVT(that *LinkForgeDashboardOp) bool
func (*LinkForgeDashboardOp) GetDashboardKey ¶
func (x *LinkForgeDashboardOp) GetDashboardKey() string
func (*LinkForgeDashboardOp) GetEntityKey ¶
func (x *LinkForgeDashboardOp) GetEntityKey() string
func (*LinkForgeDashboardOp) GetOperationTypeId ¶
func (o *LinkForgeDashboardOp) GetOperationTypeId() string
GetOperationTypeId returns the operation type identifier.
func (*LinkForgeDashboardOp) MarshalBlock ¶
func (o *LinkForgeDashboardOp) MarshalBlock() ([]byte, error)
MarshalBlock marshals the block to binary.
func (*LinkForgeDashboardOp) MarshalJSON ¶
func (x *LinkForgeDashboardOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the LinkForgeDashboardOp to JSON.
func (*LinkForgeDashboardOp) MarshalProtoJSON ¶
func (x *LinkForgeDashboardOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the LinkForgeDashboardOp message to JSON.
func (*LinkForgeDashboardOp) MarshalProtoText ¶
func (x *LinkForgeDashboardOp) MarshalProtoText() string
func (*LinkForgeDashboardOp) MarshalToSizedBufferVT ¶
func (m *LinkForgeDashboardOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LinkForgeDashboardOp) MarshalToVT ¶
func (m *LinkForgeDashboardOp) MarshalToVT(dAtA []byte) (int, error)
func (*LinkForgeDashboardOp) MarshalVT ¶
func (m *LinkForgeDashboardOp) MarshalVT() (dAtA []byte, err error)
func (*LinkForgeDashboardOp) ProtoMessage ¶
func (*LinkForgeDashboardOp) ProtoMessage()
func (*LinkForgeDashboardOp) Reset ¶
func (x *LinkForgeDashboardOp) Reset()
func (*LinkForgeDashboardOp) SizeVT ¶
func (m *LinkForgeDashboardOp) SizeVT() (n int)
func (*LinkForgeDashboardOp) String ¶
func (x *LinkForgeDashboardOp) String() string
func (*LinkForgeDashboardOp) UnmarshalBlock ¶
func (o *LinkForgeDashboardOp) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the block to the object.
func (*LinkForgeDashboardOp) UnmarshalJSON ¶
func (x *LinkForgeDashboardOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the LinkForgeDashboardOp from JSON.
func (*LinkForgeDashboardOp) UnmarshalProtoJSON ¶
func (x *LinkForgeDashboardOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the LinkForgeDashboardOp message from JSON.
func (*LinkForgeDashboardOp) UnmarshalVT ¶
func (m *LinkForgeDashboardOp) UnmarshalVT(dAtA []byte) error
func (*LinkForgeDashboardOp) Validate ¶
func (o *LinkForgeDashboardOp) Validate() error
Validate performs cursory checks on the op.