# Functions
CreateCtrlClient creates a k8s runtime-controller client for given context.
CreateK8sDstClient create api client using cluster from kubeconfig context.
CreateK8sSrcClient create api client using cluster from kubeconfig context.
CreateK8sSrcDynClient create api client using cluster from kubeconfig context.
GetKindsFor lists all GVKs for a resource.
GetMigCluster get MigrationCluster.
GetMigPlan get MigrationPlan.
GetNamespace get namespace.
ListDaemonSets will collect all DS from specific namespace.
ListDeployments will list all deployments seeding in the selected namespace.
ListGroupVersions list all GV.
ListHPAv1 gets Horizontal Pod Autoscaler v1 objects.
ListHPAv2beta1 gets Horizontal Pod Autoscaler v2beta1 objects.
ListHPAv2beta2 gets Horizontal Pod Autoscaler v2beta2 objects.
ListNamespaces list all namespaces, wrapper around client-go.
ListNodes list all nodes, wrapper around client-go.
ListPods list all pods in namespace, wrapper around client-go.
ListPVCs list all PVs, wrapper around client-go.
ListPVs list all PVs, wrapper around client-go.
ListResourceQuotas list all quotas classes, wrapper around client-go.
ListServerResources list all resources.
No description provided by the author
ListStorageClasses list all storage classes, wrapper around client-go.
NewCtrlClientorDie gets a controller client or die.
NewK8SDynClientOrDie init k8s client or panic.
NewK8SOrDie init k8s client or panic.
NewO7tOrDie - Create a new openshift client if needed, returns reference.
ParseKubeConfig parse kubeconfig.
RESTMapperGetGRs lists all GVKs for a resource.
# Variables
ClusterNames contains names of contexts and cluster.
CtrlClient k8s controller client for migration cluster.
DstRESTMapper is destination REST Mapper.
K8sDstClient k8s api client for target cluster.
K8sSrcClient k8s api client for source cluster.
K8sSrcDynClient k8s api client for source cluster.
KubeConfig represents kubeconfig.
SrcRESTMapper is Source REST Mapper.
# Structs
NamespaceResources holds all resources that belong to a namespace.
OpenshiftClient - Client to interact with openshift api.
Resources represent api resources used in report.