Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterQualityMilestoneDefinitionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQualityMilestoneDefinitionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterQualityMilestoneDefinitionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQualityMilestoneDefinitionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterQualityMilestoneDefinitionServiceServer(s grpc.ServiceRegistrar, srv QualityMilestoneDefinitionServiceServer)
- func RegisterReleaseServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterReleaseServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReleaseServiceClient) error
- func RegisterReleaseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterReleaseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ReleaseServiceServer) error
- func RegisterReleaseServiceServer(s grpc.ServiceRegistrar, srv ReleaseServiceServer)
- type QualityMilestone
- func (*QualityMilestone) Descriptor() ([]byte, []int)deprecated
- func (x *QualityMilestone) GetApprover() string
- func (x *QualityMilestone) GetMeta() *v1.Meta
- func (x *QualityMilestone) GetMetadata() []*QualityMilestoneMetadata
- func (x *QualityMilestone) GetName() string
- func (*QualityMilestone) ProtoMessage()
- func (x *QualityMilestone) ProtoReflect() protoreflect.Message
- func (x *QualityMilestone) Reset()
- func (x *QualityMilestone) String() string
- type QualityMilestoneDefinitionServiceClient
- type QualityMilestoneDefinitionServiceCreateRequest
- func (*QualityMilestoneDefinitionServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QualityMilestoneDefinitionServiceCreateRequest) GetExpectedMetadataKeys() []string
- func (x *QualityMilestoneDefinitionServiceCreateRequest) GetName() string
- func (*QualityMilestoneDefinitionServiceCreateRequest) ProtoMessage()
- func (x *QualityMilestoneDefinitionServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *QualityMilestoneDefinitionServiceCreateRequest) Reset()
- func (x *QualityMilestoneDefinitionServiceCreateRequest) String() string
- type QualityMilestoneDefinitionServiceCreateResponse
- func (*QualityMilestoneDefinitionServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QualityMilestoneDefinitionServiceCreateResponse) GetExpectedMetadataKeys() []string
- func (x *QualityMilestoneDefinitionServiceCreateResponse) GetMeta() *v1.Meta
- func (x *QualityMilestoneDefinitionServiceCreateResponse) GetName() string
- func (*QualityMilestoneDefinitionServiceCreateResponse) ProtoMessage()
- func (x *QualityMilestoneDefinitionServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *QualityMilestoneDefinitionServiceCreateResponse) Reset()
- func (x *QualityMilestoneDefinitionServiceCreateResponse) String() string
- type QualityMilestoneDefinitionServiceGetRequest
- func (*QualityMilestoneDefinitionServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QualityMilestoneDefinitionServiceGetRequest) GetName() string
- func (*QualityMilestoneDefinitionServiceGetRequest) ProtoMessage()
- func (x *QualityMilestoneDefinitionServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *QualityMilestoneDefinitionServiceGetRequest) Reset()
- func (x *QualityMilestoneDefinitionServiceGetRequest) String() string
- type QualityMilestoneDefinitionServiceGetResponse
- func (*QualityMilestoneDefinitionServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QualityMilestoneDefinitionServiceGetResponse) GetExpectedMetadataKeys() []string
- func (x *QualityMilestoneDefinitionServiceGetResponse) GetMeta() *v1.Meta
- func (x *QualityMilestoneDefinitionServiceGetResponse) GetName() string
- func (*QualityMilestoneDefinitionServiceGetResponse) ProtoMessage()
- func (x *QualityMilestoneDefinitionServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *QualityMilestoneDefinitionServiceGetResponse) Reset()
- func (x *QualityMilestoneDefinitionServiceGetResponse) String() string
- type QualityMilestoneDefinitionServiceListRequest
- func (*QualityMilestoneDefinitionServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (*QualityMilestoneDefinitionServiceListRequest) ProtoMessage()
- func (x *QualityMilestoneDefinitionServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *QualityMilestoneDefinitionServiceListRequest) Reset()
- func (x *QualityMilestoneDefinitionServiceListRequest) String() string
- type QualityMilestoneDefinitionServiceListResponse
- func (*QualityMilestoneDefinitionServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QualityMilestoneDefinitionServiceListResponse) GetQualityMilestoneDefinitions() []*QualityMilestoneDefinitionServiceGetResponse
- func (*QualityMilestoneDefinitionServiceListResponse) ProtoMessage()
- func (x *QualityMilestoneDefinitionServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *QualityMilestoneDefinitionServiceListResponse) Reset()
- func (x *QualityMilestoneDefinitionServiceListResponse) String() string
- type QualityMilestoneDefinitionServiceServer
- type QualityMilestoneMetadata
- func (*QualityMilestoneMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *QualityMilestoneMetadata) GetKey() string
- func (x *QualityMilestoneMetadata) GetValue() string
- func (*QualityMilestoneMetadata) ProtoMessage()
- func (x *QualityMilestoneMetadata) ProtoReflect() protoreflect.Message
- func (x *QualityMilestoneMetadata) Reset()
- func (x *QualityMilestoneMetadata) String() string
- type ReleaseKind
- func (ReleaseKind) Descriptor() protoreflect.EnumDescriptor
- func (x ReleaseKind) Enum() *ReleaseKind
- func (ReleaseKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReleaseKind) Number() protoreflect.EnumNumber
- func (x ReleaseKind) String() string
- func (ReleaseKind) Type() protoreflect.EnumType
- type ReleaseMetadata
- func (*ReleaseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseMetadata) GetKey() string
- func (x *ReleaseMetadata) GetValue() string
- func (*ReleaseMetadata) ProtoMessage()
- func (x *ReleaseMetadata) ProtoReflect() protoreflect.Message
- func (x *ReleaseMetadata) Reset()
- func (x *ReleaseMetadata) String() string
- type ReleaseServiceApproveRequest
- func (*ReleaseServiceApproveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceApproveRequest) GetMetadata() []*QualityMilestoneMetadata
- func (x *ReleaseServiceApproveRequest) GetQualityMilestoneDefinitionName() string
- func (x *ReleaseServiceApproveRequest) GetTag() string
- func (*ReleaseServiceApproveRequest) ProtoMessage()
- func (x *ReleaseServiceApproveRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceApproveRequest) Reset()
- func (x *ReleaseServiceApproveRequest) String() string
- type ReleaseServiceApproveResponse
- func (*ReleaseServiceApproveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceApproveResponse) GetApprover() string
- func (x *ReleaseServiceApproveResponse) GetKind() ReleaseKind
- func (x *ReleaseServiceApproveResponse) GetMeta() *v1.Meta
- func (x *ReleaseServiceApproveResponse) GetMetadata() []*QualityMilestoneMetadata
- func (x *ReleaseServiceApproveResponse) GetQualityMilestoneDefinitionName() string
- func (x *ReleaseServiceApproveResponse) GetTag() string
- func (*ReleaseServiceApproveResponse) ProtoMessage()
- func (x *ReleaseServiceApproveResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceApproveResponse) Reset()
- func (x *ReleaseServiceApproveResponse) String() string
- type ReleaseServiceClient
- type ReleaseServiceCreateRequest
- func (*ReleaseServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceCreateRequest) GetCommit() string
- func (x *ReleaseServiceCreateRequest) GetMetadata() []*ReleaseMetadata
- func (x *ReleaseServiceCreateRequest) GetTag() string
- func (*ReleaseServiceCreateRequest) ProtoMessage()
- func (x *ReleaseServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceCreateRequest) Reset()
- func (x *ReleaseServiceCreateRequest) String() string
- type ReleaseServiceCreateResponse
- func (*ReleaseServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceCreateResponse) GetCommit() string
- func (x *ReleaseServiceCreateResponse) GetCreator() string
- func (x *ReleaseServiceCreateResponse) GetKind() ReleaseKind
- func (x *ReleaseServiceCreateResponse) GetMeta() *v1.Meta
- func (x *ReleaseServiceCreateResponse) GetMetadata() []*ReleaseMetadata
- func (x *ReleaseServiceCreateResponse) GetTag() string
- func (*ReleaseServiceCreateResponse) ProtoMessage()
- func (x *ReleaseServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceCreateResponse) Reset()
- func (x *ReleaseServiceCreateResponse) String() string
- type ReleaseServiceFindLatestRequest
- func (*ReleaseServiceFindLatestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceFindLatestRequest) GetIgnoredReleaseKinds() []ReleaseKind
- func (x *ReleaseServiceFindLatestRequest) GetIncludeRejected() bool
- func (x *ReleaseServiceFindLatestRequest) GetPrefix() string
- func (x *ReleaseServiceFindLatestRequest) GetPreload() bool
- func (x *ReleaseServiceFindLatestRequest) GetQualityMilestoneName() string
- func (*ReleaseServiceFindLatestRequest) ProtoMessage()
- func (x *ReleaseServiceFindLatestRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceFindLatestRequest) Reset()
- func (x *ReleaseServiceFindLatestRequest) String() string
- type ReleaseServiceFindLatestResponse
- func (*ReleaseServiceFindLatestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceFindLatestResponse) GetCommit() string
- func (x *ReleaseServiceFindLatestResponse) GetCreator() string
- func (x *ReleaseServiceFindLatestResponse) GetKind() ReleaseKind
- func (x *ReleaseServiceFindLatestResponse) GetMeta() *v1.Meta
- func (x *ReleaseServiceFindLatestResponse) GetMetadata() []*ReleaseMetadata
- func (x *ReleaseServiceFindLatestResponse) GetQualityMilestones() []*QualityMilestone
- func (x *ReleaseServiceFindLatestResponse) GetRejected() bool
- func (x *ReleaseServiceFindLatestResponse) GetTag() string
- func (*ReleaseServiceFindLatestResponse) ProtoMessage()
- func (x *ReleaseServiceFindLatestResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceFindLatestResponse) Reset()
- func (x *ReleaseServiceFindLatestResponse) String() string
- type ReleaseServiceGetRequest
- func (*ReleaseServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceGetRequest) GetIncludeRejected() bool
- func (x *ReleaseServiceGetRequest) GetPreload() bool
- func (x *ReleaseServiceGetRequest) GetTag() string
- func (*ReleaseServiceGetRequest) ProtoMessage()
- func (x *ReleaseServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceGetRequest) Reset()
- func (x *ReleaseServiceGetRequest) String() string
- type ReleaseServiceGetResponse
- func (*ReleaseServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceGetResponse) GetCommit() string
- func (x *ReleaseServiceGetResponse) GetCreator() string
- func (x *ReleaseServiceGetResponse) GetKind() ReleaseKind
- func (x *ReleaseServiceGetResponse) GetMeta() *v1.Meta
- func (x *ReleaseServiceGetResponse) GetMetadata() []*ReleaseMetadata
- func (x *ReleaseServiceGetResponse) GetQualityMilestones() []*QualityMilestone
- func (x *ReleaseServiceGetResponse) GetRejected() bool
- func (x *ReleaseServiceGetResponse) GetTag() string
- func (*ReleaseServiceGetResponse) ProtoMessage()
- func (x *ReleaseServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceGetResponse) Reset()
- func (x *ReleaseServiceGetResponse) String() string
- type ReleaseServiceListRequest
- func (*ReleaseServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceListRequest) GetIgnoredReleaseKinds() []ReleaseKind
- func (x *ReleaseServiceListRequest) GetIncludeRejected() bool
- func (x *ReleaseServiceListRequest) GetPrefix() string
- func (x *ReleaseServiceListRequest) GetPreload() bool
- func (x *ReleaseServiceListRequest) GetQualityMilestoneName() string
- func (*ReleaseServiceListRequest) ProtoMessage()
- func (x *ReleaseServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceListRequest) Reset()
- func (x *ReleaseServiceListRequest) String() string
- type ReleaseServiceListResponse
- func (*ReleaseServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceListResponse) GetReleases() []*ReleaseServiceGetResponse
- func (*ReleaseServiceListResponse) ProtoMessage()
- func (x *ReleaseServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceListResponse) Reset()
- func (x *ReleaseServiceListResponse) String() string
- type ReleaseServiceRejectRequest
- func (*ReleaseServiceRejectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceRejectRequest) GetPreload() bool
- func (x *ReleaseServiceRejectRequest) GetTag() string
- func (*ReleaseServiceRejectRequest) ProtoMessage()
- func (x *ReleaseServiceRejectRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceRejectRequest) Reset()
- func (x *ReleaseServiceRejectRequest) String() string
- type ReleaseServiceRejectResponse
- func (*ReleaseServiceRejectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceRejectResponse) GetCommit() string
- func (x *ReleaseServiceRejectResponse) GetCreator() string
- func (x *ReleaseServiceRejectResponse) GetKind() ReleaseKind
- func (x *ReleaseServiceRejectResponse) GetMeta() *v1.Meta
- func (x *ReleaseServiceRejectResponse) GetMetadata() []*ReleaseMetadata
- func (x *ReleaseServiceRejectResponse) GetRejected() bool
- func (x *ReleaseServiceRejectResponse) GetTag() string
- func (*ReleaseServiceRejectResponse) ProtoMessage()
- func (x *ReleaseServiceRejectResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceRejectResponse) Reset()
- func (x *ReleaseServiceRejectResponse) String() string
- type ReleaseServiceServer
- type ReleaseServiceUpdateRequest
- func (*ReleaseServiceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceUpdateRequest) GetIncludeRejected() bool
- func (x *ReleaseServiceUpdateRequest) GetMetadata() []*ReleaseMetadata
- func (x *ReleaseServiceUpdateRequest) GetTag() string
- func (*ReleaseServiceUpdateRequest) ProtoMessage()
- func (x *ReleaseServiceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceUpdateRequest) Reset()
- func (x *ReleaseServiceUpdateRequest) String() string
- type ReleaseServiceUpdateResponse
- func (*ReleaseServiceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseServiceUpdateResponse) GetCommit() string
- func (x *ReleaseServiceUpdateResponse) GetCreator() string
- func (x *ReleaseServiceUpdateResponse) GetKind() ReleaseKind
- func (x *ReleaseServiceUpdateResponse) GetMeta() *v1.Meta
- func (x *ReleaseServiceUpdateResponse) GetMetadata() []*ReleaseMetadata
- func (x *ReleaseServiceUpdateResponse) GetQualityMilestones() []*QualityMilestone
- func (x *ReleaseServiceUpdateResponse) GetRejected() bool
- func (x *ReleaseServiceUpdateResponse) GetTag() string
- func (*ReleaseServiceUpdateResponse) ProtoMessage()
- func (x *ReleaseServiceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseServiceUpdateResponse) Reset()
- func (x *ReleaseServiceUpdateResponse) String() string
- type UnimplementedQualityMilestoneDefinitionServiceServer
- func (UnimplementedQualityMilestoneDefinitionServiceServer) Create(context.Context, *QualityMilestoneDefinitionServiceCreateRequest) (*QualityMilestoneDefinitionServiceCreateResponse, error)
- func (UnimplementedQualityMilestoneDefinitionServiceServer) Get(context.Context, *QualityMilestoneDefinitionServiceGetRequest) (*QualityMilestoneDefinitionServiceGetResponse, error)
- func (UnimplementedQualityMilestoneDefinitionServiceServer) List(context.Context, *QualityMilestoneDefinitionServiceListRequest) (*QualityMilestoneDefinitionServiceListResponse, error)
- type UnimplementedReleaseServiceServer
- func (UnimplementedReleaseServiceServer) Approve(context.Context, *ReleaseServiceApproveRequest) (*ReleaseServiceApproveResponse, error)
- func (UnimplementedReleaseServiceServer) Create(context.Context, *ReleaseServiceCreateRequest) (*ReleaseServiceCreateResponse, error)
- func (UnimplementedReleaseServiceServer) FindLatest(context.Context, *ReleaseServiceFindLatestRequest) (*ReleaseServiceFindLatestResponse, error)
- func (UnimplementedReleaseServiceServer) Get(context.Context, *ReleaseServiceGetRequest) (*ReleaseServiceGetResponse, error)
- func (UnimplementedReleaseServiceServer) List(context.Context, *ReleaseServiceListRequest) (*ReleaseServiceListResponse, error)
- func (UnimplementedReleaseServiceServer) Reject(context.Context, *ReleaseServiceRejectRequest) (*ReleaseServiceRejectResponse, error)
- func (UnimplementedReleaseServiceServer) Update(context.Context, *ReleaseServiceUpdateRequest) (*ReleaseServiceUpdateResponse, error)
- type UnsafeQualityMilestoneDefinitionServiceServer
- type UnsafeReleaseServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ReleaseKind_name = map[int32]string{ 0: "RELEASE_KIND_INVALID_UNSPECIFIED", 1: "RELEASE_KIND_DEVELOPMENT", 2: "RELEASE_KIND_RC", 3: "RELEASE_KIND_RELEASE", 4: "RELEASE_KIND_NIGHTLY", } ReleaseKind_value = map[string]int32{ "RELEASE_KIND_INVALID_UNSPECIFIED": 0, "RELEASE_KIND_DEVELOPMENT": 1, "RELEASE_KIND_RC": 2, "RELEASE_KIND_RELEASE": 3, "RELEASE_KIND_NIGHTLY": 4, } )
Enum value maps for ReleaseKind.
var File_proto_api_v1_quality_milestone_definition_proto protoreflect.FileDescriptor
var File_proto_api_v1_quality_milestone_proto protoreflect.FileDescriptor
var File_proto_api_v1_release_proto protoreflect.FileDescriptor
var QualityMilestoneDefinitionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.api.v1.QualityMilestoneDefinitionService", HandlerType: (*QualityMilestoneDefinitionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _QualityMilestoneDefinitionService_Create_Handler, }, { MethodName: "List", Handler: _QualityMilestoneDefinitionService_List_Handler, }, { MethodName: "Get", Handler: _QualityMilestoneDefinitionService_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/api/v1/quality_milestone_definition.proto", }
QualityMilestoneDefinitionService_ServiceDesc is the grpc.ServiceDesc for QualityMilestoneDefinitionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ReleaseService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.api.v1.ReleaseService", HandlerType: (*ReleaseServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ReleaseService_Create_Handler, }, { MethodName: "List", Handler: _ReleaseService_List_Handler, }, { MethodName: "Get", Handler: _ReleaseService_Get_Handler, }, { MethodName: "Update", Handler: _ReleaseService_Update_Handler, }, { MethodName: "Approve", Handler: _ReleaseService_Approve_Handler, }, { MethodName: "Reject", Handler: _ReleaseService_Reject_Handler, }, { MethodName: "FindLatest", Handler: _ReleaseService_FindLatest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/api/v1/release.proto", }
ReleaseService_ServiceDesc is the grpc.ServiceDesc for ReleaseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterQualityMilestoneDefinitionServiceHandler ¶
func RegisterQualityMilestoneDefinitionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterQualityMilestoneDefinitionServiceHandler registers the http handlers for service QualityMilestoneDefinitionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQualityMilestoneDefinitionServiceHandlerClient ¶
func RegisterQualityMilestoneDefinitionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QualityMilestoneDefinitionServiceClient) error
RegisterQualityMilestoneDefinitionServiceHandlerClient registers the http handlers for service QualityMilestoneDefinitionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QualityMilestoneDefinitionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QualityMilestoneDefinitionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QualityMilestoneDefinitionServiceClient" to call the correct interceptors.
func RegisterQualityMilestoneDefinitionServiceHandlerFromEndpoint ¶
func RegisterQualityMilestoneDefinitionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQualityMilestoneDefinitionServiceHandlerFromEndpoint is same as RegisterQualityMilestoneDefinitionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQualityMilestoneDefinitionServiceHandlerServer ¶
func RegisterQualityMilestoneDefinitionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QualityMilestoneDefinitionServiceServer) error
RegisterQualityMilestoneDefinitionServiceHandlerServer registers the http handlers for service QualityMilestoneDefinitionService to "mux". UnaryRPC :call QualityMilestoneDefinitionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQualityMilestoneDefinitionServiceHandlerFromEndpoint instead.
func RegisterQualityMilestoneDefinitionServiceServer ¶
func RegisterQualityMilestoneDefinitionServiceServer(s grpc.ServiceRegistrar, srv QualityMilestoneDefinitionServiceServer)
func RegisterReleaseServiceHandler ¶
func RegisterReleaseServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterReleaseServiceHandler registers the http handlers for service ReleaseService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterReleaseServiceHandlerClient ¶
func RegisterReleaseServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReleaseServiceClient) error
RegisterReleaseServiceHandlerClient registers the http handlers for service ReleaseService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ReleaseServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ReleaseServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ReleaseServiceClient" to call the correct interceptors.
func RegisterReleaseServiceHandlerFromEndpoint ¶
func RegisterReleaseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterReleaseServiceHandlerFromEndpoint is same as RegisterReleaseServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterReleaseServiceHandlerServer ¶
func RegisterReleaseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ReleaseServiceServer) error
RegisterReleaseServiceHandlerServer registers the http handlers for service ReleaseService to "mux". UnaryRPC :call ReleaseServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterReleaseServiceHandlerFromEndpoint instead.
func RegisterReleaseServiceServer ¶
func RegisterReleaseServiceServer(s grpc.ServiceRegistrar, srv ReleaseServiceServer)
Types ¶
type QualityMilestone ¶
type QualityMilestone struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Name of the quality milestone definition. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Email address of actor who approved the quality milestone. Approver string `protobuf:"bytes,3,opt,name=approver,proto3" json:"approver,omitempty"` // List of metadata associated with the quality milestone. Metadata []*QualityMilestoneMetadata `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Represents a quality milestone.
func (*QualityMilestone) Descriptor
deprecated
func (*QualityMilestone) Descriptor() ([]byte, []int)
Deprecated: Use QualityMilestone.ProtoReflect.Descriptor instead.
func (*QualityMilestone) GetApprover ¶
func (x *QualityMilestone) GetApprover() string
func (*QualityMilestone) GetMeta ¶
func (x *QualityMilestone) GetMeta() *v1.Meta
func (*QualityMilestone) GetMetadata ¶
func (x *QualityMilestone) GetMetadata() []*QualityMilestoneMetadata
func (*QualityMilestone) GetName ¶
func (x *QualityMilestone) GetName() string
func (*QualityMilestone) ProtoMessage ¶
func (*QualityMilestone) ProtoMessage()
func (*QualityMilestone) ProtoReflect ¶
func (x *QualityMilestone) ProtoReflect() protoreflect.Message
func (*QualityMilestone) Reset ¶
func (x *QualityMilestone) Reset()
func (*QualityMilestone) String ¶
func (x *QualityMilestone) String() string
type QualityMilestoneDefinitionServiceClient ¶
type QualityMilestoneDefinitionServiceClient interface { // Create creates a new quality milestone definition. Create(ctx context.Context, in *QualityMilestoneDefinitionServiceCreateRequest, opts ...grpc.CallOption) (*QualityMilestoneDefinitionServiceCreateResponse, error) // List returns all known quality milestone definitions. List(ctx context.Context, in *QualityMilestoneDefinitionServiceListRequest, opts ...grpc.CallOption) (*QualityMilestoneDefinitionServiceListResponse, error) // Get returns a quality milestone definitions for a given name. Get(ctx context.Context, in *QualityMilestoneDefinitionServiceGetRequest, opts ...grpc.CallOption) (*QualityMilestoneDefinitionServiceGetResponse, error) }
QualityMilestoneDefinitionServiceClient is the client API for QualityMilestoneDefinitionService 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 NewQualityMilestoneDefinitionServiceClient ¶
func NewQualityMilestoneDefinitionServiceClient(cc grpc.ClientConnInterface) QualityMilestoneDefinitionServiceClient
type QualityMilestoneDefinitionServiceCreateRequest ¶
type QualityMilestoneDefinitionServiceCreateRequest struct { // Unique name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // List of metadata keys that quality milestones of this definition must provide. ExpectedMetadataKeys []string `protobuf:"bytes,2,rep,name=expected_metadata_keys,json=expectedMetadataKeys,proto3" json:"expected_metadata_keys,omitempty"` // // contains filtered or unexported fields }
Represents a create request for a quality milestone definition.
func (*QualityMilestoneDefinitionServiceCreateRequest) Descriptor
deprecated
func (*QualityMilestoneDefinitionServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use QualityMilestoneDefinitionServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*QualityMilestoneDefinitionServiceCreateRequest) GetExpectedMetadataKeys ¶
func (x *QualityMilestoneDefinitionServiceCreateRequest) GetExpectedMetadataKeys() []string
func (*QualityMilestoneDefinitionServiceCreateRequest) GetName ¶
func (x *QualityMilestoneDefinitionServiceCreateRequest) GetName() string
func (*QualityMilestoneDefinitionServiceCreateRequest) ProtoMessage ¶
func (*QualityMilestoneDefinitionServiceCreateRequest) ProtoMessage()
func (*QualityMilestoneDefinitionServiceCreateRequest) ProtoReflect ¶
func (x *QualityMilestoneDefinitionServiceCreateRequest) ProtoReflect() protoreflect.Message
func (*QualityMilestoneDefinitionServiceCreateRequest) Reset ¶
func (x *QualityMilestoneDefinitionServiceCreateRequest) Reset()
func (*QualityMilestoneDefinitionServiceCreateRequest) String ¶
func (x *QualityMilestoneDefinitionServiceCreateRequest) String() string
type QualityMilestoneDefinitionServiceCreateResponse ¶
type QualityMilestoneDefinitionServiceCreateResponse struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Unique name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // List of metadata keys that quality milestones of this definition must provide. ExpectedMetadataKeys []string `protobuf:"bytes,3,rep,name=expected_metadata_keys,json=expectedMetadataKeys,proto3" json:"expected_metadata_keys,omitempty"` // contains filtered or unexported fields }
Represents the response to the creation request for a quality milestone definition
func (*QualityMilestoneDefinitionServiceCreateResponse) Descriptor
deprecated
func (*QualityMilestoneDefinitionServiceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use QualityMilestoneDefinitionServiceCreateResponse.ProtoReflect.Descriptor instead.
func (*QualityMilestoneDefinitionServiceCreateResponse) GetExpectedMetadataKeys ¶
func (x *QualityMilestoneDefinitionServiceCreateResponse) GetExpectedMetadataKeys() []string
func (*QualityMilestoneDefinitionServiceCreateResponse) GetMeta ¶
func (x *QualityMilestoneDefinitionServiceCreateResponse) GetMeta() *v1.Meta
func (*QualityMilestoneDefinitionServiceCreateResponse) GetName ¶
func (x *QualityMilestoneDefinitionServiceCreateResponse) GetName() string
func (*QualityMilestoneDefinitionServiceCreateResponse) ProtoMessage ¶
func (*QualityMilestoneDefinitionServiceCreateResponse) ProtoMessage()
func (*QualityMilestoneDefinitionServiceCreateResponse) ProtoReflect ¶
func (x *QualityMilestoneDefinitionServiceCreateResponse) ProtoReflect() protoreflect.Message
func (*QualityMilestoneDefinitionServiceCreateResponse) Reset ¶
func (x *QualityMilestoneDefinitionServiceCreateResponse) Reset()
func (*QualityMilestoneDefinitionServiceCreateResponse) String ¶
func (x *QualityMilestoneDefinitionServiceCreateResponse) String() string
type QualityMilestoneDefinitionServiceGetRequest ¶
type QualityMilestoneDefinitionServiceGetRequest struct { // Unique name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Represents a request to get a specific quality milestone definition.
func (*QualityMilestoneDefinitionServiceGetRequest) Descriptor
deprecated
func (*QualityMilestoneDefinitionServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use QualityMilestoneDefinitionServiceGetRequest.ProtoReflect.Descriptor instead.
func (*QualityMilestoneDefinitionServiceGetRequest) GetName ¶
func (x *QualityMilestoneDefinitionServiceGetRequest) GetName() string
func (*QualityMilestoneDefinitionServiceGetRequest) ProtoMessage ¶
func (*QualityMilestoneDefinitionServiceGetRequest) ProtoMessage()
func (*QualityMilestoneDefinitionServiceGetRequest) ProtoReflect ¶
func (x *QualityMilestoneDefinitionServiceGetRequest) ProtoReflect() protoreflect.Message
func (*QualityMilestoneDefinitionServiceGetRequest) Reset ¶
func (x *QualityMilestoneDefinitionServiceGetRequest) Reset()
func (*QualityMilestoneDefinitionServiceGetRequest) String ¶
func (x *QualityMilestoneDefinitionServiceGetRequest) String() string
type QualityMilestoneDefinitionServiceGetResponse ¶
type QualityMilestoneDefinitionServiceGetResponse struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Unique name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // List of metadata keys that quality milestones of this definition must provide. ExpectedMetadataKeys []string `protobuf:"bytes,3,rep,name=expected_metadata_keys,json=expectedMetadataKeys,proto3" json:"expected_metadata_keys,omitempty"` // contains filtered or unexported fields }
Represents the response to a get request for a specific quality milestone definition.
func (*QualityMilestoneDefinitionServiceGetResponse) Descriptor
deprecated
func (*QualityMilestoneDefinitionServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use QualityMilestoneDefinitionServiceGetResponse.ProtoReflect.Descriptor instead.
func (*QualityMilestoneDefinitionServiceGetResponse) GetExpectedMetadataKeys ¶
func (x *QualityMilestoneDefinitionServiceGetResponse) GetExpectedMetadataKeys() []string
func (*QualityMilestoneDefinitionServiceGetResponse) GetMeta ¶
func (x *QualityMilestoneDefinitionServiceGetResponse) GetMeta() *v1.Meta
func (*QualityMilestoneDefinitionServiceGetResponse) GetName ¶
func (x *QualityMilestoneDefinitionServiceGetResponse) GetName() string
func (*QualityMilestoneDefinitionServiceGetResponse) ProtoMessage ¶
func (*QualityMilestoneDefinitionServiceGetResponse) ProtoMessage()
func (*QualityMilestoneDefinitionServiceGetResponse) ProtoReflect ¶
func (x *QualityMilestoneDefinitionServiceGetResponse) ProtoReflect() protoreflect.Message
func (*QualityMilestoneDefinitionServiceGetResponse) Reset ¶
func (x *QualityMilestoneDefinitionServiceGetResponse) Reset()
func (*QualityMilestoneDefinitionServiceGetResponse) String ¶
func (x *QualityMilestoneDefinitionServiceGetResponse) String() string
type QualityMilestoneDefinitionServiceListRequest ¶
type QualityMilestoneDefinitionServiceListRequest struct {
// contains filtered or unexported fields
}
Represents a request to list all quality milestone definitions.
func (*QualityMilestoneDefinitionServiceListRequest) Descriptor
deprecated
func (*QualityMilestoneDefinitionServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use QualityMilestoneDefinitionServiceListRequest.ProtoReflect.Descriptor instead.
func (*QualityMilestoneDefinitionServiceListRequest) ProtoMessage ¶
func (*QualityMilestoneDefinitionServiceListRequest) ProtoMessage()
func (*QualityMilestoneDefinitionServiceListRequest) ProtoReflect ¶
func (x *QualityMilestoneDefinitionServiceListRequest) ProtoReflect() protoreflect.Message
func (*QualityMilestoneDefinitionServiceListRequest) Reset ¶
func (x *QualityMilestoneDefinitionServiceListRequest) Reset()
func (*QualityMilestoneDefinitionServiceListRequest) String ¶
func (x *QualityMilestoneDefinitionServiceListRequest) String() string
type QualityMilestoneDefinitionServiceListResponse ¶
type QualityMilestoneDefinitionServiceListResponse struct { // List of quality milestone definitions. QualityMilestoneDefinitions []*QualityMilestoneDefinitionServiceGetResponse `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
Represents the response to list all quality milestone definitions.
func (*QualityMilestoneDefinitionServiceListResponse) Descriptor
deprecated
func (*QualityMilestoneDefinitionServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use QualityMilestoneDefinitionServiceListResponse.ProtoReflect.Descriptor instead.
func (*QualityMilestoneDefinitionServiceListResponse) GetQualityMilestoneDefinitions ¶
func (x *QualityMilestoneDefinitionServiceListResponse) GetQualityMilestoneDefinitions() []*QualityMilestoneDefinitionServiceGetResponse
func (*QualityMilestoneDefinitionServiceListResponse) ProtoMessage ¶
func (*QualityMilestoneDefinitionServiceListResponse) ProtoMessage()
func (*QualityMilestoneDefinitionServiceListResponse) ProtoReflect ¶
func (x *QualityMilestoneDefinitionServiceListResponse) ProtoReflect() protoreflect.Message
func (*QualityMilestoneDefinitionServiceListResponse) Reset ¶
func (x *QualityMilestoneDefinitionServiceListResponse) Reset()
func (*QualityMilestoneDefinitionServiceListResponse) String ¶
func (x *QualityMilestoneDefinitionServiceListResponse) String() string
type QualityMilestoneDefinitionServiceServer ¶
type QualityMilestoneDefinitionServiceServer interface { // Create creates a new quality milestone definition. Create(context.Context, *QualityMilestoneDefinitionServiceCreateRequest) (*QualityMilestoneDefinitionServiceCreateResponse, error) // List returns all known quality milestone definitions. List(context.Context, *QualityMilestoneDefinitionServiceListRequest) (*QualityMilestoneDefinitionServiceListResponse, error) // Get returns a quality milestone definitions for a given name. Get(context.Context, *QualityMilestoneDefinitionServiceGetRequest) (*QualityMilestoneDefinitionServiceGetResponse, error) // contains filtered or unexported methods }
QualityMilestoneDefinitionServiceServer is the server API for QualityMilestoneDefinitionService service. All implementations must embed UnimplementedQualityMilestoneDefinitionServiceServer for forward compatibility
type QualityMilestoneMetadata ¶
type QualityMilestoneMetadata struct { // Unique key to identify the metadata. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Metadata value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Represents metadata for quality milestones.
func (*QualityMilestoneMetadata) Descriptor
deprecated
func (*QualityMilestoneMetadata) Descriptor() ([]byte, []int)
Deprecated: Use QualityMilestoneMetadata.ProtoReflect.Descriptor instead.
func (*QualityMilestoneMetadata) GetKey ¶
func (x *QualityMilestoneMetadata) GetKey() string
func (*QualityMilestoneMetadata) GetValue ¶
func (x *QualityMilestoneMetadata) GetValue() string
func (*QualityMilestoneMetadata) ProtoMessage ¶
func (*QualityMilestoneMetadata) ProtoMessage()
func (*QualityMilestoneMetadata) ProtoReflect ¶
func (x *QualityMilestoneMetadata) ProtoReflect() protoreflect.Message
func (*QualityMilestoneMetadata) Reset ¶
func (x *QualityMilestoneMetadata) Reset()
func (*QualityMilestoneMetadata) String ¶
func (x *QualityMilestoneMetadata) String() string
type ReleaseKind ¶
type ReleaseKind int32
Represents kind of releases.
const ( // Invalid or unspecified kind. ReleaseKind_RELEASE_KIND_INVALID_UNSPECIFIED ReleaseKind = 0 // Development (untagged) kind. ReleaseKind_RELEASE_KIND_DEVELOPMENT ReleaseKind = 1 // Release candidate kind. ReleaseKind_RELEASE_KIND_RC ReleaseKind = 2 // Release kind. ReleaseKind_RELEASE_KIND_RELEASE ReleaseKind = 3 // Nightly build kind. ReleaseKind_RELEASE_KIND_NIGHTLY ReleaseKind = 4 )
func (ReleaseKind) Descriptor ¶
func (ReleaseKind) Descriptor() protoreflect.EnumDescriptor
func (ReleaseKind) Enum ¶
func (x ReleaseKind) Enum() *ReleaseKind
func (ReleaseKind) EnumDescriptor
deprecated
func (ReleaseKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReleaseKind.Descriptor instead.
func (ReleaseKind) Number ¶
func (x ReleaseKind) Number() protoreflect.EnumNumber
func (ReleaseKind) String ¶
func (x ReleaseKind) String() string
func (ReleaseKind) Type ¶
func (ReleaseKind) Type() protoreflect.EnumType
type ReleaseMetadata ¶
type ReleaseMetadata struct { // Unique key to identify the metadata. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Metadata value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Represents metadata for releases.
func (*ReleaseMetadata) Descriptor
deprecated
func (*ReleaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseMetadata.ProtoReflect.Descriptor instead.
func (*ReleaseMetadata) GetKey ¶
func (x *ReleaseMetadata) GetKey() string
func (*ReleaseMetadata) GetValue ¶
func (x *ReleaseMetadata) GetValue() string
func (*ReleaseMetadata) ProtoMessage ¶
func (*ReleaseMetadata) ProtoMessage()
func (*ReleaseMetadata) ProtoReflect ¶
func (x *ReleaseMetadata) ProtoReflect() protoreflect.Message
func (*ReleaseMetadata) Reset ¶
func (x *ReleaseMetadata) Reset()
func (*ReleaseMetadata) String ¶
func (x *ReleaseMetadata) String() string
type ReleaseServiceApproveRequest ¶
type ReleaseServiceApproveRequest struct { // Unique tag. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // Name of a quality milestone definition that the release shall be marked as passed for. QualityMilestoneDefinitionName string `` /* 155-byte string literal not displayed */ // List of metadata associated with the quality milestone. Metadata []*QualityMilestoneMetadata `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Represents a request to approve a release for a quality milestone.
func (*ReleaseServiceApproveRequest) Descriptor
deprecated
func (*ReleaseServiceApproveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceApproveRequest.ProtoReflect.Descriptor instead.
func (*ReleaseServiceApproveRequest) GetMetadata ¶
func (x *ReleaseServiceApproveRequest) GetMetadata() []*QualityMilestoneMetadata
func (*ReleaseServiceApproveRequest) GetQualityMilestoneDefinitionName ¶
func (x *ReleaseServiceApproveRequest) GetQualityMilestoneDefinitionName() string
func (*ReleaseServiceApproveRequest) GetTag ¶
func (x *ReleaseServiceApproveRequest) GetTag() string
func (*ReleaseServiceApproveRequest) ProtoMessage ¶
func (*ReleaseServiceApproveRequest) ProtoMessage()
func (*ReleaseServiceApproveRequest) ProtoReflect ¶
func (x *ReleaseServiceApproveRequest) ProtoReflect() protoreflect.Message
func (*ReleaseServiceApproveRequest) Reset ¶
func (x *ReleaseServiceApproveRequest) Reset()
func (*ReleaseServiceApproveRequest) String ¶
func (x *ReleaseServiceApproveRequest) String() string
type ReleaseServiceApproveResponse ¶
type ReleaseServiceApproveResponse struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Unique tag. Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // Name of a quality milestone definition that the release has been marked as passed for. QualityMilestoneDefinitionName string `` /* 155-byte string literal not displayed */ // Email address of actor who approved the quality milestone. Approver string `protobuf:"bytes,4,opt,name=approver,proto3" json:"approver,omitempty"` // Kind of the release. Kind ReleaseKind `protobuf:"varint,5,opt,name=kind,proto3,enum=proto.api.v1.ReleaseKind" json:"kind,omitempty"` // List of metadata associated with the quality milestone. Metadata []*QualityMilestoneMetadata `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Represents the response to the request to approve a release for a quality milestone.
func (*ReleaseServiceApproveResponse) Descriptor
deprecated
func (*ReleaseServiceApproveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceApproveResponse.ProtoReflect.Descriptor instead.
func (*ReleaseServiceApproveResponse) GetApprover ¶
func (x *ReleaseServiceApproveResponse) GetApprover() string
func (*ReleaseServiceApproveResponse) GetKind ¶
func (x *ReleaseServiceApproveResponse) GetKind() ReleaseKind
func (*ReleaseServiceApproveResponse) GetMeta ¶
func (x *ReleaseServiceApproveResponse) GetMeta() *v1.Meta
func (*ReleaseServiceApproveResponse) GetMetadata ¶
func (x *ReleaseServiceApproveResponse) GetMetadata() []*QualityMilestoneMetadata
func (*ReleaseServiceApproveResponse) GetQualityMilestoneDefinitionName ¶
func (x *ReleaseServiceApproveResponse) GetQualityMilestoneDefinitionName() string
func (*ReleaseServiceApproveResponse) GetTag ¶
func (x *ReleaseServiceApproveResponse) GetTag() string
func (*ReleaseServiceApproveResponse) ProtoMessage ¶
func (*ReleaseServiceApproveResponse) ProtoMessage()
func (*ReleaseServiceApproveResponse) ProtoReflect ¶
func (x *ReleaseServiceApproveResponse) ProtoReflect() protoreflect.Message
func (*ReleaseServiceApproveResponse) Reset ¶
func (x *ReleaseServiceApproveResponse) Reset()
func (*ReleaseServiceApproveResponse) String ¶
func (x *ReleaseServiceApproveResponse) String() string
type ReleaseServiceClient ¶
type ReleaseServiceClient interface { // Create creates a new release. Create(ctx context.Context, in *ReleaseServiceCreateRequest, opts ...grpc.CallOption) (*ReleaseServiceCreateResponse, error) // List returns all tracked releases. List(ctx context.Context, in *ReleaseServiceListRequest, opts ...grpc.CallOption) (*ReleaseServiceListResponse, error) // Get returns a release identified by its tag. Get(ctx context.Context, in *ReleaseServiceGetRequest, opts ...grpc.CallOption) (*ReleaseServiceGetResponse, error) // Update updates the metadata for a release identified by its tag. Update(ctx context.Context, in *ReleaseServiceUpdateRequest, opts ...grpc.CallOption) (*ReleaseServiceUpdateResponse, error) // Approve approves a release identified by its tag for a quality milestone. Approve(ctx context.Context, in *ReleaseServiceApproveRequest, opts ...grpc.CallOption) (*ReleaseServiceApproveResponse, error) // Reject marks a release identified by its tag as rejected. Reject(ctx context.Context, in *ReleaseServiceRejectRequest, opts ...grpc.CallOption) (*ReleaseServiceRejectResponse, error) // FindLatest returns the latest release for a given query. FindLatest(ctx context.Context, in *ReleaseServiceFindLatestRequest, opts ...grpc.CallOption) (*ReleaseServiceFindLatestResponse, error) }
ReleaseServiceClient is the client API for ReleaseService 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 NewReleaseServiceClient ¶
func NewReleaseServiceClient(cc grpc.ClientConnInterface) ReleaseServiceClient
type ReleaseServiceCreateRequest ¶
type ReleaseServiceCreateRequest struct { // Unique tag to identify the release. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // Commit hash associated with the release tag. Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // List of metadata associated with the release. Metadata []*ReleaseMetadata `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Represents a create request for a release.
func (*ReleaseServiceCreateRequest) Descriptor
deprecated
func (*ReleaseServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*ReleaseServiceCreateRequest) GetCommit ¶
func (x *ReleaseServiceCreateRequest) GetCommit() string
func (*ReleaseServiceCreateRequest) GetMetadata ¶
func (x *ReleaseServiceCreateRequest) GetMetadata() []*ReleaseMetadata
func (*ReleaseServiceCreateRequest) GetTag ¶
func (x *ReleaseServiceCreateRequest) GetTag() string
func (*ReleaseServiceCreateRequest) ProtoMessage ¶
func (*ReleaseServiceCreateRequest) ProtoMessage()
func (*ReleaseServiceCreateRequest) ProtoReflect ¶
func (x *ReleaseServiceCreateRequest) ProtoReflect() protoreflect.Message
func (*ReleaseServiceCreateRequest) Reset ¶
func (x *ReleaseServiceCreateRequest) Reset()
func (*ReleaseServiceCreateRequest) String ¶
func (x *ReleaseServiceCreateRequest) String() string
type ReleaseServiceCreateResponse ¶
type ReleaseServiceCreateResponse struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Unique tag. Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // Commit hash associated with the release tag. Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // Email address of actor who created the release. Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` // Kind of the release. Kind ReleaseKind `protobuf:"varint,5,opt,name=kind,proto3,enum=proto.api.v1.ReleaseKind" json:"kind,omitempty"` // List of metadata associated with the release. Metadata []*ReleaseMetadata `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Represents the response to the creation request for a release.
func (*ReleaseServiceCreateResponse) Descriptor
deprecated
func (*ReleaseServiceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceCreateResponse.ProtoReflect.Descriptor instead.
func (*ReleaseServiceCreateResponse) GetCommit ¶
func (x *ReleaseServiceCreateResponse) GetCommit() string
func (*ReleaseServiceCreateResponse) GetCreator ¶
func (x *ReleaseServiceCreateResponse) GetCreator() string
func (*ReleaseServiceCreateResponse) GetKind ¶
func (x *ReleaseServiceCreateResponse) GetKind() ReleaseKind
func (*ReleaseServiceCreateResponse) GetMeta ¶
func (x *ReleaseServiceCreateResponse) GetMeta() *v1.Meta
func (*ReleaseServiceCreateResponse) GetMetadata ¶
func (x *ReleaseServiceCreateResponse) GetMetadata() []*ReleaseMetadata
func (*ReleaseServiceCreateResponse) GetTag ¶
func (x *ReleaseServiceCreateResponse) GetTag() string
func (*ReleaseServiceCreateResponse) ProtoMessage ¶
func (*ReleaseServiceCreateResponse) ProtoMessage()
func (*ReleaseServiceCreateResponse) ProtoReflect ¶
func (x *ReleaseServiceCreateResponse) ProtoReflect() protoreflect.Message
func (*ReleaseServiceCreateResponse) Reset ¶
func (x *ReleaseServiceCreateResponse) Reset()
func (*ReleaseServiceCreateResponse) String ¶
func (x *ReleaseServiceCreateResponse) String() string
type ReleaseServiceFindLatestRequest ¶
type ReleaseServiceFindLatestRequest struct { // Prefix of the release tag. Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // Name of a quality milestone that a release must have passed. QualityMilestoneName string `protobuf:"bytes,2,opt,name=quality_milestone_name,json=qualityMilestoneName,proto3" json:"quality_milestone_name,omitempty"` // List of release kinds to ignore in sorting. IgnoredReleaseKinds []ReleaseKind `` /* 158-byte string literal not displayed */ // Whether to include release metadata and associated quality milestones in the response. Preload bool `protobuf:"varint,4,opt,name=preload,proto3" json:"preload,omitempty"` // Whether to include rejected releases in the response. IncludeRejected bool `protobuf:"varint,5,opt,name=include_rejected,json=includeRejected,proto3" json:"include_rejected,omitempty"` // contains filtered or unexported fields }
Represents a request to find the latest release for given search criteria.
func (*ReleaseServiceFindLatestRequest) Descriptor
deprecated
func (*ReleaseServiceFindLatestRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceFindLatestRequest.ProtoReflect.Descriptor instead.
func (*ReleaseServiceFindLatestRequest) GetIgnoredReleaseKinds ¶
func (x *ReleaseServiceFindLatestRequest) GetIgnoredReleaseKinds() []ReleaseKind
func (*ReleaseServiceFindLatestRequest) GetIncludeRejected ¶
func (x *ReleaseServiceFindLatestRequest) GetIncludeRejected() bool
func (*ReleaseServiceFindLatestRequest) GetPrefix ¶
func (x *ReleaseServiceFindLatestRequest) GetPrefix() string
func (*ReleaseServiceFindLatestRequest) GetPreload ¶
func (x *ReleaseServiceFindLatestRequest) GetPreload() bool
func (*ReleaseServiceFindLatestRequest) GetQualityMilestoneName ¶
func (x *ReleaseServiceFindLatestRequest) GetQualityMilestoneName() string
func (*ReleaseServiceFindLatestRequest) ProtoMessage ¶
func (*ReleaseServiceFindLatestRequest) ProtoMessage()
func (*ReleaseServiceFindLatestRequest) ProtoReflect ¶
func (x *ReleaseServiceFindLatestRequest) ProtoReflect() protoreflect.Message
func (*ReleaseServiceFindLatestRequest) Reset ¶
func (x *ReleaseServiceFindLatestRequest) Reset()
func (*ReleaseServiceFindLatestRequest) String ¶
func (x *ReleaseServiceFindLatestRequest) String() string
type ReleaseServiceFindLatestResponse ¶
type ReleaseServiceFindLatestResponse struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Unique tag. Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // Commit hash associated with the release tag. Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // Email address of actor who created the release. Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` // Kind of the release. Kind ReleaseKind `protobuf:"varint,5,opt,name=kind,proto3,enum=proto.api.v1.ReleaseKind" json:"kind,omitempty"` // List of metadata associated with the release. Metadata []*ReleaseMetadata `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` // List of quality milestones that the release has passed. QualityMilestones []*QualityMilestone `protobuf:"bytes,7,rep,name=quality_milestones,json=qualityMilestones,proto3" json:"quality_milestones,omitempty"` // Whether the release is rejected. Rejected bool `protobuf:"varint,8,opt,name=rejected,proto3" json:"rejected,omitempty"` // contains filtered or unexported fields }
Represents the response with the latest release for given search criteria.
func (*ReleaseServiceFindLatestResponse) Descriptor
deprecated
func (*ReleaseServiceFindLatestResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceFindLatestResponse.ProtoReflect.Descriptor instead.
func (*ReleaseServiceFindLatestResponse) GetCommit ¶
func (x *ReleaseServiceFindLatestResponse) GetCommit() string
func (*ReleaseServiceFindLatestResponse) GetCreator ¶
func (x *ReleaseServiceFindLatestResponse) GetCreator() string
func (*ReleaseServiceFindLatestResponse) GetKind ¶
func (x *ReleaseServiceFindLatestResponse) GetKind() ReleaseKind
func (*ReleaseServiceFindLatestResponse) GetMeta ¶
func (x *ReleaseServiceFindLatestResponse) GetMeta() *v1.Meta
func (*ReleaseServiceFindLatestResponse) GetMetadata ¶
func (x *ReleaseServiceFindLatestResponse) GetMetadata() []*ReleaseMetadata
func (*ReleaseServiceFindLatestResponse) GetQualityMilestones ¶
func (x *ReleaseServiceFindLatestResponse) GetQualityMilestones() []*QualityMilestone
func (*ReleaseServiceFindLatestResponse) GetRejected ¶
func (x *ReleaseServiceFindLatestResponse) GetRejected() bool
func (*ReleaseServiceFindLatestResponse) GetTag ¶
func (x *ReleaseServiceFindLatestResponse) GetTag() string
func (*ReleaseServiceFindLatestResponse) ProtoMessage ¶
func (*ReleaseServiceFindLatestResponse) ProtoMessage()
func (*ReleaseServiceFindLatestResponse) ProtoReflect ¶
func (x *ReleaseServiceFindLatestResponse) ProtoReflect() protoreflect.Message
func (*ReleaseServiceFindLatestResponse) Reset ¶
func (x *ReleaseServiceFindLatestResponse) Reset()
func (*ReleaseServiceFindLatestResponse) String ¶
func (x *ReleaseServiceFindLatestResponse) String() string
type ReleaseServiceGetRequest ¶
type ReleaseServiceGetRequest struct { // Unique tag. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // Whether to include release metadata and associated quality milestones in the response. Preload bool `protobuf:"varint,2,opt,name=preload,proto3" json:"preload,omitempty"` // Whether to include rejected releases in the response. IncludeRejected bool `protobuf:"varint,3,opt,name=include_rejected,json=includeRejected,proto3" json:"include_rejected,omitempty"` // contains filtered or unexported fields }
Represents a request to get a specific release.
func (*ReleaseServiceGetRequest) Descriptor
deprecated
func (*ReleaseServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceGetRequest.ProtoReflect.Descriptor instead.
func (*ReleaseServiceGetRequest) GetIncludeRejected ¶
func (x *ReleaseServiceGetRequest) GetIncludeRejected() bool
func (*ReleaseServiceGetRequest) GetPreload ¶
func (x *ReleaseServiceGetRequest) GetPreload() bool
func (*ReleaseServiceGetRequest) GetTag ¶
func (x *ReleaseServiceGetRequest) GetTag() string
func (*ReleaseServiceGetRequest) ProtoMessage ¶
func (*ReleaseServiceGetRequest) ProtoMessage()
func (*ReleaseServiceGetRequest) ProtoReflect ¶
func (x *ReleaseServiceGetRequest) ProtoReflect() protoreflect.Message
func (*ReleaseServiceGetRequest) Reset ¶
func (x *ReleaseServiceGetRequest) Reset()
func (*ReleaseServiceGetRequest) String ¶
func (x *ReleaseServiceGetRequest) String() string
type ReleaseServiceGetResponse ¶
type ReleaseServiceGetResponse struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Unique tag. Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // Commit hash associated with the release tag. Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // Email address of actor who created the release. Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` // Kind of the release. Kind ReleaseKind `protobuf:"varint,5,opt,name=kind,proto3,enum=proto.api.v1.ReleaseKind" json:"kind,omitempty"` // List of metadata associated with the release. Metadata []*ReleaseMetadata `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` // List of quality milestones that the release has passed. QualityMilestones []*QualityMilestone `protobuf:"bytes,7,rep,name=quality_milestones,json=qualityMilestones,proto3" json:"quality_milestones,omitempty"` // Whether the release is rejected. Rejected bool `protobuf:"varint,8,opt,name=rejected,proto3" json:"rejected,omitempty"` // contains filtered or unexported fields }
Represents the response to a get request for a specific release.
func (*ReleaseServiceGetResponse) Descriptor
deprecated
func (*ReleaseServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceGetResponse.ProtoReflect.Descriptor instead.
func (*ReleaseServiceGetResponse) GetCommit ¶
func (x *ReleaseServiceGetResponse) GetCommit() string
func (*ReleaseServiceGetResponse) GetCreator ¶
func (x *ReleaseServiceGetResponse) GetCreator() string
func (*ReleaseServiceGetResponse) GetKind ¶
func (x *ReleaseServiceGetResponse) GetKind() ReleaseKind
func (*ReleaseServiceGetResponse) GetMeta ¶
func (x *ReleaseServiceGetResponse) GetMeta() *v1.Meta
func (*ReleaseServiceGetResponse) GetMetadata ¶
func (x *ReleaseServiceGetResponse) GetMetadata() []*ReleaseMetadata
func (*ReleaseServiceGetResponse) GetQualityMilestones ¶
func (x *ReleaseServiceGetResponse) GetQualityMilestones() []*QualityMilestone
func (*ReleaseServiceGetResponse) GetRejected ¶
func (x *ReleaseServiceGetResponse) GetRejected() bool
func (*ReleaseServiceGetResponse) GetTag ¶
func (x *ReleaseServiceGetResponse) GetTag() string
func (*ReleaseServiceGetResponse) ProtoMessage ¶
func (*ReleaseServiceGetResponse) ProtoMessage()
func (*ReleaseServiceGetResponse) ProtoReflect ¶
func (x *ReleaseServiceGetResponse) ProtoReflect() protoreflect.Message
func (*ReleaseServiceGetResponse) Reset ¶
func (x *ReleaseServiceGetResponse) Reset()
func (*ReleaseServiceGetResponse) String ¶
func (x *ReleaseServiceGetResponse) String() string
type ReleaseServiceListRequest ¶
type ReleaseServiceListRequest struct { // Prefix of the release tag. Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // Name of a quality milestone that a release must have passed. QualityMilestoneName string `protobuf:"bytes,2,opt,name=quality_milestone_name,json=qualityMilestoneName,proto3" json:"quality_milestone_name,omitempty"` // List of release kinds to ignore in output. IgnoredReleaseKinds []ReleaseKind `` /* 158-byte string literal not displayed */ // Whether to include release metadata and associated quality milestones in the response. Preload bool `protobuf:"varint,4,opt,name=preload,proto3" json:"preload,omitempty"` // Whether to include rejected releases in the response. IncludeRejected bool `protobuf:"varint,5,opt,name=include_rejected,json=includeRejected,proto3" json:"include_rejected,omitempty"` // contains filtered or unexported fields }
Represents a request to list all releases matching the search criteria.
func (*ReleaseServiceListRequest) Descriptor
deprecated
func (*ReleaseServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceListRequest.ProtoReflect.Descriptor instead.
func (*ReleaseServiceListRequest) GetIgnoredReleaseKinds ¶
func (x *ReleaseServiceListRequest) GetIgnoredReleaseKinds() []ReleaseKind
func (*ReleaseServiceListRequest) GetIncludeRejected ¶
func (x *ReleaseServiceListRequest) GetIncludeRejected() bool
func (*ReleaseServiceListRequest) GetPrefix ¶
func (x *ReleaseServiceListRequest) GetPrefix() string
func (*ReleaseServiceListRequest) GetPreload ¶
func (x *ReleaseServiceListRequest) GetPreload() bool
func (*ReleaseServiceListRequest) GetQualityMilestoneName ¶
func (x *ReleaseServiceListRequest) GetQualityMilestoneName() string
func (*ReleaseServiceListRequest) ProtoMessage ¶
func (*ReleaseServiceListRequest) ProtoMessage()
func (*ReleaseServiceListRequest) ProtoReflect ¶
func (x *ReleaseServiceListRequest) ProtoReflect() protoreflect.Message
func (*ReleaseServiceListRequest) Reset ¶
func (x *ReleaseServiceListRequest) Reset()
func (*ReleaseServiceListRequest) String ¶
func (x *ReleaseServiceListRequest) String() string
type ReleaseServiceListResponse ¶
type ReleaseServiceListResponse struct { // List of releases. Releases []*ReleaseServiceGetResponse `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"` // contains filtered or unexported fields }
Represents the response to list all releases matching the requested search criteria.
func (*ReleaseServiceListResponse) Descriptor
deprecated
func (*ReleaseServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceListResponse.ProtoReflect.Descriptor instead.
func (*ReleaseServiceListResponse) GetReleases ¶
func (x *ReleaseServiceListResponse) GetReleases() []*ReleaseServiceGetResponse
func (*ReleaseServiceListResponse) ProtoMessage ¶
func (*ReleaseServiceListResponse) ProtoMessage()
func (*ReleaseServiceListResponse) ProtoReflect ¶
func (x *ReleaseServiceListResponse) ProtoReflect() protoreflect.Message
func (*ReleaseServiceListResponse) Reset ¶
func (x *ReleaseServiceListResponse) Reset()
func (*ReleaseServiceListResponse) String ¶
func (x *ReleaseServiceListResponse) String() string
type ReleaseServiceRejectRequest ¶
type ReleaseServiceRejectRequest struct { // Unique tag. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // Whether to include release metadata and associated quality milestones in the response. Preload bool `protobuf:"varint,2,opt,name=preload,proto3" json:"preload,omitempty"` // contains filtered or unexported fields }
Represents a request to reject a release and hide it from results.
func (*ReleaseServiceRejectRequest) Descriptor
deprecated
func (*ReleaseServiceRejectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceRejectRequest.ProtoReflect.Descriptor instead.
func (*ReleaseServiceRejectRequest) GetPreload ¶
func (x *ReleaseServiceRejectRequest) GetPreload() bool
func (*ReleaseServiceRejectRequest) GetTag ¶
func (x *ReleaseServiceRejectRequest) GetTag() string
func (*ReleaseServiceRejectRequest) ProtoMessage ¶
func (*ReleaseServiceRejectRequest) ProtoMessage()
func (*ReleaseServiceRejectRequest) ProtoReflect ¶
func (x *ReleaseServiceRejectRequest) ProtoReflect() protoreflect.Message
func (*ReleaseServiceRejectRequest) Reset ¶
func (x *ReleaseServiceRejectRequest) Reset()
func (*ReleaseServiceRejectRequest) String ¶
func (x *ReleaseServiceRejectRequest) String() string
type ReleaseServiceRejectResponse ¶
type ReleaseServiceRejectResponse struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Unique tag. Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // Commit hash associated with the release tag. Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // Email address of actor who created the release. Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` // Kind of the release. Kind ReleaseKind `protobuf:"varint,5,opt,name=kind,proto3,enum=proto.api.v1.ReleaseKind" json:"kind,omitempty"` // List of metadata associated with the release. Metadata []*ReleaseMetadata `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` // Rejection status of the release. Rejected bool `protobuf:"varint,7,opt,name=rejected,proto3" json:"rejected,omitempty"` // contains filtered or unexported fields }
Represents the response to the request to reject a release.
func (*ReleaseServiceRejectResponse) Descriptor
deprecated
func (*ReleaseServiceRejectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceRejectResponse.ProtoReflect.Descriptor instead.
func (*ReleaseServiceRejectResponse) GetCommit ¶
func (x *ReleaseServiceRejectResponse) GetCommit() string
func (*ReleaseServiceRejectResponse) GetCreator ¶
func (x *ReleaseServiceRejectResponse) GetCreator() string
func (*ReleaseServiceRejectResponse) GetKind ¶
func (x *ReleaseServiceRejectResponse) GetKind() ReleaseKind
func (*ReleaseServiceRejectResponse) GetMeta ¶
func (x *ReleaseServiceRejectResponse) GetMeta() *v1.Meta
func (*ReleaseServiceRejectResponse) GetMetadata ¶
func (x *ReleaseServiceRejectResponse) GetMetadata() []*ReleaseMetadata
func (*ReleaseServiceRejectResponse) GetRejected ¶
func (x *ReleaseServiceRejectResponse) GetRejected() bool
func (*ReleaseServiceRejectResponse) GetTag ¶
func (x *ReleaseServiceRejectResponse) GetTag() string
func (*ReleaseServiceRejectResponse) ProtoMessage ¶
func (*ReleaseServiceRejectResponse) ProtoMessage()
func (*ReleaseServiceRejectResponse) ProtoReflect ¶
func (x *ReleaseServiceRejectResponse) ProtoReflect() protoreflect.Message
func (*ReleaseServiceRejectResponse) Reset ¶
func (x *ReleaseServiceRejectResponse) Reset()
func (*ReleaseServiceRejectResponse) String ¶
func (x *ReleaseServiceRejectResponse) String() string
type ReleaseServiceServer ¶
type ReleaseServiceServer interface { // Create creates a new release. Create(context.Context, *ReleaseServiceCreateRequest) (*ReleaseServiceCreateResponse, error) // List returns all tracked releases. List(context.Context, *ReleaseServiceListRequest) (*ReleaseServiceListResponse, error) // Get returns a release identified by its tag. Get(context.Context, *ReleaseServiceGetRequest) (*ReleaseServiceGetResponse, error) // Update updates the metadata for a release identified by its tag. Update(context.Context, *ReleaseServiceUpdateRequest) (*ReleaseServiceUpdateResponse, error) // Approve approves a release identified by its tag for a quality milestone. Approve(context.Context, *ReleaseServiceApproveRequest) (*ReleaseServiceApproveResponse, error) // Reject marks a release identified by its tag as rejected. Reject(context.Context, *ReleaseServiceRejectRequest) (*ReleaseServiceRejectResponse, error) // FindLatest returns the latest release for a given query. FindLatest(context.Context, *ReleaseServiceFindLatestRequest) (*ReleaseServiceFindLatestResponse, error) // contains filtered or unexported methods }
ReleaseServiceServer is the server API for ReleaseService service. All implementations must embed UnimplementedReleaseServiceServer for forward compatibility
type ReleaseServiceUpdateRequest ¶
type ReleaseServiceUpdateRequest struct { // Unique tag to identify the release. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // List of metadata associated with the release. Metadata []*ReleaseMetadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` // Whether to include rejected releases in the response. IncludeRejected bool `protobuf:"varint,3,opt,name=include_rejected,json=includeRejected,proto3" json:"include_rejected,omitempty"` // contains filtered or unexported fields }
Represents an update request for a release.
func (*ReleaseServiceUpdateRequest) Descriptor
deprecated
func (*ReleaseServiceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceUpdateRequest.ProtoReflect.Descriptor instead.
func (*ReleaseServiceUpdateRequest) GetIncludeRejected ¶
func (x *ReleaseServiceUpdateRequest) GetIncludeRejected() bool
func (*ReleaseServiceUpdateRequest) GetMetadata ¶
func (x *ReleaseServiceUpdateRequest) GetMetadata() []*ReleaseMetadata
func (*ReleaseServiceUpdateRequest) GetTag ¶
func (x *ReleaseServiceUpdateRequest) GetTag() string
func (*ReleaseServiceUpdateRequest) ProtoMessage ¶
func (*ReleaseServiceUpdateRequest) ProtoMessage()
func (*ReleaseServiceUpdateRequest) ProtoReflect ¶
func (x *ReleaseServiceUpdateRequest) ProtoReflect() protoreflect.Message
func (*ReleaseServiceUpdateRequest) Reset ¶
func (x *ReleaseServiceUpdateRequest) Reset()
func (*ReleaseServiceUpdateRequest) String ¶
func (x *ReleaseServiceUpdateRequest) String() string
type ReleaseServiceUpdateResponse ¶
type ReleaseServiceUpdateResponse struct { // Meta information like ID and timestamps. Meta *v1.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Unique tag. Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // Commit hash associated with the release tag. Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // Email address of actor who created the release. Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` // Kind of the release. Kind ReleaseKind `protobuf:"varint,5,opt,name=kind,proto3,enum=proto.api.v1.ReleaseKind" json:"kind,omitempty"` // List of metadata associated with the release. Metadata []*ReleaseMetadata `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` // List of quality milestones that the release has passed. QualityMilestones []*QualityMilestone `protobuf:"bytes,7,rep,name=quality_milestones,json=qualityMilestones,proto3" json:"quality_milestones,omitempty"` // Whether the release is rejected. Rejected bool `protobuf:"varint,8,opt,name=rejected,proto3" json:"rejected,omitempty"` // contains filtered or unexported fields }
Represents the response to the update request for a release.
func (*ReleaseServiceUpdateResponse) Descriptor
deprecated
func (*ReleaseServiceUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseServiceUpdateResponse.ProtoReflect.Descriptor instead.
func (*ReleaseServiceUpdateResponse) GetCommit ¶
func (x *ReleaseServiceUpdateResponse) GetCommit() string
func (*ReleaseServiceUpdateResponse) GetCreator ¶
func (x *ReleaseServiceUpdateResponse) GetCreator() string
func (*ReleaseServiceUpdateResponse) GetKind ¶
func (x *ReleaseServiceUpdateResponse) GetKind() ReleaseKind
func (*ReleaseServiceUpdateResponse) GetMeta ¶
func (x *ReleaseServiceUpdateResponse) GetMeta() *v1.Meta
func (*ReleaseServiceUpdateResponse) GetMetadata ¶
func (x *ReleaseServiceUpdateResponse) GetMetadata() []*ReleaseMetadata
func (*ReleaseServiceUpdateResponse) GetQualityMilestones ¶
func (x *ReleaseServiceUpdateResponse) GetQualityMilestones() []*QualityMilestone
func (*ReleaseServiceUpdateResponse) GetRejected ¶
func (x *ReleaseServiceUpdateResponse) GetRejected() bool
func (*ReleaseServiceUpdateResponse) GetTag ¶
func (x *ReleaseServiceUpdateResponse) GetTag() string
func (*ReleaseServiceUpdateResponse) ProtoMessage ¶
func (*ReleaseServiceUpdateResponse) ProtoMessage()
func (*ReleaseServiceUpdateResponse) ProtoReflect ¶
func (x *ReleaseServiceUpdateResponse) ProtoReflect() protoreflect.Message
func (*ReleaseServiceUpdateResponse) Reset ¶
func (x *ReleaseServiceUpdateResponse) Reset()
func (*ReleaseServiceUpdateResponse) String ¶
func (x *ReleaseServiceUpdateResponse) String() string
type UnimplementedQualityMilestoneDefinitionServiceServer ¶
type UnimplementedQualityMilestoneDefinitionServiceServer struct { }
UnimplementedQualityMilestoneDefinitionServiceServer must be embedded to have forward compatible implementations.
type UnimplementedReleaseServiceServer ¶
type UnimplementedReleaseServiceServer struct { }
UnimplementedReleaseServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedReleaseServiceServer) FindLatest ¶
func (UnimplementedReleaseServiceServer) FindLatest(context.Context, *ReleaseServiceFindLatestRequest) (*ReleaseServiceFindLatestResponse, error)
type UnsafeQualityMilestoneDefinitionServiceServer ¶
type UnsafeQualityMilestoneDefinitionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeQualityMilestoneDefinitionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QualityMilestoneDefinitionServiceServer will result in compilation errors.
type UnsafeReleaseServiceServer ¶
type UnsafeReleaseServiceServer interface {
// contains filtered or unexported methods
}
UnsafeReleaseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReleaseServiceServer will result in compilation errors.