pb

package
v5.1.5-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAppRuntimeSyncServer

func RegisterAppRuntimeSyncServer(s *grpc.Server, srv AppRuntimeSyncServer)

Types

type AddThirdPartyEndpointsReq

type AddThirdPartyEndpointsReq struct {
	Uuid                 string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Sid                  string   `protobuf:"bytes,2,opt,name=sid,proto3" json:"sid,omitempty"`
	Ip                   string   `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Port                 int32    `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	IsOnline             bool     `protobuf:"varint,5,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddThirdPartyEndpointsReq) Descriptor

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

func (*AddThirdPartyEndpointsReq) GetIp

func (m *AddThirdPartyEndpointsReq) GetIp() string

func (*AddThirdPartyEndpointsReq) GetIsOnline

func (m *AddThirdPartyEndpointsReq) GetIsOnline() bool

func (*AddThirdPartyEndpointsReq) GetPort

func (m *AddThirdPartyEndpointsReq) GetPort() int32

func (*AddThirdPartyEndpointsReq) GetSid

func (m *AddThirdPartyEndpointsReq) GetSid() string

func (*AddThirdPartyEndpointsReq) GetUuid

func (m *AddThirdPartyEndpointsReq) GetUuid() string

func (*AddThirdPartyEndpointsReq) ProtoMessage

func (*AddThirdPartyEndpointsReq) ProtoMessage()

func (*AddThirdPartyEndpointsReq) Reset

func (m *AddThirdPartyEndpointsReq) Reset()

func (*AddThirdPartyEndpointsReq) String

func (m *AddThirdPartyEndpointsReq) String() string

func (*AddThirdPartyEndpointsReq) XXX_DiscardUnknown

func (m *AddThirdPartyEndpointsReq) XXX_DiscardUnknown()

func (*AddThirdPartyEndpointsReq) XXX_Marshal

func (m *AddThirdPartyEndpointsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddThirdPartyEndpointsReq) XXX_Merge

func (m *AddThirdPartyEndpointsReq) XXX_Merge(src proto.Message)

func (*AddThirdPartyEndpointsReq) XXX_Size

func (m *AddThirdPartyEndpointsReq) XXX_Size() int

func (*AddThirdPartyEndpointsReq) XXX_Unmarshal

func (m *AddThirdPartyEndpointsReq) XXX_Unmarshal(b []byte) error

type AppRuntimeSyncClient

type AppRuntimeSyncClient interface {
	GetAppStatus(ctx context.Context, in *ServicesRequest, opts ...grpc.CallOption) (*StatusMessage, error)
	GetAppPods(ctx context.Context, in *ServiceRequest, opts ...grpc.CallOption) (*ServiceAppPodList, error)
	GetDeployInfo(ctx context.Context, in *ServiceRequest, opts ...grpc.CallOption) (*DeployInfo, error)
	GetTenantResource(ctx context.Context, in *TenantRequest, opts ...grpc.CallOption) (*TenantResource, error)
	ListThirdPartyEndpoints(ctx context.Context, in *ServiceRequest, opts ...grpc.CallOption) (*ThirdPartyEndpoints, error)
	AddThirdPartyEndpoint(ctx context.Context, in *AddThirdPartyEndpointsReq, opts ...grpc.CallOption) (*Empty, error)
	UpdThirdPartyEndpoint(ctx context.Context, in *UpdThirdPartyEndpointsReq, opts ...grpc.CallOption) (*Empty, error)
	DelThirdPartyEndpoint(ctx context.Context, in *DelThirdPartyEndpointsReq, opts ...grpc.CallOption) (*Empty, error)
}

AppRuntimeSyncClient is the client API for AppRuntimeSync service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAppRuntimeSyncClient

func NewAppRuntimeSyncClient(cc *grpc.ClientConn) AppRuntimeSyncClient

type AppRuntimeSyncServer

type AppRuntimeSyncServer interface {
	GetAppStatus(context.Context, *ServicesRequest) (*StatusMessage, error)
	GetAppPods(context.Context, *ServiceRequest) (*ServiceAppPodList, error)
	GetDeployInfo(context.Context, *ServiceRequest) (*DeployInfo, error)
	GetTenantResource(context.Context, *TenantRequest) (*TenantResource, error)
	ListThirdPartyEndpoints(context.Context, *ServiceRequest) (*ThirdPartyEndpoints, error)
	AddThirdPartyEndpoint(context.Context, *AddThirdPartyEndpointsReq) (*Empty, error)
	UpdThirdPartyEndpoint(context.Context, *UpdThirdPartyEndpointsReq) (*Empty, error)
	DelThirdPartyEndpoint(context.Context, *DelThirdPartyEndpointsReq) (*Empty, error)
}

AppRuntimeSyncServer is the server API for AppRuntimeSync service.

type Container

type Container struct {
	ContainerName        string   `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
	MemoryLimit          int64    `protobuf:"varint,2,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Container) Descriptor

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

func (*Container) GetContainerName

func (m *Container) GetContainerName() string

func (*Container) GetMemoryLimit

func (m *Container) GetMemoryLimit() int64

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) String

func (m *Container) String() string

func (*Container) XXX_DiscardUnknown

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

func (m *Container) XXX_Unmarshal(b []byte) error

type DelThirdPartyEndpointsReq

type DelThirdPartyEndpointsReq struct {
	Uuid                 string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Sid                  string   `protobuf:"bytes,2,opt,name=sid,proto3" json:"sid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DelThirdPartyEndpointsReq) Descriptor

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

func (*DelThirdPartyEndpointsReq) GetSid

func (m *DelThirdPartyEndpointsReq) GetSid() string

func (*DelThirdPartyEndpointsReq) GetUuid

func (m *DelThirdPartyEndpointsReq) GetUuid() string

func (*DelThirdPartyEndpointsReq) ProtoMessage

func (*DelThirdPartyEndpointsReq) ProtoMessage()

func (*DelThirdPartyEndpointsReq) Reset

func (m *DelThirdPartyEndpointsReq) Reset()

func (*DelThirdPartyEndpointsReq) String

func (m *DelThirdPartyEndpointsReq) String() string

func (*DelThirdPartyEndpointsReq) XXX_DiscardUnknown

func (m *DelThirdPartyEndpointsReq) XXX_DiscardUnknown()

func (*DelThirdPartyEndpointsReq) XXX_Marshal

func (m *DelThirdPartyEndpointsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelThirdPartyEndpointsReq) XXX_Merge

func (m *DelThirdPartyEndpointsReq) XXX_Merge(src proto.Message)

func (*DelThirdPartyEndpointsReq) XXX_Size

func (m *DelThirdPartyEndpointsReq) XXX_Size() int

func (*DelThirdPartyEndpointsReq) XXX_Unmarshal

func (m *DelThirdPartyEndpointsReq) XXX_Unmarshal(b []byte) error

type DeployInfo

type DeployInfo struct {
	Namespace            string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Statefuleset         string            `protobuf:"bytes,2,opt,name=statefuleset,proto3" json:"statefuleset,omitempty"`
	Deployment           string            `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"`
	Pods                 map[string]string `` /* 149-byte string literal not displayed */
	Services             map[string]string `` /* 157-byte string literal not displayed */
	Endpoints            map[string]string `` /* 159-byte string literal not displayed */
	Secrets              map[string]string `` /* 155-byte string literal not displayed */
	Ingresses            map[string]string `` /* 159-byte string literal not displayed */
	Replicatset          map[string]string `` /* 163-byte string literal not displayed */
	Status               string            `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*DeployInfo) Descriptor

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

func (*DeployInfo) GetDeployment

func (m *DeployInfo) GetDeployment() string

func (*DeployInfo) GetEndpoints

func (m *DeployInfo) GetEndpoints() map[string]string

func (*DeployInfo) GetIngresses

func (m *DeployInfo) GetIngresses() map[string]string

func (*DeployInfo) GetNamespace

func (m *DeployInfo) GetNamespace() string

func (*DeployInfo) GetPods

func (m *DeployInfo) GetPods() map[string]string

func (*DeployInfo) GetReplicatset

func (m *DeployInfo) GetReplicatset() map[string]string

func (*DeployInfo) GetSecrets

func (m *DeployInfo) GetSecrets() map[string]string

func (*DeployInfo) GetServices

func (m *DeployInfo) GetServices() map[string]string

func (*DeployInfo) GetStatefuleset

func (m *DeployInfo) GetStatefuleset() string

func (*DeployInfo) GetStatus

func (m *DeployInfo) GetStatus() string

func (*DeployInfo) ProtoMessage

func (*DeployInfo) ProtoMessage()

func (*DeployInfo) Reset

func (m *DeployInfo) Reset()

func (*DeployInfo) String

func (m *DeployInfo) String() string

func (*DeployInfo) XXX_DiscardUnknown

func (m *DeployInfo) XXX_DiscardUnknown()

func (*DeployInfo) XXX_Marshal

func (m *DeployInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeployInfo) XXX_Merge

func (m *DeployInfo) XXX_Merge(src proto.Message)

func (*DeployInfo) XXX_Size

func (m *DeployInfo) XXX_Size() int

func (*DeployInfo) XXX_Unmarshal

func (m *DeployInfo) XXX_Unmarshal(b []byte) error

type DiskMessage

type DiskMessage struct {
	Disks                map[string]float64 `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*DiskMessage) Descriptor

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

func (*DiskMessage) GetDisks

func (m *DiskMessage) GetDisks() map[string]float64

func (*DiskMessage) ProtoMessage

func (*DiskMessage) ProtoMessage()

func (*DiskMessage) Reset

func (m *DiskMessage) Reset()

func (*DiskMessage) String

func (m *DiskMessage) String() string

func (*DiskMessage) XXX_DiscardUnknown

func (m *DiskMessage) XXX_DiscardUnknown()

func (*DiskMessage) XXX_Marshal

func (m *DiskMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiskMessage) XXX_Merge

func (m *DiskMessage) XXX_Merge(src proto.Message)

func (*DiskMessage) XXX_Size

func (m *DiskMessage) XXX_Size() int

func (*DiskMessage) XXX_Unmarshal

func (m *DiskMessage) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type ServiceAppPod

type ServiceAppPod struct {
	ServiceId            string                `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	DeployId             string                `protobuf:"bytes,2,opt,name=deploy_id,json=deployId,proto3" json:"deploy_id,omitempty"`
	DeployType           string                `protobuf:"bytes,3,opt,name=deploy_type,json=deployType,proto3" json:"deploy_type,omitempty"`
	PodName              string                `protobuf:"bytes,4,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
	PodIp                string                `protobuf:"bytes,5,opt,name=pod_ip,json=podIp,proto3" json:"pod_ip,omitempty"`
	PodStatus            string                `protobuf:"bytes,6,opt,name=pod_status,json=podStatus,proto3" json:"pod_status,omitempty"`
	Containers           map[string]*Container `` /* 161-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ServiceAppPod) Descriptor

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

func (*ServiceAppPod) GetContainers

func (m *ServiceAppPod) GetContainers() map[string]*Container

func (*ServiceAppPod) GetDeployId

func (m *ServiceAppPod) GetDeployId() string

func (*ServiceAppPod) GetDeployType

func (m *ServiceAppPod) GetDeployType() string

func (*ServiceAppPod) GetPodIp

func (m *ServiceAppPod) GetPodIp() string

func (*ServiceAppPod) GetPodName

func (m *ServiceAppPod) GetPodName() string

func (*ServiceAppPod) GetPodStatus

func (m *ServiceAppPod) GetPodStatus() string

func (*ServiceAppPod) GetServiceId

func (m *ServiceAppPod) GetServiceId() string

func (*ServiceAppPod) ProtoMessage

func (*ServiceAppPod) ProtoMessage()

func (*ServiceAppPod) Reset

func (m *ServiceAppPod) Reset()

func (*ServiceAppPod) String

func (m *ServiceAppPod) String() string

func (*ServiceAppPod) XXX_DiscardUnknown

func (m *ServiceAppPod) XXX_DiscardUnknown()

func (*ServiceAppPod) XXX_Marshal

func (m *ServiceAppPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAppPod) XXX_Merge

func (m *ServiceAppPod) XXX_Merge(src proto.Message)

func (*ServiceAppPod) XXX_Size

func (m *ServiceAppPod) XXX_Size() int

func (*ServiceAppPod) XXX_Unmarshal

func (m *ServiceAppPod) XXX_Unmarshal(b []byte) error

type ServiceAppPodList

type ServiceAppPodList struct {
	Pods                 []*ServiceAppPod `protobuf:"bytes,1,rep,name=pods,proto3" json:"pods,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ServiceAppPodList) Descriptor

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

func (*ServiceAppPodList) GetPods

func (m *ServiceAppPodList) GetPods() []*ServiceAppPod

func (*ServiceAppPodList) ProtoMessage

func (*ServiceAppPodList) ProtoMessage()

func (*ServiceAppPodList) Reset

func (m *ServiceAppPodList) Reset()

func (*ServiceAppPodList) String

func (m *ServiceAppPodList) String() string

func (*ServiceAppPodList) XXX_DiscardUnknown

func (m *ServiceAppPodList) XXX_DiscardUnknown()

func (*ServiceAppPodList) XXX_Marshal

func (m *ServiceAppPodList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAppPodList) XXX_Merge

func (m *ServiceAppPodList) XXX_Merge(src proto.Message)

func (*ServiceAppPodList) XXX_Size

func (m *ServiceAppPodList) XXX_Size() int

func (*ServiceAppPodList) XXX_Unmarshal

func (m *ServiceAppPodList) XXX_Unmarshal(b []byte) error

type ServiceRequest

type ServiceRequest struct {
	ServiceId            string   `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServiceRequest) Descriptor

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

func (*ServiceRequest) GetServiceId

func (m *ServiceRequest) GetServiceId() string

func (*ServiceRequest) ProtoMessage

func (*ServiceRequest) ProtoMessage()

func (*ServiceRequest) Reset

func (m *ServiceRequest) Reset()

func (*ServiceRequest) String

func (m *ServiceRequest) String() string

func (*ServiceRequest) XXX_DiscardUnknown

func (m *ServiceRequest) XXX_DiscardUnknown()

func (*ServiceRequest) XXX_Marshal

func (m *ServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceRequest) XXX_Merge

func (m *ServiceRequest) XXX_Merge(src proto.Message)

func (*ServiceRequest) XXX_Size

func (m *ServiceRequest) XXX_Size() int

func (*ServiceRequest) XXX_Unmarshal

func (m *ServiceRequest) XXX_Unmarshal(b []byte) error

type ServicesRequest

type ServicesRequest struct {
	ServiceIds           string   `protobuf:"bytes,1,opt,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServicesRequest) Descriptor

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

func (*ServicesRequest) GetServiceIds

func (m *ServicesRequest) GetServiceIds() string

func (*ServicesRequest) ProtoMessage

func (*ServicesRequest) ProtoMessage()

func (*ServicesRequest) Reset

func (m *ServicesRequest) Reset()

func (*ServicesRequest) String

func (m *ServicesRequest) String() string

func (*ServicesRequest) XXX_DiscardUnknown

func (m *ServicesRequest) XXX_DiscardUnknown()

func (*ServicesRequest) XXX_Marshal

func (m *ServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServicesRequest) XXX_Merge

func (m *ServicesRequest) XXX_Merge(src proto.Message)

func (*ServicesRequest) XXX_Size

func (m *ServicesRequest) XXX_Size() int

func (*ServicesRequest) XXX_Unmarshal

func (m *ServicesRequest) XXX_Unmarshal(b []byte) error

type StatusMessage

type StatusMessage struct {
	Status               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*StatusMessage) Descriptor

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

func (*StatusMessage) GetStatus

func (m *StatusMessage) GetStatus() map[string]string

func (*StatusMessage) ProtoMessage

func (*StatusMessage) ProtoMessage()

func (*StatusMessage) Reset

func (m *StatusMessage) Reset()

func (*StatusMessage) String

func (m *StatusMessage) String() string

func (*StatusMessage) XXX_DiscardUnknown

func (m *StatusMessage) XXX_DiscardUnknown()

func (*StatusMessage) XXX_Marshal

func (m *StatusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusMessage) XXX_Merge

func (m *StatusMessage) XXX_Merge(src proto.Message)

func (*StatusMessage) XXX_Size

func (m *StatusMessage) XXX_Size() int

func (*StatusMessage) XXX_Unmarshal

func (m *StatusMessage) XXX_Unmarshal(b []byte) error

type TenantRequest

type TenantRequest struct {
	TenantId             string   `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TenantRequest) Descriptor

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

func (*TenantRequest) GetTenantId

func (m *TenantRequest) GetTenantId() string

func (*TenantRequest) ProtoMessage

func (*TenantRequest) ProtoMessage()

func (*TenantRequest) Reset

func (m *TenantRequest) Reset()

func (*TenantRequest) String

func (m *TenantRequest) String() string

func (*TenantRequest) XXX_DiscardUnknown

func (m *TenantRequest) XXX_DiscardUnknown()

func (*TenantRequest) XXX_Marshal

func (m *TenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TenantRequest) XXX_Merge

func (m *TenantRequest) XXX_Merge(src proto.Message)

func (*TenantRequest) XXX_Size

func (m *TenantRequest) XXX_Size() int

func (*TenantRequest) XXX_Unmarshal

func (m *TenantRequest) XXX_Unmarshal(b []byte) error

type TenantResource

type TenantResource struct {
	CpuRequest           int64    `protobuf:"varint,1,opt,name=cpu_request,json=cpuRequest,proto3" json:"cpu_request,omitempty"`
	CpuLimit             int64    `protobuf:"varint,2,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`
	MemoryRequest        int64    `protobuf:"varint,3,opt,name=memory_request,json=memoryRequest,proto3" json:"memory_request,omitempty"`
	MemoryLimit          int64    `protobuf:"varint,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	RunningAppNum        int64    `protobuf:"varint,5,opt,name=running_app_num,json=runningAppNum,proto3" json:"running_app_num,omitempty"`
	UnscdCpuReq          int64    `protobuf:"varint,6,opt,name=unscd_cpu_req,json=unscdCpuReq,proto3" json:"unscd_cpu_req,omitempty"`
	UnscdCpuLimit        int64    `protobuf:"varint,7,opt,name=unscd_cpu_limit,json=unscdCpuLimit,proto3" json:"unscd_cpu_limit,omitempty"`
	UnscdMemoryReq       int64    `protobuf:"varint,8,opt,name=unscd_memory_req,json=unscdMemoryReq,proto3" json:"unscd_memory_req,omitempty"`
	UnscdMemoryLimit     int64    `protobuf:"varint,9,opt,name=unscd_memory_limit,json=unscdMemoryLimit,proto3" json:"unscd_memory_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TenantResource) Descriptor

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

func (*TenantResource) GetCpuLimit

func (m *TenantResource) GetCpuLimit() int64

func (*TenantResource) GetCpuRequest

func (m *TenantResource) GetCpuRequest() int64

func (*TenantResource) GetMemoryLimit

func (m *TenantResource) GetMemoryLimit() int64

func (*TenantResource) GetMemoryRequest

func (m *TenantResource) GetMemoryRequest() int64

func (*TenantResource) GetRunningAppNum

func (m *TenantResource) GetRunningAppNum() int64

func (*TenantResource) GetUnscdCpuLimit

func (m *TenantResource) GetUnscdCpuLimit() int64

func (*TenantResource) GetUnscdCpuReq

func (m *TenantResource) GetUnscdCpuReq() int64

func (*TenantResource) GetUnscdMemoryLimit

func (m *TenantResource) GetUnscdMemoryLimit() int64

func (*TenantResource) GetUnscdMemoryReq

func (m *TenantResource) GetUnscdMemoryReq() int64

func (*TenantResource) ProtoMessage

func (*TenantResource) ProtoMessage()

func (*TenantResource) Reset

func (m *TenantResource) Reset()

func (*TenantResource) String

func (m *TenantResource) String() string

func (*TenantResource) XXX_DiscardUnknown

func (m *TenantResource) XXX_DiscardUnknown()

func (*TenantResource) XXX_Marshal

func (m *TenantResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TenantResource) XXX_Merge

func (m *TenantResource) XXX_Merge(src proto.Message)

func (*TenantResource) XXX_Size

func (m *TenantResource) XXX_Size() int

func (*TenantResource) XXX_Unmarshal

func (m *TenantResource) XXX_Unmarshal(b []byte) error

type ThirdPartyEndpoint

type ThirdPartyEndpoint struct {
	Uuid                 string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Sid                  string   `protobuf:"bytes,2,opt,name=sid,proto3" json:"sid,omitempty"`
	Ip                   string   `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Port                 int32    `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	Status               string   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	IsOnline             bool     `protobuf:"varint,6,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThirdPartyEndpoint) Descriptor

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

func (*ThirdPartyEndpoint) GetIp

func (m *ThirdPartyEndpoint) GetIp() string

func (*ThirdPartyEndpoint) GetIsOnline

func (m *ThirdPartyEndpoint) GetIsOnline() bool

func (*ThirdPartyEndpoint) GetPort

func (m *ThirdPartyEndpoint) GetPort() int32

func (*ThirdPartyEndpoint) GetSid

func (m *ThirdPartyEndpoint) GetSid() string

func (*ThirdPartyEndpoint) GetStatus

func (m *ThirdPartyEndpoint) GetStatus() string

func (*ThirdPartyEndpoint) GetUuid

func (m *ThirdPartyEndpoint) GetUuid() string

func (*ThirdPartyEndpoint) ProtoMessage

func (*ThirdPartyEndpoint) ProtoMessage()

func (*ThirdPartyEndpoint) Reset

func (m *ThirdPartyEndpoint) Reset()

func (*ThirdPartyEndpoint) String

func (m *ThirdPartyEndpoint) String() string

func (*ThirdPartyEndpoint) XXX_DiscardUnknown

func (m *ThirdPartyEndpoint) XXX_DiscardUnknown()

func (*ThirdPartyEndpoint) XXX_Marshal

func (m *ThirdPartyEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThirdPartyEndpoint) XXX_Merge

func (m *ThirdPartyEndpoint) XXX_Merge(src proto.Message)

func (*ThirdPartyEndpoint) XXX_Size

func (m *ThirdPartyEndpoint) XXX_Size() int

func (*ThirdPartyEndpoint) XXX_Unmarshal

func (m *ThirdPartyEndpoint) XXX_Unmarshal(b []byte) error

type ThirdPartyEndpoints

type ThirdPartyEndpoints struct {
	Obj                  []*ThirdPartyEndpoint `protobuf:"bytes,1,rep,name=obj,proto3" json:"obj,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ThirdPartyEndpoints) Descriptor

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

func (*ThirdPartyEndpoints) GetObj

func (m *ThirdPartyEndpoints) GetObj() []*ThirdPartyEndpoint

func (*ThirdPartyEndpoints) ProtoMessage

func (*ThirdPartyEndpoints) ProtoMessage()

func (*ThirdPartyEndpoints) Reset

func (m *ThirdPartyEndpoints) Reset()

func (*ThirdPartyEndpoints) String

func (m *ThirdPartyEndpoints) String() string

func (*ThirdPartyEndpoints) XXX_DiscardUnknown

func (m *ThirdPartyEndpoints) XXX_DiscardUnknown()

func (*ThirdPartyEndpoints) XXX_Marshal

func (m *ThirdPartyEndpoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThirdPartyEndpoints) XXX_Merge

func (m *ThirdPartyEndpoints) XXX_Merge(src proto.Message)

func (*ThirdPartyEndpoints) XXX_Size

func (m *ThirdPartyEndpoints) XXX_Size() int

func (*ThirdPartyEndpoints) XXX_Unmarshal

func (m *ThirdPartyEndpoints) XXX_Unmarshal(b []byte) error

type UpdThirdPartyEndpointsReq

type UpdThirdPartyEndpointsReq struct {
	Uuid                 string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Sid                  string   `protobuf:"bytes,2,opt,name=sid,proto3" json:"sid,omitempty"`
	Ip                   string   `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Port                 int32    `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	IsOnline             bool     `protobuf:"varint,5,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdThirdPartyEndpointsReq) Descriptor

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

func (*UpdThirdPartyEndpointsReq) GetIp

func (m *UpdThirdPartyEndpointsReq) GetIp() string

func (*UpdThirdPartyEndpointsReq) GetIsOnline

func (m *UpdThirdPartyEndpointsReq) GetIsOnline() bool

func (*UpdThirdPartyEndpointsReq) GetPort

func (m *UpdThirdPartyEndpointsReq) GetPort() int32

func (*UpdThirdPartyEndpointsReq) GetSid

func (m *UpdThirdPartyEndpointsReq) GetSid() string

func (*UpdThirdPartyEndpointsReq) GetUuid

func (m *UpdThirdPartyEndpointsReq) GetUuid() string

func (*UpdThirdPartyEndpointsReq) ProtoMessage

func (*UpdThirdPartyEndpointsReq) ProtoMessage()

func (*UpdThirdPartyEndpointsReq) Reset

func (m *UpdThirdPartyEndpointsReq) Reset()

func (*UpdThirdPartyEndpointsReq) String

func (m *UpdThirdPartyEndpointsReq) String() string

func (*UpdThirdPartyEndpointsReq) XXX_DiscardUnknown

func (m *UpdThirdPartyEndpointsReq) XXX_DiscardUnknown()

func (*UpdThirdPartyEndpointsReq) XXX_Marshal

func (m *UpdThirdPartyEndpointsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdThirdPartyEndpointsReq) XXX_Merge

func (m *UpdThirdPartyEndpointsReq) XXX_Merge(src proto.Message)

func (*UpdThirdPartyEndpointsReq) XXX_Size

func (m *UpdThirdPartyEndpointsReq) XXX_Size() int

func (*UpdThirdPartyEndpointsReq) XXX_Unmarshal

func (m *UpdThirdPartyEndpointsReq) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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