Documentation
¶
Index ¶
- Variables
- func RegisterTodoServiceServer(s *grpc.Server, srv TodoServiceServer)
- type CreateTodoRequest
- func (*CreateTodoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTodoRequest) GetItem() *v1alpha1.Todo
- func (x *CreateTodoRequest) GetPassword() string
- func (*CreateTodoRequest) ProtoMessage()
- func (x *CreateTodoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTodoRequest) Reset()
- func (x *CreateTodoRequest) String() string
- type CreateTodoResponse
- type DeleteTodoRequest
- func (*DeleteTodoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTodoRequest) GetName() string
- func (x *DeleteTodoRequest) GetNamespace() string
- func (*DeleteTodoRequest) ProtoMessage()
- func (x *DeleteTodoRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTodoRequest) Reset()
- func (x *DeleteTodoRequest) String() string
- type DeleteTodoResponse
- type GetTodoRequest
- func (*GetTodoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTodoRequest) GetName() string
- func (x *GetTodoRequest) GetNamespace() string
- func (*GetTodoRequest) ProtoMessage()
- func (x *GetTodoRequest) ProtoReflect() protoreflect.Message
- func (x *GetTodoRequest) Reset()
- func (x *GetTodoRequest) String() string
- type GetTodoResponse
- func (*GetTodoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTodoResponse) GetItem() *v1alpha1.Todo
- func (x *GetTodoResponse) GetYaml() string
- func (*GetTodoResponse) ProtoMessage()
- func (x *GetTodoResponse) ProtoReflect() protoreflect.Message
- func (x *GetTodoResponse) Reset()
- func (x *GetTodoResponse) String() string
- type ListTodosRequest
- func (*ListTodosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTodosRequest) GetLabels() map[string]string
- func (x *ListTodosRequest) GetNamespace() string
- func (*ListTodosRequest) ProtoMessage()
- func (x *ListTodosRequest) ProtoReflect() protoreflect.Message
- func (x *ListTodosRequest) Reset()
- func (x *ListTodosRequest) String() string
- type ListTodosResponse
- func (*ListTodosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTodosResponse) GetItems() *v1alpha1.TodoList
- func (*ListTodosResponse) ProtoMessage()
- func (x *ListTodosResponse) ProtoReflect() protoreflect.Message
- func (x *ListTodosResponse) Reset()
- func (x *ListTodosResponse) String() string
- type TodoServiceClient
- type TodoServiceServer
- type UnimplementedTodoServiceServer
- func (*UnimplementedTodoServiceServer) CreateTodo(context.Context, *CreateTodoRequest) (*CreateTodoResponse, error)
- func (*UnimplementedTodoServiceServer) DeleteTodo(context.Context, *DeleteTodoRequest) (*DeleteTodoResponse, error)
- func (*UnimplementedTodoServiceServer) GetTodo(context.Context, *GetTodoRequest) (*GetTodoResponse, error)
- func (*UnimplementedTodoServiceServer) ListTodos(context.Context, *ListTodosRequest) (*ListTodosResponse, error)
- func (*UnimplementedTodoServiceServer) UpdateTodo(context.Context, *UpdateTodoRequest) (*UpdateTodoResponse, error)
- type UpdateTodoRequest
- func (*UpdateTodoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTodoRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateTodoRequest) GetItem() *v1alpha1.Todo
- func (*UpdateTodoRequest) ProtoMessage()
- func (x *UpdateTodoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTodoRequest) Reset()
- func (x *UpdateTodoRequest) String() string
- type UpdateTodoResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_todo_v1_todo_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTodoServiceServer ¶
func RegisterTodoServiceServer(s *grpc.Server, srv TodoServiceServer)
Types ¶
type CreateTodoRequest ¶
type CreateTodoRequest struct { Item *v1alpha1.Todo `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateTodoRequest) Descriptor
deprecated
func (*CreateTodoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTodoRequest.ProtoReflect.Descriptor instead.
func (*CreateTodoRequest) GetItem ¶
func (x *CreateTodoRequest) GetItem() *v1alpha1.Todo
func (*CreateTodoRequest) GetPassword ¶
func (x *CreateTodoRequest) GetPassword() string
func (*CreateTodoRequest) ProtoMessage ¶
func (*CreateTodoRequest) ProtoMessage()
func (*CreateTodoRequest) ProtoReflect ¶
func (x *CreateTodoRequest) ProtoReflect() protoreflect.Message
func (*CreateTodoRequest) Reset ¶
func (x *CreateTodoRequest) Reset()
func (*CreateTodoRequest) String ¶
func (x *CreateTodoRequest) String() string
type CreateTodoResponse ¶
type CreateTodoResponse struct {
// contains filtered or unexported fields
}
func (*CreateTodoResponse) Descriptor
deprecated
func (*CreateTodoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTodoResponse.ProtoReflect.Descriptor instead.
func (*CreateTodoResponse) ProtoMessage ¶
func (*CreateTodoResponse) ProtoMessage()
func (*CreateTodoResponse) ProtoReflect ¶
func (x *CreateTodoResponse) ProtoReflect() protoreflect.Message
func (*CreateTodoResponse) Reset ¶
func (x *CreateTodoResponse) Reset()
func (*CreateTodoResponse) String ¶
func (x *CreateTodoResponse) String() string
type DeleteTodoRequest ¶
type DeleteTodoRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteTodoRequest) Descriptor
deprecated
func (*DeleteTodoRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTodoRequest.ProtoReflect.Descriptor instead.
func (*DeleteTodoRequest) GetName ¶
func (x *DeleteTodoRequest) GetName() string
func (*DeleteTodoRequest) GetNamespace ¶
func (x *DeleteTodoRequest) GetNamespace() string
func (*DeleteTodoRequest) ProtoMessage ¶
func (*DeleteTodoRequest) ProtoMessage()
func (*DeleteTodoRequest) ProtoReflect ¶
func (x *DeleteTodoRequest) ProtoReflect() protoreflect.Message
func (*DeleteTodoRequest) Reset ¶
func (x *DeleteTodoRequest) Reset()
func (*DeleteTodoRequest) String ¶
func (x *DeleteTodoRequest) String() string
type DeleteTodoResponse ¶
type DeleteTodoResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTodoResponse) Descriptor
deprecated
func (*DeleteTodoResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTodoResponse.ProtoReflect.Descriptor instead.
func (*DeleteTodoResponse) ProtoMessage ¶
func (*DeleteTodoResponse) ProtoMessage()
func (*DeleteTodoResponse) ProtoReflect ¶
func (x *DeleteTodoResponse) ProtoReflect() protoreflect.Message
func (*DeleteTodoResponse) Reset ¶
func (x *DeleteTodoResponse) Reset()
func (*DeleteTodoResponse) String ¶
func (x *DeleteTodoResponse) String() string
type GetTodoRequest ¶
type GetTodoRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTodoRequest) Descriptor
deprecated
func (*GetTodoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTodoRequest.ProtoReflect.Descriptor instead.
func (*GetTodoRequest) GetName ¶
func (x *GetTodoRequest) GetName() string
func (*GetTodoRequest) GetNamespace ¶
func (x *GetTodoRequest) GetNamespace() string
func (*GetTodoRequest) ProtoMessage ¶
func (*GetTodoRequest) ProtoMessage()
func (*GetTodoRequest) ProtoReflect ¶
func (x *GetTodoRequest) ProtoReflect() protoreflect.Message
func (*GetTodoRequest) Reset ¶
func (x *GetTodoRequest) Reset()
func (*GetTodoRequest) String ¶
func (x *GetTodoRequest) String() string
type GetTodoResponse ¶
type GetTodoResponse struct { Item *v1alpha1.Todo `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetTodoResponse) Descriptor
deprecated
func (*GetTodoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTodoResponse.ProtoReflect.Descriptor instead.
func (*GetTodoResponse) GetItem ¶
func (x *GetTodoResponse) GetItem() *v1alpha1.Todo
func (*GetTodoResponse) GetYaml ¶
func (x *GetTodoResponse) GetYaml() string
func (*GetTodoResponse) ProtoMessage ¶
func (*GetTodoResponse) ProtoMessage()
func (*GetTodoResponse) ProtoReflect ¶
func (x *GetTodoResponse) ProtoReflect() protoreflect.Message
func (*GetTodoResponse) Reset ¶
func (x *GetTodoResponse) Reset()
func (*GetTodoResponse) String ¶
func (x *GetTodoResponse) String() string
type ListTodosRequest ¶
type ListTodosRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListTodosRequest) Descriptor
deprecated
func (*ListTodosRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTodosRequest.ProtoReflect.Descriptor instead.
func (*ListTodosRequest) GetLabels ¶
func (x *ListTodosRequest) GetLabels() map[string]string
func (*ListTodosRequest) GetNamespace ¶
func (x *ListTodosRequest) GetNamespace() string
func (*ListTodosRequest) ProtoMessage ¶
func (*ListTodosRequest) ProtoMessage()
func (*ListTodosRequest) ProtoReflect ¶
func (x *ListTodosRequest) ProtoReflect() protoreflect.Message
func (*ListTodosRequest) Reset ¶
func (x *ListTodosRequest) Reset()
func (*ListTodosRequest) String ¶
func (x *ListTodosRequest) String() string
type ListTodosResponse ¶
type ListTodosResponse struct { Items *v1alpha1.TodoList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListTodosResponse) Descriptor
deprecated
func (*ListTodosResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTodosResponse.ProtoReflect.Descriptor instead.
func (*ListTodosResponse) GetItems ¶
func (x *ListTodosResponse) GetItems() *v1alpha1.TodoList
func (*ListTodosResponse) ProtoMessage ¶
func (*ListTodosResponse) ProtoMessage()
func (*ListTodosResponse) ProtoReflect ¶
func (x *ListTodosResponse) ProtoReflect() protoreflect.Message
func (*ListTodosResponse) Reset ¶
func (x *ListTodosResponse) Reset()
func (*ListTodosResponse) String ¶
func (x *ListTodosResponse) String() string
type TodoServiceClient ¶
type TodoServiceClient interface { ListTodos(ctx context.Context, in *ListTodosRequest, opts ...grpc.CallOption) (*ListTodosResponse, error) CreateTodo(ctx context.Context, in *CreateTodoRequest, opts ...grpc.CallOption) (*CreateTodoResponse, error) GetTodo(ctx context.Context, in *GetTodoRequest, opts ...grpc.CallOption) (*GetTodoResponse, error) UpdateTodo(ctx context.Context, in *UpdateTodoRequest, opts ...grpc.CallOption) (*UpdateTodoResponse, error) DeleteTodo(ctx context.Context, in *DeleteTodoRequest, opts ...grpc.CallOption) (*DeleteTodoResponse, error) }
TodoServiceClient is the client API for TodoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTodoServiceClient ¶
func NewTodoServiceClient(cc grpc.ClientConnInterface) TodoServiceClient
type TodoServiceServer ¶
type TodoServiceServer interface { ListTodos(context.Context, *ListTodosRequest) (*ListTodosResponse, error) CreateTodo(context.Context, *CreateTodoRequest) (*CreateTodoResponse, error) GetTodo(context.Context, *GetTodoRequest) (*GetTodoResponse, error) UpdateTodo(context.Context, *UpdateTodoRequest) (*UpdateTodoResponse, error) DeleteTodo(context.Context, *DeleteTodoRequest) (*DeleteTodoResponse, error) }
TodoServiceServer is the server API for TodoService service.
type UnimplementedTodoServiceServer ¶
type UnimplementedTodoServiceServer struct { }
UnimplementedTodoServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTodoServiceServer) CreateTodo ¶
func (*UnimplementedTodoServiceServer) CreateTodo(context.Context, *CreateTodoRequest) (*CreateTodoResponse, error)
func (*UnimplementedTodoServiceServer) DeleteTodo ¶
func (*UnimplementedTodoServiceServer) DeleteTodo(context.Context, *DeleteTodoRequest) (*DeleteTodoResponse, error)
func (*UnimplementedTodoServiceServer) GetTodo ¶
func (*UnimplementedTodoServiceServer) GetTodo(context.Context, *GetTodoRequest) (*GetTodoResponse, error)
func (*UnimplementedTodoServiceServer) ListTodos ¶
func (*UnimplementedTodoServiceServer) ListTodos(context.Context, *ListTodosRequest) (*ListTodosResponse, error)
func (*UnimplementedTodoServiceServer) UpdateTodo ¶
func (*UnimplementedTodoServiceServer) UpdateTodo(context.Context, *UpdateTodoRequest) (*UpdateTodoResponse, error)
type UpdateTodoRequest ¶
type UpdateTodoRequest struct { Item *v1alpha1.Todo `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateTodoRequest) Descriptor
deprecated
func (*UpdateTodoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTodoRequest.ProtoReflect.Descriptor instead.
func (*UpdateTodoRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateTodoRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateTodoRequest) GetItem ¶
func (x *UpdateTodoRequest) GetItem() *v1alpha1.Todo
func (*UpdateTodoRequest) ProtoMessage ¶
func (*UpdateTodoRequest) ProtoMessage()
func (*UpdateTodoRequest) ProtoReflect ¶
func (x *UpdateTodoRequest) ProtoReflect() protoreflect.Message
func (*UpdateTodoRequest) Reset ¶
func (x *UpdateTodoRequest) Reset()
func (*UpdateTodoRequest) String ¶
func (x *UpdateTodoRequest) String() string
type UpdateTodoResponse ¶
type UpdateTodoResponse struct {
// contains filtered or unexported fields
}
func (*UpdateTodoResponse) Descriptor
deprecated
func (*UpdateTodoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTodoResponse.ProtoReflect.Descriptor instead.
func (*UpdateTodoResponse) ProtoMessage ¶
func (*UpdateTodoResponse) ProtoMessage()
func (*UpdateTodoResponse) ProtoReflect ¶
func (x *UpdateTodoResponse) ProtoReflect() protoreflect.Message
func (*UpdateTodoResponse) Reset ¶
func (x *UpdateTodoResponse) Reset()
func (*UpdateTodoResponse) String ¶
func (x *UpdateTodoResponse) String() string