proto

package
v0.0.0-...-294dc8c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_manage_proto protoreflect.FileDescriptor
View Source
var Manage_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Manage",
	HandlerType: (*ManageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CheckServer",
			Handler:    _Manage_CheckServer_Handler,
		},
		{
			MethodName: "InitialData",
			Handler:    _Manage_InitialData_Handler,
		},
		{
			MethodName: "Migrations",
			Handler:    _Manage_Migrations_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _Manage_CreateUser_Handler,
		},
		{
			MethodName: "SetPassword",
			Handler:    _Manage_SetPassword_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Manage_Get_Handler,
		},
		{
			MethodName: "Action",
			Handler:    _Manage_Action_Handler,
		},
		{
			MethodName: "Version",
			Handler:    _Manage_Version_Handler,
		},
		{
			MethodName: "Health",
			Handler:    _Manage_Health_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/manage.proto",
}

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

Functions

func RegisterManageServer

func RegisterManageServer(s grpc.ServiceRegistrar, srv ManageServer)

Types

type ActionRequest

type ActionRequest struct {
	Action  string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionRequest) Descriptor deprecated

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

Deprecated: Use ActionRequest.ProtoReflect.Descriptor instead.

func (*ActionRequest) GetAction

func (x *ActionRequest) GetAction() string

func (*ActionRequest) GetPayload

func (x *ActionRequest) GetPayload() []byte

func (*ActionRequest) ProtoMessage

func (*ActionRequest) ProtoMessage()

func (*ActionRequest) ProtoReflect

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

func (*ActionRequest) Reset

func (x *ActionRequest) Reset()

func (*ActionRequest) String

func (x *ActionRequest) String() string

type ActionResponse

type ActionResponse struct {
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionResponse) Descriptor deprecated

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

Deprecated: Use ActionResponse.ProtoReflect.Descriptor instead.

func (*ActionResponse) GetPayload

func (x *ActionResponse) GetPayload() []byte

func (*ActionResponse) ProtoMessage

func (*ActionResponse) ProtoMessage()

func (*ActionResponse) ProtoReflect

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

func (*ActionResponse) Reset

func (x *ActionResponse) Reset()

func (*ActionResponse) String

func (x *ActionResponse) String() string

type CheckServerRequest

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

func (*CheckServerRequest) Descriptor deprecated

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

Deprecated: Use CheckServerRequest.ProtoReflect.Descriptor instead.

func (*CheckServerRequest) ProtoMessage

func (*CheckServerRequest) ProtoMessage()

func (*CheckServerRequest) ProtoReflect

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

func (*CheckServerRequest) Reset

func (x *CheckServerRequest) Reset()

func (*CheckServerRequest) String

func (x *CheckServerRequest) String() string

type CheckServerResponse

type CheckServerResponse struct {
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckServerResponse) Descriptor deprecated

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

Deprecated: Use CheckServerResponse.ProtoReflect.Descriptor instead.

func (*CheckServerResponse) GetReady

func (x *CheckServerResponse) GetReady() bool

func (*CheckServerResponse) ProtoMessage

func (*CheckServerResponse) ProtoMessage()

func (*CheckServerResponse) ProtoReflect

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

func (*CheckServerResponse) Reset

func (x *CheckServerResponse) Reset()

func (*CheckServerResponse) String

func (x *CheckServerResponse) String() string

type CreateUserRequest

