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
- func (*GetHostnameRequest) Descriptor() ([]byte, []int)
- func (m *GetHostnameRequest) GetInstance() string
- func (m *GetHostnameRequest) GetModule() string
- func (m *GetHostnameRequest) GetVersion() string
- func (*GetHostnameRequest) ProtoMessage()
- func (m *GetHostnameRequest) Reset()
- func (m *GetHostnameRequest) String() string
- type GetHostnameResponse
- type GetModulesRequest
- type GetModulesResponse
- type GetNumInstancesRequest
- func (*GetNumInstancesRequest) Descriptor() ([]byte, []int)
- func (m *GetNumInstancesRequest) GetModule() string
- func (m *GetNumInstancesRequest) GetVersion() string
- func (*GetNumInstancesRequest) ProtoMessage()
- func (m *GetNumInstancesRequest) Reset()
- func (m *GetNumInstancesRequest) String() string
- type GetNumInstancesResponse
- type GetVersionsRequest
- type GetVersionsResponse
- type ModulesServiceError
- type ModulesServiceError_ErrorCode
- type SetNumInstancesRequest
- func (*SetNumInstancesRequest) Descriptor() ([]byte, []int)
- func (m *SetNumInstancesRequest) GetInstances() int64
- func (m *SetNumInstancesRequest) GetModule() string
- func (m *SetNumInstancesRequest) GetVersion() string
- func (*SetNumInstancesRequest) ProtoMessage()
- func (m *SetNumInstancesRequest) Reset()
- func (m *SetNumInstancesRequest) String() string
- 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) Descriptor ¶ added in v1.1.0
func (*GetDefaultVersionRequest) Descriptor() ([]byte, []int)
func (*GetDefaultVersionRequest) GetModule ¶
func (m *GetDefaultVersionRequest) GetModule() string
func (*GetDefaultVersionRequest) ProtoMessage ¶
func (*GetDefaultVersionRequest) ProtoMessage()
func (*GetDefaultVersionRequest) Reset ¶
func (m *GetDefaultVersionRequest) Reset()
func (*GetDefaultVersionRequest) String ¶
func (m *GetDefaultVersionRequest) String() string
type GetDefaultVersionResponse ¶
type GetDefaultVersionResponse struct { Version *string `protobuf:"bytes,1,req,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetDefaultVersionResponse) Descriptor ¶ added in v1.1.0
func (*GetDefaultVersionResponse) Descriptor() ([]byte, []int)
func (*GetDefaultVersionResponse) GetVersion ¶
func (m *GetDefaultVersionResponse) GetVersion() string
func (*GetDefaultVersionResponse) ProtoMessage ¶
func (*GetDefaultVersionResponse) ProtoMessage()
func (*GetDefaultVersionResponse) Reset ¶
func (m *GetDefaultVersionResponse) Reset()
func (*GetDefaultVersionResponse) String ¶
func (m *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"` XXX_unrecognized []byte `json:"-"` }
func (*GetHostnameRequest) Descriptor ¶ added in v1.1.0
func (*GetHostnameRequest) Descriptor() ([]byte, []int)
func (*GetHostnameRequest) GetInstance ¶
func (m *GetHostnameRequest) GetInstance() string
func (*GetHostnameRequest) GetModule ¶
func (m *GetHostnameRequest) GetModule() string
func (*GetHostnameRequest) GetVersion ¶
func (m *GetHostnameRequest) GetVersion() string
func (*GetHostnameRequest) ProtoMessage ¶
func (*GetHostnameRequest) ProtoMessage()
func (*GetHostnameRequest) Reset ¶
func (m *GetHostnameRequest) Reset()
func (*GetHostnameRequest) String ¶
func (m *GetHostnameRequest) String() string
type GetHostnameResponse ¶
type GetHostnameResponse struct { Hostname *string `protobuf:"bytes,1,req,name=hostname" json:"hostname,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetHostnameResponse) Descriptor ¶ added in v1.1.0
func (*GetHostnameResponse) Descriptor() ([]byte, []int)
func (*GetHostnameResponse) GetHostname ¶
func (m *GetHostnameResponse) GetHostname() string
func (*GetHostnameResponse) ProtoMessage ¶
func (*GetHostnameResponse) ProtoMessage()
func (*GetHostnameResponse) Reset ¶
func (m *GetHostnameResponse) Reset()
func (*GetHostnameResponse) String ¶
func (m *GetHostnameResponse) String() string
type GetModulesRequest ¶
type GetModulesRequest struct {
XXX_unrecognized []byte `json:"-"`
}
func (*GetModulesRequest) Descriptor ¶ added in v1.1.0
func (*GetModulesRequest) Descriptor() ([]byte, []int)
func (*GetModulesRequest) ProtoMessage ¶
func (*GetModulesRequest) ProtoMessage()
func (*GetModulesRequest) Reset ¶
func (m *GetModulesRequest) Reset()
func (*GetModulesRequest) String ¶
func (m *GetModulesRequest) String() string
type GetModulesResponse ¶
type GetModulesResponse struct { Module []string `protobuf:"bytes,1,rep,name=module" json:"module,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetModulesResponse) Descriptor ¶ added in v1.1.0
func (*GetModulesResponse) Descriptor() ([]byte, []int)
func (*GetModulesResponse) GetModule ¶
func (m *GetModulesResponse) GetModule() []string
func (*GetModulesResponse) ProtoMessage ¶
func (*GetModulesResponse) ProtoMessage()
func (*GetModulesResponse) Reset ¶
func (m *GetModulesResponse) Reset()
func (*GetModulesResponse) String ¶
func (m *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"` XXX_unrecognized []byte `json:"-"` }
func (*GetNumInstancesRequest) Descriptor ¶ added in v1.1.0
func (*GetNumInstancesRequest) Descriptor() ([]byte, []int)
func (*GetNumInstancesRequest) GetModule ¶
func (m *GetNumInstancesRequest) GetModule() string
func (*GetNumInstancesRequest) GetVersion ¶
func (m *GetNumInstancesRequest) GetVersion() string
func (*GetNumInstancesRequest) ProtoMessage ¶
func (*GetNumInstancesRequest) ProtoMessage()
func (*GetNumInstancesRequest) Reset ¶
func (m *GetNumInstancesRequest) Reset()
func (*GetNumInstancesRequest) String ¶
func (m *GetNumInstancesRequest) String() string
type GetNumInstancesResponse ¶
type GetNumInstancesResponse struct { Instances *int64 `protobuf:"varint,1,req,name=instances" json:"instances,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetNumInstancesResponse) Descriptor ¶ added in v1.1.0
func (*GetNumInstancesResponse) Descriptor() ([]byte, []int)
func (*GetNumInstancesResponse) GetInstances ¶
func (m *GetNumInstancesResponse) GetInstances() int64
func (*GetNumInstancesResponse) ProtoMessage ¶
func (*GetNumInstancesResponse) ProtoMessage()
func (*GetNumInstancesResponse) Reset ¶
func (m *GetNumInstancesResponse) Reset()
func (*GetNumInstancesResponse) String ¶
func (m *GetNumInstancesResponse) String() string
type GetVersionsRequest ¶
type GetVersionsRequest struct { Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetVersionsRequest) Descriptor ¶ added in v1.1.0
func (*GetVersionsRequest) Descriptor() ([]byte, []int)
func (*GetVersionsRequest) GetModule ¶
func (m *GetVersionsRequest) GetModule() string
func (*GetVersionsRequest) ProtoMessage ¶
func (*GetVersionsRequest) ProtoMessage()
func (*GetVersionsRequest) Reset ¶
func (m *GetVersionsRequest) Reset()
func (*GetVersionsRequest) String ¶
func (m *GetVersionsRequest) String() string
type GetVersionsResponse ¶
type GetVersionsResponse struct { Version []string `protobuf:"bytes,1,rep,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetVersionsResponse) Descriptor ¶ added in v1.1.0
func (*GetVersionsResponse) Descriptor() ([]byte, []int)
func (*GetVersionsResponse) GetVersion ¶
func (m *GetVersionsResponse) GetVersion() []string
func (*GetVersionsResponse) ProtoMessage ¶
func (*GetVersionsResponse) ProtoMessage()
func (*GetVersionsResponse) Reset ¶
func (m *GetVersionsResponse) Reset()
func (*GetVersionsResponse) String ¶
func (m *GetVersionsResponse) String() string
type ModulesServiceError ¶
type ModulesServiceError struct {
XXX_unrecognized []byte `json:"-"`
}
func (*ModulesServiceError) Descriptor ¶ added in v1.1.0
func (*ModulesServiceError) Descriptor() ([]byte, []int)
func (*ModulesServiceError) ProtoMessage ¶
func (*ModulesServiceError) ProtoMessage()
func (*ModulesServiceError) Reset ¶
func (m *ModulesServiceError) Reset()
func (*ModulesServiceError) String ¶
func (m *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) Enum ¶
func (x ModulesServiceError_ErrorCode) Enum() *ModulesServiceError_ErrorCode
func (ModulesServiceError_ErrorCode) EnumDescriptor ¶ added in v1.1.0
func (ModulesServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)
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) Descriptor ¶ added in v1.1.0
func (*SetNumInstancesRequest) Descriptor() ([]byte, []int)
func (*SetNumInstancesRequest) GetInstances ¶
func (m *SetNumInstancesRequest) GetInstances() int64
func (*SetNumInstancesRequest) GetModule ¶
func (m *SetNumInstancesRequest) GetModule() string
func (*SetNumInstancesRequest) GetVersion ¶
func (m *SetNumInstancesRequest) GetVersion() string
func (*SetNumInstancesRequest) ProtoMessage ¶
func (*SetNumInstancesRequest) ProtoMessage()
func (*SetNumInstancesRequest) Reset ¶
func (m *SetNumInstancesRequest) Reset()
func (*SetNumInstancesRequest) String ¶
func (m *SetNumInstancesRequest) String() string
type SetNumInstancesResponse ¶
type SetNumInstancesResponse struct {
XXX_unrecognized []byte `json:"-"`
}
func (*SetNumInstancesResponse) Descriptor ¶ added in v1.1.0
func (*SetNumInstancesResponse) Descriptor() ([]byte, []int)
func (*SetNumInstancesResponse) ProtoMessage ¶
func (*SetNumInstancesResponse) ProtoMessage()
func (*SetNumInstancesResponse) Reset ¶
func (m *SetNumInstancesResponse) Reset()
func (*SetNumInstancesResponse) String ¶
func (m *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"` XXX_unrecognized []byte `json:"-"` }
func (*StartModuleRequest) Descriptor ¶ added in v1.1.0
func (*StartModuleRequest) Descriptor() ([]byte, []int)
func (*StartModuleRequest) GetModule ¶
func (m *StartModuleRequest) GetModule() string
func (*StartModuleRequest) GetVersion ¶
func (m *StartModuleRequest) GetVersion() string
func (*StartModuleRequest) ProtoMessage ¶
func (*StartModuleRequest) ProtoMessage()
func (*StartModuleRequest) Reset ¶
func (m *StartModuleRequest) Reset()
func (*StartModuleRequest) String ¶
func (m *StartModuleRequest) String() string
type StartModuleResponse ¶
type StartModuleResponse struct {
XXX_unrecognized []byte `json:"-"`
}
func (*StartModuleResponse) Descriptor ¶ added in v1.1.0
func (*StartModuleResponse) Descriptor() ([]byte, []int)
func (*StartModuleResponse) ProtoMessage ¶
func (*StartModuleResponse) ProtoMessage()
func (*StartModuleResponse) Reset ¶
func (m *StartModuleResponse) Reset()
func (*StartModuleResponse) String ¶
func (m *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"` XXX_unrecognized []byte `json:"-"` }
func (*StopModuleRequest) Descriptor ¶ added in v1.1.0
func (*StopModuleRequest) Descriptor() ([]byte, []int)
func (*StopModuleRequest) GetModule ¶
func (m *StopModuleRequest) GetModule() string
func (*StopModuleRequest) GetVersion ¶
func (m *StopModuleRequest) GetVersion() string
func (*StopModuleRequest) ProtoMessage ¶
func (*StopModuleRequest) ProtoMessage()
func (*StopModuleRequest) Reset ¶
func (m *StopModuleRequest) Reset()
func (*StopModuleRequest) String ¶
func (m *StopModuleRequest) String() string
type StopModuleResponse ¶
type StopModuleResponse struct {
XXX_unrecognized []byte `json:"-"`
}
func (*StopModuleResponse) Descriptor ¶ added in v1.1.0
func (*StopModuleResponse) Descriptor() ([]byte, []int)
func (*StopModuleResponse) ProtoMessage ¶
func (*StopModuleResponse) ProtoMessage()
func (*StopModuleResponse) Reset ¶
func (m *StopModuleResponse) Reset()
func (*StopModuleResponse) String ¶
func (m *StopModuleResponse) String() string
Click to show internal directories.
Click to hide internal directories.