mirror of
https://github.com/moby/buildkit.git
synced 2026-06-24 08:47:57 +00:00
chore: update generated files
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/api/services/control/control.proto
|
||||
|
||||
@@ -196,31 +196,31 @@ type ControlServer interface {
|
||||
type UnimplementedControlServer struct{}
|
||||
|
||||
func (UnimplementedControlServer) DiskUsage(context.Context, *DiskUsageRequest) (*DiskUsageResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DiskUsage not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DiskUsage not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) Prune(*PruneRequest, grpc.ServerStreamingServer[UsageRecord]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method Prune not implemented")
|
||||
return status.Error(codes.Unimplemented, "method Prune not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) Solve(context.Context, *SolveRequest) (*SolveResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Solve not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Solve not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) Status(*StatusRequest, grpc.ServerStreamingServer[StatusResponse]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method Status not implemented")
|
||||
return status.Error(codes.Unimplemented, "method Status not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) Session(grpc.BidiStreamingServer[BytesMessage, BytesMessage]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method Session not implemented")
|
||||
return status.Error(codes.Unimplemented, "method Session not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) ListWorkers(context.Context, *ListWorkersRequest) (*ListWorkersResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListWorkers not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ListWorkers not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) Info(context.Context, *InfoRequest) (*InfoResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Info not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Info not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) ListenBuildHistory(*BuildHistoryRequest, grpc.ServerStreamingServer[BuildHistoryEvent]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method ListenBuildHistory not implemented")
|
||||
return status.Error(codes.Unimplemented, "method ListenBuildHistory not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) UpdateBuildHistory(context.Context, *UpdateBuildHistoryRequest) (*UpdateBuildHistoryResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateBuildHistory not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateBuildHistory not implemented")
|
||||
}
|
||||
func (UnimplementedControlServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -232,7 +232,7 @@ type UnsafeControlServer interface {
|
||||
}
|
||||
|
||||
func RegisterControlServer(s grpc.ServiceRegistrar, srv ControlServer) {
|
||||
// If the following call pancis, it indicates UnimplementedControlServer was
|
||||
// If the following call panics, it indicates UnimplementedControlServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/frontend/gateway/pb/gateway.proto
|
||||
|
||||
@@ -293,55 +293,55 @@ type LLBBridgeServer interface {
|
||||
type UnimplementedLLBBridgeServer struct{}
|
||||
|
||||
func (UnimplementedLLBBridgeServer) ResolveImageConfig(context.Context, *ResolveImageConfigRequest) (*ResolveImageConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ResolveImageConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ResolveImageConfig not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) ResolveSourceMeta(context.Context, *ResolveSourceMetaRequest) (*ResolveSourceMetaResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ResolveSourceMeta not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ResolveSourceMeta not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) Solve(context.Context, *SolveRequest) (*SolveResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Solve not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Solve not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ReadFile not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ReadFile not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) ReadDir(context.Context, *ReadDirRequest) (*ReadDirResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ReadDir not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ReadDir not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method StatFile not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method StatFile not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) Evaluate(context.Context, *EvaluateRequest) (*EvaluateResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Evaluate not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Evaluate not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) Ping(context.Context, *PingRequest) (*PongResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Ping not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) Return(context.Context, *ReturnRequest) (*ReturnResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Return not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Return not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) Inputs(context.Context, *InputsRequest) (*InputsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Inputs not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Inputs not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) NewContainer(context.Context, *NewContainerRequest) (*NewContainerResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method NewContainer not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method NewContainer not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) ReleaseContainer(context.Context, *ReleaseContainerRequest) (*ReleaseContainerResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ReleaseContainer not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ReleaseContainer not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) ExecProcess(grpc.BidiStreamingServer[ExecMessage, ExecMessage]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method ExecProcess not implemented")
|
||||
return status.Error(codes.Unimplemented, "method ExecProcess not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) ReadFileContainer(context.Context, *ReadFileRequest) (*ReadFileResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ReadFileContainer not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ReadFileContainer not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) ReadDirContainer(context.Context, *ReadDirRequest) (*ReadDirResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ReadDirContainer not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ReadDirContainer not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) StatFileContainer(context.Context, *StatFileRequest) (*StatFileResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method StatFileContainer not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method StatFileContainer not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) Warn(context.Context, *WarnRequest) (*WarnResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Warn not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Warn not implemented")
|
||||
}
|
||||
func (UnimplementedLLBBridgeServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -353,7 +353,7 @@ type UnsafeLLBBridgeServer interface {
|
||||
}
|
||||
|
||||
func RegisterLLBBridgeServer(s grpc.ServiceRegistrar, srv LLBBridgeServer) {
|
||||
// If the following call pancis, it indicates UnimplementedLLBBridgeServer was
|
||||
// If the following call panics, it indicates UnimplementedLLBBridgeServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/session/auth/auth.proto
|
||||
|
||||
@@ -101,16 +101,16 @@ type AuthServer interface {
|
||||
type UnimplementedAuthServer struct{}
|
||||
|
||||
func (UnimplementedAuthServer) Credentials(context.Context, *CredentialsRequest) (*CredentialsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Credentials not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method Credentials not implemented")
|
||||
}
|
||||
func (UnimplementedAuthServer) FetchToken(context.Context, *FetchTokenRequest) (*FetchTokenResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FetchToken not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FetchToken not implemented")
|
||||
}
|
||||
func (UnimplementedAuthServer) GetTokenAuthority(context.Context, *GetTokenAuthorityRequest) (*GetTokenAuthorityResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetTokenAuthority not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method GetTokenAuthority not implemented")
|
||||
}
|
||||
func (UnimplementedAuthServer) VerifyTokenAuthority(context.Context, *VerifyTokenAuthorityRequest) (*VerifyTokenAuthorityResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method VerifyTokenAuthority not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method VerifyTokenAuthority not implemented")
|
||||
}
|
||||
func (UnimplementedAuthServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -122,7 +122,7 @@ type UnsafeAuthServer interface {
|
||||
}
|
||||
|
||||
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer) {
|
||||
// If the following call pancis, it indicates UnimplementedAuthServer was
|
||||
// If the following call panics, it indicates UnimplementedAuthServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/session/exporter/exporter.proto
|
||||
|
||||
@@ -62,7 +62,7 @@ type ExporterServer interface {
|
||||
type UnimplementedExporterServer struct{}
|
||||
|
||||
func (UnimplementedExporterServer) FindExporters(context.Context, *FindExportersRequest) (*FindExportersResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindExporters not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindExporters not implemented")
|
||||
}
|
||||
func (UnimplementedExporterServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -74,7 +74,7 @@ type UnsafeExporterServer interface {
|
||||
}
|
||||
|
||||
func RegisterExporterServer(s grpc.ServiceRegistrar, srv ExporterServer) {
|
||||
// If the following call pancis, it indicates UnimplementedExporterServer was
|
||||
// If the following call panics, it indicates UnimplementedExporterServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/session/filesync/filesync.proto
|
||||
|
||||
@@ -86,10 +86,10 @@ type FileSyncServer interface {
|
||||
type UnimplementedFileSyncServer struct{}
|
||||
|
||||
func (UnimplementedFileSyncServer) DiffCopy(grpc.BidiStreamingServer[types.Packet, types.Packet]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method DiffCopy not implemented")
|
||||
return status.Error(codes.Unimplemented, "method DiffCopy not implemented")
|
||||
}
|
||||
func (UnimplementedFileSyncServer) TarStream(grpc.BidiStreamingServer[types.Packet, types.Packet]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method TarStream not implemented")
|
||||
return status.Error(codes.Unimplemented, "method TarStream not implemented")
|
||||
}
|
||||
func (UnimplementedFileSyncServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -101,7 +101,7 @@ type UnsafeFileSyncServer interface {
|
||||
}
|
||||
|
||||
func RegisterFileSyncServer(s grpc.ServiceRegistrar, srv FileSyncServer) {
|
||||
// If the following call pancis, it indicates UnimplementedFileSyncServer was
|
||||
// If the following call panics, it indicates UnimplementedFileSyncServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
@@ -200,7 +200,7 @@ type FileSendServer interface {
|
||||
type UnimplementedFileSendServer struct{}
|
||||
|
||||
func (UnimplementedFileSendServer) DiffCopy(grpc.BidiStreamingServer[BytesMessage, BytesMessage]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method DiffCopy not implemented")
|
||||
return status.Error(codes.Unimplemented, "method DiffCopy not implemented")
|
||||
}
|
||||
func (UnimplementedFileSendServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -212,7 +212,7 @@ type UnsafeFileSendServer interface {
|
||||
}
|
||||
|
||||
func RegisterFileSendServer(s grpc.ServiceRegistrar, srv FileSendServer) {
|
||||
// If the following call pancis, it indicates UnimplementedFileSendServer was
|
||||
// If the following call panics, it indicates UnimplementedFileSendServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/session/secrets/secrets.proto
|
||||
|
||||
@@ -62,7 +62,7 @@ type SecretsServer interface {
|
||||
type UnimplementedSecretsServer struct{}
|
||||
|
||||
func (UnimplementedSecretsServer) GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetSecret not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method GetSecret not implemented")
|
||||
}
|
||||
func (UnimplementedSecretsServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -74,7 +74,7 @@ type UnsafeSecretsServer interface {
|
||||
}
|
||||
|
||||
func RegisterSecretsServer(s grpc.ServiceRegistrar, srv SecretsServer) {
|
||||
// If the following call pancis, it indicates UnimplementedSecretsServer was
|
||||
// If the following call panics, it indicates UnimplementedSecretsServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/session/sshforward/ssh.proto
|
||||
|
||||
@@ -78,10 +78,10 @@ type SSHServer interface {
|
||||
type UnimplementedSSHServer struct{}
|
||||
|
||||
func (UnimplementedSSHServer) CheckAgent(context.Context, *CheckAgentRequest) (*CheckAgentResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CheckAgent not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CheckAgent not implemented")
|
||||
}
|
||||
func (UnimplementedSSHServer) ForwardAgent(grpc.BidiStreamingServer[BytesMessage, BytesMessage]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method ForwardAgent not implemented")
|
||||
return status.Error(codes.Unimplemented, "method ForwardAgent not implemented")
|
||||
}
|
||||
func (UnimplementedSSHServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -93,7 +93,7 @@ type UnsafeSSHServer interface {
|
||||
}
|
||||
|
||||
func RegisterSSHServer(s grpc.ServiceRegistrar, srv SSHServer) {
|
||||
// If the following call pancis, it indicates UnimplementedSSHServer was
|
||||
// If the following call panics, it indicates UnimplementedSSHServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/session/upload/upload.proto
|
||||
|
||||
@@ -65,7 +65,7 @@ type UploadServer interface {
|
||||
type UnimplementedUploadServer struct{}
|
||||
|
||||
func (UnimplementedUploadServer) Pull(grpc.BidiStreamingServer[BytesMessage, BytesMessage]) error {
|
||||
return status.Errorf(codes.Unimplemented, "method Pull not implemented")
|
||||
return status.Error(codes.Unimplemented, "method Pull not implemented")
|
||||
}
|
||||
func (UnimplementedUploadServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -77,7 +77,7 @@ type UnsafeUploadServer interface {
|
||||
}
|
||||
|
||||
func RegisterUploadServer(s grpc.ServiceRegistrar, srv UploadServer) {
|
||||
// If the following call pancis, it indicates UnimplementedUploadServer was
|
||||
// If the following call panics, it indicates UnimplementedUploadServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.14.0
|
||||
// source: github.com/moby/buildkit/sourcepolicy/policysession/policysession.proto
|
||||
|
||||
@@ -62,7 +62,7 @@ type PolicyVerifierServer interface {
|
||||
type UnimplementedPolicyVerifierServer struct{}
|
||||
|
||||
func (UnimplementedPolicyVerifierServer) CheckPolicy(context.Context, *CheckPolicyRequest) (*CheckPolicyResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CheckPolicy not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CheckPolicy not implemented")
|
||||
}
|
||||
func (UnimplementedPolicyVerifierServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -74,7 +74,7 @@ type UnsafePolicyVerifierServer interface {
|
||||
}
|
||||
|
||||
func RegisterPolicyVerifierServer(s grpc.ServiceRegistrar, srv PolicyVerifierServer) {
|
||||
// If the following call pancis, it indicates UnimplementedPolicyVerifierServer was
|
||||
// If the following call panics, it indicates UnimplementedPolicyVerifierServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
Reference in New Issue
Block a user