providerpb

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderService_RebootMachine_FullMethodName = "/baremetalprovider.ProviderService/RebootMachine"
)

Variables

View Source
var File_provider_provider_proto protoreflect.FileDescriptor
View Source
var ProviderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "baremetalprovider.ProviderService",
	HandlerType: (*ProviderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RebootMachine",
			Handler:    _ProviderService_RebootMachine_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "provider/provider.proto",
}

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

Functions

func RegisterProviderServiceServer

func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)

Types

type ProviderServiceClient

type ProviderServiceClient interface {
	RebootMachine(ctx context.Context, in *RebootMachineRequest, opts ...grpc.CallOption) (*RebootMachineResponse, error)
}

ProviderServiceClient is the client API for ProviderService 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 ProviderServiceServer

type ProviderServiceServer interface {
	RebootMachine(context.Context, *RebootMachineRequest) (*RebootMachineResponse, error)
	// contains filtered or unexported methods
}

ProviderServiceServer is the server API for ProviderService service. All implementations must embed UnimplementedProviderServiceServer for forward compatibility.

type RebootMachineRequest

type RebootMachineRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RebootMachineRequest) CloneMessageVT

func (m *RebootMachineRequest) CloneMessageVT() proto.Message

func (*RebootMachineRequest) CloneVT

func (*RebootMachineRequest) Descriptor deprecated

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

Deprecated: Use RebootMachineRequest.ProtoReflect.Descriptor instead.

func (*RebootMachineRequest) EqualMessageVT

func (this *RebootMachineRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*RebootMachineRequest) EqualVT

func (this *RebootMachineRequest) EqualVT(that *RebootMachineRequest) bool

func (*RebootMachineRequest) GetId

func (x *RebootMachineRequest) GetId() string

func (*RebootMachineRequest) MarshalToSizedBufferVT

func (m *RebootMachineRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RebootMachineRequest) MarshalToVT

func (m *RebootMachineRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RebootMachineRequest) MarshalVT

func (m *RebootMachineRequest) MarshalVT() (dAtA []byte, err error)

func (*RebootMachineRequest) ProtoMessage

func (*RebootMachineRequest) ProtoMessage()

func (*RebootMachineRequest) ProtoReflect

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

func (*RebootMachineRequest) Reset

func (x *RebootMachineRequest) Reset()

func (*RebootMachineRequest) SizeVT

func (m *RebootMachineRequest) SizeVT() (n int)

func (*RebootMachineRequest) String

func (x *RebootMachineRequest) String() string

func (*RebootMachineRequest) UnmarshalVT

func (m *RebootMachineRequest) UnmarshalVT(dAtA []byte) error

type RebootMachineResponse

type RebootMachineResponse struct {
	// contains filtered or unexported fields
}

func (*RebootMachineResponse) CloneMessageVT

func (m *RebootMachineResponse) CloneMessageVT() proto.Message

func (*RebootMachineResponse) CloneVT

func (*RebootMachineResponse) Descriptor deprecated

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

Deprecated: Use RebootMachineResponse.ProtoReflect.Descriptor instead.

func (*RebootMachineResponse) EqualMessageVT

func (this *RebootMachineResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*RebootMachineResponse) EqualVT

func (this *RebootMachineResponse) EqualVT(that *RebootMachineResponse) bool

func (*RebootMachineResponse) MarshalToSizedBufferVT

func (m *RebootMachineResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RebootMachineResponse) MarshalToVT

func (m *RebootMachineResponse) MarshalToVT(dAtA []byte) (int, error)

func (*RebootMachineResponse) MarshalVT

func (m *RebootMachineResponse) MarshalVT() (dAtA []byte, err error)

func (*RebootMachineResponse) ProtoMessage

func (*RebootMachineResponse) ProtoMessage()

func (*RebootMachineResponse) ProtoReflect

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

func (*RebootMachineResponse) Reset

func (x *RebootMachineResponse) Reset()

func (*RebootMachineResponse) SizeVT

func (m *RebootMachineResponse) SizeVT() (n int)

func (*RebootMachineResponse) String

func (x *RebootMachineResponse) String() string

func (*RebootMachineResponse) UnmarshalVT

func (m *RebootMachineResponse) UnmarshalVT(dAtA []byte) error

type UnimplementedProviderServiceServer

type UnimplementedProviderServiceServer struct{}

UnimplementedProviderServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProviderServiceServer) RebootMachine

type UnsafeProviderServiceServer

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

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

Jump to

Keyboard shortcuts

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