v1

package
v0.4.510 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 {
	Todo     *v1alpha1.Todo `protobuf:"bytes,1,opt,name=todo,proto3" json:"todo,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) GetPassword

func (x *CreateTodoRequest) GetPassword() string

func (*CreateTodoRequest) GetTodo added in v0.4.472

func (x *CreateTodoRequest) GetTodo() *v1alpha1.Todo

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 {
	Todo *v1alpha1.Todo `protobuf:"bytes,1,opt,name=todo,proto3" json:"todo,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) GetTodo added in v0.4.472

func (x *GetTodoResponse) GetTodo() *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 {
	Todos         *v1alpha1.TodoList `protobuf:"bytes,1,opt,name=todos,proto3" json:"todos,omitempty"`
	NextPageToken string             `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTodosResponse) Descriptor deprecated

func (*ListTodosResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTodosResponse.ProtoReflect.Descriptor instead.

func (*ListTodosResponse) GetNextPageToken added in v0.4.472

func (x *ListTodosResponse) GetNextPageToken() string

func (*ListTodosResponse) GetTodos added in v0.4.472

func (x *ListTodosResponse) GetTodos() *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.

type TodoServiceServer

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

func (*UnimplementedTodoServiceServer) GetTodo

func (*UnimplementedTodoServiceServer) ListTodos

func (*UnimplementedTodoServiceServer) UpdateTodo

type UpdateTodoRequest

type UpdateTodoRequest struct {
	Todo      *v1alpha1.Todo        `protobuf:"bytes,1,opt,name=todo,proto3" json:"todo,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) GetTodo added in v0.4.475

func (x *UpdateTodoRequest) GetTodo() *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL