Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for Duteil (0.16 sec)

  1. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  3. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  4. istioctl/pkg/util/configdump/util.go

    zirain <******@****.***> 1703405786 +0800
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/tag.go

    	"io"
    	"strings"
    	"text/tabwriter"
    
    	"github.com/spf13/cobra"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/rest"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/util/formatting"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/webhook"
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/analysis/local"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  7. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. cni/pkg/install/install_test.go

    import (
    	"context"
    	"os"
    	"path/filepath"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"istio.io/istio/cni/pkg/config"
    	testutils "istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestCheckInstall(t *testing.T) {
    	cases := []struct {
    		name              string
    		expectedFailure   bool
    		cniConfigFilename string
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 19 21:53:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  10. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top