Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterScheduledEventSvcServer(s grpc.ServiceRegistrar, srv ScheduledEventSvcServer)
- type CreateScheduledEventRequest
- func (*CreateScheduledEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateScheduledEventRequest) GetAccessCode() string
- func (x *CreateScheduledEventRequest) GetCoursesRaw() string
- func (x *CreateScheduledEventRequest) GetCreator() string
- func (x *CreateScheduledEventRequest) GetDescription() string
- func (x *CreateScheduledEventRequest) GetEndTime() string
- func (x *CreateScheduledEventRequest) GetLabels() map[string]string
- func (x *CreateScheduledEventRequest) GetName() string
- func (x *CreateScheduledEventRequest) GetOnDemand() bool
- func (x *CreateScheduledEventRequest) GetPrintable() bool
- func (x *CreateScheduledEventRequest) GetRequiredVmsRaw() string
- func (x *CreateScheduledEventRequest) GetRestrictedBind() bool
- func (x *CreateScheduledEventRequest) GetScenariosRaw() string
- func (x *CreateScheduledEventRequest) GetStartTime() string
- func (*CreateScheduledEventRequest) ProtoMessage()
- func (x *CreateScheduledEventRequest) ProtoReflect() protoreflect.Message
- func (x *CreateScheduledEventRequest) Reset()
- func (x *CreateScheduledEventRequest) String() string
- type ListScheduledEventsResponse
- func (*ListScheduledEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListScheduledEventsResponse) GetScheduledevents() []*ScheduledEvent
- func (*ListScheduledEventsResponse) ProtoMessage()
- func (x *ListScheduledEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListScheduledEventsResponse) Reset()
- func (x *ListScheduledEventsResponse) String() string
- type ScheduledEvent
- func (*ScheduledEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduledEvent) GetAccessCode() string
- func (x *ScheduledEvent) GetCourses() []string
- func (x *ScheduledEvent) GetCreator() string
- func (x *ScheduledEvent) GetDescription() string
- func (x *ScheduledEvent) GetEndTime() string
- func (x *ScheduledEvent) GetId() string
- func (x *ScheduledEvent) GetLabels() map[string]string
- func (x *ScheduledEvent) GetName() string
- func (x *ScheduledEvent) GetOnDemand() bool
- func (x *ScheduledEvent) GetPrintable() bool
- func (x *ScheduledEvent) GetRequiredVms() map[string]*VMTemplateCountMap
- func (x *ScheduledEvent) GetRestrictedBind() bool
- func (x *ScheduledEvent) GetRestrictedBindValue() string
- func (x *ScheduledEvent) GetScenarios() []string
- func (x *ScheduledEvent) GetStartTime() string
- func (x *ScheduledEvent) GetStatus() *ScheduledEventStatus
- func (x *ScheduledEvent) GetUid() string
- func (*ScheduledEvent) ProtoMessage()
- func (x *ScheduledEvent) ProtoReflect() protoreflect.Message
- func (x *ScheduledEvent) Reset()
- func (x *ScheduledEvent) String() string
- type ScheduledEventStatus
- func (*ScheduledEventStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduledEventStatus) GetActive() bool
- func (x *ScheduledEventStatus) GetFinished() bool
- func (x *ScheduledEventStatus) GetProvisioned() bool
- func (x *ScheduledEventStatus) GetReady() bool
- func (x *ScheduledEventStatus) GetVmsets() []string
- func (*ScheduledEventStatus) ProtoMessage()
- func (x *ScheduledEventStatus) ProtoReflect() protoreflect.Message
- func (x *ScheduledEventStatus) Reset()
- func (x *ScheduledEventStatus) String() string
- type ScheduledEventSvcClient
- type ScheduledEventSvcServer
- type UnimplementedScheduledEventSvcServer
- func (UnimplementedScheduledEventSvcServer) CreateScheduledEvent(context.Context, *CreateScheduledEventRequest) (*general.ResourceId, error)
- func (UnimplementedScheduledEventSvcServer) DeleteCollectionScheduledEvent(context.Context, *general.ListOptions) (*emptypb.Empty, error)
- func (UnimplementedScheduledEventSvcServer) DeleteScheduledEvent(context.Context, *general.ResourceId) (*emptypb.Empty, error)
- func (UnimplementedScheduledEventSvcServer) GetScheduledEvent(context.Context, *general.GetRequest) (*ScheduledEvent, error)
- func (UnimplementedScheduledEventSvcServer) ListScheduledEvent(context.Context, *general.ListOptions) (*ListScheduledEventsResponse, error)
- func (UnimplementedScheduledEventSvcServer) UpdateScheduledEvent(context.Context, *UpdateScheduledEventRequest) (*emptypb.Empty, error)
- func (UnimplementedScheduledEventSvcServer) UpdateScheduledEventStatus(context.Context, *UpdateScheduledEventStatusRequest) (*emptypb.Empty, error)
- type UnsafeScheduledEventSvcServer
- type UpdateScheduledEventRequest
- func (*UpdateScheduledEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateScheduledEventRequest) GetAccessCode() string
- func (x *UpdateScheduledEventRequest) GetCoursesRaw() string
- func (x *UpdateScheduledEventRequest) GetDescription() string
- func (x *UpdateScheduledEventRequest) GetEndTime() string
- func (x *UpdateScheduledEventRequest) GetId() string
- func (x *UpdateScheduledEventRequest) GetName() string
- func (x *UpdateScheduledEventRequest) GetOnDemand() *wrapperspb.BoolValue
- func (x *UpdateScheduledEventRequest) GetPrintable() *wrapperspb.BoolValue
- func (x *UpdateScheduledEventRequest) GetRequiredVmsRaw() string
- func (x *UpdateScheduledEventRequest) GetRestrictedBind() *wrapperspb.BoolValue
- func (x *UpdateScheduledEventRequest) GetScenariosRaw() string
- func (x *UpdateScheduledEventRequest) GetStartTime() string
- func (*UpdateScheduledEventRequest) ProtoMessage()
- func (x *UpdateScheduledEventRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateScheduledEventRequest) Reset()
- func (x *UpdateScheduledEventRequest) String() string
- type UpdateScheduledEventStatusRequest
- func (*UpdateScheduledEventStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateScheduledEventStatusRequest) GetActive() *wrapperspb.BoolValue
- func (x *UpdateScheduledEventStatusRequest) GetFinished() *wrapperspb.BoolValue
- func (x *UpdateScheduledEventStatusRequest) GetId() string
- func (x *UpdateScheduledEventStatusRequest) GetProvisioned() *wrapperspb.BoolValue
- func (x *UpdateScheduledEventStatusRequest) GetReady() *wrapperspb.BoolValue
- func (x *UpdateScheduledEventStatusRequest) GetVmsets() *VMSetsWrapper
- func (*UpdateScheduledEventStatusRequest) ProtoMessage()
- func (x *UpdateScheduledEventStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateScheduledEventStatusRequest) Reset()
- func (x *UpdateScheduledEventStatusRequest) String() string
- type VMSetsWrapper
- type VMTemplateCountMap
- func (*VMTemplateCountMap) Descriptor() ([]byte, []int)deprecated
- func (x *VMTemplateCountMap) GetVmTemplateCounts() map[string]uint32
- func (*VMTemplateCountMap) ProtoMessage()
- func (x *VMTemplateCountMap) ProtoReflect() protoreflect.Message
- func (x *VMTemplateCountMap) Reset()
- func (x *VMTemplateCountMap) String() string
Constants ¶
const ( ScheduledEventSvc_CreateScheduledEvent_FullMethodName = "/scheduledevent.ScheduledEventSvc/CreateScheduledEvent" ScheduledEventSvc_GetScheduledEvent_FullMethodName = "/scheduledevent.ScheduledEventSvc/GetScheduledEvent" ScheduledEventSvc_UpdateScheduledEvent_FullMethodName = "/scheduledevent.ScheduledEventSvc/UpdateScheduledEvent" ScheduledEventSvc_UpdateScheduledEventStatus_FullMethodName = "/scheduledevent.ScheduledEventSvc/UpdateScheduledEventStatus" ScheduledEventSvc_DeleteScheduledEvent_FullMethodName = "/scheduledevent.ScheduledEventSvc/DeleteScheduledEvent" ScheduledEventSvc_DeleteCollectionScheduledEvent_FullMethodName = "/scheduledevent.ScheduledEventSvc/DeleteCollectionScheduledEvent" ScheduledEventSvc_ListScheduledEvent_FullMethodName = "/scheduledevent.ScheduledEventSvc/ListScheduledEvent" )
Variables ¶
var File_scheduledevent_scheduledevent_proto protoreflect.FileDescriptor
var ScheduledEventSvc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "scheduledevent.ScheduledEventSvc", HandlerType: (*ScheduledEventSvcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateScheduledEvent", Handler: _ScheduledEventSvc_CreateScheduledEvent_Handler, }, { MethodName: "GetScheduledEvent", Handler: _ScheduledEventSvc_GetScheduledEvent_Handler, }, { MethodName: "UpdateScheduledEvent", Handler: _ScheduledEventSvc_UpdateScheduledEvent_Handler, }, { MethodName: "UpdateScheduledEventStatus", Handler: _ScheduledEventSvc_UpdateScheduledEventStatus_Handler, }, { MethodName: "DeleteScheduledEvent", Handler: _ScheduledEventSvc_DeleteScheduledEvent_Handler, }, { MethodName: "DeleteCollectionScheduledEvent", Handler: _ScheduledEventSvc_DeleteCollectionScheduledEvent_Handler, }, { MethodName: "ListScheduledEvent", Handler: _ScheduledEventSvc_ListScheduledEvent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "scheduledevent/scheduledevent.proto", }
ScheduledEventSvc_ServiceDesc is the grpc.ServiceDesc for ScheduledEventSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterScheduledEventSvcServer ¶
func RegisterScheduledEventSvcServer(s grpc.ServiceRegistrar, srv ScheduledEventSvcServer)
Types ¶
type CreateScheduledEventRequest ¶
type CreateScheduledEventRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The displayed scheduled event name, not id! Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` OnDemand bool `protobuf:"varint,6,opt,name=on_demand,json=onDemand,proto3" json:"on_demand,omitempty"` Printable bool `protobuf:"varint,7,opt,name=printable,proto3" json:"printable,omitempty"` RestrictedBind bool `protobuf:"varint,8,opt,name=restricted_bind,json=restrictedBind,proto3" json:"restricted_bind,omitempty"` // required_vms is mapping environments to their respective VMTemplateCountMap RequiredVmsRaw string `protobuf:"bytes,9,opt,name=required_vms_raw,json=requiredVmsRaw,proto3" json:"required_vms_raw,omitempty"` AccessCode string `protobuf:"bytes,10,opt,name=access_code,json=accessCode,proto3" json:"access_code,omitempty"` ScenariosRaw string `protobuf:"bytes,11,opt,name=scenarios_raw,json=scenariosRaw,proto3" json:"scenarios_raw,omitempty"` CoursesRaw string `protobuf:"bytes,12,opt,name=courses_raw,json=coursesRaw,proto3" json:"courses_raw,omitempty"` Labels map[string]string `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateScheduledEventRequest) Descriptor
deprecated
func (*CreateScheduledEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateScheduledEventRequest.ProtoReflect.Descriptor instead.
func (*CreateScheduledEventRequest) GetAccessCode ¶
func (x *CreateScheduledEventRequest) GetAccessCode() string
func (*CreateScheduledEventRequest) GetCoursesRaw ¶
func (x *CreateScheduledEventRequest) GetCoursesRaw() string
func (*CreateScheduledEventRequest) GetCreator ¶
func (x *CreateScheduledEventRequest) GetCreator() string
func (*CreateScheduledEventRequest) GetDescription ¶
func (x *CreateScheduledEventRequest) GetDescription() string
func (*CreateScheduledEventRequest) GetEndTime ¶
func (x *CreateScheduledEventRequest) GetEndTime() string
func (*CreateScheduledEventRequest) GetLabels ¶
func (x *CreateScheduledEventRequest) GetLabels() map[string]string
func (*CreateScheduledEventRequest) GetName ¶
func (x *CreateScheduledEventRequest) GetName() string
func (*CreateScheduledEventRequest) GetOnDemand ¶
func (x *CreateScheduledEventRequest) GetOnDemand() bool
func (*CreateScheduledEventRequest) GetPrintable ¶
func (x *CreateScheduledEventRequest) GetPrintable() bool
func (*CreateScheduledEventRequest) GetRequiredVmsRaw ¶
func (x *CreateScheduledEventRequest) GetRequiredVmsRaw() string
func (*CreateScheduledEventRequest) GetRestrictedBind ¶
func (x *CreateScheduledEventRequest) GetRestrictedBind() bool
func (*CreateScheduledEventRequest) GetScenariosRaw ¶
func (x *CreateScheduledEventRequest) GetScenariosRaw() string
func (*CreateScheduledEventRequest) GetStartTime ¶
func (x *CreateScheduledEventRequest) GetStartTime() string
func (*CreateScheduledEventRequest) ProtoMessage ¶
func (*CreateScheduledEventRequest) ProtoMessage()
func (*CreateScheduledEventRequest) ProtoReflect ¶
func (x *CreateScheduledEventRequest) ProtoReflect() protoreflect.Message
func (*CreateScheduledEventRequest) Reset ¶
func (x *CreateScheduledEventRequest) Reset()
func (*CreateScheduledEventRequest) String ¶
func (x *CreateScheduledEventRequest) String() string
type ListScheduledEventsResponse ¶
type ListScheduledEventsResponse struct { Scheduledevents []*ScheduledEvent `protobuf:"bytes,1,rep,name=scheduledevents,proto3" json:"scheduledevents,omitempty"` // contains filtered or unexported fields }
func (*ListScheduledEventsResponse) Descriptor
deprecated
func (*ListScheduledEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListScheduledEventsResponse.ProtoReflect.Descriptor instead.
func (*ListScheduledEventsResponse) GetScheduledevents ¶
func (x *ListScheduledEventsResponse) GetScheduledevents() []*ScheduledEvent
func (*ListScheduledEventsResponse) ProtoMessage ¶
func (*ListScheduledEventsResponse) ProtoMessage()
func (*ListScheduledEventsResponse) ProtoReflect ¶
func (x *ListScheduledEventsResponse) ProtoReflect() protoreflect.Message
func (*ListScheduledEventsResponse) Reset ¶
func (x *ListScheduledEventsResponse) Reset()
func (*ListScheduledEventsResponse) String ¶
func (x *ListScheduledEventsResponse) String() string
type ScheduledEvent ¶
type ScheduledEvent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"` StartTime string `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime string `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` OnDemand bool `protobuf:"varint,8,opt,name=on_demand,json=onDemand,proto3" json:"on_demand,omitempty"` Printable bool `protobuf:"varint,9,opt,name=printable,proto3" json:"printable,omitempty"` RestrictedBind bool `protobuf:"varint,10,opt,name=restricted_bind,json=restrictedBind,proto3" json:"restricted_bind,omitempty"` RestrictedBindValue string `protobuf:"bytes,11,opt,name=restricted_bind_value,json=restrictedBindValue,proto3" json:"restricted_bind_value,omitempty"` RequiredVms map[string]*VMTemplateCountMap `` /* 183-byte string literal not displayed */ AccessCode string `protobuf:"bytes,13,opt,name=access_code,json=accessCode,proto3" json:"access_code,omitempty"` Scenarios []string `protobuf:"bytes,14,rep,name=scenarios,proto3" json:"scenarios,omitempty"` Courses []string `protobuf:"bytes,15,rep,name=courses,proto3" json:"courses,omitempty"` Labels map[string]string `` /* 154-byte string literal not displayed */ Status *ScheduledEventStatus `protobuf:"bytes,17,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ScheduledEvent) Descriptor
deprecated
func (*ScheduledEvent) Descriptor() ([]byte, []int)
Deprecated: Use ScheduledEvent.ProtoReflect.Descriptor instead.
func (*ScheduledEvent) GetAccessCode ¶
func (x *ScheduledEvent) GetAccessCode() string
func (*ScheduledEvent) GetCourses ¶
func (x *ScheduledEvent) GetCourses() []string
func (*ScheduledEvent) GetCreator ¶
func (x *ScheduledEvent) GetCreator() string
func (*ScheduledEvent) GetDescription ¶
func (x *ScheduledEvent) GetDescription() string
func (*ScheduledEvent) GetEndTime ¶
func (x *ScheduledEvent) GetEndTime() string
func (*ScheduledEvent) GetId ¶
func (x *ScheduledEvent) GetId() string
func (*ScheduledEvent) GetLabels ¶
func (x *ScheduledEvent) GetLabels() map[string]string
func (*ScheduledEvent) GetName ¶
func (x *ScheduledEvent) GetName() string
func (*ScheduledEvent) GetOnDemand ¶
func (x *ScheduledEvent) GetOnDemand() bool
func (*ScheduledEvent) GetPrintable ¶
func (x *ScheduledEvent) GetPrintable() bool
func (*ScheduledEvent) GetRequiredVms ¶
func (x *ScheduledEvent) GetRequiredVms() map[string]*VMTemplateCountMap
func (*ScheduledEvent) GetRestrictedBind ¶
func (x *ScheduledEvent) GetRestrictedBind() bool
func (*ScheduledEvent) GetRestrictedBindValue ¶
func (x *ScheduledEvent) GetRestrictedBindValue() string
func (*ScheduledEvent) GetScenarios ¶
func (x *ScheduledEvent) GetScenarios() []string
func (*ScheduledEvent) GetStartTime ¶
func (x *ScheduledEvent) GetStartTime() string
func (*ScheduledEvent) GetStatus ¶
func (x *ScheduledEvent) GetStatus() *ScheduledEventStatus
func (*ScheduledEvent) GetUid ¶
func (x *ScheduledEvent) GetUid() string
func (*ScheduledEvent) ProtoMessage ¶
func (*ScheduledEvent) ProtoMessage()
func (*ScheduledEvent) ProtoReflect ¶
func (x *ScheduledEvent) ProtoReflect() protoreflect.Message
func (*ScheduledEvent) Reset ¶
func (x *ScheduledEvent) Reset()
func (*ScheduledEvent) String ¶
func (x *ScheduledEvent) String() string
type ScheduledEventStatus ¶
type ScheduledEventStatus struct { Vmsets []string `protobuf:"bytes,1,rep,name=vmsets,proto3" json:"vmsets,omitempty"` Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"` Provisioned bool `protobuf:"varint,3,opt,name=provisioned,proto3" json:"provisioned,omitempty"` Ready bool `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"` Finished bool `protobuf:"varint,5,opt,name=finished,proto3" json:"finished,omitempty"` // contains filtered or unexported fields }
func (*ScheduledEventStatus) Descriptor
deprecated
func (*ScheduledEventStatus) Descriptor() ([]byte, []int)
Deprecated: Use ScheduledEventStatus.ProtoReflect.Descriptor instead.
func (*ScheduledEventStatus) GetActive ¶
func (x *ScheduledEventStatus) GetActive() bool
func (*ScheduledEventStatus) GetFinished ¶
func (x *ScheduledEventStatus) GetFinished() bool
func (*ScheduledEventStatus) GetProvisioned ¶
func (x *ScheduledEventStatus) GetProvisioned() bool
func (*ScheduledEventStatus) GetReady ¶
func (x *ScheduledEventStatus) GetReady() bool
func (*ScheduledEventStatus) GetVmsets ¶
func (x *ScheduledEventStatus) GetVmsets() []string
func (*ScheduledEventStatus) ProtoMessage ¶
func (*ScheduledEventStatus) ProtoMessage()
func (*ScheduledEventStatus) ProtoReflect ¶
func (x *ScheduledEventStatus) ProtoReflect() protoreflect.Message
func (*ScheduledEventStatus) Reset ¶
func (x *ScheduledEventStatus) Reset()
func (*ScheduledEventStatus) String ¶
func (x *ScheduledEventStatus) String() string
type ScheduledEventSvcClient ¶
type ScheduledEventSvcClient interface { CreateScheduledEvent(ctx context.Context, in *CreateScheduledEventRequest, opts ...grpc.CallOption) (*general.ResourceId, error) GetScheduledEvent(ctx context.Context, in *general.GetRequest, opts ...grpc.CallOption) (*ScheduledEvent, error) UpdateScheduledEvent(ctx context.Context, in *UpdateScheduledEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateScheduledEventStatus(ctx context.Context, in *UpdateScheduledEventStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteScheduledEvent(ctx context.Context, in *general.ResourceId, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteCollectionScheduledEvent(ctx context.Context, in *general.ListOptions, opts ...grpc.CallOption) (*emptypb.Empty, error) ListScheduledEvent(ctx context.Context, in *general.ListOptions, opts ...grpc.CallOption) (*ListScheduledEventsResponse, error) }
ScheduledEventSvcClient is the client API for ScheduledEventSvc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewScheduledEventSvcClient ¶
func NewScheduledEventSvcClient(cc grpc.ClientConnInterface) ScheduledEventSvcClient
type ScheduledEventSvcServer ¶
type ScheduledEventSvcServer interface { CreateScheduledEvent(context.Context, *CreateScheduledEventRequest) (*general.ResourceId, error) GetScheduledEvent(context.Context, *general.GetRequest) (*ScheduledEvent, error) UpdateScheduledEvent(context.Context, *UpdateScheduledEventRequest) (*emptypb.Empty, error) UpdateScheduledEventStatus(context.Context, *UpdateScheduledEventStatusRequest) (*emptypb.Empty, error) DeleteScheduledEvent(context.Context, *general.ResourceId) (*emptypb.Empty, error) DeleteCollectionScheduledEvent(context.Context, *general.ListOptions) (*emptypb.Empty, error) ListScheduledEvent(context.Context, *general.ListOptions) (*ListScheduledEventsResponse, error) // contains filtered or unexported methods }
ScheduledEventSvcServer is the server API for ScheduledEventSvc service. All implementations must embed UnimplementedScheduledEventSvcServer for forward compatibility
type UnimplementedScheduledEventSvcServer ¶
type UnimplementedScheduledEventSvcServer struct { }
UnimplementedScheduledEventSvcServer must be embedded to have forward compatible implementations.
func (UnimplementedScheduledEventSvcServer) CreateScheduledEvent ¶
func (UnimplementedScheduledEventSvcServer) CreateScheduledEvent(context.Context, *CreateScheduledEventRequest) (*general.ResourceId, error)
func (UnimplementedScheduledEventSvcServer) DeleteCollectionScheduledEvent ¶
func (UnimplementedScheduledEventSvcServer) DeleteCollectionScheduledEvent(context.Context, *general.ListOptions) (*emptypb.Empty, error)
func (UnimplementedScheduledEventSvcServer) DeleteScheduledEvent ¶
func (UnimplementedScheduledEventSvcServer) DeleteScheduledEvent(context.Context, *general.ResourceId) (*emptypb.Empty, error)
func (UnimplementedScheduledEventSvcServer) GetScheduledEvent ¶
func (UnimplementedScheduledEventSvcServer) GetScheduledEvent(context.Context, *general.GetRequest) (*ScheduledEvent, error)
func (UnimplementedScheduledEventSvcServer) ListScheduledEvent ¶
func (UnimplementedScheduledEventSvcServer) ListScheduledEvent(context.Context, *general.ListOptions) (*ListScheduledEventsResponse, error)
func (UnimplementedScheduledEventSvcServer) UpdateScheduledEvent ¶
func (UnimplementedScheduledEventSvcServer) UpdateScheduledEvent(context.Context, *UpdateScheduledEventRequest) (*emptypb.Empty, error)
func (UnimplementedScheduledEventSvcServer) UpdateScheduledEventStatus ¶
func (UnimplementedScheduledEventSvcServer) UpdateScheduledEventStatus(context.Context, *UpdateScheduledEventStatusRequest) (*emptypb.Empty, error)
type UnsafeScheduledEventSvcServer ¶
type UnsafeScheduledEventSvcServer interface {
// contains filtered or unexported methods
}
UnsafeScheduledEventSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ScheduledEventSvcServer will result in compilation errors.
type UpdateScheduledEventRequest ¶
type UpdateScheduledEventRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` OnDemand *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=on_demand,json=onDemand,proto3" json:"on_demand,omitempty"` Printable *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=printable,proto3" json:"printable,omitempty"` RestrictedBind *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=restricted_bind,json=restrictedBind,proto3" json:"restricted_bind,omitempty"` // required_vms is mapping environments to their respective VMTemplateCountMap RequiredVmsRaw string `protobuf:"bytes,9,opt,name=required_vms_raw,json=requiredVmsRaw,proto3" json:"required_vms_raw,omitempty"` AccessCode string `protobuf:"bytes,10,opt,name=access_code,json=accessCode,proto3" json:"access_code,omitempty"` ScenariosRaw string `protobuf:"bytes,11,opt,name=scenarios_raw,json=scenariosRaw,proto3" json:"scenarios_raw,omitempty"` CoursesRaw string `protobuf:"bytes,12,opt,name=courses_raw,json=coursesRaw,proto3" json:"courses_raw,omitempty"` // contains filtered or unexported fields }
func (*UpdateScheduledEventRequest) Descriptor
deprecated
func (*UpdateScheduledEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateScheduledEventRequest.ProtoReflect.Descriptor instead.
func (*UpdateScheduledEventRequest) GetAccessCode ¶
func (x *UpdateScheduledEventRequest) GetAccessCode() string
func (*UpdateScheduledEventRequest) GetCoursesRaw ¶
func (x *UpdateScheduledEventRequest) GetCoursesRaw() string
func (*UpdateScheduledEventRequest) GetDescription ¶
func (x *UpdateScheduledEventRequest) GetDescription() string
func (*UpdateScheduledEventRequest) GetEndTime ¶
func (x *UpdateScheduledEventRequest) GetEndTime() string
func (*UpdateScheduledEventRequest) GetId ¶
func (x *UpdateScheduledEventRequest) GetId() string
func (*UpdateScheduledEventRequest) GetName ¶
func (x *UpdateScheduledEventRequest) GetName() string
func (*UpdateScheduledEventRequest) GetOnDemand ¶
func (x *UpdateScheduledEventRequest) GetOnDemand() *wrapperspb.BoolValue
func (*UpdateScheduledEventRequest) GetPrintable ¶
func (x *UpdateScheduledEventRequest) GetPrintable() *wrapperspb.BoolValue
func (*UpdateScheduledEventRequest) GetRequiredVmsRaw ¶
func (x *UpdateScheduledEventRequest) GetRequiredVmsRaw() string
func (*UpdateScheduledEventRequest) GetRestrictedBind ¶
func (x *UpdateScheduledEventRequest) GetRestrictedBind() *wrapperspb.BoolValue
func (*UpdateScheduledEventRequest) GetScenariosRaw ¶
func (x *UpdateScheduledEventRequest) GetScenariosRaw() string
func (*UpdateScheduledEventRequest) GetStartTime ¶
func (x *UpdateScheduledEventRequest) GetStartTime() string
func (*UpdateScheduledEventRequest) ProtoMessage ¶
func (*UpdateScheduledEventRequest) ProtoMessage()
func (*UpdateScheduledEventRequest) ProtoReflect ¶
func (x *UpdateScheduledEventRequest) ProtoReflect() protoreflect.Message
func (*UpdateScheduledEventRequest) Reset ¶
func (x *UpdateScheduledEventRequest) Reset()
func (*UpdateScheduledEventRequest) String ¶
func (x *UpdateScheduledEventRequest) String() string
type UpdateScheduledEventStatusRequest ¶
type UpdateScheduledEventStatusRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Vmsets *VMSetsWrapper `protobuf:"bytes,2,opt,name=vmsets,proto3" json:"vmsets,omitempty"` Active *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=active,proto3" json:"active,omitempty"` Provisioned *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=provisioned,proto3" json:"provisioned,omitempty"` Ready *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=ready,proto3" json:"ready,omitempty"` Finished *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=finished,proto3" json:"finished,omitempty"` // contains filtered or unexported fields }
func (*UpdateScheduledEventStatusRequest) Descriptor
deprecated
func (*UpdateScheduledEventStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateScheduledEventStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateScheduledEventStatusRequest) GetActive ¶
func (x *UpdateScheduledEventStatusRequest) GetActive() *wrapperspb.BoolValue
func (*UpdateScheduledEventStatusRequest) GetFinished ¶
func (x *UpdateScheduledEventStatusRequest) GetFinished() *wrapperspb.BoolValue
func (*UpdateScheduledEventStatusRequest) GetId ¶
func (x *UpdateScheduledEventStatusRequest) GetId() string
func (*UpdateScheduledEventStatusRequest) GetProvisioned ¶
func (x *UpdateScheduledEventStatusRequest) GetProvisioned() *wrapperspb.BoolValue
func (*UpdateScheduledEventStatusRequest) GetReady ¶
func (x *UpdateScheduledEventStatusRequest) GetReady() *wrapperspb.BoolValue
func (*UpdateScheduledEventStatusRequest) GetVmsets ¶
func (x *UpdateScheduledEventStatusRequest) GetVmsets() *VMSetsWrapper
func (*UpdateScheduledEventStatusRequest) ProtoMessage ¶
func (*UpdateScheduledEventStatusRequest) ProtoMessage()
func (*UpdateScheduledEventStatusRequest) ProtoReflect ¶
func (x *UpdateScheduledEventStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateScheduledEventStatusRequest) Reset ¶
func (x *UpdateScheduledEventStatusRequest) Reset()
func (*UpdateScheduledEventStatusRequest) String ¶
func (x *UpdateScheduledEventStatusRequest) String() string
type VMSetsWrapper ¶
type VMSetsWrapper struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*VMSetsWrapper) Descriptor
deprecated
func (*VMSetsWrapper) Descriptor() ([]byte, []int)
Deprecated: Use VMSetsWrapper.ProtoReflect.Descriptor instead.
func (*VMSetsWrapper) GetValue ¶
func (x *VMSetsWrapper) GetValue() []string
func (*VMSetsWrapper) ProtoMessage ¶
func (*VMSetsWrapper) ProtoMessage()
func (*VMSetsWrapper) ProtoReflect ¶
func (x *VMSetsWrapper) ProtoReflect() protoreflect.Message
func (*VMSetsWrapper) Reset ¶
func (x *VMSetsWrapper) Reset()
func (*VMSetsWrapper) String ¶
func (x *VMSetsWrapper) String() string
type VMTemplateCountMap ¶
type VMTemplateCountMap struct { VmTemplateCounts map[string]uint32 `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
This message is mapping vmtemplates to their required count within a scheduled event
func (*VMTemplateCountMap) Descriptor
deprecated
func (*VMTemplateCountMap) Descriptor() ([]byte, []int)
Deprecated: Use VMTemplateCountMap.ProtoReflect.Descriptor instead.
func (*VMTemplateCountMap) GetVmTemplateCounts ¶
func (x *VMTemplateCountMap) GetVmTemplateCounts() map[string]uint32
func (*VMTemplateCountMap) ProtoMessage ¶
func (*VMTemplateCountMap) ProtoMessage()
func (*VMTemplateCountMap) ProtoReflect ¶
func (x *VMTemplateCountMap) ProtoReflect() protoreflect.Message
func (*VMTemplateCountMap) Reset ¶
func (x *VMTemplateCountMap) Reset()
func (*VMTemplateCountMap) String ¶
func (x *VMTemplateCountMap) String() string