modules

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModulesServiceError_ErrorCode_name = map[int32]string{
		0: "OK",
		1: "INVALID_MODULE",
		2: "INVALID_VERSION",
		3: "INVALID_INSTANCES",
		4: "TRANSIENT_ERROR",
		5: "UNEXPECTED_STATE",
	}
	ModulesServiceError_ErrorCode_value = map[string]int32{
		"OK":                0,
		"INVALID_MODULE":    1,
		"INVALID_VERSION":   2,
		"INVALID_INSTANCES": 3,
		"TRANSIENT_ERROR":   4,
		"UNEXPECTED_STATE":  5,
	}
)

Enum value maps for ModulesServiceError_ErrorCode.

View Source
var File_modules_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetDefaultVersionRequest

type GetDefaultVersionRequest struct {
	Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDefaultVersionRequest) Descriptor deprecated

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

Deprecated: Use GetDefaultVersionRequest.ProtoReflect.Descriptor instead.

func (*GetDefaultVersionRequest) GetModule

func (x *GetDefaultVersionRequest) GetModule() string

func (*GetDefaultVersionRequest) ProtoMessage

func (*GetDefaultVersionRequest) ProtoMessage()

func (*GetDefaultVersionRequest) ProtoReflect added in v2.0.4

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

func (*GetDefaultVersionRequest) Reset

func (x *GetDefaultVersionRequest) Reset()

func (*GetDefaultVersionRequest) String

func (x *GetDefaultVersionRequest) String() string

type GetDefaultVersionResponse

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

func (*GetDefaultVersionResponse) Descriptor deprecated

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

Deprecated: Use GetDefaultVersionResponse.ProtoReflect.Descriptor instead.

func (*GetDefaultVersionResponse) GetVersion

func (x *GetDefaultVersionResponse) GetVersion() string

func (*GetDefaultVersionResponse) ProtoMessage

func (*GetDefaultVersionResponse) ProtoMessage()

func (*GetDefaultVersionResponse) ProtoReflect added in v2.0.4

func (*GetDefaultVersionResponse) Reset

func (x *GetDefaultVersionResponse) Reset()

func (*GetDefaultVersionResponse) String

func (x *GetDefaultVersionResponse) String() string

type GetHostnameRequest

type GetHostnameRequest struct {
	Module   *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
	Version  *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	Instance *string `protobuf:"bytes,3,opt,name=instance" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHostnameRequest) Descriptor deprecated

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

Deprecated: Use GetHostnameRequest.ProtoReflect.Descriptor instead.

func (*GetHostnameRequest) GetInstance

func (x *GetHostnameRequest) GetInstance() string

func (*GetHostnameRequest) GetModule

func (x *GetHostnameRequest) GetModule() string

func (*GetHostnameRequest) GetVersion

func (x *GetHostnameRequest) GetVersion() string

func (*GetHostnameRequest) ProtoMessage

func (*GetHostnameRequest) ProtoMessage()

func (*GetHostnameRequest) ProtoReflect added in v2.0.4

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

func (*GetHostnameRequest) Reset

func (x *GetHostnameRequest) Reset()

func (*GetHostnameRequest) String

func (x *GetHostnameRequest) String() string

type GetHostnameResponse

type GetHostnameResponse struct {
	Hostname *string `protobuf:"bytes,1,req,name=hostname" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHostnameResponse) Descriptor deprecated

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

Deprecated: Use GetHostnameResponse.ProtoReflect.Descriptor instead.

func (*GetHostnameResponse) GetHostname

func (x *GetHostnameResponse) GetHostname() string

func (*GetHostnameResponse) ProtoMessage

func (*GetHostnameResponse) ProtoMessage()

func (*GetHostnameResponse) ProtoReflect added in v2.0.4

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

func (*GetHostnameResponse) Reset

func (x *GetHostnameResponse) Reset()

func (*GetHostnameResponse) String

func (x *GetHostnameResponse) String() string

type GetModulesRequest

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

func (*GetModulesRequest) Descriptor deprecated

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

Deprecated: Use GetModulesRequest.ProtoReflect.Descriptor instead.

func (*GetModulesRequest) ProtoMessage

func (*GetModulesRequest) ProtoMessage()

func (*GetModulesRequest) ProtoReflect added in v2.0.4

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

func (*GetModulesRequest) Reset

func (x *GetModulesRequest) Reset()

func (*GetModulesRequest) String

func (x *GetModulesRequest) String() string

type GetModulesResponse

