Documentation ¶
Index ¶
- Variables
- func RegisterServiceGroupServiceServer(s grpc.ServiceRegistrar, srv ServiceGroupServiceServer)
- type DeleteRequest
- type DeleteResponse
- type GetAllRequest
- type GetAllResponse
- type GetByIDRequest
- type GetByIDResponse
- type RedeployRequest
- type RedeployResponse
- type ServiceGroup
- func (*ServiceGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceGroup) GetDisplayName() string
- func (x *ServiceGroup) GetEnabled() *wrapperspb.BoolValue
- func (x *ServiceGroup) GetId() *v1.UUID
- func (x *ServiceGroup) GetLabel() string
- func (x *ServiceGroup) GetName() string
- func (x *ServiceGroup) GetServices() []*v11.Service
- func (x *ServiceGroup) GetSkipHelper() bool
- func (*ServiceGroup) ProtoMessage()
- func (x *ServiceGroup) ProtoReflect() protoreflect.Message
- func (x *ServiceGroup) Reset()
- func (x *ServiceGroup) String() string
- type ServiceGroupServiceClient
- type ServiceGroupServiceServer
- type StoreRequest
- type StoreResponse
- type UnimplementedServiceGroupServiceServer
- func (UnimplementedServiceGroupServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedServiceGroupServiceServer) GetAll(context.Context, *GetAllRequest) (*GetAllResponse, error)
- func (UnimplementedServiceGroupServiceServer) GetByID(context.Context, *GetByIDRequest) (*GetByIDResponse, error)
- func (UnimplementedServiceGroupServiceServer) Redeploy(context.Context, *RedeployRequest) (*RedeployResponse, error)
- func (UnimplementedServiceGroupServiceServer) Store(context.Context, *StoreRequest) (*StoreResponse, error)
- func (UnimplementedServiceGroupServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeServiceGroupServiceServer
- type UpdateRequest
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
var File_pkg_proto_service_group_v1_service_group_proto protoreflect.FileDescriptor
var ServiceGroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pkg.proto.service_group.v1.ServiceGroupService", HandlerType: (*ServiceGroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAll", Handler: _ServiceGroupService_GetAll_Handler, }, { MethodName: "GetByID", Handler: _ServiceGroupService_GetByID_Handler, }, { MethodName: "Delete", Handler: _ServiceGroupService_Delete_Handler, }, { MethodName: "Store", Handler: _ServiceGroupService_Store_Handler, }, { MethodName: "Update", Handler: _ServiceGroupService_Update_Handler, }, { MethodName: "Redeploy", Handler: _ServiceGroupService_Redeploy_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/proto/service_group/v1/service_group.proto", }
ServiceGroupService_ServiceDesc is the grpc.ServiceDesc for ServiceGroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceGroupServiceServer ¶
func RegisterServiceGroupServiceServer(s grpc.ServiceRegistrar, srv ServiceGroupServiceServer)
Types ¶
type DeleteRequest ¶
type DeleteRequest struct { Id *v1.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetId ¶
func (x *DeleteRequest) GetId() *v1.UUID
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type GetAllRequest ¶
type GetAllRequest struct {
// contains filtered or unexported fields
}
func (*GetAllRequest) Descriptor
deprecated
func (*GetAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllRequest.ProtoReflect.Descriptor instead.
func (*GetAllRequest) ProtoMessage ¶
func (*GetAllRequest) ProtoMessage()
func (*GetAllRequest) ProtoReflect ¶
func (x *GetAllRequest) ProtoReflect() protoreflect.Message
func (*GetAllRequest) Reset ¶
func (x *GetAllRequest) Reset()
func (*GetAllRequest) String ¶
func (x *GetAllRequest) String() string
type GetAllResponse ¶
type GetAllResponse struct { ServiceGroups []*ServiceGroup `protobuf:"bytes,1,rep,name=service_groups,json=serviceGroups,proto3" json:"service_groups,omitempty"` // contains filtered or unexported fields }
func (*GetAllResponse) Descriptor
deprecated
func (*GetAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllResponse.ProtoReflect.Descriptor instead.
func (*GetAllResponse) GetServiceGroups ¶
func (x *GetAllResponse) GetServiceGroups() []*ServiceGroup
func (*GetAllResponse) ProtoMessage ¶
func (*GetAllResponse) ProtoMessage()
func (*GetAllResponse) ProtoReflect ¶
func (x *GetAllResponse) ProtoReflect() protoreflect.Message
func (*GetAllResponse) Reset ¶
func (x *GetAllResponse) Reset()
func (*GetAllResponse) String ¶
func (x *GetAllResponse) String() string
type GetByIDRequest ¶
type GetByIDRequest struct { Id *v1.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetByIDRequest) Descriptor
deprecated
func (*GetByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByIDRequest.ProtoReflect.Descriptor instead.
func (*GetByIDRequest) GetId ¶
func (x *GetByIDRequest) GetId() *v1.UUID
func (*GetByIDRequest) ProtoMessage ¶
func (*GetByIDRequest) ProtoMessage()
func (*GetByIDRequest) ProtoReflect ¶
func (x *GetByIDRequest) ProtoReflect() protoreflect.Message
func (*GetByIDRequest) Reset ¶
func (x *GetByIDRequest) Reset()
func (*GetByIDRequest) String ¶
func (x *GetByIDRequest) String() string
type GetByIDResponse ¶
type GetByIDResponse struct { ServiceGroup *ServiceGroup `protobuf:"bytes,1,opt,name=service_group,json=serviceGroup,proto3" json:"service_group,omitempty"` // contains filtered or unexported fields }
func (*GetByIDResponse) Descriptor
deprecated
func (*GetByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByIDResponse.ProtoReflect.Descriptor instead.
func (*GetByIDResponse) GetServiceGroup ¶
func (x *GetByIDResponse) GetServiceGroup() *ServiceGroup
func (*GetByIDResponse) ProtoMessage ¶
func (*GetByIDResponse) ProtoMessage()
func (*GetByIDResponse) ProtoReflect ¶
func (x *GetByIDResponse) ProtoReflect() protoreflect.Message
func (*GetByIDResponse) Reset ¶
func (x *GetByIDResponse) Reset()
func (*GetByIDResponse) String ¶
func (x *GetByIDResponse) String() string
type RedeployRequest ¶
type RedeployRequest struct { Id *v1.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RedeployRequest) Descriptor
deprecated
func (*RedeployRequest) Descriptor() ([]byte, []int)
Deprecated: Use RedeployRequest.ProtoReflect.Descriptor instead.
func (*RedeployRequest) GetId ¶
func (x *RedeployRequest) GetId() *v1.UUID
func (*RedeployRequest) ProtoMessage ¶
func (*RedeployRequest) ProtoMessage()
func (*RedeployRequest) ProtoReflect ¶
func (x *RedeployRequest) ProtoReflect() protoreflect.Message
func (*RedeployRequest) Reset ¶
func (x *RedeployRequest) Reset()
func (*RedeployRequest) String ¶
func (x *RedeployRequest) String() string
type RedeployResponse ¶
type RedeployResponse struct {
// contains filtered or unexported fields
}
func (*RedeployResponse) Descriptor
deprecated
func (*RedeployResponse) Descriptor() ([]byte, []int)
Deprecated: Use RedeployResponse.ProtoReflect.Descriptor instead.
func (*RedeployResponse) ProtoMessage ¶
func (*RedeployResponse) ProtoMessage()
func (*RedeployResponse) ProtoReflect ¶
func (x *RedeployResponse) ProtoReflect() protoreflect.Message
func (*RedeployResponse) Reset ¶
func (x *RedeployResponse) Reset()
func (*RedeployResponse) String ¶
func (x *RedeployResponse) String() string
type ServiceGroup ¶
type ServiceGroup struct { Id *v1.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Enabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=enabled,proto3" json:"enabled,omitempty"` SkipHelper bool `protobuf:"varint,5,opt,name=skip_helper,json=skipHelper,proto3" json:"skip_helper,omitempty"` Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"` Services []*v11.Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
func (*ServiceGroup) Descriptor
deprecated
func (*ServiceGroup) Descriptor() ([]byte, []int)
Deprecated: Use ServiceGroup.ProtoReflect.Descriptor instead.
func (*ServiceGroup) GetDisplayName ¶
func (x *ServiceGroup) GetDisplayName() string
func (*ServiceGroup) GetEnabled ¶
func (x *ServiceGroup) GetEnabled() *wrapperspb.BoolValue
func (*ServiceGroup) GetId ¶
func (x *ServiceGroup) GetId() *v1.UUID
func (*ServiceGroup) GetLabel ¶
func (x *ServiceGroup) GetLabel() string
func (*ServiceGroup) GetName ¶
func (x *ServiceGroup) GetName() string
func (*ServiceGroup) GetServices ¶
func (x *ServiceGroup) GetServices() []*v11.Service
func (*ServiceGroup) GetSkipHelper ¶
func (x *ServiceGroup) GetSkipHelper() bool
func (*ServiceGroup) ProtoMessage ¶
func (*ServiceGroup) ProtoMessage()
func (*ServiceGroup) ProtoReflect ¶
func (x *ServiceGroup) ProtoReflect() protoreflect.Message
func (*ServiceGroup) Reset ¶
func (x *ServiceGroup) Reset()
func (*ServiceGroup) String ¶
func (x *ServiceGroup) String() string
type ServiceGroupServiceClient ¶
type ServiceGroupServiceClient interface { GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (*GetAllResponse, error) GetByID(ctx context.Context, in *GetByIDRequest, opts ...grpc.CallOption) (*GetByIDResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) Store(ctx context.Context, in *StoreRequest, opts ...grpc.CallOption) (*StoreResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) Redeploy(ctx context.Context, in *RedeployRequest, opts ...grpc.CallOption) (*RedeployResponse, error) }
ServiceGroupServiceClient is the client API for ServiceGroupService 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 NewServiceGroupServiceClient ¶
func NewServiceGroupServiceClient(cc grpc.ClientConnInterface) ServiceGroupServiceClient
type ServiceGroupServiceServer ¶
type ServiceGroupServiceServer interface { GetAll(context.Context, *GetAllRequest) (*GetAllResponse, error) GetByID(context.Context, *GetByIDRequest) (*GetByIDResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) Store(context.Context, *StoreRequest) (*StoreResponse, error) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) Redeploy(context.Context, *RedeployRequest) (*RedeployResponse, error) // contains filtered or unexported methods }
ServiceGroupServiceServer is the server API for ServiceGroupService service. All implementations must embed UnimplementedServiceGroupServiceServer for forward compatibility
type StoreRequest ¶
type StoreRequest struct { ServiceGroup *ServiceGroup `protobuf:"bytes,1,opt,name=service_group,json=serviceGroup,proto3" json:"service_group,omitempty"` // contains filtered or unexported fields }
func (*StoreRequest) Descriptor
deprecated
func (*StoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreRequest.ProtoReflect.Descriptor instead.
func (*StoreRequest) GetServiceGroup ¶
func (x *StoreRequest) GetServiceGroup() *ServiceGroup
func (*StoreRequest) ProtoMessage ¶
func (*StoreRequest) ProtoMessage()
func (*StoreRequest) ProtoReflect ¶
func (x *StoreRequest) ProtoReflect() protoreflect.Message
func (*StoreRequest) Reset ¶
func (x *StoreRequest) Reset()
func (*StoreRequest) String ¶
func (x *StoreRequest) String() string
type StoreResponse ¶
type StoreResponse struct { Id *v1.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*StoreResponse) Descriptor
deprecated
func (*StoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreResponse.ProtoReflect.Descriptor instead.
func (*StoreResponse) GetId ¶
func (x *StoreResponse) GetId() *v1.UUID
func (*StoreResponse) ProtoMessage ¶
func (*StoreResponse) ProtoMessage()
func (*StoreResponse) ProtoReflect ¶
func (x *StoreResponse) ProtoReflect() protoreflect.Message
func (*StoreResponse) Reset ¶
func (x *StoreResponse) Reset()
func (*StoreResponse) String ¶
func (x *StoreResponse) String() string
type UnimplementedServiceGroupServiceServer ¶
type UnimplementedServiceGroupServiceServer struct { }
UnimplementedServiceGroupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceGroupServiceServer) Delete ¶
func (UnimplementedServiceGroupServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedServiceGroupServiceServer) GetAll ¶
func (UnimplementedServiceGroupServiceServer) GetAll(context.Context, *GetAllRequest) (*GetAllResponse, error)
func (UnimplementedServiceGroupServiceServer) GetByID ¶
func (UnimplementedServiceGroupServiceServer) GetByID(context.Context, *GetByIDRequest) (*GetByIDResponse, error)
func (UnimplementedServiceGroupServiceServer) Redeploy ¶
func (UnimplementedServiceGroupServiceServer) Redeploy(context.Context, *RedeployRequest) (*RedeployResponse, error)
func (UnimplementedServiceGroupServiceServer) Store ¶
func (UnimplementedServiceGroupServiceServer) Store(context.Context, *StoreRequest) (*StoreResponse, error)
func (UnimplementedServiceGroupServiceServer) Update ¶
func (UnimplementedServiceGroupServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeServiceGroupServiceServer ¶
type UnsafeServiceGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceGroupServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { ServiceGroup *ServiceGroup `protobuf:"bytes,1,opt,name=service_group,json=serviceGroup,proto3" json:"service_group,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetServiceGroup ¶
func (x *UpdateRequest) GetServiceGroup() *ServiceGroup
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string