proto

package
v0.0.16-r04 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceStatus_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "INIT",
		2: "MODIFIED",
		3: "UP",
		4: "DOWN",
		5: "DEL",
		6: "PROC",
		7: "SUS",
	}
	ServiceStatus_value = map[string]int32{
		"UNSPECIFIED": 0,
		"INIT":        1,
		"MODIFIED":    2,
		"UP":          3,
		"DOWN":        4,
		"DEL":         5,
		"PROC":        6,
		"SUS":         7,
	}
)

Enum value maps for ServiceStatus.

View Source
var File_pkg_services_proto_services_proto protoreflect.FileDescriptor
View Source
var ServicesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "nocloud.services.ServicesService",
	HandlerType: (*ServicesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TestConfig",
			Handler:    _ServicesService_TestConfig_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ServicesService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ServicesService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ServicesService_Delete_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _ServicesService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ServicesService_List_Handler,
		},
		{
			MethodName: "Up",
			Handler:    _ServicesService_Up_Handler,
		},
		{
			MethodName: "Down",
			Handler:    _ServicesService_Down_Handler,
		},
		{
			MethodName: "Suspend",
			Handler:    _ServicesService_Suspend_Handler,
		},
		{
			MethodName: "Unsuspend",
			Handler:    _ServicesService_Unsuspend_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Stream",
			Handler:       _ServicesService_Stream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "pkg/services/proto/services.proto",
}

ServicesService_ServiceDesc is the grpc.ServiceDesc for ServicesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterServicesServiceHandler

func RegisterServicesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterServicesServiceHandler registers the http handlers for service ServicesService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterServicesServiceHandlerClient

func RegisterServicesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServicesServiceClient) error

RegisterServicesServiceHandlerClient registers the http handlers for service ServicesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ServicesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ServicesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ServicesServiceClient" to call the correct interceptors.

func RegisterServicesServiceHandlerFromEndpoint

func RegisterServicesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterServicesServiceHandlerFromEndpoint is same as RegisterServicesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterServicesServiceHandlerServer

func RegisterServicesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServicesServiceServer) error

RegisterServicesServiceHandlerServer registers the http handlers for service ServicesService to "mux". UnaryRPC :call ServicesServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterServicesServiceHandlerFromEndpoint instead.

func RegisterServicesServiceServer

func RegisterServicesServiceServer(s grpc.ServiceRegistrar, srv ServicesServiceServer)

Types

type CreateRequest

type CreateRequest struct {
	Service   *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	Namespace string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetNamespace

func (x *CreateRequest) GetNamespace() string

func (*CreateRequest) GetService

func (x *CreateRequest) GetService() *Service

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

func (x *CreateRequest) ProtoReflect() protoreflect.Message

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type DeleteRequest

type DeleteRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetUuid

func (x *DeleteRequest) GetUuid() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

func (x *DeleteRequest) ProtoReflect() protoreflect.Message

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

type DeleteResponse struct {
	Result bool   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Error  string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) GetError

func (x *DeleteResponse) GetError() string

func (*DeleteResponse) GetResult

func (x *DeleteResponse) GetResult() bool

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

func (x *DeleteResponse) ProtoReflect() protoreflect.Message

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DownRequest

type DownRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DownRequest) Descriptor deprecated

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

Deprecated: Use DownRequest.ProtoReflect.Descriptor instead.

func (*DownRequest) GetUuid

func (x *DownRequest) GetUuid() string

func (*DownRequest) ProtoMessage

func (*DownRequest) ProtoMessage()

func (*DownRequest) ProtoReflect

func (x *DownRequest) ProtoReflect() protoreflect.Message

func (*DownRequest) Reset

func (x *DownRequest) Reset()

func (*DownRequest) String

func (x *DownRequest) String() string

type DownResponse

type DownResponse struct {
	// contains filtered or unexported fields
}

func (*DownResponse) Descriptor deprecated

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

Deprecated: Use DownResponse.ProtoReflect.Descriptor instead.

func (*DownResponse) ProtoMessage

func (*DownResponse) ProtoMessage()

func (*DownResponse) ProtoReflect

func (x *DownResponse) ProtoReflect() protoreflect.Message

func (*DownResponse) Reset

func (x *DownResponse) Reset()

func (*DownResponse) String

func (x *DownResponse) String() string

type GetRequest

type GetRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetUuid

func (x *GetRequest) GetUuid() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

func (x *GetRequest) ProtoReflect() protoreflect.Message

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetStatesRequest

type GetStatesRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Service UUID
	// contains filtered or unexported fields
}

func (*GetStatesRequest) Descriptor deprecated

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

Deprecated: Use GetStatesRequest.ProtoReflect.Descriptor instead.

func (*GetStatesRequest) GetUuid

func (x *GetStatesRequest) GetUuid() string

func (*GetStatesRequest) ProtoMessage

func (*GetStatesRequest) ProtoMessage()

func (*GetStatesRequest) ProtoReflect

func (x *GetStatesRequest) ProtoReflect() protoreflect.Message

func (*GetStatesRequest) Reset

func (x *GetStatesRequest) Reset()

func (*GetStatesRequest) String

func (x *GetStatesRequest) String() string

type ListRequest

type ListRequest struct {
	ShowDeleted *string `protobuf:"bytes,1,opt,name=show_deleted,json=showDeleted,proto3,oneof" json:"show_deleted,omitempty"`
	Namespace   *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	Depth       *int32  `protobuf:"varint,3,opt,name=depth,proto3,oneof" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetDepth

func (x *ListRequest) GetDepth() int32

func (*ListRequest) GetNamespace

func (x *ListRequest) GetNamespace() string

func (*ListRequest) GetShowDeleted

func (x *ListRequest) GetShowDeleted() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

func (x *ListRequest) ProtoReflect() protoreflect.Message

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type Service

type Service struct {
	Uuid            string                     `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Version         string                     `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Title           string                     `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Status          ServiceStatus              `protobuf:"varint,4,opt,name=status,proto3,enum=nocloud.services.ServiceStatus" json:"status,omitempty"`
	Context         map[string]*structpb.Value `` /* 155-byte string literal not displayed */
	InstancesGroups []*proto.InstancesGroup    `protobuf:"bytes,6,rep,name=instances_groups,json=instancesGroups,proto3" json:"instances_groups,omitempty"`
	Hash            string                     `protobuf:"bytes,7,opt,name=hash,proto3" json:"hash,omitempty"`
	Access          *access.Access             `protobuf:"bytes,8,opt,name=access,proto3,oneof" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetAccess

func (x *Service) GetAccess() *access.Access

func (*Service) GetContext

func (x *Service) GetContext() map[string]*structpb.Value

func (*Service) GetHash

func (x *Service) GetHash() string

func (*Service) GetInstancesGroups

func (x *Service) GetInstancesGroups() []*proto.InstancesGroup

func (*Service) GetStatus

func (x *Service) GetStatus() ServiceStatus

func (*Service) GetTitle

func (x *Service) GetTitle() string

func (*Service) GetUuid

func (x *Service) GetUuid() string

func (*Service) GetVersion

func (x *Service) GetVersion() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

func (x *Service) ProtoReflect() protoreflect.Message

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceStatus

type ServiceStatus int32
const (
	ServiceStatus_UNSPECIFIED ServiceStatus = 0
	ServiceStatus_INIT        ServiceStatus = 1
	ServiceStatus_MODIFIED    ServiceStatus = 2
	ServiceStatus_UP          ServiceStatus = 3
	ServiceStatus_DOWN        ServiceStatus = 4
	ServiceStatus_DEL         ServiceStatus = 5
	ServiceStatus_PROC        ServiceStatus = 6
	ServiceStatus_SUS         ServiceStatus = 7
)

func (ServiceStatus) Descriptor

func (ServiceStatus) Enum

func (x ServiceStatus) Enum() *ServiceStatus

func (ServiceStatus) EnumDescriptor deprecated

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

Deprecated: Use ServiceStatus.Descriptor instead.

func (ServiceStatus) Number

func (ServiceStatus) String

func (x ServiceStatus) String() string

func (ServiceStatus) Type

type Services

type Services struct {
	Pool []*Service `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"`
	// contains filtered or unexported fields
}

func (*Services) Descriptor deprecated

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

Deprecated: Use Services.ProtoReflect.Descriptor instead.

func (*Services) GetPool

func (x *Services) GetPool() []*Service

func (*Services) ProtoMessage

func (*Services) ProtoMessage()

func (*Services) ProtoReflect

func (x *Services) ProtoReflect() protoreflect.Message

func (*Services) Reset

func (x *Services) Reset()

func (*Services) String

func (x *Services) String() string

type ServicesServiceClient

