Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for type (0.23 sec)

  1. cni/pkg/install/cniconfig.go

    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/file"
    )
    
    type pluginConfig struct {
    	mountedCNINetDir string
    	cniConfName      string
    	chainedCNIPlugin bool
    }
    
    type cniConfigTemplate struct {
    	cniNetworkConfigFile string
    	cniNetworkConfig     string
    }
    
    type cniConfigVars struct {
    	cniNetDir          string
    	kubeconfigFilename string
    	logLevel           string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers_test.go

    		constants.DataplaneMode, constants.DataplaneModeAmbient))
    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait until at least one add event happens
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "add"}, monitortest.AtLeast(1))
    
    	assertPodNotAnnotated(t, client, pod)
    
    	// Assert expected calls (not) actually made
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/pilot/status.go

    	"istio.io/istio/pkg/log"
    )
    
    // XdsStatusWriter enables printing of sync status using multiple xdsapi.DiscoveryResponse Istiod responses
    type XdsStatusWriter struct {
    	Writer                 io.Writer
    	Namespace              string
    	InternalDebugAllIstiod bool
    }
    
    type xdsWriterStatus struct {
    	proxyID               string
    	clusterID             string
    	istiodID              string
    	istiodVersion         string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	}
    	log.Debug("accepted conn")
    	return newZtunnelConnection(conn), nil
    }
    
    type updateResponse struct {
    	err  error
    	resp *zdsapi.WorkloadResponse
    }
    
    type updateRequest struct {
    	Update []byte
    	Fd     *int
    
    	Resp chan updateResponse
    }
    
    type ZtunnelConnection struct {
    	u       *net.UnixConn
    	Updates chan updateRequest
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin_test.go

    	invalidVersion       = "0.1.0"
    	preVersion           = "0.2.0"
    )
    
    var mockConfTmpl = `{
        "cniVersion": "%s",
    	"name": "istio-plugin-sample-test",
    	"type": "sample",
        "capabilities": {
            "testCapability": false
        },
        "ipam": {
            "type": "testIPAM"
        },
        "dns": {
            "nameservers": ["testNameServer"],
            "domain": "testDomain",
            "search": ["testSearch"],
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. cni/pkg/log/uds.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/network"
    	"istio.io/istio/pkg/uds"
    )
    
    var pluginLog = log.RegisterScope("cni", "CNI network plugin")
    
    type UDSLogger struct {
    	mu            sync.Mutex
    	loggingServer *http.Server
    }
    
    type cniLog struct {
    	Level string    `json:"level"`
    	Time  time.Time `json:"time"`
    	Msg   string    `json:"msg"`
    }
    
    func NewUDSLogger() *UDSLogger {
    	l := &UDSLogger{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  7. istioctl/pkg/dashboard/dashboard.go

    			if err != nil {
    				return err
    			}
    			return portForward(name, namespace, "Zipkin",
    				"http://%s", bindAddress, zipkinPort, client, cmd.OutOrStdout(), browser)
    		},
    	}
    
    	return cmd
    }
    
    type CreateProxyDashCmdConfig struct {
    	CommandUsage   string
    	CommandShort   string
    	CommandLong    string
    	CommandExample string
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. istioctl/pkg/util/common.go

    (e.g. ~/Downloads/istio-` + binversion.OperatorVersionString + `/manifests).`
    
    // CommandParseError distinguishes an error parsing istioctl CLI arguments from an error processing
    type CommandParseError struct {
    	Err error
    }
    
    func (c CommandParseError) Error() string {
    	return c.Err.Error()
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. operator/cmd/mesh/profile-list.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"sort"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/operator/pkg/helm"
    )
    
    type profileListArgs struct {
    	// manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    	manifestsPath string
    }
    
    func addProfileListFlags(cmd *cobra.Command, args *profileListArgs) {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_mock.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ipset
    
    import (
    	"net/netip"
    
    	"github.com/stretchr/testify/mock"
    )
    
    type MockedIpsetDeps struct {
    	mock.Mock
    }
    
    func FakeNLDeps() *MockedIpsetDeps {
    	return &MockedIpsetDeps{}
    }
    
    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top