type GetModulesResponse struct {
	Module []string `protobuf:"bytes,1,rep,name=module" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModulesResponse) Descriptor deprecated

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

Deprecated: Use GetModulesResponse.ProtoReflect.Descriptor instead.

func (*GetModulesResponse) GetModule

func (x *GetModulesResponse) GetModule() []string

func (*GetModulesResponse) ProtoMessage

func (*GetModulesResponse) ProtoMessage()

func (*GetModulesResponse) ProtoReflect added in v2.0.4

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

func (*GetModulesResponse) Reset

func (x *GetModulesResponse) Reset()

func (*GetModulesResponse) String

func (x *GetModulesResponse) String() string

type GetNumInstancesRequest

type GetNumInstancesRequest struct {
	Module  *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
	Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNumInstancesRequest) Descriptor deprecated

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

Deprecated: Use GetNumInstancesRequest.ProtoReflect.Descriptor instead.

func (*GetNumInstancesRequest) GetModule

func (x *GetNumInstancesRequest) GetModule() string

func (*GetNumInstancesRequest) GetVersion

func (x *GetNumInstancesRequest) GetVersion() string

func (*GetNumInstancesRequest) ProtoMessage

func (*GetNumInstancesRequest) ProtoMessage()

func (*GetNumInstancesRequest) ProtoReflect added in v2.0.4

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

func (*GetNumInstancesRequest) Reset

func (x *GetNumInstancesRequest) Reset()

func (*GetNumInstancesRequest) String

func (x *GetNumInstancesRequest) String() string

type GetNumInstancesResponse

type GetNumInstancesResponse struct {
	Instances *int64 `protobuf:"varint,1,req,name=instances" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNumInstancesResponse) Descriptor deprecated

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

Deprecated: Use GetNumInstancesResponse.ProtoReflect.Descriptor instead.

func (*GetNumInstancesResponse) GetInstances

func (x *GetNumInstancesResponse) GetInstances() int64

func (*GetNumInstancesResponse) ProtoMessage

func (*GetNumInstancesResponse) ProtoMessage()

func (*GetNumInstancesResponse) ProtoReflect added in v2.0.4

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

func (*GetNumInstancesResponse) Reset

func (x *GetNumInstancesResponse) Reset()

func (*GetNumInstancesResponse) String

func (x *GetNumInstancesResponse) String() string

type GetVersionsRequest

type GetVersionsRequest struct {
	Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVersionsRequest) Descriptor deprecated

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

Deprecated: Use GetVersionsRequest.ProtoReflect.Descriptor instead.

func (*GetVersionsRequest) GetModule

func (x *GetVersionsRequest) GetModule() string

func (*GetVersionsRequest) ProtoMessage

func (*GetVersionsRequest) ProtoMessage()

func (*GetVersionsRequest) ProtoReflect added in v2.0.4

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

func (*GetVersionsRequest) Reset

func (x *GetVersionsRequest) Reset()

func (*GetVersionsRequest) String

func (x *GetVersionsRequest) String() string

type GetVersionsResponse

type GetVersionsResponse struct {
	Version []string `protobuf:"bytes,1,rep,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVersionsResponse) Descriptor deprecated

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

Deprecated: Use GetVersionsResponse.ProtoReflect.Descriptor instead.

func (*GetVersionsResponse) GetVersion

func (x *GetVersionsResponse) GetVersion() []string

func (*GetVersionsResponse) ProtoMessage

func (*GetVersionsResponse) ProtoMessage()

func (*GetVersionsResponse) ProtoReflect added in v2.0.4

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

func (*GetVersionsResponse) Reset

func (x *GetVersionsResponse) Reset()

func (*GetVersionsResponse) String

func (x *GetVersionsResponse) String() string

type ModulesServiceError

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

func (*ModulesServiceError) Descriptor deprecated

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

Deprecated: Use ModulesServiceError.ProtoReflect.Descriptor instead.

func (*ModulesServiceError) ProtoMessage

func (*ModulesServiceError) ProtoMessage()

func (*ModulesServiceError) ProtoReflect added in v2.0.4

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

func (*ModulesServiceError) Reset

func (x *ModulesServiceError) Reset()

func (*ModulesServiceError) String

func (x *ModulesServiceError) String() string

type ModulesServiceError_ErrorCode

type ModulesServiceError_ErrorCode int32
const (
	ModulesServiceError_OK                ModulesServiceError_ErrorCode = 0
	ModulesServiceError_INVALID_MODULE    ModulesServiceError_ErrorCode = 1
	ModulesServiceError_INVALID_VERSION   ModulesServiceError_ErrorCode = 2
	ModulesServiceError_INVALID_INSTANCES ModulesServiceError_ErrorCode = 3
	ModulesServiceError_TRANSIENT_ERROR   ModulesServiceError_ErrorCode = 4
	ModulesServiceError_UNEXPECTED_STATE  ModulesServiceError_ErrorCode = 5
)

func (ModulesServiceError_ErrorCode) Descriptor added in v2.0.4

func (ModulesServiceError_ErrorCode) Enum

func (ModulesServiceError_ErrorCode) EnumDescriptor deprecated

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

Deprecated: Use ModulesServiceError_ErrorCode.Descriptor instead.

func (ModulesServiceError_ErrorCode) Number added in v2.0.4

func (ModulesServiceError_ErrorCode) String

func (ModulesServiceError_ErrorCode) Type added in v2.0.4

func (*ModulesServiceError_ErrorCode) UnmarshalJSON deprecated

func (x *ModulesServiceError_ErrorCode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SetNumInstancesRequest

type SetNumInstancesRequest struct {
	Module    *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
	Version   *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	Instances *int64  `protobuf:"varint,3,req,name=instances" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNumInstancesRequest) Descriptor deprecated

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

