pkgdashpb

package
v0.0.0-...-831fdfd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkgdash_proto protoreflect.FileDescriptor
View Source
var (
	PkgdashServiceName = "PkgdashService"
)
View Source
var (
	PkgdashServiceServerEndpoints = []v4.EndpointMetadata{
		{
			Name:   "PkgdashService.PackageLookup",
			Path:   "/v1/packages/{id}",
			Method: "GET",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.PackageCreate",
			Path:   "/v1/packages",
			Method: "POST",
			Body:   "*",
			Stream: false,
		},
		{
			Name:   "PkgdashService.PackageDelete",
			Path:   "/v1/packages/{id}",
			Method: "DELETE",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.PackageList",
			Path:   "/v1/packages",
			Method: "GET",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.HandlerList",
			Path:   "/v1/packages/{package}/handlers",
			Method: "GET",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.PackageModules",
			Path:   "/v1/packages/{package}/modules",
			Method: "GET",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.PackageUpdate",
			Path:   "/v1/packages/{id}",
			Method: "PUT",
			Body:   "*",
			Stream: false,
		},
		{
			Name:   "PkgdashService.CommentCreate",
			Path:   "/v1/packages/{package}/comments",
			Method: "POST",
			Body:   "*",
			Stream: false,
		},
		{
			Name:   "PkgdashService.CommentLookup",
			Path:   "/v1/comments/{id}",
			Method: "GET",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.CommentLookup",
			Path:   "/v1/comments/{package}/comments/{id}",
			Method: "GET",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.CommentList",
			Path:   "/v1/packages/{package}/comments",
			Method: "GET",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.CommentDelete",
			Path:   "/v1/packages/{package_id}/comments/{id}",
			Method: "DELETE",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.CommentDelete",
			Path:   "/v1/comments/{id}",
			Method: "DELETE",
			Body:   "",
			Stream: false,
		},
		{
			Name:   "PkgdashService.ModuleList",
			Path:   "/v1/modules",
			Method: "GET",
			Body:   "",
			Stream: false,
		},
	}
)

Functions

func RegisterPkgdashServiceServer

func RegisterPkgdashServiceServer(s server.Server, sh PkgdashServiceServer, opts ...options.Option) error

Types

type Comment

type Comment struct {
	Id      uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Package uint64                 `protobuf:"varint,2,opt,name=package,proto3" json:"package,omitempty"`
	Comment string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	Created *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	Updated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*Comment) Descriptor deprecated

func (*Comment) Descriptor() ([]byte, []int)

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetComment

func (x *Comment) GetComment() string

func (*Comment) GetCreated

func (x *Comment) GetCreated() *timestamppb.Timestamp

func (*Comment) GetId

func (x *Comment) GetId() uint64

func (*Comment) GetPackage

func (x *Comment) GetPackage() uint64

func (*Comment) GetUpdated

func (x *Comment) GetUpdated() *timestamppb.Timestamp

func (*Comment) ProtoMessage

func (*Comment) ProtoMessage()

func (*Comment) ProtoReflect

func (x *Comment) ProtoReflect() protoreflect.Message

func (*Comment) Reset

func (x *Comment) Reset()

func (*Comment) String

func (x *Comment) String() string

func (*Comment) Validate

func (m *Comment) Validate() error

Validate checks the field values on Comment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Comment) ValidateAll

func (m *Comment) ValidateAll() error

ValidateAll checks the field values on Comment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentMultiError, or nil if none found.

type CommentCreateReq

type CommentCreateReq struct {
	PackageId uint64 `protobuf:"varint,1,opt,name=package_id,proto3" json:"package_id,omitempty"`
	Comment   string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentCreateReq) Descriptor deprecated

func (*CommentCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use CommentCreateReq.ProtoReflect.Descriptor instead.

func (*CommentCreateReq) GetComment

func (x *CommentCreateReq) GetComment() string

func (*CommentCreateReq) GetPackageId

func (x *CommentCreateReq) GetPackageId() uint64

func (*CommentCreateReq) ProtoMessage

func (*CommentCreateReq) ProtoMessage()

func (*CommentCreateReq) ProtoReflect

func (x *CommentCreateReq) ProtoReflect() protoreflect.Message

func (*CommentCreateReq) Reset

func (x *CommentCreateReq) Reset()

func (*CommentCreateReq) String

func (x *CommentCreateReq) String() string

func (*CommentCreateReq) Validate

func (m *CommentCreateReq) Validate() error

Validate checks the field values on CommentCreateReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommentCreateReq) ValidateAll

func (m *CommentCreateReq) ValidateAll() error

ValidateAll checks the field values on CommentCreateReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentCreateReqMultiError, or nil if none found.

type CommentCreateReqMultiError

type CommentCreateReqMultiError []error

CommentCreateReqMultiError is an error wrapping multiple validation errors returned by CommentCreateReq.ValidateAll() if the designated constraints aren't met.

func (CommentCreateReqMultiError) AllErrors

func (m CommentCreateReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentCreateReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommentCreateReqValidationError

type CommentCreateReqValidationError struct {
	// contains filtered or unexported fields
}

CommentCreateReqValidationError is the validation error returned by CommentCreateReq.Validate if the designated constraints aren't met.

func (CommentCreateReqValidationError) Cause

Cause function returns cause value.

func (CommentCreateReqValidationError) Error

Error satisfies the builtin error interface

func (CommentCreateReqValidationError) ErrorName

ErrorName returns error name.

func (CommentCreateReqValidationError) Field

Field function returns field value.

func (CommentCreateReqValidationError) Key

Key function returns key value.

func (CommentCreateReqValidationError) Reason

Reason function returns reason value.

type CommentCreateRsp

type CommentCreateRsp struct {
	Comment *Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentCreateRsp) Descriptor deprecated

func (*CommentCreateRsp) Descriptor() ([]byte, []int)

Deprecated: Use CommentCreateRsp.ProtoReflect.Descriptor instead.

func (*CommentCreateRsp) GetComment

func (x *CommentCreateRsp) GetComment() *Comment

func (*CommentCreateRsp) ProtoMessage

func (*CommentCreateRsp) ProtoMessage()

func (*CommentCreateRsp) ProtoReflect

func (x *CommentCreateRsp) ProtoReflect() protoreflect.Message

func (*CommentCreateRsp) Reset

func (x *CommentCreateRsp) Reset()

func (*CommentCreateRsp) String

func (x *CommentCreateRsp) String() string

func (*CommentCreateRsp) Validate

func (m *CommentCreateRsp) Validate() error

Validate checks the field values on CommentCreateRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommentCreateRsp) ValidateAll

func (m *CommentCreateRsp) ValidateAll() error

ValidateAll checks the field values on CommentCreateRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentCreateRspMultiError, or nil if none found.

type CommentCreateRspMultiError

type CommentCreateRspMultiError []error

CommentCreateRspMultiError is an error wrapping multiple validation errors returned by CommentCreateRsp.ValidateAll() if the designated constraints aren't met.

func (CommentCreateRspMultiError) AllErrors

