Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterStorageServicesServer(s grpc.ServiceRegistrar, srv StorageServicesServer)
- type Cloud
- func (*Cloud) Descriptor() ([]byte, []int)deprecated
- func (x *Cloud) GetCreatedAt() *timestamppb.Timestamp
- func (x *Cloud) GetCreatedBy() string
- func (x *Cloud) GetDeletedAt() *timestamppb.Timestamp
- func (x *Cloud) GetId() string
- func (x *Cloud) GetName() string
- func (x *Cloud) GetUrl() string
- func (*Cloud) ProtoMessage()
- func (x *Cloud) ProtoReflect() protoreflect.Message
- func (x *Cloud) Reset()
- func (x *Cloud) String() string
- type CloudApproveRequest
- func (*CloudApproveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloudApproveRequest) GetUrl() []string
- func (*CloudApproveRequest) ProtoMessage()
- func (x *CloudApproveRequest) ProtoReflect() protoreflect.Message
- func (x *CloudApproveRequest) Reset()
- func (x *CloudApproveRequest) String() string
- type StorageServicesClient
- type StorageServicesServer
- type UnimplementedStorageServicesServer
- type UnsafeStorageServicesServer
Constants ¶
const ( StorageServices_UpdateCloudApprove_FullMethodName = "/storage.StorageServices/UpdateCloudApprove" StorageServices_DeleteCloudApprove_FullMethodName = "/storage.StorageServices/DeleteCloudApprove" )
Variables ¶
var File_storage_storage_proto protoreflect.FileDescriptor
var StorageServices_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storage.StorageServices", HandlerType: (*StorageServicesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateCloudApprove", Handler: _StorageServices_UpdateCloudApprove_Handler, }, { MethodName: "DeleteCloudApprove", Handler: _StorageServices_DeleteCloudApprove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "storage/storage.proto", }
StorageServices_ServiceDesc is the grpc.ServiceDesc for StorageServices service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStorageServicesServer ¶
func RegisterStorageServicesServer(s grpc.ServiceRegistrar, srv StorageServicesServer)
Types ¶
type Cloud ¶
type Cloud 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"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Cloud) Descriptor
deprecated
func (*Cloud) GetCreatedAt ¶
func (x *Cloud) GetCreatedAt() *timestamppb.Timestamp
func (*Cloud) GetCreatedBy ¶
func (*Cloud) GetDeletedAt ¶
func (x *Cloud) GetDeletedAt() *timestamppb.Timestamp
func (*Cloud) ProtoMessage ¶
func (*Cloud) ProtoMessage()
func (*Cloud) ProtoReflect ¶
func (x *Cloud) ProtoReflect() protoreflect.Message
type CloudApproveRequest ¶
type CloudApproveRequest struct { Url []string `protobuf:"bytes,1,rep,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*CloudApproveRequest) Descriptor
deprecated
func (*CloudApproveRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloudApproveRequest.ProtoReflect.Descriptor instead.
func (*CloudApproveRequest) GetUrl ¶
func (x *CloudApproveRequest) GetUrl() []string
func (*CloudApproveRequest) ProtoMessage ¶
func (*CloudApproveRequest) ProtoMessage()
func (*CloudApproveRequest) ProtoReflect ¶
func (x *CloudApproveRequest) ProtoReflect() protoreflect.Message
func (*CloudApproveRequest) Reset ¶
func (x *CloudApproveRequest) Reset()
func (*CloudApproveRequest) String ¶
func (x *CloudApproveRequest) String() string
type StorageServicesClient ¶
type StorageServicesClient interface { UpdateCloudApprove(ctx context.Context, in *CloudApproveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteCloudApprove(ctx context.Context, in *CloudApproveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
StorageServicesClient is the client API for StorageServices 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 NewStorageServicesClient ¶
func NewStorageServicesClient(cc grpc.ClientConnInterface) StorageServicesClient
type StorageServicesServer ¶
type StorageServicesServer interface { UpdateCloudApprove(context.Context, *CloudApproveRequest) (*emptypb.Empty, error) DeleteCloudApprove(context.Context, *CloudApproveRequest) (*emptypb.Empty, error) }
StorageServicesServer is the server API for StorageServices service. All implementations should embed UnimplementedStorageServicesServer for forward compatibility.
type UnimplementedStorageServicesServer ¶
type UnimplementedStorageServicesServer struct{}
UnimplementedStorageServicesServer should 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 (UnimplementedStorageServicesServer) DeleteCloudApprove ¶
func (UnimplementedStorageServicesServer) DeleteCloudApprove(context.Context, *CloudApproveRequest) (*emptypb.Empty, error)
func (UnimplementedStorageServicesServer) UpdateCloudApprove ¶
func (UnimplementedStorageServicesServer) UpdateCloudApprove(context.Context, *CloudApproveRequest) (*emptypb.Empty, error)
type UnsafeStorageServicesServer ¶
type UnsafeStorageServicesServer interface {
// contains filtered or unexported methods
}
UnsafeStorageServicesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServicesServer will result in compilation errors.