v1

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatusResponse_InitializerStatus_name = map[int32]string{
	0: "CHECKING",
	1: "RESTORING",
	2: "DONE",
}
View Source
var StatusResponse_InitializerStatus_value = map[string]int32{
	"CHECKING":  0,
	"RESTORING": 1,
	"DONE":      2,
}

Functions

func RegisterInitializerServiceServer

func RegisterInitializerServiceServer(s *grpc.Server, srv InitializerServiceServer)

Types

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type InitializerServiceClient

type InitializerServiceClient interface {
	Status(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StatusResponse, error)
}

InitializerServiceClient is the client API for InitializerService service.

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

type InitializerServiceServer

type InitializerServiceServer interface {
	Status(context.Context, *Empty) (*StatusResponse, error)
}

InitializerServiceServer is the server API for InitializerService service.

type StatusResponse

type StatusResponse struct {
	Status               StatusResponse_InitializerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=v1.StatusResponse_InitializerStatus" json:"status,omitempty"`
	Message              string                           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*StatusResponse) Descriptor

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

func (*StatusResponse) GetMessage

func (m *StatusResponse) GetMessage() string

func (*StatusResponse) GetStatus

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) Reset

func (m *StatusResponse) Reset()

func (*StatusResponse) String

func (m *StatusResponse) String() string

func (*StatusResponse) XXX_DiscardUnknown

func (m *StatusResponse) XXX_DiscardUnknown()

func (*StatusResponse) XXX_Marshal

func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusResponse) XXX_Merge

func (m *StatusResponse) XXX_Merge(src proto.Message)

func (*StatusResponse) XXX_Size

func (m *StatusResponse) XXX_Size() int

func (*StatusResponse) XXX_Unmarshal

func (m *StatusResponse) XXX_Unmarshal(b []byte) error

type StatusResponse_InitializerStatus

type StatusResponse_InitializerStatus int32
const (
	StatusResponse_CHECKING  StatusResponse_InitializerStatus = 0
	StatusResponse_RESTORING StatusResponse_InitializerStatus = 1
	StatusResponse_DONE      StatusResponse_InitializerStatus = 2
)

func (StatusResponse_InitializerStatus) EnumDescriptor

func (StatusResponse_InitializerStatus) EnumDescriptor() ([]byte, []int)

func (StatusResponse_InitializerStatus) String

type UnimplementedInitializerServiceServer

type UnimplementedInitializerServiceServer struct {
}

UnimplementedInitializerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedInitializerServiceServer) Status

Jump to

Keyboard shortcuts

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