func (m CommentCreateRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentCreateRspMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommentCreateRspValidationError

type CommentCreateRspValidationError struct {
	// contains filtered or unexported fields
}

CommentCreateRspValidationError is the validation error returned by CommentCreateRsp.Validate if the designated constraints aren't met.

func (CommentCreateRspValidationError) Cause

Cause function returns cause value.

func (CommentCreateRspValidationError) Error

Error satisfies the builtin error interface

func (CommentCreateRspValidationError) ErrorName

ErrorName returns error name.

func (CommentCreateRspValidationError) Field

Field function returns field value.

func (CommentCreateRspValidationError) Key

Key function returns key value.

func (CommentCreateRspValidationError) Reason

Reason function returns reason value.

type CommentDeleteReq

type CommentDeleteReq struct {
	Id        uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PackageId uint64 `protobuf:"varint,2,opt,name=package_id,proto3" json:"package_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentDeleteReq) Descriptor deprecated

func (*CommentDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use CommentDeleteReq.ProtoReflect.Descriptor instead.

func (*CommentDeleteReq) GetId

func (x *CommentDeleteReq) GetId() uint64

func (*CommentDeleteReq) GetPackageId

func (x *CommentDeleteReq) GetPackageId() uint64

func (*CommentDeleteReq) ProtoMessage

func (*CommentDeleteReq) ProtoMessage()

func (*CommentDeleteReq) ProtoReflect

func (x *CommentDeleteReq) ProtoReflect() protoreflect.Message

func (*CommentDeleteReq) Reset

func (x *CommentDeleteReq) Reset()

func (*CommentDeleteReq) String

func (x *CommentDeleteReq) String() string

func (*CommentDeleteReq) Validate

func (m *CommentDeleteReq) Validate() error

Validate checks the field values on CommentDeleteReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommentDeleteReq) ValidateAll

func (m *CommentDeleteReq) ValidateAll() error

ValidateAll checks the field values on CommentDeleteReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentDeleteReqMultiError, or nil if none found.

type CommentDeleteReqMultiError

type CommentDeleteReqMultiError []error

CommentDeleteReqMultiError is an error wrapping multiple validation errors returned by CommentDeleteReq.ValidateAll() if the designated constraints aren't met.

func (CommentDeleteReqMultiError) AllErrors

func (m CommentDeleteReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentDeleteReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommentDeleteReqValidationError

type CommentDeleteReqValidationError struct {
	// contains filtered or unexported fields
}

CommentDeleteReqValidationError is the validation error returned by CommentDeleteReq.Validate if the designated constraints aren't met.

func (CommentDeleteReqValidationError) Cause

Cause function returns cause value.

func (CommentDeleteReqValidationError) Error

Error satisfies the builtin error interface

func (CommentDeleteReqValidationError) ErrorName

ErrorName returns error name.

func (CommentDeleteReqValidationError) Field

Field function returns field value.

func (CommentDeleteReqValidationError) Key

Key function returns key value.

func (CommentDeleteReqValidationError) Reason

Reason function returns reason value.

type CommentDeleteRsp

type CommentDeleteRsp struct {
	// contains filtered or unexported fields
}

func (*CommentDeleteRsp) Descriptor deprecated

func (*CommentDeleteRsp) Descriptor() ([]byte, []int)

Deprecated: Use CommentDeleteRsp.ProtoReflect.Descriptor instead.

func (*CommentDeleteRsp) ProtoMessage

func (*CommentDeleteRsp) ProtoMessage()

func (*CommentDeleteRsp) ProtoReflect

func (x *CommentDeleteRsp) ProtoReflect() protoreflect.Message

func (*CommentDeleteRsp) Reset

func (x *CommentDeleteRsp) Reset()

func (*CommentDeleteRsp) String

func (x *CommentDeleteRsp) String() string

func (*CommentDeleteRsp) Validate

func (m *CommentDeleteRsp) Validate() error

Validate checks the field values on CommentDeleteRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommentDeleteRsp) ValidateAll

func (m *CommentDeleteRsp) ValidateAll() error

ValidateAll checks the field values on CommentDeleteRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentDeleteRspMultiError, or nil if none found.

type CommentDeleteRspMultiError

type CommentDeleteRspMultiError []error

CommentDeleteRspMultiError is an error wrapping multiple validation errors returned by CommentDeleteRsp.ValidateAll() if the designated constraints aren't met.

func (CommentDeleteRspMultiError) AllErrors

func (m CommentDeleteRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentDeleteRspMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommentDeleteRspValidationError

type CommentDeleteRspValidationError struct {
	// contains filtered or unexported fields
}

CommentDeleteRspValidationError is the validation error returned by CommentDeleteRsp.Validate if the designated constraints aren't met.

func (CommentDeleteRspValidationError) Cause

Cause function returns cause value.

func (CommentDeleteRspValidationError) Error

Error satisfies the builtin error interface

func (CommentDeleteRspValidationError) ErrorName

ErrorName returns error name.

func (CommentDeleteRspValidationError) Field

Field function returns field value.

func (CommentDeleteRspValidationError) Key

Key function returns key value.

func (CommentDeleteRspValidationError) Reason

Reason function returns reason value.

type CommentListReq

type CommentListReq struct {
	Package uint64 `protobuf:"varint,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentListReq) Descriptor deprecated

func (*CommentListReq) Descriptor() ([]byte, []int)

Deprecated: Use CommentListReq.ProtoReflect.Descriptor instead.

func (*CommentListReq) GetPackage

func (x *CommentListReq) GetPackage() uint64

func (*CommentListReq) ProtoMessage

func (*CommentListReq) ProtoMessage()

func (*CommentListReq) ProtoReflect

func (x *CommentListReq) ProtoReflect() protoreflect.Message

func (*CommentListReq) Reset

func (x *CommentListReq) Reset()

func (*CommentListReq) String

func (x *CommentListReq) String() string

func (*CommentListReq) Validate

func (m *CommentListReq) Validate() error

Validate checks the field values on CommentListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommentListReq) ValidateAll

func (m *CommentListReq) ValidateAll() error

ValidateAll checks the field values on CommentListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentListReqMultiError, or nil if none found.

type CommentListReqMultiError

type CommentListReqMultiError []error

CommentListReqMultiError is an error wrapping multiple validation errors returned by CommentListReq.ValidateAll() if the designated constraints aren't met.

func (CommentListReqMultiError) AllErrors

func (m CommentListReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentListReqMultiError) Error

func (m CommentListReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CommentListReqValidationError

type CommentListReqValidationError struct {
	// contains filtered or unexported fields
}

CommentListReqValidationError is the validation error returned by CommentListReq.Validate if the designated constraints aren't met.

func (CommentListReqValidationError) Cause

Cause function returns cause value.

func (CommentListReqValidationError) Error

Error satisfies the builtin error interface

func (CommentListReqValidationError) ErrorName

func (e CommentListReqValidationError) ErrorName() string

ErrorName returns error name.

func (CommentListReqValidationError) Field

Field function returns field value.

func (CommentListReqValidationError) Key

Key function returns key value.

func (CommentListReqValidationError) Reason

Reason function returns reason value.

type CommentListRsp

type CommentListRsp struct {
	Comments []*Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentListRsp) Descriptor deprecated

func (*CommentListRsp) Descriptor() ([]byte, []int)

Deprecated: Use CommentListRsp.ProtoReflect.Descriptor instead.

func (*CommentListRsp) GetComments

func (x *CommentListRsp) GetComments() []*Comment

func (*CommentListRsp) ProtoMessage

func (*CommentListRsp) ProtoMessage()

func (*CommentListRsp) ProtoReflect

func (x *CommentListRsp) ProtoReflect() protoreflect.Message

func (*CommentListRsp) Reset

func (x *CommentListRsp) Reset()

func (*CommentListRsp) String

func (x *CommentListRsp) String() string

func (*CommentListRsp) Validate

func (m *CommentListRsp) Validate() error

Validate checks the field values on CommentListRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommentListRsp) ValidateAll

func (m *CommentListRsp) ValidateAll() error

ValidateAll checks the field values on CommentListRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentListRspMultiError, or nil if none found.

type CommentListRspMultiError

type CommentListRspMultiError []error

CommentListRspMultiError is an error wrapping multiple validation errors returned by CommentListRsp.ValidateAll() if the designated constraints aren't met.

func (CommentListRspMultiError) AllErrors

func (m CommentListRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentListRspMultiError) Error

func (m CommentListRspMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CommentListRspValidationError

type CommentListRspValidationError struct {
	// contains filtered or unexported fields
}

CommentListRspValidationError is the validation error returned by CommentListRsp.Validate if the designated constraints aren't met.

func (CommentListRspValidationError) Cause

Cause function returns cause value.

func (CommentListRspValidationError) Error

Error satisfies the builtin error interface

func (CommentListRspValidationError) ErrorName

func (e CommentListRspValidationError) ErrorName() string

ErrorName returns error name.

func (CommentListRspValidationError) Field

Field function returns field value.

func (CommentListRspValidationError) Key

Key function returns key value.

func (CommentListRspValidationError) Reason

Reason function returns reason value.

type CommentLookupReq

type CommentLookupReq struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Package uint64 `protobuf:"varint,2,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentLookupReq) Descriptor deprecated

func (*CommentLookupReq) Descriptor() ([]byte, []int)

Deprecated: Use CommentLookupReq.ProtoReflect.Descriptor instead.

func (*CommentLookupReq) GetId

func (x *CommentLookupReq) GetId() uint64

func (*CommentLookupReq) GetPackage

func (x *CommentLookupReq) GetPackage() uint64

func (*CommentLookupReq) ProtoMessage

func (*CommentLookupReq) ProtoMessage()

func (*CommentLookupReq) ProtoReflect

func (x *CommentLookupReq) ProtoReflect() protoreflect.Message

func (*CommentLookupReq) Reset

func (x *CommentLookupReq) Reset()

func (*CommentLookupReq) String

func (x *CommentLookupReq) String() string

func (*CommentLookupReq) Validate

func (m *CommentLookupReq) Validate() error

Validate checks the field values on CommentLookupReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommentLookupReq) ValidateAll

func (m *CommentLookupReq) ValidateAll() error

ValidateAll checks the field values on CommentLookupReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentLookupReqMultiError, or nil if none found.

type CommentLookupReqMultiError

type CommentLookupReqMultiError []error

CommentLookupReqMultiError is an error wrapping multiple validation errors returned by CommentLookupReq.ValidateAll() if the designated constraints aren't met.

func (CommentLookupReqMultiError) AllErrors

func (m CommentLookupReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentLookupReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommentLookupReqValidationError

type CommentLookupReqValidationError struct {
	// contains filtered or unexported fields
}

CommentLookupReqValidationError is the validation error returned by CommentLookupReq.Validate if the designated constraints aren't met.

func (CommentLookupReqValidationError) Cause

Cause function returns cause value.

func (CommentLookupReqValidationError) Error

Error satisfies the builtin error interface

func (CommentLookupReqValidationError) ErrorName

ErrorName returns error name.

func (CommentLookupReqValidationError) Field

Field function returns field value.

func (CommentLookupReqValidationError) Key

Key function returns key value.

func (CommentLookupReqValidationError) Reason

Reason function returns reason value.

type CommentLookupRsp

type CommentLookupRsp struct {
	Comment *Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentLookupRsp) Descriptor deprecated

func (*CommentLookupRsp) Descriptor() ([]byte, []int)

Deprecated: Use CommentLookupRsp.ProtoReflect.Descriptor instead.

func (*CommentLookupRsp) GetComment

func (x *CommentLookupRsp) GetComment() *Comment

func (*CommentLookupRsp) ProtoMessage

func (*CommentLookupRsp) ProtoMessage()

func (*CommentLookupRsp) ProtoReflect

func (x *CommentLookupRsp) ProtoReflect() protoreflect.Message

func (*CommentLookupRsp) Reset

func (x *CommentLookupRsp) Reset()

func (*CommentLookupRsp) String

func (x *CommentLookupRsp) String() string

func (*CommentLookupRsp) Validate

func (m *CommentLookupRsp) Validate() error

Validate checks the field values on CommentLookupRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommentLookupRsp) ValidateAll

func (m *CommentLookupRsp) ValidateAll() error

ValidateAll checks the field values on CommentLookupRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommentLookupRspMultiError, or nil if none found.

type CommentLookupRspMultiError

type CommentLookupRspMultiError []error

CommentLookupRspMultiError is an error wrapping multiple validation errors returned by CommentLookupRsp.ValidateAll() if the designated constraints aren't met.

func (CommentLookupRspMultiError) AllErrors

func (m CommentLookupRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentLookupRspMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommentLookupRspValidationError

type CommentLookupRspValidationError struct {
	// contains filtered or unexported fields
}

CommentLookupRspValidationError is the validation error returned by CommentLookupRsp.Validate if the designated constraints aren't met.

func (CommentLookupRspValidationError) Cause

Cause function returns cause value.

func (CommentLookupRspValidationError) Error

Error satisfies the builtin error interface

func (CommentLookupRspValidationError) ErrorName

ErrorName returns error name.

func (CommentLookupRspValidationError) Field

Field function returns field value.

func (CommentLookupRspValidationError) Key

Key function returns key value.

func (CommentLookupRspValidationError) Reason

Reason function returns reason value.

type CommentMultiError

type CommentMultiError []error

CommentMultiError is an error wrapping multiple validation errors returned by Comment.ValidateAll() if the designated constraints aren't met.

func (CommentMultiError) AllErrors

func (m CommentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentMultiError) Error

func (m CommentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CommentValidationError

type CommentValidationError struct {
	// contains filtered or unexported fields
}

CommentValidationError is the validation error returned by Comment.Validate if the designated constraints aren't met.

func (CommentValidationError) Cause

func (e CommentValidationError) Cause() error

Cause function returns cause value.

func (CommentValidationError) Error

func (e CommentValidationError) Error() string

Error satisfies the builtin error interface

func (CommentValidationError) ErrorName

func (e CommentValidationError) ErrorName() string

ErrorName returns error name.

func (CommentValidationError) Field

func (e CommentValidationError) Field() string

Field function returns field value.

func (CommentValidationError) Key

func (e CommentValidationError) Key() bool

Key function returns key value.

func (CommentValidationError) Reason

func (e CommentValidationError) Reason() string

Reason function returns reason value.

type ErrorRsp

type ErrorRsp struct {
	Code    string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Title   string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Uuid    string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorRsp) Descriptor deprecated

func (*ErrorRsp) Descriptor() ([]byte, []int)

Deprecated: Use ErrorRsp.ProtoReflect.Descriptor instead.

func (*ErrorRsp) Error

func (m *ErrorRsp) Error() string

func (*ErrorRsp) GetCode

func (x *ErrorRsp) GetCode() string

func (*ErrorRsp) GetDetails

func (x *ErrorRsp) GetDetails() string

func (*ErrorRsp) GetTitle

func (x *ErrorRsp) GetTitle() string

func (*ErrorRsp) GetUuid

func (x *ErrorRsp) GetUuid() string

func (*ErrorRsp) ProtoMessage

func (*ErrorRsp) ProtoMessage()

func (*ErrorRsp) ProtoReflect

func (x *ErrorRsp) ProtoReflect() protoreflect.Message

func (*ErrorRsp) Reset

func (x *ErrorRsp) Reset()

func (*ErrorRsp) String

func (x *ErrorRsp) String() string

func (*ErrorRsp) Validate

func (m *ErrorRsp) Validate() error

Validate checks the field values on ErrorRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ErrorRsp) ValidateAll

func (m *ErrorRsp) ValidateAll() error

ValidateAll checks the field values on ErrorRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ErrorRspMultiError, or nil if none found.

type ErrorRspMultiError

type ErrorRspMultiError []error

ErrorRspMultiError is an error wrapping multiple validation errors returned by ErrorRsp.ValidateAll() if the designated constraints aren't met.

func (ErrorRspMultiError) AllErrors

func (m ErrorRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ErrorRspMultiError) Error

func (m ErrorRspMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ErrorRspValidationError

type ErrorRspValidationError struct {
	// contains filtered or unexported fields
}

ErrorRspValidationError is the validation error returned by ErrorRsp.Validate if the designated constraints aren't met.

func (ErrorRspValidationError) Cause

func (e ErrorRspValidationError) Cause() error

Cause function returns cause value.

func (ErrorRspValidationError) Error

func (e ErrorRspValidationError) Error() string

Error satisfies the builtin error interface

func (ErrorRspValidationError) ErrorName

func (e ErrorRspValidationError) ErrorName() string

ErrorName returns error name.

func (ErrorRspValidationError) Field

func (e ErrorRspValidationError) Field() string

Field function returns field value.

func (ErrorRspValidationError) Key

func (e ErrorRspValidationError) Key() bool

Key function returns key value.

func (ErrorRspValidationError) Reason

func (e ErrorRspValidationError) Reason() string

Reason function returns reason value.

type Handler

type Handler struct {
	Id       uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Package  uint64  `protobuf:"varint,2,opt,name=package,proto3" json:"package,omitempty"`
	Name     string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Coverage float64 `protobuf:"fixed64,4,opt,name=coverage,proto3" json:"coverage,omitempty"`
	// contains filtered or unexported fields
}

func (*Handler) Descriptor deprecated

func (*Handler) Descriptor() ([]byte, []int)

Deprecated: Use Handler.ProtoReflect.Descriptor instead.

func (*Handler) GetCoverage

func (x *Handler) GetCoverage() float64

func (*Handler) GetId

func (x *Handler) GetId() uint64

func (*Handler) GetName

func (x *Handler) GetName() string

func (*Handler) GetPackage

func (x *Handler) GetPackage() uint64

func (*Handler) ProtoMessage

func (*Handler) ProtoMessage()

func (*Handler) ProtoReflect

func (x *Handler) ProtoReflect() protoreflect.Message

func (*Handler) Reset

func (x *Handler) Reset()

func (*Handler) String

func (x *Handler) String() string

func (*Handler) Validate

func (m *Handler) Validate() error

Validate checks the field values on Handler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Handler) ValidateAll

func (m *Handler) ValidateAll() error

ValidateAll checks the field values on Handler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HandlerMultiError, or nil if none found.

type HandlerListReq

type HandlerListReq struct {
	Package uint64 `protobuf:"varint,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*HandlerListReq) Descriptor deprecated

func (*HandlerListReq) Descriptor() ([]byte, []int)

Deprecated: Use HandlerListReq.ProtoReflect.Descriptor instead.

func (*HandlerListReq) GetPackage

func (x *HandlerListReq) GetPackage() uint64

func (*HandlerListReq) ProtoMessage

func (*HandlerListReq) ProtoMessage()

func (*HandlerListReq) ProtoReflect

func (x *HandlerListReq) ProtoReflect() protoreflect.Message

func (*HandlerListReq) Reset

func (x *HandlerListReq) Reset()

func (*HandlerListReq) String

func (x *HandlerListReq) String() string

func (*HandlerListReq) Validate

func (m *HandlerListReq) Validate() error

Validate checks the field values on HandlerListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HandlerListReq) ValidateAll

func (m *HandlerListReq) ValidateAll() error

ValidateAll checks the field values on HandlerListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HandlerListReqMultiError, or nil if none found.

type HandlerListReqMultiError

type HandlerListReqMultiError []error

HandlerListReqMultiError is an error wrapping multiple validation errors returned by HandlerListReq.ValidateAll() if the designated constraints aren't met.

func (HandlerListReqMultiError) AllErrors

func (m HandlerListReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HandlerListReqMultiError) Error

func (m HandlerListReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HandlerListReqValidationError

type HandlerListReqValidationError struct {
	// contains filtered or unexported fields
}

HandlerListReqValidationError is the validation error returned by HandlerListReq.Validate if the designated constraints aren't met.

func (HandlerListReqValidationError) Cause

Cause function returns cause value.

func (HandlerListReqValidationError) Error

Error satisfies the builtin error interface

func (HandlerListReqValidationError) ErrorName

func (e HandlerListReqValidationError) ErrorName() string

ErrorName returns error name.

func (HandlerListReqValidationError) Field

Field function returns field value.

func (HandlerListReqValidationError) Key

Key function returns key value.

func (HandlerListReqValidationError) Reason

Reason function returns reason value.

type HandlerListRsp

type HandlerListRsp struct {
	Handlers []*Handler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
	// contains filtered or unexported fields
}

func (*HandlerListRsp) Descriptor deprecated

func (*HandlerListRsp) Descriptor() ([]byte, []int)

Deprecated: Use HandlerListRsp.ProtoReflect.Descriptor instead.

func (*HandlerListRsp) GetHandlers

func (x *HandlerListRsp) GetHandlers() []*Handler

func (*HandlerListRsp) ProtoMessage

func (*HandlerListRsp) ProtoMessage()

func (*HandlerListRsp) ProtoReflect

func (x *HandlerListRsp) ProtoReflect() protoreflect.Message

func (*HandlerListRsp) Reset

func (x *HandlerListRsp) Reset()

func (*HandlerListRsp) String

func (x *HandlerListRsp) String() string

func (*HandlerListRsp) Validate

func (m *HandlerListRsp) Validate() error

Validate checks the field values on HandlerListRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HandlerListRsp) ValidateAll

func (m *HandlerListRsp) ValidateAll() error

ValidateAll checks the field values on HandlerListRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HandlerListRspMultiError, or nil if none found.

type HandlerListRspMultiError

type HandlerListRspMultiError []error

HandlerListRspMultiError is an error wrapping multiple validation errors returned by HandlerListRsp.ValidateAll() if the designated constraints aren't met.

func (HandlerListRspMultiError) AllErrors

func (m HandlerListRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HandlerListRspMultiError) Error

func (m HandlerListRspMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HandlerListRspValidationError

type HandlerListRspValidationError struct {
	// contains filtered or unexported fields
}

HandlerListRspValidationError is the validation error returned by HandlerListRsp.Validate if the designated constraints aren't met.

func (HandlerListRspValidationError) Cause

Cause function returns cause value.

func (HandlerListRspValidationError) Error

Error satisfies the builtin error interface

func (HandlerListRspValidationError) ErrorName

func (e HandlerListRspValidationError) ErrorName() string

ErrorName returns error name.

func (HandlerListRspValidationError) Field

Field function returns field value.

func (HandlerListRspValidationError) Key

Key function returns key value.

func (HandlerListRspValidationError) Reason

Reason function returns reason value.

type HandlerMultiError

type HandlerMultiError []error

HandlerMultiError is an error wrapping multiple validation errors returned by Handler.ValidateAll() if the designated constraints aren't met.

func (HandlerMultiError) AllErrors

func (m HandlerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HandlerMultiError) Error

func (m HandlerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HandlerValidationError

type HandlerValidationError struct {
	// contains filtered or unexported fields
}

HandlerValidationError is the validation error returned by Handler.Validate if the designated constraints aren't met.

func (HandlerValidationError) Cause

func (e HandlerValidationError) Cause() error

Cause function returns cause value.

func (HandlerValidationError) Error

func (e HandlerValidationError) Error() string

Error satisfies the builtin error interface

func (HandlerValidationError) ErrorName

func (e HandlerValidationError) ErrorName() string

ErrorName returns error name.

func (HandlerValidationError) Field

func (e HandlerValidationError) Field() string

Field function returns field value.

func (HandlerValidationError) Key

func (e HandlerValidationError) Key() bool

Key function returns key value.

func (HandlerValidationError) Reason

func (e HandlerValidationError) Reason() string

Reason function returns reason value.

type Issue

type Issue struct {
	Id      uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status  uint64                 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Desc    string                 `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Package uint64                 `protobuf:"varint,4,opt,name=package,proto3" json:"package,omitempty"`
	Modules []uint64               `protobuf:"varint,5,rep,packed,name=modules,proto3" json:"modules,omitempty"`
	Created *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"`
	Updated *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*Issue) Descriptor deprecated

func (*Issue) Descriptor() ([]byte, []int)

Deprecated: Use Issue.ProtoReflect.Descriptor instead.

func (*Issue) GetCreated

func (x *Issue) GetCreated() *timestamppb.Timestamp

func (*Issue) GetDesc

func (x *Issue) GetDesc() string

func (*Issue) GetId

func (x *Issue) GetId() uint64

func (*Issue) GetModules

func (x *Issue) GetModules() []uint64

func (*Issue) GetPackage

func (x *Issue) GetPackage() uint64

func (*Issue) GetStatus

func (x *Issue) GetStatus() uint64

func (*Issue) GetUpdated

func (x *Issue) GetUpdated() *timestamppb.Timestamp

func (*Issue) ProtoMessage

func (*Issue) ProtoMessage()

func (*Issue) ProtoReflect

func (x *Issue) ProtoReflect() protoreflect.Message

func (*Issue) Reset

func (x *Issue) Reset()

func (*Issue) String

func (x *Issue) String() string

func (*Issue) Validate

func (m *Issue) Validate() error

Validate checks the field values on Issue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Issue) ValidateAll

func (m *Issue) ValidateAll() error

ValidateAll checks the field values on Issue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IssueMultiError, or nil if none found.

type IssueMultiError

type IssueMultiError []error

IssueMultiError is an error wrapping multiple validation errors returned by Issue.ValidateAll() if the designated constraints aren't met.

func (IssueMultiError) AllErrors

func (m IssueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IssueMultiError) Error

func (m IssueMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type IssueValidationError

type IssueValidationError struct {
	// contains filtered or unexported fields
}

IssueValidationError is the validation error returned by Issue.Validate if the designated constraints aren't met.

func (IssueValidationError) Cause

func (e IssueValidationError) Cause() error

Cause function returns cause value.

func (IssueValidationError) Error

func (e IssueValidationError) Error() string

Error satisfies the builtin error interface

func (IssueValidationError) ErrorName

func (e IssueValidationError) ErrorName() string

ErrorName returns error name.

func (IssueValidationError) Field

func (e IssueValidationError) Field() string

Field function returns field value.

func (IssueValidationError) Key

func (e IssueValidationError) Key() bool

Key function returns key value.

func (IssueValidationError) Reason

func (e IssueValidationError) Reason() string

Reason function returns reason value.

type Module

type Module struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version   string                 `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	LastCheck *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_check,json=lastCheck,proto3" json:"last_check,omitempty"`
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated

func (*Module) Descriptor() ([]byte, []int)

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetId

func (x *Module) GetId() uint64

func (*Module) GetLastCheck

func (x *Module) GetLastCheck() *timestamppb.Timestamp

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) GetVersion

func (x *Module) GetVersion() string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

func (x *Module) ProtoReflect() protoreflect.Message

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

func (*Module) Validate

func (m *Module) Validate() error

Validate checks the field values on Module with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Module) ValidateAll

func (m *Module) ValidateAll() error

ValidateAll checks the field values on Module with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModuleMultiError, or nil if none found.

type ModuleListReq

type ModuleListReq struct {
	Package uint64 `protobuf:"varint,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleListReq) Descriptor deprecated

func (*ModuleListReq) Descriptor() ([]byte, []int)

Deprecated: Use ModuleListReq.ProtoReflect.Descriptor instead.

func (*ModuleListReq) GetPackage

func (x *ModuleListReq) GetPackage() uint64

func (*ModuleListReq) ProtoMessage

func (*ModuleListReq) ProtoMessage()

func (*ModuleListReq) ProtoReflect

func (x *ModuleListReq) ProtoReflect() protoreflect.Message

func (*ModuleListReq) Reset

func (x *ModuleListReq) Reset()

func (*ModuleListReq) String

func (x *ModuleListReq) String() string

func (*ModuleListReq) Validate

func (m *ModuleListReq) Validate() error

Validate checks the field values on ModuleListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ModuleListReq) ValidateAll

func (m *ModuleListReq) ValidateAll() error

ValidateAll checks the field values on ModuleListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModuleListReqMultiError, or nil if none found.

type ModuleListReqMultiError

type ModuleListReqMultiError []error

ModuleListReqMultiError is an error wrapping multiple validation errors returned by ModuleListReq.ValidateAll() if the designated constraints aren't met.

func (ModuleListReqMultiError) AllErrors

func (m ModuleListReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ModuleListReqMultiError) Error

func (m ModuleListReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ModuleListReqValidationError

type ModuleListReqValidationError struct {
	// contains filtered or unexported fields
}

ModuleListReqValidationError is the validation error returned by ModuleListReq.Validate if the designated constraints aren't met.

func (ModuleListReqValidationError) Cause

Cause function returns cause value.

func (ModuleListReqValidationError) Error

Error satisfies the builtin error interface

func (ModuleListReqValidationError) ErrorName

func (e ModuleListReqValidationError) ErrorName() string

ErrorName returns error name.

func (ModuleListReqValidationError) Field

Field function returns field value.

func (ModuleListReqValidationError) Key

Key function returns key value.

func (ModuleListReqValidationError) Reason

Reason function returns reason value.

type ModuleListRsp

type ModuleListRsp struct {
	Modules []*Module `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleListRsp) Descriptor deprecated

func (*ModuleListRsp) Descriptor() ([]byte, []int)

Deprecated: Use ModuleListRsp.ProtoReflect.Descriptor instead.

func (*ModuleListRsp) GetModules

func (x *ModuleListRsp) GetModules() []*Module

func (*ModuleListRsp) ProtoMessage

func (*ModuleListRsp) ProtoMessage()

func (*ModuleListRsp) ProtoReflect

func (x *ModuleListRsp) ProtoReflect() protoreflect.Message

func (*ModuleListRsp) Reset

func (x *ModuleListRsp) Reset()

func (*ModuleListRsp) String

func (x *ModuleListRsp) String() string

func (*ModuleListRsp) Validate

func (m *ModuleListRsp) Validate() error

Validate checks the field values on ModuleListRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ModuleListRsp) ValidateAll

