Versions in this module Expand all Collapse all v0 v0.2.134 Dec 25, 2019 Changes in this version + var User_UserState_name = map[int32]string + var User_UserState_value = map[string]int32 + func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error + func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer) + type AddSshPublicKeyRequest struct + SshPublicKey string + SshPublicKeyName string + UserName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddSshPublicKeyRequest) Descriptor() ([]byte, []int) + func (*AddSshPublicKeyRequest) ProtoMessage() + func (m *AddSshPublicKeyRequest) GetSshPublicKey() string + func (m *AddSshPublicKeyRequest) GetSshPublicKeyName() string + func (m *AddSshPublicKeyRequest) GetUserName() string + func (m *AddSshPublicKeyRequest) Reset() + func (m *AddSshPublicKeyRequest) String() string + func (m *AddSshPublicKeyRequest) XXX_DiscardUnknown() + func (m *AddSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddSshPublicKeyRequest) XXX_Merge(src proto.Message) + func (m *AddSshPublicKeyRequest) XXX_Size() int + func (m *AddSshPublicKeyRequest) XXX_Unmarshal(b []byte) error + type CreateUserRequest struct + Annotations map[string]string + Labels map[string]string + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateUserRequest) Descriptor() ([]byte, []int) + func (*CreateUserRequest) ProtoMessage() + func (m *CreateUserRequest) GetAnnotations() map[string]string + func (m *CreateUserRequest) GetLabels() map[string]string + func (m *CreateUserRequest) GetName() string + func (m *CreateUserRequest) Reset() + func (m *CreateUserRequest) String() string + func (m *CreateUserRequest) XXX_DiscardUnknown() + func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateUserRequest) XXX_Merge(src proto.Message) + func (m *CreateUserRequest) XXX_Size() int + func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error + type DeleteSshPublicKeyRequest struct + SshPublicKeyName string + UserName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) + func (*DeleteSshPublicKeyRequest) ProtoMessage() + func (m *DeleteSshPublicKeyRequest) GetSshPublicKeyName() string + func (m *DeleteSshPublicKeyRequest) GetUserName() string + func (m *DeleteSshPublicKeyRequest) Reset() + func (m *DeleteSshPublicKeyRequest) String() string + func (m *DeleteSshPublicKeyRequest) XXX_DiscardUnknown() + func (m *DeleteSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteSshPublicKeyRequest) XXX_Merge(src proto.Message) + func (m *DeleteSshPublicKeyRequest) XXX_Size() int + func (m *DeleteSshPublicKeyRequest) XXX_Unmarshal(b []byte) error + type DeleteUserRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteUserRequest) Descriptor() ([]byte, []int) + func (*DeleteUserRequest) ProtoMessage() + func (m *DeleteUserRequest) GetName() string + func (m *DeleteUserRequest) Reset() + func (m *DeleteUserRequest) String() string + func (m *DeleteUserRequest) XXX_DiscardUnknown() + func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteUserRequest) XXX_Merge(src proto.Message) + func (m *DeleteUserRequest) XXX_Size() int + func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error + type GetUserRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserRequest) Descriptor() ([]byte, []int) + func (*GetUserRequest) ProtoMessage() + func (m *GetUserRequest) GetName() string + func (m *GetUserRequest) Reset() + func (m *GetUserRequest) String() string + func (m *GetUserRequest) XXX_DiscardUnknown() + func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserRequest) XXX_Merge(src proto.Message) + func (m *GetUserRequest) XXX_Size() int + func (m *GetUserRequest) XXX_Unmarshal(b []byte) error + type ListUsersRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListUsersRequest) Descriptor() ([]byte, []int) + func (*ListUsersRequest) ProtoMessage() + func (m *ListUsersRequest) Reset() + func (m *ListUsersRequest) String() string + func (m *ListUsersRequest) XXX_DiscardUnknown() + func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListUsersRequest) XXX_Merge(src proto.Message) + func (m *ListUsersRequest) XXX_Size() int + func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error + type ListUsersResponse struct + Users []*User + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListUsersResponse) Descriptor() ([]byte, []int) + func (*ListUsersResponse) ProtoMessage() + func (m *ListUsersResponse) GetUsers() []*User + func (m *ListUsersResponse) Reset() + func (m *ListUsersResponse) String() string + func (m *ListUsersResponse) XXX_DiscardUnknown() + func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListUsersResponse) XXX_Merge(src proto.Message) + func (m *ListUsersResponse) XXX_Size() int + func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error + type UnimplementedUserServiceServer struct + func (*UnimplementedUserServiceServer) AddSshPublicKey(ctx context.Context, req *AddSshPublicKeyRequest) (*User, error) + func (*UnimplementedUserServiceServer) CreateUser(ctx context.Context, req *CreateUserRequest) (*User, error) + func (*UnimplementedUserServiceServer) DeleteSshPublicKey(ctx context.Context, req *DeleteSshPublicKeyRequest) (*User, error) + func (*UnimplementedUserServiceServer) DeleteUser(ctx context.Context, req *DeleteUserRequest) (*empty.Empty, error) + func (*UnimplementedUserServiceServer) GetUser(ctx context.Context, req *GetUserRequest) (*User, error) + func (*UnimplementedUserServiceServer) ListUsers(ctx context.Context, req *ListUsersRequest) (*ListUsersResponse, error) + type User struct + Annotations map[string]string + Labels map[string]string + Name string + SshPublicKeys map[string]string + State User_UserState + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (m *User) GetAnnotations() map[string]string + func (m *User) GetLabels() map[string]string + func (m *User) GetName() string + func (m *User) GetSshPublicKeys() map[string]string + func (m *User) GetState() User_UserState + func (m *User) Reset() + func (m *User) String() string + func (m *User) XXX_DiscardUnknown() + func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *User) XXX_Merge(src proto.Message) + func (m *User) XXX_Size() int + func (m *User) XXX_Unmarshal(b []byte) error + type UserServiceClient interface + AddSshPublicKey func(ctx context.Context, in *AddSshPublicKeyRequest, opts ...grpc.CallOption) (*User, error) + CreateUser func(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error) + DeleteSshPublicKey func(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*User, error) + DeleteUser func(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) + GetUser func(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) + ListUsers func(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) + func NewUserServiceClient(cc *grpc.ClientConn) UserServiceClient + type UserServiceServer interface + AddSshPublicKey func(context.Context, *AddSshPublicKeyRequest) (*User, error) + CreateUser func(context.Context, *CreateUserRequest) (*User, error) + DeleteSshPublicKey func(context.Context, *DeleteSshPublicKeyRequest) (*User, error) + DeleteUser func(context.Context, *DeleteUserRequest) (*empty.Empty, error) + GetUser func(context.Context, *GetUserRequest) (*User, error) + ListUsers func(context.Context, *ListUsersRequest) (*ListUsersResponse, error) + type User_UserState int32 + const User_AVAILABLE + const User_PENDING + const User_USER_UNSPECIFIED + func (User_UserState) EnumDescriptor() ([]byte, []int) + func (x User_UserState) String() string