type CreateUserRequest struct {
	Username                    string                         `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	FirstName                   string                         `protobuf:"bytes,2,opt,name=first_name,proto3" json:"first_name,omitempty"`
	LastName                    string                         `protobuf:"bytes,3,opt,name=last_name,proto3" json:"last_name,omitempty"`
	IsActive                    bool                           `protobuf:"varint,4,opt,name=is_active,proto3" json:"is_active,omitempty"`
	DefaultPassword             string                         `protobuf:"bytes,5,opt,name=default_password,proto3" json:"default_password,omitempty"`
	Email                       string                         `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	OrganizationManagementLevel string                         `protobuf:"bytes,7,opt,name=organization_management_level,proto3" json:"organization_management_level,omitempty"`
	Committee_ManagementLevel   map[string]*structpb.ListValue `` /* 195-byte string literal not displayed */
	Group_Ids                   map[string]*structpb.ListValue `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetCommittee_ManagementLevel

func (x *CreateUserRequest) GetCommittee_ManagementLevel() map[string]*structpb.ListValue

func (*CreateUserRequest) GetDefaultPassword

func (x *CreateUserRequest) GetDefaultPassword() string

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetFirstName

func (x *CreateUserRequest) GetFirstName() string

func (*CreateUserRequest) GetGroup_Ids

func (x *CreateUserRequest) GetGroup_Ids() map[string]*structpb.ListValue

func (*CreateUserRequest) GetIsActive

func (x *CreateUserRequest) GetIsActive() bool

func (*CreateUserRequest) GetLastName

func (x *CreateUserRequest) GetLastName() string

func (*CreateUserRequest) GetOrganizationManagementLevel

func (x *CreateUserRequest) GetOrganizationManagementLevel() string

func (*CreateUserRequest) GetUsername

func (x *CreateUserRequest) GetUsername() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUserID

func (x *CreateUserResponse) GetUserID() int64

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

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

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type GetRequest

type GetRequest struct {
	Collection string            `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	Exists     bool              `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
	Filter     map[string]string `` /* 153-byte string literal not displayed */
	FilterRaw  string            `protobuf:"bytes,4,opt,name=filter_raw,json=filterRaw,proto3" json:"filter_raw,omitempty"`
	Fields     []string          `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetCollection

func (x *GetRequest) GetCollection() string

func (*GetRequest) GetExists

func (x *GetRequest) GetExists() bool

func (*GetRequest) GetFields

func (x *GetRequest) GetFields() []string

func (*GetRequest) GetFilter

func (x *GetRequest) GetFilter() map[string]string

func (*GetRequest) GetFilterRaw

func (x *GetRequest) GetFilterRaw() 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 GetResponse

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

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetValue

func (x *GetResponse) GetValue() string

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type HealthRequest

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

func (*HealthRequest) Descriptor deprecated

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

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

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

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

type HealthResponse

type HealthResponse struct {
	Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthResponse) Descriptor deprecated

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

Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.

func (*HealthResponse) GetHealthy

func (x *HealthResponse) GetHealthy() bool

func (*HealthResponse) ProtoMessage

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) ProtoReflect

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

func (*HealthResponse) Reset

func (x *HealthResponse) Reset()

func (*HealthResponse) String

func (x *HealthResponse) String() string

type InitialDataRequest

type InitialDataRequest struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*InitialDataRequest) Descriptor deprecated

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

Deprecated: Use InitialDataRequest.ProtoReflect.Descriptor instead.

func (*InitialDataRequest) GetData

func (x *InitialDataRequest) GetData() []byte

func (*InitialDataRequest) ProtoMessage

func (*InitialDataRequest) ProtoMessage()

func (*InitialDataRequest) ProtoReflect

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

func (*InitialDataRequest) Reset

func (x *InitialDataRequest) Reset()

func (*InitialDataRequest) String

func (x *InitialDataRequest) String() string

type InitialDataResponse

type InitialDataResponse struct {
	Initialized bool `protobuf:"varint,1,opt,name=initialized,proto3" json:"initialized,omitempty"`
	// contains filtered or unexported fields
}

func (*InitialDataResponse) Descriptor deprecated

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

Deprecated: Use InitialDataResponse.ProtoReflect.Descriptor instead.

func (*InitialDataResponse) GetInitialized

func (x *InitialDataResponse) GetInitialized() bool

func (*InitialDataResponse) ProtoMessage

func (*InitialDataResponse) ProtoMessage()

func (*InitialDataResponse) ProtoReflect

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

func (*InitialDataResponse) Reset

