- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for utils (0.12 sec)
-
istioctl/pkg/util/testutil/util.go
// limitations under the License. package testutil import ( "bytes" "regexp" "strings" "testing" "github.com/spf13/cobra" "istio.io/istio/pilot/test/util" ) type TestCase struct { Args []string // Typically use one of the three ExpectedOutput string // Expected constant output ExpectedRegexp *regexp.Regexp // Expected regexp output
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
wh := webhook.Webhooks[i] // this is an abomination, but if this isn't a per-revision webhook, we want to make it ineffectual // without deleting it. Add a nonsense match. wh.NamespaceSelector = util.NeverMatch wh.ObjectSelector = util.NeverMatch webhook.Webhooks[i] = wh } admit := client.AdmissionregistrationV1().MutatingWebhookConfigurations() _, err = admit.Update(ctx, &webhook, metav1.UpdateOptions{}) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
istioctl/pkg/writer/compare/sds/util.go
"fmt" "time" envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3" "istio.io/istio/istioctl/pkg/util/configdump" "istio.io/istio/pkg/log" ) // SecretItemDiff represents a secret that has been diffed between nodeagent and proxy type SecretItemDiff struct { Agent string `json:"agent"` Proxy string `json:"proxy"`
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/util/configdump/util.go
zirain <******@****.***> 1703405786 +0800
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "bytes" "os" "testing" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/test/util/assert" ) func TestConfigWriter_Prime(t *testing.T) { tests := []struct { name string wantConfigs int inputFile string wantErr bool }{ {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K bytes - Viewed (0) -
istioctl/cmd/sysexits_test.go
import ( "errors" "testing" "istio.io/istio/istioctl/pkg/analyze" "istio.io/istio/istioctl/pkg/util" ) var KnownErrorCode = map[error]int{ errors.New("unknown command"): ExitIncorrectUsage, errors.New("unexpected error"): ExitUnknownError, util.CommandParseError{Err: errors.New("command parse error")}: ExitIncorrectUsage,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.3K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
cmdtesting "k8s.io/kubectl/pkg/cmd/testing" cmdutil "k8s.io/kubectl/pkg/cmd/util" "istio.io/api/label" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/multixds" "istio.io/istio/istioctl/pkg/xds" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert" ) type execTestCase struct { args []string revision string noIstiod bool
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/util/constants.go
// 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. package util const ( // DefaultProxyAdminPort is the default port for the proxy admin server DefaultProxyAdminPort = 15000 // DefaultMeshConfigMapName is the default name of the ConfigMap with the mesh config
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.3K bytes - Viewed (0) -
istioctl/pkg/util/proto/messageslice.go
// See the License for the specific language governing permissions and // limitations under the License. package proto import ( "bytes" "google.golang.org/protobuf/proto" "istio.io/istio/pkg/util/protomarshal" ) // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly type MessageSlice []proto.Message
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 19 21:53:59 GMT 2021 - 1.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds.go
package configdump import ( "fmt" "sort" "strings" "text/tabwriter" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" "sigs.k8s.io/yaml" "istio.io/istio/pkg/util/protomarshal" ) const typeURLPrefix = "type.googleapis.com/" func (c *ConfigWriter) PrintEcds(outputFormat string) error { if c.configDump == nil { return fmt.Errorf("config writer has not been primed") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Jan 14 02:41:27 GMT 2023 - 2.6K bytes - Viewed (0)