schedule

package
v0.0.0-...-3322147 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_schedule_proto protoreflect.FileDescriptor
View Source
var ScheduleExecutable_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "schedule.ScheduleExecutable",
	HandlerType: (*ScheduleExecutableServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Enable",
			Handler:    _ScheduleExecutable_Enable_Handler,
		},
		{
			MethodName: "Disable",
			Handler:    _ScheduleExecutable_Disable_Handler,
		},
		{
			MethodName: "Destroy",
			Handler:    _ScheduleExecutable_Destroy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "schedule.proto",
}

ScheduleExecutable_ServiceDesc is the grpc.ServiceDesc for ScheduleExecutable service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Schedule_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "schedule.Schedule",
	HandlerType: (*ScheduleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ShowEnabled",
			Handler:    _Schedule_ShowEnabled_Handler,
		},
		{
			MethodName: "ShowDisabled",
			Handler:    _Schedule_ShowDisabled_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "schedule.proto",
}

Schedule_ServiceDesc is the grpc.ServiceDesc for Schedule service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterScheduleExecutableServer

func RegisterScheduleExecutableServer(s grpc.ServiceRegistrar, srv ScheduleExecutableServer)

func RegisterScheduleServer

func RegisterScheduleServer(s grpc.ServiceRegistrar, srv ScheduleServer)

Types

type ExecutableDestroyResponse

type ExecutableDestroyResponse struct {
	Meta *meta.AuraeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutableDestroyResponse) Descriptor deprecated

