text
stringlengths
11
6.3k
embedding
listlengths
768
768
func absValueIf(v int64, absolute bool) int64 { if absolute && v < 0 { v = -v } return v }
[ 0.2164120376110077, -0.26778772473335266, 0.5051950812339783, 0.7324183583259583, -1.1379516124725342, 0.9803614020347595, -1.0006896257400513, 0.22882841527462006, -0.4469149112701416, 0.135390967130661, 1.0326752662658691, 0.5874861478805542, 0.9854563474655151, 0.9488592743873596, -0....
func getLocation(loc string) *time.Location { l, _ := time.LoadLocation(loc) return l }
[ 0.0719294399023056, -0.09674355387687683, 0.4657095670700073, -0.44378462433815, -0.5269712805747986, -0.7516539096832275, 1.3035452365875244, 0.19682389497756958, 0.5792295932769775, 0.9668464660644531, -1.0083351135253906, -0.4479254484176636, 0.5093238949775696, 0.3760347366333008, -0...
func GetCPPJudge(config Config) Judge { return addConfig( Judge{ compileCmd: "g++", compileArgs: []string{"{source_file}"}, runCmd: ".compiled_bin/{compiled_program}", // TODO: Don't hardcode compiled folder runArgs: []string{}, compileBeforeRun: true, extension: ...
[ 1.2042279243469238, -0.5821204781532288, 0.5358474254608154, 0.06106189638376236, -0.45777857303619385, 1.0988199710845947, -0.24000655114650726, 0.7308636903762817, -1.2723771333694458, -0.7560757994651794, 0.3164091408252716, 0.6565576791763306, -1.398751139640808, 1.1696287393569946, ...
func (driver Driver) Open(dbPath string) (engine.DB, error) { base := path.Dir(dbPath) os.MkdirAll(base, 0755) d, err := bolt.Open(dbPath, 0600, nil) if err != nil { return nil, err } tx, err := d.Begin(true) if err != nil { return nil, err } if _, err = tx.CreateBucketIfNotExists(bucketName); err != ni...
[ -0.5620061755180359, 0.9629769325256348, 0.6796119213104248, 0.17297837138175964, -0.3317054808139801, 0.48880818486213684, 0.7863150835037231, 0.43060746788978577, -0.10551377385854721, -0.05174218863248825, 0.04854094982147217, -0.04305450618267059, -0.5457010269165039, -0.47754672169685...
func (r *ResourceInfo) Get(brief bool) (apistructs.ClusterResourceInfoData, error) { podLi := &v1.PodList{Items: nil} if !brief { var err error podLi, err = r.podUtil.ListAllNamespace([]string{"status.phase!=Succeeded", "status.phase!=Failed"}) if err != nil { return apistructs.ClusterResourceInfoData{}, nil...
[ -0.9897358417510986, -0.16181761026382446, 0.7227672338485718, -1.0508464574813843, -0.2583552300930023, -0.2944013178348541, -0.36494502425193787, -0.22538718581199646, -0.5457930564880371, 0.6698821783065796, 0.020159170031547546, 0.40846332907676697, -0.09700160473585129, -0.22380718588...
func PodRequestsAndLimits(pod *v1.Pod) (reqs, limits v1.ResourceList) { reqs, limits = v1.ResourceList{}, v1.ResourceList{} for _, container := range pod.Spec.Containers { addResourceList(reqs, container.Resources.Requests) addResourceList(limits, container.Resources.Limits) } // init containers define the mini...
[ -0.4524102509021759, -1.0586278438568115, 0.5422431230545044, -0.3740386366844177, -0.37906649708747864, -0.04194500669836998, -0.9292600750923157, -0.26110517978668213, 1.1739603281021118, -0.3470582664012909, 0.14834101498126984, -0.07931660115718842, -0.2566601634025574, 0.0635090470314...
func addResourceList(list, new v1.ResourceList) { for name, quantity := range new { if value, ok := list[name]; !ok { list[name] = quantity.DeepCopy() } else { value.Add(quantity) list[name] = value } } }
[ -0.8589456677436829, -0.501011073589325, 0.3677206039428711, 0.19817547500133514, 0.11877629160881042, 0.14106373488903046, -0.9990559816360474, -0.09001924842596054, 0.4042070209980011, 0.6798681020736694, -0.7957798838615417, -1.2179152965545654, 0.808100163936615, 0.8209540843963623, ...
func maxResourceList(list, new v1.ResourceList) { for name, quantity := range new { if value, ok := list[name]; !ok { list[name] = quantity.DeepCopy() continue } else { if quantity.Cmp(value) > 0 { list[name] = quantity.DeepCopy() } } } }
[ -0.28172269463539124, -0.670037031173706, 0.28790560364723206, 0.7108582854270935, -0.4176103472709656, 0.31273403763771057, -0.9094454646110535, 0.29885002970695496, 0.4104052186012268, 0.7242482304573059, -0.5766139626502991, -0.7415629625320435, 0.9679155349731445, 0.8797182440757751, ...
func Exit(err interface{}) { tmpl, err2 := template.ParseFS(localFS, "html/crash.html", "html/header.html") if err2 != nil { log.Fatalf("Failed to load template: %v", err) } logCache := lineCache.String() sanitized := sanitizeLog(logCache) data := map[string]interface{}{ "Log": logCache, "Sanitized...
[ 0.5016354322433472, 0.10966714471578598, 0.9804086685180664, -0.053127091377973557, 0.17770689725875854, 0.14809328317642212, 0.5546923875808716, -0.029282966628670692, -0.6318358778953552, 0.4261842370033264, -0.41035789251327515, -0.7154098749160767, -0.12399762868881226, 0.8029760718345...
func SetAsset(amount float64, symbol string) *types.Asset { return &types.Asset{Amount: amount, Symbol: symbol} }
[ 0.9257178902626038, -0.1503685563802719, 0.34495529532432556, -0.9740716218948364, -0.3235813081264496, -0.0513976588845253, 0.07133781909942627, -1.0899925231933594, -0.30721160769462585, -0.39283862709999084, 0.6690928339958191, 0.7301338911056519, 0.07907016575336456, -0.623429179191589...
func (client *Client) PerMvest() (float64, error) { dgp, errdgp := client.API.GetDynamicGlobalProperties() if errdgp != nil { return 0, errdgp } tvfs := dgp.TotalVersingFund.Amount tvs := dgp.TotalVestingShares.Amount spmtmp := (tvfs / tvs) * 1000000 str := strconv.FormatFloat(spmtmp, 'f', 3, 64) spm, errs...
[ 0.0626475065946579, 0.8290101885795593, 0.5819371938705444, -0.052734844386577606, 0.12083524465560913, -0.45230987668037415, 0.7168564796447754, 0.0353909432888031, 0.1852049082517624, -0.041772544384002686, 0.5933133959770203, 0.2315237820148468, -1.3630168437957764, 0.32773253321647644,...
func JSONTrxString(v *transactions.SignedTransaction) (string, error) { ans, err := types.JSONMarshal(v) if err != nil { return "", err } return string(ans), nil }
[ -0.751623809337616, -0.8127524852752686, 0.40905654430389404, -1.4383198022842407, -1.3440912961959839, 0.17058682441711426, -0.7592813968658447, -1.1150001287460327, 0.6842979192733765, 0.5054931044578552, -0.6169876456260681, -0.2270648032426834, 0.45254090428352356, -1.5172500610351562,...
func JSONOpString(v []types.Operation) (string, error) { var tx types.Operations tx = append(tx, v...) ans, err := types.JSONMarshal(tx) if err != nil { return "", err } return string(ans), nil }
[ -1.4808508157730103, 0.2594589591026306, 0.8824352622032166, -0.29030200839042664, -1.2352991104125977, -0.1208278089761734, -0.14560067653656006, -1.2661954164505005, 0.5811087489128113, 1.4646714925765991, 0.22329555451869965, -1.0851478576660156, 0.794749915599823, -0.7303191423416138, ...
func NewUserRepository() *UserRepository { return &UserRepository{} }
[ -0.44277438521385193, -0.680135190486908, -0.01528166327625513, 0.23444536328315735, -1.4079121351242065, -1.03762686252594, -0.2670195698738098, 0.03847457468509674, 0.37976574897766113, -0.8545681834220886, -0.7898975610733032, -0.05135728791356087, 0.22712068259716034, 0.406685441732406...
func (m *GetEdnaInstance) Validate(formats strfmt.Registry) error { var res []error if err := m.validateApps(formats); err != nil { // prop res = append(res, err) } if err := m.validateCreditCards(formats); err != nil { // prop res = append(res, err) } if err := m.validateDevices(formats); err != nil {...
[ -0.4780883491039276, 0.06873563677072525, 1.0413209199905396, -0.1562652438879013, 0.10144724696874619, 0.46038198471069336, 0.37944480776786804, -0.6684725284576416, 0.4614183306694031, -0.45711615681648254, 0.19163817167282104, 0.26581528782844543, -0.6814740300178528, 0.9350079298019409...
func (p *intersect) Intersect(nums1 []int, nums2 []int) []int { sort.Ints(nums1) sort.Ints(nums2) i := 0 j := 0 inter := make([]int, 0) for i < len(nums1) && j < len(nums2) { if nums1[i] == nums2[j] { inter = append(inter, nums1[i]) i++ j++ } else if nums1[i] > nums2[j] { j++ } else { i++ }...
[ 0.06679105758666992, -0.2589835524559021, 1.0210055112838745, 0.4204690158367157, -0.35432082414627075, 0.1625569611787796, 0.06955225765705109, 0.1683540791273117, -0.24488186836242676, 0.8695583939552307, -0.0373760350048542, 0.2850281298160553, -0.7120515704154968, 0.0841657891869545, ...
func NewIntersecter() Intersecter { return &intersect{} }
[ 0.21871037781238556, -1.4712433815002441, 0.3365550637245178, 0.3577314019203186, -1.0088601112365723, 0.14948154985904694, -0.45380258560180664, -0.1705259084701538, -0.571100652217865, -0.5407186150550842, 0.07299242168664932, -0.6868796944618225, -0.3177871108055115, 0.8829023838043213,...
func (*TokenCreateTransactionBody) Descriptor() ([]byte, []int) { return file_proto_token_create_proto_rawDescGZIP(), []int{0} }
[ 0.23870792984962463, 0.8085731863975525, 0.12642289698123932, -0.5592259764671326, 0.8156163692474365, -0.6188861131668091, -0.13365253806114197, -1.0796430110931396, -1.2131366729736328, 0.7644098997116089, -0.9816972017288208, -1.0882318019866943, 0.05944912135601044, 0.5119548439979553,...
func RequestWithUser(info Info, r *http.Request) *http.Request { ctx := context.WithValue(r.Context(), userKey{}, info) return r.WithContext(ctx) }
[ -0.6726539731025696, -0.047642484307289124, 0.5210321545600891, 1.15976881980896, -1.0685408115386963, 0.17290057241916656, -0.3872928023338318, -0.8882126808166504, 0.005856593605130911, -0.6183391213417053, -0.14073573052883148, 0.13150550425052643, 0.27099382877349854, 0.079442732036113...
func User(r *http.Request) Info { v := r.Context().Value(userKey{}) if info, ok := v.(Info); ok { return info } return nil }
[ -0.9075756072998047, -0.6160888075828552, 0.6282842755317688, 0.43619200587272644, -0.11888234317302704, -0.5257018804550171, 0.34103742241859436, -1.5331776142120361, -0.3373800814151764, -0.6487098336219788, -0.20362386107444763, -0.23963110148906708, 0.9853620529174805, 0.39813631772994...
func Handle(w http.ResponseWriter, r *http.Request, HandleFunc HandleFunc) { handler := pool.Get().(*Handler) defer pool.Put(handler) handler.Reset(HandleFunc) handler.ServeHTTP(w, r) handler.Reset(nil) }
[ 0.09582756459712982, 0.21076470613479614, 0.3984562158584595, 0.49386993050575256, 1.1870181560516357, 0.33400189876556396, 0.6779013276100159, -0.08986831456422806, -0.12403073906898499, -0.6410039663314819, -0.1790899932384491, 0.4304327070713043, -0.21229323744773865, -0.157352551817893...
func (rm *ReleaseManager) Install(assetName, installPath string) error { release, err := gh.GetReleaseByTag(rm.Owner, rm.Repo, rm.Tag) if err != nil { return err } asset := getAsset(assetName, release.Assets) if asset == nil { if assetName != "" { return fmt.Errorf("Asset %s not found", assetName) } r...
[ 0.04668112471699715, -1.0532996654510498, 0.5641139149665833, -0.26235058903694153, 0.17110538482666016, -0.23659160733222961, -0.5876639485359192, 0.18402116000652313, -0.30376338958740234, 1.1945778131484985, -0.45785030722618103, -0.47467514872550964, -0.3635126054286957, 0.686015605926...
func ImportPk(k []byte) string { err := ioutil.WriteFile(tmpfile, k, 0644) log.Check(log.WarnLevel, "Writing Pubkey to temp file", err) command := exec.Command("gpg", "--import", tmpfile) out, err := command.CombinedOutput() log.Check(log.WarnLevel, "Importing MH public key", err) os.Remove(tmpfile) return str...
[ 0.47648710012435913, 0.1785457283258438, 0.7657011151313782, 0.44849392771720886, -0.9227721691131592, 0.891089141368866, 0.4775422513484955, 0.4759000241756439, -0.41679897904396057, 1.1916344165802002, -0.524952232837677, -0.9286774396896362, -0.7417886257171631, 0.5619289875030518, -0...
func AddLabels(cfg config.Config, vmPool *vmpool.VMPool) string { var ( lines strings.Builder regexpLabels = []*regexpLabel{} ) if len(cfg.VMNameRegexpLabels) > 0 { regexpLabels = compileRegexpLabels(cfg.VMNameRegexpLabels) } for _, vm := range vmPool.VMs { var b strings.Builder fmt.Fprintf(&b, ...
[ -0.03439059481024742, 0.1527213305234909, 0.5976381301879883, -1.06622314453125, 0.22195780277252197, 0.3206622898578644, -0.430787593126297, 0.037493716925382614, -0.21056662499904633, 0.5861123204231262, 0.7200160026550293, 0.1008591279387474, -0.4525395631790161, 0.4849356710910797, -...
func AddUserTemplateLabels(vm *ocatypes.VM, labels []config.UserTemplateLabel) string { var labelAttrs []string for _, label := range labels { field, err := vm.UserTemplate.Items.GetCustom(label.TemplateField) if err != nil { field = "unknown" } labelAttrs = append(labelAttrs, fmt.Sprintf(`%s=%q`, label.N...
[ -0.8604345321655273, -0.42383384704589844, 0.40984639525413513, -1.156212568283081, -0.34100574254989624, 0.19295716285705566, -0.9201134443283081, -0.22084514796733856, 0.3074263334274292, 0.6342534422874451, 0.07138227671384811, -0.2831363081932068, 0.20647640526294708, -0.06653627753257...
func AddVMNameRegexpLabels(vm *ocatypes.VM, labels []*regexpLabel) string { var labelAttrs []string for _, label := range labels { if label.Regexp.MatchString(vm.Name) { matches := label.Regexp.FindStringSubmatch(vm.Name) // not checking for nil here since it matched before match := matches[len(matches)-1...
[ -0.43429282307624817, -0.40757307410240173, 0.7343502640724182, -1.0633405447006226, -0.0666065663099289, -0.0643492266535759, -1.3061442375183105, 0.02398270182311535, -0.03964771330356598, 1.0930651426315308, 0.5551173090934753, -0.4275597929954529, -0.5925664305686951, -0.31151491403579...
func configOwnerRef(tc v1alpha1.TektonInstallerSet) metav1.OwnerReference { return *metav1.NewControllerRef(&tc, tc.GetGroupVersionKind()) }
[ 0.3477960228919983, -0.054072726517915726, 0.32671236991882324, 0.07046391814947128, -0.4516769349575043, -0.16983622312545776, 0.7867603302001953, -0.15398965775966644, -0.746613621711731, 0.7529760003089905, 0.22958087921142578, 0.29761889576911926, -0.05757325887680054, -0.0567256510257...
func tektonConfigOwnerRef(tc v1alpha1.TektonConfig) metav1.OwnerReference { return *metav1.NewControllerRef(&tc, tc.GetGroupVersionKind()) }
[ 0.6167090535163879, -0.41540154814720154, 0.18857716023921967, 0.02154959924519062, -0.5652818083763123, 0.029068877920508385, 0.6494923830032349, -0.44520124793052673, -0.7267196774482727, 0.8960729241371155, 0.013381743803620338, 0.14314453303813934, -0.06700578331947327, 0.0533946678042...
func existingSAWithOwnerRef(tc *v1alpha1.TektonConfig) bool { tcLabels := tc.GetLabels() _, ok := tcLabels[serviceAccountCreationLabel] return !ok }
[ -0.05421803891658783, -0.4840993285179138, 0.43861764669418335, -0.54415363073349, -0.04075535014271736, 0.25270161032676697, 0.7272362112998962, -0.5485786199569702, 0.6012991666793823, 0.40437695384025574, 0.6429490447044373, 0.16047492623329163, 0.12956123054027557, 0.3203645944595337, ...
func NewStack() *Stack { return &Stack{list: list.NewDoublyLinkedList()} }
[ -0.01746358349919319, 0.8167455196380615, 0.19019223749637604, 1.0765223503112793, -0.5347108840942383, -0.9051234722137451, 0.7992067933082581, -0.5389325618743896, 0.17837756872177124, -0.12548096477985382, -1.179107666015625, 0.5760959982872009, 0.2057986855506897, 0.148527592420578, ...
func (s *Stack) Size() int { return s.list.Size() }
[ -0.5017128586769104, 1.2235100269317627, 0.13722676038742065, -0.03757699951529503, -0.048719316720962524, -0.4332660436630249, 0.8750167489051819, 0.568793773651123, 0.32367438077926636, -0.10323212295770645, -1.8018711805343628, 0.09431322664022446, -0.4588116407394409, 1.105411529541015...
func (s *Stack) IsEmpty() bool { return s.list.IsEmpty() }
[ -0.9401261806488037, 0.8422369360923767, 0.26119300723075867, 0.7802266478538513, 1.0098695755004883, -0.46491461992263794, -0.43908265233039856, 0.26653313636779785, -0.027942517772316933, 0.26780563592910767, -1.8696237802505493, 0.39154040813446045, -0.20380814373493195, 0.2153155505657...
func (s *Stack) Push(elem interface{}) { s.list.AddLast(elem) }
[ -0.718904435634613, 1.7123607397079468, 0.2422645539045334, 0.9712004661560059, 0.49742645025253296, 0.5160134434700012, 0.11417271941900253, 0.17593984305858612, 0.9144943952560425, 0.5138510465621948, -1.4324105978012085, 0.14738570153713226, -0.22858396172523499, 0.7205526232719421, 0...
func (s *Stack) Pop() (interface{}, error) { if s.IsEmpty() { return nil, fmt.Errorf("stack is empty") } return s.list.RemoveLast() }
[ -0.22867098450660706, 1.0616157054901123, 0.528391420841217, 0.631428062915802, -0.03138481825590134, -0.8183098435401917, -0.05300391837954521, 0.1152830570936203, 0.40936505794525146, 0.9018785953521729, -0.9988951683044434, -0.33859604597091675, -0.3354787230491638, -0.0317530632019043,...
func (s *Stack) Peek() (interface{}, error) { if s.IsEmpty() { return nil, fmt.Errorf("stack is empty") } return s.list.PeekLast() }
[ -0.20717006921768188, 0.9618085026741028, 0.7243572473526001, 0.5820552110671997, -0.062354594469070435, -1.0018614530563354, -0.19950498640537262, -0.577941358089447, 0.4806510806083679, 0.280125230550766, -0.7015531659126282, 0.1770234853029251, 0.3914191424846649, 0.10663582384586334, ...
func (inode *InodeCommon) setOrphanChildAttr(c *ctx, inodeNum InodeId, newType *quantumfs.ObjectType, attr *fuse.SetAttrIn, out *fuse.AttrOut, updateMtime bool) fuse.Status { defer c.funcIn("InodeCommon::setOrphanChildAttr").Out() defer inode.unlinkLock.Lock().Unlock() if inode.unlinkRecord == nil { panic("set...
[ -0.3993576169013977, -1.0192022323608398, 0.6138307452201843, -1.2534865140914917, -0.9394183158874512, -0.17851625382900238, 1.073706030845642, 0.5297086834907532, 0.41158294677734375, 0.2431924045085907, -0.0733315646648407, 0.6970959901809692, -0.0980907753109932, 0.5448552966117859, ...
func (cs *CloudStorage) Upload(ctx context.Context, user *domain.User, bucket string, attrs *domain.ImgAttrs, r io.Reader, prefix string) error { wc := cs.Bucket(bucket).Object(prefix).NewWriter(ctx) if _, err := io.Copy(wc, r); err != nil { return err } if err := wc.Close(); err != nil { return err } return...
[ -0.6303768157958984, 0.032364021986722946, 0.4963611364364624, -0.3202069103717804, -0.3863922655582428, 0.31568700075149536, 0.7184031009674072, -0.33832791447639465, -0.5827202200889587, 0.1809413731098175, 0.3039616048336029, 0.28224417567253113, 0.2829275131225586, -0.5864622592926025,...
func NewPlatform(parentLogger nuclio.Logger) (*Platform, error) { newPlatform := &Platform{} // create base newAbstractPlatform, err := platform.NewAbstractPlatform(parentLogger, newPlatform) if err != nil { return nil, errors.Wrap(err, "Failed to create abstract platform") } // init platform newPlatform.Abs...
[ 0.414955198764801, -0.2409539669752121, 0.711049497127533, -0.047184187918901443, -0.5269673466682434, -0.0353456512093544, 0.14939455687999725, -0.9763050675392151, -0.03712686896324158, -0.5380313992500305, -0.34931108355522156, -0.0051314951851964, -0.11683565378189087, 1.58471977710723...
func (p *Platform) DeployFunction(deployOptions *platform.DeployOptions) (*platform.DeployResult, error) { // local currently doesn't support registries of any kind. remove push / run registry deployOptions.Build.Registry = "" deployOptions.RunRegistry = "" // wrap the deployer's deploy with the base HandleDeploy...
[ -0.5624660849571228, 0.2848725914955139, 0.37098729610443115, 0.4915845990180969, 0.26813825964927673, -0.6883705258369446, 1.0847212076187134, 0.46017444133758545, 0.16296672821044922, 0.369945764541626, 0.09189614653587341, 0.26036709547042847, -0.6334434151649475, 0.28092148900032043, ...
func (p *Platform) GetFunctions(getOptions *platform.GetOptions) ([]platform.Function, error) { getContainerOptions := &dockerclient.GetContainerOptions{ Labels: map[string]string{ "nuclio-platform": "local", "nuclio-namespace": getOptions.Common.Namespace, }, } // if we need to get only one function, sp...
[ -0.05337277054786682, 0.24685105681419373, 0.5929999947547913, 0.6524701714515686, 1.1661739349365234, -0.7930369973182678, -0.17112784087657928, -0.4838358163833618, -0.07522489130496979, -0.6230613589286804, -0.7019218802452087, 0.7845371961593628, -0.32183146476745605, 0.419240653514862...
func (p *Platform) UpdateFunction(updateOptions *platform.UpdateOptions) error { return nil }
[ -0.8530659079551697, -0.4308817982673645, 0.42326411604881287, 0.7877303957939148, 0.025161677971482277, -0.17350099980831146, 0.7866411805152893, 0.18156352639198303, -0.22985053062438965, 0.20956946909427643, 0.03395545855164528, 0.47825804352760315, -1.1352461576461792, -0.1131135448813...
func (p *Platform) DeleteFunction(deleteOptions *platform.DeleteOptions) error { getContainerOptions := &dockerclient.GetContainerOptions{ Labels: map[string]string{ "nuclio-platform": "local", "nuclio-namespace": deleteOptions.Common.Namespace, "nuclio-function-name": deleteOptions.Common.Identifi...
[ 0.4877381920814514, -0.1942862570285797, 0.715644896030426, 0.2493741512298584, 1.1477099657058716, -0.901745080947876, 0.28667041659355164, -0.603163480758667, 0.3837229013442993, -0.504223108291626, 0.3816728889942169, 0.4975300133228302, -0.31735092401504517, 0.7436425685882568, 0.415...
func (p *Platform) GetDeployRequiresRegistry() bool { return false }
[ -0.8912888765335083, 0.2542629837989807, 0.36261236667633057, -0.011218370869755745, 0.6157585978507996, 0.6932029724121094, 0.5539031624794006, 0.10551481693983078, -0.5083131194114685, -0.20738379657268524, -0.6696423292160034, -0.3355834186077118, -0.6587461829185486, 1.165427327156067,...
func (p *Platform) GetName() string { return "local" }
[ 0.20037351548671722, -0.18499331176280975, 0.5584536790847778, 0.5400699377059937, -0.156221404671669, 0.8240455389022827, 0.1933782398700714, -0.2745274007320404, -0.5820716023445129, 0.7733194828033447, -0.7762681245803833, -0.04937322065234184, -0.4942067563533783, 1.1321884393692017, ...
func containsString(slice []string, s string) bool { for _, item := range slice { if item == s { return true } } return false }
[ 0.04810415208339691, -1.3337082862854004, 0.0976812094449997, 0.28136488795280457, -0.344137966632843, -0.12331268191337585, -0.8575016856193542, -0.49491265416145325, -0.10580432415008545, 0.619733452796936, -0.4712563455104828, 0.22324824333190918, 0.2490464299917221, -0.7696039080619812...
func NewPerson(name string, age int) *Person { return &Person{ Name: name, Age: age, } }
[ -0.42778369784355164, -1.4162650108337402, 0.3980507254600525, -0.8071796298027039, -1.5100826025009155, 0.8112494945526123, -0.8521573543548584, -0.09916375577449799, -0.22290053963661194, -0.0620918795466423, -0.5523222088813782, 0.05580279231071472, -0.2314397692680359, 0.15331310033798...
func NewPerson2(name string, age int) usecase.Person { return &Person{ Name: name, Age: age, } }
[ -0.6442376375198364, -1.703988790512085, 0.5585564374923706, -0.10185237973928452, -1.791900634765625, 0.3271825611591339, -1.2528043985366821, -0.17212466895580292, -0.3399154841899872, 0.08018695563077927, -0.34210994839668274, 0.09113987535238266, -0.002031618496403098, 0.60170942544937...
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client { return &Client{ transport: transport, formats: formats, authInfo: authInfo, } }
[ -0.26046234369277954, -1.9229154586791992, 0.046956196427345276, -0.3008330762386322, -0.243104487657547, 0.3776557445526123, 0.3002532422542572, -0.05780463665723801, -0.7705714106559753, -0.7144609689712524, -0.46852126717567444, 0.5956902503967285, 0.032706357538700104, -0.0746533572673...
func (a *Client) BindHost(ctx context.Context, params *BindHostParams) (*BindHostOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "BindHost", Method: "POST", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/bind", ProducesMediaT...
[ -0.7521542310714722, -0.6494171619415283, 0.7535454034805298, 0.36080095171928406, -0.12056858092546463, 0.3461739420890808, 0.1150633841753006, 0.09255944937467575, -0.917766273021698, 0.0793602243065834, 0.04509521648287773, 1.0138061046600342, -0.3982979655265808, 0.6071714162826538, ...
func (a *Client) DeregisterInfraEnv(ctx context.Context, params *DeregisterInfraEnvParams) (*DeregisterInfraEnvNoContent, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "DeregisterInfraEnv", Method: "DELETE", PathPattern: "/v2/infra-envs/{infra_env_id...
[ -1.5191783905029297, -0.28074008226394653, 0.42691946029663086, 0.00622129999101162, 0.3360864520072937, -0.3791545629501343, 1.1212408542633057, 0.1131291538476944, -0.7525848150253296, -0.317726194858551, -0.3776405155658722, 1.134806513786316, -1.2987589836120605, 0.32710525393486023, ...
func (a *Client) DownloadMinimalInitrd(ctx context.Context, params *DownloadMinimalInitrdParams, writer io.Writer) (*DownloadMinimalInitrdOK, *DownloadMinimalInitrdNoContent, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "DownloadMinimalInitrd", Method: "GET"...
[ -0.06806360930204391, -1.3844324350357056, 0.8901874423027039, -0.4776710867881775, -0.5932840704917908, 0.42863163352012634, 0.1157325878739357, -0.4513796865940094, 0.14722152054309845, -0.8250269889831543, 0.21734896302223206, 1.2706276178359985, -0.9251938462257385, 0.6834776401519775,...
func (a *Client) GetClusterSupportedPlatforms(ctx context.Context, params *GetClusterSupportedPlatformsParams) (*GetClusterSupportedPlatformsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "GetClusterSupportedPlatforms", Method: "GET", PathPattern: ...
[ -0.7461135983467102, 0.7547021508216858, 0.44289249181747437, 0.38670963048934937, -0.3248331844806671, 0.5631705522537231, 0.5561537742614746, -0.47770121693611145, 0.3951586186885834, 0.2082372009754181, -1.1063569784164429, 1.0015782117843628, -1.4093146324157715, 0.4376097023487091, ...
func (a *Client) GetInfraEnv(ctx context.Context, params *GetInfraEnvParams) (*GetInfraEnvOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "GetInfraEnv", Method: "GET", PathPattern: "/v2/infra-envs/{infra_env_id}", ProducesMediaTypes: []string{"ap...
[ -1.2686424255371094, 0.22832854092121124, 0.5230244398117065, 0.7686125636100769, 0.310815691947937, -0.6633314490318298, 0.9952864646911621, -0.602351188659668, -0.5693740844726562, -0.5904852151870728, -0.06257211416959763, 1.8843802213668823, -1.0544987916946411, 0.5856932401657104, 0...
func (a *Client) GetInfraEnvDownloadURL(ctx context.Context, params *GetInfraEnvDownloadURLParams) (*GetInfraEnvDownloadURLOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "GetInfraEnvDownloadURL", Method: "GET", PathPattern: "/v2/infra-envs/{infra_...
[ -1.6268295049667358, 0.1905393749475479, 0.7149936556816101, 0.07517214864492416, 0.14784254133701324, -0.45092877745628357, 0.2400270700454712, -0.649674117565155, -1.1350256204605103, -0.1032390147447586, 0.2612057328224182, 1.1324042081832886, -0.43388479948043823, 0.596371591091156, ...
func (a *Client) GetInfraEnvPresignedFileURL(ctx context.Context, params *GetInfraEnvPresignedFileURLParams) (*GetInfraEnvPresignedFileURLOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "GetInfraEnvPresignedFileURL", Method: "GET", PathPattern: "/v...
[ -1.4396966695785522, -0.13121332228183746, 0.6548838019371033, -0.006947949528694153, 0.6738865375518799, 0.003215558361262083, 0.5992249846458435, 0.6332688927650452, -1.3681570291519165, -0.18791820108890533, -0.31807979941368103, -0.2451048493385315, -0.9334242939949036, 0.4062844514846...
func (a *Client) GetSupportedArchitectures(ctx context.Context, params *GetSupportedArchitecturesParams) (*GetSupportedArchitecturesOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "GetSupportedArchitectures", Method: "GET", PathPattern: "/v2/suppor...
[ -1.218833088874817, 0.664679229259491, 0.739997148513794, 0.45733344554901123, -0.6556978225708008, 0.3856915533542633, 0.9571006894111633, 0.07141571491956711, 0.46165338158607483, -0.25735729932785034, -0.8965803384780884, 0.9683333039283752, -0.5267926454544067, 0.0021928485948592424, ...
func (a *Client) GetSupportedFeatures(ctx context.Context, params *GetSupportedFeaturesParams) (*GetSupportedFeaturesOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "GetSupportedFeatures", Method: "GET", PathPattern: "/v2/support-levels/features", ...
[ -0.8191949129104614, 0.0067870174534618855, 0.5931658744812012, 0.9162610769271851, -0.10404592007398605, -0.01986471563577652, 0.2875291109085083, -0.05793607234954834, -0.3158189058303833, -0.33448681235313416, -1.3056833744049072, 1.2243833541870117, -1.582235336303711, -0.0415096469223...
func (a *Client) ListClusterHosts(ctx context.Context, params *ListClusterHostsParams) (*ListClusterHostsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "ListClusterHosts", Method: "GET", PathPattern: "/v2/clusters/{cluster_id}/hosts", ProducesMe...
[ -0.9587171077728271, 0.42591696977615356, 0.614708662033081, 0.5225653648376465, -0.397748738527298, -0.36958202719688416, 0.6745015978813171, -0.6315478682518005, 0.1515871286392212, 0.6123064756393433, -0.870683491230011, 1.1631027460098267, -1.1579478979110718, 0.0720854327082634, -0....
func (a *Client) ListInfraEnvs(ctx context.Context, params *ListInfraEnvsParams) (*ListInfraEnvsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "ListInfraEnvs", Method: "GET", PathPattern: "/v2/infra-envs", ProducesMediaTypes: []string{"applicati...
[ -1.52003014087677, -0.09517820924520493, 0.47970467805862427, 0.19682106375694275, -0.14717352390289307, -0.30988794565200806, 0.6722621321678162, -0.8446336984634399, -0.016554659232497215, -0.12254258990287781, 0.07882414013147354, 1.2160487174987793, -1.0465327501296997, 0.4169532954692...
func (a *Client) RegenerateInfraEnvSigningKey(ctx context.Context, params *RegenerateInfraEnvSigningKeyParams) (*RegenerateInfraEnvSigningKeyNoContent, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "RegenerateInfraEnvSigningKey", Method: "POST", PathPattern...
[ -2.2668585777282715, 0.4126282334327698, 0.35631099343299866, 0.2849155068397522, 0.32180628180503845, -0.20401296019554138, 0.83456951379776, 0.14742405712604523, -1.3576515913009644, -0.009823138825595379, -0.33667805790901184, 0.6010876893997192, -1.3850481510162354, 0.4564307630062103,...
func (a *Client) RegisterInfraEnv(ctx context.Context, params *RegisterInfraEnvParams) (*RegisterInfraEnvCreated, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "RegisterInfraEnv", Method: "POST", PathPattern: "/v2/infra-envs", ProducesMediaTypes: [...
[ -1.861476182937622, 0.2510983645915985, 0.5783472061157227, 0.6872531771659851, 0.5436960458755493, 0.09536413103342056, 0.9694960117340088, -0.6585434675216675, -0.7059964537620544, -0.5914900302886963, -0.6737750768661499, 1.551882266998291, -0.9938939213752747, 0.49351561069488525, 0....
func (a *Client) TransformClusterToAddingHosts(ctx context.Context, params *TransformClusterToAddingHostsParams) (*TransformClusterToAddingHostsAccepted, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "TransformClusterToAddingHosts", Method: "POST", PathPatt...
[ -0.3870418667793274, 0.6140040755271912, 0.5776634812355042, -0.13569346070289612, -0.3934401571750641, 0.525532603263855, 0.13497477769851685, 0.36966240406036377, -0.2067246437072754, 0.45234695076942444, -0.374545693397522, 1.1488385200500488, -0.858485758304596, 0.477148175239563, 1....
func (a *Client) TransformClusterToDay2(ctx context.Context, params *TransformClusterToDay2Params) (*TransformClusterToDay2Accepted, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "TransformClusterToDay2", Method: "POST", PathPattern: "/v2/clusters/{c...
[ -0.8849030137062073, -0.09515222907066345, 0.8588741421699524, -0.2828242778778076, -0.0035894240718334913, 0.08968411386013031, 0.41641607880592346, 0.10493588447570801, -0.7415459752082825, 0.2234819233417511, -0.6604741811752319, 1.3025892972946167, -0.5442787408828735, 0.71514296531677...
func (a *Client) UnbindHost(ctx context.Context, params *UnbindHostParams) (*UnbindHostOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "UnbindHost", Method: "POST", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/unbind", Prod...
[ -0.7217444181442261, 0.015033836476504803, 0.8309476971626282, 0.5093997120857239, -0.3186568319797516, 0.6564568281173706, 0.992249608039856, 0.04384215548634529, -0.6198164224624634, -0.07748949527740479, -0.5288977026939392, 1.5853856801986694, -0.7889124155044556, 0.5824893712997437, ...
func (a *Client) UpdateInfraEnv(ctx context.Context, params *UpdateInfraEnvParams) (*UpdateInfraEnvCreated, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "UpdateInfraEnv", Method: "PATCH", PathPattern: "/v2/infra-envs/{infra_env_id}", ProducesMedia...
[ -1.8652077913284302, -0.8273299336433411, 0.4680781662464142, 0.2865374684333801, -0.06499454379081726, 0.09808395802974701, 1.3207887411117554, -0.3018304109573364, -0.3794374167919159, -0.21520031988620758, -0.4893683195114136, 1.5111669301986694, -1.2377489805221558, 0.301312118768692, ...
func (a *Client) V2CancelInstallation(ctx context.Context, params *V2CancelInstallationParams) (*V2CancelInstallationAccepted, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2CancelInstallation", Method: "POST", PathPattern: "/v2/clusters/{cluster_i...
[ -0.4941360056400299, -0.9376498460769653, 0.43497434258461, 0.4350837767124176, -0.9098924994468689, -0.10587280988693237, 0.8745554685592651, 0.472302109003067, -0.05152563005685806, 1.4527620077133179, -0.12174401432275772, 0.5748795866966248, -0.31575363874435425, -0.11293866485357285, ...
func (a *Client) V2DownloadClusterCredentials(ctx context.Context, params *V2DownloadClusterCredentialsParams, writer io.Writer) (*V2DownloadClusterCredentialsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2DownloadClusterCredentials", Method: "GET", P...
[ -0.25010406970977783, -1.0788335800170898, 0.21081919968128204, -0.0747973844408989, -0.45473140478134155, -0.6058336496353149, 0.3104862868785858, -0.13543576002120972, -0.7751510143280029, 0.5566139221191406, -0.410066157579422, 1.2276337146759033, -0.5571057796478271, 0.0476008243858814...
func (a *Client) V2DownloadClusterFiles(ctx context.Context, params *V2DownloadClusterFilesParams, writer io.Writer) (*V2DownloadClusterFilesOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2DownloadClusterFiles", Method: "GET", PathPattern: "/v2/...
[ -0.6708003282546997, -0.2275885045528412, 0.21716760098934174, -0.12037096172571182, -0.24133332073688507, -0.3876868188381195, 0.8412265777587891, -0.5229429006576538, -0.7278931736946106, 0.4682696759700775, -0.48242706060409546, 0.9951578378677368, -1.11174476146698, -0.1464995741844177...
func (a *Client) V2DownloadClusterLogs(ctx context.Context, params *V2DownloadClusterLogsParams, writer io.Writer) (*V2DownloadClusterLogsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2DownloadClusterLogs", Method: "GET", PathPattern: "/v2/clus...
[ -0.39378905296325684, -0.3910367786884308, 0.07144138962030411, -0.34449225664138794, -0.7278099656105042, -0.5534588098526001, 0.5006217956542969, -0.5874364972114563, -0.5413287878036499, 0.5832319855690002, -0.35759595036506653, 1.426395297050476, -0.7262743711471558, 0.0228053703904151...
func (a *Client) V2GetClusterDefaultConfig(ctx context.Context, params *V2GetClusterDefaultConfigParams) (*V2GetClusterDefaultConfigOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2GetClusterDefaultConfig", Method: "GET", PathPattern: "/v2/cluste...
[ -0.28399306535720825, 0.039671555161476135, 0.11868754029273987, 0.32234740257263184, 0.39849764108657837, -0.5430670380592346, -0.18509693443775177, -0.018009845167398453, -0.5640349984169006, 0.5996956825256348, -0.5967050194740295, 1.841884732246399, -0.7223308682441711, 0.2012673467397...
func (a *Client) V2GetClusterUISettings(ctx context.Context, params *V2GetClusterUISettingsParams) (*V2GetClusterUISettingsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2GetClusterUISettings", Method: "GET", PathPattern: "/v2/clusters/{cluster_...
[ -1.0371075868606567, 0.3496083617210388, 0.539313018321991, 0.4222511649131775, -0.8460967540740967, -0.5192986130714417, 0.3456754982471466, -0.513919472694397, -0.4976123571395874, 0.7486937642097473, -0.19355063140392303, 1.114773154258728, -1.4347172975540161, -0.3770371079444885, 0....
func (a *Client) V2GetCredentials(ctx context.Context, params *V2GetCredentialsParams) (*V2GetCredentialsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2GetCredentials", Method: "GET", PathPattern: "/v2/clusters/{cluster_id}/credentials", Prod...
[ -0.49294614791870117, -0.8016201853752136, 0.2856478989124298, 0.2784891724586487, -0.0005875740898773074, -0.5763480067253113, -0.17908112704753876, -0.5744461417198181, -0.4624723792076111, 0.7671732306480408, -0.3052738904953003, 1.6467938423156738, -0.6248922348022461, 0.17612966895103...
func (a *Client) V2GetPresignedForClusterCredentials(ctx context.Context, params *V2GetPresignedForClusterCredentialsParams) (*V2GetPresignedForClusterCredentialsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2GetPresignedForClusterCredentials", Method: ...
[ -0.33859115839004517, -0.40648025274276733, 0.6006130576133728, 0.24618841707706451, -0.17383991181850433, -0.7418794631958008, -0.05096110701560974, -0.08070869743824005, -0.41413387656211853, 0.06973842531442642, -0.8522706031799316, 0.28301405906677246, -0.5021138191223145, 0.6241577863...
func (a *Client) V2GetPresignedForClusterFiles(ctx context.Context, params *V2GetPresignedForClusterFilesParams) (*V2GetPresignedForClusterFilesOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2GetPresignedForClusterFiles", Method: "GET", PathPattern: ...
[ -0.5377872586250305, -0.01624608226120472, 0.5329983234405518, 0.24766847491264343, 0.08665034174919128, -0.7955331206321716, 0.4964292347431183, -0.17963893711566925, -0.6259847283363342, -0.030907006934285164, -0.7917051315307617, 0.0007447513053193688, -0.8191647529602051, 0.39239796996...
func (a *Client) V2UpdateCluster(ctx context.Context, params *V2UpdateClusterParams) (*V2UpdateClusterCreated, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2UpdateCluster", Method: "PATCH", PathPattern: "/v2/clusters/{cluster_id}", ProducesMedia...
[ -1.133527398109436, -1.0772695541381836, 0.32195526361465454, -0.4337657392024994, -0.3235090970993042, -0.2183230221271515, 0.17674706876277924, 0.018667645752429962, 0.003675005165860057, 0.19620569050312042, -0.30468207597732544, 2.1712446212768555, -0.35060030221939087, -0.239317268133...
func (a *Client) V2UpdateClusterUISettings(ctx context.Context, params *V2UpdateClusterUISettingsParams) (*V2UpdateClusterUISettingsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2UpdateClusterUISettings", Method: "PUT", PathPattern: "/v2/cluste...
[ -1.605610966682434, -0.31058937311172485, 0.4794721305370331, 0.13514366745948792, -1.2593119144439697, -0.03549890220165253, 0.6278964877128601, 0.03308708220720291, -0.5859048962593079, 0.9521052241325378, -0.44734132289886475, 0.8397945761680603, -1.4185847043991089, -0.50089430809021, ...
func (a *Client) V2UploadLogs(ctx context.Context, params *V2UploadLogsParams) (*V2UploadLogsNoContent, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "V2UploadLogs", Method: "POST", PathPattern: "/v2/clusters/{cluster_id}/logs", ProducesMediaTypes:...
[ -0.7285491824150085, -0.11302711069583893, 0.6058633327484131, -0.49923405051231384, -0.3623391389846802, 0.0014624518807977438, -0.39738020300865173, -1.2219593524932861, -0.5485213398933411, 0.9486529231071472, -0.7450312376022339, 1.7097017765045166, -0.6802700757980347, 0.1697233170270...
func (a *Client) V2CompleteInstallation(ctx context.Context, params *V2CompleteInstallationParams) (*V2CompleteInstallationAccepted, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2CompleteInstallation", Method: "POST", PathPattern: "/v2/clusters/{c...
[ -0.42189356684684753, -0.7449296712875366, 0.8285974264144897, 0.35601502656936646, -0.7252317667007446, -0.45918288826942444, 1.4252564907073975, 0.47994136810302734, -0.049423687160015106, 1.8101094961166382, -0.7404345273971558, 0.5956329107284546, -0.6039272546768188, -0.23643492162227...
func (a *Client) V2DeregisterCluster(ctx context.Context, params *V2DeregisterClusterParams) (*V2DeregisterClusterNoContent, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2DeregisterCluster", Method: "DELETE", PathPattern: "/v2/clusters/{cluster_id...
[ -0.8996257781982422, -0.4008678197860718, 0.2959037721157074, -0.0564219169318676, 0.5923042297363281, -0.7247118353843689, 0.5745911002159119, 0.5435436964035034, -0.08820075541734695, -0.15795111656188965, -0.49083566665649414, 2.1244900226593018, -0.4483594000339508, 0.19082742929458618...
func (a *Client) V2DeregisterHost(ctx context.Context, params *V2DeregisterHostParams) (*V2DeregisterHostNoContent, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2DeregisterHost", Method: "DELETE", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/...
[ -0.9465150833129883, -0.2304520606994629, 0.547637403011322, -0.10017968714237213, -0.11689028888940811, -0.1633012592792511, 0.13719205558300018, 0.34613826870918274, -1.1672141551971436, -0.29932233691215515, -0.4132157564163208, 1.3862080574035645, -0.4969765841960907, 0.415522187948226...
func (a *Client) V2DownloadHostIgnition(ctx context.Context, params *V2DownloadHostIgnitionParams, writer io.Writer) (*V2DownloadHostIgnitionOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2DownloadHostIgnition", Method: "GET", PathPattern: "/v2/...
[ -0.7911719083786011, -1.3293945789337158, 0.6882655620574951, -0.11942296475172043, -0.5700639486312866, -0.33394935727119446, 0.3024555742740631, 0.6881641149520874, -0.5799513459205627, 0.49504050612449646, -0.6910068988800049, 0.6214590668678284, -0.445368230342865, -0.20092907547950745...
func (a *Client) V2DownloadInfraEnvFiles(ctx context.Context, params *V2DownloadInfraEnvFilesParams, writer io.Writer) (*V2DownloadInfraEnvFilesOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2DownloadInfraEnvFiles", Method: "GET", PathPattern: "...
[ -1.4469497203826904, -0.38089877367019653, 0.2261512130498886, -0.24972203373908997, 0.050398506224155426, -0.2300938069820404, 0.44233790040016174, -1.017871618270874, -1.5334230661392212, 0.3704427182674408, -0.2398626208305359, 0.2626160681247711, -1.0503672361373901, 0.6571944355964661...
func (a *Client) V2GetCluster(ctx context.Context, params *V2GetClusterParams) (*V2GetClusterOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2GetCluster", Method: "GET", PathPattern: "/v2/clusters/{cluster_id}", ProducesMediaTypes: []string{"ap...
[ -0.5631031394004822, -0.44647789001464844, 0.2554985582828522, -0.11402568221092224, 0.2623971700668335, -1.0700597763061523, 0.349263995885849, -0.5647454261779785, 0.2201220840215683, 0.05769747495651245, 0.18280817568302155, 2.6590688228607178, -0.48549336194992065, -0.3608434200286865,...
func (a *Client) V2GetClusterInstallConfig(ctx context.Context, params *V2GetClusterInstallConfigParams) (*V2GetClusterInstallConfigOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2GetClusterInstallConfig", Method: "GET", PathPattern: "/v2/cluste...
[ -0.20167353749275208, -0.24451860785484314, 0.7238203883171082, 0.2094377726316452, -0.7601549625396729, -0.6618700623512268, 0.4505503177642822, 0.827106773853302, -0.6650620698928833, 1.205418586730957, -0.33748072385787964, 1.0431835651397705, -1.0137836933135986, -0.006259682588279247,...
func (a *Client) V2GetHost(ctx context.Context, params *V2GetHostParams) (*V2GetHostOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2GetHost", Method: "GET", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/{host_id}", ProducesMediaTypes: []st...
[ -0.8257266283035278, -0.523987889289856, 0.6850529313087463, 0.3581012189388275, -0.5374424457550049, -0.443118155002594, -0.556890070438385, -0.7400165796279907, -1.1668211221694946, 0.4572007656097412, 0.13193432986736298, 1.7585666179656982, -0.39722487330436707, -0.15783199667930603, ...
func (a *Client) V2GetHostIgnition(ctx context.Context, params *V2GetHostIgnitionParams) (*V2GetHostIgnitionOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2GetHostIgnition", Method: "GET", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/{host_...
[ -1.0627769231796265, -0.6098322868347168, 0.797007143497467, 0.36735957860946655, -0.4752053916454315, -0.4650225043296814, 0.3534946143627167, 0.7773771286010742, -0.8711884021759033, 0.6132832169532776, -0.6311078667640686, 1.1325894594192505, -0.9427074790000916, -0.56691575050354, 0....
func (a *Client) V2GetIgnoredValidations(ctx context.Context, params *V2GetIgnoredValidationsParams) (*V2GetIgnoredValidationsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2GetIgnoredValidations", Method: "GET", PathPattern: "/v2/clusters/{clus...
[ -0.7821487784385681, -0.0485449954867363, 0.657375693321228, 0.21194586157798767, -0.4197259247303009, 0.4157712459564209, -0.034441880881786346, -0.969146192073822, -0.13786962628364563, 0.2104402482509613, -0.4892956018447876, 0.9976542592048645, -1.03429114818573, 0.39726659655570984, ...
func (a *Client) V2GetNextSteps(ctx context.Context, params *V2GetNextStepsParams) (*V2GetNextStepsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2GetNextSteps", Method: "GET", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/{host_id}/instruct...
[ -1.0073539018630981, 0.4393584132194519, 0.4882681667804718, 0.5118404030799866, -0.7229788303375244, 0.015287742018699646, 0.0022479016333818436, -0.7679937481880188, -0.6167486906051636, 0.27848881483078003, -0.30438849329948425, 1.3488857746124268, -0.7645863890647888, 0.884154319763183...
func (a *Client) V2GetPreflightRequirements(ctx context.Context, params *V2GetPreflightRequirementsParams) (*V2GetPreflightRequirementsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2GetPreflightRequirements", Method: "GET", PathPattern: "/v2/cl...
[ -0.9532436728477478, -0.42558446526527405, 0.5407485961914062, -0.04321205988526344, -0.25409796833992004, -0.17467106878757477, -0.3569108247756958, -0.8030247688293457, 0.03753325715661049, 0.7887685894966125, -0.4917289912700653, 1.4213252067565918, -0.8589618802070618, 0.78163826465606...
func (a *Client) V2ImportCluster(ctx context.Context, params *V2ImportClusterParams) (*V2ImportClusterCreated, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2ImportCluster", Method: "POST", PathPattern: "/v2/clusters/import", ProducesMediaTypes: ...
[ -0.24242457747459412, -0.3392077088356018, 0.37697833776474, -0.0983833372592926, -0.05973879620432854, -0.17470477521419525, 0.6100120544433594, -0.5541441440582275, 0.14329713582992554, 0.3976219594478607, -0.5888180136680603, 1.865753173828125, -0.49952784180641174, -0.5628971457481384,...
func (a *Client) V2InstallCluster(ctx context.Context, params *V2InstallClusterParams) (*V2InstallClusterAccepted, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2InstallCluster", Method: "POST", PathPattern: "/v2/clusters/{cluster_id}/actions/insta...
[ -0.2291349172592163, -0.9343704581260681, 0.4200967252254486, -0.4951015114784241, -0.5668606162071228, 0.006135809235274792, 0.7201114296913147, 0.4241291284561157, -0.5230259299278259, 0.8702977895736694, 0.0411350280046463, 1.6179827451705933, -0.7289367914199829, 0.29557153582572937, ...
func (a *Client) V2InstallHost(ctx context.Context, params *V2InstallHostParams) (*V2InstallHostAccepted, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2InstallHost", Method: "POST", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actio...
[ -0.25551822781562805, -0.6231034398078918, 0.7008218765258789, 0.11734382808208466, -0.5398290753364563, 0.436552494764328, 0.35352033376693726, 0.28104472160339355, -0.6321064829826355, 1.0837715864181519, -0.5103402733802795, 1.2508013248443604, -0.7659361362457275, -0.05590984597802162,...
func (a *Client) V2ListClusters(ctx context.Context, params *V2ListClustersParams) (*V2ListClustersOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2ListClusters", Method: "GET", PathPattern: "/v2/clusters", ProducesMediaTypes: []string{"applica...
[ -1.1467781066894531, -0.7142893671989441, 0.20033124089241028, -0.37060970067977905, -0.3957515358924866, -0.770347535610199, -0.008091005496680737, -1.0073750019073486, 0.6254270076751709, 0.3905320465564728, -0.3026307225227356, 1.9895039796829224, -0.8037476539611816, -0.172264561057090...
func (a *Client) V2ListFeatureSupportLevels(ctx context.Context, params *V2ListFeatureSupportLevelsParams) (*V2ListFeatureSupportLevelsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2ListFeatureSupportLevels", Method: "GET", PathPattern: "/v2/fe...
[ -0.7095153331756592, -0.007925303652882576, 0.005563690792769194, -0.3197343945503235, -0.796217679977417, -0.20870353281497955, -0.6766484975814819, -0.007904356345534325, -0.5276480913162231, 0.4965707063674927, -0.8023368716239929, 0.28693437576293945, -0.47571614384651184, 0.5310614109...
func (a *Client) V2ListHosts(ctx context.Context, params *V2ListHostsParams) (*V2ListHostsOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2ListHosts", Method: "GET", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts", ProducesMediaTypes: []stri...
[ -1.1682193279266357, -0.5844941139221191, 0.520844042301178, -0.3118782937526703, -0.7347256541252136, -0.2442927211523056, -0.37950995564460754, -0.5232932567596436, -0.542341947555542, 0.590214192867279, -0.0226923618465662, 1.800700068473816, -0.6832793951034546, 0.3019684851169586, -...
func (a *Client) V2PostStepReply(ctx context.Context, params *V2PostStepReplyParams) (*V2PostStepReplyNoContent, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2PostStepReply", Method: "POST", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/{host_...
[ -0.9586943984031677, -0.49054959416389465, 0.631259024143219, -0.3239401578903198, -0.9048417210578918, -0.39538905024528503, 0.06771187484264374, -0.5695163607597351, -0.7008476853370667, 0.653418779373169, -1.2250491380691528, 0.7711508870124817, -0.8973749279975891, 0.33132538199424744,...
func (a *Client) V2RegisterCluster(ctx context.Context, params *V2RegisterClusterParams) (*V2RegisterClusterCreated, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2RegisterCluster", Method: "POST", PathPattern: "/v2/clusters", ProducesMediaTypes:...
[ -1.2246050834655762, 0.28852617740631104, 0.18349850177764893, -0.33449631929397583, 0.5968068838119507, -0.595453143119812, 0.1900501400232315, -0.0010016241576522589, -0.24816805124282837, 0.15828149020671844, -0.56513512134552, 2.1713948249816895, -0.43779200315475464, 0.077352344989776...
func (a *Client) V2RegisterHost(ctx context.Context, params *V2RegisterHostParams) (*V2RegisterHostCreated, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2RegisterHost", Method: "POST", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts", Produces...
[ -1.3702099323272705, 0.3235979676246643, 0.5309846997261047, 0.043104711920022964, 0.14380158483982086, 0.0813841000199318, -0.2700788974761963, -0.020983081310987473, -1.2562819719314575, 0.3702767491340637, -0.6442332863807678, 1.5429821014404297, -0.5728021860122681, 0.0828813835978508,...
func (a *Client) V2ResetCluster(ctx context.Context, params *V2ResetClusterParams) (*V2ResetClusterAccepted, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2ResetCluster", Method: "POST", PathPattern: "/v2/clusters/{cluster_id}/actions/reset", Pro...
[ -0.8040269613265991, -0.3775194585323334, 0.19028376042842865, -0.48828044533729553, 0.1853339523077011, -0.6212365031242371, 0.8446825742721558, 0.16985078155994415, -0.2501611113548279, 0.7022665143013, -0.5097057223320007, 2.5912468433380127, -0.3246356248855591, -0.6130077242851257, ...
func (a *Client) V2ResetHost(ctx context.Context, params *V2ResetHostParams) (*V2ResetHostOK, error) { result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "v2ResetHost", Method: "POST", PathPattern: "/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/reset", P...
[ -0.7908036112785339, -0.5739825367927551, 0.5970152616500854, -0.12758582830429077, -0.29969584941864014, -0.5015383362770081, 0.35077834129333496, -0.2726995050907135, -0.8143556118011475, 1.242396354675293, -0.6256546974182129, 1.8740078210830688, -0.5424622297286987, -0.5587338209152222...