Size: a a a

2021 May 05

MB

Mikhail Bolshakov in Go-go!
Привет, ищем go разработчиков на новый проект. Основная идея - онлайн услуги (чат, webrtc) для страховой компании.
Кому интересно, пишите в личку
источник

DP

Daniel Podolsky in Go-go!
@gogetajob

и почитайте правила там
источник

ZI

Z I in Go-go!
У меня вопрос. Щас у нас тема os аргументы. Можно спросить что это вообще такое и ещё тут какой-то go build. Может есть ссылки хорошие. Просто читаю в инете и вообще не доходит
источник

e

exluap in Go-go!
+
источник

AP

Alexey Palazhchenko in Go-go!
Вот прямо сейчас так делаю
источник

AP

Alexey Palazhchenko in Go-go!
Нервы в порядке 🙂
источник

e

exluap in Go-go!
аххахаха, нет. Приходится пить успокоительное и чаще мониторить доску для поиска работы :)
источник

АГ

Алексей Гевондян... in Go-go!
настрой sftp sync в голенде
источник

AP

Alexey Palazhchenko in Go-go!
Попробуйте переформулировать вопрос, а то до нас тоже не доходит
источник

АГ

Алексей Гевондян... in Go-go!
в идеале конечно гит поставить)
источник

AP

Alexey Palazhchenko in Go-go!
А лучше возьми https://code.visualstudio.com/docs/remote/remote-overview – родная интеграция со всем. Я вот прямо в VSCode локальном смотрю k8s объекты на dev-сервере
источник

N

Nikita in Go-go!
body := strings.NewReader(`
<action>
 <vm>
<bios>
       <boot_menu>
           <enabled>true</enabled>
       </boot_menu>
</bios>
</vm>
</action>`)

   inputRawURLConsole := inputRawURL + "/vms" + "/" + vm.MustId() + "/start"

   req, err := http.NewRequest("POST", inputRawURLConsole, body)
   if err != nil {
     // handle err
   }
   req.SetBasicAuth(User, Pass)
   req.Header.Set("Version", "4")
   req.Header.Set("Content-Type", "application/xml")
   req.Header.Set("Accept", "application/xml")

   resp, err := http.DefaultClient.Do(req)
   fmt.Println(req)
   if err != nil {
     // handle err
   }
   defer resp.Body.Close()


в чём ошибка , надо активироват загрузку меню
источник

e

exluap in Go-go!
Не у каждой компании такая логика работы. Обычно это связано с СБ конторы, насколько сильно она поехала кукушкой
источник

N