Deprecated: Use SetNumInstancesRequest.ProtoReflect.Descriptor instead.

func (*SetNumInstancesRequest) GetInstances

func (x *SetNumInstancesRequest) GetInstances() int64

func (*SetNumInstancesRequest) GetModule

func (x *SetNumInstancesRequest) GetModule() string

func (*SetNumInstancesRequest) GetVersion

func (x *SetNumInstancesRequest) GetVersion() string

func (*SetNumInstancesRequest) ProtoMessage

func (*SetNumInstancesRequest) ProtoMessage()

func (*SetNumInstancesRequest) ProtoReflect added in v2.0.4

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

func (*SetNumInstancesRequest) Reset

func (x *SetNumInstancesRequest) Reset()

func (*SetNumInstancesRequest) String

func (x *SetNumInstancesRequest) String() string

type SetNumInstancesResponse

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

func (*SetNumInstancesResponse) Descriptor deprecated

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

Deprecated: Use SetNumInstancesResponse.ProtoReflect.Descriptor instead.

func (*SetNumInstancesResponse) ProtoMessage

func (*SetNumInstancesResponse) ProtoMessage()

func (*SetNumInstancesResponse) ProtoReflect added in v2.0.4

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

func (*SetNumInstancesResponse) Reset

func (x *SetNumInstancesResponse) Reset()

func (*SetNumInstancesResponse) String

func (x *SetNumInstancesResponse) String() string

type StartModuleRequest

type StartModuleRequest struct {
	Module  *string `protobuf:"bytes,1,req,name=module" json:"module,omitempty"`
	Version *string `protobuf:"bytes,2,req,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*StartModuleRequest) Descriptor deprecated

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

Deprecated: Use StartModuleRequest.ProtoReflect.Descriptor instead.

func (*StartModuleRequest) GetModule

func (x *StartModuleRequest) GetModule() string

func (*StartModuleRequest) GetVersion

func (x *StartModuleRequest) GetVersion() string

func (*StartModuleRequest) ProtoMessage

func (*StartModuleRequest) ProtoMessage()

func (*StartModuleRequest) ProtoReflect added in v2.0.4

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

func (*StartModuleRequest) Reset

func (x *StartModuleRequest) Reset()

func (*StartModuleRequest) String

func (x *StartModuleRequest) String() string

type StartModuleResponse

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

func (*StartModuleResponse) Descriptor deprecated

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

Deprecated: Use StartModuleResponse.ProtoReflect.Descriptor instead.

func (*StartModuleResponse) ProtoMessage

func (*StartModuleResponse) ProtoMessage()

func (*StartModuleResponse) ProtoReflect added in v2.0.4

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

func (*StartModuleResponse) Reset

func (x *StartModuleResponse) Reset()

func (*StartModuleResponse) String

func (x *StartModuleResponse) String() string

type StopModuleRequest

type StopModuleRequest struct {
	Module  *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
	Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*StopModuleRequest) Descriptor deprecated

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

Deprecated: Use StopModuleRequest.ProtoReflect.Descriptor instead.

func (*StopModuleRequest) GetModule

func (x *StopModuleRequest) GetModule() string

func (*StopModuleRequest) GetVersion

func (x *StopModuleRequest) GetVersion() string

func (*StopModuleRequest) ProtoMessage

func (*StopModuleRequest) ProtoMessage()

func (*StopModuleRequest) ProtoReflect added in v2.0.4

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

func (*StopModuleRequest) Reset

func (x *StopModuleRequest) Reset()

func (*StopModuleRequest) String

func (x *StopModuleRequest) String() string

type StopModuleResponse

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

func (*StopModuleResponse) Descriptor deprecated

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

Deprecated: Use StopModuleResponse.ProtoReflect.Descriptor instead.

func (*StopModuleResponse) ProtoMessage

func (*StopModuleResponse) ProtoMessage()

func (*StopModuleResponse) ProtoReflect added in v2.0.4

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

func (*StopModuleResponse) Reset

func (x *StopModuleResponse) Reset()

func (*StopModuleResponse) String

func (x *StopModuleResponse) String() string

Jump to

Keyboard shortcuts

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