Documentation ¶
Index ¶
- Variables
- func RegisterHandleServiceServer(s grpc.ServiceRegistrar, srv HandleServiceServer)
- type DNS
- type ELB
- func (*ELB) Descriptor() ([]byte, []int)deprecated
- func (x *ELB) GetFqdn() string
- func (x *ELB) GetId() string
- func (x *ELB) GetName() string
- func (x *ELB) GetParent() *Parent
- func (x *ELB) GetPlan() uint32
- func (x *ELB) GetRegion() string
- func (x *ELB) GetVirtualIpAddress() string
- func (*ELB) ProtoMessage()
- func (x *ELB) ProtoReflect() protoreflect.Message
- func (x *ELB) Reset()
- func (x *ELB) String() string
- type GSLB
- func (*GSLB) Descriptor() ([]byte, []int)deprecated
- func (x *GSLB) GetFqdn() string
- func (x *GSLB) GetId() string
- func (x *GSLB) GetName() string
- func (x *GSLB) GetServers() []*GSLBServer
- func (*GSLB) ProtoMessage()
- func (x *GSLB) ProtoReflect() protoreflect.Message
- func (x *GSLB) Reset()
- func (x *GSLB) String() string
- type GSLBServer
- func (*GSLBServer) Descriptor() ([]byte, []int)deprecated
- func (x *GSLBServer) GetEnabled() bool
- func (x *GSLBServer) GetIpAddress() string
- func (x *GSLBServer) GetWeight() uint32
- func (*GSLBServer) ProtoMessage()
- func (x *GSLBServer) ProtoReflect() protoreflect.Message
- func (x *GSLBServer) Reset()
- func (x *GSLBServer) String() string
- type HandleRequest
- func (*HandleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandleRequest) GetDesired() *Resource
- func (x *HandleRequest) GetInstruction() ResourceInstructions
- func (x *HandleRequest) GetResourceName() string
- func (x *HandleRequest) GetScalingJobId() string
- func (x *HandleRequest) GetSource() string
- func (x *HandleRequest) JSON() []byte
- func (*HandleRequest) ProtoMessage()
- func (x *HandleRequest) ProtoReflect() protoreflect.Message
- func (x *HandleRequest) Reset()
- func (x *HandleRequest) String() string
- type HandleResponse
- func (*HandleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HandleResponse) GetLog() string
- func (x *HandleResponse) GetScalingJobId() string
- func (x *HandleResponse) GetStatus() HandleResponse_Status
- func (*HandleResponse) ProtoMessage()
- func (x *HandleResponse) ProtoReflect() protoreflect.Message
- func (x *HandleResponse) Reset()
- func (x *HandleResponse) String() string
- type HandleResponse_Status
- func (HandleResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x HandleResponse_Status) Enum() *HandleResponse_Status
- func (HandleResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x HandleResponse_Status) Number() protoreflect.EnumNumber
- func (x HandleResponse_Status) String() string
- func (HandleResponse_Status) Type() protoreflect.EnumType
- type HandleServiceClient
- type HandleServiceServer
- type HandleService_HandleClient
- type HandleService_HandleServer
- type HandleService_PostHandleClient
- type HandleService_PostHandleServer
- type HandleService_PreHandleClient
- type HandleService_PreHandleServer
- type LoadBalancer
- func (*LoadBalancer) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancer) GetId() string
- func (x *LoadBalancer) GetName() string
- func (x *LoadBalancer) GetVirtualIpAddresses() []*LoadBalancerVIP
- func (x *LoadBalancer) GetZone() string
- func (*LoadBalancer) ProtoMessage()
- func (x *LoadBalancer) ProtoReflect() protoreflect.Message
- func (x *LoadBalancer) Reset()
- func (x *LoadBalancer) String() string
- type LoadBalancerServer
- func (*LoadBalancerServer) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerServer) GetEnabled() bool
- func (x *LoadBalancerServer) GetIpAddress() string
- func (*LoadBalancerServer) ProtoMessage()
- func (x *LoadBalancerServer) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerServer) Reset()
- func (x *LoadBalancerServer) String() string
- type LoadBalancerVIP
- func (*LoadBalancerVIP) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerVIP) GetIpAddress() string
- func (x *LoadBalancerVIP) GetPort() uint32
- func (x *LoadBalancerVIP) GetServers() []*LoadBalancerServer
- func (*LoadBalancerVIP) ProtoMessage()
- func (x *LoadBalancerVIP) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerVIP) Reset()
- func (x *LoadBalancerVIP) String() string
- type NetworkInfo
- func (*NetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfo) GetGateway() string
- func (x *NetworkInfo) GetIndex() uint32
- func (x *NetworkInfo) GetIpAddress() string
- func (x *NetworkInfo) GetNetmask() uint32
- func (*NetworkInfo) ProtoMessage()
- func (x *NetworkInfo) ProtoReflect() protoreflect.Message
- func (x *NetworkInfo) Reset()
- func (x *NetworkInfo) String() string
- type Parent
- func (*Parent) Descriptor() ([]byte, []int)deprecated
- func (x *Parent) GetDns() *DNS
- func (x *Parent) GetElb() *ELB
- func (x *Parent) GetGslb() *GSLB
- func (x *Parent) GetLoadBalancer() *LoadBalancer
- func (m *Parent) GetResource() isParent_Resource
- func (*Parent) ProtoMessage()
- func (x *Parent) ProtoReflect() protoreflect.Message
- func (x *Parent) Reset()
- func (x *Parent) String() string
- type Parent_Dns
- type Parent_Elb
- type Parent_Gslb
- type Parent_LoadBalancer
- type PostHandleRequest
- func (*PostHandleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostHandleRequest) GetCurrent() *Resource
- func (x *PostHandleRequest) GetResourceName() string
- func (x *PostHandleRequest) GetResult() PostHandleRequest_ResourceHandleResults
- func (x *PostHandleRequest) GetScalingJobId() string
- func (x *PostHandleRequest) GetSource() string
- func (x *PostHandleRequest) JSON() []byte
- func (*PostHandleRequest) ProtoMessage()
- func (x *PostHandleRequest) ProtoReflect() protoreflect.Message
- func (x *PostHandleRequest) Reset()
- func (x *PostHandleRequest) String() string
- type PostHandleRequest_ResourceHandleResults
- func (PostHandleRequest_ResourceHandleResults) Descriptor() protoreflect.EnumDescriptor
- func (x PostHandleRequest_ResourceHandleResults) Enum() *PostHandleRequest_ResourceHandleResults
- func (PostHandleRequest_ResourceHandleResults) EnumDescriptor() ([]byte, []int)deprecated
- func (x PostHandleRequest_ResourceHandleResults) Number() protoreflect.EnumNumber
- func (x PostHandleRequest_ResourceHandleResults) String() string
- func (PostHandleRequest_ResourceHandleResults) Type() protoreflect.EnumType
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetDns() *DNS
- func (x *Resource) GetElb() *ELB
- func (x *Resource) GetGslb() *GSLB
- func (x *Resource) GetLoadBalancer() *LoadBalancer
- func (m *Resource) GetResource() isResource_Resource
- func (x *Resource) GetRouter() *Router
- func (x *Resource) GetServer() *Server
- func (x *Resource) GetServerGroupInstance() *ServerGroupInstance
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceInstructions
- func (ResourceInstructions) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceInstructions) Enum() *ResourceInstructions
- func (ResourceInstructions) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceInstructions) Number() protoreflect.EnumNumber
- func (x ResourceInstructions) String() string
- func (ResourceInstructions) Type() protoreflect.EnumType
- type Resource_Dns
- type Resource_Elb
- type Resource_Gslb
- type Resource_LoadBalancer
- type Resource_Router
- type Resource_Server
- type Resource_ServerGroupInstance
- type Router
- func (*Router) Descriptor() ([]byte, []int)deprecated
- func (x *Router) GetBandWidth() uint32
- func (x *Router) GetId() string
- func (x *Router) GetName() string
- func (x *Router) GetZone() string
- func (*Router) ProtoMessage()
- func (x *Router) ProtoReflect() protoreflect.Message
- func (x *Router) Reset()
- func (x *Router) String() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetAssignedNetwork() []*NetworkInfo
- func (x *Server) GetCore() uint32
- func (x *Server) GetDedicatedCpu() bool
- func (x *Server) GetId() string
- func (x *Server) GetMemory() uint32
- func (x *Server) GetName() string
- func (x *Server) GetParent() *Parent
- func (x *Server) GetShutdownForce() bool
- func (x *Server) GetZone() string
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type ServerGroupInstance
- func (*ServerGroupInstance) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGroupInstance) GetCdRomId() string
- func (x *ServerGroupInstance) GetCloudConfig() string
- func (x *ServerGroupInstance) GetCore() uint32
- func (x *ServerGroupInstance) GetDedicatedCpu() bool
- func (x *ServerGroupInstance) GetDescription() string
- func (x *ServerGroupInstance) GetDisks() []*ServerGroupInstance_Disk
- func (x *ServerGroupInstance) GetEditParameter() *ServerGroupInstance_EditParameter
- func (x *ServerGroupInstance) GetIconId() string
- func (x *ServerGroupInstance) GetId() string
- func (x *ServerGroupInstance) GetInterfaceDriver() string
- func (x *ServerGroupInstance) GetMemory() uint32
- func (x *ServerGroupInstance) GetName() string
- func (x *ServerGroupInstance) GetNetworkInterfaces() []*ServerGroupInstance_NIC
- func (x *ServerGroupInstance) GetParent() *Parent
- func (x *ServerGroupInstance) GetPrivateHostId() string
- func (x *ServerGroupInstance) GetShutdownForce() bool
- func (x *ServerGroupInstance) GetTags() []string
- func (x *ServerGroupInstance) GetZone() string
- func (*ServerGroupInstance) ProtoMessage()
- func (x *ServerGroupInstance) ProtoReflect() protoreflect.Message
- func (x *ServerGroupInstance) Reset()
- func (x *ServerGroupInstance) String() string
- type ServerGroupInstance_Disk
- func (*ServerGroupInstance_Disk) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGroupInstance_Disk) GetConnection() string
- func (x *ServerGroupInstance_Disk) GetDescription() string
- func (x *ServerGroupInstance_Disk) GetIconId() string
- func (x *ServerGroupInstance_Disk) GetId() string
- func (x *ServerGroupInstance_Disk) GetName() string
- func (x *ServerGroupInstance_Disk) GetPlan() string
- func (x *ServerGroupInstance_Disk) GetSize() uint32
- func (x *ServerGroupInstance_Disk) GetSourceArchiveId() string
- func (x *ServerGroupInstance_Disk) GetSourceDiskId() string
- func (x *ServerGroupInstance_Disk) GetTags() []string
- func (x *ServerGroupInstance_Disk) GetZone() string
- func (*ServerGroupInstance_Disk) ProtoMessage()
- func (x *ServerGroupInstance_Disk) ProtoReflect() protoreflect.Message
- func (x *ServerGroupInstance_Disk) Reset()
- func (x *ServerGroupInstance_Disk) String() string
- type ServerGroupInstance_EditParameter
- func (*ServerGroupInstance_EditParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGroupInstance_EditParameter) GetChangePartitionUuid() bool
- func (x *ServerGroupInstance_EditParameter) GetDefaultRoute() string
- func (x *ServerGroupInstance_EditParameter) GetDisablePasswordAuth() bool
- func (x *ServerGroupInstance_EditParameter) GetEnableDhcp() bool
- func (x *ServerGroupInstance_EditParameter) GetHostName() string
- func (x *ServerGroupInstance_EditParameter) GetIpAddress() string
- func (x *ServerGroupInstance_EditParameter) GetNetworkMaskLen() uint32
- func (x *ServerGroupInstance_EditParameter) GetPassword() string
- func (x *ServerGroupInstance_EditParameter) GetSshKeyIds() []string
- func (x *ServerGroupInstance_EditParameter) GetSshKeys() []string
- func (x *ServerGroupInstance_EditParameter) GetStartupScripts() []string
- func (*ServerGroupInstance_EditParameter) ProtoMessage()
- func (x *ServerGroupInstance_EditParameter) ProtoReflect() protoreflect.Message
- func (x *ServerGroupInstance_EditParameter) Reset()
- func (x *ServerGroupInstance_EditParameter) String() string
- type ServerGroupInstance_ExposeInfo
- func (*ServerGroupInstance_ExposeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGroupInstance_ExposeInfo) GetHealthCheck() *ServerGroupInstance_HealthCheck
- func (x *ServerGroupInstance_ExposeInfo) GetPorts() []uint32
- func (x *ServerGroupInstance_ExposeInfo) GetRecordName() string
- func (x *ServerGroupInstance_ExposeInfo) GetServerGroupName() string
- func (x *ServerGroupInstance_ExposeInfo) GetTtl() uint32
- func (x *ServerGroupInstance_ExposeInfo) GetVips() []string
- func (x *ServerGroupInstance_ExposeInfo) GetWeight() uint32
- func (*ServerGroupInstance_ExposeInfo) ProtoMessage()
- func (x *ServerGroupInstance_ExposeInfo) ProtoReflect() protoreflect.Message
- func (x *ServerGroupInstance_ExposeInfo) Reset()
- func (x *ServerGroupInstance_ExposeInfo) String() string
- type ServerGroupInstance_HealthCheck
- func (*ServerGroupInstance_HealthCheck) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGroupInstance_HealthCheck) GetPath() string
- func (x *ServerGroupInstance_HealthCheck) GetProtocol() string
- func (x *ServerGroupInstance_HealthCheck) GetStatusCode() uint32
- func (*ServerGroupInstance_HealthCheck) ProtoMessage()
- func (x *ServerGroupInstance_HealthCheck) ProtoReflect() protoreflect.Message
- func (x *ServerGroupInstance_HealthCheck) Reset()
- func (x *ServerGroupInstance_HealthCheck) String() string
- type ServerGroupInstance_NIC
- func (*ServerGroupInstance_NIC) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGroupInstance_NIC) EachIPAndExposedPort(fn func(ip string, port int) error) error
- func (x *ServerGroupInstance_NIC) GetAssignedNetwork() *NetworkInfo
- func (x *ServerGroupInstance_NIC) GetExposeInfo() *ServerGroupInstance_ExposeInfo
- func (x *ServerGroupInstance_NIC) GetPacketFilterId() string
- func (x *ServerGroupInstance_NIC) GetUpstream() string
- func (x *ServerGroupInstance_NIC) GetUserIpAddress() string
- func (*ServerGroupInstance_NIC) ProtoMessage()
- func (x *ServerGroupInstance_NIC) ProtoReflect() protoreflect.Message
- func (x *ServerGroupInstance_NIC) Reset()
- func (x *ServerGroupInstance_NIC) String() string
- type UnimplementedHandleServiceServer
- func (UnimplementedHandleServiceServer) Handle(*HandleRequest, HandleService_HandleServer) error
- func (UnimplementedHandleServiceServer) PostHandle(*PostHandleRequest, HandleService_PostHandleServer) error
- func (UnimplementedHandleServiceServer) PreHandle(*HandleRequest, HandleService_PreHandleServer) error
- type UnsafeHandleServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ResourceInstructions_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATE", 2: "UPDATE", 3: "DELETE", 4: "NOOP", } ResourceInstructions_value = map[string]int32{ "UNKNOWN": 0, "CREATE": 1, "UPDATE": 2, "DELETE": 3, "NOOP": 4, } )
Enum value maps for ResourceInstructions.
var ( PostHandleRequest_ResourceHandleResults_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATED", 2: "UPDATED", 3: "DELETED", 4: "NO_CHANGE", } PostHandleRequest_ResourceHandleResults_value = map[string]int32{ "UNKNOWN": 0, "CREATED": 1, "UPDATED": 2, "DELETED": 3, "NO_CHANGE": 4, } )
Enum value maps for PostHandleRequest_ResourceHandleResults.
var ( HandleResponse_Status_name = map[int32]string{ 0: "UNKNOWN", 11: "RECEIVED", 12: "ACCEPTED", 13: "RUNNING", 14: "DONE", 15: "IGNORED", 16: "CANCELED", 17: "FAILED", } HandleResponse_Status_value = map[string]int32{ "UNKNOWN": 0, "RECEIVED": 11, "ACCEPTED": 12, "RUNNING": 13, "DONE": 14, "IGNORED": 15, "CANCELED": 16, "FAILED": 17, } )
Enum value maps for HandleResponse_Status.
var File_handler_proto protoreflect.FileDescriptor
var HandleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "autoscaler.HandleService", HandlerType: (*HandleServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "PreHandle", Handler: _HandleService_PreHandle_Handler, ServerStreams: true, }, { StreamName: "Handle", Handler: _HandleService_Handle_Handler, ServerStreams: true, }, { StreamName: "PostHandle", Handler: _HandleService_PostHandle_Handler, ServerStreams: true, }, }, Metadata: "handler.proto", }
HandleService_ServiceDesc is the grpc.ServiceDesc for HandleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHandleServiceServer ¶
func RegisterHandleServiceServer(s grpc.ServiceRegistrar, srv HandleServiceServer)
Types ¶
type DNS ¶
type DNS struct { Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` Zone string `protobuf:"bytes,12,opt,name=zone,proto3" json:"zone,omitempty"` DnsServers []string `protobuf:"bytes,13,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"` // contains filtered or unexported fields }
func (*DNS) Descriptor
deprecated
func (*DNS) GetDnsServers ¶
func (*DNS) ProtoMessage ¶
func (*DNS) ProtoMessage()
func (*DNS) ProtoReflect ¶
func (x *DNS) ProtoReflect() protoreflect.Message
type ELB ¶
type ELB struct { Parent *Parent `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` Region string `protobuf:"bytes,12,opt,name=region,proto3" json:"region,omitempty"` Plan uint32 `protobuf:"varint,13,opt,name=plan,proto3" json:"plan,omitempty"` VirtualIpAddress string `protobuf:"bytes,14,opt,name=virtual_ip_address,json=virtualIpAddress,proto3" json:"virtual_ip_address,omitempty"` Fqdn string `protobuf:"bytes,15,opt,name=fqdn,proto3" json:"fqdn,omitempty"` Name string `protobuf:"bytes,16,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ELB) Descriptor
deprecated
func (*ELB) GetVirtualIpAddress ¶
func (*ELB) ProtoMessage ¶
func (*ELB) ProtoMessage()
func (*ELB) ProtoReflect ¶
func (x *ELB) ProtoReflect() protoreflect.Message
type GSLB ¶
type GSLB struct { Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` Fqdn string `protobuf:"bytes,12,opt,name=fqdn,proto3" json:"fqdn,omitempty"` Servers []*GSLBServer `protobuf:"bytes,13,rep,name=servers,proto3" json:"servers,omitempty"` Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GSLB) Descriptor
deprecated
func (*GSLB) GetServers ¶
func (x *GSLB) GetServers() []*GSLBServer
func (*GSLB) ProtoMessage ¶
func (*GSLB) ProtoMessage()
func (*GSLB) ProtoReflect ¶
func (x *GSLB) ProtoReflect() protoreflect.Message
type GSLBServer ¶
type GSLBServer struct { IpAddress string `protobuf:"bytes,11,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` Enabled bool `protobuf:"varint,12,opt,name=enabled,proto3" json:"enabled,omitempty"` Weight uint32 `protobuf:"varint,13,opt,name=weight,proto3" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*GSLBServer) Descriptor
deprecated
func (*GSLBServer) Descriptor() ([]byte, []int)
Deprecated: Use GSLBServer.ProtoReflect.Descriptor instead.
func (*GSLBServer) GetEnabled ¶
func (x *GSLBServer) GetEnabled() bool
func (*GSLBServer) GetIpAddress ¶
func (x *GSLBServer) GetIpAddress() string
func (*GSLBServer) GetWeight ¶
func (x *GSLBServer) GetWeight() uint32
func (*GSLBServer) ProtoMessage ¶
func (*GSLBServer) ProtoMessage()
func (*GSLBServer) ProtoReflect ¶
func (x *GSLBServer) ProtoReflect() protoreflect.Message
func (*GSLBServer) Reset ¶
func (x *GSLBServer) Reset()
func (*GSLBServer) String ¶
func (x *GSLBServer) String() string
type HandleRequest ¶
type HandleRequest struct { // Inputから引き渡し Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // スケールジョブのID ScalingJobId string `protobuf:"bytes,3,opt,name=scaling_job_id,json=scalingJobId,proto3" json:"scaling_job_id,omitempty"` // ハンドラーへの指示 Instruction ResourceInstructions `protobuf:"varint,4,opt,name=instruction,proto3,enum=autoscaler.ResourceInstructions" json:"instruction,omitempty"` // リソースのあるべき姿 Desired *Resource `protobuf:"bytes,5,opt,name=desired,proto3" json:"desired,omitempty"` // contains filtered or unexported fields }
PreHandle/Handle時のリクエストパラメータ
func (*HandleRequest) Descriptor
deprecated
func (*HandleRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandleRequest.ProtoReflect.Descriptor instead.
func (*HandleRequest) GetDesired ¶
func (x *HandleRequest) GetDesired() *Resource
func (*HandleRequest) GetInstruction ¶
func (x *HandleRequest) GetInstruction() ResourceInstructions
func (*HandleRequest) GetResourceName ¶ added in v0.1.0
func (x *HandleRequest) GetResourceName() string
func (*HandleRequest) GetScalingJobId ¶
func (x *HandleRequest) GetScalingJobId() string
func (*HandleRequest) GetSource ¶
func (x *HandleRequest) GetSource() string
func (*HandleRequest) JSON ¶ added in v0.2.0
func (x *HandleRequest) JSON() []byte
func (*HandleRequest) ProtoMessage ¶
func (*HandleRequest) ProtoMessage()
func (*HandleRequest) ProtoReflect ¶
func (x *HandleRequest) ProtoReflect() protoreflect.Message
func (*HandleRequest) Reset ¶
func (x *HandleRequest) Reset()
func (*HandleRequest) String ¶
func (x *HandleRequest) String() string
type HandleResponse ¶
type HandleResponse struct { ScalingJobId string `protobuf:"bytes,1,opt,name=scaling_job_id,json=scalingJobId,proto3" json:"scaling_job_id,omitempty"` Status HandleResponse_Status `protobuf:"varint,2,opt,name=status,proto3,enum=autoscaler.HandleResponse_Status" json:"status,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` // Handlersが出力する追加的なメッセージ // contains filtered or unexported fields }
Handlersからのストリームレスポンス
func (*HandleResponse) Descriptor
deprecated
func (*HandleResponse) Descriptor() ([]byte, []int)
Deprecated: Use HandleResponse.ProtoReflect.Descriptor instead.
func (*HandleResponse) GetLog ¶
func (x *HandleResponse) GetLog() string
func (*HandleResponse) GetScalingJobId ¶
func (x *HandleResponse) GetScalingJobId() string
func (*HandleResponse) GetStatus ¶
func (x *HandleResponse) GetStatus() HandleResponse_Status
func (*HandleResponse) ProtoMessage ¶
func (*HandleResponse) ProtoMessage()
func (*HandleResponse) ProtoReflect ¶
func (x *HandleResponse) ProtoReflect() protoreflect.Message
func (*HandleResponse) Reset ¶
func (x *HandleResponse) Reset()
func (*HandleResponse) String ¶
func (x *HandleResponse) String() string
type HandleResponse_Status ¶
type HandleResponse_Status int32
const ( HandleResponse_UNKNOWN HandleResponse_Status = 0 HandleResponse_RECEIVED HandleResponse_Status = 11 HandleResponse_ACCEPTED HandleResponse_Status = 12 HandleResponse_RUNNING HandleResponse_Status = 13 HandleResponse_DONE HandleResponse_Status = 14 HandleResponse_IGNORED HandleResponse_Status = 15 HandleResponse_CANCELED HandleResponse_Status = 16 HandleResponse_FAILED HandleResponse_Status = 17 )
func (HandleResponse_Status) Descriptor ¶
func (HandleResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (HandleResponse_Status) Enum ¶
func (x HandleResponse_Status) Enum() *HandleResponse_Status
func (HandleResponse_Status) EnumDescriptor
deprecated
func (HandleResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use HandleResponse_Status.Descriptor instead.
func (HandleResponse_Status) Number ¶
func (x HandleResponse_Status) Number() protoreflect.EnumNumber
func (HandleResponse_Status) String ¶
func (x HandleResponse_Status) String() string
func (HandleResponse_Status) Type ¶
func (HandleResponse_Status) Type() protoreflect.EnumType
type HandleServiceClient ¶
type HandleServiceClient interface { // リソース操作の前イベント PreHandle(ctx context.Context, in *HandleRequest, opts ...grpc.CallOption) (HandleService_PreHandleClient, error) // リソース操作 Handle(ctx context.Context, in *HandleRequest, opts ...grpc.CallOption) (HandleService_HandleClient, error) // リソース操作の後イベント PostHandle(ctx context.Context, in *PostHandleRequest, opts ...grpc.CallOption) (HandleService_PostHandleClient, error) }
HandleServiceClient is the client API for HandleService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHandleServiceClient ¶
func NewHandleServiceClient(cc grpc.ClientConnInterface) HandleServiceClient
type HandleServiceServer ¶
type HandleServiceServer interface { // リソース操作の前イベント PreHandle(*HandleRequest, HandleService_PreHandleServer) error // リソース操作 Handle(*HandleRequest, HandleService_HandleServer) error // リソース操作の後イベント PostHandle(*PostHandleRequest, HandleService_PostHandleServer) error // contains filtered or unexported methods }
HandleServiceServer is the server API for HandleService service. All implementations must embed UnimplementedHandleServiceServer for forward compatibility
type HandleService_HandleClient ¶
type HandleService_HandleClient interface { Recv() (*HandleResponse, error) grpc.ClientStream }
type HandleService_HandleServer ¶
type HandleService_HandleServer interface { Send(*HandleResponse) error grpc.ServerStream }
type HandleService_PostHandleClient ¶
type HandleService_PostHandleClient interface { Recv() (*HandleResponse, error) grpc.ClientStream }
type HandleService_PostHandleServer ¶
type HandleService_PostHandleServer interface { Send(*HandleResponse) error grpc.ServerStream }
type HandleService_PreHandleClient ¶
type HandleService_PreHandleClient interface { Recv() (*HandleResponse, error) grpc.ClientStream }
type HandleService_PreHandleServer ¶
type HandleService_PreHandleServer interface { Send(*HandleResponse) error grpc.ServerStream }
type LoadBalancer ¶ added in v0.0.2
type LoadBalancer struct { Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` Zone string `protobuf:"bytes,12,opt,name=zone,proto3" json:"zone,omitempty"` VirtualIpAddresses []*LoadBalancerVIP `protobuf:"bytes,13,rep,name=virtual_ip_addresses,json=virtualIpAddresses,proto3" json:"virtual_ip_addresses,omitempty"` Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancer) Descriptor
deprecated
added in
v0.0.2
func (*LoadBalancer) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancer.ProtoReflect.Descriptor instead.
func (*LoadBalancer) GetId ¶ added in v0.0.2
func (x *LoadBalancer) GetId() string
func (*LoadBalancer) GetName ¶ added in v0.1.0
func (x *LoadBalancer) GetName() string
func (*LoadBalancer) GetVirtualIpAddresses ¶ added in v0.0.2
func (x *LoadBalancer) GetVirtualIpAddresses() []*LoadBalancerVIP
func (*LoadBalancer) GetZone ¶ added in v0.0.2
func (x *LoadBalancer) GetZone() string
func (*LoadBalancer) ProtoMessage ¶ added in v0.0.2
func (*LoadBalancer) ProtoMessage()
func (*LoadBalancer) ProtoReflect ¶ added in v0.0.2
func (x *LoadBalancer) ProtoReflect() protoreflect.Message
func (*LoadBalancer) Reset ¶ added in v0.0.2
func (x *LoadBalancer) Reset()
func (*LoadBalancer) String ¶ added in v0.0.2
func (x *LoadBalancer) String() string
type LoadBalancerServer ¶ added in v0.0.2
type LoadBalancerServer struct { IpAddress string `protobuf:"bytes,11,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` Enabled bool `protobuf:"varint,12,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerServer) Descriptor
deprecated
added in
v0.0.2
func (*LoadBalancerServer) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerServer.ProtoReflect.Descriptor instead.
func (*LoadBalancerServer) GetEnabled ¶ added in v0.0.2
func (x *LoadBalancerServer) GetEnabled() bool
func (*LoadBalancerServer) GetIpAddress ¶ added in v0.0.2
func (x *LoadBalancerServer) GetIpAddress() string
func (*LoadBalancerServer) ProtoMessage ¶ added in v0.0.2
func (*LoadBalancerServer) ProtoMessage()
func (*LoadBalancerServer) ProtoReflect ¶ added in v0.0.2
func (x *LoadBalancerServer) ProtoReflect() protoreflect.Message
func (*LoadBalancerServer) Reset ¶ added in v0.0.2
func (x *LoadBalancerServer) Reset()
func (*LoadBalancerServer) String ¶ added in v0.0.2
func (x *LoadBalancerServer) String() string
type LoadBalancerVIP ¶ added in v0.0.2
type LoadBalancerVIP struct { IpAddress string `protobuf:"bytes,11,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` Port uint32 `protobuf:"varint,12,opt,name=port,proto3" json:"port,omitempty"` Servers []*LoadBalancerServer `protobuf:"bytes,13,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerVIP) Descriptor
deprecated
added in
v0.0.2
func (*LoadBalancerVIP) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerVIP.ProtoReflect.Descriptor instead.
func (*LoadBalancerVIP) GetIpAddress ¶ added in v0.0.2
func (x *LoadBalancerVIP) GetIpAddress() string
func (*LoadBalancerVIP) GetPort ¶ added in v0.0.2
func (x *LoadBalancerVIP) GetPort() uint32
func (*LoadBalancerVIP) GetServers ¶ added in v0.0.2
func (x *LoadBalancerVIP) GetServers() []*LoadBalancerServer
func (*LoadBalancerVIP) ProtoMessage ¶ added in v0.0.2
func (*LoadBalancerVIP) ProtoMessage()
func (*LoadBalancerVIP) ProtoReflect ¶ added in v0.0.2
func (x *LoadBalancerVIP) ProtoReflect() protoreflect.Message
func (*LoadBalancerVIP) Reset ¶ added in v0.0.2
func (x *LoadBalancerVIP) Reset()
func (*LoadBalancerVIP) String ¶ added in v0.0.2
func (x *LoadBalancerVIP) String() string
type NetworkInfo ¶
type NetworkInfo struct { IpAddress string `protobuf:"bytes,11,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` Netmask uint32 `protobuf:"varint,12,opt,name=netmask,proto3" json:"netmask,omitempty"` Gateway string `protobuf:"bytes,13,opt,name=gateway,proto3" json:"gateway,omitempty"` Index uint32 `protobuf:"varint,14,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*NetworkInfo) Descriptor
deprecated
func (*NetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.
func (*NetworkInfo) GetGateway ¶
func (x *NetworkInfo) GetGateway() string
func (*NetworkInfo) GetIndex ¶
func (x *NetworkInfo) GetIndex() uint32
func (*NetworkInfo) GetIpAddress ¶
func (x *NetworkInfo) GetIpAddress() string
func (*NetworkInfo) GetNetmask ¶
func (x *NetworkInfo) GetNetmask() uint32
func (*NetworkInfo) ProtoMessage ¶
func (*NetworkInfo) ProtoMessage()
func (*NetworkInfo) ProtoReflect ¶
func (x *NetworkInfo) ProtoReflect() protoreflect.Message
func (*NetworkInfo) Reset ¶
func (x *NetworkInfo) Reset()
func (*NetworkInfo) String ¶
func (x *NetworkInfo) String() string
type Parent ¶
type Parent struct { // Types that are assignable to Resource: // *Parent_Elb // *Parent_Gslb // *Parent_Dns // *Parent_LoadBalancer Resource isParent_Resource `protobuf_oneof:"resource"` // contains filtered or unexported fields }
func (*Parent) Descriptor
deprecated
func (*Parent) GetLoadBalancer ¶ added in v0.0.2
func (x *Parent) GetLoadBalancer() *LoadBalancer
func (*Parent) GetResource ¶
func (m *Parent) GetResource() isParent_Resource
func (*Parent) ProtoMessage ¶
func (*Parent) ProtoMessage()
func (*Parent) ProtoReflect ¶
func (x *Parent) ProtoReflect() protoreflect.Message
type Parent_Dns ¶
type Parent_Dns struct {
Dns *DNS `protobuf:"bytes,13,opt,name=dns,proto3,oneof"`
}
type Parent_Elb ¶
type Parent_Elb struct {
Elb *ELB `protobuf:"bytes,11,opt,name=elb,proto3,oneof"`
}
type Parent_Gslb ¶
type Parent_Gslb struct {
Gslb *GSLB `protobuf:"bytes,12,opt,name=gslb,proto3,oneof"`
}
type Parent_LoadBalancer ¶ added in v0.0.2
type Parent_LoadBalancer struct {
LoadBalancer *LoadBalancer `protobuf:"bytes,14,opt,name=load_balancer,json=loadBalancer,proto3,oneof"`
}
type PostHandleRequest ¶
type PostHandleRequest struct { // Inputから引き渡し Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // スケールジョブのID ScalingJobId string `protobuf:"bytes,3,opt,name=scaling_job_id,json=scalingJobId,proto3" json:"scaling_job_id,omitempty"` // Handleの結果 Result PostHandleRequest_ResourceHandleResults `protobuf:"varint,4,opt,name=result,proto3,enum=autoscaler.PostHandleRequest_ResourceHandleResults" json:"result,omitempty"` // Handleの結果を反映した、リソースの現在の状態 Current *Resource `protobuf:"bytes,5,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
PostHandle時のリクエストパラメータ
func (*PostHandleRequest) Descriptor
deprecated
func (*PostHandleRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostHandleRequest.ProtoReflect.Descriptor instead.
func (*PostHandleRequest) GetCurrent ¶
func (x *PostHandleRequest) GetCurrent() *Resource
func (*PostHandleRequest) GetResourceName ¶ added in v0.1.0
func (x *PostHandleRequest) GetResourceName() string
func (*PostHandleRequest) GetResult ¶
func (x *PostHandleRequest) GetResult() PostHandleRequest_ResourceHandleResults
func (*PostHandleRequest) GetScalingJobId ¶
func (x *PostHandleRequest) GetScalingJobId() string
func (*PostHandleRequest) GetSource ¶
func (x *PostHandleRequest) GetSource() string
func (*PostHandleRequest) JSON ¶ added in v0.2.0
func (x *PostHandleRequest) JSON() []byte
func (*PostHandleRequest) ProtoMessage ¶
func (*PostHandleRequest) ProtoMessage()
func (*PostHandleRequest) ProtoReflect ¶
func (x *PostHandleRequest) ProtoReflect() protoreflect.Message
func (*PostHandleRequest) Reset ¶
func (x *PostHandleRequest) Reset()
func (*PostHandleRequest) String ¶
func (x *PostHandleRequest) String() string
type PostHandleRequest_ResourceHandleResults ¶
type PostHandleRequest_ResourceHandleResults int32
Handleの結果を表す
const ( PostHandleRequest_UNKNOWN PostHandleRequest_ResourceHandleResults = 0 PostHandleRequest_CREATED PostHandleRequest_ResourceHandleResults = 1 PostHandleRequest_UPDATED PostHandleRequest_ResourceHandleResults = 2 PostHandleRequest_DELETED PostHandleRequest_ResourceHandleResults = 3 PostHandleRequest_NO_CHANGE PostHandleRequest_ResourceHandleResults = 4 )
func (PostHandleRequest_ResourceHandleResults) Descriptor ¶
func (PostHandleRequest_ResourceHandleResults) Descriptor() protoreflect.EnumDescriptor
func (PostHandleRequest_ResourceHandleResults) EnumDescriptor
deprecated
func (PostHandleRequest_ResourceHandleResults) EnumDescriptor() ([]byte, []int)
Deprecated: Use PostHandleRequest_ResourceHandleResults.Descriptor instead.
func (PostHandleRequest_ResourceHandleResults) Number ¶
func (x PostHandleRequest_ResourceHandleResults) Number() protoreflect.EnumNumber
func (PostHandleRequest_ResourceHandleResults) String ¶
func (x PostHandleRequest_ResourceHandleResults) String() string
func (PostHandleRequest_ResourceHandleResults) Type ¶
func (PostHandleRequest_ResourceHandleResults) Type() protoreflect.EnumType
type Resource ¶
type Resource struct { // Types that are assignable to Resource: // *Resource_Server // *Resource_ServerGroupInstance // *Resource_Elb // *Resource_Gslb // *Resource_Dns // *Resource_Router // *Resource_LoadBalancer Resource isResource_Resource `protobuf_oneof:"resource"` // contains filtered or unexported fields }
汎用リソース型
func (*Resource) Descriptor
deprecated
func (*Resource) GetLoadBalancer ¶ added in v0.0.2
func (x *Resource) GetLoadBalancer() *LoadBalancer
func (*Resource) GetResource ¶
func (m *Resource) GetResource() isResource_Resource
func (*Resource) GetServerGroupInstance ¶ added in v0.1.0
func (x *Resource) GetServerGroupInstance() *ServerGroupInstance
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceInstructions ¶
type ResourceInstructions int32
Handlersが対象リソースをどう扱うべきかを示す
const ( ResourceInstructions_UNKNOWN ResourceInstructions = 0 ResourceInstructions_CREATE ResourceInstructions = 1 ResourceInstructions_UPDATE ResourceInstructions = 2 ResourceInstructions_DELETE ResourceInstructions = 3 ResourceInstructions_NOOP ResourceInstructions = 4 // 特に変更の必要がない状態、参照用のリソースなどで利用される )
func (ResourceInstructions) Descriptor ¶
func (ResourceInstructions) Descriptor() protoreflect.EnumDescriptor
func (ResourceInstructions) Enum ¶
func (x ResourceInstructions) Enum() *ResourceInstructions
func (ResourceInstructions) EnumDescriptor
deprecated
func (ResourceInstructions) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceInstructions.Descriptor instead.
func (ResourceInstructions) Number ¶
func (x ResourceInstructions) Number() protoreflect.EnumNumber
func (ResourceInstructions) String ¶
func (x ResourceInstructions) String() string
func (ResourceInstructions) Type ¶
func (ResourceInstructions) Type() protoreflect.EnumType
type Resource_Dns ¶
type Resource_Dns struct {
Dns *DNS `protobuf:"bytes,5,opt,name=dns,proto3,oneof"`
}
type Resource_Elb ¶
type Resource_Elb struct {
Elb *ELB `protobuf:"bytes,3,opt,name=elb,proto3,oneof"`
}
type Resource_Gslb ¶
type Resource_Gslb struct {
Gslb *GSLB `protobuf:"bytes,4,opt,name=gslb,proto3,oneof"`
}
type Resource_LoadBalancer ¶ added in v0.0.2
type Resource_LoadBalancer struct {
LoadBalancer *LoadBalancer `protobuf:"bytes,7,opt,name=load_balancer,json=loadBalancer,proto3,oneof"`
}
type Resource_Router ¶
type Resource_Router struct {
Router *Router `protobuf:"bytes,6,opt,name=router,proto3,oneof"`
}
type Resource_Server ¶
type Resource_Server struct {
Server *Server `protobuf:"bytes,1,opt,name=server,proto3,oneof"`
}
type Resource_ServerGroupInstance ¶ added in v0.1.0
type Resource_ServerGroupInstance struct {
ServerGroupInstance *ServerGroupInstance `protobuf:"bytes,2,opt,name=server_group_instance,json=serverGroupInstance,proto3,oneof"`
}
type Router ¶
type Router struct { Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` Zone string `protobuf:"bytes,12,opt,name=zone,proto3" json:"zone,omitempty"` BandWidth uint32 `protobuf:"varint,13,opt,name=band_width,json=bandWidth,proto3" json:"band_width,omitempty"` Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Router) Descriptor
deprecated
func (*Router) GetBandWidth ¶
func (*Router) ProtoMessage ¶
func (*Router) ProtoMessage()
func (*Router) ProtoReflect ¶
func (x *Router) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct { Parent *Parent `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` Zone string `protobuf:"bytes,12,opt,name=zone,proto3" json:"zone,omitempty"` Core uint32 `protobuf:"varint,13,opt,name=core,proto3" json:"core,omitempty"` Memory uint32 `protobuf:"varint,14,opt,name=memory,proto3" json:"memory,omitempty"` DedicatedCpu bool `protobuf:"varint,15,opt,name=dedicated_cpu,json=dedicatedCpu,proto3" json:"dedicated_cpu,omitempty"` AssignedNetwork []*NetworkInfo `protobuf:"bytes,16,rep,name=assigned_network,json=assignedNetwork,proto3" json:"assigned_network,omitempty"` Name string `protobuf:"bytes,17,opt,name=name,proto3" json:"name,omitempty"` ShutdownForce bool `protobuf:"varint,18,opt,name=shutdown_force,json=shutdownForce,proto3" json:"shutdown_force,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetAssignedNetwork ¶
func (x *Server) GetAssignedNetwork() []*NetworkInfo
func (*Server) GetDedicatedCpu ¶
func (*Server) GetShutdownForce ¶ added in v0.1.0
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type ServerGroupInstance ¶ added in v0.1.0
type ServerGroupInstance struct { Parent *Parent `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` // 新規作成指示時は空 Zone string `protobuf:"bytes,12,opt,name=zone,proto3" json:"zone,omitempty"` // plan Core uint32 `protobuf:"varint,13,opt,name=core,proto3" json:"core,omitempty"` Memory uint32 `protobuf:"varint,14,opt,name=memory,proto3" json:"memory,omitempty"` DedicatedCpu bool `protobuf:"varint,15,opt,name=dedicated_cpu,json=dedicatedCpu,proto3" json:"dedicated_cpu,omitempty"` PrivateHostId string `protobuf:"bytes,16,opt,name=private_host_id,json=privateHostId,proto3" json:"private_host_id,omitempty"` // disks Disks []*ServerGroupInstance_Disk `protobuf:"bytes,17,rep,name=disks,proto3" json:"disks,omitempty"` // ディスクの修正関連 EditParameter *ServerGroupInstance_EditParameter `protobuf:"bytes,18,opt,name=edit_parameter,json=editParameter,proto3" json:"edit_parameter,omitempty"` // 1番目のディスクにのみ有効 CloudConfig string `protobuf:"bytes,27,opt,name=cloud_config,json=cloudConfig,proto3" json:"cloud_config,omitempty"` // networks NetworkInterfaces []*ServerGroupInstance_NIC `protobuf:"bytes,19,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"` // misc CdRomId string `protobuf:"bytes,20,opt,name=cd_rom_id,json=cdRomId,proto3" json:"cd_rom_id,omitempty"` InterfaceDriver string `protobuf:"bytes,21,opt,name=interface_driver,json=interfaceDriver,proto3" json:"interface_driver,omitempty"` // common Name string `protobuf:"bytes,22,opt,name=name,proto3" json:"name,omitempty"` Tags []string `protobuf:"bytes,23,rep,name=tags,proto3" json:"tags,omitempty"` Description string `protobuf:"bytes,24,opt,name=description,proto3" json:"description,omitempty"` IconId string `protobuf:"bytes,25,opt,name=icon_id,json=iconId,proto3" json:"icon_id,omitempty"` ShutdownForce bool `protobuf:"varint,26,opt,name=shutdown_force,json=shutdownForce,proto3" json:"shutdown_force,omitempty"` // contains filtered or unexported fields }
func (*ServerGroupInstance) Descriptor
deprecated
added in
v0.1.0
func (*ServerGroupInstance) Descriptor() ([]byte, []int)
Deprecated: Use ServerGroupInstance.ProtoReflect.Descriptor instead.
func (*ServerGroupInstance) GetCdRomId ¶ added in v0.1.0
func (x *ServerGroupInstance) GetCdRomId() string
func (*ServerGroupInstance) GetCloudConfig ¶ added in v0.3.0
func (x *ServerGroupInstance) GetCloudConfig() string
func (*ServerGroupInstance) GetCore ¶ added in v0.1.0
func (x *ServerGroupInstance) GetCore() uint32
func (*ServerGroupInstance) GetDedicatedCpu ¶ added in v0.1.0
func (x *ServerGroupInstance) GetDedicatedCpu() bool
func (*ServerGroupInstance) GetDescription ¶ added in v0.1.0
func (x *ServerGroupInstance) GetDescription() string
func (*ServerGroupInstance) GetDisks ¶ added in v0.1.0
func (x *ServerGroupInstance) GetDisks() []*ServerGroupInstance_Disk
func (*ServerGroupInstance) GetEditParameter ¶ added in v0.1.0
func (x *ServerGroupInstance) GetEditParameter() *ServerGroupInstance_EditParameter
func (*ServerGroupInstance) GetIconId ¶ added in v0.1.0
func (x *ServerGroupInstance) GetIconId() string
func (*ServerGroupInstance) GetId ¶ added in v0.1.0
func (x *ServerGroupInstance) GetId() string
func (*ServerGroupInstance) GetInterfaceDriver ¶ added in v0.1.0
func (x *ServerGroupInstance) GetInterfaceDriver() string
func (*ServerGroupInstance) GetMemory ¶ added in v0.1.0
func (x *ServerGroupInstance) GetMemory() uint32
func (*ServerGroupInstance) GetName ¶ added in v0.1.0
func (x *ServerGroupInstance) GetName() string
func (*ServerGroupInstance) GetNetworkInterfaces ¶ added in v0.1.0
func (x *ServerGroupInstance) GetNetworkInterfaces() []*ServerGroupInstance_NIC
func (*ServerGroupInstance) GetParent ¶ added in v0.1.0
func (x *ServerGroupInstance) GetParent() *Parent
func (*ServerGroupInstance) GetPrivateHostId ¶ added in v0.1.0
func (x *ServerGroupInstance) GetPrivateHostId() string
func (*ServerGroupInstance) GetShutdownForce ¶ added in v0.1.0
func (x *ServerGroupInstance) GetShutdownForce() bool
func (*ServerGroupInstance) GetTags ¶ added in v0.1.0
func (x *ServerGroupInstance) GetTags() []string
func (*ServerGroupInstance) GetZone ¶ added in v0.1.0
func (x *ServerGroupInstance) GetZone() string
func (*ServerGroupInstance) ProtoMessage ¶ added in v0.1.0
func (*ServerGroupInstance) ProtoMessage()
func (*ServerGroupInstance) ProtoReflect ¶ added in v0.1.0
func (x *ServerGroupInstance) ProtoReflect() protoreflect.Message
func (*ServerGroupInstance) Reset ¶ added in v0.1.0
func (x *ServerGroupInstance) Reset()
func (*ServerGroupInstance) String ¶ added in v0.1.0
func (x *ServerGroupInstance) String() string
type ServerGroupInstance_Disk ¶ added in v0.1.0
type ServerGroupInstance_Disk struct { Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` // 新規作成指示時は空 Zone string `protobuf:"bytes,12,opt,name=zone,proto3" json:"zone,omitempty"` // sources SourceArchiveId string `protobuf:"bytes,13,opt,name=source_archive_id,json=sourceArchiveId,proto3" json:"source_archive_id,omitempty"` SourceDiskId string `protobuf:"bytes,14,opt,name=source_disk_id,json=sourceDiskId,proto3" json:"source_disk_id,omitempty"` // spec Plan string `protobuf:"bytes,15,opt,name=plan,proto3" json:"plan,omitempty"` // ssd or hdd Connection string `protobuf:"bytes,16,opt,name=connection,proto3" json:"connection,omitempty"` // virtio or ide Size uint32 `protobuf:"varint,17,opt,name=size,proto3" json:"size,omitempty"` // common Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` Tags []string `protobuf:"bytes,19,rep,name=tags,proto3" json:"tags,omitempty"` Description string `protobuf:"bytes,20,opt,name=description,proto3" json:"description,omitempty"` IconId string `protobuf:"bytes,21,opt,name=icon_id,json=iconId,proto3" json:"icon_id,omitempty"` // contains filtered or unexported fields }
func (*ServerGroupInstance_Disk) Descriptor
deprecated
added in
v0.1.0
func (*ServerGroupInstance_Disk) Descriptor() ([]byte, []int)
Deprecated: Use ServerGroupInstance_Disk.ProtoReflect.Descriptor instead.
func (*ServerGroupInstance_Disk) GetConnection ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetConnection() string
func (*ServerGroupInstance_Disk) GetDescription ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetDescription() string
func (*ServerGroupInstance_Disk) GetIconId ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetIconId() string
func (*ServerGroupInstance_Disk) GetId ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetId() string
func (*ServerGroupInstance_Disk) GetName ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetName() string
func (*ServerGroupInstance_Disk) GetPlan ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetPlan() string
func (*ServerGroupInstance_Disk) GetSize ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetSize() uint32
func (*ServerGroupInstance_Disk) GetSourceArchiveId ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetSourceArchiveId() string
func (*ServerGroupInstance_Disk) GetSourceDiskId ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetSourceDiskId() string
func (*ServerGroupInstance_Disk) GetTags ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetTags() []string
func (*ServerGroupInstance_Disk) GetZone ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) GetZone() string
func (*ServerGroupInstance_Disk) ProtoMessage ¶ added in v0.1.0
func (*ServerGroupInstance_Disk) ProtoMessage()
func (*ServerGroupInstance_Disk) ProtoReflect ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) ProtoReflect() protoreflect.Message
func (*ServerGroupInstance_Disk) Reset ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) Reset()
func (*ServerGroupInstance_Disk) String ¶ added in v0.1.0
func (x *ServerGroupInstance_Disk) String() string
type ServerGroupInstance_EditParameter ¶ added in v0.1.0
type ServerGroupInstance_EditParameter struct { HostName string `protobuf:"bytes,11,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` Password string `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"` DisablePasswordAuth bool `protobuf:"varint,13,opt,name=disable_password_auth,json=disablePasswordAuth,proto3" json:"disable_password_auth,omitempty"` EnableDhcp bool `protobuf:"varint,14,opt,name=enable_dhcp,json=enableDhcp,proto3" json:"enable_dhcp,omitempty"` ChangePartitionUuid bool `protobuf:"varint,15,opt,name=change_partition_uuid,json=changePartitionUuid,proto3" json:"change_partition_uuid,omitempty"` IpAddress string `protobuf:"bytes,16,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` NetworkMaskLen uint32 `protobuf:"varint,17,opt,name=network_mask_len,json=networkMaskLen,proto3" json:"network_mask_len,omitempty"` DefaultRoute string `protobuf:"bytes,18,opt,name=default_route,json=defaultRoute,proto3" json:"default_route,omitempty"` SshKeys []string `protobuf:"bytes,19,rep,name=ssh_keys,json=sshKeys,proto3" json:"ssh_keys,omitempty"` SshKeyIds []string `protobuf:"bytes,20,rep,name=ssh_key_ids,json=sshKeyIds,proto3" json:"ssh_key_ids,omitempty"` StartupScripts []string `protobuf:"bytes,21,rep,name=startup_scripts,json=startupScripts,proto3" json:"startup_scripts,omitempty"` // contains filtered or unexported fields }
func (*ServerGroupInstance_EditParameter) Descriptor
deprecated
added in
v0.1.0
func (*ServerGroupInstance_EditParameter) Descriptor() ([]byte, []int)
Deprecated: Use ServerGroupInstance_EditParameter.ProtoReflect.Descriptor instead.
func (*ServerGroupInstance_EditParameter) GetChangePartitionUuid ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetChangePartitionUuid() bool
func (*ServerGroupInstance_EditParameter) GetDefaultRoute ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetDefaultRoute() string
func (*ServerGroupInstance_EditParameter) GetDisablePasswordAuth ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetDisablePasswordAuth() bool
func (*ServerGroupInstance_EditParameter) GetEnableDhcp ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetEnableDhcp() bool
func (*ServerGroupInstance_EditParameter) GetHostName ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetHostName() string
func (*ServerGroupInstance_EditParameter) GetIpAddress ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetIpAddress() string
func (*ServerGroupInstance_EditParameter) GetNetworkMaskLen ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetNetworkMaskLen() uint32
func (*ServerGroupInstance_EditParameter) GetPassword ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetPassword() string
func (*ServerGroupInstance_EditParameter) GetSshKeyIds ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetSshKeyIds() []string
func (*ServerGroupInstance_EditParameter) GetSshKeys ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetSshKeys() []string
func (*ServerGroupInstance_EditParameter) GetStartupScripts ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) GetStartupScripts() []string
func (*ServerGroupInstance_EditParameter) ProtoMessage ¶ added in v0.1.0
func (*ServerGroupInstance_EditParameter) ProtoMessage()
func (*ServerGroupInstance_EditParameter) ProtoReflect ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) ProtoReflect() protoreflect.Message
func (*ServerGroupInstance_EditParameter) Reset ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) Reset()
func (*ServerGroupInstance_EditParameter) String ¶ added in v0.1.0
func (x *ServerGroupInstance_EditParameter) String() string
type ServerGroupInstance_ExposeInfo ¶ added in v0.1.0
type ServerGroupInstance_ExposeInfo struct { Ports []uint32 `protobuf:"varint,11,rep,packed,name=ports,proto3" json:"ports,omitempty"` ServerGroupName string `protobuf:"bytes,12,opt,name=server_group_name,json=serverGroupName,proto3" json:"server_group_name,omitempty"` // ELB向け Weight uint32 `protobuf:"varint,13,opt,name=weight,proto3" json:"weight,omitempty"` // GSLB向け Vips []string `protobuf:"bytes,14,rep,name=vips,proto3" json:"vips,omitempty"` // LB向け HealthCheck *ServerGroupInstance_HealthCheck `protobuf:"bytes,15,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"` // LB向け RecordName string `protobuf:"bytes,16,opt,name=record_name,json=recordName,proto3" json:"record_name,omitempty"` // DNS向け Ttl uint32 `protobuf:"varint,17,opt,name=ttl,proto3" json:"ttl,omitempty"` // DNS向け // contains filtered or unexported fields }
NICに紐づくネットワーク公開情報 上流リソースの操作のための定義を含む
func (*ServerGroupInstance_ExposeInfo) Descriptor
deprecated
added in
v0.1.0
func (*ServerGroupInstance_ExposeInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServerGroupInstance_ExposeInfo.ProtoReflect.Descriptor instead.
func (*ServerGroupInstance_ExposeInfo) GetHealthCheck ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) GetHealthCheck() *ServerGroupInstance_HealthCheck
func (*ServerGroupInstance_ExposeInfo) GetPorts ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) GetPorts() []uint32
func (*ServerGroupInstance_ExposeInfo) GetRecordName ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) GetRecordName() string
func (*ServerGroupInstance_ExposeInfo) GetServerGroupName ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) GetServerGroupName() string
func (*ServerGroupInstance_ExposeInfo) GetTtl ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) GetTtl() uint32
func (*ServerGroupInstance_ExposeInfo) GetVips ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) GetVips() []string
func (*ServerGroupInstance_ExposeInfo) GetWeight ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) GetWeight() uint32
func (*ServerGroupInstance_ExposeInfo) ProtoMessage ¶ added in v0.1.0
func (*ServerGroupInstance_ExposeInfo) ProtoMessage()
func (*ServerGroupInstance_ExposeInfo) ProtoReflect ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) ProtoReflect() protoreflect.Message
func (*ServerGroupInstance_ExposeInfo) Reset ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) Reset()
func (*ServerGroupInstance_ExposeInfo) String ¶ added in v0.1.0
func (x *ServerGroupInstance_ExposeInfo) String() string
type ServerGroupInstance_HealthCheck ¶ added in v0.1.0
type ServerGroupInstance_HealthCheck struct { Protocol string `protobuf:"bytes,11,opt,name=protocol,proto3" json:"protocol,omitempty"` Path string `protobuf:"bytes,12,opt,name=path,proto3" json:"path,omitempty"` StatusCode uint32 `protobuf:"varint,13,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // contains filtered or unexported fields }
func (*ServerGroupInstance_HealthCheck) Descriptor
deprecated
added in
v0.1.0
func (*ServerGroupInstance_HealthCheck) Descriptor() ([]byte, []int)
Deprecated: Use ServerGroupInstance_HealthCheck.ProtoReflect.Descriptor instead.
func (*ServerGroupInstance_HealthCheck) GetPath ¶ added in v0.1.0
func (x *ServerGroupInstance_HealthCheck) GetPath() string
func (*ServerGroupInstance_HealthCheck) GetProtocol ¶ added in v0.1.0
func (x *ServerGroupInstance_HealthCheck) GetProtocol() string
func (*ServerGroupInstance_HealthCheck) GetStatusCode ¶ added in v0.1.0
func (x *ServerGroupInstance_HealthCheck) GetStatusCode() uint32
func (*ServerGroupInstance_HealthCheck) ProtoMessage ¶ added in v0.1.0
func (*ServerGroupInstance_HealthCheck) ProtoMessage()
func (*ServerGroupInstance_HealthCheck) ProtoReflect ¶ added in v0.1.0
func (x *ServerGroupInstance_HealthCheck) ProtoReflect() protoreflect.Message
func (*ServerGroupInstance_HealthCheck) Reset ¶ added in v0.1.0
func (x *ServerGroupInstance_HealthCheck) Reset()
func (*ServerGroupInstance_HealthCheck) String ¶ added in v0.1.0
func (x *ServerGroupInstance_HealthCheck) String() string
type ServerGroupInstance_NIC ¶ added in v0.1.0
type ServerGroupInstance_NIC struct { Upstream string `protobuf:"bytes,11,opt,name=upstream,proto3" json:"upstream,omitempty"` PacketFilterId string `protobuf:"bytes,12,opt,name=packet_filter_id,json=packetFilterId,proto3" json:"packet_filter_id,omitempty"` UserIpAddress string `protobuf:"bytes,13,opt,name=user_ip_address,json=userIpAddress,proto3" json:"user_ip_address,omitempty"` AssignedNetwork *NetworkInfo `protobuf:"bytes,14,opt,name=assigned_network,json=assignedNetwork,proto3" json:"assigned_network,omitempty"` ExposeInfo *ServerGroupInstance_ExposeInfo `protobuf:"bytes,15,opt,name=expose_info,json=exposeInfo,proto3" json:"expose_info,omitempty"` // contains filtered or unexported fields }
func (*ServerGroupInstance_NIC) Descriptor
deprecated
added in
v0.1.0
func (*ServerGroupInstance_NIC) Descriptor() ([]byte, []int)
Deprecated: Use ServerGroupInstance_NIC.ProtoReflect.Descriptor instead.
func (*ServerGroupInstance_NIC) EachIPAndExposedPort ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) EachIPAndExposedPort(fn func(ip string, port int) error) error
func (*ServerGroupInstance_NIC) GetAssignedNetwork ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) GetAssignedNetwork() *NetworkInfo
func (*ServerGroupInstance_NIC) GetExposeInfo ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) GetExposeInfo() *ServerGroupInstance_ExposeInfo
func (*ServerGroupInstance_NIC) GetPacketFilterId ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) GetPacketFilterId() string
func (*ServerGroupInstance_NIC) GetUpstream ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) GetUpstream() string
func (*ServerGroupInstance_NIC) GetUserIpAddress ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) GetUserIpAddress() string
func (*ServerGroupInstance_NIC) ProtoMessage ¶ added in v0.1.0
func (*ServerGroupInstance_NIC) ProtoMessage()
func (*ServerGroupInstance_NIC) ProtoReflect ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) ProtoReflect() protoreflect.Message
func (*ServerGroupInstance_NIC) Reset ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) Reset()
func (*ServerGroupInstance_NIC) String ¶ added in v0.1.0
func (x *ServerGroupInstance_NIC) String() string
type UnimplementedHandleServiceServer ¶
type UnimplementedHandleServiceServer struct { }
UnimplementedHandleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHandleServiceServer) Handle ¶
func (UnimplementedHandleServiceServer) Handle(*HandleRequest, HandleService_HandleServer) error
func (UnimplementedHandleServiceServer) PostHandle ¶
func (UnimplementedHandleServiceServer) PostHandle(*PostHandleRequest, HandleService_PostHandleServer) error
func (UnimplementedHandleServiceServer) PreHandle ¶
func (UnimplementedHandleServiceServer) PreHandle(*HandleRequest, HandleService_PreHandleServer) error
type UnsafeHandleServiceServer ¶
type UnsafeHandleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHandleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HandleServiceServer will result in compilation errors.