Documentation ¶
Index ¶
- Variables
- func RegisterDriverServiceServer(s grpc.ServiceRegistrar, srv DriverServiceServer)
- type DownRequest
- func (*DownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownRequest) GetGroup() *proto1.InstancesGroup
- func (x *DownRequest) GetServicesProvider() *proto.ServicesProvider
- func (*DownRequest) ProtoMessage()
- func (x *DownRequest) ProtoReflect() protoreflect.Message
- func (x *DownRequest) Reset()
- func (x *DownRequest) String() string
- type DownResponse
- type DriverServiceClient
- type DriverServiceServer
- type GetTypeRequest
- type GetTypeResponse
- type MonitoringRequest
- func (*MonitoringRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MonitoringRequest) GetGroups() []*proto1.InstancesGroup
- func (x *MonitoringRequest) GetServicesProvider() *proto.ServicesProvider
- func (*MonitoringRequest) ProtoMessage()
- func (x *MonitoringRequest) ProtoReflect() protoreflect.Message
- func (x *MonitoringRequest) Reset()
- func (x *MonitoringRequest) String() string
- type MonitoringResponse
- type PerformActionRequest
- func (*PerformActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PerformActionRequest) GetGroup() *proto1.InstancesGroup
- func (x *PerformActionRequest) GetRequest() *proto2.PerformActionRequest
- func (x *PerformActionRequest) GetServicesProvider() *proto.ServicesProvider
- func (*PerformActionRequest) ProtoMessage()
- func (x *PerformActionRequest) ProtoReflect() protoreflect.Message
- func (x *PerformActionRequest) Reset()
- func (x *PerformActionRequest) String() string
- type TestServiceProviderConfigRequest
- func (*TestServiceProviderConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestServiceProviderConfigRequest) GetServicesProvider() *proto.ServicesProvider
- func (x *TestServiceProviderConfigRequest) GetSyntaxOnly() bool
- func (*TestServiceProviderConfigRequest) ProtoMessage()
- func (x *TestServiceProviderConfigRequest) ProtoReflect() protoreflect.Message
- func (x *TestServiceProviderConfigRequest) Reset()
- func (x *TestServiceProviderConfigRequest) String() string
- type UnimplementedDriverServiceServer
- func (UnimplementedDriverServiceServer) Down(context.Context, *DownRequest) (*DownResponse, error)
- func (UnimplementedDriverServiceServer) GetType(context.Context, *GetTypeRequest) (*GetTypeResponse, error)
- func (UnimplementedDriverServiceServer) Invoke(context.Context, *PerformActionRequest) (*proto2.PerformActionResponse, error)
- func (UnimplementedDriverServiceServer) Monitoring(context.Context, *MonitoringRequest) (*MonitoringResponse, error)
- func (UnimplementedDriverServiceServer) TestInstancesGroupConfig(context.Context, *proto1.TestInstancesGroupConfigRequest) (*proto1.TestInstancesGroupConfigResponse, error)
- func (UnimplementedDriverServiceServer) TestServiceProviderConfig(context.Context, *TestServiceProviderConfigRequest) (*proto.TestResponse, error)
- func (UnimplementedDriverServiceServer) Up(context.Context, *UpRequest) (*UpResponse, error)
- type UnsafeDriverServiceServer
- type UpRequest
- func (*UpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpRequest) GetGroup() *proto1.InstancesGroup
- func (x *UpRequest) GetServicesProvider() *proto.ServicesProvider
- func (*UpRequest) ProtoMessage()
- func (x *UpRequest) ProtoReflect() protoreflect.Message
- func (x *UpRequest) Reset()
- func (x *UpRequest) String() string
- type UpResponse
Constants ¶
This section is empty.
Variables ¶
var DriverService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nocloud.instance.driver.vanilla.DriverService", HandlerType: (*DriverServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "TestServiceProviderConfig", Handler: _DriverService_TestServiceProviderConfig_Handler, }, { MethodName: "TestInstancesGroupConfig", Handler: _DriverService_TestInstancesGroupConfig_Handler, }, { MethodName: "GetType", Handler: _DriverService_GetType_Handler, }, { MethodName: "Up", Handler: _DriverService_Up_Handler, }, { MethodName: "Down", Handler: _DriverService_Down_Handler, }, { MethodName: "Invoke", Handler: _DriverService_Invoke_Handler, }, { MethodName: "Monitoring", Handler: _DriverService_Monitoring_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/drivers/instance/vanilla/driver.proto", }
DriverService_ServiceDesc is the grpc.ServiceDesc for DriverService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pkg_drivers_instance_vanilla_driver_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDriverServiceServer ¶
func RegisterDriverServiceServer(s grpc.ServiceRegistrar, srv DriverServiceServer)
Types ¶
type DownRequest ¶
type DownRequest struct { Group *proto1.InstancesGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` ServicesProvider *proto.ServicesProvider `protobuf:"bytes,2,opt,name=services_provider,json=servicesProvider,proto3" json:"services_provider,omitempty"` // contains filtered or unexported fields }
func (*DownRequest) Descriptor
deprecated
func (*DownRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownRequest.ProtoReflect.Descriptor instead.
func (*DownRequest) GetGroup ¶
func (x *DownRequest) GetGroup() *proto1.InstancesGroup
func (*DownRequest) GetServicesProvider ¶
func (x *DownRequest) GetServicesProvider() *proto.ServicesProvider
func (*DownRequest) ProtoMessage ¶
func (*DownRequest) ProtoMessage()
func (*DownRequest) ProtoReflect ¶
func (x *DownRequest) ProtoReflect() protoreflect.Message
func (*DownRequest) Reset ¶
func (x *DownRequest) Reset()
func (*DownRequest) String ¶
func (x *DownRequest) String() string
type DownResponse ¶
type DownResponse struct { Group *proto1.InstancesGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*DownResponse) Descriptor
deprecated
func (*DownResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownResponse.ProtoReflect.Descriptor instead.
func (*DownResponse) GetGroup ¶
func (x *DownResponse) GetGroup() *proto1.InstancesGroup
func (*DownResponse) ProtoMessage ¶
func (*DownResponse) ProtoMessage()
func (*DownResponse) ProtoReflect ¶
func (x *DownResponse) ProtoReflect() protoreflect.Message
func (*DownResponse) Reset ¶
func (x *DownResponse) Reset()
func (*DownResponse) String ¶
func (x *DownResponse) String() string
type DriverServiceClient ¶
type DriverServiceClient interface { TestServiceProviderConfig(ctx context.Context, in *TestServiceProviderConfigRequest, opts ...grpc.CallOption) (*proto.TestResponse, error) TestInstancesGroupConfig(ctx context.Context, in *proto1.TestInstancesGroupConfigRequest, opts ...grpc.CallOption) (*proto1.TestInstancesGroupConfigResponse, error) GetType(ctx context.Context, in *GetTypeRequest, opts ...grpc.CallOption) (*GetTypeResponse, error) Up(ctx context.Context, in *UpRequest, opts ...grpc.CallOption) (*UpResponse, error) Down(ctx context.Context, in *DownRequest, opts ...grpc.CallOption) (*DownResponse, error) Invoke(ctx context.Context, in *PerformActionRequest, opts ...grpc.CallOption) (*proto2.PerformActionResponse, error) Monitoring(ctx context.Context, in *MonitoringRequest, opts ...grpc.CallOption) (*MonitoringResponse, error) }
DriverServiceClient is the client API for DriverService 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 NewDriverServiceClient ¶
func NewDriverServiceClient(cc grpc.ClientConnInterface) DriverServiceClient
type DriverServiceServer ¶
type DriverServiceServer interface { TestServiceProviderConfig(context.Context, *TestServiceProviderConfigRequest) (*proto.TestResponse, error) TestInstancesGroupConfig(context.Context, *proto1.TestInstancesGroupConfigRequest) (*proto1.TestInstancesGroupConfigResponse, error) GetType(context.Context, *GetTypeRequest) (*GetTypeResponse, error) Up(context.Context, *UpRequest) (*UpResponse, error) Down(context.Context, *DownRequest) (*DownResponse, error) Invoke(context.Context, *PerformActionRequest) (*proto2.PerformActionResponse, error) Monitoring(context.Context, *MonitoringRequest) (*MonitoringResponse, error) // contains filtered or unexported methods }
DriverServiceServer is the server API for DriverService service. All implementations must embed UnimplementedDriverServiceServer for forward compatibility
type GetTypeRequest ¶
type GetTypeRequest struct {
// contains filtered or unexported fields
}
func (*GetTypeRequest) Descriptor
deprecated
func (*GetTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTypeRequest.ProtoReflect.Descriptor instead.
func (*GetTypeRequest) ProtoMessage ¶
func (*GetTypeRequest) ProtoMessage()
func (*GetTypeRequest) ProtoReflect ¶
func (x *GetTypeRequest) ProtoReflect() protoreflect.Message
func (*GetTypeRequest) Reset ¶
func (x *GetTypeRequest) Reset()
func (*GetTypeRequest) String ¶
func (x *GetTypeRequest) String() string
type GetTypeResponse ¶
type GetTypeResponse struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetTypeResponse) Descriptor
deprecated
func (*GetTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTypeResponse.ProtoReflect.Descriptor instead.
func (*GetTypeResponse) GetType ¶
func (x *GetTypeResponse) GetType() string
func (*GetTypeResponse) ProtoMessage ¶
func (*GetTypeResponse) ProtoMessage()
func (*GetTypeResponse) ProtoReflect ¶
func (x *GetTypeResponse) ProtoReflect() protoreflect.Message
func (*GetTypeResponse) Reset ¶
func (x *GetTypeResponse) Reset()
func (*GetTypeResponse) String ¶
func (x *GetTypeResponse) String() string
type MonitoringRequest ¶
type MonitoringRequest struct { Groups []*proto1.InstancesGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` ServicesProvider *proto.ServicesProvider `protobuf:"bytes,2,opt,name=services_provider,json=servicesProvider,proto3" json:"services_provider,omitempty"` // contains filtered or unexported fields }
func (*MonitoringRequest) Descriptor
deprecated
func (*MonitoringRequest) Descriptor() ([]byte, []int)
Deprecated: Use MonitoringRequest.ProtoReflect.Descriptor instead.
func (*MonitoringRequest) GetGroups ¶
func (x *MonitoringRequest) GetGroups() []*proto1.InstancesGroup
func (*MonitoringRequest) GetServicesProvider ¶
func (x *MonitoringRequest) GetServicesProvider() *proto.ServicesProvider
func (*MonitoringRequest) ProtoMessage ¶
func (*MonitoringRequest) ProtoMessage()
func (*MonitoringRequest) ProtoReflect ¶
func (x *MonitoringRequest) ProtoReflect() protoreflect.Message
func (*MonitoringRequest) Reset ¶
func (x *MonitoringRequest) Reset()
func (*MonitoringRequest) String ¶
func (x *MonitoringRequest) String() string
type MonitoringResponse ¶
type MonitoringResponse struct {
// contains filtered or unexported fields
}
func (*MonitoringResponse) Descriptor
deprecated
func (*MonitoringResponse) Descriptor() ([]byte, []int)
Deprecated: Use MonitoringResponse.ProtoReflect.Descriptor instead.
func (*MonitoringResponse) ProtoMessage ¶
func (*MonitoringResponse) ProtoMessage()
func (*MonitoringResponse) ProtoReflect ¶
func (x *MonitoringResponse) ProtoReflect() protoreflect.Message
func (*MonitoringResponse) Reset ¶
func (x *MonitoringResponse) Reset()
func (*MonitoringResponse) String ¶
func (x *MonitoringResponse) String() string
type PerformActionRequest ¶
type PerformActionRequest struct { Request *proto2.PerformActionRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` Group *proto1.InstancesGroup `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` ServicesProvider *proto.ServicesProvider `protobuf:"bytes,3,opt,name=services_provider,json=servicesProvider,proto3" json:"services_provider,omitempty"` // contains filtered or unexported fields }
func (*PerformActionRequest) Descriptor
deprecated
func (*PerformActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use PerformActionRequest.ProtoReflect.Descriptor instead.
func (*PerformActionRequest) GetGroup ¶
func (x *PerformActionRequest) GetGroup() *proto1.InstancesGroup
func (*PerformActionRequest) GetRequest ¶
func (x *PerformActionRequest) GetRequest() *proto2.PerformActionRequest
func (*PerformActionRequest) GetServicesProvider ¶
func (x *PerformActionRequest) GetServicesProvider() *proto.ServicesProvider
func (*PerformActionRequest) ProtoMessage ¶
func (*PerformActionRequest) ProtoMessage()
func (*PerformActionRequest) ProtoReflect ¶
func (x *PerformActionRequest) ProtoReflect() protoreflect.Message
func (*PerformActionRequest) Reset ¶
func (x *PerformActionRequest) Reset()
func (*PerformActionRequest) String ¶
func (x *PerformActionRequest) String() string
type TestServiceProviderConfigRequest ¶
type TestServiceProviderConfigRequest struct { ServicesProvider *proto.ServicesProvider `protobuf:"bytes,1,opt,name=services_provider,json=servicesProvider,proto3" json:"services_provider,omitempty"` SyntaxOnly bool `protobuf:"varint,2,opt,name=syntax_only,json=syntaxOnly,proto3" json:"syntax_only,omitempty"` // contains filtered or unexported fields }
func (*TestServiceProviderConfigRequest) Descriptor
deprecated
func (*TestServiceProviderConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestServiceProviderConfigRequest.ProtoReflect.Descriptor instead.
func (*TestServiceProviderConfigRequest) GetServicesProvider ¶
func (x *TestServiceProviderConfigRequest) GetServicesProvider() *proto.ServicesProvider
func (*TestServiceProviderConfigRequest) GetSyntaxOnly ¶
func (x *TestServiceProviderConfigRequest) GetSyntaxOnly() bool
func (*TestServiceProviderConfigRequest) ProtoMessage ¶
func (*TestServiceProviderConfigRequest) ProtoMessage()
func (*TestServiceProviderConfigRequest) ProtoReflect ¶
func (x *TestServiceProviderConfigRequest) ProtoReflect() protoreflect.Message
func (*TestServiceProviderConfigRequest) Reset ¶
func (x *TestServiceProviderConfigRequest) Reset()
func (*TestServiceProviderConfigRequest) String ¶
func (x *TestServiceProviderConfigRequest) String() string
type UnimplementedDriverServiceServer ¶
type UnimplementedDriverServiceServer struct { }
UnimplementedDriverServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDriverServiceServer) Down ¶
func (UnimplementedDriverServiceServer) Down(context.Context, *DownRequest) (*DownResponse, error)
func (UnimplementedDriverServiceServer) GetType ¶
func (UnimplementedDriverServiceServer) GetType(context.Context, *GetTypeRequest) (*GetTypeResponse, error)
func (UnimplementedDriverServiceServer) Invoke ¶
func (UnimplementedDriverServiceServer) Invoke(context.Context, *PerformActionRequest) (*proto2.PerformActionResponse, error)
func (UnimplementedDriverServiceServer) Monitoring ¶
func (UnimplementedDriverServiceServer) Monitoring(context.Context, *MonitoringRequest) (*MonitoringResponse, error)
func (UnimplementedDriverServiceServer) TestInstancesGroupConfig ¶
func (UnimplementedDriverServiceServer) TestInstancesGroupConfig(context.Context, *proto1.TestInstancesGroupConfigRequest) (*proto1.TestInstancesGroupConfigResponse, error)
func (UnimplementedDriverServiceServer) TestServiceProviderConfig ¶
func (UnimplementedDriverServiceServer) TestServiceProviderConfig(context.Context, *TestServiceProviderConfigRequest) (*proto.TestResponse, error)
func (UnimplementedDriverServiceServer) Up ¶
func (UnimplementedDriverServiceServer) Up(context.Context, *UpRequest) (*UpResponse, error)
type UnsafeDriverServiceServer ¶
type UnsafeDriverServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDriverServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DriverServiceServer will result in compilation errors.
type UpRequest ¶
type UpRequest struct { Group *proto1.InstancesGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` ServicesProvider *proto.ServicesProvider `protobuf:"bytes,2,opt,name=services_provider,json=servicesProvider,proto3" json:"services_provider,omitempty"` // contains filtered or unexported fields }
func (*UpRequest) Descriptor
deprecated
func (*UpRequest) GetGroup ¶
func (x *UpRequest) GetGroup() *proto1.InstancesGroup
func (*UpRequest) GetServicesProvider ¶
func (x *UpRequest) GetServicesProvider() *proto.ServicesProvider
func (*UpRequest) ProtoMessage ¶
func (*UpRequest) ProtoMessage()
func (*UpRequest) ProtoReflect ¶
func (x *UpRequest) ProtoReflect() protoreflect.Message
type UpResponse ¶
type UpResponse struct { Group *proto1.InstancesGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*UpResponse) Descriptor
deprecated
func (*UpResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpResponse.ProtoReflect.Descriptor instead.
func (*UpResponse) GetGroup ¶
func (x *UpResponse) GetGroup() *proto1.InstancesGroup
func (*UpResponse) ProtoMessage ¶
func (*UpResponse) ProtoMessage()
func (*UpResponse) ProtoReflect ¶
func (x *UpResponse) ProtoReflect() protoreflect.Message
func (*UpResponse) Reset ¶
func (x *UpResponse) Reset()
func (*UpResponse) String ¶
func (x *UpResponse) String() string