func (m *ModuleListRsp) ValidateAll() error

ValidateAll checks the field values on ModuleListRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModuleListRspMultiError, or nil if none found.

type ModuleListRspMultiError

type ModuleListRspMultiError []error

ModuleListRspMultiError is an error wrapping multiple validation errors returned by ModuleListRsp.ValidateAll() if the designated constraints aren't met.

func (ModuleListRspMultiError) AllErrors

func (m ModuleListRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ModuleListRspMultiError) Error

func (m ModuleListRspMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ModuleListRspValidationError

type ModuleListRspValidationError struct {
	// contains filtered or unexported fields
}

ModuleListRspValidationError is the validation error returned by ModuleListRsp.Validate if the designated constraints aren't met.

func (ModuleListRspValidationError) Cause

Cause function returns cause value.

func (ModuleListRspValidationError) Error

Error satisfies the builtin error interface

func (ModuleListRspValidationError) ErrorName

func (e ModuleListRspValidationError) ErrorName() string

ErrorName returns error name.

func (ModuleListRspValidationError) Field

Field function returns field value.

func (ModuleListRspValidationError) Key

Key function returns key value.

func (ModuleListRspValidationError) Reason

Reason function returns reason value.

type ModuleMultiError

type ModuleMultiError []error

ModuleMultiError is an error wrapping multiple validation errors returned by Module.ValidateAll() if the designated constraints aren't met.

func (ModuleMultiError) AllErrors

func (m ModuleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ModuleMultiError) Error

func (m ModuleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ModuleValidationError

type ModuleValidationError struct {
	// contains filtered or unexported fields
}

ModuleValidationError is the validation error returned by Module.Validate if the designated constraints aren't met.

func (ModuleValidationError) Cause

func (e ModuleValidationError) Cause() error

Cause function returns cause value.

func (ModuleValidationError) Error

func (e ModuleValidationError) Error() string

Error satisfies the builtin error interface

func (ModuleValidationError) ErrorName

func (e ModuleValidationError) ErrorName() string

ErrorName returns error name.

func (ModuleValidationError) Field

func (e ModuleValidationError) Field() string

Field function returns field value.

func (ModuleValidationError) Key

func (e ModuleValidationError) Key() bool

Key function returns key value.

func (ModuleValidationError) Reason

func (e ModuleValidationError) Reason() string

Reason function returns reason value.

type Package

type Package struct {
	Id          uint64                 `protobuf:"varint,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"`
	Description string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Modules     uint64                 `protobuf:"varint,5,opt,name=modules,proto3" json:"modules,omitempty"`
	Issues      uint64                 `protobuf:"varint,6,opt,name=issues,proto3" json:"issues,omitempty"`
	Comments    uint64                 `protobuf:"varint,7,opt,name=comments,proto3" json:"comments,omitempty"`
	Handlers    uint64                 `protobuf:"varint,8,opt,name=handlers,proto3" json:"handlers,omitempty"`
	Created     *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"`
	Updated     *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated,proto3" json:"updated,omitempty"`
	LastCheck   *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_check,json=lastCheck,proto3" json:"last_check,omitempty"`
	Type        string                 `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"`
	Coverage    float64                `protobuf:"fixed64,13,opt,name=coverage,proto3" json:"coverage,omitempty"`
	// contains filtered or unexported fields
}

func (*Package) Descriptor deprecated

func (*Package) Descriptor() ([]byte, []int)

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetComments

func (x *Package) GetComments() uint64

func (*Package) GetCoverage

func (x *Package) GetCoverage() float64

func (*Package) GetCreated

func (x *Package) GetCreated() *timestamppb.Timestamp

func (*Package) GetDescription

func (x *Package) GetDescription() string

func (*Package) GetHandlers

func (x *Package) GetHandlers() uint64

func (*Package) GetId

func (x *Package) GetId() uint64

func (*Package) GetIssues

func (x *Package) GetIssues() uint64

func (*Package) GetLastCheck

func (x *Package) GetLastCheck() *timestamppb.Timestamp

func (*Package) GetModules

func (x *Package) GetModules() uint64

func (*Package) GetName

func (x *Package) GetName() string

func (*Package) GetType

func (x *Package) GetType() string

func (*Package) GetUpdated

func (x *Package) GetUpdated() *timestamppb.Timestamp

func (*Package) GetUrl

func (x *Package) GetUrl() string

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) ProtoReflect

func (x *Package) ProtoReflect() protoreflect.Message

func (*Package) Reset

func (x *Package) Reset()

func (*Package) String

func (x *Package) String() string

func (*Package) Validate

func (m *Package) Validate() error

Validate checks the field values on Package with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Package) ValidateAll

