Documentation ¶
Overview ¶
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GITCOMMIT will hold the commit SHA to be used in the version command. GITCOMMIT string // VERSION will hold the version number to be used in the version command. VERSION = "dev-build" )
var DeletekubeFlowCmd = &cobra.Command{ Use: "kubeflow", Short: "Delete kubeflow installation", Long: `This command will delete the kubeflow installation.`, Run: func(cmd *cobra.Command, args []string) { if all { common.CheckKfctl() kubeConfig := common.GetKubeConfig() common.CheckKubectl(kubeConfig) deleteFlag := "all" kubeFlowDelete(kubeConfig, deleteFlag) os.Exit(0) } if deleteStorage { common.CheckKfctl() kubeConfig := common.GetKubeConfig() common.CheckKubectl(kubeConfig) deleteFlag := "deleteStorage" kubeFlowDelete(kubeConfig, deleteFlag) os.Exit(0) } if len(args) == 0 { cmd.Help() os.Exit(0) } }, }
Functions ¶
Types ¶
This section is empty.