func (x *InitialDataResponse) Reset()

func (*InitialDataResponse) String

func (x *InitialDataResponse) String() string

type ManageClient

ManageClient is the client API for Manage 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.

func NewManageClient

func NewManageClient(cc grpc.ClientConnInterface) ManageClient

type ManageServer

ManageServer is the server API for Manage service. All implementations should embed UnimplementedManageServer for forward compatibility

type MigrationsRequest

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

func (*MigrationsRequest) Descriptor deprecated

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

Deprecated: Use MigrationsRequest.ProtoReflect.Descriptor instead.

func (*MigrationsRequest) GetCommand

func (x *MigrationsRequest) GetCommand() string

func (*MigrationsRequest) ProtoMessage

func (*MigrationsRequest) ProtoMessage()

func (*MigrationsRequest) ProtoReflect

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

func (*MigrationsRequest) Reset

func (x *MigrationsRequest) Reset()

func (*MigrationsRequest) String

func (x *MigrationsRequest) String() string

type MigrationsResponse

type MigrationsResponse struct {
	Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*MigrationsResponse) Descriptor deprecated

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

Deprecated: Use MigrationsResponse.ProtoReflect.Descriptor instead.

func (*MigrationsResponse) GetResponse

func (x *MigrationsResponse) GetResponse() []byte

func (*MigrationsResponse) ProtoMessage

func (*MigrationsResponse) ProtoMessage()

func (*MigrationsResponse) ProtoReflect

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

func (*MigrationsResponse) Reset

func (x *MigrationsResponse) Reset()

func (*MigrationsResponse) String

func (x *MigrationsResponse) String() string

type SetPasswordRequest

type SetPasswordRequest struct {
	UserID   int64  `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPasswordRequest) Descriptor deprecated

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

Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead.

func (*SetPasswordRequest) GetPassword

func (x *SetPasswordRequest) GetPassword() string

func (*SetPasswordRequest) GetUserID

func (x *SetPasswordRequest) GetUserID() int64

func (*SetPasswordRequest) ProtoMessage

func (*SetPasswordRequest) ProtoMessage()

func (*SetPasswordRequest) ProtoReflect

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

func (*SetPasswordRequest) Reset

func (x *SetPasswordRequest) Reset()

func (*SetPasswordRequest) String

func (x *SetPasswordRequest) String() string

type SetPasswordResponse

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

func (*SetPasswordResponse) Descriptor deprecated

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

Deprecated: Use SetPasswordResponse.ProtoReflect.Descriptor instead.

func (*SetPasswordResponse) ProtoMessage

func (*SetPasswordResponse) ProtoMessage()

func (*SetPasswordResponse) ProtoReflect

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

func (*SetPasswordResponse) Reset

func (x *SetPasswordResponse) Reset()

func (*SetPasswordResponse) String

func (x *SetPasswordResponse) String() string

type UnimplementedManageServer

type UnimplementedManageServer struct {
}

UnimplementedManageServer should be embedded to have forward compatible implementations.

func (UnimplementedManageServer) Action

func (UnimplementedManageServer) CheckServer

func (UnimplementedManageServer) CreateUser

func (UnimplementedManageServer) Get

func (UnimplementedManageServer) Health

func (UnimplementedManageServer) InitialData

func (UnimplementedManageServer) Migrations

func (UnimplementedManageServer) SetPassword

func (UnimplementedManageServer) Version

type UnsafeManageServer

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

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

type VersionRequest

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

func (*VersionRequest) Descriptor deprecated

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

Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) ProtoReflect

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

func (*VersionRequest) Reset

func (x *VersionRequest) Reset()

func (*VersionRequest) String

func (x *VersionRequest) String() string

type VersionResponse

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

func (*VersionResponse) Descriptor deprecated

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetVersion

func (x *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect

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

func (*VersionResponse) Reset

func (x *VersionResponse) Reset()

func (*VersionResponse) String

func (x *VersionResponse) String() string

Jump to

Keyboard shortcuts

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