Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = types.APIVersion{ Version: "v3", Group: "cluster.cattle.io", Path: "/v3/cluster", SubContext: true, SubContextSchema: "/v3/schemas/cluster", } Schemas = factory.Schemas(&Version). Init(namespaceTypes). Init(persistentVolumeTypes). Init(storageClassTypes). Init(tokens) )
Functions ¶
This section is empty.
Types ¶
type KubernetesInfo ¶
type MemoryInfo ¶
type MemoryInfo struct {
MemTotalKiB int64
}
type NamespaceMove ¶
type NamespaceMove struct {
ProjectID string `json:"projectId,omitempty"`
}
type NamespaceResourceQuota ¶
type NamespaceResourceQuota struct {
Limit ResourceQuotaLimit `json:"limit,omitempty"`
}
type NodeInfo ¶
type NodeInfo struct { CPU CPUInfo Memory MemoryInfo OS OSInfo Kubernetes KubernetesInfo }
type ResourceQuotaLimit ¶
type ResourceQuotaLimit struct { Pods string `json:"pods,omitempty"` Services string `json:"services,omitempty"` ReplicationControllers string `json:"replicationControllers,omitempty"` Secrets string `json:"secrets,omitempty"` ConfigMaps string `json:"configMaps,omitempty"` PersistentVolumeClaims string `json:"persistentVolumeClaims,omitempty"` ServicesNodePorts string `json:"servicesNodePorts,omitempty"` ServicesLoadBalancers string `json:"servicesLoadBalancers,omitempty"` RequestsCPU string `json:"requestsCpu,omitempty"` RequestsMemory string `json:"requestsMemory,omitempty"` RequestsStorage string `json:"requestsStorage,omitempty"` LimitsCPU string `json:"limitsCpu,omitempty"` LimitsMemory string `json:"limitsMemory,omitempty"` }
Click to show internal directories.
Click to hide internal directories.