Documentation ¶
Index ¶
- func AllConfigMapsPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*ConfigMapsPerNamespaceDetails
- func AllDeploymentsPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*DeploymentPerNamespaceDetails
- func AllEndPointsPerNamespace(clientset *kubernetes.Clientset, namespace []string) map[string]*EndPointsPerNamespaceDetails
- func AllPodsPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*PodsPerNameSpaceDetails
- func AllReplicaSetsPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*ReplicaSetPerNamespaceDetails
- func AllRolesPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*RolesPerNamespaceDetails
- func AllServicesPerNamespace(clietset *kubernetes.Clientset, namespaces []string) map[string]*ServicePerNamespaceDetails
- func GetAllNamespaces(nsc *NamespaceClient) *v1.NamespaceList
- func GetAllNodesDetails(clientset *kubernetes.Clientset) map[string]*NodeDetails
- type ConfigMapClient
- type ConfigMapInfo
- type ConfigMapsPerNamespaceDetails
- type DeploymentClient
- type DeploymentInfo
- type DeploymentPerNamespaceDetails
- type EndPointsClient
- type EndPointsInfo
- type EndPointsPerNamespaceDetails
- type MaxPodsPerNode
- type NamespaceClient
- type NamespaceDetails
- type NamespaceInfo
- type NodeAddress
- type NodeCapacity
- type NodeClient
- type NodeDetails
- type NodeInfo
- type NodeSystemInfo
- type PodClient
- type PodInfo
- type PodsPerNameSpaceDetails
- type ReplicaSetClient
- type ReplicaSetInfo
- type ReplicaSetPerNamespaceDetails
- type RolesClient
- type RolesInfo
- type RolesPerNamespaceDetails
- type ServiceClient
- type ServiceInfo
- type ServicePerNamespaceDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllConfigMapsPerNamespace ¶
func AllConfigMapsPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*ConfigMapsPerNamespaceDetails
func AllDeploymentsPerNamespace ¶
func AllDeploymentsPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*DeploymentPerNamespaceDetails
func AllEndPointsPerNamespace ¶
func AllEndPointsPerNamespace(clientset *kubernetes.Clientset, namespace []string) map[string]*EndPointsPerNamespaceDetails
func AllPodsPerNamespace ¶
func AllPodsPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*PodsPerNameSpaceDetails
func AllReplicaSetsPerNamespace ¶
func AllReplicaSetsPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*ReplicaSetPerNamespaceDetails
func AllRolesPerNamespace ¶
func AllRolesPerNamespace(clientset *kubernetes.Clientset, namespaces []string) map[string]*RolesPerNamespaceDetails
func AllServicesPerNamespace ¶
func AllServicesPerNamespace(clietset *kubernetes.Clientset, namespaces []string) map[string]*ServicePerNamespaceDetails
func GetAllNamespaces ¶
func GetAllNamespaces(nsc *NamespaceClient) *v1.NamespaceList
func GetAllNodesDetails ¶
func GetAllNodesDetails(clientset *kubernetes.Clientset) map[string]*NodeDetails
Types ¶
type ConfigMapClient ¶
type ConfigMapClient struct {
Clientset *kubernetes.Clientset
}
type ConfigMapInfo ¶
type ConfigMapsPerNamespaceDetails ¶
type ConfigMapsPerNamespaceDetails struct { Namespace string ConfigMapsInfo []ConfigMapInfo }
func GetAllConfigMapByNamespace ¶
func GetAllConfigMapByNamespace(cmc *ConfigMapClient, namespace string) *ConfigMapsPerNamespaceDetails
type DeploymentClient ¶
type DeploymentClient struct {
Clientset *kubernetes.Clientset
}
type DeploymentInfo ¶
type DeploymentPerNamespaceDetails ¶
type DeploymentPerNamespaceDetails struct { TotalDeployments int32 Namespace string DeploymentsInfo []DeploymentInfo }
func GetAllDeploymentsByNamespace ¶
func GetAllDeploymentsByNamespace(dc *DeploymentClient, namespace string) *DeploymentPerNamespaceDetails
type EndPointsClient ¶
type EndPointsClient struct {
Clientset *kubernetes.Clientset
}
type EndPointsInfo ¶
type EndPointsPerNamespaceDetails ¶
type EndPointsPerNamespaceDetails struct { Namespace string EndpointsInfo []EndPointsInfo }
func GetAllEndPointsByNamespace ¶
func GetAllEndPointsByNamespace(epc *EndPointsClient, namespace string) *EndPointsPerNamespaceDetails
type MaxPodsPerNode ¶
type MaxPodsPerNode int8
type NamespaceClient ¶
type NamespaceClient struct {
Clientset *kubernetes.Clientset
}
type NamespaceDetails ¶
type NamespaceDetails struct { NamespacesInfo []NamespaceInfo NamespaceNames []string }
func GetNameSpaceDetails ¶
func GetNameSpaceDetails(clientset *kubernetes.Clientset) *NamespaceDetails
func (*NamespaceDetails) GetNamespaceDetails ¶
func (nsd *NamespaceDetails) GetNamespaceDetails(nsl *v1.NamespaceList)
func (*NamespaceDetails) Serialize ¶
func (nsd *NamespaceDetails) Serialize() (string, error)
type NamespaceInfo ¶
type NodeAddress ¶
type NodeCapacity ¶
type NodeCapacity struct { CPU string Memory string EphemeralStorage string Pods MaxPodsPerNode }
type NodeClient ¶
type NodeClient struct {
Clientset *kubernetes.Clientset
}
type NodeDetails ¶
type NodeDetails struct { NodeInfo *NodeInfo NodeAddresses []NodeAddress NodeSystemInfo *NodeSystemInfo NodeCapacity *NodeCapacity }
type NodeSystemInfo ¶
type PodClient ¶
type PodClient struct {
Clientset *kubernetes.Clientset
}
type PodsPerNameSpaceDetails ¶
func GetAllPodsByNamespace ¶
func GetAllPodsByNamespace(pc *PodClient, namespace string) *PodsPerNameSpaceDetails
func (*PodsPerNameSpaceDetails) Serialize ¶
func (ppnsd *PodsPerNameSpaceDetails) Serialize() (string, error)
type ReplicaSetClient ¶
type ReplicaSetClient struct {
Clientset *kubernetes.Clientset
}
type ReplicaSetInfo ¶
type ReplicaSetPerNamespaceDetails ¶
type ReplicaSetPerNamespaceDetails struct { TotalReplicaSets int32 Namespace string ReplicaSetsInfo []ReplicaSetInfo }
func GetAllReplicaSetByNamespace ¶
func GetAllReplicaSetByNamespace(rsc *ReplicaSetClient, namespace string) *ReplicaSetPerNamespaceDetails
type RolesClient ¶
type RolesClient struct {
Clientset *kubernetes.Clientset
}
type RolesPerNamespaceDetails ¶
func GetAllRolesByNamespace ¶
func GetAllRolesByNamespace(rc *RolesClient, namespace string) *RolesPerNamespaceDetails
type ServiceClient ¶
type ServiceClient struct {
Clientset *kubernetes.Clientset
}
type ServiceInfo ¶
type ServicePerNamespaceDetails ¶
type ServicePerNamespaceDetails struct { Namespace string ServicesInfo []ServiceInfo }
func GetAllServiceByNamespace ¶
func GetAllServiceByNamespace(sc *ServiceClient, namespace string) *ServicePerNamespaceDetails
Source Files ¶
Click to show internal directories.
Click to hide internal directories.