Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClusterFrom string ClusterTo string ProjectFrom string ProjectTo string PathTemplate string PathData string UsernameFrom string UsernameTo string PasswordFrom string PasswordTo string )
View Source
var ObjectsOc []string
View Source
var RootCmd = &cobra.Command{
Use: "os2os",
Short: "Migrate your Openshift application between different Openshift clusters",
Long: `
os2os is a tool for help you to migrate a Openshift project between different Openshift clusters.
You can download all your templates, convert and rigth size the application to fix in the new cluster,
migrate the data, deploy your app in the new cluster and delete your project in the old cluster`,
}
var ObjectsOc = []string{"service", "buildconfig", "build", "configmap", "daemonset","daemonset","deployment",
"deploymentconfig", "event","endpoints","horizontalpodautoscaler","imagestream","imagestreamtag","ingress","group","job", "limitrange","node","namespace","pod","persistentvolume","persistentvolumeclaim","policy","project","quota", "resourcequota","replicaset","replicationcontroller","rolebinding","route","secret","serviceaccount","service","user"}
/* "cluster", "imagestreamimage", "petset", "componentstatus" objectsOc := []string{"buildconfig", "build", "configmap", "daemonset","daemonset","deployment", "deploymentconfig",
"event","endpoints","horizontalpodautoscaler","imagestream","imagestreamtag","ingress","group","job", "limitrange","node","namespace","pod","persistentvolume","persistentvolumeclaim","policy","project","quota", "resourcequota","replicaset","replicationcontroller","rolebinding","route","secret","serviceaccount","service","user"}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.