Documentation

Overview

    Package rpcpb provides RPC client and server interfaces.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func RegisterGenericServer

    func RegisterGenericServer(s *grpc.Server, srv GenericServer)

    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 GenericClient

    type GenericClient interface {
    	// Create or update a Generic template.
    	GenericPut(ctx context.Context, in *serverpb.GenericPutRequest, opts ...grpc.CallOption) (*serverpb.GenericPutResponse, error)
    	// Get a Generic template by name.
    	GenericGet(ctx context.Context, in *serverpb.GenericGetRequest, opts ...grpc.CallOption) (*serverpb.GenericGetResponse, error)
    	// Delete a Generic template by name.
    	GenericDelete(ctx context.Context, in *serverpb.GenericDeleteRequest, opts ...grpc.CallOption) (*serverpb.GenericDeleteResponse, error)
    }

      GenericClient is the client API for Generic service.

      For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

      func NewGenericClient

      func NewGenericClient(cc *grpc.ClientConn) GenericClient

      type GenericServer

      type GenericServer interface {
      	// Create or update a Generic template.
      	GenericPut(context.Context, *serverpb.GenericPutRequest) (*serverpb.GenericPutResponse, error)
      	// Get a Generic template by name.
      	GenericGet(context.Context, *serverpb.GenericGetRequest) (*serverpb.GenericGetResponse, error)
      	// Delete a Generic template by name.
      	GenericDelete(context.Context, *serverpb.GenericDeleteRequest) (*serverpb.GenericDeleteResponse, error)
      }

        GenericServer is the server API for Generic service.

        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)
        }

          GroupsClient is the client API for Groups service.

          For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

          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)
          }

            GroupsServer is the server API for Groups service.

            type IgnitionClient

            type IgnitionClient interface {
            	// Create or update a 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)
            }

              IgnitionClient is the client API for Ignition service.

              For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

              func NewIgnitionClient

              func NewIgnitionClient(cc *grpc.ClientConn) IgnitionClient

              type IgnitionServer

              type IgnitionServer interface {
              	// Create or update a 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)
              }

                IgnitionServer is the server API for Ignition service.

                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)
                }

                  ProfilesClient is the client API for Profiles service.

                  For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

                  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)
                  }

                    ProfilesServer is the server API for Profiles service.

                    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)
                    }

                      SelectClient is the client API for Select service.

                      For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

                      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)
                      }

                        SelectServer is the server API for Select service.

                        type UnimplementedGenericServer

                        type UnimplementedGenericServer struct {
                        }

                          UnimplementedGenericServer can be embedded to have forward compatible implementations.

                          func (*UnimplementedGenericServer) GenericDelete

                          func (*UnimplementedGenericServer) GenericGet

                          func (*UnimplementedGenericServer) GenericPut

                          type UnimplementedGroupsServer

                          type UnimplementedGroupsServer struct {
                          }

                            UnimplementedGroupsServer can be embedded to have forward compatible implementations.

                            func (*UnimplementedGroupsServer) GroupDelete

                            func (*UnimplementedGroupsServer) GroupGet

                            func (*UnimplementedGroupsServer) GroupList

                            func (*UnimplementedGroupsServer) GroupPut

                            type UnimplementedIgnitionServer

                            type UnimplementedIgnitionServer struct {
                            }

                              UnimplementedIgnitionServer can be embedded to have forward compatible implementations.

                              func (*UnimplementedIgnitionServer) IgnitionDelete

                              func (*UnimplementedIgnitionServer) IgnitionGet

                              func (*UnimplementedIgnitionServer) IgnitionPut

                              type UnimplementedProfilesServer

                              type UnimplementedProfilesServer struct {
                              }

                                UnimplementedProfilesServer can be embedded to have forward compatible implementations.

                                func (*UnimplementedProfilesServer) ProfileDelete

                                func (*UnimplementedProfilesServer) ProfileGet

                                func (*UnimplementedProfilesServer) ProfileList

                                func (*UnimplementedProfilesServer) ProfilePut

                                type UnimplementedSelectServer

                                type UnimplementedSelectServer struct {
                                }

                                  UnimplementedSelectServer can be embedded to have forward compatible implementations.

                                  func (*UnimplementedSelectServer) SelectGroup

                                  func (*UnimplementedSelectServer) SelectProfile

                                  Source Files