Documentation ¶
Index ¶
- Variables
- func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
- type UnimplementedVersionServiceServer
- type VersionInfo
- func (*VersionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VersionInfo) GetApi() string
- func (x *VersionInfo) GetBuilt() string
- func (x *VersionInfo) GetName() string
- func (x *VersionInfo) GetSha() string
- func (x *VersionInfo) GetVersion() string
- func (*VersionInfo) ProtoMessage()
- func (x *VersionInfo) ProtoReflect() protoreflect.Message
- func (x *VersionInfo) Reset()
- func (x *VersionInfo) String() string
- type VersionServiceClient
- type VersionServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_interservice_compliance_version_version_proto protoreflect.FileDescriptor
Functions ¶
func RegisterVersionServiceServer ¶
func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
Types ¶
type UnimplementedVersionServiceServer ¶
type UnimplementedVersionServiceServer struct { }
UnimplementedVersionServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedVersionServiceServer) Version ¶
func (*UnimplementedVersionServiceServer) Version(context.Context, *emptypb.Empty) (*VersionInfo, error)
type VersionInfo ¶
type VersionInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty" toml:"sha,omitempty" mapstructure:"sha,omitempty"` Built string `protobuf:"bytes,4,opt,name=built,proto3" json:"built,omitempty" toml:"built,omitempty" mapstructure:"built,omitempty"` Api string `protobuf:"bytes,5,opt,name=api,proto3" json:"api,omitempty" toml:"api,omitempty" mapstructure:"api,omitempty"` // contains filtered or unexported fields }
func (*VersionInfo) Descriptor
deprecated
func (*VersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead.
func (*VersionInfo) GetApi ¶
func (x *VersionInfo) GetApi() string
func (*VersionInfo) GetBuilt ¶
func (x *VersionInfo) GetBuilt() string
func (*VersionInfo) GetName ¶
func (x *VersionInfo) GetName() string
func (*VersionInfo) GetSha ¶
func (x *VersionInfo) GetSha() string
func (*VersionInfo) GetVersion ¶
func (x *VersionInfo) GetVersion() string
func (*VersionInfo) ProtoMessage ¶
func (*VersionInfo) ProtoMessage()
func (*VersionInfo) ProtoReflect ¶
func (x *VersionInfo) ProtoReflect() protoreflect.Message
func (*VersionInfo) Reset ¶
func (x *VersionInfo) Reset()
func (*VersionInfo) String ¶
func (x *VersionInfo) String() string
type VersionServiceClient ¶
type VersionServiceClient interface {
Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionInfo, error)
}
VersionServiceClient is the client API for VersionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVersionServiceClient ¶
func NewVersionServiceClient(cc grpc.ClientConnInterface) VersionServiceClient
type VersionServiceServer ¶
type VersionServiceServer interface {
Version(context.Context, *emptypb.Empty) (*VersionInfo, error)
}
VersionServiceServer is the server API for VersionService service.
Click to show internal directories.
Click to hide internal directories.