texturestudio

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Package texturestudio is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package texturestudio is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerStatus_name = map[int32]string{
		0: "UNKNOWN_STATUS",
		1: "ON",
		2: "OFF",
	}
	ServerStatus_value = map[string]int32{
		"UNKNOWN_STATUS": 0,
		"ON":             1,
		"OFF":            2,
	}
)

Enum value maps for ServerStatus.

View Source
var File_texturestudio_texturestudio_manage_proto protoreflect.FileDescriptor
View Source
var File_texturestudio_texturestudio_server_proto protoreflect.FileDescriptor

Functions

func RegisterTextureStudioManagerServiceHandler

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

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

func RegisterTextureStudioManagerServiceHandlerClient

func RegisterTextureStudioManagerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TextureStudioManagerServiceClient) error

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

func RegisterTextureStudioManagerServiceHandlerFromEndpoint

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

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

func RegisterTextureStudioManagerServiceHandlerServer

func RegisterTextureStudioManagerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TextureStudioManagerServiceServer) error

RegisterTextureStudioManagerServiceHandlerServer registers the http handlers for service TextureStudioManagerService to "mux". UnaryRPC :call TextureStudioManagerServiceServer 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 RegisterTextureStudioManagerServiceHandlerFromEndpoint instead.

func RegisterTextureStudioManagerServiceServer

func RegisterTextureStudioManagerServiceServer(s *grpc.Server, srv TextureStudioManagerServiceServer)

func RegisterTextureStudioServerServiceHandler

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

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

func RegisterTextureStudioServerServiceHandlerClient

func RegisterTextureStudioServerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TextureStudioServerServiceClient) error

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

func RegisterTextureStudioServerServiceHandlerFromEndpoint

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

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

func RegisterTextureStudioServerServiceHandlerServer

func RegisterTextureStudioServerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TextureStudioServerServiceServer) error

RegisterTextureStudioServerServiceHandlerServer registers the http handlers for service TextureStudioServerService to "mux". UnaryRPC :call TextureStudioServerServiceServer 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 RegisterTextureStudioServerServiceHandlerFromEndpoint instead.

func RegisterTextureStudioServerServiceServer

func RegisterTextureStudioServerServiceServer(s *grpc.Server, srv TextureStudioServerServiceServer)

Types

type CreateServerRequest

type CreateServerRequest struct {
	OwnerId uint32 `protobuf:"varint,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `CreateServer`.

func (*CreateServerRequest) Descriptor deprecated

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

Deprecated: Use CreateServerRequest.ProtoReflect.Descriptor instead.

func (*CreateServerRequest) GetOwnerId

func (x *CreateServerRequest) GetOwnerId() uint32

func (*CreateServerRequest) ProtoMessage

func (*CreateServerRequest) ProtoMessage()

func (*CreateServerRequest) ProtoReflect added in v0.8.4

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

func (*CreateServerRequest) Reset

func (x *CreateServerRequest) Reset()

func (*CreateServerRequest) String

func (x *CreateServerRequest) String() string

func (*CreateServerRequest) Validate

func (m *CreateServerRequest) Validate() error

Validate checks the field values on CreateServerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateServerRequestValidationError

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

CreateServerRequestValidationError is the validation error returned by CreateServerRequest.Validate if the designated constraints aren't met.

func (CreateServerRequestValidationError) Cause

Cause function returns cause value.

func (CreateServerRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateServerRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateServerRequestValidationError) Field

Field function returns field value.

func (CreateServerRequestValidationError) Key

Key function returns key value.

func (CreateServerRequestValidationError) Reason

Reason function returns reason value.

type CreateServerResponse

type CreateServerResponse struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `CreateServer`.

func (*CreateServerResponse) Descriptor deprecated

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

Deprecated: Use CreateServerResponse.ProtoReflect.Descriptor instead.

func (*CreateServerResponse) GetId

func (x *CreateServerResponse) GetId() uint32

func (*CreateServerResponse) GetPort

func (x *CreateServerResponse) GetPort() uint32

func (*CreateServerResponse) ProtoMessage

func (*CreateServerResponse) ProtoMessage()

func (*CreateServerResponse) ProtoReflect added in v0.8.4

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

func (*CreateServerResponse) Reset

func (x *CreateServerResponse) Reset()

func (*CreateServerResponse) String

func (x *CreateServerResponse) String() string

func (*CreateServerResponse) Validate

func (m *CreateServerResponse) Validate() error

Validate checks the field values on CreateServerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateServerResponseValidationError

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

CreateServerResponseValidationError is the validation error returned by CreateServerResponse.Validate if the designated constraints aren't met.

func (CreateServerResponseValidationError) Cause

Cause function returns cause value.

func (CreateServerResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateServerResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateServerResponseValidationError) Field

Field function returns field value.

func (CreateServerResponseValidationError) Key

Key function returns key value.

func (CreateServerResponseValidationError) Reason

Reason function returns reason value.

type DeleteServerRequest

type DeleteServerRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `DeleteServer`.

func (*DeleteServerRequest) Descriptor deprecated

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

Deprecated: Use DeleteServerRequest.ProtoReflect.Descriptor instead.

func (*DeleteServerRequest) GetId

func (x *DeleteServerRequest) GetId() uint32

func (*DeleteServerRequest) ProtoMessage

func (*DeleteServerRequest) ProtoMessage()

func (*DeleteServerRequest) ProtoReflect added in v0.8.4

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

func (*DeleteServerRequest) Reset

func (x *DeleteServerRequest) Reset()

func (*DeleteServerRequest) String

func (x *DeleteServerRequest) String() string

func (*DeleteServerRequest) Validate

func (m *DeleteServerRequest) Validate() error

Validate checks the field values on DeleteServerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteServerRequestValidationError

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

DeleteServerRequestValidationError is the validation error returned by DeleteServerRequest.Validate if the designated constraints aren't met.

func (DeleteServerRequestValidationError) Cause

Cause function returns cause value.

func (DeleteServerRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteServerRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteServerRequestValidationError) Field

Field function returns field value.

func (DeleteServerRequestValidationError) Key

Key function returns key value.

func (DeleteServerRequestValidationError) Reason

Reason function returns reason value.

type DeleteServerResponse

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

Response message for rpc `DeleteServer`.

func (*DeleteServerResponse) Descriptor deprecated

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

Deprecated: Use DeleteServerResponse.ProtoReflect.Descriptor instead.

func (*DeleteServerResponse) ProtoMessage

func (*DeleteServerResponse) ProtoMessage()

func (*DeleteServerResponse) ProtoReflect added in v0.8.4

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

func (*DeleteServerResponse) Reset

func (x *DeleteServerResponse) Reset()

func (*DeleteServerResponse) String

func (x *DeleteServerResponse) String() string

func (*DeleteServerResponse) Validate

func (m *DeleteServerResponse) Validate() error

Validate checks the field values on DeleteServerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteServerResponseValidationError

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

DeleteServerResponseValidationError is the validation error returned by DeleteServerResponse.Validate if the designated constraints aren't met.

func (DeleteServerResponseValidationError) Cause

Cause function returns cause value.

func (DeleteServerResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteServerResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteServerResponseValidationError) Field

Field function returns field value.

func (DeleteServerResponseValidationError) Key

Key function returns key value.

func (DeleteServerResponseValidationError) Reason

Reason function returns reason value.

type GetProjectRequest

type GetProjectRequest struct {
	ServerId uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `GetProject`.

func (*GetProjectRequest) Descriptor deprecated

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

Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProjectRequest) GetName

func (x *GetProjectRequest) GetName() string

func (*GetProjectRequest) GetServerId

func (x *GetProjectRequest) GetServerId() uint32

func (*GetProjectRequest) ProtoMessage

func (*GetProjectRequest) ProtoMessage()

func (*GetProjectRequest) ProtoReflect added in v0.8.4

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

func (*GetProjectRequest) Reset

func (x *GetProjectRequest) Reset()

func (*GetProjectRequest) String

func (x *GetProjectRequest) String() string

func (*GetProjectRequest) Validate

func (m *GetProjectRequest) Validate() error

Validate checks the field values on GetProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetProjectRequestValidationError

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

GetProjectRequestValidationError is the validation error returned by GetProjectRequest.Validate if the designated constraints aren't met.

func (GetProjectRequestValidationError) Cause

Cause function returns cause value.

func (GetProjectRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProjectRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProjectRequestValidationError) Field

Field function returns field value.

func (GetProjectRequestValidationError) Key

Key function returns key value.

func (GetProjectRequestValidationError) Reason

Reason function returns reason value.

type GetProjectResponse

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

Response message for rpc `GetProject`.

func (*GetProjectResponse) Descriptor deprecated

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

Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead.

func (*GetProjectResponse) GetCode

func (x *GetProjectResponse) GetCode() string

func (*GetProjectResponse) ProtoMessage

func (*GetProjectResponse) ProtoMessage()

func (*GetProjectResponse) ProtoReflect added in v0.8.4

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

func (*GetProjectResponse) Reset

func (x *GetProjectResponse) Reset()

func (*GetProjectResponse) String

func (x *GetProjectResponse) String() string

func (*GetProjectResponse) Validate

func (m *GetProjectResponse) Validate() error

Validate checks the field values on GetProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetProjectResponseValidationError

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

GetProjectResponseValidationError is the validation error returned by GetProjectResponse.Validate if the designated constraints aren't met.

func (GetProjectResponseValidationError) Cause

Cause function returns cause value.

func (GetProjectResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProjectResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProjectResponseValidationError) Field

Field function returns field value.

func (GetProjectResponseValidationError) Key

Key function returns key value.

func (GetProjectResponseValidationError) Reason

Reason function returns reason value.

type GetProjectsRequest

type GetProjectsRequest struct {
	ServerId uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `GetProjects`.

func (*GetProjectsRequest) Descriptor deprecated

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

Deprecated: Use GetProjectsRequest.ProtoReflect.Descriptor instead.

func (*GetProjectsRequest) GetServerId

func (x *GetProjectsRequest) GetServerId() uint32

func (*GetProjectsRequest) ProtoMessage

func (*GetProjectsRequest) ProtoMessage()

func (*GetProjectsRequest) ProtoReflect added in v0.8.4

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

func (*GetProjectsRequest) Reset

func (x *GetProjectsRequest) Reset()

func (*GetProjectsRequest) String

func (x *GetProjectsRequest) String() string

func (*GetProjectsRequest) Validate

func (m *GetProjectsRequest) Validate() error

Validate checks the field values on GetProjectsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetProjectsRequestValidationError

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

GetProjectsRequestValidationError is the validation error returned by GetProjectsRequest.Validate if the designated constraints aren't met.

func (GetProjectsRequestValidationError) Cause

Cause function returns cause value.

func (GetProjectsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProjectsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProjectsRequestValidationError) Field

Field function returns field value.

func (GetProjectsRequestValidationError) Key

Key function returns key value.

func (GetProjectsRequestValidationError) Reason

Reason function returns reason value.

type GetProjectsResponse

type GetProjectsResponse struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `GetProjects`.

func (*GetProjectsResponse) Descriptor deprecated

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

Deprecated: Use GetProjectsResponse.ProtoReflect.Descriptor instead.

func (*GetProjectsResponse) GetNames

func (x *GetProjectsResponse) GetNames() []string

func (*GetProjectsResponse) ProtoMessage

func (*GetProjectsResponse) ProtoMessage()

func (*GetProjectsResponse) ProtoReflect added in v0.8.4

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

func (*GetProjectsResponse) Reset

func (x *GetProjectsResponse) Reset()

func (*GetProjectsResponse) String

func (x *GetProjectsResponse) String() string

func (*GetProjectsResponse) Validate

func (m *GetProjectsResponse) Validate() error

Validate checks the field values on GetProjectsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetProjectsResponseValidationError

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

GetProjectsResponseValidationError is the validation error returned by GetProjectsResponse.Validate if the designated constraints aren't met.

func (GetProjectsResponseValidationError) Cause

Cause function returns cause value.

func (GetProjectsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProjectsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProjectsResponseValidationError) Field

Field function returns field value.

func (GetProjectsResponseValidationError) Key

Key function returns key value.

func (GetProjectsResponseValidationError) Reason

Reason function returns reason value.

type GetServersRequest

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

Request message for rpc `GetServers`.

func (*GetServersRequest) Descriptor deprecated

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

Deprecated: Use GetServersRequest.ProtoReflect.Descriptor instead.

func (*GetServersRequest) ProtoMessage

func (*GetServersRequest) ProtoMessage()

func (*GetServersRequest) ProtoReflect added in v0.8.4

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

func (*GetServersRequest) Reset

func (x *GetServersRequest) Reset()

func (*GetServersRequest) String

func (x *GetServersRequest) String() string

func (*GetServersRequest) Validate

func (m *GetServersRequest) Validate() error

Validate checks the field values on GetServersRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetServersRequestValidationError

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

GetServersRequestValidationError is the validation error returned by GetServersRequest.Validate if the designated constraints aren't met.

func (GetServersRequestValidationError) Cause

Cause function returns cause value.

func (GetServersRequestValidationError) Error

Error satisfies the builtin error interface

func (GetServersRequestValidationError) ErrorName

ErrorName returns error name.

func (GetServersRequestValidationError) Field

Field function returns field value.

func (GetServersRequestValidationError) Key

Key function returns key value.

func (GetServersRequestValidationError) Reason

Reason function returns reason value.

type GetServersResponse

type GetServersResponse struct {
	Id []uint32 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `GetServers`.

func (*GetServersResponse) Descriptor deprecated

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

Deprecated: Use GetServersResponse.ProtoReflect.Descriptor instead.

func (*GetServersResponse) GetId

func (x *GetServersResponse) GetId() []uint32

func (*GetServersResponse) ProtoMessage

func (*GetServersResponse) ProtoMessage()

func (*GetServersResponse) ProtoReflect added in v0.8.4

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

func (*GetServersResponse) Reset

func (x *GetServersResponse) Reset()

func (*GetServersResponse) String

func (x *GetServersResponse) String() string

func (*GetServersResponse) Validate

func (m *GetServersResponse) Validate() error

Validate checks the field values on GetServersResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetServersResponseValidationError

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

GetServersResponseValidationError is the validation error returned by GetServersResponse.Validate if the designated constraints aren't met.

func (GetServersResponseValidationError) Cause

Cause function returns cause value.

func (GetServersResponseValidationError) Error

Error satisfies the builtin error interface

func (GetServersResponseValidationError) ErrorName

ErrorName returns error name.

func (GetServersResponseValidationError) Field

Field function returns field value.

func (GetServersResponseValidationError) Key

Key function returns key value.

func (GetServersResponseValidationError) Reason

Reason function returns reason value.

type MyServerRequest

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

Request message for rpc `MyServer`.

func (*MyServerRequest) Descriptor deprecated

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

Deprecated: Use MyServerRequest.ProtoReflect.Descriptor instead.

func (*MyServerRequest) ProtoMessage

func (*MyServerRequest) ProtoMessage()

func (*MyServerRequest) ProtoReflect added in v0.8.4

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

func (*MyServerRequest) Reset

func (x *MyServerRequest) Reset()

func (*MyServerRequest) String

func (x *MyServerRequest) String() string

func (*MyServerRequest) Validate

func (m *MyServerRequest) Validate() error

Validate checks the field values on MyServerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MyServerRequestValidationError

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

MyServerRequestValidationError is the validation error returned by MyServerRequest.Validate if the designated constraints aren't met.

func (MyServerRequestValidationError) Cause

Cause function returns cause value.

func (MyServerRequestValidationError) Error

Error satisfies the builtin error interface

func (MyServerRequestValidationError) ErrorName

func (e MyServerRequestValidationError) ErrorName() string

ErrorName returns error name.

func (MyServerRequestValidationError) Field

Field function returns field value.

func (MyServerRequestValidationError) Key

Key function returns key value.

func (MyServerRequestValidationError) Reason

Reason function returns reason value.

type MyServerResponse

type MyServerResponse struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `MyServer`.

func (*MyServerResponse) Descriptor deprecated

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

Deprecated: Use MyServerResponse.ProtoReflect.Descriptor instead.

func (*MyServerResponse) GetId

func (x *MyServerResponse) GetId() uint32

func (*MyServerResponse) ProtoMessage

func (*MyServerResponse) ProtoMessage()

func (*MyServerResponse) ProtoReflect added in v0.8.4

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

func (*MyServerResponse) Reset

func (x *MyServerResponse) Reset()

func (*MyServerResponse) String

func (x *MyServerResponse) String() string

func (*MyServerResponse) Validate

func (m *MyServerResponse) Validate() error

Validate checks the field values on MyServerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MyServerResponseValidationError

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

MyServerResponseValidationError is the validation error returned by MyServerResponse.Validate if the designated constraints aren't met.

func (MyServerResponseValidationError) Cause

Cause function returns cause value.

func (MyServerResponseValidationError) Error

Error satisfies the builtin error interface

func (MyServerResponseValidationError) ErrorName

ErrorName returns error name.

func (MyServerResponseValidationError) Field

Field function returns field value.

func (MyServerResponseValidationError) Key

Key function returns key value.

func (MyServerResponseValidationError) Reason

Reason function returns reason value.

type RestartServerRequest

type RestartServerRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `RestartServer`.

func (*RestartServerRequest) Descriptor deprecated

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

Deprecated: Use RestartServerRequest.ProtoReflect.Descriptor instead.

func (*RestartServerRequest) GetId

func (x *RestartServerRequest) GetId() uint32

func (*RestartServerRequest) ProtoMessage

func (*RestartServerRequest) ProtoMessage()

func (*RestartServerRequest) ProtoReflect added in v0.8.4

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

func (*RestartServerRequest) Reset

func (x *RestartServerRequest) Reset()

func (*RestartServerRequest) String

func (x *RestartServerRequest) String() string

func (*RestartServerRequest) Validate

func (m *RestartServerRequest) Validate() error

Validate checks the field values on RestartServerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RestartServerRequestValidationError

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

RestartServerRequestValidationError is the validation error returned by RestartServerRequest.Validate if the designated constraints aren't met.

func (RestartServerRequestValidationError) Cause

Cause function returns cause value.

func (RestartServerRequestValidationError) Error

Error satisfies the builtin error interface

func (RestartServerRequestValidationError) ErrorName

ErrorName returns error name.

func (RestartServerRequestValidationError) Field

Field function returns field value.

func (RestartServerRequestValidationError) Key

Key function returns key value.

func (RestartServerRequestValidationError) Reason

Reason function returns reason value.

type RestartServerResponse

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

Response message for rpc `RestartServer`.

func (*RestartServerResponse) Descriptor deprecated

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

Deprecated: Use RestartServerResponse.ProtoReflect.Descriptor instead.

func (*RestartServerResponse) ProtoMessage

func (*RestartServerResponse) ProtoMessage()

func (*RestartServerResponse) ProtoReflect added in v0.8.4

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

func (*RestartServerResponse) Reset

func (x *RestartServerResponse) Reset()

func (*RestartServerResponse) String

func (x *RestartServerResponse) String() string

func (*RestartServerResponse) Validate

func (m *RestartServerResponse) Validate() error

Validate checks the field values on RestartServerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RestartServerResponseValidationError

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

RestartServerResponseValidationError is the validation error returned by RestartServerResponse.Validate if the designated constraints aren't met.

func (RestartServerResponseValidationError) Cause

Cause function returns cause value.

func (RestartServerResponseValidationError) Error

Error satisfies the builtin error interface

func (RestartServerResponseValidationError) ErrorName

ErrorName returns error name.

func (RestartServerResponseValidationError) Field

Field function returns field value.

func (RestartServerResponseValidationError) Key

Key function returns key value.

func (RestartServerResponseValidationError) Reason

Reason function returns reason value.

type ServerStatus

type ServerStatus int32
const (
	ServerStatus_UNKNOWN_STATUS ServerStatus = 0
	ServerStatus_ON             ServerStatus = 1
	ServerStatus_OFF            ServerStatus = 2
)

func (ServerStatus) Descriptor added in v0.8.4

func (ServerStatus) Enum added in v0.8.4

func (x ServerStatus) Enum() *ServerStatus

func (ServerStatus) EnumDescriptor deprecated

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

Deprecated: Use ServerStatus.Descriptor instead.

func (ServerStatus) Number added in v0.8.4

func (ServerStatus) String

func (x ServerStatus) String() string

func (ServerStatus) Type added in v0.8.4

type ServerStatusRequest

type ServerStatusRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `ServerStatus`.

func (*ServerStatusRequest) Descriptor deprecated

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

Deprecated: Use ServerStatusRequest.ProtoReflect.Descriptor instead.

func (*ServerStatusRequest) GetId

func (x *ServerStatusRequest) GetId() uint32

func (*ServerStatusRequest) ProtoMessage

func (*ServerStatusRequest) ProtoMessage()

func (*ServerStatusRequest) ProtoReflect added in v0.8.4

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

func (*ServerStatusRequest) Reset

func (x *ServerStatusRequest) Reset()

func (*ServerStatusRequest) String

func (x *ServerStatusRequest) String() string

func (*ServerStatusRequest) Validate

func (m *ServerStatusRequest) Validate() error

Validate checks the field values on ServerStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ServerStatusRequestValidationError

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

ServerStatusRequestValidationError is the validation error returned by ServerStatusRequest.Validate if the designated constraints aren't met.

func (ServerStatusRequestValidationError) Cause

Cause function returns cause value.

func (ServerStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (ServerStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (ServerStatusRequestValidationError) Field

Field function returns field value.

func (ServerStatusRequestValidationError) Key

Key function returns key value.

func (ServerStatusRequestValidationError) Reason

Reason function returns reason value.

type ServerStatusResponse

type ServerStatusResponse struct {
	Port   uint32       `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	Status ServerStatus `protobuf:"varint,2,opt,name=status,proto3,enum=texture_studio.ServerStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `ServerStatus`.

func (*ServerStatusResponse) Descriptor deprecated

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

Deprecated: Use ServerStatusResponse.ProtoReflect.Descriptor instead.

func (*ServerStatusResponse) GetPort

func (x *ServerStatusResponse) GetPort() uint32

func (*ServerStatusResponse) GetStatus

func (x *ServerStatusResponse) GetStatus() ServerStatus

func (*ServerStatusResponse) ProtoMessage

func (*ServerStatusResponse) ProtoMessage()

func (*ServerStatusResponse) ProtoReflect added in v0.8.4

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

func (*ServerStatusResponse) Reset

func (x *ServerStatusResponse) Reset()

func (*ServerStatusResponse) String

func (x *ServerStatusResponse) String() string

func (*ServerStatusResponse) Validate

func (m *ServerStatusResponse) Validate() error

Validate checks the field values on ServerStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ServerStatusResponseValidationError

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

ServerStatusResponseValidationError is the validation error returned by ServerStatusResponse.Validate if the designated constraints aren't met.

func (ServerStatusResponseValidationError) Cause

Cause function returns cause value.

func (ServerStatusResponseValidationError) Error

Error satisfies the builtin error interface

func (ServerStatusResponseValidationError) ErrorName

ErrorName returns error name.

func (ServerStatusResponseValidationError) Field

Field function returns field value.

func (ServerStatusResponseValidationError) Key

Key function returns key value.

func (ServerStatusResponseValidationError) Reason

Reason function returns reason value.

type StartServerRequest

type StartServerRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `StartServer`.

func (*StartServerRequest) Descriptor deprecated

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

Deprecated: Use StartServerRequest.ProtoReflect.Descriptor instead.

func (*StartServerRequest) GetId

func (x *StartServerRequest) GetId() uint32

func (*StartServerRequest) ProtoMessage

func (*StartServerRequest) ProtoMessage()

func (*StartServerRequest) ProtoReflect added in v0.8.4

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

func (*StartServerRequest) Reset

func (x *StartServerRequest) Reset()

func (*StartServerRequest) String

func (x *StartServerRequest) String() string

func (*StartServerRequest) Validate

func (m *StartServerRequest) Validate() error

Validate checks the field values on StartServerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StartServerRequestValidationError

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

StartServerRequestValidationError is the validation error returned by StartServerRequest.Validate if the designated constraints aren't met.

func (StartServerRequestValidationError) Cause

Cause function returns cause value.

func (StartServerRequestValidationError) Error

Error satisfies the builtin error interface

func (StartServerRequestValidationError) ErrorName

ErrorName returns error name.

func (StartServerRequestValidationError) Field

Field function returns field value.

func (StartServerRequestValidationError) Key

Key function returns key value.

func (StartServerRequestValidationError) Reason

Reason function returns reason value.

type StartServerResponse

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

Response message for rpc `StartServer`.

func (*StartServerResponse) Descriptor deprecated

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

Deprecated: Use StartServerResponse.ProtoReflect.Descriptor instead.

func (*StartServerResponse) ProtoMessage

func (*StartServerResponse) ProtoMessage()

func (*StartServerResponse) ProtoReflect added in v0.8.4

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

func (*StartServerResponse) Reset

func (x *StartServerResponse) Reset()

func (*StartServerResponse) String

func (x *StartServerResponse) String() string

func (*StartServerResponse) Validate

func (m *StartServerResponse) Validate() error

Validate checks the field values on StartServerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StartServerResponseValidationError

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

StartServerResponseValidationError is the validation error returned by StartServerResponse.Validate if the designated constraints aren't met.

func (StartServerResponseValidationError) Cause

Cause function returns cause value.

func (StartServerResponseValidationError) Error

Error satisfies the builtin error interface

func (StartServerResponseValidationError) ErrorName

ErrorName returns error name.

func (StartServerResponseValidationError) Field

Field function returns field value.

func (StartServerResponseValidationError) Key

Key function returns key value.

func (StartServerResponseValidationError) Reason

Reason function returns reason value.

type StopServerRequest

type StopServerRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `StopServer`.

func (*StopServerRequest) Descriptor deprecated

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

Deprecated: Use StopServerRequest.ProtoReflect.Descriptor instead.

func (*StopServerRequest) GetId

func (x *StopServerRequest) GetId() uint32

func (*StopServerRequest) ProtoMessage

func (*StopServerRequest) ProtoMessage()

func (*StopServerRequest) ProtoReflect added in v0.8.4

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

func (*StopServerRequest) Reset

func (x *StopServerRequest) Reset()

func (*StopServerRequest) String

func (x *StopServerRequest) String() string

func (*StopServerRequest) Validate

func (m *StopServerRequest) Validate() error

Validate checks the field values on StopServerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StopServerRequestValidationError

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

StopServerRequestValidationError is the validation error returned by StopServerRequest.Validate if the designated constraints aren't met.

func (StopServerRequestValidationError) Cause

Cause function returns cause value.

func (StopServerRequestValidationError) Error

Error satisfies the builtin error interface

func (StopServerRequestValidationError) ErrorName

ErrorName returns error name.

func (StopServerRequestValidationError) Field

Field function returns field value.

func (StopServerRequestValidationError) Key

Key function returns key value.

func (StopServerRequestValidationError) Reason

Reason function returns reason value.

type StopServerResponse

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

Response message for rpc `StopServer`.

func (*StopServerResponse) Descriptor deprecated

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

Deprecated: Use StopServerResponse.ProtoReflect.Descriptor instead.

func (*StopServerResponse) ProtoMessage

func (*StopServerResponse) ProtoMessage()

func (*StopServerResponse) ProtoReflect added in v0.8.4

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

func (*StopServerResponse) Reset

func (x *StopServerResponse) Reset()

func (*StopServerResponse) String

func (x *StopServerResponse) String() string

func (*StopServerResponse) Validate

func (m *StopServerResponse) Validate() error

Validate checks the field values on StopServerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StopServerResponseValidationError

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

StopServerResponseValidationError is the validation error returned by StopServerResponse.Validate if the designated constraints aren't met.

func (StopServerResponseValidationError) Cause

Cause function returns cause value.

func (StopServerResponseValidationError) Error

Error satisfies the builtin error interface

func (StopServerResponseValidationError) ErrorName

ErrorName returns error name.

func (StopServerResponseValidationError) Field

Field function returns field value.

func (StopServerResponseValidationError) Key

Key function returns key value.

func (StopServerResponseValidationError) Reason

Reason function returns reason value.

type SubscribeToProjectsChangesRequest

type SubscribeToProjectsChangesRequest struct {
	ServerId uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `SubscribeToProjectsChanges`.

func (*SubscribeToProjectsChangesRequest) Descriptor deprecated

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

Deprecated: Use SubscribeToProjectsChangesRequest.ProtoReflect.Descriptor instead.

func (*SubscribeToProjectsChangesRequest) GetServerId

func (x *SubscribeToProjectsChangesRequest) GetServerId() uint32

func (*SubscribeToProjectsChangesRequest) ProtoMessage

func (*SubscribeToProjectsChangesRequest) ProtoMessage()

func (*SubscribeToProjectsChangesRequest) ProtoReflect added in v0.8.4

func (*SubscribeToProjectsChangesRequest) Reset

func (*SubscribeToProjectsChangesRequest) String

func (*SubscribeToProjectsChangesRequest) Validate

Validate checks the field values on SubscribeToProjectsChangesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SubscribeToProjectsChangesRequestValidationError

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

SubscribeToProjectsChangesRequestValidationError is the validation error returned by SubscribeToProjectsChangesRequest.Validate if the designated constraints aren't met.

func (SubscribeToProjectsChangesRequestValidationError) Cause

Cause function returns cause value.

func (SubscribeToProjectsChangesRequestValidationError) Error

Error satisfies the builtin error interface

func (SubscribeToProjectsChangesRequestValidationError) ErrorName

ErrorName returns error name.

func (SubscribeToProjectsChangesRequestValidationError) Field

Field function returns field value.

func (SubscribeToProjectsChangesRequestValidationError) Key

Key function returns key value.

func (SubscribeToProjectsChangesRequestValidationError) Reason

Reason function returns reason value.

type SubscribeToProjectsChangesResponse

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

Response message for rpc `SubscribeToProjectsChanges`.

func (*SubscribeToProjectsChangesResponse) Descriptor deprecated

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

Deprecated: Use SubscribeToProjectsChangesResponse.ProtoReflect.Descriptor instead.

func (*SubscribeToProjectsChangesResponse) GetName

func (*SubscribeToProjectsChangesResponse) ProtoMessage

func (*SubscribeToProjectsChangesResponse) ProtoMessage()

func (*SubscribeToProjectsChangesResponse) ProtoReflect added in v0.8.4

func (*SubscribeToProjectsChangesResponse) Reset

func (*SubscribeToProjectsChangesResponse) String

func (*SubscribeToProjectsChangesResponse) Validate

Validate checks the field values on SubscribeToProjectsChangesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SubscribeToProjectsChangesResponseValidationError

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

SubscribeToProjectsChangesResponseValidationError is the validation error returned by SubscribeToProjectsChangesResponse.Validate if the designated constraints aren't met.

func (SubscribeToProjectsChangesResponseValidationError) Cause

Cause function returns cause value.

func (SubscribeToProjectsChangesResponseValidationError) Error

Error satisfies the builtin error interface

func (SubscribeToProjectsChangesResponseValidationError) ErrorName

ErrorName returns error name.

func (SubscribeToProjectsChangesResponseValidationError) Field

Field function returns field value.

func (SubscribeToProjectsChangesResponseValidationError) Key

Key function returns key value.

func (SubscribeToProjectsChangesResponseValidationError) Reason

Reason function returns reason value.

type TextureStudioManagerServiceClient

type TextureStudioManagerServiceClient interface {
	// Create a new texture studio server.
	CreateServer(ctx context.Context, in *CreateServerRequest, opts ...grpc.CallOption) (*CreateServerResponse, error)
	// Get all existing servers
	GetServers(ctx context.Context, in *GetServersRequest, opts ...grpc.CallOption) (*GetServersResponse, error)
	// Get texture studio server id for current user.
	MyServer(ctx context.Context, in *MyServerRequest, opts ...grpc.CallOption) (*MyServerResponse, error)
	// Change owner of texture studio server.
	TransferOwnership(ctx context.Context, in *TransferOwnershipRequest, opts ...grpc.CallOption) (*TransferOwnershipResponse, error)
	// Delete a texture studio server.
	DeleteServer(ctx context.Context, in *DeleteServerRequest, opts ...grpc.CallOption) (*DeleteServerResponse, error)
}

TextureStudioManagerServiceClient is the client API for TextureStudioManagerService service.

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

type TextureStudioManagerServiceServer

type TextureStudioManagerServiceServer interface {
	// Create a new texture studio server.
	CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error)
	// Get all existing servers
	GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error)
	// Get texture studio server id for current user.
	MyServer(context.Context, *MyServerRequest) (*MyServerResponse, error)
	// Change owner of texture studio server.
	TransferOwnership(context.Context, *TransferOwnershipRequest) (*TransferOwnershipResponse, error)
	// Delete a texture studio server.
	DeleteServer(context.Context, *DeleteServerRequest) (*DeleteServerResponse, error)
}

TextureStudioManagerServiceServer is the server API for TextureStudioManagerService service.

type TextureStudioServerServiceClient

type TextureStudioServerServiceClient interface {
	// Start a texture studio server.
	StartServer(ctx context.Context, in *StartServerRequest, opts ...grpc.CallOption) (*StartServerResponse, error)
	// Stop a texture studio server.
	StopServer(ctx context.Context, in *StopServerRequest, opts ...grpc.CallOption) (*StopServerResponse, error)
	// Restart a texture studio server.
	RestartServer(ctx context.Context, in *RestartServerRequest, opts ...grpc.CallOption) (*RestartServerResponse, error)
	// Get texture studio server status.
	ServerStatus(ctx context.Context, in *ServerStatusRequest, opts ...grpc.CallOption) (*ServerStatusResponse, error)
	// Upload project to texture studio.
	UploadProject(ctx context.Context, in *UploadProjectRequest, opts ...grpc.CallOption) (*UploadProjectResponse, error)
	// Get texture-studio objects project.
	GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error)
	// Get all projects.
	GetProjects(ctx context.Context, in *GetProjectsRequest, opts ...grpc.CallOption) (*GetProjectsResponse, error)
	// Listen for project changes - if texture studio project has been created or modified, this will trigger an event.
	SubscribeToProjectsChanges(ctx context.Context, in *SubscribeToProjectsChangesRequest, opts ...grpc.CallOption) (TextureStudioServerService_SubscribeToProjectsChangesClient, error)
}

TextureStudioServerServiceClient is the client API for TextureStudioServerService service.

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

type TextureStudioServerServiceServer

type TextureStudioServerServiceServer interface {
	// Start a texture studio server.
	StartServer(context.Context, *StartServerRequest) (*StartServerResponse, error)
	// Stop a texture studio server.
	StopServer(context.Context, *StopServerRequest) (*StopServerResponse, error)
	// Restart a texture studio server.
	RestartServer(context.Context, *RestartServerRequest) (*RestartServerResponse, error)
	// Get texture studio server status.
	ServerStatus(context.Context, *ServerStatusRequest) (*ServerStatusResponse, error)
	// Upload project to texture studio.
	UploadProject(context.Context, *UploadProjectRequest) (*UploadProjectResponse, error)
	// Get texture-studio objects project.
	GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error)
	// Get all projects.
	GetProjects(context.Context, *GetProjectsRequest) (*GetProjectsResponse, error)
	// Listen for project changes - if texture studio project has been created or modified, this will trigger an event.
	SubscribeToProjectsChanges(*SubscribeToProjectsChangesRequest, TextureStudioServerService_SubscribeToProjectsChangesServer) error
}

TextureStudioServerServiceServer is the server API for TextureStudioServerService service.

type TextureStudioServerService_SubscribeToProjectsChangesClient

type TextureStudioServerService_SubscribeToProjectsChangesClient interface {
	Recv() (*SubscribeToProjectsChangesResponse, error)
	grpc.ClientStream
}

type TextureStudioServerService_SubscribeToProjectsChangesServer

type TextureStudioServerService_SubscribeToProjectsChangesServer interface {
	Send(*SubscribeToProjectsChangesResponse) error
	grpc.ServerStream
}

type TransferOwnershipRequest

type TransferOwnershipRequest struct {
	ServerId uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	OwnerId  uint32 `protobuf:"varint,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `TransferOwnership`.

func (*TransferOwnershipRequest) Descriptor deprecated

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

Deprecated: Use TransferOwnershipRequest.ProtoReflect.Descriptor instead.

func (*TransferOwnershipRequest) GetOwnerId

func (x *TransferOwnershipRequest) GetOwnerId() uint32

func (*TransferOwnershipRequest) GetServerId

func (x *TransferOwnershipRequest) GetServerId() uint32

func (*TransferOwnershipRequest) ProtoMessage

func (*TransferOwnershipRequest) ProtoMessage()

func (*TransferOwnershipRequest) ProtoReflect added in v0.8.4

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

func (*TransferOwnershipRequest) Reset

func (x *TransferOwnershipRequest) Reset()

func (*TransferOwnershipRequest) String

func (x *TransferOwnershipRequest) String() string

func (*TransferOwnershipRequest) Validate

func (m *TransferOwnershipRequest) Validate() error

Validate checks the field values on TransferOwnershipRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TransferOwnershipRequestValidationError

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

TransferOwnershipRequestValidationError is the validation error returned by TransferOwnershipRequest.Validate if the designated constraints aren't met.

func (TransferOwnershipRequestValidationError) Cause

Cause function returns cause value.

func (TransferOwnershipRequestValidationError) Error

Error satisfies the builtin error interface

func (TransferOwnershipRequestValidationError) ErrorName

ErrorName returns error name.

func (TransferOwnershipRequestValidationError) Field

Field function returns field value.

func (TransferOwnershipRequestValidationError) Key

Key function returns key value.

func (TransferOwnershipRequestValidationError) Reason

Reason function returns reason value.

type TransferOwnershipResponse

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

Response message for rpc `TransferOwnership`.

func (*TransferOwnershipResponse) Descriptor deprecated

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

Deprecated: Use TransferOwnershipResponse.ProtoReflect.Descriptor instead.

func (*TransferOwnershipResponse) ProtoMessage

func (*TransferOwnershipResponse) ProtoMessage()

func (*TransferOwnershipResponse) ProtoReflect added in v0.8.4

func (*TransferOwnershipResponse) Reset

func (x *TransferOwnershipResponse) Reset()

func (*TransferOwnershipResponse) String

func (x *TransferOwnershipResponse) String() string

func (*TransferOwnershipResponse) Validate

func (m *TransferOwnershipResponse) Validate() error

Validate checks the field values on TransferOwnershipResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TransferOwnershipResponseValidationError

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

TransferOwnershipResponseValidationError is the validation error returned by TransferOwnershipResponse.Validate if the designated constraints aren't met.

func (TransferOwnershipResponseValidationError) Cause

Cause function returns cause value.

func (TransferOwnershipResponseValidationError) Error

Error satisfies the builtin error interface

func (TransferOwnershipResponseValidationError) ErrorName

ErrorName returns error name.

func (TransferOwnershipResponseValidationError) Field

Field function returns field value.

func (TransferOwnershipResponseValidationError) Key

Key function returns key value.

func (TransferOwnershipResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedTextureStudioManagerServiceServer

type UnimplementedTextureStudioManagerServiceServer struct {
}

UnimplementedTextureStudioManagerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTextureStudioManagerServiceServer) CreateServer

func (*UnimplementedTextureStudioManagerServiceServer) DeleteServer

func (*UnimplementedTextureStudioManagerServiceServer) GetServers

func (*UnimplementedTextureStudioManagerServiceServer) MyServer

func (*UnimplementedTextureStudioManagerServiceServer) TransferOwnership

type UnimplementedTextureStudioServerServiceServer

type UnimplementedTextureStudioServerServiceServer struct {
}

UnimplementedTextureStudioServerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTextureStudioServerServiceServer) GetProject

