Documentation
¶
Index ¶
- func ListClusterRoleBindings(ctx context.Context) (map[string]*rbacv1.ClusterRoleBinding, error)
- func ListClusterRoles(ctx context.Context) (map[string]*rbacv1.ClusterRole, error)
- func ListConfigMaps(ctx context.Context) (map[string]*v1.ConfigMap, error)
- func ListDaemonSets(ctx context.Context) (map[string]*appsv1.DaemonSet, error)
- func ListDeployments(ctx context.Context) (map[string]*appsv1.Deployment, error)
- func ListEndpoints(ctx context.Context) (map[string]*v1.Endpoints, error)
- func ListHorizontalPodAutoscalers(ctx context.Context) (map[string]*autoscalingv1.HorizontalPodAutoscaler, error)
- func ListIngresses(ctx context.Context) (map[string]*nv1beta1.Ingress, error)
- func ListLimitRanges(ctx context.Context) (map[string]*v1.LimitRange, error)
- func ListNamespaces(ctx context.Context) (map[string]*v1.Namespace, error)
- func ListNetworkPolicies(ctx context.Context) (map[string]*nv1.NetworkPolicy, error)
- func ListNodes(ctx context.Context) (map[string]*v1.Node, error)
- func ListNodesMetrics(c types.Connection) (map[string]*mv1beta1.NodeMetrics, error)
- func ListPersistentVolumeClaims(ctx context.Context) (map[string]*v1.PersistentVolumeClaim, error)
- func ListPersistentVolumes(ctx context.Context) (map[string]*v1.PersistentVolume, error)
- func ListPodDisruptionBudgets(ctx context.Context) (map[string]*pv1beta1.PodDisruptionBudget, error)
- func ListPodSecurityPolicies(ctx context.Context) (map[string]*pv1beta1.PodSecurityPolicy, error)
- func ListPods(ctx context.Context) (map[string]*v1.Pod, error)
- func ListPodsMetrics(c types.Connection) (map[string]*mv1beta1.PodMetrics, error)
- func ListReplicaSets(ctx context.Context) (map[string]*appsv1.ReplicaSet, error)
- func ListRoleBindings(ctx context.Context) (map[string]*rbacv1.RoleBinding, error)
- func ListRoles(ctx context.Context) (map[string]*rbacv1.Role, error)
- func ListSecrets(ctx context.Context) (map[string]*v1.Secret, error)
- func ListServiceAccounts(ctx context.Context) (map[string]*v1.ServiceAccount, error)
- func ListServices(ctx context.Context) (map[string]*v1.Service, error)
- func ListStatefulSets(ctx context.Context) (map[string]*appsv1.StatefulSet, error)
- func ListVersion(ctx context.Context) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListClusterRoleBindings ¶
func ListClusterRoleBindings(ctx context.Context) (map[string]*rbacv1.ClusterRoleBinding, error)
ListClusterRoleBindings list included ClusterRoleBindings.
func ListClusterRoles ¶ added in v0.6.0
func ListClusterRoles(ctx context.Context) (map[string]*rbacv1.ClusterRole, error)
ListClusterRoles list included ClusterRoles.
func ListConfigMaps ¶
func ListConfigMaps(ctx context.Context) (map[string]*v1.ConfigMap, error)
ListConfigMaps list all included ConfigMaps.
func ListDaemonSets ¶ added in v0.4.0
func ListDaemonSets(ctx context.Context) (map[string]*appsv1.DaemonSet, error)
ListDaemonSets list all included DaemonSets.
func ListDeployments ¶
func ListDeployments(ctx context.Context) (map[string]*appsv1.Deployment, error)
ListDeployments list all included Deployments.
func ListEndpoints ¶
func ListEndpoints(ctx context.Context) (map[string]*v1.Endpoints, error)
ListEndpoints list all included Endpoints.
func ListHorizontalPodAutoscalers ¶
func ListHorizontalPodAutoscalers(ctx context.Context) (map[string]*autoscalingv1.HorizontalPodAutoscaler, error)
ListHorizontalPodAutoscalers list all included HorizontalPodAutoscalers.
func ListIngresses ¶ added in v0.4.0
func ListIngresses(ctx context.Context) (map[string]*nv1beta1.Ingress, error)
ListIngresses list all included Ingresses.
func ListLimitRanges ¶ added in v0.3.10
func ListLimitRanges(ctx context.Context) (map[string]*v1.LimitRange, error)
ListLimitRanges list all included LimitRanges.
func ListNamespaces ¶
func ListNamespaces(ctx context.Context) (map[string]*v1.Namespace, error)
ListNamespaces list all included Namespaces.
func ListNetworkPolicies ¶ added in v0.4.0
func ListNetworkPolicies(ctx context.Context) (map[string]*nv1.NetworkPolicy, error)
ListNetworkPolicies list all included NetworkPolicies.
func ListNodes ¶
func ListNodes(ctx context.Context) (map[string]*v1.Node, error)
ListNodes list all included Nodes.
func ListNodesMetrics ¶
func ListNodesMetrics(c types.Connection) (map[string]*mv1beta1.NodeMetrics, error)
ListNodesMetrics fetch all available Node metrics on the cluster.
func ListPersistentVolumeClaims ¶
func ListPersistentVolumeClaims(ctx context.Context) (map[string]*v1.PersistentVolumeClaim, error)
ListPersistentVolumeClaims list all included PersistentVolumeClaims.
func ListPersistentVolumes ¶
func ListPersistentVolumes(ctx context.Context) (map[string]*v1.PersistentVolume, error)
ListPersistentVolumes list all included PersistentVolumes.
func ListPodDisruptionBudgets ¶ added in v0.3.10
func ListPodDisruptionBudgets(ctx context.Context) (map[string]*pv1beta1.PodDisruptionBudget, error)
ListPodDisruptionBudgets list all included PodDisruptionBudgets.
func ListPodSecurityPolicies ¶ added in v0.4.0
func ListPodSecurityPolicies(ctx context.Context) (map[string]*pv1beta1.PodSecurityPolicy, error)
ListPodSecurityPolicies list all included PodSecurityPolicies.
func ListPods ¶
func ListPods(ctx context.Context) (map[string]*v1.Pod, error)
ListPods list all filtered pods.
func ListPodsMetrics ¶
func ListPodsMetrics(c types.Connection) (map[string]*mv1beta1.PodMetrics, error)
ListPodsMetrics fetch all available Pod metrics on the cluster.
func ListReplicaSets ¶ added in v0.4.0
func ListReplicaSets(ctx context.Context) (map[string]*appsv1.ReplicaSet, error)
ListReplicaSets list all included ReplicaSets.
func ListRoleBindings ¶
func ListRoleBindings(ctx context.Context) (map[string]*rbacv1.RoleBinding, error)
ListRoleBindings list included RoleBindings.
func ListRoles ¶ added in v0.6.0
func ListRoles(ctx context.Context) (map[string]*rbacv1.Role, error)
ListRoles list included Roles.
func ListSecrets ¶
func ListSecrets(ctx context.Context) (map[string]*v1.Secret, error)
ListSecrets list all included Secrets.
func ListServiceAccounts ¶
func ListServiceAccounts(ctx context.Context) (map[string]*v1.ServiceAccount, error)
ListServiceAccounts list included ServiceAccounts.
func ListServices ¶
func ListServices(ctx context.Context) (map[string]*v1.Service, error)
ListServices list all included Services.
func ListStatefulSets ¶
func ListStatefulSets(ctx context.Context) (map[string]*appsv1.StatefulSet, error)
ListStatefulSets list available StatefulSets.
func ListVersion ¶ added in v0.4.0
func ListVersion(ctx context.Context) (string, string, error)
ListVersion return server api version.
Types ¶
This section is empty.