- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for HostAlias (0.15 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json
"description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" } }, "type": "object" }, "io.k8s.api.core.v1.HostAlias": { "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", "properties": { "hostnames": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 229.4K bytes - Viewed (0)