handler

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
var (
	HandleResponse_Status_name = map[int32]string{
		0:  "UNKNOWN",
		11: "RECEIVED",
		12: "ACCEPTED",
		13: "RUNNING",
		14: "DONE",
		15: "IGNORED",
	}
	HandleResponse_Status_value = map[string]int32{
		"UNKNOWN":  0,
		"RECEIVED": 11,
		"ACCEPTED": 12,
		"RUNNING":  13,
		"DONE":     14,
		"IGNORED":  15,
	}
)

Enum value maps for HandleResponse_Status.

View Source
var File_handler_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use DNS.ProtoReflect.Descriptor instead.

func (*DNS) GetDnsServers

func (x *DNS) GetDnsServers() []string

func (*DNS) GetId

func (x *DNS) GetId() string

func (*DNS) GetZone

func (x *DNS) GetZone() string

func (*DNS) ProtoMessage

func (*DNS) ProtoMessage()

func (*DNS) ProtoReflect

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

func (*DNS) Reset

func (x *DNS) Reset()

func (*DNS) String

func (x *DNS) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ELB.ProtoReflect.Descriptor instead.

func (*ELB) GetFqdn

func (x *ELB) GetFqdn() string

func (*ELB) GetId

func (x *ELB) GetId() string

func (*ELB) GetName added in v0.1.0

func (x *ELB) GetName() string

func (*ELB) GetParent

func (x *ELB) GetParent() *Parent

func (*ELB) GetPlan

func (x *ELB) GetPlan() uint32

func (*ELB) GetRegion

func (x *ELB) GetRegion() string

func (*ELB) GetVirtualIpAddress

func (x *ELB) GetVirtualIpAddress() string

func (*ELB) ProtoMessage

func (*ELB) ProtoMessage()

func (*ELB) ProtoReflect

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

func (*ELB) Reset

func (x *ELB) Reset()

func (*ELB) String

func (x *ELB) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use GSLB.ProtoReflect.Descriptor instead.

func (*GSLB) GetFqdn

func (x *GSLB) GetFqdn() string

func (*GSLB) GetId

func (x *GSLB) GetId() string

func (*GSLB) GetName added in v0.1.0

func (x *GSLB) GetName() string

func (*GSLB) GetServers

func (x *GSLB) GetServers() []*GSLBServer

func (*GSLB) ProtoMessage

func (*GSLB) ProtoMessage()

func (*GSLB) ProtoReflect

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

func (*GSLB) Reset

func (x *GSLB) Reset()

func (*GSLB) String