func (*ExecutableDestroyResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecutableDestroyResponse.ProtoReflect.Descriptor instead.

func (*ExecutableDestroyResponse) GetMeta

func (*ExecutableDestroyResponse) ProtoMessage

func (*ExecutableDestroyResponse) ProtoMessage()

func (*ExecutableDestroyResponse) ProtoReflect

func (*ExecutableDestroyResponse) Reset

func (x *ExecutableDestroyResponse) Reset()

func (*ExecutableDestroyResponse) String

func (x *ExecutableDestroyResponse) String() string

type ExecutableDisableResponse

type ExecutableDisableResponse struct {
	Meta *meta.AuraeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutableDisableResponse) Descriptor deprecated

func (*ExecutableDisableResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecutableDisableResponse.ProtoReflect.Descriptor instead.

func (*ExecutableDisableResponse) GetMeta

func (*ExecutableDisableResponse) ProtoMessage

func (*ExecutableDisableResponse) ProtoMessage()

func (*ExecutableDisableResponse) ProtoReflect

func (*ExecutableDisableResponse) Reset

func (x *ExecutableDisableResponse) Reset()

func (*ExecutableDisableResponse) String

func (x *ExecutableDisableResponse) String() string

type ExecutableEnableResponse

type ExecutableEnableResponse struct {
	Meta *meta.AuraeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutableEnableResponse) Descriptor deprecated

func (*ExecutableEnableResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecutableEnableResponse.ProtoReflect.Descriptor instead.

func (*ExecutableEnableResponse) GetMeta

func (x *ExecutableEnableResponse) GetMeta() *meta.AuraeMeta

func (*ExecutableEnableResponse) ProtoMessage

func (*ExecutableEnableResponse) ProtoMessage()

func (*ExecutableEnableResponse) ProtoReflect

func (x *ExecutableEnableResponse) ProtoReflect() protoreflect.Message

func (*ExecutableEnableResponse) Reset

func (x *ExecutableEnableResponse) Reset()

func (*ExecutableEnableResponse) String

func (x *ExecutableEnableResponse) String() string

type ScheduleClient

type ScheduleClient interface {
	// ShowEnabled will return a response of everything enabled on a system
	ShowEnabled(ctx context.Context, in *ShowEnabledRequest, opts ...grpc.CallOption) (*ShowEnabledResponse, error)
	// ShowDisabled will return a response of everything disabled on a system
	ShowDisabled(ctx context.Context, in *ShowDisabledRequest, opts ...grpc.CallOption) (*ShowDisabledResponse, error)
}

ScheduleClient is the client API for Schedule 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 NewScheduleClient

func NewScheduleClient(cc grpc.ClientConnInterface) ScheduleClient

type ScheduleExecutableClient

type ScheduleExecutableClient interface {
	Enable(ctx context.Context, in *runtime.Executable, opts ...grpc.CallOption) (*ExecutableEnableResponse, error)
	Disable(ctx context.Context, in *runtime.Executable, opts ...grpc.CallOption) (*ExecutableDisableResponse, error)
	Destroy(ctx context.Context, in *runtime.Executable, opts ...grpc.CallOption) (*ExecutableDestroyResponse, error)
}

ScheduleExecutableClient is the client API for ScheduleExecutable 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.

type ScheduleExecutableServer

type ScheduleExecutableServer interface {
	Enable(context.Context, *runtime.Executable) (*ExecutableEnableResponse, error)
	Disable(context.Context, *runtime.Executable) (*ExecutableDisableResponse, error)
	Destroy(context.Context, *runtime.Executable) (*ExecutableDestroyResponse, error)
	// contains filtered or unexported methods
}

ScheduleExecutableServer is the server API for ScheduleExecutable service. All implementations must embed UnimplementedScheduleExecutableServer for forward compatibility

type ScheduleServer

type ScheduleServer interface {
	// ShowEnabled will return a response of everything enabled on a system
	ShowEnabled(context.Context, *ShowEnabledRequest) (*ShowEnabledResponse, error)
	// ShowDisabled will return a response of everything disabled on a system
	ShowDisabled(context.Context, *ShowDisabledRequest) (*ShowDisabledResponse, error)
	// contains filtered or unexported methods
}

ScheduleServer is the server API for Schedule service. All implementations must embed UnimplementedScheduleServer for forward compatibility

type ShowDisabledRequest

type ShowDisabledRequest struct {
	Meta *meta.AuraeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*ShowDisabledRequest) Descriptor deprecated

func (*ShowDisabledRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShowDisabledRequest.ProtoReflect.Descriptor instead.

func (*ShowDisabledRequest) GetMeta

func (x *ShowDisabledRequest) GetMeta() *meta.AuraeMeta

func (*ShowDisabledRequest) ProtoMessage

func (*ShowDisabledRequest) ProtoMessage()

func (*ShowDisabledRequest) ProtoReflect

func (x *ShowDisabledRequest) ProtoReflect() protoreflect.Message

func (*ShowDisabledRequest) Reset

func (x *ShowDisabledRequest) Reset()

func (*ShowDisabledRequest) String

func (x *ShowDisabledRequest) String() string

type ShowDisabledResponse

type ShowDisabledResponse struct {
	Meta        *meta.AuraeMeta       `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Executables []*runtime.Executable `protobuf:"bytes,2,rep,name=Executables,proto3" json:"Executables,omitempty"`
	// contains filtered or unexported fields
}

func (*ShowDisabledResponse) Descriptor deprecated

func (*ShowDisabledResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShowDisabledResponse.ProtoReflect.Descriptor instead.

func (*ShowDisabledResponse) GetExecutables

func (x *ShowDisabledResponse) GetExecutables() []*runtime.Executable

func (*ShowDisabledResponse) GetMeta

func (x *ShowDisabledResponse) GetMeta() *meta.AuraeMeta

func (*ShowDisabledResponse) ProtoMessage

func (*ShowDisabledResponse) ProtoMessage()

func (*ShowDisabledResponse) ProtoReflect

func (x *ShowDisabledResponse) ProtoReflect() protoreflect.Message

func (*ShowDisabledResponse) Reset

func (x *ShowDisabledResponse) Reset()

func (*ShowDisabledResponse) String

func (x *ShowDisabledResponse) String() string

type ShowEnabledRequest

type ShowEnabledRequest struct {
	Meta *meta.AuraeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*ShowEnabledRequest) Descriptor deprecated

func (*ShowEnabledRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShowEnabledRequest.ProtoReflect.Descriptor instead.

func (*ShowEnabledRequest) GetMeta

func (x *ShowEnabledRequest) GetMeta() *meta.AuraeMeta

func (*ShowEnabledRequest) ProtoMessage

func (*ShowEnabledRequest) ProtoMessage()

func (*ShowEnabledRequest) ProtoReflect

func (x *ShowEnabledRequest) ProtoReflect() protoreflect.Message

func (*ShowEnabledRequest) Reset

func (x *ShowEnabledRequest) Reset()

func (*ShowEnabledRequest) String

func (x *ShowEnabledRequest) String() string

type ShowEnabledResponse

type ShowEnabledResponse struct {
	Meta        *meta.AuraeMeta       `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Executables []*runtime.Executable `protobuf:"bytes,2,rep,name=Executables,proto3" json:"Executables,omitempty"`
	// contains filtered or unexported fields
}

func (*ShowEnabledResponse) Descriptor deprecated

func (*ShowEnabledResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShowEnabledResponse.ProtoReflect.Descriptor instead.

func (*ShowEnabledResponse) GetExecutables

func (x *ShowEnabledResponse) GetExecutables() []*runtime.Executable

func (*ShowEnabledResponse) GetMeta

func (x *ShowEnabledResponse) GetMeta() *meta.AuraeMeta

func (*ShowEnabledResponse) ProtoMessage

func (*ShowEnabledResponse) ProtoMessage()

func (*ShowEnabledResponse) ProtoReflect

func (x *ShowEnabledResponse) ProtoReflect() protoreflect.Message

func (*ShowEnabledResponse) Reset

func (x *ShowEnabledResponse) Reset()

func (*ShowEnabledResponse) String

func (x *ShowEnabledResponse) String() string

type UnimplementedScheduleExecutableServer

type UnimplementedScheduleExecutableServer struct {
}

UnimplementedScheduleExecutableServer must be embedded to have forward compatible implementations.

func (UnimplementedScheduleExecutableServer) Destroy

func (UnimplementedScheduleExecutableServer) Disable

func (UnimplementedScheduleExecutableServer) Enable

type UnimplementedScheduleServer

type UnimplementedScheduleServer struct {
}

UnimplementedScheduleServer must be embedded to have forward compatible implementations.

func (UnimplementedScheduleServer) ShowDisabled

func (UnimplementedScheduleServer) ShowEnabled

type UnsafeScheduleExecutableServer

type UnsafeScheduleExecutableServer interface {
	// contains filtered or unexported methods
}

UnsafeScheduleExecutableServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ScheduleExecutableServer will result in compilation errors.

type UnsafeScheduleServer

type UnsafeScheduleServer interface {
	// contains filtered or unexported methods
}

UnsafeScheduleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ScheduleServer will result in compilation errors.

Jump to

Keyboard shortcuts

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