Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterKubeAPIServer(s grpc.ServiceRegistrar, srv KubeAPIServer)
- type CPUStats
- func (*CPUStats) Descriptor() ([]byte, []int)deprecated
- func (x *CPUStats) GetTimeSeconds() int64
- func (x *CPUStats) GetUsageCoreNanoseconds() uint64
- func (x *CPUStats) GetUsageNanocores() uint64
- func (*CPUStats) ProtoMessage()
- func (x *CPUStats) ProtoReflect() protoreflect.Message
- func (x *CPUStats) Reset()
- func (x *CPUStats) String() string
- type FsStats
- func (*FsStats) Descriptor() ([]byte, []int)deprecated
- func (x *FsStats) GetAvailableBytes() uint64
- func (x *FsStats) GetCapacityBytes() uint64
- func (x *FsStats) GetInodes() uint64
- func (x *FsStats) GetInodesFree() uint64
- func (x *FsStats) GetInodesUsed() uint64
- func (x *FsStats) GetTimeSeconds() int64
- func (x *FsStats) GetUsedBytes() uint64
- func (*FsStats) ProtoMessage()
- func (x *FsStats) ProtoReflect() protoreflect.Message
- func (x *FsStats) Reset()
- func (x *FsStats) String() string
- type GetClusterInfoRequest
- type GetClusterInfoResponse
- func (*GetClusterInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterInfoResponse) GetNodeCidr() []string
- func (x *GetClusterInfoResponse) GetOtherCidr() []string
- func (x *GetClusterInfoResponse) GetPodsCidr() []string
- func (x *GetClusterInfoResponse) GetServiceCidr() []string
- func (x *GetClusterInfoResponse) GetVpcCidr() []string
- func (*GetClusterInfoResponse) ProtoMessage()
- func (x *GetClusterInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetClusterInfoResponse) Reset()
- func (x *GetClusterInfoResponse) String() string
- type GetIPInfoRequest
- type GetIPInfoResponse
- type GetIPsInfoRequest
- type GetIPsInfoResponse
- func (*GetIPsInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIPsInfoResponse) GetList() []*IPInfo
- func (*GetIPsInfoResponse) ProtoMessage()
- func (x *GetIPsInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetIPsInfoResponse) Reset()
- func (x *GetIPsInfoResponse) String() string
- type GetNodeRequest
- type GetNodeResponse
- type GetNodeStatsSummaryRequest
- func (*GetNodeStatsSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeStatsSummaryRequest) GetNodeName() string
- func (*GetNodeStatsSummaryRequest) ProtoMessage()
- func (x *GetNodeStatsSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeStatsSummaryRequest) Reset()
- func (x *GetNodeStatsSummaryRequest) String() string
- type GetNodeStatsSummaryResponse
- func (*GetNodeStatsSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeStatsSummaryResponse) GetNode() *NodeStats
- func (*GetNodeStatsSummaryResponse) ProtoMessage()
- func (x *GetNodeStatsSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodeStatsSummaryResponse) Reset()
- func (x *GetNodeStatsSummaryResponse) String() string
- type GetPodRequest
- type GetPodResponse
- type GetPodVolumesRequest
- func (*GetPodVolumesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPodVolumesRequest) GetNodeName() string
- func (*GetPodVolumesRequest) ProtoMessage()
- func (x *GetPodVolumesRequest) ProtoReflect() protoreflect.Message
- func (x *GetPodVolumesRequest) Reset()
- func (x *GetPodVolumesRequest) String() string
- type GetPodVolumesResponse
- func (*GetPodVolumesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPodVolumesResponse) GetVolumes() []*PodVolumeInfo
- func (*GetPodVolumesResponse) ProtoMessage()
- func (x *GetPodVolumesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPodVolumesResponse) Reset()
- func (x *GetPodVolumesResponse) String() string
- type IPInfo
- func (*IPInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IPInfo) GetCloudDomain() string
- func (x *IPInfo) GetIp() []byte
- func (x *IPInfo) GetNamespace() string
- func (x *IPInfo) GetNodeName() string
- func (x *IPInfo) GetPodName() string
- func (x *IPInfo) GetPodUid() string
- func (x *IPInfo) GetRegion() string
- func (x *IPInfo) GetWorkloadKind() string
- func (x *IPInfo) GetWorkloadName() string
- func (x *IPInfo) GetWorkloadUid() string
- func (x *IPInfo) GetZone() string
- func (*IPInfo) ProtoMessage()
- func (x *IPInfo) ProtoReflect() protoreflect.Message
- func (x *IPInfo) Reset()
- func (x *IPInfo) String() string
- type KubeAPIClient
- type KubeAPIServer
- type MemoryStats
- func (*MemoryStats) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryStats) GetAvailableBytes() uint64
- func (x *MemoryStats) GetMajorPageFaults() uint64
- func (x *MemoryStats) GetPageFaults() uint64
- func (x *MemoryStats) GetRssBytes() uint64
- func (x *MemoryStats) GetTimeSeconds() int64
- func (x *MemoryStats) GetUsageBytes() uint64
- func (x *MemoryStats) GetWorkingSetBytes() uint64
- func (*MemoryStats) ProtoMessage()
- func (x *MemoryStats) ProtoReflect() protoreflect.Message
- func (x *MemoryStats) Reset()
- func (x *MemoryStats) String() string
- type NetworkStats
- func (*NetworkStats) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkStats) GetRxBytes() uint64
- func (x *NetworkStats) GetRxErrors() uint64
- func (x *NetworkStats) GetTimeSeconds() int64
- func (x *NetworkStats) GetTxBytes() uint64
- func (x *NetworkStats) GetTxErrors() uint64
- func (*NetworkStats) ProtoMessage()
- func (x *NetworkStats) ProtoReflect() protoreflect.Message
- func (x *NetworkStats) Reset()
- func (x *NetworkStats) String() string
- type Node
- type NodeStats
- func (*NodeStats) Descriptor() ([]byte, []int)deprecated
- func (x *NodeStats) GetCpu() *CPUStats
- func (x *NodeStats) GetFs() *FsStats
- func (x *NodeStats) GetMemory() *MemoryStats
- func (x *NodeStats) GetNetwork() *NetworkStats
- func (x *NodeStats) GetNodeName() string
- func (x *NodeStats) GetRuntime() *RuntimeStats
- func (x *NodeStats) GetStartTimeSeconds() int64
- func (*NodeStats) ProtoMessage()
- func (x *NodeStats) ProtoReflect() protoreflect.Message
- func (x *NodeStats) Reset()
- func (x *NodeStats) String() string
- type Pod
- func (*Pod) Descriptor() ([]byte, []int)deprecated
- func (x *Pod) GetNodeName() string
- func (x *Pod) GetRegion() string
- func (x *Pod) GetWorkloadKind() WorkloadKind
- func (x *Pod) GetWorkloadName() string
- func (x *Pod) GetWorkloadUid() string
- func (x *Pod) GetZone() string
- func (*Pod) ProtoMessage()
- func (x *Pod) ProtoReflect() protoreflect.Message
- func (x *Pod) Reset()
- func (x *Pod) String() string
- type PodVolumeInfo
- func (*PodVolumeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PodVolumeInfo) GetContainerName() string
- func (x *PodVolumeInfo) GetControllerKind() string
- func (x *PodVolumeInfo) GetControllerName() string
- func (x *PodVolumeInfo) GetCsiDriver() string
- func (x *PodVolumeInfo) GetCsiVolumeHandle() string
- func (x *PodVolumeInfo) GetDevicePath() string
- func (x *PodVolumeInfo) GetMountPath() string
- func (x *PodVolumeInfo) GetNamespace() string
- func (x *PodVolumeInfo) GetPodName() string
- func (x *PodVolumeInfo) GetPodUid() string
- func (x *PodVolumeInfo) GetPvName() string
- func (x *PodVolumeInfo) GetPvcName() string
- func (x *PodVolumeInfo) GetPvcUid() string
- func (x *PodVolumeInfo) GetRequestedSizeBytes() int64
- func (x *PodVolumeInfo) GetStorageClass() string
- func (x *PodVolumeInfo) GetVolumeMode() string
- func (x *PodVolumeInfo) GetVolumeName() string
- func (*PodVolumeInfo) ProtoMessage()
- func (x *PodVolumeInfo) ProtoReflect() protoreflect.Message
- func (x *PodVolumeInfo) Reset()
- func (x *PodVolumeInfo) String() string
- type RuntimeStats
- func (*RuntimeStats) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeStats) GetContainerFs() *FsStats
- func (x *RuntimeStats) GetImageFs() *FsStats
- func (x *RuntimeStats) GetTimeSeconds() int64
- func (*RuntimeStats) ProtoMessage()
- func (x *RuntimeStats) ProtoReflect() protoreflect.Message
- func (x *RuntimeStats) Reset()
- func (x *RuntimeStats) String() string
- type UnimplementedKubeAPIServer
- func (UnimplementedKubeAPIServer) GetClusterInfo(context.Context, *GetClusterInfoRequest) (*GetClusterInfoResponse, error)
- func (UnimplementedKubeAPIServer) GetIPInfo(context.Context, *GetIPInfoRequest) (*GetIPInfoResponse, error)
- func (UnimplementedKubeAPIServer) GetIPsInfo(context.Context, *GetIPsInfoRequest) (*GetIPsInfoResponse, error)
- func (UnimplementedKubeAPIServer) GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
- func (UnimplementedKubeAPIServer) GetNodeStatsSummary(context.Context, *GetNodeStatsSummaryRequest) (*GetNodeStatsSummaryResponse, error)
- func (UnimplementedKubeAPIServer) GetPod(context.Context, *GetPodRequest) (*GetPodResponse, error)
- func (UnimplementedKubeAPIServer) GetPodVolumes(context.Context, *GetPodVolumesRequest) (*GetPodVolumesResponse, error)
- type UnsafeKubeAPIServer
- type WorkloadKind
- func (WorkloadKind) Descriptor() protoreflect.EnumDescriptor
- func (x WorkloadKind) Enum() *WorkloadKind
- func (WorkloadKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkloadKind) Number() protoreflect.EnumNumber
- func (x WorkloadKind) String() string
- func (WorkloadKind) Type() protoreflect.EnumType
Constants ¶
const ( KubeAPI_GetClusterInfo_FullMethodName = "/kube.v1.KubeAPI/GetClusterInfo" KubeAPI_GetIPInfo_FullMethodName = "/kube.v1.KubeAPI/GetIPInfo" KubeAPI_GetIPsInfo_FullMethodName = "/kube.v1.KubeAPI/GetIPsInfo" KubeAPI_GetPod_FullMethodName = "/kube.v1.KubeAPI/GetPod" KubeAPI_GetNode_FullMethodName = "/kube.v1.KubeAPI/GetNode" KubeAPI_GetNodeStatsSummary_FullMethodName = "/kube.v1.KubeAPI/GetNodeStatsSummary" KubeAPI_GetPodVolumes_FullMethodName = "/kube.v1.KubeAPI/GetPodVolumes" )
Variables ¶
var ( WorkloadKind_name = map[int32]string{ 0: "WORKLOAD_KIND_UNKNOWN", 1: "WORKLOAD_KIND_DEPLOYMENT", 2: "WORKLOAD_KIND_REPLICA_SET", 3: "WORKLOAD_KIND_STATEFUL_SET", 4: "WORKLOAD_KIND_DAEMON_SET", 5: "WORKLOAD_KIND_JOB", 6: "WORKLOAD_KIND_CRONJOB", 7: "WORKLOAD_KIND_POD", } WorkloadKind_value = map[string]int32{ "WORKLOAD_KIND_UNKNOWN": 0, "WORKLOAD_KIND_DEPLOYMENT": 1, "WORKLOAD_KIND_REPLICA_SET": 2, "WORKLOAD_KIND_STATEFUL_SET": 3, "WORKLOAD_KIND_DAEMON_SET": 4, "WORKLOAD_KIND_JOB": 5, "WORKLOAD_KIND_CRONJOB": 6, "WORKLOAD_KIND_POD": 7, } )
Enum value maps for WorkloadKind.
var File_api_v1_kube_kube_api_proto protoreflect.FileDescriptor
var KubeAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kube.v1.KubeAPI", HandlerType: (*KubeAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetClusterInfo", Handler: _KubeAPI_GetClusterInfo_Handler, }, { MethodName: "GetIPInfo", Handler: _KubeAPI_GetIPInfo_Handler, }, { MethodName: "GetIPsInfo", Handler: _KubeAPI_GetIPsInfo_Handler, }, { MethodName: "GetPod", Handler: _KubeAPI_GetPod_Handler, }, { MethodName: "GetNode", Handler: _KubeAPI_GetNode_Handler, }, { MethodName: "GetNodeStatsSummary", Handler: _KubeAPI_GetNodeStatsSummary_Handler, }, { MethodName: "GetPodVolumes", Handler: _KubeAPI_GetPodVolumes_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/kube/kube_api.proto", }
KubeAPI_ServiceDesc is the grpc.ServiceDesc for KubeAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKubeAPIServer ¶
func RegisterKubeAPIServer(s grpc.ServiceRegistrar, srv KubeAPIServer)
Types ¶
type CPUStats ¶ added in v1.46.0
type CPUStats struct {
TimeSeconds int64 `protobuf:"varint,1,opt,name=time_seconds,json=timeSeconds,proto3" json:"time_seconds,omitempty"`
UsageNanocores uint64 `protobuf:"varint,2,opt,name=usage_nanocores,json=usageNanocores,proto3" json:"usage_nanocores,omitempty"`
UsageCoreNanoseconds uint64 `protobuf:"varint,3,opt,name=usage_core_nanoseconds,json=usageCoreNanoseconds,proto3" json:"usage_core_nanoseconds,omitempty"`
// contains filtered or unexported fields
}
func (*CPUStats) Descriptor
deprecated
added in
v1.46.0
func (*CPUStats) GetTimeSeconds ¶ added in v1.46.0
func (*CPUStats) GetUsageCoreNanoseconds ¶ added in v1.46.0
func (*CPUStats) GetUsageNanocores ¶ added in v1.46.0
func (*CPUStats) ProtoMessage ¶ added in v1.46.0
func (*CPUStats) ProtoMessage()
func (*CPUStats) ProtoReflect ¶ added in v1.46.0
func (x *CPUStats) ProtoReflect() protoreflect.Message
type FsStats ¶ added in v1.46.0
type FsStats struct {
TimeSeconds int64 `protobuf:"varint,1,opt,name=time_seconds,json=timeSeconds,proto3" json:"time_seconds,omitempty"`
AvailableBytes uint64 `protobuf:"varint,2,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"`
CapacityBytes uint64 `protobuf:"varint,3,opt,name=capacity_bytes,json=capacityBytes,proto3" json:"capacity_bytes,omitempty"`
UsedBytes uint64 `protobuf:"varint,4,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
InodesFree uint64 `protobuf:"varint,5,opt,name=inodes_free,json=inodesFree,proto3" json:"inodes_free,omitempty"`
Inodes uint64 `protobuf:"varint,6,opt,name=inodes,proto3" json:"inodes,omitempty"`
InodesUsed uint64 `protobuf:"varint,7,opt,name=inodes_used,json=inodesUsed,proto3" json:"inodes_used,omitempty"`
// contains filtered or unexported fields
}
func (*FsStats) Descriptor
deprecated
added in
v1.46.0
func (*FsStats) GetAvailableBytes ¶ added in v1.46.0
func (*FsStats) GetCapacityBytes ¶ added in v1.46.0
func (*FsStats) GetInodesFree ¶ added in v1.46.0
func (*FsStats) GetInodesUsed ¶ added in v1.46.0
func (*FsStats) GetTimeSeconds ¶ added in v1.46.0
func (*FsStats) GetUsedBytes ¶ added in v1.46.0
func (*FsStats) ProtoMessage ¶ added in v1.46.0
func (*FsStats) ProtoMessage()
func (*FsStats) ProtoReflect ¶ added in v1.46.0
func (x *FsStats) ProtoReflect() protoreflect.Message
type GetClusterInfoRequest ¶
type GetClusterInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetClusterInfoRequest) Descriptor
deprecated
func (*GetClusterInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterInfoRequest.ProtoReflect.Descriptor instead.
func (*GetClusterInfoRequest) ProtoMessage ¶
func (*GetClusterInfoRequest) ProtoMessage()
func (*GetClusterInfoRequest) ProtoReflect ¶
func (x *GetClusterInfoRequest) ProtoReflect() protoreflect.Message
func (*GetClusterInfoRequest) Reset ¶
func (x *GetClusterInfoRequest) Reset()
func (*GetClusterInfoRequest) String ¶
func (x *GetClusterInfoRequest) String() string
type GetClusterInfoResponse ¶
type GetClusterInfoResponse struct {
PodsCidr []string `protobuf:"bytes,1,rep,name=pods_cidr,json=podsCidr,proto3" json:"pods_cidr,omitempty"`
ServiceCidr []string `protobuf:"bytes,2,rep,name=service_cidr,json=serviceCidr,proto3" json:"service_cidr,omitempty"`
NodeCidr []string `protobuf:"bytes,4,rep,name=node_cidr,json=nodeCidr,proto3" json:"node_cidr,omitempty"`
VpcCidr []string `protobuf:"bytes,5,rep,name=vpc_cidr,json=vpcCidr,proto3" json:"vpc_cidr,omitempty"`
// other_cidr is a list of known cloud services CIDRs
OtherCidr []string `protobuf:"bytes,3,rep,name=other_cidr,json=otherCidr,proto3" json:"other_cidr,omitempty"`
// contains filtered or unexported fields
}
func (*GetClusterInfoResponse) Descriptor
deprecated
func (*GetClusterInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterInfoResponse.ProtoReflect.Descriptor instead.
func (*GetClusterInfoResponse) GetNodeCidr ¶ added in v1.48.4
func (x *GetClusterInfoResponse) GetNodeCidr() []string
func (*GetClusterInfoResponse) GetOtherCidr ¶ added in v1.48.4
func (x *GetClusterInfoResponse) GetOtherCidr() []string
func (*GetClusterInfoResponse) GetPodsCidr ¶
func (x *GetClusterInfoResponse) GetPodsCidr() []string
func (*GetClusterInfoResponse) GetServiceCidr ¶
func (x *GetClusterInfoResponse) GetServiceCidr() []string
func (*GetClusterInfoResponse) GetVpcCidr ¶ added in v1.48.4
func (x *GetClusterInfoResponse) GetVpcCidr() []string
func (*GetClusterInfoResponse) ProtoMessage ¶
func (*GetClusterInfoResponse) ProtoMessage()
func (*GetClusterInfoResponse) ProtoReflect ¶
func (x *GetClusterInfoResponse) ProtoReflect() protoreflect.Message
func (*GetClusterInfoResponse) Reset ¶
func (x *GetClusterInfoResponse) Reset()
func (*GetClusterInfoResponse) String ¶
func (x *GetClusterInfoResponse) String() string
type GetIPInfoRequest ¶
type GetIPInfoRequest struct {
Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// contains filtered or unexported fields
}
func (*GetIPInfoRequest) Descriptor
deprecated
func (*GetIPInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIPInfoRequest.ProtoReflect.Descriptor instead.
func (*GetIPInfoRequest) GetIp ¶
func (x *GetIPInfoRequest) GetIp() []byte
func (*GetIPInfoRequest) ProtoMessage ¶
func (*GetIPInfoRequest) ProtoMessage()
func (*GetIPInfoRequest) ProtoReflect ¶
func (x *GetIPInfoRequest) ProtoReflect() protoreflect.Message
func (*GetIPInfoRequest) Reset ¶
func (x *GetIPInfoRequest) Reset()
func (*GetIPInfoRequest) String ¶
func (x *GetIPInfoRequest) String() string
type GetIPInfoResponse ¶
type GetIPInfoResponse struct {
Info *IPInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
// contains filtered or unexported fields
}
func (*GetIPInfoResponse) Descriptor
deprecated
func (*GetIPInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIPInfoResponse.ProtoReflect.Descriptor instead.
func (*GetIPInfoResponse) GetInfo ¶
func (x *GetIPInfoResponse) GetInfo() *IPInfo
func (*GetIPInfoResponse) ProtoMessage ¶
func (*GetIPInfoResponse) ProtoMessage()
func (*GetIPInfoResponse) ProtoReflect ¶
func (x *GetIPInfoResponse) ProtoReflect() protoreflect.Message
func (*GetIPInfoResponse) Reset ¶
func (x *GetIPInfoResponse) Reset()
func (*GetIPInfoResponse) String ¶
func (x *GetIPInfoResponse) String() string
type GetIPsInfoRequest ¶ added in v1.45.0
type GetIPsInfoRequest struct {
Ips [][]byte `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"`
// contains filtered or unexported fields
}
func (*GetIPsInfoRequest) Descriptor
deprecated
added in
v1.45.0
func (*GetIPsInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIPsInfoRequest.ProtoReflect.Descriptor instead.
func (*GetIPsInfoRequest) GetIps ¶ added in v1.45.0
func (x *GetIPsInfoRequest) GetIps() [][]byte
func (*GetIPsInfoRequest) ProtoMessage ¶ added in v1.45.0
func (*GetIPsInfoRequest) ProtoMessage()
func (*GetIPsInfoRequest) ProtoReflect ¶ added in v1.45.0
func (x *GetIPsInfoRequest) ProtoReflect() protoreflect.Message
func (*GetIPsInfoRequest) Reset ¶ added in v1.45.0
func (x *GetIPsInfoRequest) Reset()
func (*GetIPsInfoRequest) String ¶ added in v1.45.0
func (x *GetIPsInfoRequest) String() string
type GetIPsInfoResponse ¶ added in v1.45.0
type GetIPsInfoResponse struct {
List []*IPInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*GetIPsInfoResponse) Descriptor
deprecated
added in
v1.45.0
func (*GetIPsInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIPsInfoResponse.ProtoReflect.Descriptor instead.
func (*GetIPsInfoResponse) GetList ¶ added in v1.45.0
func (x *GetIPsInfoResponse) GetList() []*IPInfo
func (*GetIPsInfoResponse) ProtoMessage ¶ added in v1.45.0
func (*GetIPsInfoResponse) ProtoMessage()
func (*GetIPsInfoResponse) ProtoReflect ¶ added in v1.45.0
func (x *GetIPsInfoResponse) ProtoReflect() protoreflect.Message
func (*GetIPsInfoResponse) Reset ¶ added in v1.45.0
func (x *GetIPsInfoResponse) Reset()
func (*GetIPsInfoResponse) String ¶ added in v1.45.0
func (x *GetIPsInfoResponse) String() string
type GetNodeRequest ¶ added in v1.43.1
type GetNodeRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetNodeRequest) Descriptor
deprecated
added in
v1.43.1
func (*GetNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.
func (*GetNodeRequest) GetName ¶ added in v1.43.1
func (x *GetNodeRequest) GetName() string
func (*GetNodeRequest) ProtoMessage ¶ added in v1.43.1
func (*GetNodeRequest) ProtoMessage()
func (*GetNodeRequest) ProtoReflect ¶ added in v1.43.1
func (x *GetNodeRequest) ProtoReflect() protoreflect.Message
func (*GetNodeRequest) Reset ¶ added in v1.43.1
func (x *GetNodeRequest) Reset()
func (*GetNodeRequest) String ¶ added in v1.43.1
func (x *GetNodeRequest) String() string
type GetNodeResponse ¶ added in v1.43.1
type GetNodeResponse struct {
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// contains filtered or unexported fields
}
func (*GetNodeResponse) Descriptor
deprecated
added in
v1.43.1
func (*GetNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeResponse.ProtoReflect.Descriptor instead.
func (*GetNodeResponse) GetNode ¶ added in v1.43.1
func (x *GetNodeResponse) GetNode() *Node
func (*GetNodeResponse) ProtoMessage ¶ added in v1.43.1
func (*GetNodeResponse) ProtoMessage()
func (*GetNodeResponse) ProtoReflect ¶ added in v1.43.1
func (x *GetNodeResponse) ProtoReflect() protoreflect.Message
func (*GetNodeResponse) Reset ¶ added in v1.43.1
func (x *GetNodeResponse) Reset()
func (*GetNodeResponse) String ¶ added in v1.43.1
func (x *GetNodeResponse) String() string
type GetNodeStatsSummaryRequest ¶ added in v1.46.0
type GetNodeStatsSummaryRequest struct {
NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetNodeStatsSummaryRequest) Descriptor
deprecated
added in
v1.46.0
func (*GetNodeStatsSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeStatsSummaryRequest.ProtoReflect.Descriptor instead.
func (*GetNodeStatsSummaryRequest) GetNodeName ¶ added in v1.46.0
func (x *GetNodeStatsSummaryRequest) GetNodeName() string
func (*GetNodeStatsSummaryRequest) ProtoMessage ¶ added in v1.46.0
func (*GetNodeStatsSummaryRequest) ProtoMessage()
func (*GetNodeStatsSummaryRequest) ProtoReflect ¶ added in v1.46.0
func (x *GetNodeStatsSummaryRequest) ProtoReflect() protoreflect.Message
func (*GetNodeStatsSummaryRequest) Reset ¶ added in v1.46.0
func (x *GetNodeStatsSummaryRequest) Reset()
func (*GetNodeStatsSummaryRequest) String ¶ added in v1.46.0
func (x *GetNodeStatsSummaryRequest) String() string
type GetNodeStatsSummaryResponse ¶ added in v1.46.0
type GetNodeStatsSummaryResponse struct {
Node *NodeStats `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// contains filtered or unexported fields
}
func (*GetNodeStatsSummaryResponse) Descriptor
deprecated
added in
v1.46.0
func (*GetNodeStatsSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeStatsSummaryResponse.ProtoReflect.Descriptor instead.
func (*GetNodeStatsSummaryResponse) GetNode ¶ added in v1.46.0
func (x *GetNodeStatsSummaryResponse) GetNode() *NodeStats
func (*GetNodeStatsSummaryResponse) ProtoMessage ¶ added in v1.46.0
func (*GetNodeStatsSummaryResponse) ProtoMessage()
func (*GetNodeStatsSummaryResponse) ProtoReflect ¶ added in v1.46.0
func (x *GetNodeStatsSummaryResponse) ProtoReflect() protoreflect.Message
func (*GetNodeStatsSummaryResponse) Reset ¶ added in v1.46.0
func (x *GetNodeStatsSummaryResponse) Reset()
func (*GetNodeStatsSummaryResponse) String ¶ added in v1.46.0
func (x *GetNodeStatsSummaryResponse) String() string
type GetPodRequest ¶
type GetPodRequest struct {
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}
func (*GetPodRequest) Descriptor
deprecated
func (*GetPodRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPodRequest.ProtoReflect.Descriptor instead.
func (*GetPodRequest) GetUid ¶
func (x *GetPodRequest) GetUid() string
func (*GetPodRequest) ProtoMessage ¶
func (*GetPodRequest) ProtoMessage()
func (*GetPodRequest) ProtoReflect ¶
func (x *GetPodRequest) ProtoReflect() protoreflect.Message
func (*GetPodRequest) Reset ¶
func (x *GetPodRequest) Reset()
func (*GetPodRequest) String ¶
func (x *GetPodRequest) String() string
type GetPodResponse ¶
type GetPodResponse struct {
Pod *Pod `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
// contains filtered or unexported fields
}
func (*GetPodResponse) Descriptor
deprecated
func (*GetPodResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPodResponse.ProtoReflect.Descriptor instead.
func (*GetPodResponse) GetPod ¶
func (x *GetPodResponse) GetPod() *Pod
func (*GetPodResponse) ProtoMessage ¶
func (*GetPodResponse) ProtoMessage()
func (*GetPodResponse) ProtoReflect ¶
func (x *GetPodResponse) ProtoReflect() protoreflect.Message
func (*GetPodResponse) Reset ¶
func (x *GetPodResponse) Reset()
func (*GetPodResponse) String ¶
func (x *GetPodResponse) String() string
type GetPodVolumesRequest ¶ added in v1.48.4
type GetPodVolumesRequest struct {
NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetPodVolumesRequest) Descriptor
deprecated
added in
v1.48.4
func (*GetPodVolumesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPodVolumesRequest.ProtoReflect.Descriptor instead.
func (*GetPodVolumesRequest) GetNodeName ¶ added in v1.48.4
func (x *GetPodVolumesRequest) GetNodeName() string
func (*GetPodVolumesRequest) ProtoMessage ¶ added in v1.48.4
func (*GetPodVolumesRequest) ProtoMessage()
func (*GetPodVolumesRequest) ProtoReflect ¶ added in v1.48.4
func (x *GetPodVolumesRequest) ProtoReflect() protoreflect.Message
func (*GetPodVolumesRequest) Reset ¶ added in v1.48.4
func (x *GetPodVolumesRequest) Reset()
func (*GetPodVolumesRequest) String ¶ added in v1.48.4
func (x *GetPodVolumesRequest) String() string
type GetPodVolumesResponse ¶ added in v1.48.4
type GetPodVolumesResponse struct {
Volumes []*PodVolumeInfo `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
// contains filtered or unexported fields
}
func (*GetPodVolumesResponse) Descriptor
deprecated
added in
v1.48.4
func (*GetPodVolumesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPodVolumesResponse.ProtoReflect.Descriptor instead.
func (*GetPodVolumesResponse) GetVolumes ¶ added in v1.48.4
func (x *GetPodVolumesResponse) GetVolumes() []*PodVolumeInfo
func (*GetPodVolumesResponse) ProtoMessage ¶ added in v1.48.4
func (*GetPodVolumesResponse) ProtoMessage()
func (*GetPodVolumesResponse) ProtoReflect ¶ added in v1.48.4
func (x *GetPodVolumesResponse) ProtoReflect() protoreflect.Message
func (*GetPodVolumesResponse) Reset ¶ added in v1.48.4
func (x *GetPodVolumesResponse) Reset()
func (*GetPodVolumesResponse) String ¶ added in v1.48.4
func (x *GetPodVolumesResponse) String() string
type IPInfo ¶
type IPInfo struct {
PodUid string `protobuf:"bytes,1,opt,name=pod_uid,json=podUid,proto3" json:"pod_uid,omitempty"`
PodName string `protobuf:"bytes,3,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
WorkloadName string `protobuf:"bytes,4,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"`
WorkloadKind string `protobuf:"bytes,5,opt,name=workload_kind,json=workloadKind,proto3" json:"workload_kind,omitempty"`
WorkloadUid string `protobuf:"bytes,6,opt,name=workload_uid,json=workloadUid,proto3" json:"workload_uid,omitempty"`
Zone string `protobuf:"bytes,7,opt,name=zone,proto3" json:"zone,omitempty"`
Region string `protobuf:"bytes,10,opt,name=region,proto3" json:"region,omitempty"`
NodeName string `protobuf:"bytes,8,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
CloudDomain string `protobuf:"bytes,11,opt,name=cloud_domain,json=cloudDomain,proto3" json:"cloud_domain,omitempty"`
Ip []byte `protobuf:"bytes,9,opt,name=ip,proto3" json:"ip,omitempty"`
// contains filtered or unexported fields
}
func (*IPInfo) Descriptor
deprecated
func (*IPInfo) GetCloudDomain ¶ added in v1.48.4
func (*IPInfo) GetNamespace ¶
func (*IPInfo) GetNodeName ¶ added in v1.21.0
func (*IPInfo) GetPodName ¶
func (*IPInfo) GetWorkloadKind ¶
func (*IPInfo) GetWorkloadName ¶
func (*IPInfo) GetWorkloadUid ¶
func (*IPInfo) ProtoMessage ¶
func (*IPInfo) ProtoMessage()
func (*IPInfo) ProtoReflect ¶
func (x *IPInfo) ProtoReflect() protoreflect.Message
type KubeAPIClient ¶
type KubeAPIClient interface {
GetClusterInfo(ctx context.Context, in *GetClusterInfoRequest, opts ...grpc.CallOption) (*GetClusterInfoResponse, error)
// GetIPInfo is deprecated, use GetIPsInfo.
GetIPInfo(ctx context.Context, in *GetIPInfoRequest, opts ...grpc.CallOption) (*GetIPInfoResponse, error)
GetIPsInfo(ctx context.Context, in *GetIPsInfoRequest, opts ...grpc.CallOption) (*GetIPsInfoResponse, error)
GetPod(ctx context.Context, in *GetPodRequest, opts ...grpc.CallOption) (*GetPodResponse, error)
GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error)
GetNodeStatsSummary(ctx context.Context, in *GetNodeStatsSummaryRequest, opts ...grpc.CallOption) (*GetNodeStatsSummaryResponse, error)
GetPodVolumes(ctx context.Context, in *GetPodVolumesRequest, opts ...grpc.CallOption) (*GetPodVolumesResponse, error)
}
KubeAPIClient is the client API for KubeAPI 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 NewKubeAPIClient ¶
func NewKubeAPIClient(cc grpc.ClientConnInterface) KubeAPIClient
type KubeAPIServer ¶
type KubeAPIServer interface {
GetClusterInfo(context.Context, *GetClusterInfoRequest) (*GetClusterInfoResponse, error)
// GetIPInfo is deprecated, use GetIPsInfo.
GetIPInfo(context.Context, *GetIPInfoRequest) (*GetIPInfoResponse, error)
GetIPsInfo(context.Context, *GetIPsInfoRequest) (*GetIPsInfoResponse, error)
GetPod(context.Context, *GetPodRequest) (*GetPodResponse, error)
GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
GetNodeStatsSummary(context.Context, *GetNodeStatsSummaryRequest) (*GetNodeStatsSummaryResponse, error)
GetPodVolumes(context.Context, *GetPodVolumesRequest) (*GetPodVolumesResponse, error)
}
KubeAPIServer is the server API for KubeAPI service. All implementations should embed UnimplementedKubeAPIServer for forward compatibility.
type MemoryStats ¶ added in v1.46.0
type MemoryStats struct {
TimeSeconds int64 `protobuf:"varint,1,opt,name=time_seconds,json=timeSeconds,proto3" json:"time_seconds,omitempty"`
AvailableBytes uint64 `protobuf:"varint,2,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"`
UsageBytes uint64 `protobuf:"varint,3,opt,name=usage_bytes,json=usageBytes,proto3" json:"usage_bytes,omitempty"`
WorkingSetBytes uint64 `protobuf:"varint,4,opt,name=working_set_bytes,json=workingSetBytes,proto3" json:"working_set_bytes,omitempty"`
RssBytes uint64 `protobuf:"varint,5,opt,name=rss_bytes,json=rssBytes,proto3" json:"rss_bytes,omitempty"`
PageFaults uint64 `protobuf:"varint,6,opt,name=page_faults,json=pageFaults,proto3" json:"page_faults,omitempty"`
MajorPageFaults uint64 `protobuf:"varint,7,opt,name=major_page_faults,json=majorPageFaults,proto3" json:"major_page_faults,omitempty"`
// contains filtered or unexported fields
}
func (*MemoryStats) Descriptor
deprecated
added in
v1.46.0
func (*MemoryStats) Descriptor() ([]byte, []int)
Deprecated: Use MemoryStats.ProtoReflect.Descriptor instead.
func (*MemoryStats) GetAvailableBytes ¶ added in v1.46.0
func (x *MemoryStats) GetAvailableBytes() uint64
func (*MemoryStats) GetMajorPageFaults ¶ added in v1.46.0
func (x *MemoryStats) GetMajorPageFaults() uint64
func (*MemoryStats) GetPageFaults ¶ added in v1.46.0
func (x *MemoryStats) GetPageFaults() uint64
func (*MemoryStats) GetRssBytes ¶ added in v1.46.0
func (x *MemoryStats) GetRssBytes() uint64
func (*MemoryStats) GetTimeSeconds ¶ added in v1.46.0
func (x *MemoryStats) GetTimeSeconds() int64
func (*MemoryStats) GetUsageBytes ¶ added in v1.46.0
func (x *MemoryStats) GetUsageBytes() uint64
func (*MemoryStats) GetWorkingSetBytes ¶ added in v1.46.0
func (x *MemoryStats) GetWorkingSetBytes() uint64
func (*MemoryStats) ProtoMessage ¶ added in v1.46.0
func (*MemoryStats) ProtoMessage()
func (*MemoryStats) ProtoReflect ¶ added in v1.46.0
func (x *MemoryStats) ProtoReflect() protoreflect.Message
func (*MemoryStats) Reset ¶ added in v1.46.0
func (x *MemoryStats) Reset()
func (*MemoryStats) String ¶ added in v1.46.0
func (x *MemoryStats) String() string
type NetworkStats ¶ added in v1.46.0
type NetworkStats struct {
TimeSeconds int64 `protobuf:"varint,1,opt,name=time_seconds,json=timeSeconds,proto3" json:"time_seconds,omitempty"`
RxBytes uint64 `protobuf:"varint,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
RxErrors uint64 `protobuf:"varint,3,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"`
TxBytes uint64 `protobuf:"varint,4,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
TxErrors uint64 `protobuf:"varint,5,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkStats) Descriptor
deprecated
added in
v1.46.0
func (*NetworkStats) Descriptor() ([]byte, []int)
Deprecated: Use NetworkStats.ProtoReflect.Descriptor instead.
func (*NetworkStats) GetRxBytes ¶ added in v1.46.0
func (x *NetworkStats) GetRxBytes() uint64
func (*NetworkStats) GetRxErrors ¶ added in v1.46.0
func (x *NetworkStats) GetRxErrors() uint64
func (*NetworkStats) GetTimeSeconds ¶ added in v1.46.0
func (x *NetworkStats) GetTimeSeconds() int64
func (*NetworkStats) GetTxBytes ¶ added in v1.46.0
func (x *NetworkStats) GetTxBytes() uint64
func (*NetworkStats) GetTxErrors ¶ added in v1.46.0
func (x *NetworkStats) GetTxErrors() uint64
func (*NetworkStats) ProtoMessage ¶ added in v1.46.0
func (*NetworkStats) ProtoMessage()
func (*NetworkStats) ProtoReflect ¶ added in v1.46.0
func (x *NetworkStats) ProtoReflect() protoreflect.Message
func (*NetworkStats) Reset ¶ added in v1.46.0
func (x *NetworkStats) Reset()
func (*NetworkStats) String ¶ added in v1.46.0
func (x *NetworkStats) String() string
type Node ¶ added in v1.43.1
type Node struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Node) Descriptor
deprecated
added in
v1.43.1
func (*Node) ProtoMessage ¶ added in v1.43.1
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶ added in v1.43.1
func (x *Node) ProtoReflect() protoreflect.Message
type NodeStats ¶ added in v1.46.0
type NodeStats struct {
NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
StartTimeSeconds int64 `protobuf:"varint,2,opt,name=start_time_seconds,json=startTimeSeconds,proto3" json:"start_time_seconds,omitempty"`
Cpu *CPUStats `protobuf:"bytes,3,opt,name=cpu,proto3" json:"cpu,omitempty"`
Memory *MemoryStats `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"`
Network *NetworkStats `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
Fs *FsStats `protobuf:"bytes,6,opt,name=fs,proto3" json:"fs,omitempty"`
Runtime *RuntimeStats `protobuf:"bytes,7,opt,name=runtime,proto3" json:"runtime,omitempty"`
// contains filtered or unexported fields
}
func (*NodeStats) Descriptor
deprecated
added in
v1.46.0
func (*NodeStats) GetMemory ¶ added in v1.46.0
func (x *NodeStats) GetMemory() *MemoryStats
func (*NodeStats) GetNetwork ¶ added in v1.46.0
func (x *NodeStats) GetNetwork() *NetworkStats
func (*NodeStats) GetNodeName ¶ added in v1.46.0
func (*NodeStats) GetRuntime ¶ added in v1.46.0
func (x *NodeStats) GetRuntime() *RuntimeStats
func (*NodeStats) GetStartTimeSeconds ¶ added in v1.46.0
func (*NodeStats) ProtoMessage ¶ added in v1.46.0
func (*NodeStats) ProtoMessage()
func (*NodeStats) ProtoReflect ¶ added in v1.46.0
func (x *NodeStats) ProtoReflect() protoreflect.Message
type Pod ¶
type Pod struct {
WorkloadUid string `protobuf:"bytes,1,opt,name=workload_uid,json=workloadUid,proto3" json:"workload_uid,omitempty"`
WorkloadName string `protobuf:"bytes,2,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"`
WorkloadKind WorkloadKind `protobuf:"varint,3,opt,name=workload_kind,json=workloadKind,proto3,enum=kube.v1.WorkloadKind" json:"workload_kind,omitempty"`
Zone string `protobuf:"bytes,4,opt,name=zone,proto3" json:"zone,omitempty"`
Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
NodeName string `protobuf:"bytes,5,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
// contains filtered or unexported fields
}
func (*Pod) Descriptor
deprecated
func (*Pod) GetNodeName ¶ added in v1.21.0
func (*Pod) GetWorkloadKind ¶
func (x *Pod) GetWorkloadKind() WorkloadKind
func (*Pod) GetWorkloadName ¶
func (*Pod) GetWorkloadUid ¶ added in v1.10.1
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
type PodVolumeInfo ¶ added in v1.48.4
type PodVolumeInfo struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
PodName string `protobuf:"bytes,2,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
PodUid string `protobuf:"bytes,3,opt,name=pod_uid,json=podUid,proto3" json:"pod_uid,omitempty"`
ControllerKind string `protobuf:"bytes,4,opt,name=controller_kind,json=controllerKind,proto3" json:"controller_kind,omitempty"`
ControllerName string `protobuf:"bytes,5,opt,name=controller_name,json=controllerName,proto3" json:"controller_name,omitempty"`
ContainerName string `protobuf:"bytes,6,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
VolumeName string `protobuf:"bytes,7,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
MountPath string `protobuf:"bytes,8,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
PvcName string `protobuf:"bytes,9,opt,name=pvc_name,json=pvcName,proto3" json:"pvc_name,omitempty"`
PvcUid string `protobuf:"bytes,10,opt,name=pvc_uid,json=pvcUid,proto3" json:"pvc_uid,omitempty"`
RequestedSizeBytes int64 `protobuf:"varint,11,opt,name=requested_size_bytes,json=requestedSizeBytes,proto3" json:"requested_size_bytes,omitempty"`
PvName string `protobuf:"bytes,12,opt,name=pv_name,json=pvName,proto3" json:"pv_name,omitempty"`
StorageClass string `protobuf:"bytes,13,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
CsiDriver string `protobuf:"bytes,14,opt,name=csi_driver,json=csiDriver,proto3" json:"csi_driver,omitempty"`
CsiVolumeHandle string `protobuf:"bytes,15,opt,name=csi_volume_handle,json=csiVolumeHandle,proto3" json:"csi_volume_handle,omitempty"`
VolumeMode string `protobuf:"bytes,16,opt,name=volume_mode,json=volumeMode,proto3" json:"volume_mode,omitempty"` // "Filesystem" or "Block"
DevicePath string `protobuf:"bytes,17,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"` // For block volumes: container's volumeDevices[].devicePath
// contains filtered or unexported fields
}
func (*PodVolumeInfo) Descriptor
deprecated
added in
v1.48.4
func (*PodVolumeInfo) Descriptor() ([]byte, []int)
Deprecated: Use PodVolumeInfo.ProtoReflect.Descriptor instead.
func (*PodVolumeInfo) GetContainerName ¶ added in v1.48.4
func (x *PodVolumeInfo) GetContainerName() string
func (*PodVolumeInfo) GetControllerKind ¶ added in v1.48.4
func (x *PodVolumeInfo) GetControllerKind() string
func (*PodVolumeInfo) GetControllerName ¶ added in v1.48.4
func (x *PodVolumeInfo) GetControllerName() string
func (*PodVolumeInfo) GetCsiDriver ¶ added in v1.48.4
func (x *PodVolumeInfo) GetCsiDriver() string
func (*PodVolumeInfo) GetCsiVolumeHandle ¶ added in v1.48.4
func (x *PodVolumeInfo) GetCsiVolumeHandle() string
func (*PodVolumeInfo) GetDevicePath ¶ added in v1.48.4
func (x *PodVolumeInfo) GetDevicePath() string
func (*PodVolumeInfo) GetMountPath ¶ added in v1.48.4
func (x *PodVolumeInfo) GetMountPath() string
func (*PodVolumeInfo) GetNamespace ¶ added in v1.48.4
func (x *PodVolumeInfo) GetNamespace() string
func (*PodVolumeInfo) GetPodName ¶ added in v1.48.4
func (x *PodVolumeInfo) GetPodName() string
func (*PodVolumeInfo) GetPodUid ¶ added in v1.48.4
func (x *PodVolumeInfo) GetPodUid() string
func (*PodVolumeInfo) GetPvName ¶ added in v1.48.4
func (x *PodVolumeInfo) GetPvName() string
func (*PodVolumeInfo) GetPvcName ¶ added in v1.48.4
func (x *PodVolumeInfo) GetPvcName() string
func (*PodVolumeInfo) GetPvcUid ¶ added in v1.48.4
func (x *PodVolumeInfo) GetPvcUid() string
func (*PodVolumeInfo) GetRequestedSizeBytes ¶ added in v1.48.4
func (x *PodVolumeInfo) GetRequestedSizeBytes() int64
func (*PodVolumeInfo) GetStorageClass ¶ added in v1.48.4
func (x *PodVolumeInfo) GetStorageClass() string
func (*PodVolumeInfo) GetVolumeMode ¶ added in v1.48.4
func (x *PodVolumeInfo) GetVolumeMode() string
func (*PodVolumeInfo) GetVolumeName ¶ added in v1.48.4
func (x *PodVolumeInfo) GetVolumeName() string
func (*PodVolumeInfo) ProtoMessage ¶ added in v1.48.4
func (*PodVolumeInfo) ProtoMessage()
func (*PodVolumeInfo) ProtoReflect ¶ added in v1.48.4
func (x *PodVolumeInfo) ProtoReflect() protoreflect.Message
func (*PodVolumeInfo) Reset ¶ added in v1.48.4
func (x *PodVolumeInfo) Reset()
func (*PodVolumeInfo) String ¶ added in v1.48.4
func (x *PodVolumeInfo) String() string
type RuntimeStats ¶ added in v1.46.0
type RuntimeStats struct {
TimeSeconds int64 `protobuf:"varint,1,opt,name=time_seconds,json=timeSeconds,proto3" json:"time_seconds,omitempty"`
ImageFs *FsStats `protobuf:"bytes,2,opt,name=image_fs,json=imageFs,proto3" json:"image_fs,omitempty"`
ContainerFs *FsStats `protobuf:"bytes,3,opt,name=container_fs,json=containerFs,proto3" json:"container_fs,omitempty"`
// contains filtered or unexported fields
}
func (*RuntimeStats) Descriptor
deprecated
added in
v1.46.0
func (*RuntimeStats) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeStats.ProtoReflect.Descriptor instead.
func (*RuntimeStats) GetContainerFs ¶ added in v1.46.0
func (x *RuntimeStats) GetContainerFs() *FsStats
func (*RuntimeStats) GetImageFs ¶ added in v1.46.0
func (x *RuntimeStats) GetImageFs() *FsStats
func (*RuntimeStats) GetTimeSeconds ¶ added in v1.46.0
func (x *RuntimeStats) GetTimeSeconds() int64
func (*RuntimeStats) ProtoMessage ¶ added in v1.46.0
func (*RuntimeStats) ProtoMessage()
func (*RuntimeStats) ProtoReflect ¶ added in v1.46.0
func (x *RuntimeStats) ProtoReflect() protoreflect.Message
func (*RuntimeStats) Reset ¶ added in v1.46.0
func (x *RuntimeStats) Reset()
func (*RuntimeStats) String ¶ added in v1.46.0
func (x *RuntimeStats) String() string
type UnimplementedKubeAPIServer ¶
type UnimplementedKubeAPIServer struct{}
UnimplementedKubeAPIServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedKubeAPIServer) GetClusterInfo ¶
func (UnimplementedKubeAPIServer) GetClusterInfo(context.Context, *GetClusterInfoRequest) (*GetClusterInfoResponse, error)
func (UnimplementedKubeAPIServer) GetIPInfo ¶
func (UnimplementedKubeAPIServer) GetIPInfo(context.Context, *GetIPInfoRequest) (*GetIPInfoResponse, error)
func (UnimplementedKubeAPIServer) GetIPsInfo ¶ added in v1.45.0
func (UnimplementedKubeAPIServer) GetIPsInfo(context.Context, *GetIPsInfoRequest) (*GetIPsInfoResponse, error)
func (UnimplementedKubeAPIServer) GetNode ¶ added in v1.43.1
func (UnimplementedKubeAPIServer) GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
func (UnimplementedKubeAPIServer) GetNodeStatsSummary ¶ added in v1.46.0
func (UnimplementedKubeAPIServer) GetNodeStatsSummary(context.Context, *GetNodeStatsSummaryRequest) (*GetNodeStatsSummaryResponse, error)
func (UnimplementedKubeAPIServer) GetPod ¶
func (UnimplementedKubeAPIServer) GetPod(context.Context, *GetPodRequest) (*GetPodResponse, error)
func (UnimplementedKubeAPIServer) GetPodVolumes ¶ added in v1.48.4
func (UnimplementedKubeAPIServer) GetPodVolumes(context.Context, *GetPodVolumesRequest) (*GetPodVolumesResponse, error)
type UnsafeKubeAPIServer ¶
type UnsafeKubeAPIServer interface {
// contains filtered or unexported methods
}
UnsafeKubeAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KubeAPIServer will result in compilation errors.
type WorkloadKind ¶ added in v1.35.0
type WorkloadKind int32
const ( WorkloadKind_WORKLOAD_KIND_UNKNOWN WorkloadKind = 0 WorkloadKind_WORKLOAD_KIND_DEPLOYMENT WorkloadKind = 1 WorkloadKind_WORKLOAD_KIND_REPLICA_SET WorkloadKind = 2 WorkloadKind_WORKLOAD_KIND_STATEFUL_SET WorkloadKind = 3 WorkloadKind_WORKLOAD_KIND_DAEMON_SET WorkloadKind = 4 WorkloadKind_WORKLOAD_KIND_JOB WorkloadKind = 5 WorkloadKind_WORKLOAD_KIND_CRONJOB WorkloadKind = 6 WorkloadKind_WORKLOAD_KIND_POD WorkloadKind = 7 )
func (WorkloadKind) Descriptor ¶ added in v1.35.0
func (WorkloadKind) Descriptor() protoreflect.EnumDescriptor
func (WorkloadKind) Enum ¶ added in v1.35.0
func (x WorkloadKind) Enum() *WorkloadKind
func (WorkloadKind) EnumDescriptor
deprecated
added in
v1.35.0
func (WorkloadKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkloadKind.Descriptor instead.
func (WorkloadKind) Number ¶ added in v1.35.0
func (x WorkloadKind) Number() protoreflect.EnumNumber
func (WorkloadKind) String ¶ added in v1.35.0
func (x WorkloadKind) String() string
func (WorkloadKind) Type ¶ added in v1.35.0
func (WorkloadKind) Type() protoreflect.EnumType