text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (o *ApplicationComponentSnapshotCollectionGetParams) SetReturnRecords(returnRecords *bool) { o.ReturnRecords = returnRecords }
[ -0.5765615701675415, -0.1622336059808731, 0.410127192735672, -0.2186514288187027, -0.05206548795104027, 0.13883547484874725, 0.24038124084472656, 0.39656776189804077, -0.626102864742279, 0.20429450273513794, -0.3676965534687042, -0.5581168532371521, -0.910866379737854, -0.2108757197856903,...
func (o *ApplicationComponentSnapshotCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *ApplicationComponentSnapshotCollectionGetParams { o.SetReturnTimeout(returnTimeout) return o }
[ 0.6780277490615845, -0.7858203053474426, 0.43492889404296875, 0.233495831489563, -0.22729524970054626, -0.13675101101398468, 0.14452321827411652, 0.18097242712974548, 0.07951822876930237, 0.40518292784690857, -0.33038586378097534, -0.8627529740333557, 0.38996055722236633, 0.618484377861023...
func (o *ApplicationComponentSnapshotCollectionGetParams) SetReturnTimeout(returnTimeout *int64) { o.ReturnTimeout = returnTimeout }
[ -0.025355083867907524, -0.6541839838027954, 0.12924978137016296, -0.03331374004483223, 0.32933706045150757, -0.06668909639120102, 0.5204092264175415, 0.6132339239120483, -0.43272528052330017, 0.10394944995641708, -0.2974624037742615, -0.5454971790313721, -0.2162913680076599, 0.279703736305...
func (o *ApplicationComponentSnapshotCollectionGetParams) WithUUID(uuid *string) *ApplicationComponentSnapshotCollectionGetParams { o.SetUUID(uuid) return o }
[ -0.6569717526435852, -0.8523240089416504, 0.42923375964164734, -0.46329253911972046, -0.5630338788032532, 0.3378511965274811, -0.086400605738163, 0.5742241144180298, 0.1357240378856659, -0.28027772903442383, 0.2648652195930481, -0.47792771458625793, 1.1791675090789795, 0.327756404876709, ...
func (o *ApplicationComponentSnapshotCollectionGetParams) SetUUID(uuid *string) { o.UUID = uuid }
[ -0.9415806531906128, -0.7960767149925232, 0.19052597880363464, -0.3342269957065582, -0.35198262333869934, 0.8695741891860962, 0.158260777592659, 0.9229913353919983, -0.1303049623966217, -0.6064556837081909, 0.0836988165974617, -0.02747383713722229, 0.8854077458381653, 0.16725820302963257, ...
func (o *ApplicationComponentSnapshotCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { if err := r.SetTimeout(o.timeout); err != nil { return err } var res []error // path param application.uuid if err := r.SetPathParam("application.uuid", o.ApplicationUUID); err != nil ...
[ -0.9688937664031982, -0.6273210644721985, 0.9733304977416992, -0.9196430444717407, 0.7032304406166077, -0.03183325380086899, 0.7256266474723816, -0.23983848094940186, -0.36096635460853577, 0.006264848634600639, -0.22171927988529205, -0.11826693266630173, -0.11996638774871826, 0.51561772823...
func (o *ApplicationComponentSnapshotCollectionGetParams) bindParamFields(formats strfmt.Registry) []string { fieldsIR := o.Fields var fieldsIC []string for _, fieldsIIR := range fieldsIR { // explode []string fieldsIIV := fieldsIIR // string as string fieldsIC = append(fieldsIC, fieldsIIV) } // items.Colle...
[ -0.32040655612945557, -0.7406730651855469, 0.5791062116622925, 0.01272435300052166, 0.13176922500133514, 0.32659146189689636, -0.0783156305551529, 0.22638289630413055, -0.13497701287269592, -0.09305673837661743, -0.049917176365852356, 0.0953238308429718, 0.580598771572113, 0.13774208724498...
func (o *ApplicationComponentSnapshotCollectionGetParams) bindParamOrderBy(formats strfmt.Registry) []string { orderByIR := o.OrderBy var orderByIC []string for _, orderByIIR := range orderByIR { // explode []string orderByIIV := orderByIIR // string as string orderByIC = append(orderByIC, orderByIIV) } // ...
[ -0.6717603206634521, -1.4024392366409302, 0.8223916292190552, 0.3941170275211334, -0.1617245376110077, -0.043394677340984344, -0.05566321313381195, -0.14750418066978455, -0.2416943460702896, -0.25357967615127563, 0.4707805812358856, -0.1451193243265152, 0.5994666814804077, 0.39178848266601...
func (c *Client) GetSourceRepository(ctx context.Context, params *GetSourceRepositoryInput, optFns ...func(*Options)) (*GetSourceRepositoryOutput, error) { if params == nil { params = &GetSourceRepositoryInput{} } result, metadata, err := c.invokeOperation(ctx, "GetSourceRepository", params, optFns, c.addOperatio...
[ -1.455432415008545, 1.0350395441055298, 0.4563537836074829, 0.10456818342208862, -0.24445760250091553, -1.2916038036346436, 0.6703176498413086, -0.5319915413856506, 0.99746173620224, -0.5261833071708679, -0.6791590452194214, 0.8393281698226929, -0.5672159194946289, -0.9551652073860168, -...
func NewPostHAProxyConfigurationParams() *PostHAProxyConfigurationParams { var ( forceReloadDefault = bool(false) onlyValidateDefault = bool(false) skipReloadDefault = bool(false) skipVersionDefault = bool(false) ) return &PostHAProxyConfigurationParams{ ForceReload: &forceReloadDefault, OnlyValidat...
[ -0.3819553852081299, 0.03964929282665253, 0.3928931653499603, -0.11476122587919235, -0.7591147422790527, -0.6540915369987488, 0.6759123802185059, 0.9616837501525879, -0.7009117007255554, 0.37502574920654297, -1.1105852127075195, -1.2350863218307495, -0.9171047210693359, 1.05149507522583, ...
func NewPostHAProxyConfigurationParamsWithTimeout(timeout time.Duration) *PostHAProxyConfigurationParams { var ( forceReloadDefault = bool(false) onlyValidateDefault = bool(false) skipReloadDefault = bool(false) skipVersionDefault = bool(false) ) return &PostHAProxyConfigurationParams{ ForceReload: &f...
[ 0.07348766922950745, 0.08539307117462158, 0.4065595865249634, -0.07169203460216522, -0.6740134954452515, -0.05642695724964142, -0.03442280367016792, 0.6416609287261963, -0.627608060836792, 1.220178246498108, -0.7534063458442688, -0.7649367451667786, -0.604556679725647, 0.9267863631248474, ...
func NewPostHAProxyConfigurationParamsWithContext(ctx context.Context) *PostHAProxyConfigurationParams { var ( forceReloadDefault = bool(false) onlyValidateDefault = bool(false) skipReloadDefault = bool(false) skipVersionDefault = bool(false) ) return &PostHAProxyConfigurationParams{ ForceReload: &for...
[ -0.5031067728996277, 0.2787996232509613, 0.479336678981781, -0.24483329057693481, -0.40292710065841675, 0.15655916929244995, 0.1452583521604538, 0.2342335283756256, -0.5155009627342224, 0.6769488453865051, -0.6405670046806335, -1.2433961629867554, -0.777129054069519, 0.25043922662734985, ...
func NewPostHAProxyConfigurationParamsWithHTTPClient(client *http.Client) *PostHAProxyConfigurationParams { var ( forceReloadDefault = bool(false) onlyValidateDefault = bool(false) skipReloadDefault = bool(false) skipVersionDefault = bool(false) ) return &PostHAProxyConfigurationParams{ ForceReload: &...
[ -0.2569178342819214, -0.2251991182565689, 0.2847141921520233, 0.01834663562476635, -0.4976259469985962, 0.07584304362535477, 0.9185063242912292, 0.5874752998352051, -1.461565375328064, 0.6040695309638977, -0.897940456867218, -1.3774738311767578, -0.6156213879585266, 0.4479103982448578, -...
func (o *PostHAProxyConfigurationParams) WithTimeout(timeout time.Duration) *PostHAProxyConfigurationParams { o.SetTimeout(timeout) return o }
[ 0.3179824650287628, 0.47192466259002686, 0.3643571436405182, -0.5224827527999878, -0.34369489550590515, -0.196758434176445, 0.315983384847641, 0.998828113079071, -0.09934429079294205, 0.5577409863471985, -0.2517792880535126, -0.8388241529464722, 0.06702324748039246, 0.827594518661499, 0....
func (o *PostHAProxyConfigurationParams) SetTimeout(timeout time.Duration) { o.timeout = timeout }
[ 0.04416898265480995, 0.5176630616188049, 0.24825115501880646, -0.48586365580558777, -0.08600720018148422, 0.22277840971946716, 0.2753660976886749, 1.2732986211776733, -0.6819695830345154, 0.45588579773902893, -0.3366539478302002, -0.5206843018531799, -0.6464376449584961, 1.1700793504714966...
func (o *PostHAProxyConfigurationParams) WithContext(ctx context.Context) *PostHAProxyConfigurationParams { o.SetContext(ctx) return o }
[ -0.5134055018424988, 0.5905284285545349, 0.5651876330375671, -0.6442842483520508, -0.4494052827358246, -0.32349494099617004, -0.006958831567317247, 0.42881691455841064, 0.17819850146770477, -0.12192188203334808, -0.439990758895874, -1.0453791618347168, -0.6676486134529114, 0.08122298866510...
func (o *PostHAProxyConfigurationParams) SetContext(ctx context.Context) { o.Context = ctx }
[ -0.6209890842437744, 0.6828123331069946, 0.27588629722595215, -0.4511003792285919, 0.04866209626197815, -0.005487827584147453, 0.1476718932390213, 0.5889897346496582, -0.06513477861881256, -0.1389373391866684, -0.5764836668968201, -0.5333001017570496, -1.161571741104126, 0.5206667184829712...
func (o *PostHAProxyConfigurationParams) WithHTTPClient(client *http.Client) *PostHAProxyConfigurationParams { o.SetHTTPClient(client) return o }
[ -0.20213238894939423, -0.28460967540740967, 0.4556962251663208, -0.6892920732498169, -0.3280623257160187, -0.32710281014442444, 0.7640605568885803, 0.6123843193054199, -0.7522706389427185, -0.029146037995815277, -0.31916844844818115, -1.0598790645599365, -0.040932610630989075, 0.0280002430...
func (o *PostHAProxyConfigurationParams) SetHTTPClient(client *http.Client) { o.HTTPClient = client }
[ 0.08846622705459595, -0.04238791763782501, 0.3223140835762024, -1.097495436668396, -0.4405006170272827, -0.50567227602005, 0.8208958506584167, 0.5380607843399048, -1.4122694730758667, -0.024766799062490463, -0.5872213840484619, -0.537510097026825, -0.7610145807266235, 0.09752380102872849, ...
func (o *PostHAProxyConfigurationParams) WithXRuntimeActions(xRuntimeActions *string) *PostHAProxyConfigurationParams { o.SetXRuntimeActions(xRuntimeActions) return o }
[ 0.006153907626867294, 0.05030977353453636, 0.6125472784042358, -0.1778375208377838, -0.4832248091697693, -0.38532719016075134, 0.22646993398666382, -0.01488456130027771, 0.3113189935684204, -0.003152460092678666, -0.8816879391670227, -0.49187615513801575, -0.7197482585906982, 0.24974319338...
func (o *PostHAProxyConfigurationParams) SetXRuntimeActions(xRuntimeActions *string) { o.XRuntimeActions = xRuntimeActions }
[ -0.34074917435646057, -0.06555898487567902, 0.4237639009952545, -0.28944388031959534, -0.39953339099884033, -0.03654545545578003, 0.2675429582595825, 0.018490450456738472, 0.013922390528023243, 0.04119311645627022, -1.2144074440002441, -0.058107197284698486, -1.122090458869934, 0.308136135...
func (o *PostHAProxyConfigurationParams) WithData(data string) *PostHAProxyConfigurationParams { o.SetData(data) return o }
[ -0.3439621925354004, 0.2873252034187317, 0.27269604802131653, -0.7961766123771667, -0.2525898814201355, 0.0719846561551094, 0.42465633153915405, 0.7777419686317444, -0.045538365840911865, -0.5926783084869385, -0.4348660409450531, -1.3611341714859009, -0.26774221658706665, 0.455499589443206...
func (o *PostHAProxyConfigurationParams) SetData(data string) { o.Data = data }
[ -0.5775604844093323, 0.5841691493988037, 0.21763338148593903, -0.6409154534339905, -0.2156166285276413, 0.3102882504463196, 0.4082276523113251, 1.0838866233825684, -0.49621450901031494, -0.8536052107810974, -0.5662815570831299, -0.9310206770896912, -0.926396906375885, 0.9012326002120972, ...
func (o *PostHAProxyConfigurationParams) WithForceReload(forceReload *bool) *PostHAProxyConfigurationParams { o.SetForceReload(forceReload) return o }
[ 0.07265955954790115, 0.5428128838539124, 0.4463508129119873, -0.3463478982448578, -0.13944078981876373, -0.43077877163887024, 0.16491110622882843, 0.1757318079471588, -0.036101505160331726, -0.4450278878211975, -0.7979966998100281, -1.1735119819641113, -0.08626158535480499, 0.3687186837196...
func (o *PostHAProxyConfigurationParams) SetForceReload(forceReload *bool) { o.ForceReload = forceReload }
[ -0.19325825572013855, 0.708493173122406, 0.43532946705818176, -0.44679805636405945, -0.014692547731101513, -0.19472041726112366, 0.3600330650806427, 0.09391376376152039, -0.5003563761711121, -0.6755291223526001, -1.0442821979522705, -0.615540087223053, -0.6436111927032471, 0.54524487257003...
func (o *PostHAProxyConfigurationParams) WithOnlyValidate(onlyValidate *bool) *PostHAProxyConfigurationParams { o.SetOnlyValidate(onlyValidate) return o }
[ -0.07523231953382492, 0.5107821822166443, 0.254393070936203, 0.146412655711174, -0.4484086036682129, -0.6116320490837097, 0.2964646816253662, 1.1536495685577393, -0.06611688435077667, -0.4780755639076233, 0.19945603609085083, -1.5236271619796753, -0.572174608707428, 0.8030840158462524, 0...
func (o *PostHAProxyConfigurationParams) SetOnlyValidate(onlyValidate *bool) { o.OnlyValidate = onlyValidate }
[ -0.0750507116317749, 0.36506187915802, 0.4087023138999939, -0.20658732950687408, -0.05740164592862129, -0.7257573008537292, 0.18028420209884644, 1.1125775575637817, -0.7326616048812866, -0.25953149795532227, -0.0775519460439682, -0.814886212348938, -0.8083661198616028, 1.0828133821487427, ...
func (o *PostHAProxyConfigurationParams) WithSkipReload(skipReload *bool) *PostHAProxyConfigurationParams { o.SetSkipReload(skipReload) return o }
[ -0.22139593958854675, 0.3896147906780243, 0.44816216826438904, -0.8000248670578003, -0.5751659870147705, -0.058714281767606735, 0.8181200623512268, 0.1155068576335907, 0.1595098227262497, -0.401348739862442, -0.45552903413772583, -1.595417857170105, -0.1571933627128601, -0.6683758497238159...
func (o *PostHAProxyConfigurationParams) SetSkipReload(skipReload *bool) { o.SkipReload = skipReload }
[ -0.6312809586524963, 0.3324834704399109, 0.5220750570297241, -0.8089519739151001, -0.5874621272087097, 0.1062021255493164, 0.862476646900177, 0.09548737108707428, 0.01502583734691143, -0.39988142251968384, -0.8560691475868225, -0.9934530854225159, -0.5789707899093628, -0.3746357858181, 0...
func (o *PostHAProxyConfigurationParams) WithSkipVersion(skipVersion *bool) *PostHAProxyConfigurationParams { o.SetSkipVersion(skipVersion) return o }
[ -0.7463037371635437, -0.427004873752594, 0.4532617926597595, -0.26447805762290955, -0.4362064003944397, -0.012441664934158325, 0.6812844276428223, 0.7179412841796875, -0.03241097554564476, 0.27753573656082153, -0.7494903206825256, -1.6168123483657837, -0.24265824258327484, -0.0250449739396...
func (o *PostHAProxyConfigurationParams) SetSkipVersion(skipVersion *bool) { o.SkipVersion = skipVersion }
[ -1.1311933994293213, -0.3896797001361847, 0.4511331617832184, -0.22893492877483368, -0.18414735794067383, 0.32369521260261536, 0.906065821647644, 0.9124714732170105, -0.3607098162174225, 0.4206993877887726, -1.159223198890686, -1.0829439163208008, -0.9000218510627747, 0.04748384654521942, ...
func (o *PostHAProxyConfigurationParams) WithVersion(version *int64) *PostHAProxyConfigurationParams { o.SetVersion(version) return o }
[ -0.3813900351524353, -0.21983802318572998, 0.42752283811569214, -0.20129349827766418, -0.1647368222475052, -0.5709748864173889, 1.0403493642807007, 0.8402266502380371, -0.40668562054634094, -0.003333976725116372, -0.9354654550552368, -2.072855234146118, -0.8505257368087769, 0.0997189283370...
func (o *PostHAProxyConfigurationParams) SetVersion(version *int64) { o.Version = version }
[ -0.5905466079711914, -0.12857545912265778, 0.28670600056648254, -0.010324646718800068, 0.04443712905049324, -0.22448483109474182, 1.082604169845581, 1.175460934638977, -0.7604121565818787, -0.0004181549302302301, -1.2800055742263794, -1.4998130798339844, -1.2239840030670166, 0.724707663059...
func (o *PostHAProxyConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { if err := r.SetTimeout(o.timeout); err != nil { return err } var res []error if o.XRuntimeActions != nil { // header param X-Runtime-Actions if err := r.SetHeaderParam("X-Runtime-Actions", *o.XRunt...
[ -0.9492801427841187, 0.12066046893596649, 0.900157630443573, -0.8070335984230042, 0.1307000070810318, -0.3194766044616699, 0.7868763208389282, -0.08424782007932663, -0.276229590177536, 0.0212584026157856, -0.04346078261733055, -0.11398609727621078, -0.12978558242321014, 0.9429457187652588,...
func BarrierFromGrpc(ctx context.Context) (*dtmcli.BranchBarrier, error) { tb := dtmgimp.TransBaseFromGrpc(ctx) return dtmcli.BarrierFrom(tb.TransType, tb.Gid, tb.BranchID, tb.Op) }
[ 0.4513125717639923, 0.28621113300323486, 0.07561224699020386, 0.06912454962730408, -0.3811614513397217, 0.8389080166816711, 0.6394991874694824, -1.5666698217391968, -0.376606822013855, -0.062322597950696945, -0.034813255071640015, 0.19751636683940887, -1.4130859375, 0.07158759236335754, ...
func (f *cFactory) SyncOrchestratorStatus(ctx context.Context) error { glog.Infof("Orchestrator reconciliation for cluster '%s' started...", f.cluster.Name) if f.orcClient == nil { return fmt.Errorf("orchestrator is not configured") } // Try to get cluster from orchestrator if cluster is not present then // reg...
[ -0.6062622666358948, -0.22325584292411804, 0.6336735486984253, -0.46892523765563965, 0.40112021565437317, -0.8403434157371521, 0.6617292165756226, -0.08801581710577011, 0.011752726510167122, 0.629977822303772, -0.4467923939228058, 0.5569936037063599, 0.770616352558136, -0.04058557748794556...
func (f *cFactory) setInstWritable(inst orc.Instance) error { if inst.ReadOnly == true { glog.V(2).Infof("set instance %s writable", inst.Key.Hostname) return f.orcClient.SetHostWritable(inst.Key) } return nil }
[ -0.9360642433166504, -0.020144930109381676, 0.5329728126525879, -0.8786449432373047, 0.07561244815587997, -0.13559110462665558, 1.0316271781921387, 0.26338937878608704, -1.2079048156738281, 0.6292392611503601, -0.17371205985546112, 1.2420024871826172, -0.7993300557136536, 0.658301651477813...
func (f *cFactory) setInstReadOnly(inst orc.Instance) error { if !inst.ReadOnly == true { glog.V(2).Infof("set instance %s read only", inst.Key.Hostname) return f.orcClient.SetHostReadOnly(inst.Key) } return nil }
[ -1.1734355688095093, 0.5770062208175659, 0.42406442761421204, -0.950892448425293, 0.17351917922496796, -0.3794794976711273, 0.664331316947937, 0.4867846965789795, -0.37520161271095276, 0.0048546683974564075, -0.2635171115398407, 1.200806736946106, -0.8067241311073303, 0.804635226726532, ...
func newBGPPeers(c *Client) BGPPeerInterface { return &bgpPeers{c: c} }
[ -0.18742047250270844, -0.47729718685150146, -0.04400407522916794, -0.09307651966810226, -0.5692301988601685, 0.39267823100090027, -0.3884877562522888, 0.08359339833259583, -0.3655236065387726, 1.1482373476028442, -0.2766072452068329, 0.8768779039382935, -2.069955825805664, 0.71080684661865...
func (h *bgpPeers) Create(a *api.BGPPeer) (*api.BGPPeer, error) { return a, h.c.create(*a, h) }
[ -0.5955761075019836, 0.10247163474559784, 0.3262835741043091, 0.52386873960495, 0.9040753245353699, 0.3344528079032898, -0.3726138472557068, -0.13819418847560883, -0.5795618295669556, 1.0953220129013062, 0.10559584945440292, 0.09894543886184692, -1.4387712478637695, 1.6088637113571167, 0...
func (h *bgpPeers) Update(a *api.BGPPeer) (*api.BGPPeer, error) { return a, h.c.update(*a, h) }
[ -0.8470685482025146, -0.9490045309066772, 0.42907676100730896, 0.0031450199894607067, 0.25405463576316833, 0.2958458960056305, -0.1770896315574646, 0.16438576579093933, 0.007556890603154898, 1.194840908050537, 0.09227760881185532, 0.6512067317962646, -1.6156433820724487, 0.9830019474029541...
func (h *bgpPeers) Apply(a *api.BGPPeer) (*api.BGPPeer, error) { return a, h.c.apply(*a, h) }
[ -0.653594434261322, -0.34815213084220886, 0.533480167388916, 0.4403432607650757, 0.21409225463867188, 0.34584182500839233, -0.09168355911970139, 0.7903058528900146, 0.31590673327445984, 0.5202745199203491, -0.10820156335830688, 0.44156867265701294, -1.1603939533233643, 1.4941667318344116, ...
func (h *bgpPeers) Delete(metadata api.BGPPeerMetadata) error { return h.c.delete(metadata, h) }
[ -0.41719120740890503, -0.04818808287382126, 0.3101430833339691, 0.5823496580123901, 1.2038209438323975, 0.5256680250167847, -0.5365403294563293, 0.5187026858329773, -0.6906030178070068, 1.5007482767105103, 0.07974858582019806, 0.9093833565711975, -2.02472186088562, 0.5168486833572388, 0....
func (h *bgpPeers) Get(metadata api.BGPPeerMetadata) (*api.BGPPeer, error) { if a, err := h.c.get(metadata, h); err != nil { return nil, err } else { return a.(*api.BGPPeer), nil } }
[ -0.6997483968734741, -0.05602123588323593, 0.45989665389060974, 0.36672529578208923, 1.1810815334320068, -0.0039055179804563522, -0.9129527807235718, 0.27496325969696045, -0.8644998073577881, 1.1535176038742065, 0.1990673542022705, 1.661274790763855, -1.5385146141052246, 0.1967566013336181...
func (h *bgpPeers) List(metadata api.BGPPeerMetadata) (*api.BGPPeerList, error) { l := api.NewBGPPeerList() // Global and host peers are listed separately. Work out which we need // to list. listGlobal := metadata.Scope == scope.Global || (metadata.Scope == scope.Undefined && metadata.Node == "") listNode := met...
[ -0.4567994177341461, -0.41816407442092896, 0.6733537316322327, -0.14088314771652222, 1.0698858499526978, -0.3506644368171692, -0.5340332388877869, 0.6790631413459778, -0.5353918671607971, 1.4713739156723022, 0.16284048557281494, 1.446799635887146, -1.0411521196365356, 0.6388481855392456, ...
func (h *bgpPeers) convertMetadataToListInterface(m unversioned.ResourceMetadata) (model.ListInterface, error) { pm := m.(api.BGPPeerMetadata) if pm.Scope == scope.Global { return model.GlobalBGPPeerListOptions{ PeerIP: pm.PeerIP, }, nil } else { return model.NodeBGPPeerListOptions{ PeerIP: pm.PeerIP, ...
[ -1.1310580968856812, -0.6471342444419861, 0.44787508249282837, -0.7649824023246765, 0.13245253264904022, 0.7324763536453247, -0.6792997717857361, 0.09247217327356339, -0.1536269187927246, 1.518669843673706, -0.3336435556411743, 0.028041837736964226, -0.5582748651504517, 0.20791049301624298...
func (h *bgpPeers) convertMetadataToKey(m unversioned.ResourceMetadata) (model.Key, error) { return h.ConvertMetadataToKey(m) }
[ -1.2297940254211426, -1.0935276746749878, 0.3041731119155884, -0.2615210711956024, -0.16315189003944397, 0.4031967520713806, -0.7917668223381042, 0.12096720933914185, -1.131442904472351, 1.3337314128875732, -0.2998780906200409, 0.38922497630119324, 0.5714825987815857, 0.5277639031410217, ...
func (h *bgpPeers) convertAPIToKVPair(a unversioned.Resource) (*model.KVPair, error) { return h.ConvertAPIToKVPair(a) }
[ -1.9791162014007568, -0.7104697823524475, 0.08973916620016098, -0.23666279017925262, -0.6183692216873169, -0.11148903518915176, -1.0756882429122925, -0.03148530796170235, 0.044406771659851074, 0.7488651275634766, 0.19093112647533417, -0.1872629076242447, -0.7271041870117188, 1.177993774414...
func (h *bgpPeers) convertKVPairToAPI(d *model.KVPair) (unversioned.Resource, error) { return h.ConvertKVPairToAPI(d) }
[ -1.5370774269104004, -1.2121703624725342, 0.18489490449428558, 0.6186342239379883, -1.128541350364685, 0.09251641482114792, -0.8997750282287598, 0.478083997964859, 0.6878564953804016, 1.1795907020568848, 0.12620550394058228, -0.25814542174339294, -0.4855925738811493, 0.14661140739917755, ...
func (h *Helm) GetManifest( location string, name string, namespace string, values, stringValues *orderedmap.OrderedMap, ) (string, error) { cmdArgs := []string{ "template", "--name", name, "--kube-version", h.kubeVersion, "--namespace", namespace, } for _, key := range values.Keys() { value, _...
[ -0.3220885992050171, -0.9047595262527466, 0.7964354157447815, -0.36641374230384827, -0.2355411797761917, -1.1521369218826294, -0.8740761280059814, -0.46688875555992126, -0.6885808706283569, 0.015019136480987072, 0.28769949078559875, 0.653167188167572, -0.35493943095207214, 0.22793406248092...
func UpdateWorksetReadonly(dbConn *sql.DB, setId int, isReadonly bool) error { return Update(dbConn, "UPDATE workset_lst"+ " SET is_readonly = "+toBoolSqlConst(isReadonly)+", "+" update_dt = "+ToQuoted(helper.MakeDateTime(time.Now()))+ " WHERE set_id ="+strconv.Itoa(setId)) }
[ -1.1742783784866333, -0.10646558552980423, 0.24441765248775482, -0.7141385674476624, -1.1139036417007446, -0.022654490545392036, -0.5808465480804443, -0.7307233810424805, -0.06379160284996033, 0.8442650437355042, -0.14465776085853577, 0.6994436979293823, -0.5114114880561829, 0.392977356910...
func UpdateWorksetReadonlyByName(dbConn *sql.DB, modelId int, name string, isReadonly bool) error { return Update(dbConn, "UPDATE workset_lst"+ " SET is_readonly = "+toBoolSqlConst(isReadonly)+", "+" update_dt = "+ToQuoted(helper.MakeDateTime(time.Now()))+ " WHERE set_id = ("+ " SELECT MIN(W.set_id) ...
[ -0.7331576347351074, -0.5272671580314636, 0.30169638991355896, -0.4642782509326935, -1.5068520307540894, -0.291705459356308, -0.3525638282299042, -1.204481840133667, -0.10748328268527985, 0.8198657035827637, -0.6079495549201965, 0.3562251627445221, -0.733269214630127, 0.2591184079647064, ...
func RenameWorkset(dbConn *sql.DB, setId int, newSetName string, isAnyReadonly bool) (bool, error) { if newSetName == "" { return false, nil // exit if new name is empty: nothing to do } // validate parameters if setId <= 0 { return false, errors.New("invalid workset id: " + strconv.Itoa(setId)) } ...
[ -1.1536614894866943, 0.08114320039749146, 0.8346160650253296, -0.30999109148979187, -1.256065011024475, -0.13769620656967163, -0.4662192165851593, -1.2946925163269043, -0.1994071900844574, 0.9401483535766602, 0.0980379730463028, -0.06903744488954544, -0.6333621740341187, -0.087857544422149...
func doRenameWorkset(trx *sql.Tx, setId int, newSetName string, isAnyReadonly bool) (bool, error) { if newSetName == "" { return false, nil // exit if new name is empty: nothing to do } // "lock" workset to prevent update or use by the model sId := strconv.Itoa(setId) err := TrxUpdate(trx, "UPDATE wo...
[ -1.0614014863967896, 0.05698643997311592, 0.9634093642234802, -0.45283639430999756, -0.9823802709579468, -0.2636684477329254, 0.09796703606843948, -0.9672653675079346, 0.33317238092422485, 1.1939207315444946, 0.28827178478240967, 0.2630639970302582, -0.430047869682312, -0.271003782749176, ...
func (meta *WorksetMeta) UpdateWorkset(dbConn *sql.DB, modelDef *ModelMeta, isReplace bool, langDef *LangMeta) error { // validate parameters if modelDef == nil { return errors.New("invalid (empty) model metadata") } if langDef == nil { return errors.New("invalid (empty) language list") } if meta.Se...
[ -1.2060967683792114, -0.35381925106048584, 0.5691235661506653, -0.5146374106407166, -0.7101409435272217, 0.034508321434259415, -0.08211943507194519, -0.4663794934749603, -0.5399163365364075, 0.7211496829986572, 0.07071112841367722, 0.31260886788368225, -0.5604705214500427, -0.0434130877256...
func doUpdateWorkset(trx *sql.Tx, modelDef *ModelMeta, meta *WorksetMeta, isReplace bool, langDef *LangMeta) error { smId := strconv.Itoa(modelDef.Model.ModelId) // workset name cannot be empty if meta.Set.Name == "" { return errors.New("invalid (empty) workset name, id: " + strconv.Itoa(meta.Set.SetId)) ...
[ -1.2334808111190796, -0.23366418480873108, 1.0097994804382324, -0.41158825159072876, -0.6222304701805115, 0.3313036859035492, 0.357697993516922, -0.5016915798187256, 0.14106354117393494, 1.0028599500656128, -0.25301799178123474, 0.5508213639259338, -0.46459007263183594, 0.29914116859436035...
func doInsertWorkset(trx *sql.Tx, modelDef *ModelMeta, meta *WorksetMeta, langDef *LangMeta) error { // workset parameters list must be empty in order to create new workset if len(meta.Param) > 0 { return errors.New("error: cannot create new workset with non-empty list of parameters " + meta.Set.Name) } ...
[ -0.8170366287231445, 0.015103322453796864, 1.03863525390625, -0.5037730932235718, -0.026275264099240303, 0.38511988520622253, 0.30520084500312805, -0.42502090334892273, -0.7452340126037598, 1.0460636615753174, -0.20819856226444244, 0.044252630323171616, -0.6650708317756653, 0.5449314117431...
func doReplaceWorkset(trx *sql.Tx, modelDef *ModelMeta, meta *WorksetMeta, langDef *LangMeta) error { // if workset based on existing run then base run id must be positive sbId := "" if meta.Set.BaseRunId > 0 { sbId = strconv.Itoa(meta.Set.BaseRunId) } else { sbId = "NULL" } sId := strconv.Itoa(me...
[ -0.8556317687034607, -0.23453256487846375, 0.9869229793548584, -0.6943314671516418, -0.17253480851650238, 0.4688762426376343, 0.381864994764328, 0.05919768288731575, -0.14689981937408447, 1.1128731966018677, -0.07442381978034973, 0.7710551619529724, -0.3589988350868225, 0.37380245327949524...
func doInsertWorksetBody(trx *sql.Tx, modelDef *ModelMeta, meta *WorksetMeta, langDef *LangMeta) error { sId := strconv.Itoa(meta.Set.SetId) // insert workset text (description and notes) for j := range meta.Txt { meta.Txt[j].SetId = meta.Set.SetId // update set id // if language code valid then ins...
[ -0.4561288058757782, -0.3404139280319214, 1.2254558801651, -0.9087330102920532, -0.10198356956243515, 0.2745048999786377, 0.04269441217184067, -0.8532300591468811, -0.5739415287971497, 1.0177067518234253, -0.4369698166847229, -0.06670936197042465, -0.6996005773544312, 0.40036383271217346, ...
func doMergeWorkset(trx *sql.Tx, modelDef *ModelMeta, meta *WorksetMeta, langDef *LangMeta) error { // UPDATE workset_lst // SET is_readonly = 1, base_run_id = 1234, update_dt = '2012-08-17 16:05:59.123' // WHERE set_id = 22 // sId := strconv.Itoa(meta.Set.SetId) sl := "" if meta.Set.IsReadonly { sl ...
[ -0.5245958566665649, 0.018295371904969215, 1.1912800073623657, -0.8032417297363281, -0.12096715718507767, 0.07651882618665695, -0.2361840158700943, -0.2861783504486084, -0.09397422522306442, 0.5694235563278198, -0.2748934328556061, -0.0650286078453064, -0.20150557160377502, 0.2090973258018...
func listQueues(ENV string) []string { // Using the SDK's default configuration, loading additional config // and credentials values from the environment variables, shared // credentials, and shared configuration files sess, err := session.NewSession(&aws.Config{ Region: aws.String("us-east-1")}, ) ...
[ -0.43750157952308655, -0.798957347869873, 0.7021034359931946, -0.4598585367202759, -0.10737762600183487, 0.12758317589759827, -0.7862486839294434, -0.5721715092658997, 0.8659206628799438, 0.269273966550827, -0.1545712649822235, 0.9427364468574524, 0.28148484230041504, 0.6812373399734497, ...
func PodsHandler(w http.ResponseWriter, r *http.Request) { vars := mux.Vars(r) namespace = vars["namespace"] filter = vars["filter"] if debug { fmt.Println("cmd.deletePod.PodsHandler:") fmt.Printf("Namespace: %v/n", namespace) fmt.Printf("Filter: %v/n", filter) fmt.Printf("dry-run: %v/n", dryrun) } pod...
[ -0.6746076345443726, -0.37856191396713257, 0.6201258301734924, -0.5944767594337463, -0.44747230410575867, -0.025971191003918648, 0.3916212022304535, -0.19182120263576508, 0.2718125581741333, 0.1519046127796173, 0.30713433027267456, -0.1502121388912201, -0.08575829863548279, 0.4594523310661...
func (p Player) String() string { if p == Black { return "Black" } else { return "White" } }
[ -0.5646896362304688, -0.41508352756500244, 0.3321211040019989, -0.5312391519546509, 0.11565729230642319, 0.8865509629249573, 0.5708633661270142, -1.2328120470046997, 0.4124515652656555, 1.315500259399414, 0.5344090461730957, 0.6617484092712402, -0.4664340615272522, 0.459096759557724, 0.8...
func (p Player) Other() Player { if p == Black { return White } else { return Black } }
[ -0.7891050577163696, -0.43172815442085266, 0.6201076507568359, -0.05523201823234558, 0.6736437678337097, 0.5876678824424744, -0.2519942820072174, -1.2859355211257935, 0.7821577787399292, 0.3715498447418213, 0.14257648587226868, 0.4365672767162323, -0.538361668586731, 1.1249116659164429, ...
func (s GetCompatibleElasticsearchVersionsInput) String() string { return awsutil.Prettify(s) }
[ 0.293595552444458, -0.07650355994701385, 0.015593411400914192, 0.07223658263683319, 0.08704239130020142, 0.8547732830047607, 0.5355023145675659, -0.9043039679527283, 0.3580636978149414, 0.8078787326812744, 0.14761079847812653, 0.070520780980587, 0.42208898067474365, -0.5164366364479065, ...
func (s *GetCompatibleElasticsearchVersionsInput) Validate() error { invalidParams := aws.ErrInvalidParams{Context: "GetCompatibleElasticsearchVersionsInput"} if s.DomainName != nil && len(*s.DomainName) < 3 { invalidParams.Add(aws.NewErrParamMinLen("DomainName", 3)) } if invalidParams.Len() > 0 { return inval...
[ -0.24888263642787933, 0.6362848281860352, 0.3955993056297302, 0.3722551763057709, 0.35115426778793335, 0.5283477902412415, -0.0691305473446846, -0.35301175713539124, 0.045944951474666595, 0.4210395812988281, 0.49375635385513306, -0.3203229308128357, -0.4016939699649811, 0.16056868433952332...
func (s GetCompatibleElasticsearchVersionsInput) MarshalFields(e protocol.FieldEncoder) error { e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/json"), protocol.Metadata{}) if s.DomainName != nil { v := *s.DomainName metadata := protocol.Metadata{} e.SetValue(protocol.Query...
[ -0.006137416232377291, 0.7367038130760193, 0.20834296941757202, -0.5401426553726196, 0.35802754759788513, 0.7024843096733093, 0.057080864906311035, -0.022639576345682144, 0.1485416442155838, 0.44981151819229126, -0.09082229435443878, 0.17350147664546967, -0.54322350025177, -0.2152533233165...
func (s GetCompatibleElasticsearchVersionsOutput) String() string { return awsutil.Prettify(s) }
[ 0.9539926052093506, -0.5832235217094421, 0.09393123537302017, -0.011980687268078327, -0.36470749974250793, 0.2167740911245346, 0.7233810424804688, -0.8989278674125671, -0.03228185698390007, 0.7509085536003113, 0.2885531485080719, -0.2847404181957245, 0.7150973081588745, -0.806039035320282,...
func (s GetCompatibleElasticsearchVersionsOutput) MarshalFields(e protocol.FieldEncoder) error { if s.CompatibleElasticsearchVersions != nil { v := s.CompatibleElasticsearchVersions metadata := protocol.Metadata{} ls0 := e.List(protocol.BodyTarget, "CompatibleElasticsearchVersions", metadata) ls0.Start() fo...
[ 0.12380557507276535, 0.7312250137329102, 0.08328412473201752, -0.1858624666929245, 0.30365434288978577, 0.4637843370437622, 0.03495195880532265, 0.2732229232788086, 0.2631446421146393, 0.7590015530586243, -0.30131715536117554, -0.4904179275035858, -0.4913020730018616, -0.12113276869058609,...
func (r GetCompatibleElasticsearchVersionsRequest) Send(ctx context.Context) (*GetCompatibleElasticsearchVersionsResponse, error) { r.Request.SetContext(ctx) err := r.Request.Send() if err != nil { return nil, err } resp := &GetCompatibleElasticsearchVersionsResponse{ GetCompatibleElasticsearchVersionsOutput:...
[ -0.6240701675415039, 0.20450575649738312, 0.24153098464012146, 0.41896361112594604, 0.4347928762435913, -0.10011214762926102, -0.416610449552536, -0.7748884558677673, 0.19713959097862244, 0.6952612996101379, -0.33072155714035034, 0.1562931090593338, -0.05908302962779999, -0.052457086741924...
func (r *GetCompatibleElasticsearchVersionsResponse) SDKResponseMetdata() *aws.Response { return r.response }
[ -0.04160792753100395, 0.05439040809869766, 0.11840243637561798, 0.07431718707084656, 0.12203746289014816, 0.3104730546474457, -0.637790858745575, -0.28896015882492065, 0.9026443362236023, 0.8127199411392212, -0.049198295921087265, -0.8597226142883301, 0.021170703694224358, -0.9221436381340...
func (msg MsgRevealSolution) ValidateBasic() error { if msg.Scavenger.Empty() { return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "create is empty") } if msg.Solution == "" { return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "solution is empty") } if msg.SolutionHash == "" { return sdkerrors.Wrap(sdkerro...
[ 0.11561281234025955, 0.09812049567699432, 0.5412245988845825, 0.20054927468299866, 0.2576753497123718, 0.37369173765182495, -0.03434191644191742, -1.3592662811279297, -0.5295830368995667, -0.1266898214817047, 0.051973845809698105, 0.43658894300460815, 0.2649531960487366, 0.5540840029716492...
func (b *base) init(services []Service) (err error) { if err = b.initConfig(); err != nil { return } if err = b.initNewrelic(); err != nil { return } if err = b.initSentry(); err != nil { return } b.initLogger() b.initDriver() b.initRouter(services) return }
[ -1.0371284484863281, 0.04156075045466423, 0.5473960638046265, 0.41426780819892883, 0.3894200921058655, 0.8112582564353943, -0.4929402768611908, -0.37918543815612793, -0.34028610587120056, -0.1307711899280548, -0.15080779790878296, 0.24532149732112885, -0.6889727115631104, 0.784499943256378...
func (b *base) initDriver() { if !b.config.GetBool("DEBUG") { gin.SetMode(gin.ReleaseMode) // Switch to "release" mode in production. } b.driver = gin.New() }
[ -0.30176058411598206, -0.15287108719348907, 0.4869558811187744, 1.4809043407440186, 0.7289315462112427, -0.027003195136785507, 0.09820223599672318, 0.19825083017349243, -0.9101511240005493, -0.3288649916648865, 0.045801714062690735, 0.25727906823158264, -0.9441505074501038, 1.8662343025207...
func (b *base) initRouter(services []Service) { router := &router{b, services} router.init() b.router = router }
[ -0.7555862665176392, 0.1290280818939209, 0.45140594244003296, 0.3681679666042328, 0.16253551840782166, 0.3564103841781616, -0.3888748288154602, 0.12789253890514374, -0.06635933369398117, -0.3875041604042053, -0.08670292794704437, 0.3486603796482086, -0.6375501155853271, 1.9779287576675415,...
func TestExporter(t *testing.T) { if testing.Short() { t.SkipNow() } apiKeyB, err := ioutil.ReadFile("datadog.key") if err != nil { t.SkipNow() } apiKey := string(apiKeyB) apiKey = strings.TrimSpace(apiKey) cmd := exec.Command("/opt/datadog-dogstatsd/bin/dogstatsd", "start") cmd.Env = append(os.Environ(),...
[ 0.41932862997055054, 1.1025032997131348, 0.6774885058403015, 0.4023629128932953, 0.4317503273487091, 0.46334537863731384, 0.40895670652389526, -0.4947490692138672, -0.8111581802368164, 0.2969911992549896, 0.10318494588136673, 0.15485982596874237, -0.2781640887260437, 0.9095945358276367, ...
func (b *Body) Connect(a, c int) bool { if len(b.adjacency) <= a || len(b.adjacency) <= c { return false } for _, v := range b.adjacency[a] { if v == c { return false } } // All connections are dual connections b.adjacency[a] = append(b.adjacency[a], c) b.adjacency[c] = append(b.adjacency[c], a) return...
[ -0.1873980164527893, 0.025917038321495056, 0.7683562636375427, -0.9085866212844849, -0.4272301197052002, 1.0248466730117798, -0.30437377095222473, -0.6006878614425659, 0.25117263197898865, 0.5434080958366394, 0.28771987557411194, -0.21335728466510773, -0.7364380955696106, 0.232432529330253...
func (b *Body) AddNodes(ns ...BodyNode) { for _, n := range ns { b.graph = append(b.graph, n) b.adjacency = append(b.adjacency, []int{}) } }
[ -0.48852095007896423, 0.9807246923446655, 0.4579802453517914, -0.17608894407749176, 0.9836259484291077, 0.8265919089317322, -0.3311547636985779, -0.27445968985557556, 0.30029410123825073, -0.49978339672088623, -0.21387949585914612, 0.8320378065109253, -0.8877713680267334, 0.559521198272705...
func (b *Body) IsAdjacent(i, j int) bool { for _, k := range b.adjacency[i] { if k == j { return true } } return false }
[ -0.4771822392940521, -0.2687467038631439, 0.4942207336425781, -0.07054319977760315, -0.6002741456031799, 0.31471067667007446, -0.024694407358765602, -0.7421225309371948, -0.20286035537719727, 0.8073313236236572, 0.008818230591714382, 0.6083793044090271, -0.8694174885749817, 0.0561613403260...
func (b *Body) Infect(i int) { b.graph[i].Infect(float64(5-b.level)*0.08 + rand.Float64()*0.1) //if _, ok := b.cleansed[i]; ok { // return //} //if b.graph[i].Infect(.3 + rand.Float64()*0.1) { // b.infected = append(b.infected, i) //} }
[ -0.63680499792099, 0.11537344008684158, 0.6944955587387085, 0.025896258652210236, -0.3599861264228821, 0.9760806560516357, 0.9373517632484436, -0.6628615260124207, 0.46957117319107056, 0.5882155895233154, -0.8598856925964355, 0.3500550091266632, -1.5596203804016113, -0.5481964349746704, ...
func (b *Body) InfectionProgress() { for _, oNum := range b.infectionPattern[b.infectionSet] { if b.graph[oNum].DiseaseLevel() != 0 && b.graph[oNum].DiseaseLevel() != 1 { return } } b.infectionSet++ if b.infectionSet >= len(b.infectionPattern) { b.infectionSet-- <-time.After(2 * time.Second) thisBody....
[ -0.3576420843601227, -0.308485746383667, 0.7323606610298157, 0.36403632164001465, -0.4673619568347931, -0.1784742772579193, 0.7600926756858826, -0.291940838098526, 0.04090166091918945, 0.29792845249176025, 0.21715956926345825, -0.3514378070831299, -1.2749366760253906, -0.44191381335258484,...
func (b *Body) Stats() menu.LevelStats { cleared := 0.0 total := 0.0 for _, col := range b.infectionPattern { for _, o := range col { if b.graph[o].DiseaseLevel() <= 0 { cleared++ } total++ } } cleared /= total return menu.LevelStats{ Score: -1, Time: time.Now().Sub(b.startTime).Nanoseco...
[ -0.3966897130012512, -0.49645328521728516, 0.4945414662361145, -0.6204777359962463, 0.1514081358909607, -0.1469762921333313, 0.15390309691429138, -0.8019998073577881, 0.42482805252075195, -0.10028313845396042, 0.199869766831398, 0.3588279187679291, -0.21575357019901276, 0.5085510611534119,...
func NewMockclient(ctrl *gomock.Controller) *Mockclient { mock := &Mockclient{ctrl: ctrl} mock.recorder = &MockclientMockRecorder{mock} return mock }
[ 0.05614539235830307, 0.1355169713497162, 0.2052134871482849, 0.2738620936870575, 0.11878590285778046, 0.1517292708158493, 0.6964475512504578, -0.5070502161979675, 0.17511644959449768, 0.3037686049938202, -0.8944054841995239, 0.4057541489601135, -0.6633550524711609, 0.3086087107658386, 0....
func (m *Mockclient) EXPECT() *MockclientMockRecorder { return m.recorder }
[ 0.29976603388786316, 0.09236734360456467, 0.24792428314685822, -0.23549090325832367, -0.074150949716568, 0.2950023412704468, 0.3074798285961151, 0.032393928617239, 0.003783199470490217, -0.20483624935150146, 0.5916558504104614, 0.9741698503494263, -1.1806185245513916, 0.6945529580116272, ...
func (m *Mockclient) AuthorizeMachineUser(ctx context.Context, in *v1alpha.AuthorizeMachineUserRequest, opts ...grpc.CallOption) (*v1alpha.AuthorizeMachineUserResponse, error) { m.ctrl.T.Helper() varargs := []interface{}{ctx, in} for _, a := range opts { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "Auth...
[ -0.4135723114013672, 0.15075479447841644, 0.12335042655467987, 0.9136859774589539, 0.4063226878643036, 0.13949443399906158, 0.9279668927192688, -0.23049232363700867, -1.30265212059021, -0.7035179734230042, -0.0962740033864975, -0.22676682472229004, -1.397871971130371, 0.7082952857017517, ...
func (mr *MockclientMockRecorder) AuthorizeMachineUser(ctx, in interface{}, opts ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]interface{}{ctx, in}, opts...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AuthorizeMachineUser", reflect.TypeOf((*Mockclient)(nil).AuthorizeMachineUs...
[ 0.2742566466331482, 0.6802396774291992, 0.24259290099143982, 0.8758554458618164, -0.4696926176548004, 0.09105192869901657, -0.20151014626026154, -0.5050074458122253, -0.48267343640327454, 0.0017146997852250934, 0.723753035068512, 0.7912094593048096, -1.2277556657791138, 0.8042290806770325,...
func NewMockIAMServiceInterface(ctrl *gomock.Controller) *MockIAMServiceInterface { mock := &MockIAMServiceInterface{ctrl: ctrl} mock.recorder = &MockIAMServiceInterfaceMockRecorder{mock} return mock }
[ -0.3553479015827179, -0.1009136512875557, 0.2553443908691406, 0.3339217007160187, -0.9135856032371521, 0.1800398975610733, 0.4517422318458557, -0.03606788069009781, 0.6644871234893799, 0.026103006675839424, -0.7161099314689636, -0.8204963207244873, -0.8593325018882751, 0.824657678604126, ...
func (m *MockIAMServiceInterface) EXPECT() *MockIAMServiceInterfaceMockRecorder { return m.recorder }
[ -0.0330316387116909, 0.4406997859477997, 0.23472647368907928, 0.3382861316204071, -0.4996226727962494, 0.18484489619731903, 0.17210282385349274, -0.140849769115448, 0.6887502074241638, -0.45531636476516724, 1.0994120836257935, 0.38788801431655884, -1.030394196510315, 0.7393102645874023, ...
func (m *MockIAMServiceInterface) CreateOIDCProvider(input *iam.CreateOpenIDConnectProviderInput) (*iam.CreateOpenIDConnectProviderOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateOIDCProvider", input) ret0, _ := ret[0].(*iam.CreateOpenIDConnectProviderOutput) ret1, _ := ret[1].(error) return ret0, ...
[ -1.2238112688064575, -0.6045287847518921, -0.09170346707105637, -0.17288358509540558, 0.8702674508094788, 0.6293204426765442, 0.8401568531990051, -1.4212517738342285, -0.9673237204551697, -0.1282469928264618, -0.6943796873092651, -0.4823012948036194, -1.1792714595794678, 0.5737056732177734...
func (mr *MockIAMServiceInterfaceMockRecorder) CreateOIDCProvider(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOIDCProvider", reflect.TypeOf((*MockIAMServiceInterface)(nil).CreateOIDCProvider), input) }
[ -0.9550193548202515, 0.4377375841140747, -0.07753151655197144, 0.2037762552499771, -0.026326365768909454, 0.9137418866157532, -0.33054623007774353, -1.9181625843048096, -0.14465905725955963, 0.6707287430763245, 0.2718331217765808, 0.12590749561786652, -1.0735715627670288, 1.037681818008422...
func (m *MockIAMServiceInterface) GetRole(input *iam.GetRoleInput) (*iam.GetRoleOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetRole", input) ret0, _ := ret[0].(*iam.GetRoleOutput) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.04801873490214348, 0.47254008054733276, 0.5480992197990417, 0.5977612137794495, 2.399081230163574, -0.30474692583084106, 1.1876275539398193, -0.9221449494361877, -0.5173609852790833, -0.3613892197608948, -0.03486158698797226, -0.6235276460647583, -0.7320137619972229, 0.7937284708023071,...
func (mr *MockIAMServiceInterfaceMockRecorder) GetRole(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRole", reflect.TypeOf((*MockIAMServiceInterface)(nil).GetRole), input) }
[ 0.33075574040412903, 1.2339025735855103, 0.32422617077827454, 0.7256084084510803, 1.0652329921722412, -0.11489133536815643, 0.06701375544071198, -1.5677356719970703, 0.7498892545700073, 0.47812893986701965, 1.0110353231430054, 0.20448733866214752, -1.175229787826538, 1.3202437162399292, ...
func (m *MockIAMServiceInterface) ListOIDCProviders(input *iam.ListOpenIDConnectProvidersInput) (*iam.ListOpenIDConnectProvidersOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListOIDCProviders", input) ret0, _ := ret[0].(*iam.ListOpenIDConnectProvidersOutput) ret1, _ := ret[1].(error) return ret0, ret1 ...
[ -1.3446650505065918, -1.1673635244369507, -0.053455885499715805, -0.418988972902298, 0.8996313810348511, -0.3273651599884033, 0.4480760991573334, -0.9454707503318787, 0.09679590165615082, -0.2844247817993164, -0.990773618221283, -0.15164507925510406, -1.5204646587371826, 0.0345388092100620...
func (mr *MockIAMServiceInterfaceMockRecorder) ListOIDCProviders(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListOIDCProviders", reflect.TypeOf((*MockIAMServiceInterface)(nil).ListOIDCProviders), input) }
[ -1.1642497777938843, 0.03693224862217903, 0.0006066823843866587, -0.24534030258655548, 0.1331656277179718, -0.6938396096229553, -1.0153058767318726, -1.1603803634643555, 0.9892259240150452, 0.5159257054328918, -0.052149515599012375, 0.6994296312332153, -1.0683757066726685, 0.85758894681930...
func (this *Router) HandleRoute(path string, f ReqResFunc) { this.routes[path] = f http.HandleFunc(path, this.assignRouteToHttp(f)) }
[ -0.0671725794672966, -0.2627984583377838, 0.4325743019580841, 0.36412468552589417, 0.9251333475112915, 0.19777339696884155, 0.1284814327955246, 0.7425779700279236, -0.7733550071716309, -1.158218264579773, -0.02678210288286209, -0.5505752563476562, 0.7343335747718811, 0.09657403826713562, ...
func (this *Router) assignRouteToHttp(f ReqResFunc) NetHttpHandleFunc { return func(rw http.ResponseWriter, r *http.Request) { s := f(rw, r) fmt.Fprintf(rw, s) } }
[ -0.3628045618534088, -1.3344669342041016, 0.6739394664764404, -0.13186438381671906, 0.6367721557617188, 0.4172472059726715, 0.4637778699398041, -0.004385059233754873, -0.6267521381378174, -0.010036281310021877, 0.34645020961761475, -0.6641061305999756, 0.5921117067337036, -0.06387708336114...
func (this *Router) ServeHTTP(rw http.ResponseWriter, r *http.Request) { s := this.routes[r.URL.Path](rw, r) fmt.Fprintf(rw, s) }
[ -0.26819321513175964, -0.5546457171440125, 0.47712442278862, -0.166406512260437, 0.2739414870738983, 0.23752382397651672, 0.226017028093338, -0.10216338187456131, -0.9904718399047852, 0.4691726565361023, 0.4051765203475952, 0.26019415259361267, 0.01995062828063965, 0.5031302571296692, -0...
func ScanLines(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF && len(data) == 0 { return 0, nil, nil } if i := bytes.IndexByte(data, '\n'); i >= 0 { // We have a full newline-terminated line. return i + 1, data[0 : i+1], nil } // If we're at EOF, we have a final, non-terminated li...
[ -0.5240750312805176, -0.2980073392391205, 0.5545060038566589, -0.06717244535684586, -0.9100448489189148, -0.9456194639205933, -0.8993188142776489, 0.025224870070815086, 0.4979509711265564, -0.42217764258384705, -0.12262874841690063, -0.5157716274261475, 0.03297121822834015, 0.7635478377342...
func EnqueueClusterForNamespacedObject(client ctrlruntimeclient.Client) *handler.EnqueueRequestsFromMapFunc { return &handler.EnqueueRequestsFromMapFunc{ToRequests: handler.ToRequestsFunc(func(a handler.MapObject) []reconcile.Request { clusterList := &kubermaticv1.ClusterList{} if err := client.List(context.Backgr...
[ 0.1475517302751541, -0.9084178805351257, 0.3669065237045288, -0.0801955983042717, -0.10592769831418991, -0.2371867448091507, -0.5713029503822327, -1.1725867986679077, 0.5013940930366516, 0.03602284938097, 0.22013844549655914, 1.1518715620040894, 0.5443108677864075, 1.0751765966415405, 0....
func EnqueueClusterForNamespacedObjectWithSeedName(client ctrlruntimeclient.Client, seedName string, clusterSelector labels.Selector) *handler.EnqueueRequestsFromMapFunc { return &handler.EnqueueRequestsFromMapFunc{ToRequests: handler.ToRequestsFunc(func(a handler.MapObject) []reconcile.Request { clusterList := &kub...
[ -0.12462306022644043, -0.6173451542854309, 0.3788090646266937, -0.059510454535484314, -0.6143049001693726, -0.2104414403438568, -0.3121802508831024, -1.2265989780426025, 0.7373892664909363, 0.2544001340866089, 0.27969375252723694, 0.8208602666854858, 0.5050621628761292, 1.0178669691085815,...