Documentation ¶
Overview ¶
Package rpcpb provides RPC client and server interfaces.
Package rpcpb is a generated protocol buffer package.
It is generated from these files:
rpc.proto
It has these top-level messages:
Index ¶
- func RegisterGroupsServer(s *grpc.Server, srv GroupsServer)
- func RegisterIgnitionServer(s *grpc.Server, srv IgnitionServer)
- func RegisterProfilesServer(s *grpc.Server, srv ProfilesServer)
- func RegisterSelectServer(s *grpc.Server, srv SelectServer)
- type GroupsClient
- type GroupsServer
- type IgnitionClient
- type IgnitionServer
- type ProfilesClient
- type ProfilesServer
- type SelectClient
- type SelectServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGroupsServer ¶
func RegisterGroupsServer(s *grpc.Server, srv GroupsServer)
func RegisterIgnitionServer ¶
func RegisterIgnitionServer(s *grpc.Server, srv IgnitionServer)
func RegisterProfilesServer ¶
func RegisterProfilesServer(s *grpc.Server, srv ProfilesServer)
func RegisterSelectServer ¶
func RegisterSelectServer(s *grpc.Server, srv SelectServer)
Types ¶
type GroupsClient ¶
type GroupsClient interface { // Create a Group. GroupPut(ctx context.Context, in *serverpb.GroupPutRequest, opts ...grpc.CallOption) (*serverpb.GroupPutResponse, error) // Get a machine Group by id. GroupGet(ctx context.Context, in *serverpb.GroupGetRequest, opts ...grpc.CallOption) (*serverpb.GroupGetResponse, error) // Delete a machine Group by id. GroupDelete(ctx context.Context, in *serverpb.GroupDeleteRequest, opts ...grpc.CallOption) (*serverpb.GroupDeleteResponse, error) // List all machine Groups. GroupList(ctx context.Context, in *serverpb.GroupListRequest, opts ...grpc.CallOption) (*serverpb.GroupListResponse, error) }
func NewGroupsClient ¶
func NewGroupsClient(cc *grpc.ClientConn) GroupsClient
type GroupsServer ¶
type GroupsServer interface { // Create a Group. GroupPut(context.Context, *serverpb.GroupPutRequest) (*serverpb.GroupPutResponse, error) // Get a machine Group by id. GroupGet(context.Context, *serverpb.GroupGetRequest) (*serverpb.GroupGetResponse, error) // Delete a machine Group by id. GroupDelete(context.Context, *serverpb.GroupDeleteRequest) (*serverpb.GroupDeleteResponse, error) // List all machine Groups. GroupList(context.Context, *serverpb.GroupListRequest) (*serverpb.GroupListResponse, error) }
type IgnitionClient ¶
type IgnitionClient interface { // Create or update an Container Linux Config template. IgnitionPut(ctx context.Context, in *serverpb.IgnitionPutRequest, opts ...grpc.CallOption) (*serverpb.IgnitionPutResponse, error) // Get a Container Linux Config template by name. IgnitionGet(ctx context.Context, in *serverpb.IgnitionGetRequest, opts ...grpc.CallOption) (*serverpb.IgnitionGetResponse, error) // Delete a Container Linux Config template by name. IgnitionDelete(ctx context.Context, in *serverpb.IgnitionDeleteRequest, opts ...grpc.CallOption) (*serverpb.IgnitionDeleteResponse, error) }
func NewIgnitionClient ¶
func NewIgnitionClient(cc *grpc.ClientConn) IgnitionClient
type IgnitionServer ¶
type IgnitionServer interface { // Create or update an Container Linux Config template. IgnitionPut(context.Context, *serverpb.IgnitionPutRequest) (*serverpb.IgnitionPutResponse, error) // Get a Container Linux Config template by name. IgnitionGet(context.Context, *serverpb.IgnitionGetRequest) (*serverpb.IgnitionGetResponse, error) // Delete a Container Linux Config template by name. IgnitionDelete(context.Context, *serverpb.IgnitionDeleteRequest) (*serverpb.IgnitionDeleteResponse, error) }
type ProfilesClient ¶
type ProfilesClient interface { // Create a Profile. ProfilePut(ctx context.Context, in *serverpb.ProfilePutRequest, opts ...grpc.CallOption) (*serverpb.ProfilePutResponse, error) // Get a Profile by id. ProfileGet(ctx context.Context, in *serverpb.ProfileGetRequest, opts ...grpc.CallOption) (*serverpb.ProfileGetResponse, error) // Delete a Profile by id. ProfileDelete(ctx context.Context, in *serverpb.ProfileDeleteRequest, opts ...grpc.CallOption) (*serverpb.ProfileDeleteResponse, error) // List all Profiles. ProfileList(ctx context.Context, in *serverpb.ProfileListRequest, opts ...grpc.CallOption) (*serverpb.ProfileListResponse, error) }
func NewProfilesClient ¶
func NewProfilesClient(cc *grpc.ClientConn) ProfilesClient
type ProfilesServer ¶
type ProfilesServer interface { // Create a Profile. ProfilePut(context.Context, *serverpb.ProfilePutRequest) (*serverpb.ProfilePutResponse, error) // Get a Profile by id. ProfileGet(context.Context, *serverpb.ProfileGetRequest) (*serverpb.ProfileGetResponse, error) // Delete a Profile by id. ProfileDelete(context.Context, *serverpb.ProfileDeleteRequest) (*serverpb.ProfileDeleteResponse, error) // List all Profiles. ProfileList(context.Context, *serverpb.ProfileListRequest) (*serverpb.ProfileListResponse, error) }
type SelectClient ¶
type SelectClient interface { // SelectGroup returns the Group matching the given labels. 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 *serverpb.SelectProfileRequest, opts ...grpc.CallOption) (*serverpb.SelectProfileResponse, error) }
func NewSelectClient ¶
func NewSelectClient(cc *grpc.ClientConn) SelectClient
type SelectServer ¶
type SelectServer interface { // SelectGroup returns the Group matching the given labels. SelectGroup(context.Context, *serverpb.SelectGroupRequest) (*serverpb.SelectGroupResponse, error) // SelectProfile returns the Profile matching the given labels. SelectProfile(context.Context, *serverpb.SelectProfileRequest) (*serverpb.SelectProfileResponse, error) }
Click to show internal directories.
Click to hide internal directories.