Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)
- type ProviderServiceClient
- type ProviderServiceServer
- type RebootMachineRequest
- func (m *RebootMachineRequest) CloneMessageVT() proto.Message
- func (m *RebootMachineRequest) CloneVT() *RebootMachineRequest
- func (*RebootMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (this *RebootMachineRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RebootMachineRequest) EqualVT(that *RebootMachineRequest) bool
- func (x *RebootMachineRequest) GetId() string
- func (m *RebootMachineRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RebootMachineRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RebootMachineRequest) MarshalVT() (dAtA []byte, err error)
- func (*RebootMachineRequest) ProtoMessage()
- func (x *RebootMachineRequest) ProtoReflect() protoreflect.Message
- func (x *RebootMachineRequest) Reset()
- func (m *RebootMachineRequest) SizeVT() (n int)
- func (x *RebootMachineRequest) String() string
- func (m *RebootMachineRequest) UnmarshalVT(dAtA []byte) error
- type RebootMachineResponse
- func (m *RebootMachineResponse) CloneMessageVT() proto.Message
- func (m *RebootMachineResponse) CloneVT() *RebootMachineResponse
- func (*RebootMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (this *RebootMachineResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RebootMachineResponse) EqualVT(that *RebootMachineResponse) bool
- func (m *RebootMachineResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RebootMachineResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RebootMachineResponse) MarshalVT() (dAtA []byte, err error)
- func (*RebootMachineResponse) ProtoMessage()
- func (x *RebootMachineResponse) ProtoReflect() protoreflect.Message
- func (x *RebootMachineResponse) Reset()
- func (m *RebootMachineResponse) SizeVT() (n int)
- func (x *RebootMachineResponse) String() string
- func (m *RebootMachineResponse) UnmarshalVT(dAtA []byte) error
- type UnimplementedProviderServiceServer
- type UnsafeProviderServiceServer
Constants ¶
const (
ProviderService_RebootMachine_FullMethodName = "/baremetalprovider.ProviderService/RebootMachine"
)
Variables ¶
var File_provider_provider_proto protoreflect.FileDescriptor
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.
func NewProviderServiceClient ¶
func NewProviderServiceClient(cc grpc.ClientConnInterface) ProviderServiceClient
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 (m *RebootMachineRequest) CloneVT() *RebootMachineRequest
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 (m *RebootMachineResponse) CloneVT() *RebootMachineResponse
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 ¶
func (UnimplementedProviderServiceServer) RebootMachine(context.Context, *RebootMachineRequest) (*RebootMachineResponse, error)
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.