-
Notifications
You must be signed in to change notification settings - Fork 19
/
svidstore_spire_plugin.pb.go
50 lines (38 loc) · 1.18 KB
/
svidstore_spire_plugin.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Code generated by protoc-gen-go-spire. DO NOT EDIT.
package svidstorev1
import (
pluginsdk "github.com/spiffe/spire-plugin-sdk/pluginsdk"
grpc "google.golang.org/grpc"
)
func SVIDStorePluginServer(server SVIDStoreServer) pluginsdk.PluginServer {
return sVIDStorePluginServer{SVIDStoreServer: server}
}
type sVIDStorePluginServer struct {
SVIDStoreServer
}
func (s sVIDStorePluginServer) Type() string {
return "SVIDStore"
}
func (s sVIDStorePluginServer) GRPCServiceName() string {
return "spire.plugin.agent.svidstore.v1.SVIDStore"
}
func (s sVIDStorePluginServer) RegisterServer(server *grpc.Server) interface{} {
RegisterSVIDStoreServer(server, s.SVIDStoreServer)
return s.SVIDStoreServer
}
type SVIDStorePluginClient struct {
SVIDStoreClient
}
func (s SVIDStorePluginClient) Type() string {
return "SVIDStore"
}
func (c *SVIDStorePluginClient) IsInitialized() bool {
return c.SVIDStoreClient != nil
}
func (c *SVIDStorePluginClient) GRPCServiceName() string {
return "spire.plugin.agent.svidstore.v1.SVIDStore"
}
func (c *SVIDStorePluginClient) InitClient(conn grpc.ClientConnInterface) interface{} {
c.SVIDStoreClient = NewSVIDStoreClient(conn)
return c.SVIDStoreClient
}