func (m *Package) ValidateAll() error

ValidateAll checks the field values on Package with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageMultiError, or nil if none found.

type PackageCreateReq

type PackageCreateReq struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url         string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageCreateReq) Descriptor deprecated

func (*PackageCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use PackageCreateReq.ProtoReflect.Descriptor instead.

func (*PackageCreateReq) GetDescription

func (x *PackageCreateReq) GetDescription() string

func (*PackageCreateReq) GetName

func (x *PackageCreateReq) GetName() string

func (*PackageCreateReq) GetUrl

func (x *PackageCreateReq) GetUrl() string

func (*PackageCreateReq) ProtoMessage

func (*PackageCreateReq) ProtoMessage()

func (*PackageCreateReq) ProtoReflect

func (x *PackageCreateReq) ProtoReflect() protoreflect.Message

func (*PackageCreateReq) Reset

func (x *PackageCreateReq) Reset()

func (*PackageCreateReq) String

func (x *PackageCreateReq) String() string

func (*PackageCreateReq) Validate

func (m *PackageCreateReq) Validate() error

Validate checks the field values on PackageCreateReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageCreateReq) ValidateAll

func (m *PackageCreateReq) ValidateAll() error

ValidateAll checks the field values on PackageCreateReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageCreateReqMultiError, or nil if none found.