func (*UnimplementedTextureStudioServerServiceServer) GetProjects

func (*UnimplementedTextureStudioServerServiceServer) RestartServer

func (*UnimplementedTextureStudioServerServiceServer) ServerStatus

func (*UnimplementedTextureStudioServerServiceServer) StartServer

func (*UnimplementedTextureStudioServerServiceServer) StopServer

func (*UnimplementedTextureStudioServerServiceServer) UploadProject

type UploadProjectRequest

type UploadProjectRequest struct {
	ServerId    uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// Types that are assignable to Project:
	//	*UploadProjectRequest_Code
	//	*UploadProjectRequest_File
	Project isUploadProjectRequest_Project `protobuf_oneof:"project"`
	// contains filtered or unexported fields
}

Request message for rpc `UploadProject`.

func (*UploadProjectRequest) Descriptor deprecated

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

Deprecated: Use UploadProjectRequest.ProtoReflect.Descriptor instead.

func (*UploadProjectRequest) GetCode

func (x *UploadProjectRequest) GetCode() string

func (*UploadProjectRequest) GetFile

func (x *UploadProjectRequest) GetFile() []byte

func (*UploadProjectRequest) GetProject

func (m *UploadProjectRequest) GetProject() isUploadProjectRequest_Project

func (*UploadProjectRequest) GetProjectName

