text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func initConfig() {
if RootConfig.clusterID == "" {
log.Fatal("A cluster id must be provided.")
}
if RootConfig.internal {
RootConfig.config = insideCluster()
} else {
RootConfig.config = outsideCluster()
}
} | [
-0.26657363772392273,
0.2408372461795807,
0.42941585183143616,
1.4294300079345703,
0.5155680179595947,
-0.09841904044151306,
-0.4389396905899048,
1.1196731328964233,
-0.5756615400314331,
-0.04539821669459343,
-0.04226859286427498,
0.9060747027397156,
-0.4500662684440613,
1.9477084875106812... |
func (r CreateProjectRequest) Send() (*CreateProjectOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*CreateProjectOutput), nil
} | [
-0.684249222278595,
0.3882755637168884,
0.005725923925638199,
0.5476366281509399,
0.1481841504573822,
0.16922041773796082,
-0.44727346301078796,
-1.4357661008834839,
-0.550846517086029,
-0.009998571127653122,
0.1850602626800537,
-0.0030240355990827084,
-1.0928300619125366,
0.14790563285350... |
func (r DeleteProjectRequest) Send() (*DeleteProjectOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*DeleteProjectOutput), nil
} | [
-0.7496042251586914,
0.2785581648349762,
0.1166982501745224,
0.7208718061447144,
-0.026260310783982277,
-0.3200819194316864,
-0.4385043680667877,
-1.1171261072158813,
-0.005118098575621843,
-0.08892478048801422,
0.5006628632545471,
0.33223652839660645,
-0.9235057830810547,
0.27570274472236... |
func (r DescribeBundleRequest) Send() (*DescribeBundleOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*DescribeBundleOutput), nil
} | [
-0.2943004369735718,
0.7201286554336548,
0.3508132994174957,
0.34759020805358887,
-0.0976080447435379,
-0.023100443184375763,
-0.1757562756538391,
-1.1585735082626343,
-1.077966570854187,
0.26477450132369995,
0.5998213291168213,
0.677142858505249,
-0.9007712006568909,
0.9633604884147644,
... |
func (r DescribeProjectRequest) Send() (*DescribeProjectOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*DescribeProjectOutput), nil
} | [
-0.5808007717132568,
0.9178149104118347,
0.2004440426826477,
0.48045653104782104,
0.03307268023490906,
0.2142036259174347,
-0.32032710313796997,
-1.2348206043243408,
-0.32818591594696045,
0.08412764966487885,
0.5807170271873474,
0.7240729928016663,
-1.0639508962631226,
0.33094656467437744,... |
func (r ExportBundleRequest) Send() (*ExportBundleOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*ExportBundleOutput), nil
} | [
-0.5977334380149841,
0.261005163192749,
0.3613560199737549,
0.741372287273407,
-0.38742923736572266,
-0.4116586446762085,
-0.16691921651363373,
-1.2182729244232178,
-0.6728414297103882,
0.3463875949382782,
0.3521556556224823,
-0.0016436715377494693,
-0.5451494455337524,
0.5409064292907715,... |
func (r ExportProjectRequest) Send() (*ExportProjectOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*ExportProjectOutput), nil
} | [
-0.6888090372085571,
0.4847092628479004,
0.20675460994243622,
0.7743273973464966,
-0.314352422952652,
-0.19293463230133057,
-0.3415456712245941,
-1.2193657159805298,
0.0014653932303190231,
0.34709885716438293,
0.3106691539287567,
0.19959771633148193,
-0.7232624292373657,
-0.142743423581123... |
func (r ListBundlesRequest) Send() (*ListBundlesOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*ListBundlesOutput), nil
} | [
-0.24714867770671844,
0.10081670433282852,
0.33159351348876953,
0.636233925819397,
0.2164219617843628,
-0.3129239082336426,
-0.5413821935653687,
-1.2962628602981567,
-0.13362127542495728,
0.135372132062912,
0.17059147357940674,
0.09340114891529083,
-0.34702268242836,
0.6999286413192749,
... |
func (r ListProjectsRequest) Send() (*ListProjectsOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*ListProjectsOutput), nil
} | [
-0.6668251156806946,
0.12649160623550415,
0.21889454126358032,
0.026761909946799278,
0.0704796090722084,
-0.20911957323551178,
-0.645186722278595,
-1.1853524446487427,
0.6634525656700134,
0.040433041751384735,
-0.517670750617981,
0.24509930610656738,
-0.22250859439373016,
0.087065301835536... |
func (r UpdateProjectRequest) Send() (*UpdateProjectOutput, error) {
err := r.Request.Send()
if err != nil {
return nil, err
}
return r.Request.Data.(*UpdateProjectOutput), nil
} | [
-1.072468876838684,
-0.078425332903862,
0.16869845986366272,
0.7767626047134399,
-0.36611899733543396,
0.02406175248324871,
-0.3213810920715332,
-1.144732117652893,
-0.3690672218799591,
0.3296166658401489,
0.23679141700267792,
0.1893993616104126,
-0.9410449266433716,
0.03689756616950035,
... |
func (s BundleDetails) String() string {
return awsutil.Prettify(s)
} | [
1.0006771087646484,
-0.2957475781440735,
0.10722304880619049,
-0.951232373714447,
-0.4178661108016968,
0.6780009269714355,
0.21041332185268402,
-0.8041861653327942,
-0.21731498837471008,
-0.15470822155475616,
0.5595218539237976,
0.8210813999176025,
0.7692024111747742,
0.04159624129533768,
... |
func (s BundleDetails) GoString() string {
return s.String()
} | [
0.3154241442680359,
0.016222575679421425,
0.18570570647716522,
-0.6305925250053406,
0.26759520173072815,
0.5281120538711548,
0.3840970993041992,
-0.2945282459259033,
-0.45223939418792725,
0.5015904307365417,
0.21757273375988007,
0.08813205361366272,
-0.24719342589378357,
-0.250022292137146... |
func (s BundleDetails) MarshalFields(e protocol.FieldEncoder) error {
if len(s.AvailablePlatforms) > 0 {
v := s.AvailablePlatforms
metadata := protocol.Metadata{}
ls0 := e.List(protocol.BodyTarget, "availablePlatforms", metadata)
ls0.Start()
for _, v1 := range v {
ls0.ListAddValue(protocol.QuotedValue{Va... | [
-0.002954311203211546,
0.09291531145572662,
0.44393783807754517,
-0.9488340616226196,
0.3852280378341675,
0.39280733466148376,
-0.13814857602119446,
0.3877232074737549,
-0.27173489332199097,
-0.03162994980812073,
-0.5379586219787598,
0.6071659326553345,
-0.2881074547767639,
0.3840007185935... |
func (s CreateProjectInput) String() string {
return awsutil.Prettify(s)
} | [
0.36683377623558044,
0.3546753525733948,
0.007513736374676228,
-0.4987843334674835,
-0.3367583453655243,
1.7072021961212158,
0.49057626724243164,
-1.1327813863754272,
-0.6020364761352539,
-0.10574402660131454,
0.33982953429222107,
0.8359206318855286,
-0.4317108988761902,
-0.480789601802825... |
func (s CreateProjectInput) GoString() string {
return s.String()
} | [
0.061398446559906006,
0.7899394035339355,
0.10642014443874359,
-0.23517188429832458,
0.3294968008995056,
1.7665666341781616,
0.4962145984172821,
-0.7187535166740417,
-0.8383867144584656,
0.13787530362606049,
0.0716017410159111,
0.15925753116607666,
-1.017695665359497,
-0.5188538432121277,
... |
func (s CreateProjectInput) MarshalFields(e protocol.FieldEncoder) error {
if s.Contents != nil {
v := s.Contents
metadata := protocol.Metadata{}
e.SetStream(protocol.PayloadTarget, "contents", protocol.BytesStream(v), metadata)
}
if s.Name != nil {
v := *s.Name
metadata := protocol.Metadata{}
e.SetVa... | [
0.13199283182621002,
0.6133099794387817,
0.24726149439811707,
-1.2282202243804932,
0.20633012056350708,
0.9268239736557007,
-0.38759517669677734,
-0.10952267795801163,
-0.2571781873703003,
-0.13251107931137085,
-0.23040014505386353,
-0.09029048681259155,
-0.7783204317092896,
-0.09914815425... |
func (s CreateProjectOutput) String() string {
return awsutil.Prettify(s)
} | [
0.9062333106994629,
-0.1328270435333252,
0.005814186297357082,
-0.4352559447288513,
-0.5581732988357544,
0.9737610816955566,
0.5279913544654846,
-1.1493546962738037,
-0.9403735399246216,
-0.27706342935562134,
0.569462776184082,
0.4654722511768341,
-0.029079359024763107,
-0.5434391498565674... |
func (s CreateProjectOutput) GoString() string {
return s.String()
} | [
0.3687545657157898,
0.2914799451828003,
0.09647500514984131,
-0.2518637776374817,
0.11491088569164276,
1.128145694732666,
0.49730271100997925,
-0.7979626059532166,
-1.137747049331665,
0.07745237648487091,
0.2710675895214081,
-0.09722475707530975,
-0.6608840823173523,
-0.648382842540741,
... |
func (s CreateProjectOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
0.13630977272987366,
-0.12334118783473969,
0.10925699770450592,
-0.03227241709828377,
0.38644278049468994,
0.602243959903717,
-0.19512613117694855,
-0.7835390567779541,
0.5659034252166748,
0.17906253039836884,
-0.5485507249832153,
-0.7274888157844543,
0.04993744194507599,
-1.17306828498840... |
func (s CreateProjectOutput) MarshalFields(e protocol.FieldEncoder) error {
if s.Details != nil {
v := s.Details
metadata := protocol.Metadata{}
e.SetFields(protocol.BodyTarget, "details", v, metadata)
}
return nil
} | [
0.6155726313591003,
1.0896656513214111,
-0.02484429068863392,
-0.8560656905174255,
0.7527715563774109,
1.0993093252182007,
-0.015506193973124027,
0.2523729205131531,
-0.057819269597530365,
-0.21842719614505768,
-0.15223799645900726,
-0.03643959015607834,
-0.8422194719314575,
0.044310443103... |
func (s DeleteProjectInput) String() string {
return awsutil.Prettify(s)
} | [
0.4956008493900299,
0.137159526348114,
0.15208357572555542,
-0.413871705532074,
-0.600039541721344,
1.1382155418395996,
0.37921038269996643,
-0.721984326839447,
0.08793533593416214,
-0.12069863080978394,
0.7405862212181091,
1.0065348148345947,
-0.2528078258037567,
-0.5000568628311157,
0.... |
func (s DeleteProjectInput) GoString() string {
return s.String()
} | [
0.020370520651340485,
0.6909817457199097,
0.30810168385505676,
-0.150922492146492,
0.05478870868682861,
1.236640453338623,
0.38322997093200684,
-0.3077477812767029,
-0.4403636157512665,
0.3412782847881317,
0.3439604938030243,
0.4409762918949127,
-0.9767813086509705,
-0.3440629541873932,
... |
func (s *DeleteProjectInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "DeleteProjectInput"}
if s.ProjectId == nil {
invalidParams.Add(aws.NewErrParamRequired("ProjectId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
} | [
-0.13869787752628326,
0.7871725559234619,
0.42537471652030945,
0.3493802547454834,
-0.06554115563631058,
0.6822906732559204,
-0.23134908080101013,
0.03636213019490242,
0.13631586730480194,
0.12311109900474548,
1.32492995262146,
0.036278676241636276,
-1.060916543006897,
1.0333534479141235,
... |
func (s DeleteProjectInput) MarshalFields(e protocol.FieldEncoder) error {
e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/x-amz-json-1.1"), protocol.Metadata{})
if s.ProjectId != nil {
v := *s.ProjectId
metadata := protocol.Metadata{}
e.SetValue(protocol.PathTarget, "proje... | [
0.5750719308853149,
0.9284108877182007,
0.209360733628273,
-0.5835011601448059,
0.053606949746608734,
0.7862968444824219,
-0.23136480152606964,
0.22871033847332,
0.44435063004493713,
0.08731140196323395,
0.3119305968284607,
0.23357482254505157,
-0.8275175094604492,
-0.019442299380898476,
... |
func (s DeleteProjectOutput) String() string {
return awsutil.Prettify(s)
} | [
1.0543876886367798,
-0.3293943703174591,
0.11580600589513779,
-0.3714279234409332,
-0.8498393297195435,
0.38260650634765625,
0.4067717492580414,
-0.720748782157898,
-0.2951343059539795,
-0.24705785512924194,
0.9652764797210693,
0.6315693259239197,
0.1497052013874054,
-0.5818604826927185,
... |
func (s DeleteProjectOutput) GoString() string {
return s.String()
} | [
0.3680226802825928,
0.22224561870098114,
0.26468268036842346,
-0.23889021575450897,
-0.11208755522966385,
0.6352477669715881,
0.3554183840751648,
-0.38049936294555664,
-0.779353141784668,
0.3715863823890686,
0.5510630011558533,
0.25050264596939087,
-0.6521990895271301,
-0.5219993591308594,... |
func (s DeleteProjectOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
0.1729799062013626,
-0.45132696628570557,
0.23194099962711334,
0.03638625890016556,
0.038489971309900284,
0.1689460426568985,
-0.19131387770175934,
-0.455333411693573,
0.9292659759521484,
0.0881526917219162,
-0.00517894234508276,
-0.5261232256889343,
0.15142838656902313,
-1.126399755477905... |
func (s DeleteProjectOutput) MarshalFields(e protocol.FieldEncoder) error {
if len(s.DeletedResources) > 0 {
v := s.DeletedResources
metadata := protocol.Metadata{}
ls0 := e.List(protocol.BodyTarget, "deletedResources", metadata)
ls0.Start()
for _, v1 := range v {
ls0.ListAddFields(v1)
}
ls0.End()
... | [
0.597594678401947,
0.3266034722328186,
0.17454364895820618,
-0.8645203113555908,
0.08079392462968826,
0.2016197144985199,
0.3416490852832794,
0.4822404682636261,
0.32139191031455994,
-0.34587574005126953,
0.6690291166305542,
-0.09512694925069809,
-0.6025527119636536,
0.3100135922431946,
... |
func (s DescribeBundleInput) String() string {
return awsutil.Prettify(s)
} | [
0.973092257976532,
0.2738931179046631,
0.015014635398983955,
-0.3774944841861725,
-0.5475132465362549,
1.1700119972229004,
0.6677963137626648,
-0.8588569164276123,
-0.5760106444358826,
-0.10257706791162491,
0.5582656860351562,
1.1076568365097046,
0.033872880041599274,
0.0956759825348854,
... |
func (s DescribeBundleInput) GoString() string {
return s.String()
} | [
0.5058594942092896,
0.7008207440376282,
0.10085345804691315,
-0.09468229115009308,
0.17430002987384796,
0.9500986337661743,
0.8236634135246277,
-0.4695003926753998,
-0.9023588299751282,
0.1422218382358551,
0.43608558177948,
0.4395958483219147,
-0.7686212062835693,
-0.11377415806055069,
-... |
func (s *DescribeBundleInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "DescribeBundleInput"}
if s.BundleId == nil {
invalidParams.Add(aws.NewErrParamRequired("BundleId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
} | [
0.29830893874168396,
1.0942835807800293,
0.3948599398136139,
0.282014936208725,
-0.07889746129512787,
0.5073592066764832,
0.16109904646873474,
0.08520004153251648,
-0.6985207796096802,
0.2188076227903366,
1.144012212753296,
0.4689592123031616,
-0.8872243165969849,
1.254128098487854,
-0.2... |
func (s DescribeBundleInput) MarshalFields(e protocol.FieldEncoder) error {
e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/x-amz-json-1.1"), protocol.Metadata{})
if s.BundleId != nil {
v := *s.BundleId
metadata := protocol.Metadata{}
e.SetValue(protocol.PathTarget, "bundle... | [
0.32717564702033997,
0.7712826728820801,
0.2506512403488159,
-0.5280705690383911,
0.2381524294614792,
0.6813297867774963,
0.1452561318874359,
0.08758571743965149,
-0.20965461432933807,
0.23622256517410278,
-0.06551425904035568,
0.4501533806324005,
-0.6751143336296082,
0.3000657856464386,
... |
func (s DescribeBundleOutput) String() string {
return awsutil.Prettify(s)
} | [
1.4820500612258911,
-0.1264098733663559,
0.1442064493894577,
-0.4243065416812897,
-0.816555917263031,
0.3776600956916809,
0.8220841288566589,
-0.7438629269599915,
-1.0303561687469482,
-0.11522780358791351,
0.8501874804496765,
0.709450900554657,
0.33848726749420166,
-0.032858457416296005,
... |
func (s DescribeBundleOutput) GoString() string {
return s.String()
} | [
0.8686827421188354,
0.2293502539396286,
0.17933790385723114,
-0.30088064074516296,
0.004128779284656048,
0.36521273851394653,
0.8522233963012695,
-0.40323275327682495,
-1.3444995880126953,
0.19104325771331787,
0.6592695713043213,
0.16239520907402039,
-0.4922748804092407,
-0.230711907148361... |
func (s DescribeBundleOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
0.6034204959869385,
-0.2606765329837799,
0.287360817193985,
0.1054527536034584,
0.16210657358169556,
0.09654209762811661,
0.2103128880262375,
-0.5100725293159485,
0.16577421128749847,
0.2917472720146179,
-0.12467165291309357,
-0.33504146337509155,
0.3745678961277008,
-0.669999361038208,
... |
func (s DescribeBundleOutput) MarshalFields(e protocol.FieldEncoder) error {
if s.Details != nil {
v := s.Details
metadata := protocol.Metadata{}
e.SetFields(protocol.BodyTarget, "details", v, metadata)
}
return nil
} | [
0.6496081352233887,
1.0507781505584717,
0.11013111472129822,
-0.8724132180213928,
0.7217099666595459,
0.4917890727519989,
0.09605354815721512,
0.44102340936660767,
-0.18974177539348602,
-0.24565356969833374,
0.1817023903131485,
0.22812964022159576,
-0.6618573665618896,
0.42892760038375854,... |
func (s DescribeProjectInput) String() string {
return awsutil.Prettify(s)
} | [
0.8135177493095398,
0.7079712152481079,
0.05810273811221123,
-0.4728482961654663,
-0.513569176197052,
1.5029349327087402,
0.5721728801727295,
-0.9102694988250732,
-0.396353542804718,
-0.2672841250896454,
0.5645720362663269,
1.1951512098312378,
-0.3745790421962738,
-0.4174742102622986,
0.... |
func (s DescribeProjectInput) GoString() string {
return s.String()
} | [
0.29553091526031494,
1.000129222869873,
0.20858833193778992,
-0.35838040709495544,
0.19388139247894287,
1.4230291843414307,
0.6349718570709229,
-0.49032124876976013,
-0.7693588733673096,
0.08692437410354614,
0.336475670337677,
0.5411505699157715,
-1.0393099784851074,
-0.4691801965236664,
... |
func (s *DescribeProjectInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "DescribeProjectInput"}
if s.ProjectId == nil {
invalidParams.Add(aws.NewErrParamRequired("ProjectId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
} | [
0.1916562169790268,
1.5623725652694702,
0.4233272075653076,
0.15704767405986786,
0.08159494400024414,
0.9150152206420898,
-0.08084172010421753,
-0.14041143655776978,
-0.368655264377594,
0.32429227232933044,
1.2751778364181519,
0.5700268149375916,
-1.298440933227539,
1.078788161277771,
-0... |
func (s DescribeProjectInput) MarshalFields(e protocol.FieldEncoder) error {
e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/x-amz-json-1.1"), protocol.Metadata{})
if s.ProjectId != nil {
v := *s.ProjectId
metadata := protocol.Metadata{}
e.SetValue(protocol.QueryTarget, "pr... | [
0.32768329977989197,
0.9064633846282959,
0.2580033242702484,
-0.6442644596099854,
0.3113120198249817,
1.0127084255218506,
0.03301219642162323,
-0.06096133217215538,
-0.29232802987098694,
0.39022278785705566,
0.13195647299289703,
0.4906625747680664,
-0.8402922749519348,
0.06007610261440277,... |
func (s DescribeProjectOutput) String() string {
return awsutil.Prettify(s)
} | [
1.2335294485092163,
0.16417871415615082,
0.1118997186422348,
-0.37106868624687195,
-0.7518565654754639,
0.6981972455978394,
0.5959806442260742,
-0.8628023862838745,
-0.7611225247383118,
-0.3635789155960083,
0.8160162568092346,
0.7260667085647583,
0.08837377279996872,
-0.5040451288223267,
... |
func (s DescribeProjectOutput) GoString() string {
return s.String()
} | [
0.5688953399658203,
0.477034330368042,
0.24618910253047943,
-0.38027116656303406,
0.015244551002979279,
0.7643989324569702,
0.5942704677581787,
-0.5284405946731567,
-1.0965888500213623,
0.11196693778038025,
0.5389221906661987,
0.2525825500488281,
-0.6650042533874512,
-0.5917263031005859,
... |
func (s DescribeProjectOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
0.3447669744491577,
0.03484436869621277,
0.2536308467388153,
0.030743014067411423,
0.2559981644153595,
0.25019970536231995,
-0.11647611856460571,
-0.448047935962677,
0.6748130321502686,
0.2469637393951416,
-0.1433463841676712,
-0.18521273136138916,
-0.03857528045773506,
-1.1049039363861084... |
func (s DescribeProjectOutput) MarshalFields(e protocol.FieldEncoder) error {
if s.Details != nil {
v := s.Details
metadata := protocol.Metadata{}
e.SetFields(protocol.BodyTarget, "details", v, metadata)
}
return nil
} | [
0.5446198582649231,
1.352555513381958,
0.05753375589847565,
-0.890289306640625,
0.6676716208457947,
0.8017482161521912,
-0.12024220079183578,
0.36866962909698486,
-0.0206738468259573,
-0.220498189330101,
0.10138548910617828,
0.27707546949386597,
-0.8653911352157593,
0.07907143980264664,
... |
func (s ExportBundleInput) String() string {
return awsutil.Prettify(s)
} | [
0.36678725481033325,
-0.10871223360300064,
0.14188091456890106,
-0.2534542977809906,
-0.8915826082229614,
0.9887397885322571,
0.7523311972618103,
-0.9865707159042358,
-0.04760858789086342,
0.27333950996398926,
0.34741854667663574,
0.5645053386688232,
0.34421098232269287,
-0.121518574655056... |
func (s ExportBundleInput) GoString() string {
return s.String()
} | [
0.00013109264546073973,
0.32819312810897827,
0.18229277431964874,
0.08449388295412064,
-0.1341547966003418,
0.9452309012413025,
0.7593202590942383,
-0.5471168160438538,
-0.4154398739337921,
0.3789181113243103,
0.15095184743404388,
-0.04381968826055527,
-0.5094788670539856,
-0.4045915603637... |
func (s *ExportBundleInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "ExportBundleInput"}
if s.BundleId == nil {
invalidParams.Add(aws.NewErrParamRequired("BundleId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
} | [
-0.14387287199497223,
0.6211460828781128,
0.4804498255252838,
0.49991530179977417,
-0.3950764238834381,
0.20776735246181488,
0.16134411096572876,
0.016256995499134064,
-0.2433650940656662,
0.6814932227134705,
0.8129033446311951,
-0.2515008747577667,
-0.7039172053337097,
0.8824300169944763,... |
func (s ExportBundleInput) MarshalFields(e protocol.FieldEncoder) error {
e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/x-amz-json-1.1"), protocol.Metadata{})
if s.BundleId != nil {
v := *s.BundleId
metadata := protocol.Metadata{}
e.SetValue(protocol.PathTarget, "bundleId... | [
0.01930488646030426,
0.4095655083656311,
0.36759084463119507,
-0.42891839146614075,
0.07099945098161697,
0.6092877388000488,
0.1929950714111328,
0.2150472104549408,
-0.3482680916786194,
0.29824596643447876,
-0.06854657083749771,
0.05234939604997635,
-0.6213773488998413,
0.0880419909954071,... |
func (s ExportBundleOutput) String() string {
return awsutil.Prettify(s)
} | [
0.9720093011856079,
-0.4930388033390045,
0.20481304824352264,
-0.29559245705604553,
-1.2195708751678467,
0.30956220626831055,
0.858228862285614,
-0.8459581732749939,
-0.5316877365112305,
0.14963474869728088,
0.5689414739608765,
0.16338427364826202,
0.5382522344589233,
-0.36165064573287964,... |
func (s ExportBundleOutput) GoString() string {
return s.String()
} | [
0.44907647371292114,
-0.1482638120651245,
0.22534438967704773,
-0.09347759932279587,
-0.36166566610336304,
0.38927921652793884,
0.7654173374176025,
-0.5203967094421387,
-0.9052185416221619,
0.31517738103866577,
0.3809654116630554,
-0.29853856563568115,
-0.31050458550453186,
-0.635760545730... |
func (s ExportBundleOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
0.30632564425468445,
-0.5429202318191528,
0.2869689166545868,
0.24157103896141052,
-0.10575573891401291,
0.02890901453793049,
0.23353897035121918,
-0.7357168793678284,
0.6103502511978149,
0.3589881658554077,
-0.35218575596809387,
-0.8049688935279846,
0.7084158658981323,
-1.1105272769927979... |
func (s ExportBundleOutput) MarshalFields(e protocol.FieldEncoder) error {
if s.DownloadUrl != nil {
v := *s.DownloadUrl
metadata := protocol.Metadata{}
e.SetValue(protocol.BodyTarget, "downloadUrl", protocol.QuotedValue{ValueMarshaler: protocol.StringValue(v)}, metadata)
}
return nil
} | [
0.320608913898468,
0.6320833563804626,
0.13962210714817047,
-0.7052148580551147,
0.32934460043907166,
0.21509835124015808,
0.2788308262825012,
0.5383732914924622,
0.18329183757305145,
-0.15974891185760498,
0.025733983144164085,
-0.3594615161418915,
-0.4573932886123657,
0.10921922326087952,... |
func (s ExportProjectInput) String() string {
return awsutil.Prettify(s)
} | [
0.37627631425857544,
0.27223896980285645,
0.15981334447860718,
-0.30373305082321167,
-0.93089759349823,
1.2879106998443604,
0.5644578337669373,
-0.8908103108406067,
0.17524154484272003,
0.15735499560832977,
0.36543747782707214,
0.7849371433258057,
-0.10347773134708405,
-0.7566821575164795,... |
func (s ExportProjectInput) GoString() string {
return s.String()
} | [
-0.06059905141592026,
0.5604791641235352,
0.30281901359558105,
-0.16423028707504272,
-0.15359161794185638,
1.3526934385299683,
0.5428197383880615,
-0.5166844725608826,
-0.2654189467430115,
0.3024231791496277,
0.13635990023612976,
0.18740269541740417,
-0.7822901606559753,
-0.787859320640564... |
func (s *ExportProjectInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "ExportProjectInput"}
if s.ProjectId == nil {
invalidParams.Add(aws.NewErrParamRequired("ProjectId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
} | [
-0.08581142127513885,
0.981694221496582,
0.4975006580352783,
0.34378790855407715,
-0.3715727925300598,
0.7022320628166199,
-0.10588853806257248,
-0.1253538429737091,
-0.0046507916413247585,
0.7453605532646179,
0.9590737223625183,
0.030000662431120872,
-1.0449392795562744,
0.697774112224578... |
func (s ExportProjectInput) MarshalFields(e protocol.FieldEncoder) error {
e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/x-amz-json-1.1"), protocol.Metadata{})
if s.ProjectId != nil {
v := *s.ProjectId
metadata := protocol.Metadata{}
e.SetValue(protocol.PathTarget, "proje... | [
0.2514791786670685,
1.0519375801086426,
0.2257259637117386,
-0.520692765712738,
0.018247753381729126,
0.9023460745811462,
-0.05920641869306564,
0.01480537373572588,
0.26085564494132996,
0.4056134521961212,
-0.16065269708633423,
0.0802944228053093,
-0.8901248574256897,
-0.18623046576976776,... |
func (s ExportProjectOutput) String() string {
return awsutil.Prettify(s)
} | [
0.8426399827003479,
-0.23934853076934814,
0.16771596670150757,
-0.3245939612388611,
-1.1084625720977783,
0.5689177513122559,
0.5594741106033325,
-0.915576696395874,
-0.22427017986774445,
0.028550196439027786,
0.5254706144332886,
0.3169249892234802,
0.23023971915245056,
-0.9367482662200928,... |
func (s ExportProjectOutput) GoString() string {
return s.String()
} | [
0.24005119502544403,
0.043506842106580734,
0.3025178611278534,
-0.24969923496246338,
-0.32340267300605774,
0.7223832607269287,
0.4988479018211365,
-0.5995534658432007,
-0.6417003870010376,
0.3044135272502899,
0.32103729248046875,
-0.0873870849609375,
-0.5037150382995605,
-0.983195781707763... |
func (s ExportProjectOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
0.050160933285951614,
-0.37001484632492065,
0.2707521915435791,
0.06978312879800797,
-0.05111342668533325,
0.1310199648141861,
-0.12321271747350693,
-0.6926670670509338,
1.105918526649475,
0.3532126545906067,
-0.3742184340953827,
-0.6146763563156128,
0.3102450668811798,
-1.5124619007110596... |
func (s ExportProjectOutput) MarshalFields(e protocol.FieldEncoder) error {
if s.DownloadUrl != nil {
v := *s.DownloadUrl
metadata := protocol.Metadata{}
e.SetValue(protocol.BodyTarget, "downloadUrl", protocol.QuotedValue{ValueMarshaler: protocol.StringValue(v)}, metadata)
}
if s.ShareUrl != nil {
v := *s.S... | [
0.028700610622763634,
0.46217668056488037,
0.19798997044563293,
-0.9035314321517944,
0.12687134742736816,
0.5516587495803833,
-0.16484659910202026,
0.24489223957061768,
-0.08681587874889374,
-0.12419784814119339,
-0.07259658724069595,
-0.21979740262031555,
-0.521687388420105,
-0.0847304463... |
func (s ListBundlesInput) String() string {
return awsutil.Prettify(s)
} | [
0.6908262968063354,
-0.13150177896022797,
0.05819767713546753,
-0.16717973351478577,
-0.7006178498268127,
0.8846577405929565,
0.7711008787155151,
-0.9488868713378906,
0.1075732409954071,
-0.4592077136039734,
0.25032615661621094,
0.70354825258255,
0.3313448131084442,
0.08571537584066391,
... |
func (s ListBundlesInput) GoString() string {
return s.String()
} | [
0.20626482367515564,
0.39737963676452637,
0.11258690059185028,
0.10483141988515854,
0.004219949245452881,
0.8942408561706543,
0.6994975805282593,
-0.4246157109737396,
-0.3581339120864868,
-0.1604629009962082,
0.07758023589849472,
0.030837204307317734,
-0.6211533546447754,
-0.00210932898335... |
func (s ListBundlesInput) MarshalFields(e protocol.FieldEncoder) error {
e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/x-amz-json-1.1"), protocol.Metadata{})
if s.MaxResults != nil {
v := *s.MaxResults
metadata := protocol.Metadata{}
e.SetValue(protocol.QueryTarget, "maxR... | [
0.15354463458061218,
0.4865610897541046,
0.2697593569755554,
-0.6458238363265991,
0.05410909280180931,
0.1089359000325203,
0.030548743903636932,
0.021577516570687294,
-0.24308860301971436,
-0.3095589280128479,
-0.1644468903541565,
0.10446617007255554,
-0.4558291435241699,
0.197717726230621... |
func (s ListBundlesOutput) String() string {
return awsutil.Prettify(s)
} | [
1.2116516828536987,
-0.5497223138809204,
0.13291162252426147,
-0.1520167887210846,
-0.8750734329223633,
0.18956904113292694,
0.8219930529594421,
-0.9110429883003235,
-0.358540415763855,
-0.3793337941169739,
0.5699409246444702,
0.2667340636253357,
0.6339810490608215,
-0.14247773587703705,
... |
func (s ListBundlesOutput) GoString() string {
return s.String()
} | [
0.5916181802749634,
-0.11473610252141953,
0.14771968126296997,
-0.02488332986831665,
-0.10679751634597778,
0.23887895047664642,
0.7124145030975342,
-0.47826141119003296,
-0.7910329103469849,
-0.025106823071837425,
0.32995814085006714,
-0.21745815873146057,
-0.303239107131958,
-0.1988850831... |
func (s ListBundlesOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
0.5944088697433472,
-0.6225645542144775,
0.23265482485294342,
0.15789714455604553,
0.04835927113890648,
-0.04873984679579735,
0.11939263343811035,
-0.6401028633117676,
0.6887891292572021,
0.08163195848464966,
-0.4714775085449219,
-0.7659968733787537,
0.7269140481948853,
-0.7117455005645752... |
func (s ListBundlesOutput) MarshalFields(e protocol.FieldEncoder) error {
if len(s.BundleList) > 0 {
v := s.BundleList
metadata := protocol.Metadata{}
ls0 := e.List(protocol.BodyTarget, "bundleList", metadata)
ls0.Start()
for _, v1 := range v {
ls0.ListAddFields(v1)
}
ls0.End()
}
if s.NextToken !=... | [
0.17184898257255554,
0.612906277179718,
0.21679171919822693,
-0.5360374450683594,
-0.13188505172729492,
-0.20531633496284485,
0.2015855610370636,
0.34228771924972534,
-0.13412001729011536,
-0.024741562083363533,
-0.2996407747268677,
-0.021256331354379654,
-0.4488476812839508,
0.55162400007... |
func (s ListProjectsInput) String() string {
return awsutil.Prettify(s)
} | [
0.3702658414840698,
0.19151337444782257,
0.06776493787765503,
-0.6496753692626953,
-0.5041220188140869,
1.2690120935440063,
0.29151803255081177,
-1.229650855064392,
0.2894609570503235,
-0.6999538540840149,
-0.07940657436847687,
0.9777743816375732,
0.059454046189785004,
-0.2903284430503845,... |
func (s ListProjectsInput) GoString() string {
return s.String()
} | [
-0.13634619116783142,
0.6600357890129089,
0.140608549118042,
-0.32258641719818115,
0.14913856983184814,
1.3420627117156982,
0.2489122599363327,
-0.6579821705818176,
-0.24567890167236328,
-0.2214219570159912,
-0.24800321459770203,
0.19034242630004883,
-0.8894566297531128,
-0.330370783805847... |
func (s ListProjectsInput) MarshalFields(e protocol.FieldEncoder) error {
e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/x-amz-json-1.1"), protocol.Metadata{})
if s.MaxResults != nil {
v := *s.MaxResults
metadata := protocol.Metadata{}
e.SetValue(protocol.QueryTarget, "max... | [
-0.11359836906194687,
0.8395622372627258,
0.17431817948818207,
-1.0238016843795776,
-0.006050079595297575,
0.5081093907356262,
-0.39614060521125793,
-0.19376426935195923,
-0.004688883200287819,
-0.2827388048171997,
-0.4328884184360504,
0.1996602565050125,
-0.7463972568511963,
-0.2392961531... |
func (s ListProjectsOutput) String() string {
return awsutil.Prettify(s)
} | [
0.8931311964988708,
-0.31334394216537476,
0.08110423386096954,
-0.5303584933280945,
-0.7279872894287109,
0.5916574597358704,
0.632222056388855,
-1.0221397876739502,
0.05396924167871475,
-0.7990180850028992,
0.1822129637002945,
0.42164334654808044,
0.6008546948432922,
-0.48732078075408936,
... |
func (s ListProjectsOutput) GoString() string {
return s.String()
} | [
0.23896124958992004,
0.08613429963588715,
0.20305156707763672,
-0.3825524151325226,
-0.07769078016281128,
0.7664037942886353,
0.46006307005882263,
-0.6126561760902405,
-0.43206584453582764,
-0.26320838928222656,
-0.13025203347206116,
-0.22470490634441376,
-0.42469924688339233,
-0.480117112... |
func (s ListProjectsOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
0.2943964898586273,
-0.31547603011131287,
0.21133731305599213,
-0.23432570695877075,
0.07900776714086533,
0.19974111020565033,
-0.1998109370470047,
-0.6359939575195312,
1.2555534839630127,
0.006551944185048342,
-0.7776136994361877,
-0.6645568013191223,
0.5238419771194458,
-1.13504767417907... |
func (s ListProjectsOutput) MarshalFields(e protocol.FieldEncoder) error {
if s.NextToken != nil {
v := *s.NextToken
metadata := protocol.Metadata{}
e.SetValue(protocol.BodyTarget, "nextToken", protocol.QuotedValue{ValueMarshaler: protocol.StringValue(v)}, metadata)
}
if len(s.Projects) > 0 {
v := s.Project... | [
0.12215322256088257,
1.0655994415283203,
0.11038346588611603,
-0.9775610566139221,
-0.21506977081298828,
0.2863316535949707,
-0.21118156611919403,
-0.08066116273403168,
0.24598464369773865,
-0.23495781421661377,
-0.2309817671775818,
0.11082800477743149,
-0.6506456136703491,
-0.010691847652... |
func (s ProjectDetails) String() string {
return awsutil.Prettify(s)
} | [
1.064670443534851,
0.6431092619895935,
0.016001615673303604,
-0.7453363537788391,
-0.5515308380126953,
1.3923659324645996,
0.09280954301357269,
-0.8034090399742126,
-0.4393012523651123,
-0.6052647829055786,
0.6257287859916687,
0.7431063055992126,
0.33277034759521484,
-0.5010223388671875,
... |
func (s ProjectDetails) GoString() string {
return s.String()
} | [
0.4596956670284271,
0.7722625136375427,
0.14149069786071777,
-0.6865314245223999,
0.1993529200553894,
1.2662858963012695,
0.16293469071388245,
-0.3830762505531311,
-0.8364161252975464,
0.17364448308944702,
0.3459608554840088,
0.1644870489835739,
-0.48535123467445374,
-0.6950473785400391,
... |
func (s ProjectDetails) MarshalFields(e protocol.FieldEncoder) error {
if s.ConsoleUrl != nil {
v := *s.ConsoleUrl
metadata := protocol.Metadata{}
e.SetValue(protocol.BodyTarget, "consoleUrl", protocol.QuotedValue{ValueMarshaler: protocol.StringValue(v)}, metadata)
}
if s.CreatedDate != nil {
v := *s.Create... | [
0.10663285106420517,
0.4794689118862152,
0.5179764628410339,
-1.1822326183319092,
0.47961416840553284,
0.8395812511444092,
-0.30332955718040466,
-0.13434843719005585,
-0.2586075961589813,
-0.19182772934436798,
-0.34869882464408875,
0.4643760323524475,
-0.3078233003616333,
0.120837740600109... |
func (s ProjectSummary) String() string {
return awsutil.Prettify(s)
} | [
0.34176576137542725,
0.31222787499427795,
0.21991568803787231,
-0.7510477304458618,
-0.8982261419296265,
1.3851267099380493,
0.21233725547790527,
-0.5978316068649292,
-0.10606244206428528,
-0.07158215343952179,
0.6051775217056274,
0.7543941140174866,
0.49021482467651367,
-0.889441311359405... |
func (s ProjectSummary) GoString() string {
return s.String()
} | [
0.015824563801288605,
0.6822301745414734,
0.35792356729507446,
-0.7879871129989624,
-0.09423620253801346,
1.2634400129318237,
0.44277632236480713,
-0.35663604736328125,
-0.47773095965385437,
0.4369410574436188,
0.5534936189651489,
0.035255394876003265,
-0.24199840426445007,
-0.905262231826... |
func (s ProjectSummary) MarshalFields(e protocol.FieldEncoder) error {
if s.Name != nil {
v := *s.Name
metadata := protocol.Metadata{}
e.SetValue(protocol.BodyTarget, "name", protocol.QuotedValue{ValueMarshaler: protocol.StringValue(v)}, metadata)
}
if s.ProjectId != nil {
v := *s.ProjectId
metadata := p... | [
-0.09935703873634338,
0.9492430686950684,
0.26252466440200806,
-1.0459738969802856,
0.16390568017959595,
1.1667556762695312,
-0.2329244464635849,
0.4030040502548218,
0.05661102011799812,
0.2099381536245346,
-0.26807501912117004,
-0.04515013098716736,
-0.5252745747566223,
-0.161374628543853... |
func (s Resource) String() string {
return awsutil.Prettify(s)
} | [
0.5203200578689575,
-0.4544082581996918,
0.06878583133220673,
-0.9993857145309448,
-0.9613485336303711,
0.6320886611938477,
0.4349876046180725,
-0.5534998178482056,
0.09418661892414093,
-0.23343883454799652,
-0.021602308377623558,
0.7186846733093262,
0.9481956362724304,
-0.2516189813613891... |
func (s Resource) GoString() string {
return s.String()
} | [
-0.1484614908695221,
0.057311344891786575,
0.12086011469364166,
-0.7848930358886719,
-0.09988980740308762,
0.31269389390945435,
0.2629874348640442,
-0.2521759569644928,
-0.4151410758495331,
0.33843931555747986,
-0.19804926216602325,
-0.13223116099834442,
-0.1683407574892044,
-0.48080262541... |
func (s Resource) MarshalFields(e protocol.FieldEncoder) error {
if s.Arn != nil {
v := *s.Arn
metadata := protocol.Metadata{}
e.SetValue(protocol.BodyTarget, "arn", protocol.QuotedValue{ValueMarshaler: protocol.StringValue(v)}, metadata)
}
if len(s.Attributes) > 0 {
v := s.Attributes
metadata := protoco... | [
-0.2918970584869385,
-0.17000743746757507,
0.43160927295684814,
-1.179719090461731,
0.24260812997817993,
0.04492805525660515,
-0.43660902976989746,
0.18605193495750427,
-0.1440437138080597,
-0.27078378200531006,
-0.33825594186782837,
0.43163907527923584,
-0.10507194697856903,
0.04887862130... |
func (s UpdateProjectInput) String() string {
return awsutil.Prettify(s)
} | [
-0.030711039900779724,
-0.23258091509342194,
0.13947711884975433,
-0.4345358610153198,
-1.0590459108352661,
1.5799250602722168,
0.4353724718093872,
-0.7211412787437439,
-0.1888623833656311,
0.397849977016449,
0.42765870690345764,
0.7190362811088562,
-0.3479449152946472,
-0.6447824239730835... |
func (s UpdateProjectInput) GoString() string {
return s.String()
} | [
-0.4116699695587158,
0.3284885585308075,
0.22455623745918274,
-0.2107747197151184,
-0.30908524990081787,
1.4980286359786987,
0.4924258589744568,
-0.4401158094406128,
-0.6734949350357056,
0.6157018542289734,
0.11844652891159058,
0.13386592268943787,
-0.9640232920646667,
-0.5579594373703003,... |
func (s *UpdateProjectInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "UpdateProjectInput"}
if s.ProjectId == nil {
invalidParams.Add(aws.NewErrParamRequired("ProjectId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
} | [
-0.7293397188186646,
0.5805603861808777,
0.5066599249839783,
0.36229103803634644,
-0.5905295610427856,
0.9683706164360046,
-0.28051310777664185,
0.011210454627871513,
-0.3380233645439148,
0.8655773997306824,
1.072324514389038,
0.1239418089389801,
-1.3569667339324951,
0.8072661757469177,
... |
func (s UpdateProjectInput) MarshalFields(e protocol.FieldEncoder) error {
if s.Contents != nil {
v := s.Contents
metadata := protocol.Metadata{}
e.SetStream(protocol.PayloadTarget, "contents", protocol.BytesStream(v), metadata)
}
if s.ProjectId != nil {
v := *s.ProjectId
metadata := protocol.Metadata{}... | [
0.008838050067424774,
0.668705940246582,
0.23107782006263733,
-0.9114753007888794,
-0.22362656891345978,
1.1838741302490234,
-0.41060546040534973,
0.1126297190785408,
0.013174953870475292,
0.40137621760368347,
-0.014893981628119946,
-0.18703243136405945,
-1.1164275407791138,
-0.01232720259... |
func (s UpdateProjectOutput) String() string {
return awsutil.Prettify(s)
} | [
0.5518147945404053,
-0.6766073107719421,
0.14297789335250854,
-0.3942538797855377,
-1.2822068929672241,
0.7929432988166809,
0.4586581289768219,
-0.7580856680870056,
-0.5498199462890625,
0.16045419871807098,
0.601610004901886,
0.25030654668807983,
0.02134913019835949,
-0.6677347421646118,
... |
func (s UpdateProjectOutput) GoString() string {
return s.String()
} | [
-0.03643226623535156,
-0.17011813819408417,
0.2322271466255188,
-0.2966017723083496,
-0.4743124842643738,
0.8603901863098145,
0.45338553190231323,
-0.5260357856750488,
-0.9710306525230408,
0.5441111326217651,
0.3055341839790344,
-0.1487995833158493,
-0.6599445343017578,
-0.651374340057373,... |
func (s UpdateProjectOutput) SDKResponseMetadata() aws.Response {
return s.responseMetadata
} | [
-0.24359357357025146,
-0.6756972670555115,
0.25553178787231445,
0.11666929721832275,
-0.22888872027397156,
0.3814827501773834,
-0.17520517110824585,
-0.5536725521087646,
0.7844035029411316,
0.6679844856262207,
-0.3510637581348419,
-0.6664243936538696,
0.004797964356839657,
-1.4088361263275... |
func (s UpdateProjectOutput) MarshalFields(e protocol.FieldEncoder) error {
if s.Details != nil {
v := s.Details
metadata := protocol.Metadata{}
e.SetFields(protocol.BodyTarget, "details", v, metadata)
}
return nil
} | [
0.3518162965774536,
0.7142994999885559,
0.1561598926782608,
-0.8156173825263977,
0.260805606842041,
0.9208629131317139,
-0.1589854508638382,
0.5049192309379578,
0.19916872680187225,
0.22315512597560883,
-0.09142468124628067,
-0.13955341279506683,
-0.8680804967880249,
-0.11314170807600021,
... |
func New(servers ...Server) *Group {
return &Group{servers: servers, shutdownTimeout: DefaultShutdownTimeout}
} | [
-0.5806102752685547,
0.625582754611969,
-0.012335875071585178,
0.4313148558139801,
-0.7065581679344177,
0.17443813383579254,
-0.47854602336883545,
-0.4357469379901886,
-0.974506139755249,
0.1435617357492447,
0.30610957741737366,
0.3380798399448395,
-0.43598365783691406,
0.7435953617095947,... |
func (g *Group) Option(opts ...Option) {
for _, opt := range opts {
opt(g)
}
} | [
-0.746337890625,
0.4425903558731079,
0.09159064292907715,
1.2075320482254028,
0.6445114016532898,
0.25771626830101013,
0.6277333498001099,
-0.3567165434360504,
-0.5101580619812012,
0.29916733503341675,
0.1140211895108223,
-0.2670542299747467,
-0.4548525810241699,
0.23811805248260498,
-0.... |
func (g *Group) ListenAndServe() error {
if g.transition(stopped, started) {
return g.execute(func(s Server) error {
return s.ListenAndServe()
}, g.cancel)
}
return ErrGroupStarted
} | [
-0.2248595654964447,
-0.710343599319458,
0.3431767225265503,
-0.12233717739582062,
-0.1736207753419876,
-0.6864323616027832,
-0.4687789976596832,
0.1999630182981491,
-0.8732934594154358,
0.14228080213069916,
0.20904886722564697,
-0.06216047331690788,
-0.6542360186576843,
0.9024370312690735... |
func (g *Group) ListenAndServeContext(ctx context.Context) error {
if g.transition(stopped, started) {
ctx, cancel := context.WithCancel(ctx)
defer cancel()
var (
started sync.WaitGroup
result = make(chan error)
)
started.Add(len(g.servers))
go func() {
defer close(result)
result <- g.execu... | [
-0.10029478371143341,
-0.18655826151371002,
0.8397923707962036,
-0.7072543501853943,
-0.9256008863449097,
-0.4959734380245209,
-0.13883836567401886,
-0.6038344502449036,
0.3550211191177368,
0.42718544602394104,
-0.21590811014175415,
0.03181060403585434,
-0.4579600393772125,
0.8785268664360... |
func (g *Group) Shutdown(ctx context.Context) error {
if g.transition(started, stopping) {
defer g.transition(stopping, stopped)
return g.execute(func(s Server) error {
return s.Shutdown(ctx)
}, nil)
}
return errors.New("server is already stopped or shutting down")
} | [
-1.6218949556350708,
0.5543888211250305,
0.31478866934776306,
0.21035026013851166,
0.03785263001918793,
0.3727763593196869,
0.22745226323604584,
-0.515274703502655,
0.21210455894470215,
0.7803604602813721,
0.4870254397392273,
0.8678684234619141,
-0.574781060218811,
0.7731241583824158,
0.... |
func (o *VehicleController) GetVehicleByUID() {
o.Ctx.ResponseWriter.Header().Add("Access-Control-Allow-Origin", "*")
o.Ctx.ResponseWriter.Header().Add("Access-Control-Allow-Methods", "POST, GET, OPTIONS, PUT, DELETE")
o.Ctx.ResponseWriter.Header().Add("Access-Control-Allow-Headers", "Origin, X-Requested-With, Conte... | [
-0.9539201259613037,
-0.7844435572624207,
0.6263324022293091,
0.12597116827964783,
-0.08356276154518127,
-0.7612468004226685,
0.3670750558376312,
-0.6869557499885559,
0.24041512608528137,
-0.30835476517677307,
-0.17278946936130524,
0.751865804195404,
-0.1728992760181427,
0.6339415311813354... |
func (o *VehicleController) GetVehicleDetails() {
o.Ctx.ResponseWriter.Header().Add("Access-Control-Allow-Origin", "*")
o.Ctx.ResponseWriter.Header().Add("Access-Control-Allow-Methods", "POST, GET, OPTIONS, PUT, DELETE")
o.Ctx.ResponseWriter.Header().Add("Access-Control-Allow-Headers", "Origin, X-Requested-With, Con... | [
-0.22157762944698334,
-0.6720931529998779,
0.776645302772522,
-0.33097171783447266,
0.19404160976409912,
-0.22530242800712585,
-0.262704461812973,
-0.726566731929779,
-0.12083756923675537,
0.3879069685935974,
0.23484306037425995,
0.8361695408821106,
-0.06658343970775604,
0.4561542868614197... |
func (d *Docker) Init() error {
if d.ID == "" {
return errors.New("id missing")
}
if d.Path == "" {
// setting the default directory for Docker Secrets
// if no explicit path mentioned in configuration
d.Path = "/run/secrets"
}
if _, err := os.Stat(d.Path); err != nil {
// if there is no /run/secrets dir... | [
-0.8745522499084473,
0.2552254796028137,
0.6041865944862366,
0.2816975712776184,
0.5980741381645203,
0.44387564063072205,
0.43020740151405334,
0.14779219031333923,
-0.5848163962364197,
-0.42825496196746826,
0.2922441363334656,
0.9364160299301147,
0.5080670714378357,
0.757552981376648,
0.... |
func (d *Docker) GetResolver(key string) (telegraf.ResolveFunc, error) {
resolver := func() ([]byte, bool, error) {
s, err := d.Get(key)
return s, d.Dynamic, err
}
return resolver, nil
} | [
-0.9032970070838928,
0.03830092400312424,
0.43263524770736694,
0.17448262870311737,
-0.2700474262237549,
-1.2795161008834839,
-0.2827414870262146,
0.20545195043087006,
-0.4984075725078583,
-0.5447672605514526,
-0.6734265089035034,
0.0816989541053772,
0.5055024027824402,
0.84404456615448,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.