func (x *GSLB) String() string

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"`
	// セットアップ完了までの猶予時間(秒数)
	// 1以上が指定されていた場合、各ハンドラ側がリクエストを受け入れた時に猶予時間まで待つ
	// 待ち処理は各ハンドラで適切に実装する必要がある
	SetupGracePeriod uint32 `protobuf:"varint,6,opt,name=setup_grace_period,json=setupGracePeriod,proto3" json:"setup_grace_period,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) GetSetupGracePeriod added in v0.6.0

func (x *HandleRequest) GetSetupGracePeriod() uint32

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
)

func (HandleResponse_Status) Descriptor

func (HandleResponse_Status) Enum

func (HandleResponse_Status) EnumDescriptor deprecated

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

Deprecated: Use HandleResponse_Status.Descriptor instead.

func (HandleResponse_Status) Number

func (HandleResponse_Status) String

func (x HandleResponse_Status) String() string

func (HandleResponse_Status) Type

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Parent.ProtoReflect.Descriptor instead.

func (*Parent) GetDns

func (x *Parent) GetDns() *DNS

func (*Parent) GetElb

func (x *Parent) GetElb() *ELB

func (*Parent) GetGslb

func (x *Parent) GetGslb() *GSLB

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

func (*Parent) Reset

func (x *Parent) Reset()

func (*Parent) String

func (x *Parent) String() string

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"`
	// セットアップ完了までの猶予時間(秒数)
	// 1以上が指定されていた場合、各ハンドラ側がリクエストを受け入れた時に猶予時間まで待つ
	// 待ち処理は各ハンドラで適切に実装する必要がある
	SetupGracePeriod uint32 `protobuf:"varint,6,opt,name=setup_grace_period,json=setupGracePeriod,proto3" json:"setup_grace_period,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 (*PostHandleRequest) GetScalingJobId

func (x *PostHandleRequest) GetScalingJobId() string

func (*PostHandleRequest) GetSetupGracePeriod added in v0.6.0

func (x *PostHandleRequest) GetSetupGracePeriod() uint32

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) Enum

func (PostHandleRequest_ResourceHandleResults) EnumDescriptor deprecated

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

Deprecated: Use PostHandleRequest_ResourceHandleResults.Descriptor instead.

func (PostHandleRequest_ResourceHandleResults) Number

func (PostHandleRequest_ResourceHandleResults) String

func (PostHandleRequest_ResourceHandleResults) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetDns

func (x *Resource) GetDns() *DNS

func (*Resource) GetElb

func (x *Resource) GetElb() *ELB

func (*Resource) GetGslb

func (x *Resource) GetGslb() *GSLB

func (*Resource) GetLoadBalancer added in v0.0.2

func (x *Resource) GetLoadBalancer() *LoadBalancer

func (*Resource) GetResource

func (m *Resource) GetResource() isResource_Resource

func (*Resource) GetRouter

func (x *Resource) GetRouter() *Router

func (*Resource) GetServer

func (x *Resource) GetServer() *Server

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

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) Enum

func (ResourceInstructions) EnumDescriptor deprecated

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

Deprecated: Use ResourceInstructions.Descriptor instead.

func (ResourceInstructions) Number

func (ResourceInstructions) String

func (x ResourceInstructions) String() string

func (ResourceInstructions) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Router.ProtoReflect.Descriptor instead.

func (*Router) GetBandWidth

func (x *Router) GetBandWidth() uint32

func (*Router) GetId

func (x *Router) GetId() string

func (*Router) GetName added in v0.1.0

func (x *Router) GetName() string

func (*Router) GetZone

func (x *Router) GetZone() string

func (*Router) ProtoMessage

func (*Router) ProtoMessage()

func (*Router) ProtoReflect

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

func (*Router) Reset

func (x *Router) Reset()

func (*Router) String

func (x *Router) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetAssignedNetwork

func (x *Server) GetAssignedNetwork() []*NetworkInfo

func (*Server) GetCore

func (x *Server) GetCore() uint32

func (*Server) GetDedicatedCpu

func (x *Server) GetDedicatedCpu() bool

func (*Server) GetId

func (x *Server) GetId() string

func (*Server) GetMemory

func (x *Server) GetMemory() uint32

func (*Server) GetName added in v0.1.0

func (x *Server) GetName() string

func (*Server) GetParent

func (x *Server) GetParent() *Parent

func (*Server) GetShutdownForce added in v0.1.0

func (x *Server) GetShutdownForce() bool

func (*Server) GetZone

func (x *Server) GetZone() string

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

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 (*ServerGroupInstance) GetEditParameter added in v0.1.0

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 (*ServerGroupInstance_EditParameter) Reset added in v0.1.0

func (*ServerGroupInstance_EditParameter) String added in v0.1.0

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 (*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 (*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 (*ServerGroupInstance_ExposeInfo) Reset added in v0.1.0

func (x *ServerGroupInstance_ExposeInfo) Reset()

func (*ServerGroupInstance_ExposeInfo) String added in v0.1.0

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 (*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 (*ServerGroupInstance_HealthCheck) Reset added in v0.1.0

func (*ServerGroupInstance_HealthCheck) String added in v0.1.0

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 (*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) PostHandle

func (UnimplementedHandleServiceServer) PreHandle

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.

Jump to

Keyboard shortcuts

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