Documentation
¶
Overview ¶
Package modules is a generated protocol buffer package.
It is generated from these files:
google.golang.org/appengine/internal/modules/modules_service.proto
It has these top-level messages:
ModulesServiceError GetModulesRequest GetModulesResponse GetVersionsRequest GetVersionsResponse GetDefaultVersionRequest GetDefaultVersionResponse GetNumInstancesRequest GetNumInstancesResponse SetNumInstancesRequest SetNumInstancesResponse StartModuleRequest StartModuleResponse StopModuleRequest StopModuleResponse GetHostnameRequest GetHostnameResponse
Index ¶
- Variables
- type GetDefaultVersionRequest
- type GetDefaultVersionResponse
- type GetHostnameRequest
- type GetHostnameResponse
- type GetModulesRequest
- type GetModulesResponse
- type GetNumInstancesRequest
- type GetNumInstancesResponse
- type GetVersionsRequest
- type GetVersionsResponse
- type ModulesServiceError
- type ModulesServiceError_ErrorCode
- type SetNumInstancesRequest
- type SetNumInstancesResponse
- type StartModuleRequest
- type StartModuleResponse
- type StopModuleRequest
- type StopModuleResponse
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",
}
View Source
var ModulesServiceError_ErrorCode_value = map[string]int32{
"OK": 0,
"INVALID_MODULE": 1,
"INVALID_VERSION": 2,
"INVALID_INSTANCES": 3,
"TRANSIENT_ERROR": 4,
"UNEXPECTED_STATE": 5,
}
Functions ¶
This section is empty.
Types ¶
type GetDefaultVersionRequest ¶
type GetDefaultVersionRequest struct {
Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetDefaultVersionRequest) ProtoMessage ¶
func (*GetDefaultVersionRequest) ProtoMessage()
type GetDefaultVersionResponse ¶
type GetDefaultVersionResponse struct {
Version *string `protobuf:"bytes,1,req,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetDefaultVersionResponse) GetVersion ¶
func (m *GetDefaultVersionResponse) GetVersion() string
func (*GetDefaultVersionResponse) ProtoMessage ¶
func (*GetDefaultVersionResponse) ProtoMessage()
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"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetHostnameRequest) GetInstance ¶
func (m *GetHostnameRequest) GetInstance() string
func (*GetHostnameRequest) GetVersion ¶
func (m *GetHostnameRequest) GetVersion() string
func (*GetHostnameRequest) ProtoMessage ¶
func (*GetHostnameRequest) ProtoMessage()
type GetHostnameResponse ¶
type GetHostnameResponse struct {
Hostname *string `protobuf:"bytes,1,req,name=hostname" json:"hostname,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetHostnameResponse) GetHostname ¶
func (m *GetHostnameResponse) GetHostname() string
func (*GetHostnameResponse) ProtoMessage ¶
func (*GetHostnameResponse) ProtoMessage()
type GetModulesRequest ¶
type GetModulesRequest struct {
XXX_unrecognized []byte `json:"-"`
}
func (*GetModulesRequest) ProtoMessage ¶
func (*GetModulesRequest) ProtoMessage()
type GetModulesResponse ¶
type GetModulesResponse struct {
Module []string `protobuf:"bytes,1,rep,name=module" json:"module,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetModulesResponse) ProtoMessage ¶
func (*GetModulesResponse) ProtoMessage()
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"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetNumInstancesRequest) GetVersion ¶
func (m *GetNumInstancesRequest) GetVersion() string
func (*GetNumInstancesRequest) ProtoMessage ¶
func (*GetNumInstancesRequest) ProtoMessage()
type GetNumInstancesResponse ¶
type GetNumInstancesResponse struct {
Instances *int64 `protobuf:"varint,1,req,name=instances" json:"instances,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetNumInstancesResponse) GetInstances ¶
func (m *GetNumInstancesResponse) GetInstances() int64
func (*GetNumInstancesResponse) ProtoMessage ¶
func (*GetNumInstancesResponse) ProtoMessage()
type GetVersionsRequest ¶
type GetVersionsRequest struct {
Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetVersionsRequest) ProtoMessage ¶
func (*GetVersionsRequest) ProtoMessage()
type GetVersionsResponse ¶
type GetVersionsResponse struct {
Version []string `protobuf:"bytes,1,rep,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetVersionsResponse) GetVersion ¶
func (m *GetVersionsResponse) GetVersion() []string
func (*GetVersionsResponse) ProtoMessage ¶
func (*GetVersionsResponse) ProtoMessage()
type ModulesServiceError ¶
type ModulesServiceError struct {
XXX_unrecognized []byte `json:"-"`
}
func (*ModulesServiceError) ProtoMessage ¶
func (*ModulesServiceError) ProtoMessage()
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) Enum ¶
func (x ModulesServiceError_ErrorCode) Enum() *ModulesServiceError_ErrorCode
func (ModulesServiceError_ErrorCode) String ¶
func (x ModulesServiceError_ErrorCode) String() string
func (*ModulesServiceError_ErrorCode) UnmarshalJSON ¶
func (x *ModulesServiceError_ErrorCode) UnmarshalJSON(data []byte) error
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"`
XXX_unrecognized []byte `json:"-"`
}
func (*SetNumInstancesRequest) GetInstances ¶
func (m *SetNumInstancesRequest) GetInstances() int64
func (*SetNumInstancesRequest) GetVersion ¶
func (m *SetNumInstancesRequest) GetVersion() string
func (*SetNumInstancesRequest) ProtoMessage ¶
func (*SetNumInstancesRequest) ProtoMessage()
type SetNumInstancesResponse ¶
type SetNumInstancesResponse struct {
XXX_unrecognized []byte `json:"-"`
}
func (*SetNumInstancesResponse) ProtoMessage ¶
func (*SetNumInstancesResponse) ProtoMessage()
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"`
XXX_unrecognized []byte `json:"-"`
}
func (*StartModuleRequest) GetVersion ¶
func (m *StartModuleRequest) GetVersion() string
func (*StartModuleRequest) ProtoMessage ¶
func (*StartModuleRequest) ProtoMessage()
type StartModuleResponse ¶
type StartModuleResponse struct {
XXX_unrecognized []byte `json:"-"`
}
func (*StartModuleResponse) ProtoMessage ¶
func (*StartModuleResponse) ProtoMessage()
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"`
XXX_unrecognized []byte `json:"-"`
}
func (*StopModuleRequest) GetVersion ¶
func (m *StopModuleRequest) GetVersion() string
func (*StopModuleRequest) ProtoMessage ¶
func (*StopModuleRequest) ProtoMessage()
type StopModuleResponse ¶
type StopModuleResponse struct {
XXX_unrecognized []byte `json:"-"`
}
func (*StopModuleResponse) ProtoMessage ¶
func (*StopModuleResponse) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.