Nikita in Go-go!
type Vms struct {
 VM []struct {
   NextRunConfigurationExists string json:"next_run_configuration_exists"
   NumaTuneMode               string json:"numa_tune_mode"
   RunOnce                    string json:"run_once"
   StartTime                  int64  json:"start_time"
   Status                     string json:"status"
   StopTime                   int64  json:"stop_time"
   Host                       struct {
     Href string json:"href"
     ID   string json:"id"
   } json:"host"
   OriginalTemplate struct {
     Href string json:"href"
     ID   string json:"id"
   } json:"original_template"
   Template struct {
     Href string json:"href"
     ID   string json:"id"
   } json:"template"
   Actions struct {
     Link []struct {
       Href string json:"href"
       Rel  string json:"rel"
     } json:"link"
   } json:"actions"
   Name        string json:"name"
   Description string json:"description"
   Comment     string json:"comment"
   Href        string json:"href"
   ID          string json:"id"
   Bios        struct {
     BootMenu struct {
       Enabled string json:"enabled"
     } json:"boot_menu"
   } json:"bios"
   CPU struct {
     Architecture string json:"architecture"
     Topology     struct {
       Cores   string json:"cores"
       Sockets string json:"sockets"
       Threads string json:"threads"
     } json:"topology"
   } json:"cpu"
   Display struct {
     Address             string json:"address"
     AllowOverride       string json:"allow_override"
     CopyPasteEnabled    string json:"copy_paste_enabled"
     DisconnectAction    string json:"disconnect_action"
     FileTransferEnabled string json:"file_transfer_enabled"
     Monitors            string json:"monitors"
     Port                string json:"port"
     SecurePort          string json:"secure_port"
     SingleQxlPci        string json:"single_qxl_pci"
     SmartcardEnabled    string json:"smartcard_enabled"
     Type                string json:"type"
   } json:"display"
   Initialization struct {
     AuthorizedSSHKeys string json:"authorized_ssh_keys"
     CustomScript      string json:"custom_script"
     NicConfigurations struct {
     } json:"nic_configurations"
     RegenerateSSHKeys string json:"regenerate_ssh_keys"
     UserName          string json:"user_name"
   } json:"initialization"
   Io struct {
     Threads string json:"threads"
   } json:"io"
   Memory    string json:"memory"
   Migration struct {
     AutoConverge string json:"auto_converge"
     Compressed   string json:"compressed"
   } json:"migration"
   Origin string json:"origin"
   Os     struct {
     Boot struct {
       Devices struct {
         Device []string json:"device"
       } json:"devices"
     } json:"boot"
     Type string json:"type"
   } json:"os"
   Sso struct {
     Methods struct {
       Method []struct {
         ID string json:"id"
       } json:"method"
     } json:"methods"
   } json:"sso"
   Stateless string json:"stateless"
   Type      string json:"type"
   Usb       struct {
     Enabled string json:"enabled"
   } json:"usb"
   Cluster struct {
     Href string json:"href"
     ID   string json:"id"
   } json:"cluster"
   Quota struct {
     ID string json:"id"
   } json:"quota"
   Link []struct {
     Href string json:"href"
     Rel  string json:"rel"
   } json:"link"
   CPUShares        string json:"cpu_shares"
   CreationTime     int64  json:"creation_time"
   CustomProperties struct {
     CustomProperty []struct {
       Name  string json:"name"
       Value string json:"value"
     } json:"custom_property"
   } json:"custom_properties"
   DeleteProtected  string json:"delete_protected"
   HighAvailability struct {
     Enabled  string json:"enabled"
     Priority string json:"priority"
   } json:"high_availability"
   LargeIcon struct {
     Href string json:"href"
     ID   string json:"id"
   } json:"large_icon"
   MemoryPolicy struct {
     Guaranteed string json:"guaranteed"
источник

N

Nikita in Go-go!
Max        string json:"max"
   } json:"memory_policy"
   MigrationDowntime  string json:"migration_downtime"
   MultiQueuesEnabled string json:"multi_queues_enabled"
   PlacementPolicy    struct {
     Affinity string json:"affinity"
     Hosts    struct {
       Host []struct {
         Href string json:"href"
         ID   string json:"id"
       } json:"host"
     } json:"hosts"
   } json:"placement_policy"
   SmallIcon struct {
     Href string json:"href"
     ID   string json:"id"
   } json:"small_icon"
   StartPaused                 string json:"start_paused"
   StorageErrorResumeBehaviour string json:"storage_error_resume_behaviour"
   TimeZone                    struct {
     Name string json:"name"
   } json:"time_zone"
   CPUProfile struct {
     Href string json:"href"
     ID   string json:"id"
   } json:"cpu_profile"
 } json:"vm"
}
источник

AP

Alexey Palazhchenko in Go-go!
источник

АГ

Алексей Гевондян... in Go-go!
что лишний раз подтверждает простую мысль: задавайте больше вопросов на собесах)
источник

e

exluap in Go-go!
Бывает, что на твоей машине может стоять максимум браузер и все.
источник

АГ

Алексей Гевондян... in Go-go!
если бы ты знал, сколько неадекватных контор... их больше половины)
источник

RT

Rostislav Teryaev in Go-go!
а почему вообще такая ситуация? Компания из-за безопасности так делает?
источник