Documentation ¶
Overview ¶
Copyright © 2021 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 © 2021 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 © 2021 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 ¶
- Variables
- func GetClusterServiceVersion(currentContextPath string, namespace string, resourceName string, ...) bool
- func GetInstallPlan(currentContextPath string, namespace string, resourceName string, ...) bool
- func GetSubscription(currentContextPath string, namespace string, resourceName string, ...) bool
Constants ¶
This section is empty.
Variables ¶
var ClusterServiceVersion = &cobra.Command{ Use: "clusterserviceversion", Aliases: []string{"csv", "clusterserviceversions", "clusterserviceversion.operators.coreos.com"}, Hidden: true, Run: func(cmd *cobra.Command, args []string) { resourceName := "" if len(args) == 1 { resourceName = args[0] } jsonPathTemplate := helpers.GetJsonTemplate(vars.OutputStringVar) GetClusterServiceVersion(vars.MustGatherRootPath, vars.Namespace, resourceName, vars.AllNamespaceBoolVar, vars.OutputStringVar, vars.ShowLabelsBoolVar, jsonPathTemplate, false) }, }
var InstallPlan = &cobra.Command{ Use: "installplan", Aliases: []string{"ip", "installplans", "installplan.operators.coreos.com"}, Hidden: true, Run: func(cmd *cobra.Command, args []string) { resourceName := "" if len(args) == 1 { resourceName = args[0] } jsonPathTemplate := helpers.GetJsonTemplate(vars.OutputStringVar) GetInstallPlan(vars.MustGatherRootPath, vars.Namespace, resourceName, vars.AllNamespaceBoolVar, vars.OutputStringVar, vars.ShowLabelsBoolVar, jsonPathTemplate, false) }, }
var Subscription = &cobra.Command{ Use: "subscription", Aliases: []string{"sub", "subscriptions", "subscription.operators.coreos.com"}, Hidden: true, Run: func(cmd *cobra.Command, args []string) { resourceName := "" if len(args) == 1 { resourceName = args[0] } jsonPathTemplate := helpers.GetJsonTemplate(vars.OutputStringVar) GetSubscription(vars.MustGatherRootPath, vars.Namespace, resourceName, vars.AllNamespaceBoolVar, vars.OutputStringVar, vars.ShowLabelsBoolVar, jsonPathTemplate, false) }, }
Functions ¶
func GetInstallPlan ¶
Types ¶
This section is empty.