type PackageCreateReqMultiError

type PackageCreateReqMultiError []error

PackageCreateReqMultiError is an error wrapping multiple validation errors returned by PackageCreateReq.ValidateAll() if the designated constraints aren't met.

func (PackageCreateReqMultiError) AllErrors

func (m PackageCreateReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageCreateReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageCreateReqValidationError

type PackageCreateReqValidationError struct {
	// contains filtered or unexported fields
}

PackageCreateReqValidationError is the validation error returned by PackageCreateReq.Validate if the designated constraints aren't met.

func (PackageCreateReqValidationError) Cause

Cause function returns cause value.

func (PackageCreateReqValidationError) Error

Error satisfies the builtin error interface

func (PackageCreateReqValidationError) ErrorName

ErrorName returns error name.

func (PackageCreateReqValidationError) Field

Field function returns field value.

func (PackageCreateReqValidationError) Key

Key function returns key value.

func (PackageCreateReqValidationError) Reason

Reason function returns reason value.

type PackageCreateRsp

type PackageCreateRsp struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageCreateRsp) Descriptor deprecated

func (*PackageCreateRsp) Descriptor() ([]byte, []int)

Deprecated: Use PackageCreateRsp.ProtoReflect.Descriptor instead.

func (*PackageCreateRsp) GetPackage

func (x *PackageCreateRsp) GetPackage() *Package

func (*PackageCreateRsp) ProtoMessage

func (*PackageCreateRsp) ProtoMessage()

func (*PackageCreateRsp) ProtoReflect

func (x *PackageCreateRsp) ProtoReflect() protoreflect.Message

func (*PackageCreateRsp) Reset

func (x *PackageCreateRsp) Reset()

func (*PackageCreateRsp) String

func (x *PackageCreateRsp) String() string

func (*PackageCreateRsp) Validate

func (m *PackageCreateRsp) Validate() error

