text
stringlengths
11
6.3k
embedding
listlengths
768
768
func SendPostRequest(url string, jsonStr []byte, tlsCfg *tls.Config) (string, error) { return SendRequest(url, PostMethod, jsonStr, tlsCfg) }
[ -0.8658618330955505, 0.02422097884118557, 0.5607039928436279, -0.04261612147092819, -1.3891139030456543, -0.48048141598701477, -0.36511972546577454, -0.3637619614601135, -0.3561195731163025, 0.9730094075202942, -0.716535210609436, -0.2537301480770111, -0.04764971882104874, 0.68106555938720...
func SendPutRequest(url string, jsonStr []byte, tlsCfg *tls.Config) (string, error) { return SendRequest(url, PutMethod, jsonStr, tlsCfg) }
[ -1.5973747968673706, 0.05677076801657677, 0.37560051679611206, -0.685502827167511, -1.1497414112091064, -0.5545694231987, 0.17848479747772217, -0.49199986457824707, -0.08363499492406845, 1.741404414176941, -0.5423386096954346, 0.6744297742843628, -0.3894512951374054, -0.09930572658777237, ...
func SendDelRequest(url string, tlsCfg *tls.Config) (string, error) { return SendRequest(url, DeleteMethod, nil, tlsCfg) }
[ -0.3719558119773865, 0.3575287461280823, 0.507048487663269, 0.6231384873390198, -0.6186594367027283, -0.2659376859664917, -0.2112317979335785, 0.1271192878484726, 0.7050063610076904, 0.9055124521255493, -0.2451963722705841, 0.6555019021034241, 0.01398143544793129, 0.3395451605319977, 0.3...
func SendGetRequest(url string, tlsCfg *tls.Config) (string, error) { return SendRequest(url, GetMethod, nil, tlsCfg) }
[ -0.546427309513092, 0.16563382744789124, 0.4632663428783417, 0.36511215567588806, -0.29882633686065674, -0.8509905934333801, -0.2199840247631073, -0.5226284861564636, 0.21100588142871857, 1.2186943292617798, -0.28290337324142456, 0.4591050148010254, -0.0031180898658931255, 0.37210202217102...
func GetLocalIP() string { addrs, err := net.InterfaceAddrs() if err != nil { return "" } for _, address := range addrs { // Check the IP address to determine whether to loop back the address if ipnet, ok := address.(*net.IPNet); ok && !ipnet.IP.IsLoopback() { if ipnet.IP.To4() != nil { return ipnet.I...
[ 0.3620530664920807, -0.06593074649572372, 0.6926586031913757, 0.2978500425815582, -0.8585511445999146, -0.3588584065437317, 0.05941077694296837, 0.22486251592636108, 0.651435375213623, 0.4696134924888611, 0.981332540512085, -0.6210271716117859, -0.5843948721885681, -0.5228395462036133, -...
func NewRequest(f map[string]string, r io.Reader, h map[string]string, d encoding.DecodeFunc) *Request { return &Request{Fields: f, Raw: r, Headers: h, decode: d} }
[ -0.44225260615348816, -0.4738762676715851, 0.271412193775177, -0.23239432275295258, -0.7855538725852966, -0.2588098347187042, -1.2055953741073608, 0.4564344882965088, -0.6080999970436096, -0.7833144664764404, 0.5087916851043701, -0.07184699177742004, 0.9824255108833313, -0.8606744408607483...
func (r *Request) Decode(v interface{}) error { return r.decode(r.Raw, v) }
[ -1.2293256521224976, 0.1564493626356125, 0.45393410325050354, 0.3672196865081787, -0.6821690201759338, -0.3096049129962921, -0.9573350548744202, -0.7053717374801636, 0.6169570088386536, -0.5164594650268555, 0.34532585740089417, 0.1476079672574997, -0.08164718747138977, 0.23153935372829437,...
func NewResponse(p interface{}) *Response { return &Response{Payload: p} }
[ 0.6288959980010986, -0.02962067723274231, 0.08514347672462463, 0.7809547185897827, -0.9425029158592224, -0.10692291706800461, -0.26779821515083313, -1.165201187133789, 1.211997389793396, -0.1424509882926941, -0.27479487657546997, -1.0349922180175781, -0.6920979022979736, -0.255397439002990...
func NewSessionMiddleware(name, secret string) gin.HandlerFunc { return sessions.Sessions(name, cookie.NewStore([]byte(secret))) }
[ -1.0611917972564697, -1.1560204029083252, 0.2457478642463684, 0.824804961681366, -0.8127433657646179, -0.5541443824768066, -0.8127564191818237, -0.5191736817359924, 0.8164779543876648, 0.7539693713188171, -0.778002917766571, 0.2952394187450409, -0.40971043705940247, -0.2515552341938019, ...
func newBestFit(cfg PromisesConfig) (*bestFit,error) { // Create object bf := new(bestFit) bf.c = -1 // indicates uninitializated state as line cant have -ve values // Initialize smoothing window err := bf.SetWindows(int(cfg.MaxPoints),int(cfg.SmoothWindow)) if err != nil { return nil,logError(err) } return...
[ 1.2279691696166992, -0.48662272095680237, 0.17585837841033936, 0.6617352962493896, -0.3819708824157715, 0.2908385396003723, 0.4038655161857605, 0.18727391958236694, -1.0353063344955444, -0.6309344172477722, -0.6547108292579651, 0.6285503506660461, -0.6773673295974731, 0.9076515436172485, ...
func (self *bestFit) To(buff *bytes.Buffer) error { err := self.SmoothYs.To(buff) if (err != nil) { return err } err = binary.Write(buff,binary.LittleEndian,&self.m) if err != nil { return logError(err) } err = binary.Write(buff,binary.LittleEndian,&self.c) if err != nil { return logError(err) } ret...
[ 0.48129844665527344, 0.15519121289253235, 0.4510369300842285, -0.7909397482872009, 1.015432357788086, 0.3243095278739929, 0.6952760815620422, -0.5019590854644775, -0.05131871998310089, -0.48235371708869934, -0.3741118609905243, 1.8029301166534424, -0.7325469255447388, 0.18839234113693237, ...
func (self *bestFit) From(buff *bytes.Buffer) error { err := self.SmoothYs.From(buff) if (err != nil) { return err } err = binary.Read(buff,binary.LittleEndian,&self.m) if err != nil { return logError(err) } err = binary.Read(buff,binary.LittleEndian,&self.c) if err != nil { return logError(err) } r...
[ 1.160329818725586, -0.6182547211647034, 0.41221654415130615, -0.18073828518390656, -0.3115045130252838, 0.6634220480918884, 0.20226189494132996, -0.28278252482414246, 0.14542479813098907, -0.868070125579834, 0.544179379940033, 1.0257865190505981, -0.6134663820266724, 0.28465452790260315, ...
func (self* bestFit) state() ([]float64,[]float64,error) { if len(self.ys) < 2 { return nil,nil,ENOTENOUGHDATAPOINTS } return self.ys,[]float64{self.c,self.m},nil }
[ -0.1269499808549881, -0.6194267868995667, 0.3868573307991028, -0.027906809002161026, 0.349315345287323, -0.03061331808567047, 0.23038169741630554, -0.01668989099562168, 0.05691247433423996, -0.45222148299217224, -0.8592149019241333, 1.0495710372924805, 0.927385687828064, 0.8465613722801208...
func (self *bestFit) version() predictVersion { return self.pv }
[ -0.477163165807724, -1.9655523300170898, 0.3892945945262909, 1.0319982767105103, -0.24519453942775726, 0.9900919198989868, 0.5572178363800049, 0.22730056941509247, -0.1657189279794693, -0.10095007717609406, -0.08431816846132278, 0.44515323638916016, -0.255258709192276, 0.4647156894207001, ...
func (self *bestFit) add(x epochDays, y Kilometres) { self.AddY(float64(y)) self.calculateLine(x) }
[ -0.45667555928230286, 0.12977628409862518, 0.3780116140842438, -0.4973321557044983, 0.40268298983573914, 0.428789347410202, -1.3072572946548462, -0.11700177937746048, -0.23653067648410797, -1.3195698261260986, 0.21797572076320648, 0.45001882314682007, 1.0115243196487427, 0.6619164347648621...
func (self *bestFit) calculateLine(xmax epochDays) error { // Check for data if len(self.ys) < 2 { return ENOTENOUGHDATAPOINTS } // Calculate sums var ySum float64 var xSum float64 var xxSum float64 var xySum float64 xorigin := xmax - epochDays(len(self.ys)-1) for x,y := range self.ys { realx:= float...
[ -0.11701010912656784, 0.31638234853744507, 0.8833105564117432, -0.43374404311180115, -0.1794576793909073, 0.30212336778640747, -0.28081053495407104, 0.5630857348442078, -0.5659574270248413, -0.37635934352874756, -0.6242828369140625, 0.5373814702033997, 0.48184075951576233, 0.30216714739799...
func (self *bestFit) calcY(x float64) float64 { return x*self.m + self.c }
[ 0.601554274559021, -0.030213024467229843, 0.47662076354026794, 0.3007427752017975, 0.22348521649837494, -0.10772470384836197, -0.29235875606536865, -0.8820252418518066, -0.7783321738243103, -0.6800590753555298, -0.5182926058769226, -0.08383578062057495, 0.19255705177783966, 0.3705407083034...
func (self *bestFit) predict(balance Kilometres,start epochDays) (epochDays,error) { // Check for valid state if self.c < 0 { return epochDays(math.MaxInt64),ENOTENOUGHDATAPOINTS } // Calulate integral of start is := self.integral(float64(start)) // Solve quadratic ends,_ := qr(self.m/2,self.c,-(float64(bal...
[ 0.026578668504953384, 0.21600735187530518, 0.7635741829872131, -0.17045515775680542, -0.5784525871276855, 0.062243908643722534, -0.48349422216415405, -0.754637598991394, -0.41189810633659363, -0.16827812790870667, 0.5051676034927368, 0.38327229022979736, 0.056648869067430496, -0.0839170515...
func (self* bestFit) backfilled(start epochDays,end epochDays) (Kilometres,error) { // Check for valid state if self.c < 0 { return 0,ENOTENOUGHDATAPOINTS } // Assumme a horizontal line if it dips under zero // during the given period ... d1 := float64(start) d2 := float64(end) if self.calcY(d1) < 0 || sel...
[ -0.19696618616580963, 0.005981407128274441, 0.613886296749115, -0.6738625168800354, 0.22900009155273438, 0.20539721846580505, -0.14056284725666046, -0.18284989893436432, -0.7037057876586914, -0.8533816933631897, 0.5134379267692566, 0.5403609871864319, -0.4316575825214386, 0.074869818985462...
func (self *bestFit) integral(d float64) float64 { return ((self.m/2)*d*d) + self.c*d }
[ 0.543236494064331, 0.47572335600852966, 0.3494606912136078, -0.38709500432014465, -0.8200576305389404, 0.23767955601215363, 0.34632495045661926, -0.5691511034965515, -0.6676883697509766, -0.509860634803772, 0.023327259346842766, 0.10997945815324783, -0.08097881823778152, -0.132577389478683...
func NewAccountClient() *AccountClient { client := resty.New() client.SetDebug(false) // Try getting Accounts API base URL from env var apiURL := os.Getenv("API_ADDR") if apiURL == "" { apiURL = defaultBaseURL } client.SetHostURL(apiURL) // Setting global error struct that maps to Form3's error response clie...
[ -0.05435336008667946, -0.9462528228759766, 0.5142392516136169, 0.5216199159622192, -0.1650136262178421, 0.048445265740156174, 0.5822803378105164, 0.34331727027893066, 0.14551256597042084, 0.04798396676778793, 0.2687814235687256, 0.8569948077201843, -0.3102697730064392, -0.12829099595546722...
func (a *AccountClient) Create(accountParams AccountParams) (*Resource, error) { resp, err := a.client.R(). SetResult(&Resource{}). SetBody(map[string]AccountParams{"data": accountParams}). Post("/v1/organisation/accounts") if err != nil { return nil, fmt.Errorf("create account failed: %s", err) } if res...
[ -0.7314757108688354, 0.3957740366458893, 0.5150285363197327, 0.47132381796836853, 0.7045640349388123, 0.32199332118034363, 0.6667730212211609, -0.6482353806495667, -0.16128139197826385, 0.4541509747505188, 0.22319389879703522, 0.0020176242105662823, -0.6849185824394226, 0.12628412246704102...
func (a *AccountClient) List(paging PagingParams) (*Resources, error) { r := a.client.R().SetResult(&Resources{}) if paging.number != "" { r.SetQueryParam("page[number]", paging.number) } if paging.size != "" { r.SetQueryParam("page[size]", paging.size) } resp, err := r.Get("/v1/organisation/accounts") i...
[ -0.23203134536743164, -0.2825934886932373, 0.7294688820838928, -0.3058589994907379, 0.631912112236023, -0.7313424348831177, 0.14882145822048187, 0.38167694211006165, 0.7805490493774414, 0.26250168681144714, -0.04328831657767296, 0.09438977390527725, 0.06044856086373329, 0.16739898920059204...
func (a *AccountClient) Fetch(id string) (*Resource, error) { // Validate the account ID _, err := uuid.FromString(id) if err != nil { return nil, fmt.Errorf("account ID must be a valid UUID") } resp, err := a.client.R(). SetResult(&Resource{}). SetPathParams(map[string]string{"account.id": id}). Get("/v...
[ 0.13100095093250275, -0.23316167294979095, 0.20677389204502106, -0.3253302276134491, -0.5973712801933289, -0.42364683747291565, -0.3277422785758972, -0.263057678937912, 0.8417139649391174, 0.27904796600341797, 0.08594734966754913, 0.8503236174583435, 0.3505549132823944, 0.11651942878961563...
func (a *AccountClient) Delete(id string, version int) error { // Validate the account ID _, err := uuid.FromString(id) if err != nil { return fmt.Errorf("account ID must be a valid UUID") } resp, err := a.client.R(). SetPathParams(map[string]string{"account.id": id}). SetQueryParam("version", strconv.Itoa...
[ -0.4553271234035492, -0.16615943610668182, 0.4940996766090393, 0.4006357789039612, 0.2726898491382599, 0.18254470825195312, 0.47974058985710144, 0.48954692482948303, 0.41587623953819275, 1.0587270259857178, 0.07952088117599487, 0.872435986995697, -0.8820604681968689, -0.6992664933204651, ...
func getAPIError(resp *resty.Response) error { apiError := resp.Error().(*Error) return fmt.Errorf("request failed [%s]: %s", apiError.Code, apiError.Message) }
[ -0.6497056484222412, -0.6816514134407043, 0.3446076512336731, -0.405826598405838, 0.2551311254501343, -0.42557239532470703, -0.8702806234359741, -0.16361209750175476, 0.06143931299448013, -0.49632135033607483, -0.06771881133317947, -0.19303889572620392, -0.013884758576750755, -0.8941543698...
func RunJSONSerializationTestForPrivateEndpoint(subject PrivateEndpoint) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateEndpoint err = json.Unmarshal(bin, &actual) if err != nil { return err.Error() } ...
[ -0.9424610733985901, -0.6748984456062317, 0.5749154686927795, -0.9259816408157349, -0.47599801421165466, -0.17656104266643524, 0.27026960253715515, -1.3939541578292847, 0.6297635436058044, 0.34111806750297546, -0.08502683788537979, 0.43284064531326294, -0.7749728560447693, 0.03245395421981...
func PrivateEndpointGenerator() gopter.Gen { if privateEndpointGenerator != nil { return privateEndpointGenerator } generators := make(map[string]gopter.Gen) AddRelatedPropertyGeneratorsForPrivateEndpoint(generators) privateEndpointGenerator = gen.Struct(reflect.TypeOf(PrivateEndpoint{}), generators) return p...
[ -1.1139984130859375, -0.1555427610874176, 0.45640426874160767, 0.14952880144119263, -0.5721905827522278, 0.2356729954481125, -0.25655269622802734, -0.058309298008680344, 0.3706095516681671, -0.06145165488123894, -0.2254440188407898, -0.3285534977912903, -1.031050682067871, 0.29154983162879...
func AddRelatedPropertyGeneratorsForPrivateEndpoint(gens map[string]gopter.Gen) { gens["Spec"] = PrivateEndpoint_SpecGenerator() gens["Status"] = PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator() }
[ -0.08611717820167542, -0.5857155919075012, 0.37356650829315186, 0.196478009223938, 0.165882408618927, 0.3749498426914215, 0.13073742389678955, -0.07311566919088364, 0.19941399991512299, -0.24171023070812225, -0.85041743516922, -0.5643568634986877, -0.5567315816879272, 0.44085684418678284, ...
func RunJSONSerializationTestForPrivateEndpoint_Spec(subject PrivateEndpoint_Spec) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateEndpoint_Spec err = json.Unmarshal(bin, &actual) if err != nil { return e...
[ -0.7649234533309937, -0.6795616149902344, 0.5882449746131897, -1.1943389177322388, -0.23036184906959534, -0.009815861470997334, 0.45725345611572266, -1.0730048418045044, 0.37669265270233154, 0.7176558971405029, 0.19031348824501038, 0.23674286901950836, -0.3042149245738983, 0.02271284162998...
func PrivateEndpoint_SpecGenerator() gopter.Gen { if privateEndpoint_SpecGenerator != nil { return privateEndpoint_SpecGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForPrivateEndpoint_Spec(generators) privateEndpoint_SpecGenerator = gen.Struct(reflect.TypeOf(PrivateEndpoi...
[ -1.041053056716919, -0.5314831733703613, 0.7136438488960266, -0.33161765336990356, -0.4029087424278259, 0.26520925760269165, -0.0191444493830204, -0.21709249913692474, 0.08546499907970428, -0.1763594001531601, 0.31279292702674866, -0.4514232575893402, -0.5626512765884399, -0.00526373274624...
func AddIndependentPropertyGeneratorsForPrivateEndpoint_Spec(gens map[string]gopter.Gen) { gens["AzureName"] = gen.AlphaString() gens["CustomNetworkInterfaceName"] = gen.PtrOf(gen.AlphaString()) gens["Location"] = gen.PtrOf(gen.AlphaString()) gens["OriginalVersion"] = gen.AlphaString() gens["Tags"] = gen.MapOf(gen...
[ -0.6472805738449097, -0.386219322681427, 0.7555983066558838, -1.0847587585449219, 0.04156365990638733, 0.14711159467697144, 0.05838682875037193, 0.6351396441459656, -0.579675018787384, 0.13320858776569366, -0.13512535393238068, -0.6126612424850464, -0.1438779979944229, 0.12284532189369202,...
func AddRelatedPropertyGeneratorsForPrivateEndpoint_Spec(gens map[string]gopter.Gen) { gens["ApplicationSecurityGroups"] = gen.SliceOf(ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbeddedGenerator()) gens["ExtendedLocation"] = gen.PtrOf(ExtendedLocationGenerator()) gens["IpConfigurations"] = gen.SliceOf(...
[ 0.016320135444402695, -0.4631426930427551, 0.6614252924919128, -0.40767335891723633, 0.37455591559410095, 0.10121855139732361, 0.19283227622509003, 0.0018673583399504423, 0.12513475120067596, 0.012044879607856274, -0.03689870610833168, -0.7282430529594421, -0.17206302285194397, 0.143779307...
func RunJSONSerializationTestForPrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(subject PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateE...
[ 0.17786571383476257, -0.8804700374603271, 0.4098532795906067, -0.5679464936256409, -0.7374999523162842, 0.5985523462295532, -0.0020053484477102757, -0.7390208840370178, 0.5408477783203125, -0.02307678572833538, -0.2943801283836365, 0.25647199153900146, -0.6513132452964783, -0.1885178536176...
func PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator() gopter.Gen { if privateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator != nil { return privateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGene...
[ 0.19895868003368378, -0.9711815714836121, 0.5012585520744324, -0.006220272742211819, -0.48066821694374084, 1.093817949295044, -0.38860034942626953, 0.23828686773777008, 0.5417578220367432, -0.37821391224861145, -0.17158181965351105, -0.1855120062828064, -0.4786462187767029, 0.1351386904716...
func AddIndependentPropertyGeneratorsForPrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(gens map[string]gopter.Gen) { gens["CustomNetworkInterfaceName"] = gen.PtrOf(gen.AlphaString()) gens["Etag"] = gen.PtrOf(gen.AlphaString()) gens["Id"] = gen.PtrOf(gen.AlphaString()) gens["Location"] = gen.PtrOf(gen.Al...
[ 0.2268218845129013, -0.7200839519500732, 0.6811401844024658, -0.6265333294868469, -0.441122442483902, 0.9999213218688965, -0.07066843658685684, 0.5737391114234924, 0.287600040435791, -0.10848905891180038, -0.9348549842834473, -0.018680406734347343, -0.6277058124542236, 0.002989355474710464...
func AddRelatedPropertyGeneratorsForPrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(gens map[string]gopter.Gen) { gens["ApplicationSecurityGroups"] = gen.SliceOf(ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator()) gens["CustomDnsConfigs"] = gen.SliceOf(CustomDnsConfigPropertiesF...
[ 0.782366156578064, -0.7350283265113831, 0.4740913212299347, 0.009270541369915009, -0.027638470754027367, 0.8774186968803406, 0.024388978257775307, -0.017429297789931297, 0.6621282696723938, -0.4085869789123535, -0.6450332999229431, -0.15253882110118866, -0.5055314898490906, 0.1774959415197...
func RunJSONSerializationTestForApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded(subject ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory v...
[ 0.7163784503936768, -0.6349890232086182, 0.19437327980995178, -0.17989066243171692, -0.7257363796234131, 0.9293579459190369, -0.14072448015213013, -0.8043872714042664, 0.056084588170051575, 0.13194550573825836, 0.3988032341003418, 0.32199153304100037, -0.5574322938919067, 0.095286957919597...
func ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator() gopter.Gen { if applicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator != nil { return applicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator } generators := make(map[string]gopter.Gen) ...
[ 0.737611711025238, -0.4753706753253937, 0.05115654692053795, 0.4478718638420105, -0.8750514984130859, 0.8423701524734497, -0.8725116848945618, 0.07169943302869797, 0.14477960765361786, -0.1675942987203598, 0.15088707208633423, -0.3365161418914795, -0.4346260726451874, 0.41313523054122925, ...
func AddIndependentPropertyGeneratorsForApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded(gens map[string]gopter.Gen) { gens["Id"] = gen.PtrOf(gen.AlphaString()) }
[ 0.8434480428695679, -0.2706390619277954, 0.28456148505210876, 0.6172289252281189, 0.05517888441681862, 1.350404977798462, -0.10281480103731155, 0.21351312100887299, -0.27087703347206116, -0.023123806342482567, 0.08196317404508591, -0.11394427716732025, -0.2732434570789337, -0.0075994627550...
func RunJSONSerializationTestForApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded(subject ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var act...
[ 0.7652531862258911, -0.35691574215888977, 0.2940627634525299, -0.41208744049072266, -0.34182798862457275, 0.776872992515564, -0.17759712040424347, -1.001046061515808, -0.23613786697387695, 0.24350440502166748, 0.41517123579978943, 0.3906366527080536, -0.5451908111572266, 0.0897622779011726...
func ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbeddedGenerator() gopter.Gen { if applicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbeddedGenerator != nil { return applicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbeddedGenerator } generators := make(map[string]gopter.Gen) applicat...
[ 0.7144500613212585, -0.35924363136291504, 0.20909960567951202, 0.10871759802103043, -0.49391618371009827, 0.7235240936279297, -0.7775726318359375, -0.16556911170482635, -0.18649624288082123, -0.11318806558847427, 0.1896621584892273, -0.2775174081325531, -0.4471139907836914, 0.2749536633491...
func RunJSONSerializationTestForCustomDnsConfigPropertiesFormat_STATUS(subject CustomDnsConfigPropertiesFormat_STATUS) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual CustomDnsConfigPropertiesFormat_STATUS err = js...
[ -0.4036294221878052, -1.15119206905365, 0.3697540760040283, -1.240466833114624, -1.086267113685608, 0.2051474004983902, -0.601866602897644, -0.41886207461357117, 0.24642865359783173, 0.18799780309200287, -0.18236637115478516, 0.4707466661930084, -0.12195130437612534, -0.2833813726902008, ...
func CustomDnsConfigPropertiesFormat_STATUSGenerator() gopter.Gen { if customDnsConfigPropertiesFormat_STATUSGenerator != nil { return customDnsConfigPropertiesFormat_STATUSGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForCustomDnsConfigPropertiesFormat_STATUS(generators) ...
[ -0.5773119330406189, -1.1676318645477295, 0.09787595272064209, -0.8304553031921387, -0.9638873338699341, 0.23662030696868896, -1.2179193496704102, 0.8294046521186829, 0.05026566982269287, -0.13337908685207367, -0.02434346079826355, 0.024673817679286003, 0.24868442118167877, -0.361226290464...
func AddIndependentPropertyGeneratorsForCustomDnsConfigPropertiesFormat_STATUS(gens map[string]gopter.Gen) { gens["Fqdn"] = gen.PtrOf(gen.AlphaString()) gens["IpAddresses"] = gen.SliceOf(gen.AlphaString()) }
[ -0.7122517824172974, -0.9446794986724854, 0.3739033341407776, -1.2506518363952637, -0.8141083121299744, 0.4180195927619934, -0.4656286835670471, 1.4397696256637573, -0.18119090795516968, -0.14325617253780365, -0.4804704189300537, -0.10928376019001007, -0.017453158274292946, 0.3426452875137...
func RunJSONSerializationTestForExtendedLocation(subject ExtendedLocation) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual ExtendedLocation err = json.Unmarshal(bin, &actual) if err != nil { return err.Error() ...
[ -0.493400514125824, -0.6115546822547913, 0.7153993844985962, -1.102777361869812, -1.0474132299423218, 0.3388393521308899, 0.4536670446395874, -0.6629783511161804, 0.8233674168586731, -0.18498356640338898, -0.33331844210624695, 0.2350134253501892, -0.25906795263290405, -0.07832016795873642,...
func ExtendedLocationGenerator() gopter.Gen { if extendedLocationGenerator != nil { return extendedLocationGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForExtendedLocation(generators) extendedLocationGenerator = gen.Struct(reflect.TypeOf(ExtendedLocation{}), generators) ...
[ -0.6452910900115967, 0.026467986404895782, 0.6303200125694275, -0.28062301874160767, -1.7657690048217773, 0.5323003530502319, 0.03382501378655434, 1.0999611616134644, 0.31994593143463135, -0.9244315028190613, -0.6217186450958252, -0.387090265750885, -0.2070779949426651, 0.25218459963798523...
func AddIndependentPropertyGeneratorsForExtendedLocation(gens map[string]gopter.Gen) { gens["Name"] = gen.PtrOf(gen.AlphaString()) gens["Type"] = gen.PtrOf(gen.AlphaString()) }
[ -1.1527515649795532, -0.44347962737083435, 0.6798902750015259, -1.3366087675094604, -1.0943082571029663, 0.7659505605697632, 0.06771841645240784, 1.2499654293060303, -0.6034533977508545, -0.33033961057662964, -0.8832902312278748, -0.08180776983499527, -0.3528665602207184, 0.100655101239681...
func RunJSONSerializationTestForExtendedLocation_STATUS(subject ExtendedLocation_STATUS) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual ExtendedLocation_STATUS err = json.Unmarshal(bin, &actual) if err != nil { ...
[ -0.2657131850719452, -1.0270028114318848, 0.5924908518791199, -1.1404764652252197, -1.1077302694320679, 0.6235162615776062, 0.11867141723632812, -0.24361762404441833, 0.8909298181533813, -0.049208544194698334, -0.576891303062439, 0.27422186732292175, -0.11064636707305908, -0.05132899060845...
func ExtendedLocation_STATUSGenerator() gopter.Gen { if extendedLocation_STATUSGenerator != nil { return extendedLocation_STATUSGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForExtendedLocation_STATUS(generators) extendedLocation_STATUSGenerator = gen.Struct(reflect.TypeO...
[ -0.4305398166179657, -0.5597405433654785, 0.443005234003067, -0.45497292280197144, -1.5669145584106445, 0.7790699601173401, -0.3531246483325958, 1.6190191507339478, 0.3948478400707245, -0.5053328275680542, -0.9885970950126648, -0.4002540707588196, 0.04114045202732086, 0.335274338722229, ...
func AddIndependentPropertyGeneratorsForExtendedLocation_STATUS(gens map[string]gopter.Gen) { gens["Name"] = gen.PtrOf(gen.AlphaString()) gens["Type"] = gen.PtrOf(gen.AlphaString()) }
[ -0.9376867413520813, -1.0872111320495605, 0.5408134460449219, -1.3471587896347046, -1.5144771337509155, 1.1007483005523682, -0.018408961594104767, 1.7978476285934448, -0.13154004514217377, -0.2515513300895691, -0.8477457165718079, -0.08631504327058792, -0.12378063052892685, 0.1063341647386...
func RunJSONSerializationTestForNetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded(subject NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual Networ...
[ 0.4409087300300598, -0.4313848912715912, 0.2952814996242523, -0.714845597743988, -0.6335367560386658, 0.741720974445343, 0.43577662110328674, -1.253678321838379, 0.3043587803840637, -0.11977044492959976, -0.23858800530433655, -0.2848072648048401, -0.8997756838798523, 0.22665327787399292, ...
func NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator() gopter.Gen { if networkInterface_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator != nil { return networkInterface_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyG...
[ 0.32329630851745605, -0.4019320607185364, 0.12190280109643936, -0.22621725499629974, -0.6320143342018127, 1.0850553512573242, 0.01500906702131033, -0.40199601650238037, 0.3575265109539032, -0.15591731667518616, -0.29032525420188904, -0.9320400953292847, -1.1234911680221558, 0.5199370384216...
func AddIndependentPropertyGeneratorsForNetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded(gens map[string]gopter.Gen) { gens["Id"] = gen.PtrOf(gen.AlphaString()) }
[ 0.35727658867836, -0.02341897413134575, 0.38208988308906555, -0.04446679726243019, 0.10148845613002777, 1.4470247030258179, 0.4675978422164917, 0.06370770931243896, 0.1039351373910904, -0.4556204378604889, -0.7501578330993652, -0.9722281098365784, -0.6771057844161987, 0.06659350544214249, ...
func RunJSONSerializationTestForPrivateEndpointIPConfiguration(subject PrivateEndpointIPConfiguration) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateEndpointIPConfiguration err = json.Unmarshal(bin, &actua...
[ -1.4220738410949707, -0.5985739231109619, 0.5428466796875, -1.2239760160446167, -0.6195807456970215, -0.18174925446510315, 0.18057633936405182, -0.9550022482872009, 0.4753861427307129, 0.3782649040222168, 0.012113885954022408, -0.25752097368240356, -0.5936153531074524, -0.2755420207977295,...
func PrivateEndpointIPConfigurationGenerator() gopter.Gen { if privateEndpointIPConfigurationGenerator != nil { return privateEndpointIPConfigurationGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForPrivateEndpointIPConfiguration(generators) privateEndpointIPConfigurationG...
[ -2.0387494564056396, 0.15063779056072235, 0.4396221935749054, -0.34540027379989624, -0.8094492554664612, -0.3409270644187927, -0.2695249617099762, 0.17455264925956726, -0.01682952232658863, 0.01848059520125389, 0.05949781462550163, -1.710634469985962, -0.493704229593277, -0.035868175327777...
func AddIndependentPropertyGeneratorsForPrivateEndpointIPConfiguration(gens map[string]gopter.Gen) { gens["GroupId"] = gen.PtrOf(gen.AlphaString()) gens["MemberName"] = gen.PtrOf(gen.AlphaString()) gens["Name"] = gen.PtrOf(gen.AlphaString()) gens["PrivateIPAddress"] = gen.PtrOf(gen.AlphaString()) }
[ -1.8111580610275269, 0.017365161329507828, 0.7185304164886475, -1.0593148469924927, -0.48523807525634766, -0.17010706663131714, -0.3011796176433563, 0.4708566963672638, -0.6557351350784302, -0.021885959431529045, -0.7536673545837402, -1.142154574394226, -0.719610869884491, 0.03095642104744...
func RunJSONSerializationTestForPrivateEndpointIPConfiguration_STATUS(subject PrivateEndpointIPConfiguration_STATUS) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateEndpointIPConfiguration_STATUS err = json....
[ -1.562504529953003, -0.9073894619941711, 0.36594855785369873, -1.200005292892456, -0.7444890737533569, -0.08414595574140549, -0.11906374990940094, -0.5750412344932556, 0.42980584502220154, 0.6603337526321411, -0.23173680901527405, -0.5706070065498352, -0.17967844009399414, -0.3980525732040...
func PrivateEndpointIPConfiguration_STATUSGenerator() gopter.Gen { if privateEndpointIPConfiguration_STATUSGenerator != nil { return privateEndpointIPConfiguration_STATUSGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForPrivateEndpointIPConfiguration_STATUS(generators) pri...
[ -1.8934282064437866, -0.4870104193687439, 0.2183399200439453, -0.27152130007743835, -0.7781568169593811, 0.025671804323792458, -0.36290040612220764, 0.5957574248313904, 0.16443099081516266, 0.21373359858989716, -0.22899332642555237, -1.6419270038604736, -0.2446032464504242, 0.0682837665081...
func AddIndependentPropertyGeneratorsForPrivateEndpointIPConfiguration_STATUS(gens map[string]gopter.Gen) { gens["Etag"] = gen.PtrOf(gen.AlphaString()) gens["GroupId"] = gen.PtrOf(gen.AlphaString()) gens["MemberName"] = gen.PtrOf(gen.AlphaString()) gens["Name"] = gen.PtrOf(gen.AlphaString()) gens["PrivateIPAddress...
[ -1.840640902519226, -0.44617244601249695, 0.59481281042099, -1.019663691520691, -0.9426371455192566, -0.1098293587565422, -0.2894816994667053, 0.8932239413261414, -0.34772902727127075, 0.41496437788009644, -0.8416423201560974, -1.3372879028320312, -0.20192736387252808, 0.20245744287967682,...
func RunJSONSerializationTestForPrivateLinkServiceConnection(subject PrivateLinkServiceConnection) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateLinkServiceConnection err = json.Unmarshal(bin, &actual) if...
[ -0.8250752687454224, -0.8406411409378052, 0.5249943733215332, -1.1369320154190063, -0.5236638784408569, -0.31768935918807983, 0.3099859058856964, -1.1771029233932495, 0.683938205242157, -0.1422390192747116, 0.5464610457420349, 0.4839513301849365, -0.7575598955154419, 0.3779870867729187, ...
func PrivateLinkServiceConnectionGenerator() gopter.Gen { if privateLinkServiceConnectionGenerator != nil { return privateLinkServiceConnectionGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForPrivateLinkServiceConnection(generators) privateLinkServiceConnectionGenerator =...
[ -0.9233357310295105, -0.7743487358093262, 0.6140742897987366, -0.48974642157554626, -0.6606038212776184, -0.21064265072345734, -0.03784055635333061, -0.1725446581840515, 0.4614219665527344, -1.6037471294403076, 0.7725345492362976, -0.07445982098579407, -0.46827757358551025, 1.0648775100708...
func AddIndependentPropertyGeneratorsForPrivateLinkServiceConnection(gens map[string]gopter.Gen) { gens["GroupIds"] = gen.SliceOf(gen.AlphaString()) gens["Name"] = gen.PtrOf(gen.AlphaString()) gens["RequestMessage"] = gen.PtrOf(gen.AlphaString()) }
[ -1.239829659461975, -0.5076618194580078, 0.6612765789031982, -0.8024660348892212, -0.6293491125106812, -0.2587572932243347, -0.1996718794107437, 0.4221799075603485, -0.41958490014076233, -1.11709463596344, 0.09228461980819702, -0.11456961184740067, -0.7950607538223267, 1.002394676208496, ...
func AddRelatedPropertyGeneratorsForPrivateLinkServiceConnection(gens map[string]gopter.Gen) { gens["PrivateLinkServiceConnectionState"] = gen.PtrOf(PrivateLinkServiceConnectionStateGenerator()) }
[ -0.047002408653497696, -0.799247145652771, 0.33593204617500305, -0.2307911217212677, -0.3912562429904938, -0.26810958981513977, -0.04018841311335564, -0.04993215575814247, 0.6019945740699768, -1.2331351041793823, 0.044634804129600525, -0.34433773159980774, -0.35597720742225647, 0.792399644...
func RunJSONSerializationTestForPrivateLinkServiceConnection_STATUS(subject PrivateLinkServiceConnection_STATUS) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateLinkServiceConnection_STATUS err = json.Unmars...
[ -0.5848991870880127, -1.2760567665100098, 0.3789841830730438, -1.1627442836761475, -0.6224438548088074, -0.10340585559606552, -0.2298153191804886, -0.7146302461624146, 0.5701199173927307, -0.014992822892963886, 0.23174026608467102, 0.29630810022354126, -0.5518381595611572, 0.22129859030246...
func PrivateLinkServiceConnection_STATUSGenerator() gopter.Gen { if privateLinkServiceConnection_STATUSGenerator != nil { return privateLinkServiceConnection_STATUSGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForPrivateLinkServiceConnection_STATUS(generators) privateLink...
[ -0.42388197779655457, -1.2311742305755615, 0.363015741109848, -0.5513197183609009, -0.64145427942276, 0.28206199407577515, -0.44926682114601135, 0.5225868225097656, 0.3312203288078308, -1.0314855575561523, 0.35354694724082947, -0.47366562485694885, -0.36315906047821045, 0.8492865562438965,...
func AddIndependentPropertyGeneratorsForPrivateLinkServiceConnection_STATUS(gens map[string]gopter.Gen) { gens["Etag"] = gen.PtrOf(gen.AlphaString()) gens["GroupIds"] = gen.SliceOf(gen.AlphaString()) gens["Id"] = gen.PtrOf(gen.AlphaString()) gens["Name"] = gen.PtrOf(gen.AlphaString()) gens["PrivateLinkServiceId"] ...
[ -0.8060716986656189, -1.3468570709228516, 0.6808935403823853, -1.2634387016296387, -0.7612478733062744, 0.04269323870539665, -0.550807774066925, 0.8687407970428467, -0.20875050127506256, -0.6145725846290588, -0.11465538293123245, -0.23309339582920074, -0.22926802933216095, 0.78370773792266...
func AddRelatedPropertyGeneratorsForPrivateLinkServiceConnection_STATUS(gens map[string]gopter.Gen) { gens["PrivateLinkServiceConnectionState"] = gen.PtrOf(PrivateLinkServiceConnectionState_STATUSGenerator()) }
[ -0.04178237542510033, -1.3515653610229492, 0.29007965326309204, -0.545793890953064, -0.4711690843105316, 0.16289646923542023, -0.3847845494747162, 0.4670352041721344, 0.6434025168418884, -0.8421289920806885, -0.009254281409084797, -0.445536345243454, 0.11104689538478851, 0.7270923256874084...
func RunJSONSerializationTestForSubnet_PrivateEndpoint_SubResourceEmbedded(subject Subnet_PrivateEndpoint_SubResourceEmbedded) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual Subnet_PrivateEndpoint_SubResourceEmbedd...
[ 0.32200494408607483, -0.6269811987876892, 0.6082725524902344, -0.6103653907775879, -0.35546109080314636, 0.9061402082443237, -0.06941103935241699, -1.1676691770553589, 0.5270780920982361, -0.45302337408065796, 0.15200059115886688, 0.3355082869529724, -0.5297765135765076, -0.058911029249429...
func Subnet_PrivateEndpoint_SubResourceEmbeddedGenerator() gopter.Gen { if subnet_PrivateEndpoint_SubResourceEmbeddedGenerator != nil { return subnet_PrivateEndpoint_SubResourceEmbeddedGenerator } generators := make(map[string]gopter.Gen) subnet_PrivateEndpoint_SubResourceEmbeddedGenerator = gen.Struct(reflect.T...
[ 0.2248707264661789, -0.22797496616840363, 0.48185133934020996, 0.5140382051467896, -0.34768781065940857, 1.2189589738845825, -0.47858038544654846, -0.19235453009605408, 0.5568801164627075, -0.3394717872142792, 0.21577981114387512, -0.253853440284729, -0.5734445452690125, 0.0108354408293962...
func RunJSONSerializationTestForSubnet_STATUS_PrivateEndpoint_SubResourceEmbedded(subject Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual Subnet_STATUS_PrivateEndpo...
[ 0.47540485858917236, -0.5883188843727112, 0.45701122283935547, -0.4864976406097412, -0.3698149621486664, 1.0181488990783691, -0.2992294132709503, -0.9685494899749756, 0.6065747141838074, -0.36834046244621277, -0.05641711503267288, 0.2990858852863312, -0.24512946605682373, 0.019081344828009...
func Subnet_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator() gopter.Gen { if subnet_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator != nil { return subnet_STATUS_PrivateEndpoint_SubResourceEmbeddedGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForSubnet_STATUS_Priv...
[ 0.7518466114997864, -0.2637019753456116, 0.24939651787281036, 0.4311895966529846, -0.3874114155769348, 1.1777609586715698, -0.9255834817886353, -0.011666841804981232, 0.6864293813705444, -0.4203606843948364, 0.09156288206577301, -0.3548235595226288, -0.0026172043289989233, 0.21181343495845...
func AddIndependentPropertyGeneratorsForSubnet_STATUS_PrivateEndpoint_SubResourceEmbedded(gens map[string]gopter.Gen) { gens["Id"] = gen.PtrOf(gen.AlphaString()) }
[ 0.3713837265968323, -0.4220154583454132, 0.6007677912712097, 0.06453432142734528, 0.4271869659423828, 1.7509652376174927, -0.2521245777606964, 0.4434264898300171, 0.2950381934642792, -0.7530876994132996, -0.6561973094940186, -0.1951272338628769, -0.20369762182235718, -0.17097921669483185, ...
func RunJSONSerializationTestForPrivateLinkServiceConnectionState(subject PrivateLinkServiceConnectionState) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateLinkServiceConnectionState err = json.Unmarshal(bi...
[ -0.6312733888626099, -0.908075749874115, 0.4762685000896454, -1.1836705207824707, -0.5938776135444641, -0.15434624254703522, 0.08828826993703842, -0.9850223660469055, 0.9047685861587524, -0.3101399540901184, 0.4086973965167999, 0.2508789896965027, -0.6716206073760986, 0.015264343470335007,...
func PrivateLinkServiceConnectionStateGenerator() gopter.Gen { if privateLinkServiceConnectionStateGenerator != nil { return privateLinkServiceConnectionStateGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForPrivateLinkServiceConnectionState(generators) privateLinkServiceC...
[ -0.6735389828681946, -0.828457236289978, 0.2938481867313385, -0.7355659604072571, -0.7721994519233704, -0.04616362228989601, -0.3988296091556549, 0.13888844847679138, 0.8731960654258728, -1.5257054567337036, 0.856956422328949, -0.6369881629943848, -0.2960914671421051, 0.7135148644447327, ...
func AddIndependentPropertyGeneratorsForPrivateLinkServiceConnectionState(gens map[string]gopter.Gen) { gens["ActionsRequired"] = gen.PtrOf(gen.AlphaString()) gens["Description"] = gen.PtrOf(gen.AlphaString()) gens["Status"] = gen.PtrOf(gen.AlphaString()) }
[ -0.9541630148887634, -0.6451562643051147, 0.6084392070770264, -1.0191185474395752, -0.35563772916793823, 0.21137605607509613, -0.2837178111076355, 0.5250120162963867, 0.22637900710105896, -1.233015775680542, 0.1344841569662094, -0.42587414383888245, -0.2303016632795334, 0.5978678464889526,...
func RunJSONSerializationTestForPrivateLinkServiceConnectionState_STATUS(subject PrivateLinkServiceConnectionState_STATUS) string { // Serialize to JSON bin, err := json.Marshal(subject) if err != nil { return err.Error() } // Deserialize back into memory var actual PrivateLinkServiceConnectionState_STATUS er...
[ -0.5613048672676086, -1.237282633781433, 0.3425423800945282, -1.2471544742584229, -0.631422221660614, -0.001701044850051403, -0.3985554575920105, -0.5999748706817627, 0.7924951910972595, -0.04559653624892235, 0.2609174847602844, 0.17927400767803192, -0.4565050005912781, -0.0934316888451576...
func PrivateLinkServiceConnectionState_STATUSGenerator() gopter.Gen { if privateLinkServiceConnectionState_STATUSGenerator != nil { return privateLinkServiceConnectionState_STATUSGenerator } generators := make(map[string]gopter.Gen) AddIndependentPropertyGeneratorsForPrivateLinkServiceConnectionState_STATUS(gene...
[ -0.4198744595050812, -1.1340243816375732, 0.12469450384378433, -0.710841953754425, -0.6200454831123352, 0.3093206584453583, -0.886054515838623, 0.7013379335403442, 0.6611881256103516, -1.2071384191513062, 0.46366193890571594, -0.7361977100372314, 0.014697203412652016, 0.6373621821403503, ...
func AddIndependentPropertyGeneratorsForPrivateLinkServiceConnectionState_STATUS(gens map[string]gopter.Gen) { gens["ActionsRequired"] = gen.PtrOf(gen.AlphaString()) gens["Description"] = gen.PtrOf(gen.AlphaString()) gens["Status"] = gen.PtrOf(gen.AlphaString()) }
[ -0.6177516579627991, -1.1520169973373413, 0.38558873534202576, -0.969562292098999, -0.42060837149620056, 0.36608269810676575, -0.5534782409667969, 1.0983610153198242, 0.2893156409263611, -0.8480002880096436, 0.04456225037574768, -0.1876794397830963, -0.040207188576459885, 0.517150282859802...
func newNullEventSpool() *NullEventSpool { return &NullEventSpool{} }
[ 1.2560994625091553, -1.2062859535217285, 0.20182810723781586, -0.2688206732273102, -1.0959031581878662, -0.45872047543525696, 0.22258597612380981, 0.45667824149131775, 1.318401575088501, -1.1173151731491089, -0.39051520824432373, 0.7428644895553589, 0.3094750642776489, 0.13127422332763672,...
func (s *NullEventSpool) Close() { }
[ 0.6993993520736694, -0.8768694400787354, 0.5042977929115295, -0.2957625091075897, -0.5446853637695312, 0.63579261302948, 0.9743468761444092, -0.09986758232116699, 0.8985080122947693, -0.945868730545044, -0.06502767652273178, 0.7425277829170227, -0.4966978430747986, 1.1491554975509644, -0...
func (s *NullEventSpool) Add(event registrar.EventProcessor) { }
[ -0.04770781844854355, -0.5462177395820618, 0.42238709330558777, -0.11845014989376068, 0.46488070487976074, 0.2428453415632248, 0.6320989727973938, 0.714161217212677, 1.5383079051971436, -0.1211719736456871, -0.4790821075439453, 1.014002799987793, -0.31511038541793823, 1.1702299118041992, ...
func (s *NullEventSpool) Send() { }
[ 0.22720672190189362, -0.7635906338691711, 0.38645097613334656, 0.5169335603713989, 0.2047283947467804, 0.04819556325674057, 0.5331059694290161, -0.48148006200790405, 0.9582388401031494, -0.24033817648887634, -0.8693610429763794, 0.9236105680465698, -0.03628692775964737, 0.7242555618286133,...
func (e *TApplicationException) Write(p TProtocol) (err error) { if err = p.WriteStructBegin(TStructHeader{"TApplicationException"}); err != nil { return } if len(e.Message) > 0 { if err = p.WriteFieldBegin(TFieldHeader{"message", STRING, 1}); err != nil { return } if err = p.WriteString(e.Message); err !...
[ -1.3930399417877197, 0.6301171779632568, 0.6017424464225769, -0.7965371608734131, 0.47996896505355835, 0.4001918435096741, 1.0236456394195557, 0.032376497983932495, -0.46820515394210815, 0.42267540097236633, -0.5852792859077454, -0.7172399163246155, -0.1962873786687851, -0.2685361206531524...
func (e *TApplicationException) Read(p TProtocol) (err error) { if _, err = p.ReadStructBegin(); err != nil { return } var h TFieldHeader for { if h, err = p.ReadFieldBegin(); err != nil { return } if h.Type == STOP { break } switch h.Identity { case 1: if h.Type == STRING { e.Message, er...
[ -1.0923123359680176, 0.17622248828411102, 0.7525065541267395, -0.5053962469100952, -0.27348658442497253, 0.559203028678894, 0.7942677736282349, -0.45847564935684204, -0.9651597142219543, 0.45329347252845764, 0.28888949751853943, -0.3876512348651886, -0.4796714186668396, -0.5410423278808594...
func AutoMigrate(db *gorm.DB) (err error) { err = db.AutoMigrate(&models.Provinsi{}, &models.Kota{}, &models.Kelurahan{}, &models.Kecamatan{}).Error if err != nil { return err } db.Model(&models.Kota{}).AddForeignKey("provinsi_id", "provinsis(id)", "CASCADE", "RESTRICT") db.Model(&models.Kecamatan{}).AddForeign...
[ -0.5416019558906555, 0.599631667137146, 0.6877451539039612, 1.2034361362457275, 0.9092180728912354, -0.2256266176700592, -0.6942621469497681, -0.2557303011417389, -0.47949743270874023, 0.26190775632858276, -0.15499398112297058, -0.8807793855667114, -0.016944073140621185, 0.4170791208744049...
func NewScavenger( ctx context.Context, db p.TaskManager, metricsClient metrics.Client, logger log.Logger, opts *Options, ) *Scavenger { taskExecutor := executor.NewFixedSizePoolExecutor( taskListBatchSize, executorMaxDeferredTasks, metricsClient, metrics.TaskListScavengerScope, ) if opts == nil { op...
[ -0.1038840115070343, 0.16220228374004364, 0.7907987236976624, 0.3868674635887146, -1.4263440370559692, -0.25929537415504456, 0.10812044888734818, 0.12253117561340332, 0.02737623266875744, -0.09891358762979507, -0.29934263229370117, 0.0397871658205986, 0.03873639926314354, 1.551664829254150...
func (s *Scavenger) Start() { if !atomic.CompareAndSwapInt32(&s.status, common.DaemonStatusInitialized, common.DaemonStatusStarted) { return } s.logger.Info("Tasklist scavenger starting") s.stopWG.Add(1) s.executor.Start() go s.run() s.scope.IncCounter(metrics.StartedCount) s.logger.Info("Tasklist scavenger s...
[ -0.3058406114578247, -0.07443541288375854, 0.2073489874601364, -0.007806356996297836, -0.03803218901157379, -0.33331072330474854, 0.07346506416797638, 0.8832756876945496, -0.1617712527513504, -0.08440399169921875, -0.5753859877586365, 0.8522594571113586, 0.4899888038635254, 1.2739260196685...
func (s *Scavenger) Stop() { if !atomic.CompareAndSwapInt32(&s.status, common.DaemonStatusStarted, common.DaemonStatusStopped) { return } s.scope.IncCounter(metrics.StoppedCount) s.logger.Info("Tasklist scavenger stopping") close(s.stopC) s.executor.Stop() s.stopWG.Wait() s.logger.Info("Tasklist scavenger sto...
[ -0.7639356255531311, 0.058333538472652435, 0.3071310818195343, -0.19147294759750366, -0.26688557863235474, 0.21203236281871796, 0.4276127219200134, 0.44370052218437195, -0.46302881836891174, -0.06829367578029633, -0.6287819147109985, 0.19981373846530914, 0.35873380303382874, 1.114567279815...
func (s *Scavenger) Alive() bool { return atomic.LoadInt32(&s.status) == common.DaemonStatusStarted }
[ -0.3066701591014862, -1.3212268352508545, 0.6099244952201843, 0.3190537691116333, -0.09422064572572708, 0.26269397139549255, -0.9938598275184631, 0.037067558616399765, -0.3800242841243744, 0.30518677830696106, -0.7013843655586243, -0.5073807239532471, -0.245949387550354, 0.0521642491221427...
func (s *Scavenger) run() { defer func() { s.emitStats() go s.Stop() s.stopWG.Done() }() // Start a task to delete orphaned tasks from the tasks table, if enabled if s.cleanOrphans() { s.executor.Submit(&orphanExecutorTask{scvg: s}) } var pageToken []byte for { resp, err := s.listTaskList(taskListBat...
[ -0.21578268706798553, 0.2509475350379944, 0.6835067272186279, 0.3565236032009125, 0.307706743478775, -0.3027920722961426, 0.33859050273895264, 0.6630622148513794, -0.14355506002902985, -0.049033090472221375, -0.6983564496040344, 0.12166003882884979, 0.2625678777694702, 1.3944082260131836, ...
func (s *Scavenger) process(taskListInfo *p.TaskListInfo) executor.TaskStatus { return s.deleteHandler(taskListInfo) }
[ 0.6965349316596985, -0.04189416021108627, 0.2152654230594635, 0.4500786364078522, -0.21801607310771942, 0.6128235459327698, 0.16433101892471313, 0.4312702715396881, 0.5707139372825623, 0.09364215284585953, -0.3924140930175781, -0.4098827540874481, 0.12288077175617218, 1.1181111335754395, ...
func (s *Scavenger) newTask(info *p.TaskListInfo) executor.Task { return &executorTask{ taskListInfo: *info, scvg: s, } }
[ 0.3828458786010742, 0.5278065800666809, 0.17590418457984924, 0.989680826663971, -0.2633446753025055, -0.086159348487854, -0.5201272964477539, 0.6808457970619202, -0.40771719813346863, -0.24161265790462494, -0.3077082633972168, 0.41206324100494385, 0.5606642961502075, 0.9954980611801147, ...
func (t *executorTask) Run() executor.TaskStatus { return t.scvg.process(&t.taskListInfo) }
[ -0.35670191049575806, 0.11484101414680481, 0.29817962646484375, -0.12855949997901917, -0.24767591059207916, 0.13195282220840454, -0.21586576104164124, 1.4232704639434814, -0.3185161054134369, 0.4733245372772217, -1.314051866531372, -0.37261679768562317, 0.5880035758018494, 0.76581978797912...
func (r *Friend) Default() { friendlog.Info("default", "name", r.Name) // TODO(user): fill in your defaulting logic. }
[ 0.5158641934394836, -0.05793660506606102, 0.2971702218055725, 0.9881570339202881, 1.094399094581604, 0.17707465589046478, 0.07146196067333221, 0.1467791050672531, -0.2025987058877945, -0.2028224766254425, -0.5983912348747253, -0.11308588832616806, -0.22373101115226746, -0.05778457969427109...
func (r *Friend) ValidateCreate() error { friendlog.Info("validate create", "name", r.Name) // TODO(user): fill in your validation logic upon object creation. return r.validateFriend() }
[ -0.09870380163192749, -0.6053019762039185, 0.45887336134910583, 1.1690855026245117, 0.19756849110126495, 0.838205099105835, 0.4280131459236145, -1.6963566541671753, -0.8039857149124146, -0.2763689160346985, -0.24625064432621002, -0.9576842188835144, -0.365962415933609, 0.23836760222911835,...
func (r *Friend) ValidateUpdate(old runtime.Object) error { friendlog.Info("validate update", "name", r.Name) // TODO(user): fill in your validation logic upon object update. return r.validateFriend() }
[ -0.5569285750389099, -1.6364433765411377, 0.6226406097412109, 1.131758451461792, -0.691972017288208, 0.5923094153404236, 0.22441597282886505, -1.368409514427185, 0.5747336745262146, 0.1653537154197693, -0.14755290746688843, -0.8427427411079407, -0.523535966873169, -0.2851015627384186, 0....
func (r *Friend) ValidateDelete() error { friendlog.Info("validate delete", "name", r.Name) // TODO(user): fill in your validation logic upon object deletion. return nil }
[ 0.5969258546829224, -0.5447665452957153, 0.5862025618553162, 1.2053409814834595, 0.46105217933654785, 0.49485674500465393, 0.6319093108177185, -1.1006637811660767, 0.4288876950740814, -0.012857089750468731, -0.12002134323120117, -0.6025946736335754, -0.5241627097129822, -0.1107331961393356...
func (o GetServiceComponentResultOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v GetServiceComponentResult) string { return v.Host }).(pulumi.StringOutput) }
[ 0.5065513253211975, -0.3922092318534851, 0.5080432295799255, 0.07178115099668503, -0.13024097681045532, 0.8490686416625977, -0.0787600502371788, 0.6071908473968506, -0.25530368089675903, -0.6713548302650452, 0.2853754162788391, 0.36011478304862976, -0.31718572974205017, -1.6315404176712036...
func (o GetServiceComponentResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetServiceComponentResult) string { return v.Id }).(pulumi.StringOutput) }
[ 0.7885468602180481, -0.6113340854644775, 0.28362539410591125, -0.2510799169540405, 0.5253597497940063, 0.7234037518501282, 0.3756099343299866, 0.19051231443881989, 0.8252767324447632, -0.6154807209968567, -0.13000185787677765, 0.2889637351036072, -0.4976097047328949, -0.8390896320343018, ...