func (x *UploadProjectRequest) GetProjectName() string

func (*UploadProjectRequest) GetServerId

func (x *UploadProjectRequest) GetServerId() uint32

func (*UploadProjectRequest) ProtoMessage

func (*UploadProjectRequest) ProtoMessage()

func (*UploadProjectRequest) ProtoReflect added in v0.8.4

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

func (*UploadProjectRequest) Reset

func (x *UploadProjectRequest) Reset()

func (*UploadProjectRequest) String

func (x *UploadProjectRequest) String() string

func (*UploadProjectRequest) Validate

func (m *UploadProjectRequest) Validate() error

Validate checks the field values on UploadProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UploadProjectRequestValidationError

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

UploadProjectRequestValidationError is the validation error returned by UploadProjectRequest.Validate if the designated constraints aren't met.

func (UploadProjectRequestValidationError) Cause

Cause function returns cause value.

func (UploadProjectRequestValidationError) Error

Error satisfies the builtin error interface

func (UploadProjectRequestValidationError) ErrorName

ErrorName returns error name.

func (UploadProjectRequestValidationError) Field

Field function returns field value.

func (UploadProjectRequestValidationError) Key

Key function returns key value.

func (UploadProjectRequestValidationError) Reason

Reason function returns reason value.

type UploadProjectRequest_Code

