text
stringlengths
11
6.3k
embedding
listlengths
768
768
func XXX_HACK_autodetect_libpcap_layout(reader io.ReaderAt, hdrlay *PacketHeaderLayout) { buf := make([]byte, 24) reader.ReadAt(buf, 0) if 0xa1b23c4d == binary.LittleEndian.Uint32(buf[0:4]) && 228 == binary.LittleEndian.Uint32(buf[20:24]) { BuildPacketHeaderLayout(hdrlay, HDRLAY_LIBPCAP) } }
[ 0.1355467289686203, -1.149629831314087, 0.6846997141838074, -0.606378972530365, -0.2635684311389923, -0.12186764925718307, 0.19202879071235657, -0.4308972656726837, 0.9321171045303345, -0.9789285063743591, -0.018767450004816055, -0.6592391133308411, -0.7120197415351868, -0.2609764933586120...
func (rs *DataReadStream) SetReadRange(start *BlockInfo, end *BlockInfo) { rs.reset() if start != nil { rs.bufferOffset = start.Position } if end != nil { rs.endOffset = end.Position + int64(end.ByteCount) } }
[ -0.19401222467422485, -0.6534092426300049, 0.533428966999054, -0.780805230140686, -0.1693725436925888, -0.04645494371652603, -0.5259630680084229, 0.09147752076387405, -1.0718936920166016, -0.2495771050453186, -0.2881886065006256, 0.9673649668693542, -0.7929627895355225, 0.4613005518913269,...
func (rs *DataReadStream) ReadNextPacket(output *NextPacketOutput) error { for { // handle EOF if rs.iseof { if rs.bufferAvail == 0 { return io.EOF } return io.ErrUnexpectedEOF } rdbuf := rs.buf[rs.bufferUsed : rs.bufferUsed+rs.bufferAvail] success := NextPacket(&rdbuf, &rs.hdrlay, o...
[ 0.044699620455503464, -0.12928231060504913, 0.7705864906311035, -0.25389260053634644, -1.437527060508728, -0.8601875305175781, -0.17495279014110565, -1.354504942893982, -0.033003970980644226, -0.8113275766372681, 0.5623554587364197, 0.11987858265638351, -0.2789917588233948, 0.6743714213371...
func getDiscordUserID(session *discordgo.Session) (string, error) { if user := session.State.User; user != nil { return user.ID, nil } user, err := session.User("@me") if err != nil { return "", err } return user.ID, nil }
[ -0.09492132812738419, -0.07247856259346008, 0.7015764117240906, 0.17765381932258606, -0.21065166592597961, -0.3853531777858734, 0.557176411151886, 0.1540966033935547, 0.8198699355125427, -0.31758958101272583, -0.016418535262346268, 0.4446119964122772, -0.09379565715789795, 0.95327085256576...
func UpdateConfigFiles(ctx context.Context, db string) *nerr.E { errMsg := "unable to update config files" if len(db) == 0 { return nerr.Createf("", "%s: must pass a valid db name", errMsg) } addr := os.Getenv("DB_ADDRESS") if len(addr) == 0 { return nerr.Createf("", "%s: DB_ADDRESS is not set", errMsg) } ...
[ -1.5878947973251343, 0.42294690012931824, 0.9713134765625, -0.018089309334754944, -0.06760448217391968, -0.5462254881858826, -0.44250747561454773, -0.47456732392311096, -0.4933343827724457, 1.1815859079360962, -0.8673219084739685, 0.11710298806428909, -0.8292181491851807, 0.493126481771469...
func WriteFilesToDisk(configs []ConfigFile) *nerr.E { for _, config := range configs { path := strings.TrimRight(config.Path, "/") path = path + "/" + config.ID if len(path) == 0 { continue } log.L.Infof("Writing new config file to %s", path) // create dirs in case they don't exist err := os.MkdirA...
[ -0.8931331634521484, 0.06336189806461334, 0.625997006893158, 0.8704650402069092, 1.3778201341629028, 0.21999378502368927, 0.6747670769691467, -0.16927489638328552, -0.9045072197914124, 0.8033895492553711, -0.08790064603090286, -1.2563368082046509, -0.12069223821163177, 1.045572280883789, ...
func Create(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { fmt.Fprint(w, "Welcome!\n") }
[ 0.2797536551952362, -0.10047505050897598, 0.679428219795227, 0.42924627661705017, 0.05695892497897148, 0.5409985184669495, -0.33178412914276123, -0.37104302644729614, -1.0193527936935425, 0.25823667645454407, 0.4657530188560486, -0.07312582433223724, 0.05574662983417511, 0.7563084363937378...
func AddShard(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { fmt.Fprint(w, "Welcome!\n") }
[ 0.5791402459144592, 0.7403175234794617, 0.8858052492141724, 0.5296671986579895, 0.06944485008716583, 0.26623445749282837, -0.21593016386032104, -0.49796831607818604, 0.3345330059528351, -0.20698437094688416, 0.09414377808570862, 0.5748955011367798, -0.5061937570571899, -0.07272347807884216...
func RemoveByID(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { fmt.Fprint(w, "Welcome!\n") }
[ 0.43648195266723633, -0.6994320750236511, 0.7995548844337463, -0.3779064416885376, -0.4181273579597473, -0.5848151445388794, 0.35506147146224976, 0.01214588899165392, 0.24472573399543762, 0.8913630843162537, -0.7554844617843628, 0.027738627046346664, -0.7704982161521912, 0.1899077445268631...
func Get(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { fmt.Fprint(w, "Welcome!\n") }
[ -0.03238411247730255, -0.28912732005119324, 0.7524587512016296, -0.28749924898147583, 0.06821927428245544, -0.055469922721385956, -0.4898624122142792, 0.19439145922660828, -0.766451895236969, 0.37804487347602844, 0.44798022508621216, 0.8436588048934937, 0.22135375440120697, 0.0699260383844...
func GetByID(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { fmt.Fprint(w, "Welcome!\n") }
[ 0.9506178498268127, -0.3348645865917206, 0.7456901669502258, 0.05029350146651268, -0.11504232883453369, 0.013693872839212418, -0.028710830956697464, -0.21202129125595093, 0.07742757350206375, 0.42362937331199646, -0.08288261294364929, 1.4875160455703735, -0.158033087849617, 0.2416133433580...
func LoadPolicy() (*CATConfig, error) { appconf := appConf.NewConfig() configFileExt := filepath.Ext(appconf.Def.PolicyPath) if !strings.HasPrefix(configFileExt, ".") { err := fmt.Errorf("Unknow policy file type extension %s", configFileExt) log.Warnf("error: %v", err) return nil, err } configType := strin...
[ 0.916910707950592, -0.7303871512413025, 0.7866016626358032, -0.13119876384735107, -0.4377098083496094, 0.31492549180984497, -1.0234458446502686, 0.5890771746635437, -1.030379056930542, 0.36560192704200745, 0.002127318875864148, 0.14501605927944183, -0.38978081941604614, 0.19160135090351105...
func GetPlatformPolicy(cpu string) ([]Policy, error) { lock.Lock() defer lock.Unlock() var err error if config == nil { config, err = LoadPolicy() if err != nil { return []Policy{}, err } } p, ok := config.Catpolicy[cpu] if !ok { return []Policy{}, fmt.Errorf("Error while get platform policy: %s",...
[ -0.10116168111562729, 0.38644054532051086, 0.7421653270721436, 0.8071792125701904, 0.15189458429813385, 1.016579508781433, -0.2551039755344391, -0.28877657651901245, -0.8230459094047546, 0.5609379410743713, -0.39206379652023315, 0.4874861538410187, -0.8335926532745361, 1.5309982299804688, ...
func GetDefaultPlatformPolicy() ([]Policy, error) { cpu := cpu.GetMicroArch(cpu.GetSignature()) if cpu == "" { return []Policy{}, fmt.Errorf("Unknow platform, please update the cpu_map.toml conf file") } return GetPlatformPolicy(strings.ToLower(cpu)) }
[ -0.010142810642719269, 0.8569170832633972, 0.2697589695453644, 1.1266916990280151, 0.4673793911933899, 0.9441127777099609, 0.10976573824882507, 0.2957586646080017, -0.1697562336921692, -0.0773039385676384, -0.6963167786598206, -0.13275276124477386, -1.3898564577102661, 1.3412292003631592, ...
func GetPolicy(cpu, policy string) (map[string]string, error) { m := make(map[string]string) platform, err := GetPlatformPolicy(strings.ToLower(cpu)) if err != nil { return m, fmt.Errorf("Can not find specified platform policy for %s", cpu) } var policyCandidate []Policy for _, p := range platform { _, ok...
[ -0.350423127412796, 0.2851664423942566, 0.5881058573722839, 0.5065527558326721, -0.07834485173225403, 0.740492045879364, -0.20422375202178955, 0.21857532858848572, -0.5185989141464233, 0.5438073873519897, 0.0030954161193221807, 0.04997346177697182, -0.816268801689148, 0.8325302004814148, ...
func GetDefaultPolicy(policy string) (map[string]string, error) { cpu := cpu.GetMicroArch(cpu.GetSignature()) if cpu == "" { return map[string]string{}, fmt.Errorf("Unknow platform, please update the cpu_map.toml conf file") } return GetPolicy(cpu, policy) }
[ 0.09354617446660995, 0.981181800365448, 0.24459195137023926, 0.6895238161087036, 0.07136020064353943, 0.6682954430580139, 0.26315903663635254, 0.021815378218889236, -0.0036895053926855326, -0.014771264046430588, -0.4156280755996704, 0.13065193593502045, -1.1433748006820679, 0.8118725419044...
func (r *rdsRoute) Add(ns, topic, address string, version uint64) error { key := r.getRoutePrefix(ns, topic) rds := r.rdc.Get(util.W, key) defer rds.Close() _, err := rds.Do("HSET", key, address, version) if err != nil { return err } return nil }
[ -0.3236609399318695, -0.03720642626285553, 0.46967244148254395, -0.7084106206893921, 0.875748872756958, 0.4446237087249756, -1.3262003660202026, 0.10049771517515182, 0.05041859298944473, 0.41176706552505493, -0.025237873196601868, 0.5995367169380188, -0.485695481300354, 0.42298898100852966...
func (r *rdsRoute) Remove(ns, topic, address string, version uint64) error { key := r.getRoutePrefix(ns, topic) rds := r.rdc.Get(util.W, key) defer rds.Close() preVersion, err := redis.Uint64(rds.Do("HGET", key, address)) if err != nil { if err == redis.ErrNil { return nil } return err } if preVersion ...
[ -0.2069506198167801, 0.04421456530690193, 0.6004626154899597, -0.28100523352622986, -0.10688185691833496, -0.20081211626529694, -0.8970456719398499, 0.3991018533706665, 0.37072280049324036, 0.40925872325897217, -0.11143190413713455, -0.11267562210559845, -0.7969565987586975, 0.115469597280...
func (r *rdsRoute) Exist(ns, topic string) (bool, error) { key := r.getRoutePrefix(ns, topic) rds := r.rdc.Get(util.R, key) defer rds.Close() reply, err := redis.Int(rds.Do("HLEN", key)) if err != nil || reply == 0 { return false, err } return true, nil }
[ -0.591323733329773, 0.3863808810710907, 0.7026029229164124, -0.8479212522506714, 1.0598477125167847, 0.6176765561103821, -0.977171003818512, -0.46710309386253357, -0.6603450179100037, 1.1649861335754395, 0.027578819543123245, -0.9562520980834961, -0.9986647367477417, 0.7206190228462219, ...
func (r *rdsRoute) Lookup(ns, topic string) ([]string, error) { key := r.getRoutePrefix(ns, topic) rds := r.rdc.Get(util.R, key) defer rds.Close() raws, err := redis.StringMap(rds.Do("HGETALL", key)) if err != nil { return nil, err } addrs := make([]string, 0, len(raws)) for k, _ := range raws { addrs = app...
[ -1.0470119714736938, 0.1485169231891632, 0.7014921307563782, -0.7100824117660522, 0.40927761793136597, -0.38758227229118347, -1.2348374128341675, -0.09202366322278976, 0.6291152238845825, 1.2462141513824463, 0.1512146145105362, 0.16355715692043304, -0.41211774945259094, -0.0139684043824672...
func NewClient() *Client { apiClient := newAPIClient() return &Client{ APIClient: apiClient, Chat: newChatMethod(apiClient), } }
[ 0.06946820765733719, -0.823158860206604, 0.2090912163257599, -0.09852313995361328, -0.7405518293380737, -0.44078996777534485, 0.03434815630316734, -0.7194641828536987, -0.19601109623908997, -0.4828522503376007, -0.4054165184497833, 0.49171948432922363, -0.42146867513656616, -0.644181668758...
func (apiClient *apiClient) Post(uri string, values interface{}) ([]byte, int, error) { q, err := query.Values(values) if err != nil { return nil, 0, err } u, err := url.Parse(apiURL) if err != nil { return nil, 0, err } u.Path = path.Join(u.Path, uri) resp, err := apiClient.HTTPClient.Post(u.String(), "...
[ -0.567406952381134, 0.044278740882873535, 0.7955302000045776, 0.2328191101551056, -0.025071484968066216, -0.1761506050825119, -0.5577786564826965, -0.12118587642908096, -0.3679148554801941, -0.9729477763175964, -0.5709442496299744, -0.354392945766449, -0.5921501517295837, 0.539249956607818...
func NewRunner(be func() Backend, host string, userf, passf string) *Runner { return &Runner{ be: be, host: host, userf: userf, passf: passf, sessions: make(chan error), pwdOver: make(chan struct{}), broken: makeBroken(), logins: gen.NewLogins(), agents: gen.NewAgents(), pool...
[ -0.10291923582553864, -0.11983255296945572, 0.23104561865329742, 0.792987048625946, -0.5643477439880371, 0.41139212250709534, 0.08117622882127762, -0.19516119360923767, -0.7024000883102417, 0.09286592155694962, -0.24480204284191132, 0.5829258561134338, -0.6419832706451416, 0.02893439866602...
func (r *Runner) makeSession() { s := newSession(r.be(), r.host, r.sessions, r.logins.Chan(), r.agents.Chan(), r.broken) go s.run() }
[ -0.3572935163974762, 0.00516117550432682, 0.2107856422662735, 0.44480597972869873, 0.0030008975882083178, 0.5868582725524902, 0.9176854491233826, -1.0757261514663696, 0.36741939187049866, 0.19165971875190735, -0.34833845496177673, 0.6095370054244995, -0.14329266548156738, -0.13029901683330...
func (r *Runner) generateLogins() { r.logins.Generate() // Signal that we have no more passwords to try r.pwdOver <- struct{}{} close(r.pwdOver) }
[ -1.358829140663147, 0.35084834694862366, 0.3950086236000061, 0.4744972586631775, -0.0847238078713417, 1.1020145416259766, 0.46711134910583496, 0.012728763744235039, -0.08116745948791504, -0.10980644077062607, -0.34229812026023865, -0.1013941615819931, -0.4057081937789917, 1.140515565872192...
func (r *Runner) startWorkers(n int) { // Make some sessions to start for i := 0; i < n; i++ { r.makeSession() } }
[ -1.1332292556762695, 0.5254589915275574, 0.28194597363471985, 0.24014121294021606, 0.2921740710735321, 0.12521272897720337, 0.6357630491256714, -0.6692865490913391, 0.2938803732395172, 0.4279786944389343, -1.1604067087173462, 0.22558918595314026, -0.8375285863876343, 0.25562912225723267, ...
func (r *Runner) Run(w io.Writer, workers int) { var noPwd bool if err := r.logins.Load(r.userf, r.passf); err != nil { log.Printf("Error: %s", err) return } // Generate username/password pairs and signal when there are no more go r.generateLogins() // Generate random user-agent strings forever go r.agents.G...
[ -1.0762542486190796, -0.630132794380188, 0.8308563828468323, 0.01727251522243023, -0.36816444993019104, 0.3619115948677063, 1.038380742073059, -0.20388858020305634, -0.1626116782426834, 0.21949291229248047, -0.27381807565689087, -0.24853621423244476, -0.6330031752586365, 0.2520764768123626...
func (js JobsStatus) ToEvent() Event { b, err := json.Marshal(js) if err != nil { return Event{} } return NewEvent("", "job-status", b) }
[ 0.010255680419504642, 0.19606584310531616, 0.39597856998443604, -0.8656924366950989, -0.5161334276199341, -0.3950965702533722, -0.7027096748352051, 0.09958096593618393, 0.39845073223114014, 0.3141222596168518, -1.3206114768981934, 0.28033047914505005, 0.8580244779586792, -0.050070647150278...
func TestWillJustPublish(t *testing.T) { assert := assert.New(t) iniStr := ` [gateway] name = willjustpublishham [broker "local/1"] host = localhost port = 1883 will_message = no letter is good letter. [device "dora/dummy"] broker = local qos = 0 interval = 10 payload = Hel...
[ 1.058756947517395, -0.14929352700710297, 0.46367818117141724, 0.5459049940109253, 0.8441187143325806, 0.181438148021698, 1.0146889686584473, 0.06053917482495308, 0.17808745801448822, -0.2936730682849884, -0.6859342455863953, 0.6388571262359619, -0.9819430112838745, 1.185853123664856, 0.0...
func TestWillSubscribePublishClose(t *testing.T) { assert := assert.New(t) iniStr := ` [gateway] name = testwillafterclose [broker "local/1"] host = localhost port = 1883 will_message = good letter is no letter. [device "dora/dummy"] broker = local qos = 0 interval = 10 pay...
[ 0.6333345770835876, -0.2783319056034088, 0.4094170331954956, 0.42388615012168884, 0.24490951001644135, 0.6731994152069092, -0.10194724053144455, -0.3533828854560852, 0.3695785701274872, -0.25698935985565186, -0.05419879034161568, 0.6638051271438599, -1.173447608947754, 0.7306995391845703, ...
func TestWillSubscribePublishCloseEmpty(t *testing.T) { iniStr := ` [gateway] name = testwillaftercloseemptywill [broker "local/1"] host = localhost port = 1883 will_message = [device "dora/dummy"] broker = local qos = 0 interval = 10 payload = Hello will just publish world....
[ 0.7134979963302612, 0.15439917147159576, 0.4488680958747864, 0.12100031971931458, 0.5131571888923645, 0.8849106431007385, 0.10019756108522415, -0.1671505570411682, 0.3284892141819, -0.4236224889755249, -0.02891468070447445, 0.899995744228363, -0.9745238423347473, 0.8366478681564331, -0.4...
func genericWillTestDriver(t *testing.T, iniStr string, expectedTopic string, expectedPayload []byte) (ok bool) { assert := assert.New(t) conf, err := inidef.LoadConfigByte([]byte(iniStr)) assert.Nil(err) commandChannel := make(chan string) go fuji.StartByFileWithChannel(conf, commandChannel) gw, err := gateway...
[ 0.39550602436065674, -0.4781704246997833, 0.7855522036552429, 0.2625451683998108, 0.92230224609375, 0.26811015605926514, -0.09817418456077576, -0.6609148383140564, -0.14955373108386993, -0.08565690368413925, 0.18997329473495483, 0.3237040340900421, -1.2407737970352173, 0.5610329508781433, ...
func setupWillSubscriber(gw *gateway.Gateway, broker *broker.Broker) (chan MQTT.Message, inidef.Error) { // Setup MQTT pub/sub client to confirm published content. // messageOutputChannel := make(chan MQTT.Message) opts := MQTT.NewClientOptions() brokerUrl := fmt.Sprintf("tcp://%s:%d", broker.Host, broker.Port) ...
[ 0.8760652542114258, -0.9317820072174072, 0.6148474216461182, -0.7621777057647705, -0.6243603825569153, -0.022030603140592575, -0.13991409540176392, -0.8933277130126953, 0.015462883748114109, 0.03807397931814194, 0.27637410163879395, 0.7966262698173523, -0.5832754373550415, 0.95681089162826...
func AWSPlatformStatus() *AWSPlatformStatusApplyConfiguration { return &AWSPlatformStatusApplyConfiguration{} }
[ 0.6232821941375732, -0.4552663266658783, 0.2988370954990387, -0.9674710035324097, -0.8385599255561829, 0.8326892256736755, -0.19928912818431854, 1.353455662727356, 0.15446485579013824, -0.35070908069610596, -0.9210716485977173, -0.13456794619560242, 1.087217092514038, 0.6395730972290039, ...
func (b *AWSPlatformStatusApplyConfiguration) WithRegion(value string) *AWSPlatformStatusApplyConfiguration { b.Region = &value return b }
[ 0.15893779695034027, 0.7618778347969055, 0.13232427835464478, -0.18361401557922363, -0.8016768097877502, 0.729415237903595, 0.6957593560218811, 0.643975555896759, -0.06453412026166916, -0.12065093964338303, 0.33354562520980835, -0.31913086771965027, 0.8103134036064148, 0.6286119818687439, ...
func (b *AWSPlatformStatusApplyConfiguration) WithServiceEndpoints(values ...*AWSServiceEndpointApplyConfiguration) *AWSPlatformStatusApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithServiceEndpoints") } b.ServiceEndpoints = append(b.ServiceEndpoints, *values[i...
[ -0.35066351294517517, 0.20755502581596375, 0.260705828666687, 0.2249952107667923, -0.28492408990859985, 1.1621989011764526, -0.09311342984437943, 0.4420601725578308, -0.3184591829776764, 0.0004418830794747919, -0.45682838559150696, -0.3781159520149231, 0.19652466475963593, 0.58108484745025...
func (b *AWSPlatformStatusApplyConfiguration) WithResourceTags(values ...*AWSResourceTagApplyConfiguration) *AWSPlatformStatusApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithResourceTags") } b.ResourceTags = append(b.ResourceTags, *values[i]) } return b }
[ 0.25947993993759155, 0.5758612751960754, 0.19638870656490326, -0.05337545648217201, -0.06178908050060272, 0.5027473568916321, -0.6226009726524353, -0.17782415449619293, -0.3329510986804962, 0.19032952189445496, -0.4389127790927887, -1.1189625263214111, 0.39562344551086426, 1.56669735908508...
func NewTrustConfig(ctx *pulumi.Context, name string, args *TrustConfigArgs, opts ...pulumi.ResourceOption) (*TrustConfig, error) { if args == nil { return nil, errors.New("missing one or more required arguments") } if args.TrustConfigId == nil { return nil, errors.New("invalid value for required argument 'Tru...
[ -0.21520568430423737, 0.29155832529067993, 0.34518757462501526, -0.3245965838432312, -0.17196118831634521, 0.6824140548706055, -0.2322222888469696, -0.222117617726326, -0.5106046795845032, 1.4238557815551758, -1.1122241020202637, 0.7345805764198303, -0.16552968323230743, 0.3913888335227966...
func GetTrustConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TrustConfigState, opts ...pulumi.ResourceOption) (*TrustConfig, error) { var resource TrustConfig err := ctx.ReadResource("google-native:certificatemanager/v1:TrustConfig", name, id, state, &resource, opts...) if err != nil { return n...
[ 0.1792377084493637, 0.1586046814918518, 0.4063521921634674, -0.3313327431678772, -0.27902382612228394, 0.38019922375679016, -0.4110797047615051, -0.596330463886261, 0.08511653542518616, 1.0277912616729736, -1.0316611528396606, 1.153929591178894, 0.11772585660219193, -0.34570714831352234, ...
func (o TrustConfigOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TrustConfig) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) }
[ 0.4591827392578125, 0.026520218700170517, 0.4443802833557129, -0.768157958984375, 1.0646705627441406, 1.4053680896759033, 0.029078638181090355, -0.170632004737854, -0.14261293411254883, 1.2462174892425537, -0.9031931757926941, 0.10922759771347046, -0.009057964198291302, -1.0524979829788208...
func (o TrustConfigOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *TrustConfig) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) }
[ 0.39737534523010254, -0.02958684042096138, 0.32406485080718994, -0.5535895228385925, 0.5300855040550232, 1.0942628383636475, 0.11676611006259918, 0.3457942605018616, -0.2397589534521103, 0.9811633229255676, -0.4629010856151581, 0.9638763070106506, 0.04596294090151787, -1.1397126913070679, ...
func (o TrustConfigOutput) Etag() pulumi.StringOutput { return o.ApplyT(func(v *TrustConfig) pulumi.StringOutput { return v.Etag }).(pulumi.StringOutput) }
[ 0.4461463987827301, -0.05487783998250961, 0.4377657175064087, -0.6980316638946533, 0.9615193605422974, 1.503460168838501, 0.43194711208343506, 0.5050306916236877, -0.3424941301345825, 1.048335075378418, -0.34212955832481384, 0.26956161856651306, 0.8058246970176697, -0.7183892130851746, 0...
func (o TrustConfigOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v *TrustConfig) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) }
[ -0.5098378658294678, -0.5512146353721619, 0.3842853307723999, -1.04642915725708, 0.5960766673088074, 1.4249285459518433, -0.026743387803435326, 0.5487450361251831, -0.20226553082466125, 0.7390770316123962, -1.0122454166412354, 0.10775011032819748, 0.2919365167617798, -0.9984087944030762, ...
func (o TrustConfigOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *TrustConfig) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) }
[ 0.013311636634171009, -0.34815239906311035, 0.2902022898197174, -0.7296112179756165, -0.18183811008930206, 1.1122496128082275, 0.6675630807876587, -0.00893017090857029, -0.4377327859401703, 1.4240621328353882, -1.110385775566101, 0.43390554189682007, 0.4405378997325897, -1.085309386253357,...
func (o TrustConfigOutput) TrustConfigId() pulumi.StringOutput { return o.ApplyT(func(v *TrustConfig) pulumi.StringOutput { return v.TrustConfigId }).(pulumi.StringOutput) }
[ 0.4698854386806488, -0.2729816436767578, 0.2843978703022003, -0.6457602977752686, 0.15152853727340698, 1.2724343538284302, 0.4110598862171173, 0.18066956102848053, -0.04824894294142723, 0.8955222964286804, -0.8099057674407959, 1.0567981004714966, 0.2610689401626587, -0.8795338869094849, ...
func (o TrustConfigOutput) TrustStores() TrustStoreResponseArrayOutput { return o.ApplyT(func(v *TrustConfig) TrustStoreResponseArrayOutput { return v.TrustStores }).(TrustStoreResponseArrayOutput) }
[ -0.6526604294776917, -0.5692768692970276, 0.42631229758262634, -0.6911748647689819, 0.129733607172966, 0.8079610466957092, 0.7782458066940308, -0.3663901090621948, 1.000023603439331, 0.008923893794417381, -0.7711873650550842, -0.2124830186367035, 0.10523941367864609, -1.1278717517852783, ...
func (o TrustConfigOutput) UpdateTime() pulumi.StringOutput { return o.ApplyT(func(v *TrustConfig) pulumi.StringOutput { return v.UpdateTime }).(pulumi.StringOutput) }
[ 0.0447244867682457, -0.39065128564834595, 0.4917270839214325, -0.42175135016441345, 0.21757535636425018, 1.2433408498764038, -0.024820540100336075, 0.3017253577709198, -0.025904905050992966, 1.4551836252212524, -0.7444754838943481, 0.3471149802207947, -0.04851747304201126, -1.3643338680267...
func isReady() bool { if client == nil { log.Fatalf("Client wasn't initialized prior to invoking updateInviteMetadata") return false } return true }
[ -0.6865866184234619, 0.13270476460456848, 0.5685425996780396, -0.14113189280033112, 0.4853057563304901, 0.39662665128707886, -0.5590068697929382, 0.20261335372924805, -0.3041488528251648, 1.336629033088684, -0.4999467432498932, 1.2854914665222168, -1.0932881832122803, 0.08447428047657013, ...
func (d *Dao) Close() { if d.db != nil { d.db.Close() } }
[ 0.1580120176076889, 1.1519997119903564, 0.4427952170372009, -0.015296253375709057, -0.538929283618927, 0.3895542025566101, 0.6228345632553101, 0.1681506633758545, 0.3401123285293579, -0.8093531727790833, 0.39841175079345703, -0.04784996062517166, -0.3350469768047333, 1.832797646522522, 0...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsCreateSections(ctx _context.Context, userId string, sectionGroupId string, microsoftGraphOnenoteSection MicrosoftGraphOnenoteSection) (MicrosoftGraphOnenoteSection, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp....
[ -1.0889941453933716, -0.2978428900241852, 0.5456464290618896, -0.31940364837646484, -0.5858712792396545, 0.16011261940002441, 0.46147939562797546, -1.7042324542999268, -0.9374293088912964, 0.13894851505756378, 0.280825674533844, 0.019399244338274002, -0.5958160758018494, 0.4650605618953705...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsGetSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, localVarOptionals *UsersOnenoteSectionGroupsGetSectionsOpts) (MicrosoftGraphOnenoteSection, *_nethttp.Response, error) { var ( localVar...
[ -1.0136488676071167, -0.051700375974178314, 0.6582072377204895, -0.3149861991405487, -0.47534921765327454, -0.32934391498565674, 0.4007381200790405, -1.3363770246505737, -0.6903972625732422, 0.32950636744499207, 0.7657030820846558, 0.499026358127594, -0.5919950008392334, 0.649870753288269,...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsListSections(ctx _context.Context, userId string, sectionGroupId string, localVarOptionals *UsersOnenoteSectionGroupsListSectionsOpts) (CollectionOfOnenoteSection, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.M...
[ -1.3251371383666992, -0.602257490158081, 0.6188610792160034, -0.25293809175491333, -0.625957190990448, -0.10723286867141724, 0.29479414224624634, -1.7586756944656372, 0.03890984132885933, 0.1794234663248062, 0.5026160478591919, 0.3008759021759033, -0.6665240526199341, 0.597282886505127, ...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsCreatePages(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, microsoftGraphOnenotePage MicrosoftGraphOnenotePage) (MicrosoftGraphOnenotePage, *_nethttp.Response, error) { var ( localVarHTT...
[ -1.0974732637405396, -0.46326014399528503, 0.6256355047225952, -0.5239990949630737, -0.1408405900001526, 0.039267439395189285, 0.7756007313728333, -1.6553213596343994, -0.4038568437099457, 0.16921180486679077, 0.5258893966674805, -0.3834089934825897, -0.6737200021743774, 0.3558374047279358...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsGetPages(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsGetPagesOpts) (MicrosoftGraphOnenotePage, *_nethttp.Respons...
[ -0.9078068733215332, -0.3166174292564392, 0.6296265125274658, -0.4595348536968231, 0.07775212824344635, -0.39161941409111023, 0.9766284823417664, -1.4776486158370972, -0.05681109428405762, -0.008470251224935055, 0.5063017010688782, 0.11332453787326813, -0.8010114431381226, 0.34537336230278...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsGetParentNotebook(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsGetParentNotebookOpts) (MicrosoftGraphNotebook, *_nethttp.Response, erro...
[ -0.7736908793449402, -0.33660948276519775, 0.7061326503753662, 0.40734317898750305, -0.5843933820724487, -0.08743910491466522, 1.0268882513046265, -1.6693774461746216, -0.47433966398239136, -0.10096418112516403, 0.4304596185684204, 0.11001919955015182, -0.9330695271492004, 0.28378537297248...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsGetParentSectionGroup(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsGetParentSectionGroupOpts) (MicrosoftGraphSectionGroup, *_nethttp.Re...
[ -0.5020706653594971, -0.02075451985001564, 0.4599718451499939, -0.3445459008216858, -0.8665751814842224, -0.7757373452186584, 0.7581811547279358, -1.585301399230957, -0.42725005745887756, -0.29942750930786133, 0.6609227061271667, 0.4755721986293793, -0.7689818739891052, 0.7498605251312256,...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsListPages(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsListPagesOpts) (CollectionOfOnenotePage, *_nethttp.Response, error) { var ( l...
[ -0.9898158311843872, -0.5683208703994751, 0.6364058256149292, -0.4556381404399872, -0.22842004895210266, -0.2883867919445038, 0.4885554313659668, -1.442372441291809, 0.4076308012008667, 0.13631023466587067, 0.4143921434879303, 0.17830759286880493, -0.5420734286308289, 0.5868577361106873, ...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesGetParentNotebook(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsPagesGetParentNotebookOpts) (MicrosoftGraphNo...
[ -0.8769338130950928, -0.28719955682754517, 0.8130981922149658, -0.05889783054590225, -0.4605432152748108, 0.10716194659471512, 0.878815233707428, -1.343605875968933, -0.6818874478340149, 0.26158764958381653, 0.28517112135887146, -0.12855985760688782, -0.9402424097061157, 0.5400292873382568...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesGetParentSection(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsPagesGetParentSectionOpts) (MicrosoftGraphOnen...
[ -0.6926474571228027, -0.11169787496328354, 0.8593078255653381, -0.5687230229377747, -0.37451913952827454, -0.41609999537467957, 0.930427074432373, -1.5088908672332764, -0.5106030106544495, 0.16670750081539154, 0.7146334052085876, 0.015483736991882324, -0.7362576127052307, 0.506302237510681...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesParentNotebookCreateSectionGroups(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, microsoftGraphSectionGroup MicrosoftGraphSectionGroup) (MicrosoftGraphSectionGrou...
[ -0.3050404191017151, -0.18237677216529846, 0.6107648611068726, -0.2455739825963974, -0.5088844895362854, 0.38854658603668213, 0.7433196306228638, -1.1412715911865234, -0.41568273305892944, -0.15508362650871277, 0.2538159191608429, -0.32539740204811096, -1.125643014907837, 0.528727173805236...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesParentNotebookCreateSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, microsoftGraphOnenoteSection MicrosoftGraphOnenoteSection) (MicrosoftGraphOnenoteSecti...
[ -0.13790230453014374, -0.5655803680419922, 0.695848822593689, -0.1786849945783615, -0.3281390070915222, 0.6709532737731934, 1.0421514511108398, -1.1910176277160645, -0.44605082273483276, -0.18648338317871094, 0.3399212062358856, -0.4983646869659424, -1.0861999988555908, 0.4752901792526245,...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesParentNotebookGetSectionGroups(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, sectionGroupId1 string, localVarOptionals *UsersOnenoteSectionGroupsSectionsPagesPar...
[ -0.2090851217508316, -0.2290312796831131, 0.6767929196357727, 0.10541624575853348, -0.7338884472846985, 0.15469154715538025, 0.6033831834793091, -1.026944875717163, -0.387631893157959, -0.24109624326229095, 0.4313780963420868, -0.0962156429886818, -1.0803481340408325, 0.679650068283081, ...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesParentNotebookGetSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, onenoteSectionId1 string, localVarOptionals *UsersOnenoteSectionGroupsSectionsPagesParent...
[ -0.0977020338177681, -0.47949373722076416, 0.7738261818885803, 0.2001916766166687, -0.4181177318096161, 0.42521029710769653, 0.9589359760284424, -1.0754183530807495, -0.36831313371658325, -0.31017565727233887, 0.40300723910331726, -0.1615375429391861, -1.2468599081039429, 0.408037215471267...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesParentNotebookListSectionGroups(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsPagesParentNotebookListSectionG...
[ -0.4684615433216095, -0.4422605335712433, 0.6430866122245789, -0.2691740393638611, -0.8497499227523804, 0.2579129934310913, 0.10052124410867691, -1.1773557662963867, -0.0602150596678257, -0.13990700244903564, 0.3749361038208008, -0.08927585929632187, -0.9487099647521973, 0.7761086225509644...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesParentNotebookListSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsPagesParentNotebookListSectionsOpts)...
[ -0.3238825500011444, -0.8260692954063416, 0.7066136002540588, -0.10483688116073608, -0.5536629557609558, 0.5177170038223267, 0.6261928677558899, -1.2550380229949951, -0.040084175765514374, -0.23524218797683716, 0.3249938488006592, -0.2889542281627655, -1.0181529521942139, 0.6301229596138, ...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesParentNotebookUpdateSectionGroups(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, sectionGroupId1 string, microsoftGraphSectionGroup MicrosoftGraphSectionGroup) (*...
[ -0.6470537185668945, -0.9547818899154663, 0.630102813243866, -0.039196137338876724, -1.0148431062698364, 0.4429105520248413, 0.6452109217643738, -0.797264575958252, -0.4386613368988037, 0.09070873260498047, 0.2863300144672394, -0.35131391882896423, -1.0442925691604614, 0.3903912305831909, ...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesParentNotebookUpdateSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, onenoteSectionId1 string, microsoftGraphOnenoteSection MicrosoftGraphOnenoteSection) (...
[ -0.480220228433609, -1.15045964717865, 0.7251104116439819, -0.07529090344905853, -0.8086907863616943, 0.5966174006462097, 0.8949568867683411, -0.8324534893035889, -0.3720953166484833, -0.030915606766939163, 0.4005507826805115, -0.43946191668510437, -1.040955901145935, 0.3340549170970917, ...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesUpdateParentNotebook(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, microsoftGraphNotebook MicrosoftGraphNotebook) (*_nethttp.Response, error) { var ( localVar...
[ -0.9657121300697327, -0.8828234672546387, 0.8061614632606506, -0.2855723202228546, -0.7754755020141602, 0.25569361448287964, 0.9018127918243408, -1.3144532442092896, -0.7463403344154358, 0.36138299107551575, 0.01727268658578396, -0.2103169709444046, -0.936832070350647, 0.22932769358158112,...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsPagesUpdateParentSection(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, microsoftGraphOnenoteSection MicrosoftGraphOnenoteSection) (*_nethttp.Response, error) { var (...
[ -0.8791558146476746, -0.7819346785545349, 0.7871613502502441, -0.7916867733001709, -0.7843620181083679, -0.19253167510032654, 0.9786201119422913, -1.418764352798462, -0.45131927728652954, 0.2855563759803772, 0.36093437671661377, -0.13213804364204407, -0.6317238211631775, 0.2332563847303390...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsParentNotebookCreateSectionGroups(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, microsoftGraphSectionGroup MicrosoftGraphSectionGroup) (MicrosoftGraphSectionGroup, *_nethttp.Response, erro...
[ -0.9532998204231262, -0.16628681123256683, 0.4660428762435913, -0.2561408579349518, -0.6744756102561951, -0.09899145364761353, 0.5991818308830261, -1.828187346458435, -0.7990922927856445, -0.06827673316001892, 0.03167307749390602, -0.2685280442237854, -0.9895303249359131, 0.343362987041473...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsParentNotebookCreateSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, microsoftGraphOnenoteSection MicrosoftGraphOnenoteSection) (MicrosoftGraphOnenoteSection, *_nethttp.Response, err...
[ -0.831564724445343, -0.5637625455856323, 0.5354907512664795, -0.05178868770599365, -0.4963390529155731, 0.21349957585334778, 0.9754244089126587, -1.9632961750030518, -0.9145873188972473, -0.11150659620761871, 0.08872722834348679, -0.39910274744033813, -0.9675787687301636, 0.265670150518417...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsParentNotebookGetSectionGroups(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, sectionGroupId1 string, localVarOptionals *UsersOnenoteSectionGroupsSectionsParentNotebookGetSectionGroupsOpts)...
[ -0.5083631277084351, -0.1511293202638626, 0.5794439911842346, 0.05421500280499458, -0.7511649131774902, -0.31214439868927, 0.5501856803894043, -1.815106987953186, -0.8535093665122986, -0.1437072902917862, 0.2879643738269806, 0.038008127361536026, -0.982815682888031, 0.4956742525100708, 0...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsParentNotebookGetSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenoteSectionId1 string, localVarOptionals *UsersOnenoteSectionGroupsSectionsParentNotebookGetSectionsOpts) (Micros...
[ -0.5276585221290588, -0.34157973527908325, 0.646067202091217, 0.1309031844139099, -0.4365459978580475, -0.06822492927312851, 0.8910309076309204, -1.9107236862182617, -0.9242353439331055, -0.20687612891197205, 0.22235697507858276, -0.04283381626009941, -1.169266700744629, 0.1681503653526306...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsParentNotebookListSectionGroups(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsParentNotebookListSectionGroupsOpts) (CollectionOfSectionG...
[ -0.9542177319526672, -0.3592718839645386, 0.6236450672149658, -0.25622400641441345, -0.9822625517845154, -0.17938019335269928, 0.04723880812525749, -1.695863127708435, -0.38607874512672424, -0.026860572397708893, 0.11952880769968033, -0.017746668308973312, -0.6438601016998291, 0.6990446448...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsParentNotebookListSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, localVarOptionals *UsersOnenoteSectionGroupsSectionsParentNotebookListSectionsOpts) (CollectionOfOnenoteSection, *_...
[ -0.9033185839653015, -0.6591378450393677, 0.5863847732543945, -0.08851587772369385, -0.7310531735420227, 0.003689895151183009, 0.4933584928512573, -1.8716702461242676, -0.3723960816860199, -0.09586454927921295, 0.11910151690244675, -0.16780871152877808, -0.7401891350746155, 0.5145576596260...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsParentNotebookUpdateSectionGroups(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, sectionGroupId1 string, microsoftGraphSectionGroup MicrosoftGraphSectionGroup) (*_nethttp.Response, error) {...
[ -1.0828889608383179, -0.9329774975776672, 0.591513454914093, 0.09846193343400955, -0.9943379163742065, -0.09709382057189941, 0.6271147131919861, -1.6123521327972412, -0.9924587607383728, 0.22876927256584167, 0.013761068694293499, -0.18371857702732086, -0.9520228505134583, 0.233772143721580...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsParentNotebookUpdateSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenoteSectionId1 string, microsoftGraphOnenoteSection MicrosoftGraphOnenoteSection) (*_nethttp.Response, error) ...
[ -0.9109873175621033, -1.1493207216262817, 0.6713153123855591, 0.10549000650644302, -0.7354381680488586, 0.02548467181622982, 0.9320390820503235, -1.719909906387329, -1.001763105392456, 0.11166400462388992, 0.1656031310558319, -0.3488693833351135, -1.0347012281417847, 0.1682616025209427, ...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsUpdatePages(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, onenotePageId string, microsoftGraphOnenotePage MicrosoftGraphOnenotePage) (*_nethttp.Response, error) { var ( localVarHTTPMeth...
[ -1.2897343635559082, -1.0862478017807007, 0.6057553291320801, -0.6291749477386475, -0.4504474401473999, -0.05544174462556839, 0.733381450176239, -1.286394715309143, -0.34622374176979065, 0.34328094124794006, 0.25105053186416626, -0.18533727526664734, -0.5450486540794373, 0.1546664088964462...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsUpdateParentNotebook(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, microsoftGraphNotebook MicrosoftGraphNotebook) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.Met...
[ -1.0496231317520142, -1.1402093172073364, 0.7062854766845703, -0.0431898795068264, -0.8433761596679688, 0.025417346507310867, 0.8679143190383911, -1.5850886106491089, -0.8903395533561707, 0.14377810060977936, 0.08771128952503204, -0.23241141438484192, -1.0613704919815063, 0.151932910084724...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsSectionsUpdateParentSectionGroup(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, microsoftGraphSectionGroup MicrosoftGraphSectionGroup) (*_nethttp.Response, error) { var ( localVarHTTPMethod = ...
[ -1.0372124910354614, -0.8476707935333252, 0.5191525220870972, -0.6093867421150208, -1.0539237260818481, -0.4904841184616089, 0.7080608606338501, -1.5490270853042603, -0.6807262897491455, 0.058818113058805466, 0.1749143749475479, 0.0713818296790123, -0.8704444169998169, 0.3660300076007843, ...
func (a *UsersOnenoteSectionGroupsOnenoteSectionApiService) UsersOnenoteSectionGroupsUpdateSections(ctx _context.Context, userId string, sectionGroupId string, onenoteSectionId string, microsoftGraphOnenoteSection MicrosoftGraphOnenoteSection) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.Metho...
[ -1.1934356689453125, -0.8102171421051025, 0.6139053106307983, -0.5358836650848389, -1.0880993604660034, 0.09550131112337112, 0.6098566055297852, -1.246052861213684, -0.5274639129638672, 0.31931477785110474, 0.13546642661094666, 0.2852265238761902, -0.8316269516944885, 0.31563350558280945, ...
func New() (*MySQLClient, error) { db, err := open() if err != nil { return nil, err } return &MySQLClient{ db: db, }, err }
[ 0.04592826962471008, -1.4217759370803833, 0.1670742630958557, -0.7649099826812744, -1.2478874921798706, -0.5999113321304321, 0.027127845212817192, -0.2768910229206085, -1.0587505102157593, -0.6335660219192505, -0.1912185251712799, 0.17382477223873138, 0.08866038918495178, -0.12970799207687...
func (c *MySQLClient) Insert(p *purchase.Purchase) error { if p.ID != 0 { return fmt.Errorf("purchase cannot have a preexisting ID") } var err error var buyBytes, sellBytes []byte if p.BuyOrder != nil { buyBytes, err = json.Marshal(p.BuyOrder) if err != nil { return fmt.Errorf("unable to marshal buy orde...
[ -1.1068733930587769, 0.6266480684280396, 0.8665079474449158, -0.011856548488140106, 0.39175742864608765, -0.3112640082836151, 0.1645141988992691, 0.039252713322639465, 0.17418769001960754, 0.5267276763916016, -0.7299162745475769, -0.09181945025920868, -1.072739839553833, 0.2380242198705673...
func (c *MySQLClient) Update(p *purchase.Purchase) error { if p.ID == 0 { return fmt.Errorf("purchase must have a preexisting ID") } buyBytes, err := json.Marshal(p.BuyOrder) if err != nil { return fmt.Errorf("unable to marshal buy order: %v", err) } sellBytes, err := json.Marshal(p.SellOrder) if err != ni...
[ -1.4407618045806885, -0.35066038370132446, 0.565991222858429, 0.17611218988895416, -0.22173267602920532, -0.6872809529304504, -0.3337169885635376, -0.19428198039531708, 0.17552566528320312, 0.67645663022995, -0.1611901819705963, 0.14260432124137878, -0.21611744165420532, -0.034274034202098...
func (c *MySQLClient) Purchases(yearDay int, tz *time.Location) ([]*purchase.Purchase, error) { results, err := c.db.Query(`SELECT id, created_at, buy_order, sell_order FROM trader_one`) if err != nil { return nil, fmt.Errorf("unable to get purchases from table: %v", err) } var purchases []*purchase.Purchase fo...
[ -1.493416666984558, -0.505695641040802, 0.5528628826141357, 0.31548357009887695, 0.43497034907341003, -0.5253716111183167, -0.7417289018630981, -0.7081766128540039, 0.3181869685649872, 0.37250426411628723, -0.03301246091723442, -0.43660402297973633, 0.3133246898651123, 0.5446186065673828, ...
func open() (*sql.DB, error) { db, err := sql.Open("mysql", dsn(dbName)) if err != nil { return nil, fmt.Errorf("unable to open database %q: %v", dbName, err) } return db, nil }
[ -0.24534623324871063, 1.236268401145935, 0.14608830213546753, -0.16787691414356232, -1.3103106021881104, 0.0271249208599329, -0.09600865840911865, 0.8333821296691895, 0.1209736317396164, -0.3401098847389221, -0.469196081161499, 0.4081721901893616, -0.9397672414779663, -0.28495901823043823,...
func jsonString(b []byte) string { s := string(b) if s == "" { return "{}" } return s }
[ -0.21228072047233582, 0.1522715836763382, 0.31658798456192017, -0.42709025740623474, -0.616998553276062, -0.03979947790503502, -0.1390647441148758, -1.0217764377593994, 0.8738411664962769, 0.5580878257751465, 0.14202150702476501, -0.07926397025585175, -0.15373456478118896, -0.1508879959583...
func GetDockerfileAndContext(config *latest.Config, imageConfigName string, imageConf *latest.ImageConfig, isDev bool) (string, string) { var ( dockerfilePath = DefaultDockerfilePath contextPath = DefaultContextPath ) if imageConf.Dockerfile != nil { dockerfilePath = *imageConf.Dockerfile } if imageConf...
[ 0.44506022334098816, -0.533206045627594, 0.8546234369277954, 0.07273749262094498, -0.4727396070957184, -0.02982647530734539, 0.7481022477149963, 0.3504173755645752, -0.028768151998519897, 0.0284840427339077, -0.09270820021629333, -0.05376747250556946, 0.30501338839530945, 0.939790129661560...
func OverwriteDockerfileInBuildContext(dockerfileCtx io.ReadCloser, buildCtx io.ReadCloser, relDockerfile string) (io.ReadCloser, error) { file, err := ioutil.ReadAll(dockerfileCtx) dockerfileCtx.Close() if err != nil { return nil, err } now := time.Now() hdrTmpl := &tar.Header{ Mode: 0600, Uid: ...
[ -0.01132300402969122, -1.2586718797683716, 0.7745375633239746, -0.32700324058532715, 0.10728622227907181, 0.39423349499702454, 0.6057363152503967, 0.05017987638711929, -0.6175999045372009, -0.08556453138589859, 0.11823105812072754, 0.09242438524961472, -0.3249486982822418, -0.0863838791847...
func CreateTempDockerfile(dockerfile string, entrypointArr []*string) (string, error) { if entrypointArr == nil || len(entrypointArr) == 0 { return "", errors.New("Entrypoint is empty") } // Convert to string array entrypoint := []string{} for _, str := range entrypointArr { if str != nil { entrypoint = ap...
[ 0.32214316725730896, -1.05205237865448, 0.7171083092689514, 0.03233877941966057, 0.31332820653915405, 0.5499899983406067, 0.687290608882904, 0.40380704402923584, -0.29203444719314575, 0.06453763693571091, -0.3470793664455414, -0.5092067122459412, -0.23597963154315948, 0.914063572883606, ...
func NewMediaServicesOperationStatusID(subscriptionId string, locationName string, operationId string) MediaServicesOperationStatusId { return MediaServicesOperationStatusId{ SubscriptionId: subscriptionId, LocationName: locationName, OperationId: operationId, } }
[ 0.27437517046928406, -1.1779240369796753, 0.24510188400745392, 0.19395297765731812, -1.8087245225906372, 0.048311665654182434, -0.6214984655380249, 0.17460563778877258, 0.7421488165855408, 0.16491352021694183, 0.28675687313079834, -0.18622034788131714, 0.05031943693757057, -0.4435628950595...
func ParseMediaServicesOperationStatusID(input string) (*MediaServicesOperationStatusId, error) { parser := resourceids.NewParserFromResourceIdType(MediaServicesOperationStatusId{}) parsed, err := parser.Parse(input, false) if err != nil { return nil, fmt.Errorf("parsing %q: %+v", input, err) } var ok bool id ...
[ 0.20179732143878937, -0.9444082975387573, 0.2739926278591156, -0.34108254313468933, -0.8116773366928101, -0.032944198697805405, 0.2768324017524719, -0.14362271130084991, 0.4705755114555359, 0.14248162508010864, 0.6768242716789246, -0.7328864932060242, -0.15663494169712067, -0.0283758174628...
func ParseMediaServicesOperationStatusIDInsensitively(input string) (*MediaServicesOperationStatusId, error) { parser := resourceids.NewParserFromResourceIdType(MediaServicesOperationStatusId{}) parsed, err := parser.Parse(input, true) if err != nil { return nil, fmt.Errorf("parsing %q: %+v", input, err) } var ...
[ 0.2464151829481125, -0.8085062503814697, 0.6388393640518188, -0.3362637460231781, -1.1792728900909424, 0.25097084045410156, 0.09334541857242584, 0.22177453339099884, -0.044752463698387146, 0.25288304686546326, 0.28690874576568604, -0.3869723677635193, -0.33049532771110535, -0.6140750050544...
func ValidateMediaServicesOperationStatusID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { errors = append(errors, fmt.Errorf("expected %q to be a string", key)) return } if _, err := ParseMediaServicesOperationStatusID(v); err != nil { errors = append(e...
[ -0.46795034408569336, -0.4855789542198181, 0.13232895731925964, 0.13473179936408997, -1.2238966226577759, 0.23723262548446655, 0.164164736866951, -0.3620842695236206, 0.14089341461658478, 0.6588759422302246, 1.0060744285583496, -0.29548192024230957, -0.2114713340997696, 0.7648897171020508,...
func (id MediaServicesOperationStatusId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.Media/locations/%s/mediaServicesOperationStatuses/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.OperationId) }
[ 0.3087253272533417, -1.321840524673462, 0.3746560513973236, -0.3201979696750641, -0.8516132235527039, 0.6159316301345825, -0.36697039008140564, 0.3997310996055603, 1.4536879062652588, 0.0652882382273674, 0.8554477095603943, -0.26614412665367126, -0.03035120479762554, -0.2757726311683655, ...
func (id MediaServicesOperationStatusId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), resourceids.StaticSegment("sta...
[ -0.3661065697669983, -0.7055168747901917, 0.3668237030506134, -0.37740325927734375, 0.19233861565589905, 0.26144251227378845, 0.12598785758018494, -0.6024904251098633, 1.0762066841125488, -0.30939510464668274, 0.6078877449035645, 0.0003860119904857129, 0.47925734519958496, 0.01360122021287...
func (id MediaServicesOperationStatusId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Location Name: %q", id.LocationName), fmt.Sprintf("Operation: %q", id.OperationId), } return fmt.Sprintf("Media Services Operation Status (%s)", strings.Join(compo...
[ 0.07120741158723831, -1.467254638671875, 0.45601722598075867, -0.9331963658332825, -1.3739380836486816, 0.03891002759337425, -0.29794543981552124, -0.5558269023895264, 0.017604179680347443, 0.17360199987888336, 0.7835990786552429, 0.12630204856395721, 0.24524782598018646, -0.57452839612960...
func parseFieldPath(path string) ([]string, error) { // fixup '\.' so we don't split on it match := strings.ReplaceAll(path, "\\.", "$$$$") parts := strings.Split(match, ".") for i := range parts { parts[i] = strings.ReplaceAll(parts[i], "$$$$", ".") } // split the list index from the list field var newParts ...
[ -0.35458916425704956, -0.12662316858768463, 0.6153740882873535, 0.07683016359806061, -0.04726361110806465, -0.4470967650413513, 0.21713216602802277, 0.11430584639310837, 0.055683162063360214, 0.838206946849823, -1.2484378814697266, 0.15334464609622955, -0.45880475640296936, 0.5318044424057...
func Main() *cobra.Command { cmd := &cobra.Command{ Use: common.TopLevelCommand, Short: "boots up Jenkins and/or Jenkins X in a Kubernetes cluster using GitOps", Run: func(cmd *cobra.Command, args []string) { err := cmd.Help() if err != nil { log.Logger().Errorf(err.Error()) } }, } cmd.AddComm...
[ -0.09272753447294235, -0.40844792127609253, 0.8676202893257141, 0.3703141212463379, 0.4411372244358063, 0.3923284113407135, -0.07048147916793823, 0.09122668206691742, 0.003365937387570739, -0.17222104966640472, 0.04581568017601967, 0.13169068098068237, -0.37782612442970276, 0.5083801150321...
func NewClient(socketFilename string) (*Client, error) { socket, err := NewUnixSocket(socketFilename, defaultReadTimeoutMs, defaultWriteTimeoutMs) if err != nil { return nil, err } client := &Client{ socket: socket, } if err := client.handshake(); err != nil { return nil, err } return client, nil }
[ 0.5268999338150024, 0.23858898878097534, 0.5525346994400024, -0.014206210151314735, -0.4137595593929291, -0.1918422132730484, 0.4819738566875458, 0.1557975858449936, -0.19625738263130188, -0.693339467048645, -0.00944419763982296, 0.4156326651573181, -0.6077088117599487, -1.0474053621292114...