text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func NewFormatScoreServiceUpdateDefault(code int) *FormatScoreServiceUpdateDefault {
return &FormatScoreServiceUpdateDefault{
_statusCode: code,
}
} | [
-0.9904093146324158,
-0.5880343914031982,
0.25050538778305054,
0.542676568031311,
0.8586990237236023,
-0.28119298815727234,
0.0758957490324974,
0.3677939772605896,
0.1354183852672577,
-0.19627878069877625,
-0.2697831094264984,
-0.02465296909213066,
-0.8473916053771973,
-0.3065606355667114,... |
func (o *FormatScoreServiceUpdateDefault) Code() int {
return o._statusCode
} | [
-0.914973258972168,
0.06229446455836296,
0.4263266921043396,
0.7677540183067322,
0.7483696937561035,
-0.02441290207207203,
0.44139572978019714,
0.7279731035232544,
0.22535106539726257,
-0.014187145978212357,
0.36531639099121094,
-0.21192198991775513,
-0.56610107421875,
0.22449395060539246,... |
func (r *AWSCodeDeployDeploymentGroup_AutoRollbackConfiguration) AWSCloudFormationType() string {
return "AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration"
} | [
0.14078567922115326,
0.7600299119949341,
0.3994792699813843,
-0.31080925464630127,
-0.05703321844339371,
-0.19346153736114502,
0.5069167613983154,
-0.28176969289779663,
0.20903728902339935,
0.4277549386024475,
0.2869512736797333,
0.7516348361968994,
0.015102450735867023,
0.5157732963562012... |
func MakeSet(lst []string) map[string]bool {
ret := make(map[string]bool)
for _, s := range lst {
ret[s] = true
}
return ret
} | [
-0.9382045865058899,
0.10798463225364685,
0.5900537967681885,
-0.6875370144844055,
-0.8533505201339722,
0.43944263458251953,
-0.7698414921760559,
0.12738755345344543,
-0.9037132859230042,
0.4706823229789734,
-1.09062922000885,
-0.2900845408439636,
0.5994519591331482,
-0.07900246232748032,
... |
func SortedList(set map[string]bool) []string {
var ret []string
for s := range set {
ret = append(ret, s)
}
sort.Strings(ret)
return ret
} | [
0.08700664341449738,
-0.247701033949852,
0.19607579708099365,
-0.22351263463497162,
-0.57508784532547,
0.49497663974761963,
-1.1652634143829346,
-0.05751331150531769,
-0.10892282426357269,
0.7355489134788513,
0.2430250644683838,
0.429801881313324,
-0.3938086926937103,
0.5852295756340027,
... |
func (m *EndOfGameLcdsEndOfGameStats) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateMyTeamInfo(formats); err != nil {
res = append(res, err)
}
if err := m.validateNewSpells(formats); err != nil {
res = append(res, err)
}
if err := m.validateOtherTeamInfo(formats); err != nil... | [
0.6496490836143494,
0.8266003131866455,
0.4643635153770447,
-1.198809266090393,
-0.17078948020935059,
0.2022726833820343,
-0.1860227882862091,
-1.210348129272461,
-1.137040615081787,
0.030204711481928825,
0.39973536133766174,
0.056304093450307846,
-0.5286036729812622,
0.5267354249954224,
... |
func (in *HelmRequest) DeepCopyInto(out *HelmRequest) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
return
} | [
0.062126096338033676,
-0.5289842486381531,
0.6387547850608826,
0.39474356174468994,
-0.2973226010799408,
0.26024526357650757,
0.18144333362579346,
-0.27320802211761475,
-1.1392173767089844,
-0.8056316375732422,
-0.21889173984527588,
1.3105729818344116,
0.17299097776412964,
-0.1954690814018... |
func (in *HelmRequest) DeepCopy() *HelmRequest {
if in == nil {
return nil
}
out := new(HelmRequest)
in.DeepCopyInto(out)
return out
} | [
-0.4273180663585663,
0.37499532103538513,
0.2399815022945404,
1.2990449666976929,
-0.07043065130710602,
-0.3133235573768616,
0.2661019563674927,
-1.021193504333496,
0.0887679010629654,
-0.6126061677932739,
0.46058765053749084,
0.5862607359886169,
-0.29401418566703796,
-0.25710931420326233,... |
func (in *HelmRequest) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.4650243818759918,
-0.18802398443222046,
0.6884739398956299,
0.8778800368309021,
-0.144724503159523,
0.36785832047462463,
0.8768330812454224,
-0.7831762433052063,
-0.4799847900867462,
-1.1023664474487305,
0.16746270656585693,
0.0390094593167305,
-0.002706577070057392,
-0.3086907267570495... |
func (in *HelmRequestList) DeepCopyInto(out *HelmRequestList) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]HelmRequest, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
} | [
-0.37256017327308655,
0.024875208735466003,
0.7055525183677673,
1.0233287811279297,
0.06662781536579132,
0.17649714648723602,
-0.36038103699684143,
0.48173069953918457,
-0.9182367324829102,
-0.18041911721229553,
-0.41911277174949646,
0.5452452898025513,
-0.15160095691680908,
-0.49171596765... |
func (in *HelmRequestList) DeepCopy() *HelmRequestList {
if in == nil {
return nil
}
out := new(HelmRequestList)
in.DeepCopyInto(out)
return out
} | [
-0.8275864720344543,
-0.09924492239952087,
0.24231594800949097,
2.0887398719787598,
0.43940094113349915,
0.08377041667699814,
-0.31807616353034973,
-0.09647917002439499,
-0.11330243200063705,
-0.5500478148460388,
-0.1918092966079712,
-0.1655070036649704,
-0.13062043488025665,
-0.5788455009... |
func (in *HelmRequestList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.7630288600921631,
-0.11998098343610764,
0.6746882200241089,
1.3266600370407104,
-0.13303877413272858,
0.5795385837554932,
0.5958766937255859,
-0.16691185534000397,
-0.41537994146347046,
-0.9448410868644714,
-0.39946427941322327,
-0.22009101510047913,
-0.1361747533082962,
-0.182996556162... |
func (in *HelmRequestSpec) DeepCopyInto(out *HelmRequestSpec) {
*out = *in
if in.Dependencies != nil {
in, out := &in.Dependencies, &out.Dependencies
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.ValuesFrom != nil {
in, out := &in.ValuesFrom, &out.ValuesFrom
*out = make([]ValuesFromSource, len(*... | [
0.3650643527507782,
0.0017309201648458838,
0.6571937799453735,
0.05508876219391823,
-0.16940723359584808,
0.14680716395378113,
-0.26635342836380005,
0.16710422933101654,
-1.3046469688415527,
-0.4076901376247406,
-0.4197402894496918,
0.840186357498169,
0.3282293379306793,
-0.435932546854019... |
func (in *HelmRequestSpec) DeepCopy() *HelmRequestSpec {
if in == nil {
return nil
}
out := new(HelmRequestSpec)
in.DeepCopyInto(out)
return out
} | [
0.4323568344116211,
-0.1445951759815216,
0.06426139920949936,
0.7681825757026672,
0.1424926221370697,
0.1108880341053009,
-0.2340525984764099,
-0.35066157579421997,
-0.9748485088348389,
-0.4499514400959015,
0.19260461628437042,
0.3136621415615082,
0.1363985389471054,
-0.8815497159957886,
... |
func (in *HelmRequestStatus) DeepCopyInto(out *HelmRequestStatus) {
*out = *in
if in.SyncedClusters != nil {
in, out := &in.SyncedClusters, &out.SyncedClusters
*out = make([]string, len(*in))
copy(*out, *in)
}
return
} | [
0.2645145058631897,
0.06226852908730507,
0.49633610248565674,
0.43877723813056946,
0.2593329846858978,
0.18845458328723907,
-0.19758309423923492,
0.021763641387224197,
-0.8623098731040955,
-0.7782772183418274,
-0.41892102360725403,
1.012515902519226,
-0.11699919402599335,
-1.11746335029602... |
func (in *HelmRequestStatus) DeepCopy() *HelmRequestStatus {
if in == nil {
return nil
}
out := new(HelmRequestStatus)
in.DeepCopyInto(out)
return out
} | [
-0.16330792009830475,
-0.3363802134990692,
-0.20772819221019745,
0.6256629824638367,
0.3843778669834137,
-0.2330830693244934,
-0.5412574410438538,
-0.43394437432289124,
-0.45881184935569763,
-0.9358646273612976,
-0.33490100502967834,
-0.042401272803545,
-0.1961292326450348,
-0.905974507331... |
func (in *HelmValues) DeepCopy() *HelmValues {
if in == nil {
return nil
}
out := new(HelmValues)
in.DeepCopyInto(out)
return out
} | [
0.17560838162899017,
0.738180935382843,
0.2700120508670807,
1.2371139526367188,
0.20505701005458832,
-0.12031828612089157,
-0.0835016518831253,
-0.27553635835647583,
-0.7879869341850281,
-0.9965652227401733,
-0.06939966231584549,
0.3362697660923004,
-0.47736603021621704,
0.3638484179973602... |
func (in *Release) DeepCopyInto(out *Release) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
out.Spec = in.Spec
in.Status.DeepCopyInto(&out.Status)
return
} | [
0.09041696041822433,
-0.9703521728515625,
0.5574299097061157,
0.014060664921998978,
-0.7668426036834717,
0.37669020891189575,
-0.2710075080394745,
0.8848713636398315,
-1.08070969581604,
0.12340663373470306,
-0.7107271552085876,
0.9935743808746338,
0.3342602550983429,
-0.3542000949382782,
... |
func (in *Release) DeepCopy() *Release {
if in == nil {
return nil
}
out := new(Release)
in.DeepCopyInto(out)
return out
} | [
-0.6484701633453369,
-0.01967785507440567,
0.17845556139945984,
1.217570424079895,
-0.39049896597862244,
-0.3304012715816498,
-0.07640445977449417,
-0.21685095131397247,
0.32334333658218384,
0.14320982992649078,
-0.07515429705381393,
0.06934502720832825,
-1.0111806392669678,
-0.66680896282... |
func (in *Release) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.22652386128902435,
-0.7257504463195801,
0.6191272735595703,
0.5282232165336609,
-0.836762547492981,
0.4107726812362671,
0.6734039187431335,
0.25483840703964233,
-0.368954062461853,
-0.02959764003753662,
-0.4204370081424713,
0.16818149387836456,
-0.0036237945314496756,
-0.380876779556274... |
func (in *ReleaseList) DeepCopyInto(out *ReleaseList) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]Release, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
} | [
-0.4057212471961975,
-0.021391402930021286,
0.7520661354064941,
0.0882256031036377,
-0.38345324993133545,
0.16124896705150604,
-0.2686270475387573,
0.8897608518600464,
-0.84843510389328,
0.8510509729385376,
-1.0059077739715576,
0.5849940180778503,
0.05300956219434738,
-0.18067567050457,
... |
func (in *ReleaseList) DeepCopy() *ReleaseList {
if in == nil {
return nil
}
out := new(ReleaseList)
in.DeepCopyInto(out)
return out
} | [
-0.8556718230247498,
0.49361753463745117,
0.26622772216796875,
0.7932233810424805,
-0.5461925864219666,
0.044478513300418854,
-0.02192547731101513,
0.188650444149971,
0.49862226843833923,
1.0288647413253784,
-1.3076595067977905,
0.09862936288118362,
-0.058669041842222214,
-0.06145026907324... |
func (in *ReleaseList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.6413459777832031,
-0.32860875129699707,
0.6502435803413391,
0.3026910722255707,
-0.7793289422988892,
0.6823934316635132,
0.6392018795013428,
0.26255396008491516,
-0.2447851449251175,
0.26714786887168884,
-0.9874483346939087,
0.053457748144865036,
0.16742804646492004,
0.02299264818429947... |
func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec) {
*out = *in
return
} | [
0.2812840938568115,
-0.16099338233470917,
0.5346770882606506,
-0.47621485590934753,
-0.6024094820022583,
0.8296476602554321,
-0.19801363348960876,
1.035047173500061,
-1.522035837173462,
0.1862545609474182,
-0.8764336109161377,
1.4662328958511353,
0.7737917304039001,
-0.5309750437736511,
... |
func (in *ReleaseSpec) DeepCopy() *ReleaseSpec {
if in == nil {
return nil
}
out := new(ReleaseSpec)
in.DeepCopyInto(out)
return out
} | [
-0.2733914852142334,
0.19959431886672974,
0.3489094376564026,
-0.22626715898513794,
-0.4493878483772278,
0.41059139370918274,
0.04111464321613312,
-0.025487089529633522,
-0.5470468997955322,
0.5921671986579895,
-0.554246723651886,
0.6448317766189575,
0.23200036585330963,
-0.480447798967361... |
func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus) {
*out = *in
in.FirstDeployed.DeepCopyInto(&out.FirstDeployed)
in.LastDeployed.DeepCopyInto(&out.LastDeployed)
in.Deleted.DeepCopyInto(&out.Deleted)
return
} | [
0.6985664367675781,
-0.5482191443443298,
0.36257851123809814,
-1.1205885410308838,
-0.5861172080039978,
0.020180141553282738,
-0.39665138721466064,
0.9977623820304871,
-0.7234237790107727,
-0.1290695071220398,
-1.1200941801071167,
0.9757246375083923,
0.6460849046707153,
-0.0184860322624444... |
func (in *ReleaseStatus) DeepCopy() *ReleaseStatus {
if in == nil {
return nil
}
out := new(ReleaseStatus)
in.DeepCopyInto(out)
return out
} | [
-0.19917021691799164,
0.12247485667467117,
-0.13958480954170227,
-0.6537468433380127,
-0.5274133682250977,
0.028754962608218193,
-0.38829687237739563,
0.06847083568572998,
0.15047526359558105,
0.014668937772512436,
-1.1622306108474731,
0.3867926001548767,
0.2530933916568756,
-0.12229254096... |
func (in *ValuesFromSource) DeepCopyInto(out *ValuesFromSource) {
*out = *in
if in.ConfigMapKeyRef != nil {
in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef
*out = new(v1.ConfigMapKeySelector)
(*in).DeepCopyInto(*out)
}
if in.SecretKeyRef != nil {
in, out := &in.SecretKeyRef, &out.SecretKeyRef
*out = ... | [
-0.3979610800743103,
0.09685313701629639,
0.38433828949928284,
0.02138836868107319,
-0.4421366751194,
-0.3151194155216217,
-0.4548635184764862,
0.5684691071510315,
-0.8629412055015564,
-0.43448954820632935,
-0.6735796332359314,
0.8086176514625549,
-0.24577397108078003,
0.5791942477226257,
... |
func (in *ValuesFromSource) DeepCopy() *ValuesFromSource {
if in == nil {
return nil
}
out := new(ValuesFromSource)
in.DeepCopyInto(out)
return out
} | [
-0.006616577040404081,
1.166164517402649,
-0.046947211027145386,
0.7597975730895996,
-0.3000974953174591,
-0.19210590422153473,
-0.9975343346595764,
-0.3261047899723053,
-0.10051947832107544,
-0.791287899017334,
-0.45344823598861694,
0.08242417871952057,
-0.489976167678833,
0.5675844550132... |
func cleanName(s string) string {
s = strings.Replace(s, " ", "_", -1) // Remove spaces
s = strings.Replace(s, "(", "", -1) // Remove open parenthesis
s = strings.Replace(s, ")", "", -1) // Remove close parenthesis
s = strings.Replace(s, "/", "", -1) // Remove forward slashes
s = strings.ToLower(s)
return s
} | [
-0.17619481682777405,
-0.8081350922584534,
0.729777455329895,
-0.6048722267150879,
-1.8775081634521484,
-0.2887623608112335,
0.029015004634857178,
-0.5829748511314392,
-0.16005802154541016,
0.8918762803077698,
-0.28703805804252625,
-0.68293297290802,
-0.05421776324510574,
0.080054312944412... |
func Remove(chart string, homedir string) {
chartPath := filepath.Join(homedir, WorkspaceChartPath, chart)
if _, err := os.Stat(chartPath); err != nil {
log.Die("Chart not found. %s", err)
}
if err := os.RemoveAll(chartPath); err != nil {
log.Die("%s", err)
}
log.Info("All clear! You have successfully remov... | [
0.5366841554641724,
-0.9294294118881226,
0.5104970932006836,
0.10447026789188385,
-0.639890193939209,
0.5678361654281616,
0.24816995859146118,
0.1650923639535904,
0.9216201901435852,
0.14934922754764557,
-0.3112555146217346,
0.6024252772331238,
-0.4124677777290344,
0.14725199341773987,
0... |
func (s *ParsingURLSuite) TestFileURLPartsWithIPEndpointStyle(c *chk.C) {
p := s.testFileURLPartsWithIPEndpointStyle(c, "https://105.232.1.23:80/accountname")
c.Assert(p.Host, chk.Equals, "105.232.1.23:80")
p = s.testFileURLPartsWithIPEndpointStyle(c, "http://105.232.1.23/accountname")
c.Assert(p.Host, chk.Equals,... | [
-0.1506376713514328,
-0.35571524500846863,
0.6792764663696289,
-0.11953724175691605,
0.556915819644928,
0.4456436038017273,
0.3395158648490906,
-0.04005252569913864,
0.14086031913757324,
-0.36104512214660645,
0.07490217685699463,
-0.2945006787776947,
-0.16573864221572876,
-0.26179549098014... |
func (s *ParsingURLSuite) TestFileURLPartsComposing(c *chk.C) {
p := azfile.FileURLParts{
Scheme: "http",
Host: "105.232.1.23:80",
ShareName: "sharename",
DirectoryOrFilePath: "dir/",
IPEndpointStyleInfo: azfile.IPEndpointStyleInfo{AccountName: "accountname"},
}
u := p... | [
-0.06358562409877777,
-0.9248757362365723,
0.7110825181007385,
-0.21597258746623993,
0.9229208827018738,
0.7124549150466919,
0.8402864933013916,
0.3489583432674408,
-0.26444435119628906,
-0.11633440852165222,
0.2874835133552551,
-0.6054641008377075,
-0.26062390208244324,
-0.165191948413848... |
func (s *ParsingURLSuite) TestFileURLPartsWithDomainHostname(c *chk.C) {
p := s.testFileURLPartsWithIPEndpointStyle(c, "https://accountName.blob.core.windows.net")
c.Assert(p.Host, chk.Equals, "accountName.blob.core.windows.net")
c.Assert(p.ShareName, chk.Equals, "")
c.Assert(p.DirectoryOrFilePath, chk.Equals, "")
... | [
0.478312611579895,
-0.7661752104759216,
0.7777202725410461,
0.11387007683515549,
0.554015576839447,
0.8120439648628235,
0.585302472114563,
0.2975962460041046,
-0.33180809020996094,
-0.2750300168991089,
0.00005566746767726727,
-0.17899945378303528,
-0.38528385758399963,
0.040919095277786255... |
func (s *ParsingURLSuite) TestFileURLPartsWithIPEndpointStyleNegative(c *chk.C) {
// invalid IP, should fallback to non-IP endpoint parsing, where accoutname will be regarded as share name.
p := s.testFileURLPartsWithIPEndpointStyle(c, "https://12303.232.1.23:80/accountname")
c.Assert(p.ShareName, chk.Equals, "accou... | [
-0.5141396522521973,
-0.31913474202156067,
0.4747084081172943,
0.7000635862350464,
0.26810112595558167,
0.925086498260498,
-0.3187370300292969,
0.04262208566069603,
-0.1592530608177185,
0.028134126216173172,
0.5137303471565247,
-0.7776463627815247,
-0.5419661402702332,
-0.5217847228050232,... |
func (s *ParsingURLSuite) TestFileURLPartsWithSnapshotAndSAS(c *chk.C) {
fsu := getFSU()
shareURL, shareName := getShareURL(c, fsu)
fileURL, fileName := getFileURLFromShare(c, shareURL)
currentTime := time.Now().UTC()
credential, accountName := getCredential()
sasQueryParams, err := azfile.AccountSASSignatureVal... | [
0.13308356702327728,
-0.6131685972213745,
0.691561758518219,
-0.3863438367843628,
-0.25802910327911377,
0.7472453117370605,
0.013653515838086605,
0.3528676927089691,
0.3458959758281708,
-0.4291590452194214,
0.1467137485742569,
-0.45757681131362915,
0.25743427872657776,
0.5069243311882019,
... |
func Register(qi inomap.QIno) *Entry {
t.Lock()
defer t.Unlock()
e := t.entries[qi]
if e == nil {
e = &Entry{}
t.entries[qi] = e
}
e.refCount++
return e
} | [
-0.1689920872449875,
0.06003975123167038,
0.19054968655109406,
-0.7943674921989441,
0.7842628359794617,
-0.2604060173034668,
-0.20507656037807465,
-0.5906181335449219,
-0.04879399389028549,
-1.0397696495056152,
-0.3194691836833954,
0.43593019247055054,
-0.49492207169532776,
0.2488758414983... |
func Unregister(qi inomap.QIno) {
t.Lock()
defer t.Unlock()
e := t.entries[qi]
e.refCount--
if e.refCount == 0 {
delete(t.entries, qi)
}
} | [
0.3572731018066406,
0.24904899299144745,
0.2585456073284149,
-1.2744306325912476,
0.787647545337677,
-0.23546276986598969,
0.6717528104782104,
0.5721044540405273,
-0.3425332307815552,
-0.7354811429977417,
-0.09401750564575195,
0.1925925612449646,
-0.5612493753433228,
0.9253692626953125,
... |
func WriteOpCount() uint64 {
return atomic.LoadUint64(&t.writeOpCount)
} | [
-1.085282564163208,
-0.12544599175453186,
0.543637752532959,
-0.344529390335083,
0.25591403245925903,
-0.37545496225357056,
1.1417607069015503,
0.3178844451904297,
-0.5556045770645142,
-0.4756103754043579,
-0.478836327791214,
-1.1944864988327026,
-0.26287078857421875,
-0.21618758141994476,... |
func CountOpenFiles() int {
t.Lock()
defer t.Unlock()
return len(t.entries)
} | [
-0.47716566920280457,
-0.575281023979187,
0.4388106167316437,
-0.7514036297798157,
-0.30029693245887756,
0.3031993508338928,
1.053572416305542,
0.992377519607544,
-1.056523323059082,
-0.13830684125423431,
-0.5865401029586792,
-0.4396134912967682,
-0.5350785851478577,
-0.11070328950881958,
... |
func (s RejectQualificationRequestInput) String() string {
return awsutil.Prettify(s)
} | [
-0.13126179575920105,
-0.10229186713695526,
0.034537263214588165,
-0.16691084206104279,
-0.9830353856086731,
1.7415485382080078,
-0.11025725305080414,
-0.17633149027824402,
-0.19422468543052673,
-0.1607530415058136,
0.4891679286956787,
0.49420714378356934,
-0.20909501612186432,
-0.65342217... |
func (s *RejectQualificationRequestInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "RejectQualificationRequestInput"}
if s.QualificationRequestId == nil {
invalidParams.Add(aws.NewErrParamRequired("QualificationRequestId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
retur... | [
-0.5200525522232056,
0.18430323898792267,
0.48307979106903076,
0.6309376955032349,
-0.6071150302886963,
1.1858093738555908,
-0.700194776058197,
0.5465348958969116,
-0.5492454171180725,
-0.10881981998682022,
1.0705760717391968,
-0.015988091006875038,
-1.0059707164764404,
0.41447532176971436... |
func (s RejectQualificationRequestOutput) String() string {
return awsutil.Prettify(s)
} | [
0.33208268880844116,
-0.41766494512557983,
0.050040796399116516,
-0.17887099087238312,
-1.2831542491912842,
1.031110167503357,
0.029340127483010292,
-0.25460827350616455,
-0.5413756370544434,
-0.3028106093406677,
0.5869401693344116,
0.36396968364715576,
0.12266126275062561,
-0.788809120655... |
func (r RejectQualificationRequestRequest) Send(ctx context.Context) (*RejectQualificationRequestResponse, error) {
r.Request.SetContext(ctx)
err := r.Request.Send()
if err != nil {
return nil, err
}
resp := &RejectQualificationRequestResponse{
RejectQualificationRequestOutput: r.Request.Data.(*RejectQualific... | [
-0.9807778596878052,
-0.03683250769972801,
0.3810372054576874,
0.4609006941318512,
-0.6557261943817139,
1.0298569202423096,
-0.7311385273933411,
0.043372634798288345,
-0.39968952536582947,
-0.12018629163503647,
-0.06072654202580452,
0.6795957088470459,
-0.36485177278518677,
-0.121976867318... |
func (r *RejectQualificationRequestResponse) SDKResponseMetdata() *aws.Response {
return r.response
} | [
-0.4509720504283905,
-0.003674142761155963,
0.3615734279155731,
-0.16681072115898132,
-0.8823919892311096,
1.2989461421966553,
-0.8384276032447815,
-0.10558600723743439,
0.35940349102020264,
-0.17723135650157928,
-0.08163589984178543,
-0.18625298142433167,
-0.35525283217430115,
-0.94865047... |
func ServeRest(cfgPath, env string) error {
app := fiber.New(fiber.Config{
DisableKeepalive: false,
})
if !config.GetViper().IsInited() {
config.Init(cfgPath, env)
}
err := app.Listen(":" + config.GetViper().App.Port)
if err != nil {
return err
}
repo := repository.NewPostgres()
svc := service.New(repo)... | [
0.14673513174057007,
0.14369460940361023,
0.7171246409416199,
0.43791109323501587,
0.9558449983596802,
0.1890135556459427,
-0.11846345663070679,
-0.36212363839149475,
-0.5743377804756165,
0.01819940283894539,
-0.23058506846427917,
0.04099651053547859,
-0.8989865779876709,
0.141551196575164... |
func (irq *InstanceRuntimeQuery) Where(ps ...predicate.InstanceRuntime) *InstanceRuntimeQuery {
irq.predicates = append(irq.predicates, ps...)
return irq
} | [
-0.5633124709129333,
-0.5751304030418396,
0.32625848054885864,
-0.26789289712905884,
-0.16638387739658356,
0.6778289675712585,
-0.13350524008274078,
0.44569844007492065,
-0.9691143035888672,
-0.07408586144447327,
0.19842082262039185,
1.1587413549423218,
-0.8328818082809448,
0.1831435114145... |
func (irq *InstanceRuntimeQuery) Limit(limit int) *InstanceRuntimeQuery {
irq.limit = &limit
return irq
} | [
-0.813788115978241,
0.12038411945104599,
0.2530885934829712,
-0.10777857154607773,
0.06233423948287964,
0.711233377456665,
0.6611095666885376,
0.5286158323287964,
0.3680740296840668,
-0.5739680528640747,
0.19494403898715973,
0.6470728516578674,
-1.4063639640808105,
0.04833303391933441,
-... |
func (irq *InstanceRuntimeQuery) Offset(offset int) *InstanceRuntimeQuery {
irq.offset = &offset
return irq
} | [
-0.5174181461334229,
-0.527895450592041,
0.11655916273593903,
-0.4023357033729553,
-0.9919946193695068,
1.767397403717041,
0.9490798115730286,
0.8933798670768738,
0.17902766168117523,
-0.32018277049064636,
-0.04469120875000954,
0.6157441139221191,
-0.7340499758720398,
0.820105254650116,
... |
func (irq *InstanceRuntimeQuery) Unique(unique bool) *InstanceRuntimeQuery {
irq.unique = &unique
return irq
} | [
-0.6177040338516235,
-0.16197332739830017,
0.19871382415294647,
-0.31855952739715576,
-0.14777404069900513,
1.0829944610595703,
1.013115406036377,
0.9633331298828125,
-0.12420376390218735,
-0.5399283766746521,
-0.35110345482826233,
1.2122573852539062,
-0.93192058801651,
0.47210693359375,
... |
func (irq *InstanceRuntimeQuery) Order(o ...OrderFunc) *InstanceRuntimeQuery {
irq.order = append(irq.order, o...)
return irq
} | [
-0.9434129595756531,
0.086846262216568,
0.33865058422088623,
0.7566632628440857,
0.5625402331352234,
0.3198280334472656,
-0.21234619617462158,
0.026519663631916046,
-0.2759963870048523,
-0.2215617448091507,
-0.38765180110931396,
0.4700801372528076,
-0.02607552520930767,
0.6858910322189331,... |
func (irq *InstanceRuntimeQuery) QueryInstance() *InstanceQuery {
query := &InstanceQuery{config: irq.config}
query.path = func(ctx context.Context) (fromU *sql.Selector, err error) {
if err := irq.prepareQuery(ctx); err != nil {
return nil, err
}
selector := irq.sqlQuery(ctx)
if err := selector.Err(); err... | [
-0.6836687922477722,
-0.3508125841617584,
0.41590559482574463,
-0.669346034526825,
-0.4278455078601837,
-0.17081387341022491,
0.48801544308662415,
0.5451638102531433,
-0.025629252195358276,
0.09020176529884338,
0.6428915858268738,
0.43625664710998535,
-0.566161036491394,
0.2066229432821273... |
func (irq *InstanceRuntimeQuery) QueryCaller() *InstanceQuery {
query := &InstanceQuery{config: irq.config}
query.path = func(ctx context.Context) (fromU *sql.Selector, err error) {
if err := irq.prepareQuery(ctx); err != nil {
return nil, err
}
selector := irq.sqlQuery(ctx)
if err := selector.Err(); err !... | [
-0.4420959949493408,
-0.07741066813468933,
0.5466287136077881,
-0.1738394796848297,
-0.6985458731651306,
0.2666637599468231,
-0.14940305054187775,
-0.07648436725139618,
0.3707505166530609,
-0.009347314946353436,
0.5689271092414856,
0.01457434706389904,
-0.3001793324947357,
0.61095541715621... |
func (irq *InstanceRuntimeQuery) FirstX(ctx context.Context) *InstanceRuntime {
node, err := irq.First(ctx)
if err != nil && !IsNotFound(err) {
panic(err)
}
return node
} | [
0.13474003970623016,
0.6122651100158691,
0.34769493341445923,
-0.07390747964382172,
0.2943749725818634,
0.14797131717205048,
-0.7383774518966675,
-0.12106996774673462,
0.5555342435836792,
-0.3298264145851135,
0.6875621676445007,
0.5926657915115356,
-0.624593198299408,
0.5466793775558472,
... |
func (irq *InstanceRuntimeQuery) FirstIDX(ctx context.Context) uuid.UUID {
id, err := irq.FirstID(ctx)
if err != nil && !IsNotFound(err) {
panic(err)
}
return id
} | [
-0.10346619784832001,
-0.15313269197940826,
0.22411905229091644,
-0.23065362870693207,
-0.00309159723110497,
-0.16213718056678772,
-0.521710991859436,
-0.027790861204266548,
0.17956940829753876,
-0.49232491850852966,
0.3771972060203552,
0.20267517864704132,
-0.7247127890586853,
0.676448941... |
func (irq *InstanceRuntimeQuery) OnlyX(ctx context.Context) *InstanceRuntime {
node, err := irq.Only(ctx)
if err != nil {
panic(err)
}
return node
} | [
-0.5809812545776367,
0.988612949848175,
0.3709953725337982,
0.2960169017314911,
-0.5857021808624268,
0.7236970067024231,
-0.5207092761993408,
0.39094626903533936,
0.774346649646759,
0.020665880292654037,
0.7541505098342896,
0.9963135123252869,
-0.8245538473129272,
0.31996431946754456,
-0... |
func (irq *InstanceRuntimeQuery) OnlyIDX(ctx context.Context) uuid.UUID {
id, err := irq.OnlyID(ctx)
if err != nil {
panic(err)
}
return id
} | [
-0.7403332591056824,
0.09346967935562134,
0.26161032915115356,
-0.030057188123464584,
-0.713242769241333,
0.5757203102111816,
-0.5198419690132141,
0.6136383414268494,
0.7519533634185791,
-0.2734125852584839,
0.5985238552093506,
0.8329439163208008,
-1.333498477935791,
0.031103430315852165,
... |
func (irq *InstanceRuntimeQuery) All(ctx context.Context) ([]*InstanceRuntime, error) {
if err := irq.prepareQuery(ctx); err != nil {
return nil, err
}
return irq.sqlAll(ctx)
} | [
-0.40714773535728455,
-0.3186139464378357,
0.33430424332618713,
0.33487364649772644,
0.43373385071754456,
0.5570350885391235,
-0.8389332890510559,
0.4065682590007782,
-0.5379262566566467,
0.5319527387619019,
0.2570875287055969,
1.1508255004882812,
-0.57117760181427,
1.1323353052139282,
-... |
func (irq *InstanceRuntimeQuery) AllX(ctx context.Context) []*InstanceRuntime {
nodes, err := irq.All(ctx)
if err != nil {
panic(err)
}
return nodes
} | [
-0.6117368936538696,
0.7431800365447998,
0.22617049515247345,
0.4243737459182739,
-0.34917208552360535,
0.5205755233764648,
-1.135915756225586,
0.4582469165325165,
0.757451057434082,
0.3572255074977875,
0.6029624342918396,
1.2363855838775635,
-0.46387070417404175,
0.08846250921487808,
-0... |
func (irq *InstanceRuntimeQuery) IDs(ctx context.Context) ([]uuid.UUID, error) {
var ids []uuid.UUID
if err := irq.Select(instanceruntime.FieldID).Scan(ctx, &ids); err != nil {
return nil, err
}
return ids, nil
} | [
-1.5720484256744385,
0.15551413595676422,
0.18342474102973938,
-0.41620197892189026,
0.46727314591407776,
-0.23272892832756042,
-0.5410587787628174,
0.20232871174812317,
-0.13946004211902618,
0.2509428560733795,
0.23505356907844543,
0.6710023880004883,
-1.0204390287399292,
-0.2865211665630... |
func (irq *InstanceRuntimeQuery) IDsX(ctx context.Context) []uuid.UUID {
ids, err := irq.IDs(ctx)
if err != nil {
panic(err)
}
return ids
} | [
-1.3152942657470703,
0.29389676451683044,
0.1178775429725647,
0.08741563558578491,
-0.27435579895973206,
0.028388381004333496,
-1.343186378479004,
0.412813276052475,
0.583604633808136,
0.4846549332141876,
0.04332574084401131,
0.4913082718849182,
-0.7690613865852356,
-0.6404140591621399,
... |
func (irq *InstanceRuntimeQuery) Count(ctx context.Context) (int, error) {
if err := irq.prepareQuery(ctx); err != nil {
return 0, err
}
return irq.sqlCount(ctx)
} | [
-0.35328537225723267,
-0.026873115450143814,
0.6020851731300354,
-0.1916462481021881,
-0.23891834914684296,
-0.2142268866300583,
0.13766732811927795,
0.032722268253564835,
-0.9335857629776001,
0.4263438880443573,
0.14920872449874878,
0.21108970046043396,
-0.6629780530929565,
1.262684345245... |
func (irq *InstanceRuntimeQuery) CountX(ctx context.Context) int {
count, err := irq.Count(ctx)
if err != nil {
panic(err)
}
return count
} | [
-0.40659868717193604,
0.4177076518535614,
0.5373451709747314,
-0.02157294936478138,
-0.3543945550918579,
0.9231102466583252,
-0.4888932406902313,
0.25604894757270813,
-0.08001863211393356,
0.22154565155506134,
-0.30581530928611755,
0.40796902775764465,
-0.2919045388698578,
0.48892778158187... |
func (irq *InstanceRuntimeQuery) Exist(ctx context.Context) (bool, error) {
if err := irq.prepareQuery(ctx); err != nil {
return false, err
}
return irq.sqlExist(ctx)
} | [
-0.8510137796401978,
-0.12425808608531952,
0.6298396587371826,
-0.28005897998809814,
0.3389976918697357,
0.34329959750175476,
-0.2788495719432831,
0.2095966637134552,
-0.8681166768074036,
1.1891547441482544,
0.5932350158691406,
-0.5174297094345093,
-1.1452237367630005,
0.9592128992080688,
... |
func (irq *InstanceRuntimeQuery) ExistX(ctx context.Context) bool {
exist, err := irq.Exist(ctx)
if err != nil {
panic(err)
}
return exist
} | [
-0.9089459180831909,
0.4714829623699188,
0.668643057346344,
-0.3866944909095764,
0.1742568165063858,
1.3378386497497559,
-0.798787534236908,
0.31729811429977417,
-0.26247328519821167,
1.107066035270691,
-0.16094039380550385,
-0.019716443493962288,
-0.9411284327507019,
0.35463255643844604,
... |
func (irq *InstanceRuntimeQuery) Clone() *InstanceRuntimeQuery {
if irq == nil {
return nil
}
return &InstanceRuntimeQuery{
config: irq.config,
limit: irq.limit,
offset: irq.offset,
order: append([]OrderFunc{}, irq.order...),
predicates: append([]predicate.InstanceRuntime{}, i... | [
-0.1950017362833023,
-0.5496870875358582,
0.616295337677002,
0.22885052859783173,
-0.7204292416572571,
0.09655691683292389,
-0.20218510925769806,
-0.3788558542728424,
-0.02461734041571617,
0.1568325012922287,
0.3001326024532318,
0.5890822410583496,
-0.8951088786125183,
0.20223423838615417,... |
func (irq *InstanceRuntimeQuery) WithInstance(opts ...func(*InstanceQuery)) *InstanceRuntimeQuery {
query := &InstanceQuery{config: irq.config}
for _, opt := range opts {
opt(query)
}
irq.withInstance = query
return irq
} | [
-0.8196366429328918,
-0.22553928196430206,
0.2974007725715637,
-0.4598807692527771,
-0.605185866355896,
0.7627436518669128,
-0.3449639678001404,
0.4766731560230255,
-0.2433096319437027,
-0.17097125947475433,
0.5749849081039429,
0.729386568069458,
-1.765791893005371,
0.35245293378829956,
... |
func (irq *InstanceRuntimeQuery) WithCaller(opts ...func(*InstanceQuery)) *InstanceRuntimeQuery {
query := &InstanceQuery{config: irq.config}
for _, opt := range opts {
opt(query)
}
irq.withCaller = query
return irq
} | [
-0.6231922507286072,
-0.011431851424276829,
0.43195515871047974,
-0.0716310366988182,
-1.1423741579055786,
0.8439487218856812,
-0.4612498879432678,
-0.34065917134284973,
0.3891924023628235,
-0.8349183201789856,
0.5998573303222656,
0.01714317686855793,
-0.2315685749053955,
0.994250714778900... |
func (irgb *InstanceRuntimeGroupBy) Aggregate(fns ...AggregateFunc) *InstanceRuntimeGroupBy {
irgb.fns = append(irgb.fns, fns...)
return irgb
} | [
-1.2454228401184082,
0.7892950177192688,
0.42238420248031616,
0.47413206100463867,
1.1161019802093506,
-0.26973870396614075,
0.10362503677606583,
-0.12781868875026703,
-0.930935263633728,
-0.7770521640777588,
-0.30063170194625854,
0.7782201170921326,
-1.2167205810546875,
0.5326219797134399... |
func (irgb *InstanceRuntimeGroupBy) Scan(ctx context.Context, v interface{}) error {
query, err := irgb.path(ctx)
if err != nil {
return err
}
irgb.sql = query
return irgb.sqlScan(ctx, v)
} | [
-1.2859857082366943,
0.4447488784790039,
0.25437191128730774,
0.6406024098396301,
-0.5006267428398132,
-0.252979576587677,
0.6231953501701355,
-0.593654215335846,
-0.9723612666130066,
-0.02345815859735012,
0.3351883292198181,
0.7508560419082642,
-1.0900532007217407,
0.2019629329442978,
-... |
func (irgb *InstanceRuntimeGroupBy) ScanX(ctx context.Context, v interface{}) {
if err := irgb.Scan(ctx, v); err != nil {
panic(err)
}
} | [
-1.4274520874023438,
0.9378454685211182,
0.29524555802345276,
0.9551784992218018,
-0.956070601940155,
0.3176974952220917,
-0.546779990196228,
-0.8881324529647827,
0.36201712489128113,
0.2846783697605133,
-0.4048675000667572,
1.0371962785720825,
-1.0860834121704102,
0.3442479968070984,
-0... |
func (irgb *InstanceRuntimeGroupBy) Strings(ctx context.Context) ([]string, error) {
if len(irgb.fields) > 1 {
return nil, errors.New("ent: InstanceRuntimeGroupBy.Strings is not achievable when grouping more than 1 field")
}
var v []string
if err := irgb.Scan(ctx, &v); err != nil {
return nil, err
}
return v,... | [
-0.9895111322402954,
0.1524321585893631,
0.2342568337917328,
-0.38845694065093994,
0.5426135063171387,
0.37228670716285706,
0.43265843391418457,
-1.108349084854126,
-0.4615307152271271,
0.20440520346164703,
0.4587903618812561,
0.9403972029685974,
-1.581652283668518,
0.4610874652862549,
0... |
func (irgb *InstanceRuntimeGroupBy) StringsX(ctx context.Context) []string {
v, err := irgb.Strings(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.7184078693389893,
0.14900286495685577,
0.3573783338069916,
0.25847309827804565,
-0.3529110848903656,
0.8220065236091614,
-0.6519497632980347,
-1.1805589199066162,
0.004524657037109137,
0.7661454677581787,
0.39252808690071106,
1.4318875074386597,
-1.4163527488708496,
0.12177774310112,
... |
func (irgb *InstanceRuntimeGroupBy) String(ctx context.Context) (_ string, err error) {
var v []string
if v, err = irgb.Strings(ctx); err != nil {
return
}
switch len(v) {
case 1:
return v[0], nil
case 0:
err = &NotFoundError{instanceruntime.Label}
default:
err = fmt.Errorf("ent: InstanceRuntimeGroupBy.S... | [
-0.46603360772132874,
-0.4969608187675476,
0.2628880739212036,
-0.4486183822154999,
0.3949936032295227,
0.23024414479732513,
0.9282735586166382,
-1.1332300901412964,
-0.6723933815956116,
0.5277485251426697,
0.6526073217391968,
0.7464762926101685,
-1.0185935497283936,
-0.04160340502858162,
... |
func (irgb *InstanceRuntimeGroupBy) StringX(ctx context.Context) string {
v, err := irgb.String(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.7749424576759338,
0.00471824174746871,
0.31974491477012634,
0.3901156783103943,
-0.7972232699394226,
0.9218830466270447,
-0.34822380542755127,
-1.077512502670288,
-0.216286301612854,
0.7177402377128601,
0.15654821693897247,
1.1659562587738037,
-1.3746390342712402,
-0.3421134352684021,
... |
func (irgb *InstanceRuntimeGroupBy) Ints(ctx context.Context) ([]int, error) {
if len(irgb.fields) > 1 {
return nil, errors.New("ent: InstanceRuntimeGroupBy.Ints is not achievable when grouping more than 1 field")
}
var v []int
if err := irgb.Scan(ctx, &v); err != nil {
return nil, err
}
return v, nil
} | [
-1.2662262916564941,
0.49910464882850647,
0.4378088712692261,
-0.062491852790117264,
0.05125121772289276,
-0.3031332790851593,
0.30615726113319397,
-0.42114365100860596,
-0.6967427134513855,
-0.0008098651887848973,
0.3739011287689209,
1.1523823738098145,
-1.301256537437439,
0.0982879921793... |
func (irgb *InstanceRuntimeGroupBy) IntsX(ctx context.Context) []int {
v, err := irgb.Ints(ctx)
if err != nil {
panic(err)
}
return v
} | [
-1.0100908279418945,
0.9327438473701477,
0.2291712909936905,
0.3851577937602997,
-0.3650059401988983,
0.004631309770047665,
-0.5051506757736206,
-0.2265300452709198,
-0.19510217010974884,
0.2784026563167572,
-0.11619041115045547,
0.7309349179267883,
-1.2832828760147095,
-0.2592504322528839... |
func (irgb *InstanceRuntimeGroupBy) Int(ctx context.Context) (_ int, err error) {
var v []int
if v, err = irgb.Ints(ctx); err != nil {
return
}
switch len(v) {
case 1:
return v[0], nil
case 0:
err = &NotFoundError{instanceruntime.Label}
default:
err = fmt.Errorf("ent: InstanceRuntimeGroupBy.Ints returned... | [
-0.7414238452911377,
0.30157747864723206,
0.4123656749725342,
-0.6724212169647217,
0.32023486495018005,
-0.0020809208508580923,
0.5321530699729919,
-0.5758748054504395,
-1.3828856945037842,
0.3549533784389496,
0.7234348058700562,
0.5621264576911926,
-0.6429424285888672,
0.47449779510498047... |
func (irgb *InstanceRuntimeGroupBy) IntX(ctx context.Context) int {
v, err := irgb.Int(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.5837042331695557,
0.8398226499557495,
0.38427239656448364,
-0.000194220629055053,
-0.5140863656997681,
0.5201416611671448,
-0.054650478065013885,
-0.23844408988952637,
-0.6056341528892517,
0.017753349617123604,
0.18542638421058655,
0.8221886157989502,
-1.2846821546554565,
-0.10626658797... |
func (irgb *InstanceRuntimeGroupBy) Float64s(ctx context.Context) ([]float64, error) {
if len(irgb.fields) > 1 {
return nil, errors.New("ent: InstanceRuntimeGroupBy.Float64s is not achievable when grouping more than 1 field")
}
var v []float64
if err := irgb.Scan(ctx, &v); err != nil {
return nil, err
}
retur... | [
-1.0623151063919067,
0.48573625087738037,
0.2906937599182129,
0.20227064192295074,
0.37579071521759033,
-0.5421102643013,
0.16776400804519653,
-0.7176750302314758,
-0.3495185971260071,
0.059126198291778564,
0.2700245976448059,
1.003701090812683,
-1.2397818565368652,
0.8667482733726501,
-... |
func (irgb *InstanceRuntimeGroupBy) Float64sX(ctx context.Context) []float64 {
v, err := irgb.Float64s(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.7294882535934448,
0.46915897727012634,
0.021839814260601997,
0.8431058526039124,
-0.21560192108154297,
-0.3888329565525055,
-0.8086456060409546,
-0.40529775619506836,
-0.0459752157330513,
0.16107554733753204,
-0.044230520725250244,
0.40625128149986267,
-1.0062437057495117,
0.34851109981... |
func (irgb *InstanceRuntimeGroupBy) Float64(ctx context.Context) (_ float64, err error) {
var v []float64
if v, err = irgb.Float64s(ctx); err != nil {
return
}
switch len(v) {
case 1:
return v[0], nil
case 0:
err = &NotFoundError{instanceruntime.Label}
default:
err = fmt.Errorf("ent: InstanceRuntimeGroup... | [
-0.9668330550193787,
0.3023194372653961,
0.3416292071342468,
0.550383985042572,
0.9473348259925842,
-0.5567705631256104,
0.7372094988822937,
-0.5516441464424133,
-0.5372546911239624,
-0.02052995376288891,
0.923336386680603,
0.3247239291667938,
-1.055688500404358,
1.1034269332885742,
-0.1... |
func (irgb *InstanceRuntimeGroupBy) Float64X(ctx context.Context) float64 {
v, err := irgb.Float64(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.6878780722618103,
0.5512259602546692,
0.08747029304504395,
0.6003919243812561,
-0.34285345673561096,
0.03372245654463768,
-0.12732715904712677,
-0.6064306497573853,
-0.4268915355205536,
-0.1832660436630249,
0.10998696833848953,
0.1453804224729538,
-1.0311967134475708,
0.5749135613441467... |
func (irgb *InstanceRuntimeGroupBy) Bools(ctx context.Context) ([]bool, error) {
if len(irgb.fields) > 1 {
return nil, errors.New("ent: InstanceRuntimeGroupBy.Bools is not achievable when grouping more than 1 field")
}
var v []bool
if err := irgb.Scan(ctx, &v); err != nil {
return nil, err
}
return v, nil
} | [
-1.2704414129257202,
0.7319645285606384,
0.5182043313980103,
-0.14500737190246582,
0.5618188977241516,
0.2690593898296356,
0.14203773438930511,
-0.11653868854045868,
-1.0573259592056274,
0.16478590667247772,
0.45670199394226074,
0.8559116125106812,
-0.7959944009780884,
0.000285754707874730... |
func (irgb *InstanceRuntimeGroupBy) BoolsX(ctx context.Context) []bool {
v, err := irgb.Bools(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.7264809608459473,
0.48315557837486267,
0.4604254961013794,
0.4842833876609802,
-0.6409316658973694,
0.35646629333496094,
-0.8327786922454834,
-0.2747759521007538,
-0.6593083739280701,
0.6166723370552063,
-0.19034767150878906,
0.7518683075904846,
-0.508185863494873,
-0.23137877881526947,... |
func (irgb *InstanceRuntimeGroupBy) Bool(ctx context.Context) (_ bool, err error) {
var v []bool
if v, err = irgb.Bools(ctx); err != nil {
return
}
switch len(v) {
case 1:
return v[0], nil
case 0:
err = &NotFoundError{instanceruntime.Label}
default:
err = fmt.Errorf("ent: InstanceRuntimeGroupBy.Bools ret... | [
-0.7386333346366882,
0.29599088430404663,
0.5967355370521545,
0.18361763656139374,
0.7340722680091858,
0.44553491473197937,
0.7869706153869629,
0.35102418065071106,
-0.9512360095977783,
0.474214643239975,
0.4195261597633362,
0.4807609021663666,
-0.4402753710746765,
-0.028466135263442993,
... |
func (irgb *InstanceRuntimeGroupBy) BoolX(ctx context.Context) bool {
v, err := irgb.Bool(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.37109124660491943,
0.4400886297225952,
0.505000114440918,
0.16192172467708588,
-0.4984567165374756,
1.1286814212799072,
-0.29637908935546875,
0.09074638038873672,
-0.6373165845870972,
0.49923211336135864,
-0.35220709443092346,
0.5948511958122253,
-0.703159749507904,
-0.5386771559715271,... |
func (irs *InstanceRuntimeSelect) Scan(ctx context.Context, v interface{}) error {
if err := irs.prepareQuery(ctx); err != nil {
return err
}
irs.sql = irs.InstanceRuntimeQuery.sqlQuery(ctx)
return irs.sqlScan(ctx, v)
} | [
-1.3439263105392456,
0.21245123445987701,
0.3022080361843109,
-0.0669933632016182,
-0.2623790204524994,
-0.3270086348056793,
0.10460396856069565,
-0.42267918586730957,
0.009647044353187084,
-0.10447966307401657,
0.4667278826236725,
1.0591622591018677,
-0.52150958776474,
0.01249144412577152... |
func (irs *InstanceRuntimeSelect) ScanX(ctx context.Context, v interface{}) {
if err := irs.Scan(ctx, v); err != nil {
panic(err)
}
} | [
-1.2999143600463867,
0.5504928827285767,
0.2093476504087448,
0.43930527567863464,
-0.3945465087890625,
0.48577526211738586,
-0.5965141654014587,
-0.8730806708335876,
0.9766630530357361,
0.21848471462726593,
-0.22323985397815704,
1.3553885221481323,
-0.6331086158752441,
0.039314575493335724... |
func (irs *InstanceRuntimeSelect) Strings(ctx context.Context) ([]string, error) {
if len(irs.fields) > 1 {
return nil, errors.New("ent: InstanceRuntimeSelect.Strings is not achievable when selecting more than 1 field")
}
var v []string
if err := irs.Scan(ctx, &v); err != nil {
return nil, err
}
return v, nil... | [
-1.141715407371521,
0.03231140226125717,
0.18879742920398712,
-0.7720403075218201,
0.9071078300476074,
0.322540819644928,
0.09392672032117844,
-1.1316394805908203,
0.22008082270622253,
0.28788501024246216,
0.5033390522003174,
1.0397849082946777,
-1.2987245321273804,
0.24030621349811554,
... |
func (irs *InstanceRuntimeSelect) StringsX(ctx context.Context) []string {
v, err := irs.Strings(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.7104157209396362,
-0.15959414839744568,
0.2361098825931549,
-0.10812748223543167,
-0.010414013639092445,
0.7936569452285767,
-0.9082534909248352,
-1.4143829345703125,
0.7655243277549744,
0.8333521485328674,
0.5055506229400635,
1.648630976676941,
-1.0684040784835815,
-0.03793592005968094... |
func (irs *InstanceRuntimeSelect) String(ctx context.Context) (_ string, err error) {
var v []string
if v, err = irs.Strings(ctx); err != nil {
return
}
switch len(v) {
case 1:
return v[0], nil
case 0:
err = &NotFoundError{instanceruntime.Label}
default:
err = fmt.Errorf("ent: InstanceRuntimeSelect.Strin... | [
-0.744000256061554,
-0.6768767237663269,
0.2019127458333969,
-0.8302146196365356,
0.8078585267066956,
0.13709408044815063,
0.6143411993980408,
-1.2144535779953003,
0.11803659051656723,
0.427935928106308,
0.7329124808311462,
1.0439733266830444,
-0.7996484041213989,
-0.32617953419685364,
0... |
func (irs *InstanceRuntimeSelect) StringX(ctx context.Context) string {
v, err := irs.String(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.8793591856956482,
-0.42106500267982483,
0.22741928696632385,
-0.060770317912101746,
-0.428133100271225,
0.918440043926239,
-0.6206459999084473,
-1.2756025791168213,
0.7186537981033325,
0.6556936502456665,
0.3757175803184509,
1.5639050006866455,
-0.850941002368927,
-0.6606453657150269,
... |
func (irs *InstanceRuntimeSelect) Ints(ctx context.Context) ([]int, error) {
if len(irs.fields) > 1 {
return nil, errors.New("ent: InstanceRuntimeSelect.Ints is not achievable when selecting more than 1 field")
}
var v []int
if err := irs.Scan(ctx, &v); err != nil {
return nil, err
}
return v, nil
} | [
-1.3697584867477417,
0.20647720992565155,
0.34414854645729065,
-0.49796053767204285,
0.3827444314956665,
-0.3856494426727295,
-0.1463933289051056,
-0.6594827771186829,
-0.10963215678930283,
0.0932060182094574,
0.3188301622867584,
1.3013062477111816,
-1.0419944524765015,
-0.1697903722524643... |
func (irs *InstanceRuntimeSelect) IntsX(ctx context.Context) []int {
v, err := irs.Ints(ctx)
if err != nil {
panic(err)
}
return v
} | [
-1.0678099393844604,
0.5385233163833618,
0.19261305034160614,
-0.03804788738489151,
-0.27248263359069824,
-0.003779019694775343,
-0.901613712310791,
-0.5081518292427063,
0.4561695456504822,
0.380508154630661,
-0.13819590210914612,
0.9705866575241089,
-0.9602758288383484,
-0.549820542335510... |
func (irs *InstanceRuntimeSelect) Int(ctx context.Context) (_ int, err error) {
var v []int
if v, err = irs.Ints(ctx); err != nil {
return
}
switch len(v) {
case 1:
return v[0], nil
case 0:
err = &NotFoundError{instanceruntime.Label}
default:
err = fmt.Errorf("ent: InstanceRuntimeSelect.Ints returned %d ... | [
-1.0997791290283203,
0.02068612538278103,
0.27060970664024353,
-1.0124268531799316,
0.5630101561546326,
-0.19851666688919067,
0.19805748760700226,
-0.7404316067695618,
-0.6339873671531677,
0.3434262275695801,
0.6477054953575134,
0.8516711592674255,
-0.3879449665546417,
0.13313069939613342,... |
func (irs *InstanceRuntimeSelect) IntX(ctx context.Context) int {
v, err := irs.Int(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.605955958366394,
0.28487086296081543,
0.27017322182655334,
-0.49900609254837036,
-0.23140229284763336,
0.5329136252403259,
-0.3487396836280823,
-0.44023314118385315,
0.22364988923072815,
0.05025582015514374,
0.3206878900527954,
1.0945409536361694,
-0.8672196865081787,
-0.465304642915725... |
func (irs *InstanceRuntimeSelect) Float64s(ctx context.Context) ([]float64, error) {
if len(irs.fields) > 1 {
return nil, errors.New("ent: InstanceRuntimeSelect.Float64s is not achievable when selecting more than 1 field")
}
var v []float64
if err := irs.Scan(ctx, &v); err != nil {
return nil, err
}
return v,... | [
-1.1510754823684692,
0.23730596899986267,
0.31304460763931274,
-0.11417407542467117,
0.5586354732513428,
-0.6262744069099426,
-0.17089858651161194,
-0.8522791862487793,
0.1754411906003952,
0.09146929532289505,
0.1914672553539276,
1.2592716217041016,
-0.9424111247062683,
0.5049121379852295,... |
func (irs *InstanceRuntimeSelect) Float64sX(ctx context.Context) []float64 {
v, err := irs.Float64s(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.6422895789146423,
0.2553229331970215,
0.024020452052354813,
0.6000931262969971,
-0.09578589349985123,
-0.5173426866531372,
-1.051101565361023,
-0.5001490116119385,
0.4865802228450775,
0.17980843782424927,
-0.0684087872505188,
0.7272589802742004,
-0.7826203107833862,
0.10641451925039291,... |
func (irs *InstanceRuntimeSelect) Float64(ctx context.Context) (_ float64, err error) {
var v []float64
if v, err = irs.Float64s(ctx); err != nil {
return
}
switch len(v) {
case 1:
return v[0], nil
case 0:
err = &NotFoundError{instanceruntime.Label}
default:
err = fmt.Errorf("ent: InstanceRuntimeSelect.F... | [
-1.1464958190917969,
0.09996752440929413,
0.31686967611312866,
0.2347491830587387,
1.1919174194335938,
-0.85605788230896,
0.545085608959198,
-0.627545952796936,
0.09358521550893784,
-0.12008009105920792,
0.8360170125961304,
0.7172276973724365,
-0.7000745534896851,
0.643441915512085,
-0.0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.