type ServicesServiceClient interface {
	TestConfig(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*TestConfigResponse, error)
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*Service, error)
	Update(ctx context.Context, in *Service, opts ...grpc.CallOption) (*Service, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Service, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*Services, error)
	Up(ctx context.Context, in *UpRequest, opts ...grpc.CallOption) (*UpResponse, error)
	Down(ctx context.Context, in *DownRequest, opts ...grpc.CallOption) (*DownResponse, error)
	Suspend(ctx context.Context, in *SuspendRequest, opts ...grpc.CallOption) (*SuspendResponse, error)
	Unsuspend(ctx context.Context, in *UnsuspendRequest, opts ...grpc.CallOption) (*UnsuspendResponse, error)
	Stream(ctx context.Context, in *StreamRequest, opts ...grpc.CallOption) (ServicesService_StreamClient, error)
}

ServicesServiceClient is the client API for ServicesService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ServicesServiceServer

ServicesServiceServer is the server API for ServicesService service. All implementations must embed UnimplementedServicesServiceServer for forward compatibility

type ServicesService_StreamClient

type ServicesService_StreamClient interface {
	Recv() (*proto.ObjectState, error)
	grpc.ClientStream
}

type ServicesService_StreamServer

type ServicesService_StreamServer interface {
	Send(*proto.ObjectState) error
	grpc.ServerStream
}

type StreamRequest

type StreamRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamRequest) Descriptor deprecated

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

Deprecated: Use StreamRequest.ProtoReflect.Descriptor instead.

func (*StreamRequest) GetUuid

func (x *StreamRequest) GetUuid() string

func (*StreamRequest) ProtoMessage

func (*StreamRequest) ProtoMessage()

func (*StreamRequest) ProtoReflect

func (x *StreamRequest) ProtoReflect() protoreflect.Message

func (*StreamRequest) Reset

func (x *StreamRequest) Reset()

func (*StreamRequest) String

func (x *StreamRequest) String() string

type SuspendRequest

type SuspendRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*SuspendRequest) Descriptor deprecated

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

Deprecated: Use SuspendRequest.ProtoReflect.Descriptor instead.

func (*SuspendRequest) GetUuid

func (x *SuspendRequest) GetUuid() string

func (*SuspendRequest) ProtoMessage

func (*SuspendRequest) ProtoMessage()

func (*SuspendRequest) ProtoReflect

func (x *SuspendRequest) ProtoReflect() protoreflect.Message

func (*SuspendRequest) Reset

func (x *SuspendRequest) Reset()

func (*SuspendRequest) String

func (x *SuspendRequest) String() string

type SuspendResponse

type SuspendResponse struct {
	// contains filtered or unexported fields
}

func (*SuspendResponse) Descriptor deprecated

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

Deprecated: Use SuspendResponse.ProtoReflect.Descriptor instead.

func (*SuspendResponse) ProtoMessage

func (*SuspendResponse) ProtoMessage()

func (*SuspendResponse) ProtoReflect

func (x *SuspendResponse) ProtoReflect() protoreflect.Message

func (*SuspendResponse) Reset

func (x *SuspendResponse) Reset()

func (*SuspendResponse) String

func (x *SuspendResponse) String() string

type TestConfigError

type TestConfigError struct {
	Error         string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	InstanceGroup string `protobuf:"bytes,2,opt,name=instance_group,json=instanceGroup,proto3" json:"instance_group,omitempty"`
	Instance      string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*TestConfigError) Descriptor deprecated

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

Deprecated: Use TestConfigError.ProtoReflect.Descriptor instead.

func (*TestConfigError) GetError

func (x *TestConfigError) GetError() string

func (*TestConfigError) GetInstance

func (x *TestConfigError) GetInstance() string

func (*TestConfigError) GetInstanceGroup

func (x *TestConfigError) GetInstanceGroup() string

func (*TestConfigError) ProtoMessage

func (*TestConfigError) ProtoMessage()

func (*TestConfigError) ProtoReflect

func (x *TestConfigError) ProtoReflect() protoreflect.Message

func (*TestConfigError) Reset

func (x *TestConfigError) Reset()

func (*TestConfigError) String

func (x *TestConfigError) String() string

type TestConfigResponse

