mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 18:19:36 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user