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 GetDestinationRule(currentContextPath string, namespace string, resourceName string, ...) bool
- func GetGateway(currentContextPath string, namespace string, resourceName string, ...) bool
- func GetVirtualService(currentContextPath string, namespace string, resourceName string, ...) bool
Constants ¶
This section is empty.
Variables ¶
var DestinationRule = &cobra.Command{ Use: "destinationrule", Aliases: []string{"dr", "destinationrules", "destinationrule.networking.istio.io"}, Hidden: true, Run: func(cmd *cobra.Command, args []string) { resourceName := "" if len(args) == 1 { resourceName = args[0] } jsonPathTemplate := helpers.GetJsonTemplate(vars.OutputStringVar) GetDestinationRule(vars.MustGatherRootPath, vars.Namespace, resourceName, vars.AllNamespaceBoolVar, vars.OutputStringVar, vars.ShowLabelsBoolVar, jsonPathTemplate, false) }, }
var Gateway = &cobra.Command{ Use: "gateway", Aliases: []string{"gateways", "gateway.networking.istio.io"}, Hidden: true, Run: func(cmd *cobra.Command, args []string) { resourceName := "" if len(args) == 1 { resourceName = args[0] } jsonPathTemplate := helpers.GetJsonTemplate(vars.OutputStringVar) GetGateway(vars.MustGatherRootPath, vars.Namespace, resourceName, vars.AllNamespaceBoolVar, vars.OutputStringVar, vars.ShowLabelsBoolVar, jsonPathTemplate, false) }, }
var VirtualService = &cobra.Command{ Use: "virtualservice", Aliases: []string{"vs", "virtualservices", "virtualservice.networking.istio.io"}, Hidden: true, Run: func(cmd *cobra.Command, args []string) { resourceName := "" if len(args) == 1 { resourceName = args[0] } jsonPathTemplate := helpers.GetJsonTemplate(vars.OutputStringVar) GetVirtualService(vars.MustGatherRootPath, vars.Namespace, resourceName, vars.AllNamespaceBoolVar, vars.OutputStringVar, vars.ShowLabelsBoolVar, jsonPathTemplate, false) }, }
Functions ¶
func GetDestinationRule ¶
func GetGateway ¶
Types ¶
This section is empty.