Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for HostAlias (0.28 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostalias.go

    // HostAliasApplyConfiguration represents an declarative configuration of the HostAlias type for use
    // with apply.
    type HostAliasApplyConfiguration struct {
    	IP        *string  `json:"ip,omitempty"`
    	Hostnames []string `json:"hostnames,omitempty"`
    }
    
    // HostAliasApplyConfiguration constructs an declarative configuration of the HostAlias type for use with
    // apply.
    func HostAlias() *HostAliasApplyConfiguration {
    	return &HostAliasApplyConfiguration{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

        private int clientVarCounter;
        private String hostAlias;
    
        public BlockingHttpServer() throws IOException {
            this(120_000);
        }
    
        public BlockingHttpServer(int timeoutMs) throws IOException {
            // Use an OS selected port
            this(HttpServer.create(new InetSocketAddress(0), 10), timeoutMs, Scheme.HTTP);
        }
    
        public void setHostAlias(String hostAlias) {
            this.hostAlias = hostAlias;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ReadOnlyDependencyCacheWithinContainerTest.groovy

            core.dependsOn(utils)
            [core, utils]
        }
    
        @Override
        def setup() {
            synchronizer = new BlockingHttpServer()
            synchronizer.hostAlias = "host.testcontainers.internal"
            synchronizer.start()
            GradleInContainer.exposeHostPort(synchronizer.port)
        }
    
        @Override
        def cleanup() {
            synchronizer.stop()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. pkg/api/pod/warnings_test.go

    				}},
    			},
    			expected: []string{`spec.volumes[0].rbd: deprecated in v1.28, non-functional in v1.31+`},
    		},
    		{
    			name: "duplicate hostAlias",
    			template: &api.PodTemplateSpec{Spec: api.PodSpec{
    				HostAliases: []api.HostAlias{
    					{IP: "1.1.1.1"},
    					{IP: "1.1.1.1"},
    					{IP: "1.1.1.1"},
    				}},
    			},
    			expected: []string{
    				`spec.hostAliases[1].ip: duplicate ip "1.1.1.1"`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    func hostsEntriesFromHostAliases(hostAliases []v1.HostAlias) []byte {
    	if len(hostAliases) == 0 {
    		return []byte{}
    	}
    
    	var buffer bytes.Buffer
    	buffer.WriteString("\n")
    	buffer.WriteString("# Entries added by HostAliases.\n")
    	// for each IP, write all aliases onto single line in hosts file
    	for _, hostAlias := range hostAliases {
    		buffer.WriteString(fmt.Sprintf("%s\t%s\n", hostAlias.IP, strings.Join(hostAlias.Hostnames, "\t")))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods_test.go

    func TestNodeHostsFileContent(t *testing.T) {
    	testCases := []struct {
    		hostsFileName            string
    		hostAliases              []v1.HostAlias
    		rawHostsFileContent      string
    		expectedHostsFileContent string
    	}{
    		{
    			hostsFileName: "hosts_test_file1",
    			hostAliases:   []v1.HostAlias{},
    			rawHostsFileContent: `# hosts file for testing.
    127.0.0.1	localhost
    ::1	localhost ip6-localhost ip6-loopback
    fe00::0	ip6-localnet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.HostAlias)(nil), (*core.HostAlias)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_HostAlias_To_core_HostAlias(a.(*v1.HostAlias), b.(*core.HostAlias), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*core.HostAlias)(nil), (*v1.HostAlias)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  8. pkg/apis/core/zz_generated.deepcopy.go

    func (in *HostAlias) DeepCopyInto(out *HostAlias) {
    	*out = *in
    	if in.Hostnames != nil {
    		in, out := &in.Hostnames, &out.Hostnames
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias.
    func (in *HostAlias) DeepCopy() *HostAlias {
    	if in == nil {
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *HostAlias) DeepCopyInto(out *HostAlias) {
    	*out = *in
    	if in.Hostnames != nil {
    		in, out := &in.Hostnames, &out.Hostnames
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias.
    func (in *HostAlias) DeepCopy() *HostAlias {
    	if in == nil {
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/generated.pb.go

    var xxx_messageInfo_HTTPHeader proto.InternalMessageInfo
    
    func (m *HostAlias) Reset()      { *m = HostAlias{} }
    func (*HostAlias) ProtoMessage() {}
    func (*HostAlias) Descriptor() ([]byte, []int) {
    	return fileDescriptor_6c07b07c062484ab, []int{71}
    }
    func (m *HostAlias) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *HostAlias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
Back to top