Validate checks the field values on PackageCreateRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageCreateRsp) ValidateAll

func (m *PackageCreateRsp) ValidateAll() error

ValidateAll checks the field values on PackageCreateRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageCreateRspMultiError, or nil if none found.

type PackageCreateRspMultiError

type PackageCreateRspMultiError []error

PackageCreateRspMultiError is an error wrapping multiple validation errors returned by PackageCreateRsp.ValidateAll() if the designated constraints aren't met.

func (PackageCreateRspMultiError) AllErrors

func (m PackageCreateRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageCreateRspMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageCreateRspValidationError

type PackageCreateRspValidationError struct {
	// contains filtered or unexported fields
}

PackageCreateRspValidationError is the validation error returned by PackageCreateRsp.Validate if the designated constraints aren't met.

func (PackageCreateRspValidationError) Cause

Cause function returns cause value.

func (PackageCreateRspValidationError) Error

Error satisfies the builtin error interface

func (PackageCreateRspValidationError) ErrorName

ErrorName returns error name.

func (PackageCreateRspValidationError) Field

Field function returns field value.

func (PackageCreateRspValidationError) Key

Key function returns key value.

func (PackageCreateRspValidationError) Reason

Reason function returns reason value.

type PackageDeleteReq

type PackageDeleteReq struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageDeleteReq) Descriptor deprecated

func (*PackageDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use PackageDeleteReq.ProtoReflect.Descriptor instead.

func (*PackageDeleteReq) GetId

func (x *PackageDeleteReq) GetId() uint64

func (*PackageDeleteReq) ProtoMessage

func (*PackageDeleteReq) ProtoMessage()

func (*PackageDeleteReq) ProtoReflect

func (x *PackageDeleteReq) ProtoReflect() protoreflect.Message

func (*PackageDeleteReq) Reset

func (x *PackageDeleteReq) Reset()

func (*PackageDeleteReq) String

func (x *PackageDeleteReq) String() string

func (*PackageDeleteReq) Validate

func (m *PackageDeleteReq) Validate() error

Validate checks the field values on PackageDeleteReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageDeleteReq) ValidateAll

func (m *PackageDeleteReq) ValidateAll() error

ValidateAll checks the field values on PackageDeleteReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageDeleteReqMultiError, or nil if none found.

type PackageDeleteReqMultiError

type PackageDeleteReqMultiError []error

PackageDeleteReqMultiError is an error wrapping multiple validation errors returned by PackageDeleteReq.ValidateAll() if the designated constraints aren't met.

func (PackageDeleteReqMultiError) AllErrors

func (m PackageDeleteReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageDeleteReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageDeleteReqValidationError

type PackageDeleteReqValidationError struct {
	// contains filtered or unexported fields
}

PackageDeleteReqValidationError is the validation error returned by PackageDeleteReq.Validate if the designated constraints aren't met.

func (PackageDeleteReqValidationError) Cause

Cause function returns cause value.

func (PackageDeleteReqValidationError) Error

Error satisfies the builtin error interface

func (PackageDeleteReqValidationError) ErrorName

ErrorName returns error name.

func (PackageDeleteReqValidationError) Field

Field function returns field value.

func (PackageDeleteReqValidationError) Key

Key function returns key value.

func (PackageDeleteReqValidationError) Reason

Reason function returns reason value.

type PackageDeleteRsp

type PackageDeleteRsp struct {
	// contains filtered or unexported fields
}

func (*PackageDeleteRsp) Descriptor deprecated

func (*PackageDeleteRsp) Descriptor() ([]byte, []int)

Deprecated: Use PackageDeleteRsp.ProtoReflect.Descriptor instead.

func (*PackageDeleteRsp) ProtoMessage

func (*PackageDeleteRsp) ProtoMessage()

func (*PackageDeleteRsp) ProtoReflect

func (x *PackageDeleteRsp) ProtoReflect() protoreflect.Message

func (*PackageDeleteRsp) Reset

func (x *PackageDeleteRsp) Reset()

func (*PackageDeleteRsp) String

func (x *PackageDeleteRsp) String() string

func (*PackageDeleteRsp) Validate

func (m *PackageDeleteRsp) Validate() error

Validate checks the field values on PackageDeleteRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageDeleteRsp) ValidateAll

func (m *PackageDeleteRsp) ValidateAll() error

ValidateAll checks the field values on PackageDeleteRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageDeleteRspMultiError, or nil if none found.

type PackageDeleteRspMultiError

type PackageDeleteRspMultiError []error

PackageDeleteRspMultiError is an error wrapping multiple validation errors returned by PackageDeleteRsp.ValidateAll() if the designated constraints aren't met.

func (PackageDeleteRspMultiError) AllErrors

func (m PackageDeleteRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageDeleteRspMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageDeleteRspValidationError

type PackageDeleteRspValidationError struct {
	// contains filtered or unexported fields
}

PackageDeleteRspValidationError is the validation error returned by PackageDeleteRsp.Validate if the designated constraints aren't met.

func (PackageDeleteRspValidationError) Cause

Cause function returns cause value.

func (PackageDeleteRspValidationError) Error

Error satisfies the builtin error interface

func (PackageDeleteRspValidationError) ErrorName

ErrorName returns error name.

func (PackageDeleteRspValidationError) Field

Field function returns field value.

func (PackageDeleteRspValidationError) Key

Key function returns key value.

func (PackageDeleteRspValidationError) Reason

Reason function returns reason value.

type PackageListReq

type PackageListReq struct {
	// contains filtered or unexported fields
}

func (*PackageListReq) Descriptor deprecated

func (*PackageListReq) Descriptor() ([]byte, []int)

Deprecated: Use PackageListReq.ProtoReflect.Descriptor instead.

func (*PackageListReq) ProtoMessage

func (*PackageListReq) ProtoMessage()

func (*PackageListReq) ProtoReflect

func (x *PackageListReq) ProtoReflect() protoreflect.Message

func (*PackageListReq) Reset

func (x *PackageListReq) Reset()

func (*PackageListReq) String

func (x *PackageListReq) String() string

func (*PackageListReq) Validate

func (m *PackageListReq) Validate() error

Validate checks the field values on PackageListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageListReq) ValidateAll

func (m *PackageListReq) ValidateAll() error

ValidateAll checks the field values on PackageListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageListReqMultiError, or nil if none found.

type PackageListReqMultiError

type PackageListReqMultiError []error

PackageListReqMultiError is an error wrapping multiple validation errors returned by PackageListReq.ValidateAll() if the designated constraints aren't met.

func (PackageListReqMultiError) AllErrors

func (m PackageListReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageListReqMultiError) Error

