bootcfg/server/serverpb: Fix package name to be serverpb

* Use the same Go package name and import directory name
'serverpb'. The messagepb package inside serverpb folder
caused confusion.
This commit is contained in:
Dalton Hubble
2016-04-26 11:07:30 -07:00
parent 0bf18d7799
commit 3c222f11f3
5 changed files with 128 additions and 128 deletions

View File

@@ -15,7 +15,7 @@ package rpcpb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import messagepb "github.com/coreos/coreos-baremetal/bootcfg/server/serverpb"
import serverpb "github.com/coreos/coreos-baremetal/bootcfg/server/serverpb"
import (
context "golang.org/x/net/context"
@@ -43,11 +43,11 @@ const _ = grpc.SupportPackageIsVersion1
type GroupsClient interface {
// Create a Group.
GroupPut(ctx context.Context, in *messagepb.GroupPutRequest, opts ...grpc.CallOption) (*messagepb.GroupPutResponse, error)
GroupPut(ctx context.Context, in *serverpb.GroupPutRequest, opts ...grpc.CallOption) (*serverpb.GroupPutResponse, error)
// Get a machine Group by id.
GroupGet(ctx context.Context, in *messagepb.GroupGetRequest, opts ...grpc.CallOption) (*messagepb.GroupGetResponse, error)
GroupGet(ctx context.Context, in *serverpb.GroupGetRequest, opts ...grpc.CallOption) (*serverpb.GroupGetResponse, error)
// List all machine Groups.
GroupList(ctx context.Context, in *messagepb.GroupListRequest, opts ...grpc.CallOption) (*messagepb.GroupListResponse, error)
GroupList(ctx context.Context, in *serverpb.GroupListRequest, opts ...grpc.CallOption) (*serverpb.GroupListResponse, error)
}
type groupsClient struct {
@@ -58,8 +58,8 @@ func NewGroupsClient(cc *grpc.ClientConn) GroupsClient {
return &groupsClient{cc}
}
func (c *groupsClient) GroupPut(ctx context.Context, in *messagepb.GroupPutRequest, opts ...grpc.CallOption) (*messagepb.GroupPutResponse, error) {
out := new(messagepb.GroupPutResponse)
func (c *groupsClient) GroupPut(ctx context.Context, in *serverpb.GroupPutRequest, opts ...grpc.CallOption) (*serverpb.GroupPutResponse, error) {
out := new(serverpb.GroupPutResponse)
err := grpc.Invoke(ctx, "/rpcpb.Groups/GroupPut", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -67,8 +67,8 @@ func (c *groupsClient) GroupPut(ctx context.Context, in *messagepb.GroupPutReque
return out, nil
}
func (c *groupsClient) GroupGet(ctx context.Context, in *messagepb.GroupGetRequest, opts ...grpc.CallOption) (*messagepb.GroupGetResponse, error) {
out := new(messagepb.GroupGetResponse)
func (c *groupsClient) GroupGet(ctx context.Context, in *serverpb.GroupGetRequest, opts ...grpc.CallOption) (*serverpb.GroupGetResponse, error) {
out := new(serverpb.GroupGetResponse)
err := grpc.Invoke(ctx, "/rpcpb.Groups/GroupGet", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -76,8 +76,8 @@ func (c *groupsClient) GroupGet(ctx context.Context, in *messagepb.GroupGetReque
return out, nil
}
func (c *groupsClient) GroupList(ctx context.Context, in *messagepb.GroupListRequest, opts ...grpc.CallOption) (*messagepb.GroupListResponse, error) {
out := new(messagepb.GroupListResponse)
func (c *groupsClient) GroupList(ctx context.Context, in *serverpb.GroupListRequest, opts ...grpc.CallOption) (*serverpb.GroupListResponse, error) {
out := new(serverpb.GroupListResponse)
err := grpc.Invoke(ctx, "/rpcpb.Groups/GroupList", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -89,11 +89,11 @@ func (c *groupsClient) GroupList(ctx context.Context, in *messagepb.GroupListReq
type GroupsServer interface {
// Create a Group.
GroupPut(context.Context, *messagepb.GroupPutRequest) (*messagepb.GroupPutResponse, error)
GroupPut(context.Context, *serverpb.GroupPutRequest) (*serverpb.GroupPutResponse, error)
// Get a machine Group by id.
GroupGet(context.Context, *messagepb.GroupGetRequest) (*messagepb.GroupGetResponse, error)
GroupGet(context.Context, *serverpb.GroupGetRequest) (*serverpb.GroupGetResponse, error)
// List all machine Groups.
GroupList(context.Context, *messagepb.GroupListRequest) (*messagepb.GroupListResponse, error)
GroupList(context.Context, *serverpb.GroupListRequest) (*serverpb.GroupListResponse, error)
}
func RegisterGroupsServer(s *grpc.Server, srv GroupsServer) {
@@ -101,7 +101,7 @@ func RegisterGroupsServer(s *grpc.Server, srv GroupsServer) {
}
func _Groups_GroupPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.GroupPutRequest)
in := new(serverpb.GroupPutRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -113,7 +113,7 @@ func _Groups_GroupPut_Handler(srv interface{}, ctx context.Context, dec func(int
}
func _Groups_GroupGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.GroupGetRequest)
in := new(serverpb.GroupGetRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -125,7 +125,7 @@ func _Groups_GroupGet_Handler(srv interface{}, ctx context.Context, dec func(int
}
func _Groups_GroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.GroupListRequest)
in := new(serverpb.GroupListRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -160,11 +160,11 @@ var _Groups_serviceDesc = grpc.ServiceDesc{
type ProfilesClient interface {
// Create a Profile.
ProfilePut(ctx context.Context, in *messagepb.ProfilePutRequest, opts ...grpc.CallOption) (*messagepb.ProfilePutResponse, error)
ProfilePut(ctx context.Context, in *serverpb.ProfilePutRequest, opts ...grpc.CallOption) (*serverpb.ProfilePutResponse, error)
// Get a Profile by id.
ProfileGet(ctx context.Context, in *messagepb.ProfileGetRequest, opts ...grpc.CallOption) (*messagepb.ProfileGetResponse, error)
ProfileGet(ctx context.Context, in *serverpb.ProfileGetRequest, opts ...grpc.CallOption) (*serverpb.ProfileGetResponse, error)
// List all Profiles.
ProfileList(ctx context.Context, in *messagepb.ProfileListRequest, opts ...grpc.CallOption) (*messagepb.ProfileListResponse, error)
ProfileList(ctx context.Context, in *serverpb.ProfileListRequest, opts ...grpc.CallOption) (*serverpb.ProfileListResponse, error)
}
type profilesClient struct {
@@ -175,8 +175,8 @@ func NewProfilesClient(cc *grpc.ClientConn) ProfilesClient {
return &profilesClient{cc}
}
func (c *profilesClient) ProfilePut(ctx context.Context, in *messagepb.ProfilePutRequest, opts ...grpc.CallOption) (*messagepb.ProfilePutResponse, error) {
out := new(messagepb.ProfilePutResponse)
func (c *profilesClient) ProfilePut(ctx context.Context, in *serverpb.ProfilePutRequest, opts ...grpc.CallOption) (*serverpb.ProfilePutResponse, error) {
out := new(serverpb.ProfilePutResponse)
err := grpc.Invoke(ctx, "/rpcpb.Profiles/ProfilePut", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -184,8 +184,8 @@ func (c *profilesClient) ProfilePut(ctx context.Context, in *messagepb.ProfilePu
return out, nil
}
func (c *profilesClient) ProfileGet(ctx context.Context, in *messagepb.ProfileGetRequest, opts ...grpc.CallOption) (*messagepb.ProfileGetResponse, error) {
out := new(messagepb.ProfileGetResponse)
func (c *profilesClient) ProfileGet(ctx context.Context, in *serverpb.ProfileGetRequest, opts ...grpc.CallOption) (*serverpb.ProfileGetResponse, error) {
out := new(serverpb.ProfileGetResponse)
err := grpc.Invoke(ctx, "/rpcpb.Profiles/ProfileGet", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -193,8 +193,8 @@ func (c *profilesClient) ProfileGet(ctx context.Context, in *messagepb.ProfileGe
return out, nil
}
func (c *profilesClient) ProfileList(ctx context.Context, in *messagepb.ProfileListRequest, opts ...grpc.CallOption) (*messagepb.ProfileListResponse, error) {
out := new(messagepb.ProfileListResponse)
func (c *profilesClient) ProfileList(ctx context.Context, in *serverpb.ProfileListRequest, opts ...grpc.CallOption) (*serverpb.ProfileListResponse, error) {
out := new(serverpb.ProfileListResponse)
err := grpc.Invoke(ctx, "/rpcpb.Profiles/ProfileList", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -206,11 +206,11 @@ func (c *profilesClient) ProfileList(ctx context.Context, in *messagepb.ProfileL
type ProfilesServer interface {
// Create a Profile.
ProfilePut(context.Context, *messagepb.ProfilePutRequest) (*messagepb.ProfilePutResponse, error)
ProfilePut(context.Context, *serverpb.ProfilePutRequest) (*serverpb.ProfilePutResponse, error)
// Get a Profile by id.
ProfileGet(context.Context, *messagepb.ProfileGetRequest) (*messagepb.ProfileGetResponse, error)
ProfileGet(context.Context, *serverpb.ProfileGetRequest) (*serverpb.ProfileGetResponse, error)
// List all Profiles.
ProfileList(context.Context, *messagepb.ProfileListRequest) (*messagepb.ProfileListResponse, error)
ProfileList(context.Context, *serverpb.ProfileListRequest) (*serverpb.ProfileListResponse, error)
}
func RegisterProfilesServer(s *grpc.Server, srv ProfilesServer) {
@@ -218,7 +218,7 @@ func RegisterProfilesServer(s *grpc.Server, srv ProfilesServer) {
}
func _Profiles_ProfilePut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.ProfilePutRequest)
in := new(serverpb.ProfilePutRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -230,7 +230,7 @@ func _Profiles_ProfilePut_Handler(srv interface{}, ctx context.Context, dec func
}
func _Profiles_ProfileGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.ProfileGetRequest)
in := new(serverpb.ProfileGetRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -242,7 +242,7 @@ func _Profiles_ProfileGet_Handler(srv interface{}, ctx context.Context, dec func
}
func _Profiles_ProfileList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.ProfileListRequest)
in := new(serverpb.ProfileListRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -277,7 +277,7 @@ var _Profiles_serviceDesc = grpc.ServiceDesc{
type IgnitionClient interface {
// Create or update an Ignition template.
IgnitionPut(ctx context.Context, in *messagepb.IgnitionPutRequest, opts ...grpc.CallOption) (*messagepb.IgnitionPutResponse, error)
IgnitionPut(ctx context.Context, in *serverpb.IgnitionPutRequest, opts ...grpc.CallOption) (*serverpb.IgnitionPutResponse, error)
}
type ignitionClient struct {
@@ -288,8 +288,8 @@ func NewIgnitionClient(cc *grpc.ClientConn) IgnitionClient {
return &ignitionClient{cc}
}
func (c *ignitionClient) IgnitionPut(ctx context.Context, in *messagepb.IgnitionPutRequest, opts ...grpc.CallOption) (*messagepb.IgnitionPutResponse, error) {
out := new(messagepb.IgnitionPutResponse)
func (c *ignitionClient) IgnitionPut(ctx context.Context, in *serverpb.IgnitionPutRequest, opts ...grpc.CallOption) (*serverpb.IgnitionPutResponse, error) {
out := new(serverpb.IgnitionPutResponse)
err := grpc.Invoke(ctx, "/rpcpb.Ignition/IgnitionPut", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -301,7 +301,7 @@ func (c *ignitionClient) IgnitionPut(ctx context.Context, in *messagepb.Ignition
type IgnitionServer interface {
// Create or update an Ignition template.
IgnitionPut(context.Context, *messagepb.IgnitionPutRequest) (*messagepb.IgnitionPutResponse, error)
IgnitionPut(context.Context, *serverpb.IgnitionPutRequest) (*serverpb.IgnitionPutResponse, error)
}
func RegisterIgnitionServer(s *grpc.Server, srv IgnitionServer) {
@@ -309,7 +309,7 @@ func RegisterIgnitionServer(s *grpc.Server, srv IgnitionServer) {
}
func _Ignition_IgnitionPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.IgnitionPutRequest)
in := new(serverpb.IgnitionPutRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -336,9 +336,9 @@ var _Ignition_serviceDesc = grpc.ServiceDesc{
type SelectClient interface {
// SelectGroup returns the Group matching the given labels.
SelectGroup(ctx context.Context, in *messagepb.SelectGroupRequest, opts ...grpc.CallOption) (*messagepb.SelectGroupResponse, error)
SelectGroup(ctx context.Context, in *serverpb.SelectGroupRequest, opts ...grpc.CallOption) (*serverpb.SelectGroupResponse, error)
// SelectProfile returns the Profile matching the given labels.
SelectProfile(ctx context.Context, in *messagepb.SelectProfileRequest, opts ...grpc.CallOption) (*messagepb.SelectProfileResponse, error)
SelectProfile(ctx context.Context, in *serverpb.SelectProfileRequest, opts ...grpc.CallOption) (*serverpb.SelectProfileResponse, error)
}
type selectClient struct {
@@ -349,8 +349,8 @@ func NewSelectClient(cc *grpc.ClientConn) SelectClient {
return &selectClient{cc}
}
func (c *selectClient) SelectGroup(ctx context.Context, in *messagepb.SelectGroupRequest, opts ...grpc.CallOption) (*messagepb.SelectGroupResponse, error) {
out := new(messagepb.SelectGroupResponse)
func (c *selectClient) SelectGroup(ctx context.Context, in *serverpb.SelectGroupRequest, opts ...grpc.CallOption) (*serverpb.SelectGroupResponse, error) {
out := new(serverpb.SelectGroupResponse)
err := grpc.Invoke(ctx, "/rpcpb.Select/SelectGroup", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -358,8 +358,8 @@ func (c *selectClient) SelectGroup(ctx context.Context, in *messagepb.SelectGrou
return out, nil
}
func (c *selectClient) SelectProfile(ctx context.Context, in *messagepb.SelectProfileRequest, opts ...grpc.CallOption) (*messagepb.SelectProfileResponse, error) {
out := new(messagepb.SelectProfileResponse)
func (c *selectClient) SelectProfile(ctx context.Context, in *serverpb.SelectProfileRequest, opts ...grpc.CallOption) (*serverpb.SelectProfileResponse, error) {
out := new(serverpb.SelectProfileResponse)
err := grpc.Invoke(ctx, "/rpcpb.Select/SelectProfile", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -371,9 +371,9 @@ func (c *selectClient) SelectProfile(ctx context.Context, in *messagepb.SelectPr
type SelectServer interface {
// SelectGroup returns the Group matching the given labels.
SelectGroup(context.Context, *messagepb.SelectGroupRequest) (*messagepb.SelectGroupResponse, error)
SelectGroup(context.Context, *serverpb.SelectGroupRequest) (*serverpb.SelectGroupResponse, error)
// SelectProfile returns the Profile matching the given labels.
SelectProfile(context.Context, *messagepb.SelectProfileRequest) (*messagepb.SelectProfileResponse, error)
SelectProfile(context.Context, *serverpb.SelectProfileRequest) (*serverpb.SelectProfileResponse, error)
}
func RegisterSelectServer(s *grpc.Server, srv SelectServer) {
@@ -381,7 +381,7 @@ func RegisterSelectServer(s *grpc.Server, srv SelectServer) {
}
func _Select_SelectGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.SelectGroupRequest)
in := new(serverpb.SelectGroupRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -393,7 +393,7 @@ func _Select_SelectGroup_Handler(srv interface{}, ctx context.Context, dec func(
}
func _Select_SelectProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
in := new(messagepb.SelectProfileRequest)
in := new(serverpb.SelectProfileRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -421,25 +421,25 @@ var _Select_serviceDesc = grpc.ServiceDesc{
}
var fileDescriptor0 = []byte{
// 310 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x92, 0x41, 0x4e, 0xc3, 0x30,
0x10, 0x45, 0xe9, 0x82, 0xaa, 0x35, 0x62, 0xe3, 0x65, 0xa0, 0x80, 0xd8, 0x93, 0x48, 0xe5, 0x0c,
0xa8, 0x54, 0x20, 0x54, 0x01, 0x2b, 0x76, 0x71, 0x34, 0x0d, 0x91, 0x92, 0xd8, 0x78, 0x1c, 0x8e,
0xc5, 0x99, 0x38, 0x04, 0x07, 0x20, 0x76, 0x6c, 0xd7, 0x51, 0x9d, 0x55, 0x46, 0xff, 0x8d, 0x9f,
0xf2, 0x2d, 0x93, 0xa5, 0x14, 0x45, 0x2a, 0x24, 0x57, 0x9c, 0x9e, 0xf6, 0xa3, 0x60, 0xc9, 0xb6,
0xac, 0xd4, 0x67, 0xc7, 0xd2, 0x82, 0x37, 0x59, 0xc1, 0x25, 0x70, 0xb4, 0x9f, 0x3b, 0x96, 0x4b,
0x68, 0x40, 0xe5, 0x75, 0xc6, 0x38, 0x57, 0xc5, 0xbe, 0xcc, 0x10, 0xe4, 0x37, 0x48, 0xfb, 0x11,
0x2c, 0x6b, 0x00, 0x31, 0x2f, 0x01, 0x07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x64, 0x50, 0x4c, 0x03, 0x00, 0x00,
// 311 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x92, 0x41, 0x4e, 0xeb, 0x30,
0x10, 0x86, 0x5f, 0x17, 0xaf, 0x6a, 0x8d, 0xd8, 0x78, 0x47, 0x29, 0x20, 0xb1, 0x27, 0x91, 0xca,
0x11, 0x90, 0xa8, 0x22, 0x75, 0x51, 0x95, 0x0d, 0xdb, 0x38, 0x9a, 0x86, 0x48, 0x49, 0x6c, 0x3c,
0x0e, 0x87, 0xe2, 0x48, 0x1c, 0x82, 0x33, 0x10, 0x3b, 0xb6, 0xeb, 0x36, 0xce, 0x2a, 0xa3, 0xff,
0xf3, 0x7c, 0xca, 0x6f, 0x99, 0x2c, 0xa5, 0x28, 0x12, 0x21, 0xb9, 0xe2, 0xf4, 0x7f, 0x3f, 0x0a,
0xb6, 0xca, 0xca, 0x4a, 0x7d, 0x74, 0x2c, 0x29, 0x78, 0x93, 0x16, 0x5c, 0x02, 0x47, 0xfb, 0x79,
0x62, 0xb9, 0x84, 0x06, 0x54, 0x5e, 0xa7, 0x8c, 0x73, 0x55, 0x1c, 0xcb, 0x14, 0x41, 0x7e, 0x81,
0xb4, 0x1f, 0xc1, 0xd2, 0x06, 0x10, 0xf3, 0x12, 0x70, 0x30, 0x6e, 0x7e, 0x66, 0x64, 0xbe, 0x95,
0xbc, 0x13, 0x48, 0x5f, 0xc8, 0xc2, 0x4c, 0xfb, 0x4e, 0xd1, 0x9b, 0xc4, 0x2d, 0x24, 0x2e, 0x3b,
0xc0, 0x67, 0x07, 0xa8, 0x56, 0xab, 0x18, 0x42, 0xc1, 0x5b, 0x84, 0xc7, 0x7f, 0x5e, 0xb2, 0x85,
0xb1, 0xa4, 0xcf, 0xa6, 0x24, 0x06, 0x79, 0xc9, 0x2b, 0x59, 0x9a, 0x74, 0x57, 0xa1, 0xa2, 0x97,
0x47, 0x75, 0xe8, 0x34, 0xb7, 0x51, 0xe6, 0x3c, 0x9b, 0xdf, 0x19, 0x59, 0xec, 0x25, 0x3f, 0x56,
0x35, 0x20, 0xcd, 0x08, 0xb1, 0xb3, 0x2e, 0x18, 0x6c, 0x9e, 0x52, 0xa7, 0x5d, 0xc7, 0xa1, 0xff,
0xbf, 0x93, 0x4a, 0xd7, 0x1c, 0xab, 0x82, 0xa2, 0xeb, 0x38, 0xf4, 0xaa, 0x1d, 0xb9, 0xb2, 0xb9,
0x29, 0x3b, 0x3e, 0x1e, 0xd6, 0xbd, 0x9b, 0xa0, 0xbe, 0xf0, 0x3b, 0x59, 0x64, 0x65, 0x5b, 0xa9,
0x8a, 0xb7, 0xda, 0xec, 0x66, 0x5d, 0x38, 0x30, 0x07, 0x71, 0xc4, 0x7c, 0x46, 0xbd, 0xf9, 0xbb,
0x7f, 0x27, 0x6f, 0x50, 0x43, 0xa1, 0xb4, 0x78, 0x98, 0xcc, 0x95, 0x87, 0xe2, 0x20, 0x8e, 0x88,
0xcf, 0xa8, 0xbf, 0x80, 0x03, 0xb9, 0x1e, 0x80, 0x6d, 0x44, 0xef, 0x2f, 0x37, 0x2c, 0x70, 0xc6,
0x87, 0x49, 0xee, 0x9c, 0x6c, 0x6e, 0xde, 0xf6, 0xf3, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9c,
0xbc, 0x09, 0xef, 0x3a, 0x03, 0x00, 0x00,
}

View File

@@ -5,30 +5,30 @@ import "github.com/coreos/coreos-baremetal/bootcfg/server/serverpb/messages.prot
service Groups {
// Create a Group.
rpc GroupPut(messagepb.GroupPutRequest) returns (messagepb.GroupPutResponse) {};
rpc GroupPut(serverpb.GroupPutRequest) returns (serverpb.GroupPutResponse) {};
// Get a machine Group by id.
rpc GroupGet(messagepb.GroupGetRequest) returns (messagepb.GroupGetResponse) {};
rpc GroupGet(serverpb.GroupGetRequest) returns (serverpb.GroupGetResponse) {};
// List all machine Groups.
rpc GroupList(messagepb.GroupListRequest) returns (messagepb.GroupListResponse) {};
rpc GroupList(serverpb.GroupListRequest) returns (serverpb.GroupListResponse) {};
}
service Profiles {
// Create a Profile.
rpc ProfilePut(messagepb.ProfilePutRequest) returns (messagepb.ProfilePutResponse) {};
rpc ProfilePut(serverpb.ProfilePutRequest) returns (serverpb.ProfilePutResponse) {};
// Get a Profile by id.
rpc ProfileGet(messagepb.ProfileGetRequest) returns (messagepb.ProfileGetResponse) {};
rpc ProfileGet(serverpb.ProfileGetRequest) returns (serverpb.ProfileGetResponse) {};
// List all Profiles.
rpc ProfileList(messagepb.ProfileListRequest) returns (messagepb.ProfileListResponse) {};
rpc ProfileList(serverpb.ProfileListRequest) returns (serverpb.ProfileListResponse) {};
}
service Ignition {
// Create or update an Ignition template.
rpc IgnitionPut(messagepb.IgnitionPutRequest) returns (messagepb.IgnitionPutResponse) {};
rpc IgnitionPut(serverpb.IgnitionPutRequest) returns (serverpb.IgnitionPutResponse) {};
}
service Select {
// SelectGroup returns the Group matching the given labels.
rpc SelectGroup(messagepb.SelectGroupRequest) returns (messagepb.SelectGroupResponse) {};
rpc SelectGroup(serverpb.SelectGroupRequest) returns (serverpb.SelectGroupResponse) {};
// SelectProfile returns the Profile matching the given labels.
rpc SelectProfile(messagepb.SelectProfileRequest) returns (messagepb.SelectProfileResponse) {};
rpc SelectProfile(serverpb.SelectProfileRequest) returns (serverpb.SelectProfileResponse) {};
}

View File

@@ -1,2 +1,2 @@
// Package messagepb provides bootcfg message types.
package messagepb
// Package serverpb provides bootcfg message types.
package serverpb

View File

@@ -3,7 +3,7 @@
// DO NOT EDIT!
/*
Package messagepb is a generated protocol buffer package.
Package serverpb is a generated protocol buffer package.
It is generated from these files:
messages.proto
@@ -28,7 +28,7 @@ It has these top-level messages:
IgnitionPutRequest
IgnitionPutResponse
*/
package messagepb
package serverpb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
@@ -273,54 +273,54 @@ func (*IgnitionPutResponse) ProtoMessage() {}
func (*IgnitionPutResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
func init() {
proto.RegisterType((*SelectGroupRequest)(nil), "messagepb.SelectGroupRequest")
proto.RegisterType((*SelectGroupResponse)(nil), "messagepb.SelectGroupResponse")
proto.RegisterType((*SelectProfileRequest)(nil), "messagepb.SelectProfileRequest")
proto.RegisterType((*SelectProfileResponse)(nil), "messagepb.SelectProfileResponse")
proto.RegisterType((*GroupPutRequest)(nil), "messagepb.GroupPutRequest")
proto.RegisterType((*GroupPutResponse)(nil), "messagepb.GroupPutResponse")
proto.RegisterType((*GroupGetRequest)(nil), "messagepb.GroupGetRequest")
proto.RegisterType((*GroupListRequest)(nil), "messagepb.GroupListRequest")
proto.RegisterType((*GroupGetResponse)(nil), "messagepb.GroupGetResponse")
proto.RegisterType((*GroupListResponse)(nil), "messagepb.GroupListResponse")
proto.RegisterType((*ProfilePutRequest)(nil), "messagepb.ProfilePutRequest")
proto.RegisterType((*ProfilePutResponse)(nil), "messagepb.ProfilePutResponse")
proto.RegisterType((*ProfileGetRequest)(nil), "messagepb.ProfileGetRequest")
proto.RegisterType((*ProfileGetResponse)(nil), "messagepb.ProfileGetResponse")
proto.RegisterType((*ProfileListRequest)(nil), "messagepb.ProfileListRequest")
proto.RegisterType((*ProfileListResponse)(nil), "messagepb.ProfileListResponse")
proto.RegisterType((*IgnitionPutRequest)(nil), "messagepb.IgnitionPutRequest")
proto.RegisterType((*IgnitionPutResponse)(nil), "messagepb.IgnitionPutResponse")
proto.RegisterType((*SelectGroupRequest)(nil), "serverpb.SelectGroupRequest")
proto.RegisterType((*SelectGroupResponse)(nil), "serverpb.SelectGroupResponse")
proto.RegisterType((*SelectProfileRequest)(nil), "serverpb.SelectProfileRequest")
proto.RegisterType((*SelectProfileResponse)(nil), "serverpb.SelectProfileResponse")
proto.RegisterType((*GroupPutRequest)(nil), "serverpb.GroupPutRequest")
proto.RegisterType((*GroupPutResponse)(nil), "serverpb.GroupPutResponse")
proto.RegisterType((*GroupGetRequest)(nil), "serverpb.GroupGetRequest")
proto.RegisterType((*GroupListRequest)(nil), "serverpb.GroupListRequest")
proto.RegisterType((*GroupGetResponse)(nil), "serverpb.GroupGetResponse")
proto.RegisterType((*GroupListResponse)(nil), "serverpb.GroupListResponse")
proto.RegisterType((*ProfilePutRequest)(nil), "serverpb.ProfilePutRequest")
proto.RegisterType((*ProfilePutResponse)(nil), "serverpb.ProfilePutResponse")
proto.RegisterType((*ProfileGetRequest)(nil), "serverpb.ProfileGetRequest")
proto.RegisterType((*ProfileGetResponse)(nil), "serverpb.ProfileGetResponse")
proto.RegisterType((*ProfileListRequest)(nil), "serverpb.ProfileListRequest")
proto.RegisterType((*ProfileListResponse)(nil), "serverpb.ProfileListResponse")
proto.RegisterType((*IgnitionPutRequest)(nil), "serverpb.IgnitionPutRequest")
proto.RegisterType((*IgnitionPutResponse)(nil), "serverpb.IgnitionPutResponse")
}
var fileDescriptor0 = []byte{
// 439 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0xd1, 0x6e, 0xd3, 0x30,
0x14, 0x55, 0x3a, 0x16, 0xd8, 0x2d, 0x1a, 0x9d, 0xdb, 0xa1, 0x69, 0x4f, 0x60, 0x24, 0x54, 0x04,
0xb8, 0xd2, 0x78, 0x61, 0x93, 0x26, 0x31, 0x50, 0x35, 0x81, 0xf6, 0x30, 0x85, 0x2f, 0x48, 0xc2,
0x6d, 0x88, 0x48, 0xe2, 0x10, 0x3b, 0x48, 0xfd, 0x0d, 0x1e, 0xf8, 0x5e, 0x5a, 0xfb, 0x3a, 0x38,
0x2d, 0x42, 0x14, 0xf1, 0xe4, 0xeb, 0x7b, 0xcf, 0x39, 0xb7, 0xe7, 0xb8, 0x0a, 0x1c, 0x96, 0xa8,
0x54, 0x9c, 0xa1, 0x12, 0x75, 0x23, 0xb5, 0x64, 0x07, 0x74, 0xaf, 0x93, 0xd3, 0x0f,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e, 0x0f, 0x8c, 0xdf, 0xdb, 0x56, 0x3b, 0x67, 0x7f, 0x1b,
0x0d, 0x83, 0xd1, 0x2f, 0xaa, 0x5d, 0xce, 0x1f, 0x93, 0xdc, 0x35, 0x76, 0x72, 0x87, 0x30, 0xc8,
0x3f, 0x91, 0xa7, 0x55, 0xd5, 0xd1, 0x6e, 0x72, 0xe5, 0x30, 0xfc, 0x82, 0x7a, 0x86, 0xb6, 0xe3,
0x0b, 0x5d, 0xc2, 0x91, 0xa7, 0x47, 0xe4, 0x29, 0x84, 0x66, 0xea, 0x5e, 0x67, 0x9b, 0x4d, 0x73,
0x7e, 0x05, 0x47, 0x14, 0x8a, 0x17, 0xc1, 0x6e, 0x19, 0x4e, 0x80, 0xf9, 0x12, 0x14, 0xc5, 0x93,
0x4e, 0xf8, 0x0f, 0x61, 0xbc, 0xed, 0xa8, 0xbe, 0xf5, 0x7f, 0x5d, 0xef, 0x47, 0x3a, 0x87, 0x71,
0xaf, 0x4b, 0xd2, 0x02, 0xee, 0x11, 0xcf, 0x45, 0xf3, 0x3b, 0xed, 0x0e, 0xc3, 0xdf, 0x00, 0x7b,
0x9f, 0x55, 0xb9, 0xce, 0x65, 0xe5, 0xe5, 0xc3, 0xe0, 0x4e, 0x15, 0x97, 0x48, 0x46, 0x4c, 0xcd,
0x1e, 0x42, 0x98, 0xca, 0x6a, 0x91, 0x67, 0xe6, 0xbf, 0x7a, 0x3f, 0xa2, 0x1b, 0x3f, 0x86, 0x71,
0x4f, 0xc1, 0xfe, 0x90, 0x24, 0x34, 0xdf, 0x8c, 0x57, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xfb,
0x98, 0x11, 0xcc, 0x9c, 0x04, 0x00, 0x00,
// 441 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0x5d, 0x8b, 0xd3, 0x40,
0x14, 0x25, 0x5d, 0x37, 0xae,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 0xcb, 0x87, 0xc0, 0x83, 0x3a, 0xa9, 0xd0, 0x1a,
0xd1, 0x35, 0x79, 0x0a, 0x61, 0xc6, 0xeb, 0x45, 0x91, 0xeb, 0xff, 0xea, 0xe3, 0xd8, 0xde, 0xe8,
0x29, 0x8c, 0x7b, 0x0a, 0xe6, 0x87, 0xa4, 0xa1, 0xfe, 0x62, 0xbc, 0xfd, 0x19, 0x00, 0x00, 0xff,
0xff, 0x19, 0xef, 0xe3, 0x5b, 0x99, 0x04, 0x00, 0x00,
}

View File

@@ -1,5 +1,5 @@
syntax = "proto3";
package messagepb;
package serverpb;
import "github.com/coreos/coreos-baremetal/bootcfg/storage/storagepb/storage.proto";