added working browser with proxy

This commit is contained in:
2025-04-02 23:09:26 +03:00
parent 27d24e5b1d
commit df8facd70b
9 changed files with 578 additions and 81 deletions

View File

@@ -27,7 +27,6 @@ import (
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BrowserSpec) DeepCopyInto(out *BrowserSpec) {
*out = *in
out.Port = in.Port
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSpec.
@@ -70,6 +69,21 @@ func (in *Port) DeepCopy() *Port {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PortMapping) DeepCopyInto(out *PortMapping) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortMapping.
func (in *PortMapping) DeepCopy() *PortMapping {
if in == nil {
return nil
}
out := new(PortMapping)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServerManager) DeepCopyInto(out *ServerManager) {
*out = *in
@@ -198,7 +212,7 @@ func (in *ServerStatus) DeepCopyInto(out *ServerStatus) {
*out = *in
if in.HostPorts != nil {
in, out := &in.HostPorts, &out.HostPorts
*out = make([]Port, len(*in))
*out = make([]PortMapping, len(*in))
copy(*out, *in)
}
}