type TestConfigResponse struct {
	Result bool               `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Errors []*TestConfigError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*TestConfigResponse) Descriptor deprecated

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

Deprecated: Use TestConfigResponse.ProtoReflect.Descriptor instead.

func (*TestConfigResponse) GetErrors

func (x *TestConfigResponse) GetErrors() []*TestConfigError

func (*TestConfigResponse) GetResult

func (x *TestConfigResponse) GetResult() bool

func (*TestConfigResponse) ProtoMessage

func (*TestConfigResponse) ProtoMessage()

func (*TestConfigResponse) ProtoReflect

func (x *TestConfigResponse) ProtoReflect() protoreflect.Message

func (*TestConfigResponse) Reset

func (x *TestConfigResponse) Reset()

func (*TestConfigResponse) String

func (x *TestConfigResponse) String() string

type UnimplementedServicesServiceServer

type UnimplementedServicesServiceServer struct {
}

UnimplementedServicesServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServicesServiceServer) Create

func (UnimplementedServicesServiceServer) Delete

func (UnimplementedServicesServiceServer) Down

func (UnimplementedServicesServiceServer) Get

func (UnimplementedServicesServiceServer) List

func (UnimplementedServicesServiceServer) Stream

func (UnimplementedServicesServiceServer) Suspend

func (UnimplementedServicesServiceServer) TestConfig

func (UnimplementedServicesServiceServer) Unsuspend

func (UnimplementedServicesServiceServer) Up

func (UnimplementedServicesServiceServer) Update

type UnsafeServicesServiceServer

type UnsafeServicesServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServicesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServicesServiceServer will result in compilation errors.

type UnsuspendRequest

type UnsuspendRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsuspendRequest) Descriptor deprecated

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

Deprecated: Use UnsuspendRequest.ProtoReflect.Descriptor instead.

func (*UnsuspendRequest) GetUuid

func (x *UnsuspendRequest) GetUuid() string

func (*UnsuspendRequest) ProtoMessage

func (*UnsuspendRequest) ProtoMessage()

func (*UnsuspendRequest) ProtoReflect

func (x *UnsuspendRequest) ProtoReflect() protoreflect.Message

func (*UnsuspendRequest) Reset

func (x *UnsuspendRequest) Reset()

func (*UnsuspendRequest) String

func (x *UnsuspendRequest) String() string

type UnsuspendResponse

type UnsuspendResponse struct {
	// contains filtered or unexported fields
}

func (*UnsuspendResponse) Descriptor deprecated

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

Deprecated: Use UnsuspendResponse.ProtoReflect.Descriptor instead.

func (*UnsuspendResponse) ProtoMessage

func (*UnsuspendResponse) ProtoMessage()

func (*UnsuspendResponse) ProtoReflect

func (x *UnsuspendResponse) ProtoReflect() protoreflect.Message

func (*UnsuspendResponse) Reset

func (x *UnsuspendResponse) Reset()

func (*UnsuspendResponse) String

func (x *UnsuspendResponse) String() string

type UpError

type UpError struct {
	Data map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpError) Descriptor deprecated

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

Deprecated: Use UpError.ProtoReflect.Descriptor instead.

func (*UpError) GetData

func (x *UpError) GetData() map[string]string

func (*UpError) ProtoMessage

func (*UpError) ProtoMessage()

func (*UpError) ProtoReflect

func (x *UpError) ProtoReflect() protoreflect.Message

func (*UpError) Reset

func (x *UpError) Reset()

func (*UpError) String

func (x *UpError) String() string

type UpRequest

type UpRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*UpRequest) Descriptor deprecated

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

Deprecated: Use UpRequest.ProtoReflect.Descriptor instead.

func (*UpRequest) GetUuid

func (x *UpRequest) GetUuid() string

func (*UpRequest) ProtoMessage

func (*UpRequest) ProtoMessage()

func (*UpRequest) ProtoReflect

func (x *UpRequest) ProtoReflect() protoreflect.Message

func (*UpRequest) Reset

func (x *UpRequest) Reset()

func (*UpRequest) String

func (x *UpRequest) String() string

type UpResponse

type UpResponse struct {
	Errors []*UpError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*UpResponse) Descriptor deprecated

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

Deprecated: Use UpResponse.ProtoReflect.Descriptor instead.

func (*UpResponse) GetErrors

func (x *UpResponse) GetErrors() []*UpError

func (*UpResponse) ProtoMessage

func (*UpResponse) ProtoMessage()

func (*UpResponse) ProtoReflect

func (x *UpResponse) ProtoReflect() protoreflect.Message

func (*UpResponse) Reset

func (x *UpResponse) Reset()

func (*UpResponse) String

func (x *UpResponse) String() string

Jump to

Keyboard shortcuts

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