type UploadProjectRequest_Code struct {
	Code string `protobuf:"bytes,4,opt,name=code,proto3,oneof"`
}

type UploadProjectRequest_File

type UploadProjectRequest_File struct {
	File []byte `protobuf:"bytes,5,opt,name=file,proto3,oneof"`
}

type UploadProjectResponse

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

Response message for rpc `UploadProject`.

func (*UploadProjectResponse) Descriptor deprecated

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

Deprecated: Use UploadProjectResponse.ProtoReflect.Descriptor instead.

func (*UploadProjectResponse) ProtoMessage

func (*UploadProjectResponse) ProtoMessage()

func (*UploadProjectResponse) ProtoReflect added in v0.8.4

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

func (*UploadProjectResponse) Reset

func (x *UploadProjectResponse) Reset()

func (*UploadProjectResponse) String

func (x *UploadProjectResponse) String() string

func (*UploadProjectResponse) Validate

func (m *UploadProjectResponse) Validate() error

Validate checks the field values on UploadProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UploadProjectResponseValidationError

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

UploadProjectResponseValidationError is the validation error returned by UploadProjectResponse.Validate if the designated constraints aren't met.

func (UploadProjectResponseValidationError) Cause

Cause function returns cause value.

func (UploadProjectResponseValidationError) Error

Error satisfies the builtin error interface

func (UploadProjectResponseValidationError) ErrorName

ErrorName returns error name.

func (UploadProjectResponseValidationError) Field

Field function returns field value.

func (UploadProjectResponseValidationError) Key

Key function returns key value.

func (UploadProjectResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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