func (m PackageListReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PackageListReqValidationError

type PackageListReqValidationError struct {
	// contains filtered or unexported fields
}

PackageListReqValidationError is the validation error returned by PackageListReq.Validate if the designated constraints aren't met.

func (PackageListReqValidationError) Cause

Cause function returns cause value.

func (PackageListReqValidationError) Error

Error satisfies the builtin error interface

func (PackageListReqValidationError) ErrorName

func (e PackageListReqValidationError) ErrorName() string

ErrorName returns error name.

func (PackageListReqValidationError) Field

Field function returns field value.

func (PackageListReqValidationError) Key

Key function returns key value.

func (PackageListReqValidationError) Reason

Reason function returns reason value.

type PackageListRsp

type PackageListRsp struct {
	Packages []*Package `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageListRsp) Descriptor deprecated

func (*PackageListRsp) Descriptor() ([]byte, []int)

Deprecated: Use PackageListRsp.ProtoReflect.Descriptor instead.

func (*PackageListRsp) GetPackages

func (x *PackageListRsp) GetPackages() []*Package

func (*PackageListRsp) ProtoMessage

func (*PackageListRsp) ProtoMessage()

func (*PackageListRsp) ProtoReflect

func (x *PackageListRsp) ProtoReflect() protoreflect.Message

func (*PackageListRsp) Reset

func (x *PackageListRsp) Reset()

func (*PackageListRsp) String

func (x *PackageListRsp) String() string

func (*PackageListRsp) Validate

func (m *PackageListRsp) Validate() error

Validate checks the field values on PackageListRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageListRsp) ValidateAll

func (m *PackageListRsp) ValidateAll() error

ValidateAll checks the field values on PackageListRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageListRspMultiError, or nil if none found.

type PackageListRspMultiError

type PackageListRspMultiError []error

PackageListRspMultiError is an error wrapping multiple validation errors returned by PackageListRsp.ValidateAll() if the designated constraints aren't met.

func (PackageListRspMultiError) AllErrors

func (m PackageListRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageListRspMultiError) Error

func (m PackageListRspMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PackageListRspValidationError

type PackageListRspValidationError struct {
	// contains filtered or unexported fields
}

PackageListRspValidationError is the validation error returned by PackageListRsp.Validate if the designated constraints aren't met.

func (PackageListRspValidationError) Cause

Cause function returns cause value.

func (PackageListRspValidationError) Error

Error satisfies the builtin error interface

func (PackageListRspValidationError) ErrorName

func (e PackageListRspValidationError) ErrorName() string

ErrorName returns error name.

func (PackageListRspValidationError) Field

Field function returns field value.

func (PackageListRspValidationError) Key

Key function returns key value.

func (PackageListRspValidationError) Reason

Reason function returns reason value.

type PackageLookupReq

type PackageLookupReq struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageLookupReq) Descriptor deprecated

func (*PackageLookupReq) Descriptor() ([]byte, []int)

Deprecated: Use PackageLookupReq.ProtoReflect.Descriptor instead.

func (*PackageLookupReq) GetId

func (x *PackageLookupReq) GetId() uint64

func (*PackageLookupReq) ProtoMessage

func (*PackageLookupReq) ProtoMessage()

func (*PackageLookupReq) ProtoReflect

func (x *PackageLookupReq) ProtoReflect() protoreflect.Message

func (*PackageLookupReq) Reset

func (x *PackageLookupReq) Reset()

func (*PackageLookupReq) String

func (x *PackageLookupReq) String() string

func (*PackageLookupReq) Validate

func (m *PackageLookupReq) Validate() error

Validate checks the field values on PackageLookupReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageLookupReq) ValidateAll

func (m *PackageLookupReq) ValidateAll() error

ValidateAll checks the field values on PackageLookupReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageLookupReqMultiError, or nil if none found.

type PackageLookupReqMultiError

type PackageLookupReqMultiError []error

PackageLookupReqMultiError is an error wrapping multiple validation errors returned by PackageLookupReq.ValidateAll() if the designated constraints aren't met.

func (PackageLookupReqMultiError) AllErrors

func (m PackageLookupReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageLookupReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageLookupReqValidationError

type PackageLookupReqValidationError struct {
	// contains filtered or unexported fields
}

PackageLookupReqValidationError is the validation error returned by PackageLookupReq.Validate if the designated constraints aren't met.

func (PackageLookupReqValidationError) Cause

Cause function returns cause value.

func (PackageLookupReqValidationError) Error

Error satisfies the builtin error interface

func (PackageLookupReqValidationError) ErrorName

ErrorName returns error name.

func (PackageLookupReqValidationError) Field

Field function returns field value.

func (PackageLookupReqValidationError) Key

Key function returns key value.

func (PackageLookupReqValidationError) Reason

Reason function returns reason value.

type PackageLookupRsp

type PackageLookupRsp struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageLookupRsp) Descriptor deprecated

func (*PackageLookupRsp) Descriptor() ([]byte, []int)

Deprecated: Use PackageLookupRsp.ProtoReflect.Descriptor instead.

func (*PackageLookupRsp) GetPackage

func (x *PackageLookupRsp) GetPackage() *Package

func (*PackageLookupRsp) ProtoMessage

func (*PackageLookupRsp) ProtoMessage()

func (*PackageLookupRsp) ProtoReflect

func (x *PackageLookupRsp) ProtoReflect() protoreflect.Message

func (*PackageLookupRsp) Reset

func (x *PackageLookupRsp) Reset()

func (*PackageLookupRsp) String

func (x *PackageLookupRsp) String() string

func (*PackageLookupRsp) Validate

func (m *PackageLookupRsp) Validate() error

Validate checks the field values on PackageLookupRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageLookupRsp) ValidateAll

func (m *PackageLookupRsp) ValidateAll() error

ValidateAll checks the field values on PackageLookupRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageLookupRspMultiError, or nil if none found.

type PackageLookupRspMultiError

type PackageLookupRspMultiError []error

PackageLookupRspMultiError is an error wrapping multiple validation errors returned by PackageLookupRsp.ValidateAll() if the designated constraints aren't met.

func (PackageLookupRspMultiError) AllErrors

func (m PackageLookupRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageLookupRspMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageLookupRspValidationError

type PackageLookupRspValidationError struct {
	// contains filtered or unexported fields
}

PackageLookupRspValidationError is the validation error returned by PackageLookupRsp.Validate if the designated constraints aren't met.

func (PackageLookupRspValidationError) Cause

Cause function returns cause value.

func (PackageLookupRspValidationError) Error

Error satisfies the builtin error interface

func (PackageLookupRspValidationError) ErrorName

ErrorName returns error name.

func (PackageLookupRspValidationError) Field

Field function returns field value.

func (PackageLookupRspValidationError) Key

Key function returns key value.

func (PackageLookupRspValidationError) Reason

Reason function returns reason value.

type PackageModulesReq

type PackageModulesReq struct {
	Package uint64 `protobuf:"varint,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageModulesReq) Descriptor deprecated

func (*PackageModulesReq) Descriptor() ([]byte, []int)

Deprecated: Use PackageModulesReq.ProtoReflect.Descriptor instead.

func (*PackageModulesReq) GetPackage

func (x *PackageModulesReq) GetPackage() uint64

func (*PackageModulesReq) ProtoMessage

func (*PackageModulesReq) ProtoMessage()

func (*PackageModulesReq) ProtoReflect

func (x *PackageModulesReq) ProtoReflect() protoreflect.Message

func (*PackageModulesReq) Reset

func (x *PackageModulesReq) Reset()

func (*PackageModulesReq) String

func (x *PackageModulesReq) String() string

func (*PackageModulesReq) Validate

func (m *PackageModulesReq) Validate() error

Validate checks the field values on PackageModulesReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageModulesReq) ValidateAll

func (m *PackageModulesReq) ValidateAll() error

ValidateAll checks the field values on PackageModulesReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageModulesReqMultiError, or nil if none found.

type PackageModulesReqMultiError

type PackageModulesReqMultiError []error

PackageModulesReqMultiError is an error wrapping multiple validation errors returned by PackageModulesReq.ValidateAll() if the designated constraints aren't met.

func (PackageModulesReqMultiError) AllErrors

func (m PackageModulesReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageModulesReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageModulesReqValidationError

type PackageModulesReqValidationError struct {
	// contains filtered or unexported fields
}

PackageModulesReqValidationError is the validation error returned by PackageModulesReq.Validate if the designated constraints aren't met.

func (PackageModulesReqValidationError) Cause

Cause function returns cause value.

func (PackageModulesReqValidationError) Error

Error satisfies the builtin error interface

func (PackageModulesReqValidationError) ErrorName

ErrorName returns error name.

func (PackageModulesReqValidationError) Field

Field function returns field value.

func (PackageModulesReqValidationError) Key

Key function returns key value.

func (PackageModulesReqValidationError) Reason

Reason function returns reason value.

type PackageModulesRsp

type PackageModulesRsp struct {
	Modules []*Module `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageModulesRsp) Descriptor deprecated

func (*PackageModulesRsp) Descriptor() ([]byte, []int)

Deprecated: Use PackageModulesRsp.ProtoReflect.Descriptor instead.

func (*PackageModulesRsp) GetModules

func (x *PackageModulesRsp) GetModules() []*Module

func (*PackageModulesRsp) ProtoMessage

func (*PackageModulesRsp) ProtoMessage()

func (*PackageModulesRsp) ProtoReflect

func (x *PackageModulesRsp) ProtoReflect() protoreflect.Message

func (*PackageModulesRsp) Reset

func (x *PackageModulesRsp) Reset()

func (*PackageModulesRsp) String

func (x *PackageModulesRsp) String() string

func (*PackageModulesRsp) Validate

func (m *PackageModulesRsp) Validate() error

Validate checks the field values on PackageModulesRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageModulesRsp) ValidateAll

func (m *PackageModulesRsp) ValidateAll() error

ValidateAll checks the field values on PackageModulesRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageModulesRspMultiError, or nil if none found.

type PackageModulesRspMultiError

type PackageModulesRspMultiError []error

PackageModulesRspMultiError is an error wrapping multiple validation errors returned by PackageModulesRsp.ValidateAll() if the designated constraints aren't met.

func (PackageModulesRspMultiError) AllErrors

func (m PackageModulesRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageModulesRspMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageModulesRspValidationError

type PackageModulesRspValidationError struct {
	// contains filtered or unexported fields
}

PackageModulesRspValidationError is the validation error returned by PackageModulesRsp.Validate if the designated constraints aren't met.

func (PackageModulesRspValidationError) Cause

Cause function returns cause value.

func (PackageModulesRspValidationError) Error

Error satisfies the builtin error interface

func (PackageModulesRspValidationError) ErrorName

ErrorName returns error name.

func (PackageModulesRspValidationError) Field

Field function returns field value.

func (PackageModulesRspValidationError) Key

Key function returns key value.

func (PackageModulesRspValidationError) Reason

Reason function returns reason value.

type PackageMultiError

type PackageMultiError []error

PackageMultiError is an error wrapping multiple validation errors returned by Package.ValidateAll() if the designated constraints aren't met.

func (PackageMultiError) AllErrors

func (m PackageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageMultiError) Error

func (m PackageMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PackageUpdateReq

type PackageUpdateReq struct {
	Id           uint64   `protobuf:"varint,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"`
	Modules      []uint64 `protobuf:"varint,4,rep,packed,name=modules,proto3" json:"modules,omitempty"`
	Issues       []uint64 `protobuf:"varint,5,rep,packed,name=issues,proto3" json:"issues,omitempty"`
	Coverprofile []byte   `protobuf:"bytes,6,opt,name=coverprofile,proto3" json:"coverprofile,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageUpdateReq) Descriptor deprecated

func (*PackageUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use PackageUpdateReq.ProtoReflect.Descriptor instead.

func (*PackageUpdateReq) GetCoverprofile

func (x *PackageUpdateReq) GetCoverprofile() []byte

func (*PackageUpdateReq) GetId

func (x *PackageUpdateReq) GetId() uint64

func (*PackageUpdateReq) GetIssues

func (x *PackageUpdateReq) GetIssues() []uint64

func (*PackageUpdateReq) GetModules

func (x *PackageUpdateReq) GetModules() []uint64

func (*PackageUpdateReq) GetName

func (x *PackageUpdateReq) GetName() string

func (*PackageUpdateReq) GetUrl

func (x *PackageUpdateReq) GetUrl() string

func (*PackageUpdateReq) ProtoMessage

func (*PackageUpdateReq) ProtoMessage()

func (*PackageUpdateReq) ProtoReflect

func (x *PackageUpdateReq) ProtoReflect() protoreflect.Message

func (*PackageUpdateReq) Reset

func (x *PackageUpdateReq) Reset()

func (*PackageUpdateReq) String

func (x *PackageUpdateReq) String() string

func (*PackageUpdateReq) Validate

func (m *PackageUpdateReq) Validate() error

Validate checks the field values on PackageUpdateReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageUpdateReq) ValidateAll

func (m *PackageUpdateReq) ValidateAll() error

ValidateAll checks the field values on PackageUpdateReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageUpdateReqMultiError, or nil if none found.

type PackageUpdateReqMultiError

type PackageUpdateReqMultiError []error

PackageUpdateReqMultiError is an error wrapping multiple validation errors returned by PackageUpdateReq.ValidateAll() if the designated constraints aren't met.

func (PackageUpdateReqMultiError) AllErrors

func (m PackageUpdateReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageUpdateReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageUpdateReqValidationError

type PackageUpdateReqValidationError struct {
	// contains filtered or unexported fields
}

PackageUpdateReqValidationError is the validation error returned by PackageUpdateReq.Validate if the designated constraints aren't met.

func (PackageUpdateReqValidationError) Cause

Cause function returns cause value.

func (PackageUpdateReqValidationError) Error

Error satisfies the builtin error interface

func (PackageUpdateReqValidationError) ErrorName

ErrorName returns error name.

func (PackageUpdateReqValidationError) Field

Field function returns field value.

func (PackageUpdateReqValidationError) Key

Key function returns key value.

func (PackageUpdateReqValidationError) Reason

Reason function returns reason value.

type PackageUpdateRsp

type PackageUpdateRsp struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageUpdateRsp) Descriptor deprecated

func (*PackageUpdateRsp) Descriptor() ([]byte, []int)

Deprecated: Use PackageUpdateRsp.ProtoReflect.Descriptor instead.

func (*PackageUpdateRsp) GetPackage

func (x *PackageUpdateRsp) GetPackage() *Package

func (*PackageUpdateRsp) ProtoMessage

func (*PackageUpdateRsp) ProtoMessage()

func (*PackageUpdateRsp) ProtoReflect

func (x *PackageUpdateRsp) ProtoReflect() protoreflect.Message

func (*PackageUpdateRsp) Reset

func (x *PackageUpdateRsp) Reset()

func (*PackageUpdateRsp) String

func (x *PackageUpdateRsp) String() string

func (*PackageUpdateRsp) Validate

func (m *PackageUpdateRsp) Validate() error

Validate checks the field values on PackageUpdateRsp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PackageUpdateRsp) ValidateAll

func (m *PackageUpdateRsp) ValidateAll() error

ValidateAll checks the field values on PackageUpdateRsp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PackageUpdateRspMultiError, or nil if none found.

type PackageUpdateRspMultiError

type PackageUpdateRspMultiError []error

PackageUpdateRspMultiError is an error wrapping multiple validation errors returned by PackageUpdateRsp.ValidateAll() if the designated constraints aren't met.

func (PackageUpdateRspMultiError) AllErrors

func (m PackageUpdateRspMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PackageUpdateRspMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PackageUpdateRspValidationError

type PackageUpdateRspValidationError struct {
	// contains filtered or unexported fields
}

PackageUpdateRspValidationError is the validation error returned by PackageUpdateRsp.Validate if the designated constraints aren't met.

func (PackageUpdateRspValidationError) Cause

Cause function returns cause value.

func (PackageUpdateRspValidationError) Error

Error satisfies the builtin error interface

func (PackageUpdateRspValidationError) ErrorName

ErrorName returns error name.

func (PackageUpdateRspValidationError) Field

Field function returns field value.

func (PackageUpdateRspValidationError) Key

Key function returns key value.

func (PackageUpdateRspValidationError) Reason

Reason function returns reason value.

type PackageValidationError

type PackageValidationError struct {
	// contains filtered or unexported fields
}

PackageValidationError is the validation error returned by Package.Validate if the designated constraints aren't met.

func (PackageValidationError) Cause

func (e PackageValidationError) Cause() error

Cause function returns cause value.

func (PackageValidationError) Error

func (e PackageValidationError) Error() string

Error satisfies the builtin error interface

func (PackageValidationError) ErrorName

func (e PackageValidationError) ErrorName() string

ErrorName returns error name.

func (PackageValidationError) Field

func (e PackageValidationError) Field() string

Field function returns field value.

func (PackageValidationError) Key

func (e PackageValidationError) Key() bool

Key function returns key value.

func (PackageValidationError) Reason

func (e PackageValidationError) Reason() string

Reason function returns reason value.

type PkgdashServiceClient

type PkgdashServiceClient interface {
	PackageLookup(ctx context.Context, req *PackageLookupReq, opts ...options.Option) (*PackageLookupRsp, error)
	PackageCreate(ctx context.Context, req *PackageCreateReq, opts ...options.Option) (*PackageCreateRsp, error)
	PackageDelete(ctx context.Context, req *PackageDeleteReq, opts ...options.Option) (*PackageDeleteRsp, error)
	PackageList(ctx context.Context, req *PackageListReq, opts ...options.Option) (*PackageListRsp, error)
	HandlerList(ctx context.Context, req *HandlerListReq, opts ...options.Option) (*HandlerListRsp, error)
	PackageModules(ctx context.Context, req *PackageModulesReq, opts ...options.Option) (*PackageModulesRsp, error)
	PackageUpdate(ctx context.Context, req *PackageUpdateReq, opts ...options.Option) (*PackageUpdateRsp, error)
	CommentCreate(ctx context.Context, req *CommentCreateReq, opts ...options.Option) (*CommentCreateRsp, error)
	CommentLookup(ctx context.Context, req *CommentLookupReq, opts ...options.Option) (*CommentLookupRsp, error)
	CommentList(ctx context.Context, req *CommentListReq, opts ...options.Option) (*CommentListRsp, error)
	CommentDelete(ctx context.Context, req *CommentDeleteReq, opts ...options.Option) (*CommentDeleteRsp, error)
	ModuleList(ctx context.Context, req *ModuleListReq, opts ...options.Option) (*ModuleListRsp, error)
}

func NewPkgdashServiceClient

func NewPkgdashServiceClient(name string, c client.Client) PkgdashServiceClient

type PkgdashServiceServer

type PkgdashServiceServer interface {
	PackageLookup(ctx context.Context, req *PackageLookupReq, rsp *PackageLookupRsp) error
	PackageCreate(ctx context.Context, req *PackageCreateReq, rsp *PackageCreateRsp) error
	PackageDelete(ctx context.Context, req *PackageDeleteReq, rsp *PackageDeleteRsp) error
	PackageList(ctx context.Context, req *PackageListReq, rsp *PackageListRsp) error
	HandlerList(ctx context.Context, req *HandlerListReq, rsp *HandlerListRsp) error
	PackageModules(ctx context.Context, req *PackageModulesReq, rsp *PackageModulesRsp) error
	PackageUpdate(ctx context.Context, req *PackageUpdateReq, rsp *PackageUpdateRsp) error
	CommentCreate(ctx context.Context, req *CommentCreateReq, rsp *CommentCreateRsp) error
	CommentLookup(ctx context.Context, req *CommentLookupReq, rsp *CommentLookupRsp) error
	CommentList(ctx context.Context, req *CommentListReq, rsp *CommentListRsp) error
	CommentDelete(ctx context.Context, req *CommentDeleteReq, rsp *CommentDeleteRsp) error
	ModuleList(ctx context.Context, req *ModuleListReq, rsp *ModuleListRsp) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL