matchbox/client: Expose Select endpoint

Exposes the Select endpoint in matchbox/client just as the other
endpoints like Profiles, Ignition and Generic.
This commit is contained in:
William Johansson
2017-09-17 21:19:37 +02:00
parent 757f46e96f
commit 5efc514097

View File

@@ -34,6 +34,7 @@ type Client struct {
Profiles rpcpb.ProfilesClient
Ignition rpcpb.IgnitionClient
Generic rpcpb.GenericClient
Select rpcpb.SelectClient
conn *grpc.ClientConn
}
@@ -66,6 +67,7 @@ func newClient(config *Config) (*Client, error) {
Profiles: rpcpb.NewProfilesClient(conn),
Ignition: rpcpb.NewIgnitionClient(conn),
Generic: rpcpb.NewGenericClient(conn),
Select: rpcpb.NewSelectClient(conn),
}
return client, nil
}