text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (*ListSessionByUserResponse) Descriptor() ([]byte, []int) {
return file_API_session_proto_rawDescGZIP(), []int{9}
} | [
-0.5475031137466431,
-0.6981775760650635,
-0.1599859595298767,
0.20245833694934845,
-0.06965069472789764,
-1.4040942192077637,
0.9131826162338257,
-1.0204706192016602,
0.6746941208839417,
-0.2704344093799591,
-1.4064068794250488,
-0.7330965995788574,
-0.5331593751907349,
0.0542147606611251... |
func NewRemoveUserGroupParams() *RemoveUserGroupParams {
return &RemoveUserGroupParams{
timeout: cr.DefaultTimeout,
}
} | [
-0.7302053570747375,
0.27618342638015747,
0.14115235209465027,
0.9023082256317139,
-1.5142097473144531,
-0.4021727442741394,
0.8332192301750183,
1.2336549758911133,
-0.6233688592910767,
0.9121137261390686,
-0.5906249284744263,
-0.32005825638771057,
-1.0310102701187134,
-0.03184539079666138... |
func NewRemoveUserGroupParamsWithTimeout(timeout time.Duration) *RemoveUserGroupParams {
return &RemoveUserGroupParams{
timeout: timeout,
}
} | [
0.39765700697898865,
-0.3742319643497467,
0.31847554445266724,
0.6894158124923706,
-1.3571029901504517,
0.23769333958625793,
-0.6124730706214905,
1.0430594682693481,
-0.48568791151046753,
1.412675380706787,
-0.2790350317955017,
0.20696543157100677,
-0.9611165523529053,
0.396135151386261,
... |
func NewRemoveUserGroupParamsWithContext(ctx context.Context) *RemoveUserGroupParams {
return &RemoveUserGroupParams{
Context: ctx,
}
} | [
-0.2839626669883728,
-0.10019002109766006,
0.40291082859039307,
0.3923405706882477,
-1.2264530658721924,
0.39298608899116516,
-0.24784362316131592,
0.2836540639400482,
-0.01712540164589882,
0.9920428991317749,
-0.3668612241744995,
-0.16153833270072937,
-0.6190326809883118,
-0.3109934926033... |
func NewRemoveUserGroupParamsWithHTTPClient(client *http.Client) *RemoveUserGroupParams {
return &RemoveUserGroupParams{
HTTPClient: client,
}
} | [
-0.7783628106117249,
-0.3531595766544342,
0.32653939723968506,
0.3168850839138031,
-0.7190679907798767,
0.4549690783023834,
0.7505780458450317,
0.6809188723564148,
-0.5179917812347412,
0.575265645980835,
-0.6474063992500305,
-0.37462401390075684,
-0.7911869883537292,
-0.27198246121406555,
... |
func (o *RemoveUserGroupParams) WithDefaults() *RemoveUserGroupParams {
o.SetDefaults()
return o
} | [
-0.2417389154434204,
0.6238572597503662,
-0.23317480087280273,
0.16441825032234192,
-0.4196430444717407,
-1.3147375583648682,
-0.14739380776882172,
-0.026485107839107513,
-0.18148191273212433,
-0.16211603581905365,
-0.35720232129096985,
-1.2818944454193115,
-0.8035672903060913,
0.228567227... |
func (o *RemoveUserGroupParams) SetDefaults() {
// no default values defined for this parameter
} | [
-0.7343477010726929,
0.9763463735580444,
-0.021981732919812202,
-0.17993533611297607,
0.14579744637012482,
-0.700359582901001,
0.34176838397979736,
0.05751560628414154,
-0.6860625147819519,
-0.10101653635501862,
-0.6231335401535034,
-0.5286788940429688,
-1.5871540307998657,
0.4569020867347... |
func (o *RemoveUserGroupParams) WithTimeout(timeout time.Duration) *RemoveUserGroupParams {
o.SetTimeout(timeout)
return o
} | [
0.07316943258047104,
0.3319408893585205,
0.00042976142140105367,
-0.00585465133190155,
-1.443740963935852,
-0.28524741530418396,
0.051660653203725815,
0.47407981753349304,
-0.07038678973913193,
0.9832262992858887,
-0.2160714715719223,
-0.1229645237326622,
-0.4932774603366852,
0.56272405385... |
func (o *RemoveUserGroupParams) SetTimeout(timeout time.Duration) {
o.timeout = timeout
} | [
-0.2296093851327896,
0.5451517105102539,
0.006477781571447849,
-0.23036611080169678,
-0.6805789470672607,
-0.05601593852043152,
0.29342690110206604,
0.9894886016845703,
-0.47648537158966064,
0.8937312364578247,
-0.14127731323242188,
-0.06801847368478775,
-1.099385142326355,
0.6144010424613... |
func (o *RemoveUserGroupParams) WithContext(ctx context.Context) *RemoveUserGroupParams {
o.SetContext(ctx)
return o
} | [
-0.7670317888259888,
0.37316009402275085,
0.20430020987987518,
-0.004616522695869207,
-1.5154646635055542,
-0.4244318902492523,
0.01727895252406597,
-0.08605144917964935,
0.1343693733215332,
0.5296968817710876,
-0.24278496205806732,
-0.23082371056079865,
-0.875325620174408,
-0.072449944913... |
func (o *RemoveUserGroupParams) SetContext(ctx context.Context) {
o.Context = ctx
} | [
-0.9098519682884216,
0.7087698578834534,
0.10406391322612762,
0.01947023905813694,
-0.6423344016075134,
-0.303414911031723,
0.24712669849395752,
0.19529381394386292,
0.26797571778297424,
0.4280804693698883,
-0.33546724915504456,
-0.022912926971912384,
-1.1799423694610596,
0.185170978307724... |
func (o *RemoveUserGroupParams) WithHTTPClient(client *http.Client) *RemoveUserGroupParams {
o.SetHTTPClient(client)
return o
} | [
-0.8190605640411377,
-0.26758718490600586,
0.11410419642925262,
-0.33462509512901306,
-1.137169599533081,
-0.29664328694343567,
0.6966390013694763,
-0.16598860919475555,
-0.520689845085144,
-0.02277093194425106,
-0.37888357043266296,
-0.35663148760795593,
-0.32140132784843445,
-0.373078554... |
func (o *RemoveUserGroupParams) SetHTTPClient(client *http.Client) {
o.HTTPClient = client
} | [
-0.4758017063140869,
-0.014627646654844284,
0.13923868536949158,
-1.0634691715240479,
-0.9986704587936401,
-0.42112064361572266,
0.9022403955459595,
0.24854512512683868,
-1.1198924779891968,
0.09574132412672043,
-0.5643233060836792,
0.13839858770370483,
-0.9663709402084351,
-0.441931784152... |
func (o *RemoveUserGroupParams) WithClientID(clientID *string) *RemoveUserGroupParams {
o.SetClientID(clientID)
return o
} | [
-0.10417486727237701,
-0.2382739782333374,
-0.0879131332039833,
-0.16604341566562653,
-1.538832664489746,
0.26849284768104553,
0.6552711129188538,
-0.021600039675831795,
0.3199608623981476,
0.9136837124824524,
-0.04642735421657562,
-0.1916777640581131,
-0.5534356832504272,
0.66460013389587... |
func (o *RemoveUserGroupParams) SetClientID(clientID *string) {
o.ClientID = clientID
} | [
-0.5839291214942932,
-0.159030944108963,
0.03897450864315033,
-0.076601043343544,
-1.0089759826660156,
0.41588371992111206,
1.090390920639038,
0.193919375538826,
-0.0532003752887249,
0.8597730994224548,
-0.09906584769487381,
0.3348527252674103,
-1.3974794149398804,
0.9810701012611389,
-0... |
func (o *RemoveUserGroupParams) WithID(id string) *RemoveUserGroupParams {
o.SetID(id)
return o
} | [
-0.5221455693244934,
-0.288991242647171,
-0.11396969109773636,
0.5204803347587585,
-1.1769965887069702,
-0.17846514284610748,
0.32086268067359924,
0.3571065366268158,
0.5410553812980652,
0.8548606634140015,
-0.41931793093681335,
-0.4878353774547577,
-1.1878514289855957,
0.6791618466377258,... |
func (o *RemoveUserGroupParams) SetID(id string) {
o.ID = id
} | [
-0.8606870174407959,
-0.11884455382823944,
-0.17133435606956482,
0.24822863936424255,
-0.4751589000225067,
0.038765233010053635,
0.19084350764751434,
0.672297477722168,
0.019292980432510376,
0.5546615123748779,
-0.6412835121154785,
-0.43499988317489624,
-1.6217349767684937,
1.0486239194869... |
func (o *RemoveUserGroupParams) WithVersion(version string) *RemoveUserGroupParams {
o.SetVersion(version)
return o
} | [
-1.069797396659851,
-0.18518562614917755,
-0.21585196256637573,
0.5576905012130737,
-0.7436262965202332,
-0.5896840691566467,
0.7670695781707764,
0.4716087281703949,
-0.7133814096450806,
0.922090470790863,
-0.712405264377594,
-1.2825216054916382,
-1.3334451913833618,
0.28190943598747253,
... |
func (o *RemoveUserGroupParams) SetVersion(version string) {
o.Version = version
} | [
-1.1516669988632202,
-0.11621934175491333,
-0.12147077918052673,
0.5818766951560974,
-0.14362166821956635,
-0.32666146755218506,
0.8049284815788269,
1.0935590267181396,
-0.9517121315002441,
1.0618427991867065,
-1.0361061096191406,
-0.9517523646354675,
-1.6934856176376343,
0.743281543254852... |
func (o *RemoveUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
if err := r.SetTimeout(o.timeout); err != nil {
return err
}
var res []error
if o.ClientID != nil {
// query param clientId
var qrClientID string
if o.ClientID != nil {
qrClientID = *o.ClientID
}
... | [
-0.9837607145309448,
-0.1578124314546585,
0.6761977076530457,
-0.7666723132133484,
-0.09641292691230774,
-0.2926364541053772,
0.9952285289764404,
-0.048469219356775284,
-0.6577402949333191,
0.5389410257339478,
-0.19134700298309326,
0.2307082563638687,
-0.9557260870933533,
0.100038766860961... |
func parseLines(lines [][]string) []Problem {
// create a slice of problems with a defined length
ret := make([]Problem, len(lines))
for key, value := range lines {
ret[key] = Problem{
Question: strings.TrimSpace(value[0]),
Answer: strings.TrimSpace(value[1]),
}
}
return ret
} | [
0.3054622411727905,
-0.37413498759269714,
0.34611231088638306,
-0.4104750454425812,
-0.3160862326622009,
0.4452079236507416,
-0.8569177985191345,
0.13561829924583435,
0.7957335114479065,
-0.07120142132043839,
0.37473779916763306,
-1.0676772594451904,
-0.16769658029079437,
-0.39985570311546... |
func exit(msg string) {
fmt.Println(msg)
os.Exit(1)
} | [
0.42089176177978516,
0.2899254262447357,
0.1552780717611313,
-0.11173931509256363,
-0.0716129019856453,
0.9105859398841858,
1.032442331314087,
0.6511677503585815,
-0.77651447057724,
-0.08797834068536758,
0.07729700207710266,
0.9624332189559937,
-1.0114953517913818,
1.569130778312683,
0.2... |
func (_m *Usecase) AddItem(_a0 models.Cart) error {
ret := _m.Called(_a0)
var r0 error
if rf, ok := ret.Get(0).(func(models.Cart) error); ok {
r0 = rf(_a0)
} else {
r0 = ret.Error(0)
}
return r0
} | [
-0.49645963311195374,
-0.45842817425727844,
0.41334185004234314,
0.2609138786792755,
0.19125212728977203,
0.3264509439468384,
0.8076710104942322,
0.4635791480541229,
-0.5442134141921997,
0.0002284678048454225,
0.5054092407226562,
-0.14692382514476776,
0.6884946823120117,
0.3708942830562591... |
func (_m *Usecase) GetCustCart(custid int64) ([]models.Cart, error) {
ret := _m.Called(custid)
var r0 []models.Cart
if rf, ok := ret.Get(0).(func(int64) []models.Cart); ok {
r0 = rf(custid)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]models.Cart)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(i... | [
-0.2433248907327652,
-0.6017640829086304,
0.723440945148468,
0.14426951110363007,
-0.026416603475809097,
-0.5975162386894226,
0.7481785416603088,
-0.027324553579092026,
-0.37023958563804626,
-0.06694219261407852,
-0.023824235424399376,
0.6802271604537964,
0.38230788707733154,
1.16423761844... |
func (_m *Usecase) RemoveItem(_a0 models.Cart) error {
ret := _m.Called(_a0)
var r0 error
if rf, ok := ret.Get(0).(func(models.Cart) error); ok {
r0 = rf(_a0)
} else {
r0 = ret.Error(0)
}
return r0
} | [
-0.572065532207489,
-0.6399794816970825,
0.19960997998714447,
-0.08850665390491486,
0.16293877363204956,
-0.07102943956851959,
1.1775377988815308,
0.9411677122116089,
-0.3901048004627228,
0.3662671744823456,
0.2033238708972931,
-0.3890147805213928,
0.7560854554176331,
0.06692840158939362,
... |
func (o *UpdateBugfieldTemplateGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewUpdateBugfieldTemplateGroupOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
... | [
-0.9547310471534729,
-0.8076215386390686,
0.7158705592155457,
0.04816117137670517,
-0.2711743712425232,
-1.3409159183502197,
0.3554421365261078,
-0.7624345421791077,
-0.09526980668306351,
0.44319653511047363,
-0.020024871453642845,
-0.06700428575277328,
-1.0725669860839844,
0.5322301983833... |
func NewUpdateBugfieldTemplateGroupOK() *UpdateBugfieldTemplateGroupOK {
return &UpdateBugfieldTemplateGroupOK{}
} | [
-0.6417441368103027,
-0.4650888442993164,
0.3090001344680786,
0.23115602135658264,
-1.3213074207305908,
-0.2636505365371704,
0.6791068911552429,
0.3566333055496216,
-1.3072091341018677,
0.8684985637664795,
-0.2617277204990387,
0.13890540599822998,
0.03116847202181816,
1.0931705236434937,
... |
func NewUpdateBugfieldTemplateGroupBadRequest() *UpdateBugfieldTemplateGroupBadRequest {
return &UpdateBugfieldTemplateGroupBadRequest{}
} | [
-1.2268216609954834,
-0.6388518810272217,
0.4207214415073395,
0.5667034983634949,
-0.7548893690109253,
-0.48602795600891113,
-0.20793293416500092,
0.2978617548942566,
-1.4012433290481567,
-0.1438225656747818,
-0.044436533004045486,
0.7565792202949524,
-0.7509706020355225,
1.187509298324585... |
func NewUpdateBugfieldTemplateGroupUnauthorized() *UpdateBugfieldTemplateGroupUnauthorized {
return &UpdateBugfieldTemplateGroupUnauthorized{}
} | [
-0.954413652420044,
-0.7258045673370361,
0.30964040756225586,
0.45913198590278625,
-1.1810625791549683,
-0.4027552604675293,
0.274413526058197,
0.4037724435329437,
-0.9649161100387573,
-0.6643770337104797,
-0.06729690730571747,
1.2251946926116943,
-0.35095977783203125,
0.3610755205154419,
... |
func NewUpdateBugfieldTemplateGroupForbidden() *UpdateBugfieldTemplateGroupForbidden {
return &UpdateBugfieldTemplateGroupForbidden{}
} | [
-0.31965577602386475,
-0.36612796783447266,
0.2905862331390381,
0.9368155598640442,
-1.294047236442566,
0.06121959164738655,
0.7605322599411011,
-0.749567449092865,
-1.414655327796936,
-0.2848872244358063,
-0.2279437780380249,
0.7177067399024963,
-0.538425087928772,
0.10332679748535156,
... |
func NewUpdateBugfieldTemplateGroupNotFound() *UpdateBugfieldTemplateGroupNotFound {
return &UpdateBugfieldTemplateGroupNotFound{}
} | [
-0.5284068584442139,
-1.243681788444519,
0.07538621127605438,
-0.06140991672873497,
-0.4582115113735199,
0.2358696311712265,
0.5260414481163025,
-0.2108209729194641,
-1.0215487480163574,
-0.04626845940947533,
-0.39012181758880615,
0.47635090351104736,
-0.5231231451034546,
0.949687421321868... |
func NewUpdateBugfieldTemplateGroupConflict() *UpdateBugfieldTemplateGroupConflict {
return &UpdateBugfieldTemplateGroupConflict{}
} | [
-0.9498515129089355,
-0.987899899482727,
0.22108998894691467,
0.38869792222976685,
-0.474604994058609,
-0.27820897102355957,
0.5668745636940002,
-0.3135645091533661,
-1.4999198913574219,
0.16545310616493225,
0.18972234427928925,
-0.010897534899413586,
-0.9731473922729492,
0.535194873809814... |
func calc_action (
spin [][]int,
coupling_J,
coupling_h,
temperature float64,
) (action float64) {
sum1 := 0
sum2 := 0
for ix:=0; ix<nx; ix++ {
ixp1 := (ix+1)%nx
for iy:=0; iy<ny; iy++ {
iyp1 := (iy+1)%ny
sum1 += spin[ix][iy]
sum2 += spin[ix][iy]*spin[ixp1][iy] + spin[ix][iy]*spin[ix][iyp1]
}... | [
-0.4745306372642517,
-0.2795870006084442,
0.6241563558578491,
0.15902312099933624,
-0.4165194630622864,
-0.03150299936532974,
1.1466566324234009,
0.26048845052719116,
0.2936890721321106,
1.005479335784912,
-0.34783345460891724,
0.16287143528461456,
-0.7815171480178833,
0.19729235768318176,... |
func calc_action_change (
spin [][]int,
coupling_J,
coupling_h,
temperature float64,
ix,
iy int,
) (action_change float64) {
ixp1 := (ix+1)%nx
iyp1 := (iy+1)%ny
ixm1 := (ix-1+nx)%nx
iym1 := (iy-1+ny)%ny
sum1_change := float64(2 * spin[ix][iy])
sum2_change := float64(
2 * spin[ix][iy] * spin[ixp1][iy] + ... | [
-0.7522507309913635,
-0.5323588252067566,
0.7217212915420532,
0.18454758822917938,
-0.24281954765319824,
-0.25344061851501465,
0.894899308681488,
0.22920289635658264,
0.41703206300735474,
1.0012320280075073,
-0.27904996275901794,
0.960395097732544,
-0.4124469459056854,
0.10000378638505936,... |
func calc_total_spin (spin [][]int) (total_spin int) {
total_spin = 0
for ix:=0; ix<nx; ix++ {
for iy:=0; iy<ny; iy++ {
total_spin += spin[ix][iy]
}
}
return
} | [
-0.4848019480705261,
-0.179922953248024,
0.4305844008922577,
-0.685198187828064,
-0.0004448937252163887,
-0.3420542776584625,
0.9564087390899658,
-0.33042168617248535,
1.3900831937789917,
1.0537270307540894,
-0.8720253109931946,
-0.47850364446640015,
-0.3436710238456726,
-0.494737803936004... |
func (cfg *RPC) NewFactory(sName string, logger log.Logger, grpcPorts GRPCPorts) *RPCFactory {
return newRPCFactory(cfg, sName, logger, grpcPorts)
} | [
0.02159976400434971,
-0.15500594675540924,
0.44294747710227966,
0.15956056118011475,
-0.4100359380245209,
-0.3969404697418213,
0.008875183761119843,
-0.38388434052467346,
0.3505000174045563,
0.09219595789909363,
-0.1438782960176468,
0.41212067008018494,
-0.7351856231689453,
-0.085624352097... |
func (d *RPCFactory) GetDispatcher() *yarpc.Dispatcher {
d.Lock()
defer d.Unlock()
if d.dispatcher != nil {
return d.dispatcher
}
d.dispatcher = d.createInboundDispatcher()
return d.dispatcher
} | [
0.7429201602935791,
-0.6323748230934143,
0.681601881980896,
-0.10880547761917114,
0.6290363669395447,
0.12909366190433502,
-0.1450747549533844,
-0.08507303148508072,
0.5390990972518921,
-1.8374788761138916,
-0.29693490266799927,
0.6504676342010498,
-0.5177236199378967,
1.0287028551101685,
... |
func (d *RPCFactory) createInboundDispatcher() *yarpc.Dispatcher {
// Setup dispatcher for onebox
var err error
inbounds := yarpc.Inbounds{}
hostAddress := fmt.Sprintf("%v:%v", d.getListenIP(), d.config.Port)
d.ch, err = tchannel.NewChannelTransport(
tchannel.ServiceName(d.serviceName),
tchannel.ListenAddr(ho... | [
0.5937308669090271,
-1.0829118490219116,
1.1445530652999878,
-1.063196063041687,
0.13355903327465057,
-0.24760328233242035,
-0.26873546838760376,
-0.355374276638031,
0.6321108937263489,
-0.709354817867279,
0.11661600321531296,
0.9020662307739258,
-0.37671178579330444,
0.7425661683082581,
... |
func (d *RPCFactory) CreateDispatcherForOutbound(
callerName string,
serviceName string,
hostName string,
) (*yarpc.Dispatcher, error) {
return d.createOutboundDispatcher(callerName, serviceName, hostName, d.ch.NewSingleOutbound(hostName))
} | [
-0.2075185775756836,
-0.5746447443962097,
0.438111275434494,
-0.11640267819166183,
0.2648046612739563,
0.185031458735466,
-1.213202714920044,
-0.4721841514110565,
-0.6792260408401489,
-0.9557431936264038,
-0.6448951363563538,
0.4723895192146301,
0.05577326565980911,
1.1823617219924927,
0... |
func (d *RPCFactory) CreateGRPCDispatcherForOutbound(
callerName string,
serviceName string,
hostName string,
) (*yarpc.Dispatcher, error) {
return d.createOutboundDispatcher(callerName, serviceName, hostName, d.grpc.NewSingleOutbound(hostName))
} | [
-0.1767595410346985,
-0.4886099398136139,
0.49576154351234436,
-0.05651339143514633,
0.45117372274398804,
0.45966291427612305,
-0.7250456213951111,
-0.5434748530387878,
-0.7977662086486816,
-0.35472652316093445,
-0.24910882115364075,
0.7799843549728394,
-0.44932857155799866,
0.704009473323... |
func (d *RPCFactory) ReplaceGRPCPort(serviceName, hostAddress string) (string, error) {
return d.grpcPorts.GetGRPCAddress(serviceName, hostAddress)
} | [
0.7868709564208984,
0.002476621186360717,
0.4059095084667206,
-0.811545193195343,
0.0452902689576149,
-0.02945098467171192,
0.8488544821739197,
0.3253219723701477,
-0.28430476784706116,
0.11139260977506638,
-0.45001497864723206,
1.438720703125,
-1.6178014278411865,
-0.5053282380104065,
0... |
func NewFilter() *Filter {
return new(Filter)
} | [
0.1920560598373413,
-0.7040543556213379,
0.025627119466662407,
1.0736355781555176,
-1.1034870147705078,
-0.5572072267532349,
-0.352944940328598,
-0.3328109383583069,
-0.41399455070495605,
-1.2637479305267334,
-0.389104425907135,
0.9940813183784485,
-0.3461441397666931,
0.11027336865663528,... |
func (f *Filter) add(s string) {
spacer := ""
if !f.Empty() {
spacer = " "
}
*f = Filter((string)(*f) + spacer + s)
} | [
-0.135247603058815,
-0.008661304600536823,
0.20345795154571533,
-0.24328544735908508,
-0.26104307174682617,
0.24679580330848694,
-0.41116467118263245,
0.25495967268943787,
0.32159867882728577,
-0.5121517181396484,
0.617550790309906,
1.3021490573883057,
0.22168304026126862,
0.92813676595687... |
func (f *Filter) AddResourceType(t string) {
const (
resourceType = "resource.type"
)
if strings.Contains(f.String(), resourceType) {
glog.Fatalf("Stackdriver filters may only contain one '%s'", resourceType)
}
f.add(fmt.Sprintf("%s=\"%s\"", resourceType, t))
} | [
0.5617344975471497,
0.3355307877063751,
0.13429078459739685,
-0.7574726939201355,
0.5483530759811401,
-0.04572274535894394,
-0.10604367405176163,
-0.2321183681488037,
0.23278212547302246,
0.45160984992980957,
0.25146910548210144,
-0.3065236806869507,
0.19112423062324524,
1.5962953567504883... |
func (f *Filter) AddMetricType(t string) {
const (
metricPath = "custom.googleapis.com/opencensus"
metricType = "metric.type"
)
if strings.Contains(f.String(), metricType) {
glog.Fatalf("Stackdriver filters may only contain one '%s'", metricType)
}
f.add(fmt.Sprintf("%s=\"%s/%s\"", metricType, metricPath, t)... | [
0.5110254883766174,
0.49570462107658386,
0.28857675194740295,
-0.04073246568441391,
0.5981405973434448,
0.2931865155696869,
0.07830372452735901,
-0.3499339520931244,
-0.5769588947296143,
0.2571345865726471,
0.43496841192245483,
0.05763571336865425,
-0.2649233341217041,
0.8064708113670349,
... |
func (f *Filter) AddLabels(m map[string]string) {
const (
metricLabel = "metric.label"
)
labels := []string{}
for label, value := range m {
metricLabel := fmt.Sprintf("%s.\"%s\"=\"%s\"", metricLabel, label, value)
labels = append(labels, metricLabel)
}
f.add(strings.Join(labels, " "))
} | [
-0.21001893281936646,
0.03463669493794441,
0.5479038953781128,
-0.9683454632759094,
0.411327600479126,
0.7613217830657959,
-0.9664909839630127,
-0.008058794774115086,
-0.8704528212547302,
0.08194705843925476,
1.6993244886398315,
-0.4142037034034729,
0.1784721165895462,
0.7239617109298706,
... |
func (f *Filter) Empty() bool {
return len(f.String()) == 0
} | [
-1.244268774986267,
-0.34205305576324463,
0.34335094690322876,
-0.5962784886360168,
0.35159265995025635,
0.32083675265312195,
-0.2165984809398651,
0.046595897525548935,
-1.2208830118179321,
0.4950793981552124,
-0.47162064909935,
0.6819403767585754,
-0.256445050239563,
0.2571413516998291,
... |
func (f *Filter) String() string {
return (string)(*f)
} | [
-0.5478619933128357,
-0.7821937203407288,
-0.14053001999855042,
-0.052330005913972855,
-0.4152257740497589,
0.2664092481136322,
0.5302674770355225,
-1.1389100551605225,
-0.38624998927116394,
-0.25570276379585266,
-0.1215234249830246,
0.9363548159599304,
0.2716372311115265,
-0.5369336009025... |
func (o *RemoveFilterFromSourceParams) Name() string {
return "RemoveFilterFromSource"
} | [
-0.40381762385368347,
-0.5405187010765076,
0.620424211025238,
0.04173973947763443,
-1.1365013122558594,
-0.22284875810146332,
0.6537667512893677,
0.6229034066200256,
-0.4886210560798645,
1.291664958000183,
-0.6261340379714966,
-0.34508439898490906,
-0.2435675412416458,
0.985625147819519,
... |
func (c *Client) RemoveFilterFromSource(
params *RemoveFilterFromSourceParams,
) (*RemoveFilterFromSourceResponse, error) {
data := &RemoveFilterFromSourceResponse{}
if err := c.SendRequest(params, data); err != nil {
return nil, err
}
return data, nil
} | [
-1.3192306756973267,
0.030157247558236122,
0.7871221303939819,
0.5153847336769104,
-1.2481091022491455,
0.0918731838464737,
0.5870646834373474,
0.02260160818696022,
0.02863187901675701,
-0.3082258999347687,
-0.8511772751808167,
1.1241551637649536,
-1.1787960529327393,
0.5737878084182739,
... |
func NewMockCdkClient(ctrl *gomock.Controller) *MockCdkClient {
mock := &MockCdkClient{ctrl: ctrl}
mock.recorder = &MockCdkClientMockRecorder{mock}
return mock
} | [
-0.005511094816029072,
1.0418778657913208,
0.07529665529727936,
0.46199551224708557,
-0.6677129864692688,
-0.21361830830574036,
1.4931379556655884,
0.2038271725177765,
0.141058087348938,
0.1372777670621872,
-0.6754042506217957,
0.032487448304891586,
-0.7531560659408569,
0.6443495154380798,... |
func (m *MockCdkClient) EXPECT() *MockCdkClientMockRecorder {
return m.recorder
} | [
0.41806772351264954,
0.7663838267326355,
0.21089807152748108,
-0.20440421998500824,
-0.2712998390197754,
0.13718090951442719,
0.327102392911911,
0.4135437309741974,
0.017510229721665382,
-0.49381330609321594,
0.6446102857589722,
0.7510475516319275,
-1.075543761253357,
0.949722409248352,
... |
func (m *MockCdkClient) ClearContext(appDir string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ClearContext", appDir)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.46205011010169983,
0.3356799781322479,
0.19834914803504944,
0.7873846292495728,
0.020329691469669342,
0.5868261456489563,
0.03995388746261597,
-1.0235275030136108,
0.5518993735313416,
0.3315000534057617,
-0.13938768208026886,
-0.14485935866832733,
-0.9327484965324402,
0.5280725955963135... |
func (mr *MockCdkClientMockRecorder) ClearContext(appDir interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearContext", reflect.TypeOf((*MockCdkClient)(nil).ClearContext), appDir)
} | [
-0.5117554068565369,
1.049109935760498,
0.06589986383914948,
0.31295135617256165,
-0.6824036836624146,
0.518420398235321,
-0.9116709232330322,
-1.260435700416565,
1.4225578308105469,
0.9838199019432068,
0.4596385061740875,
0.6815542578697205,
-0.9503362774848938,
0.7777426242828369,
-0.5... |
func (m *MockCdkClient) DeployApp(appDir string, context []string) (cdk.ProgressStream, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeployApp", appDir, context)
ret0, _ := ret[0].(cdk.ProgressStream)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.08467903733253479,
-0.41181278228759766,
0.2438024878501892,
0.4072830080986023,
0.5311917662620544,
0.7060375213623047,
1.5171865224838257,
-0.5904661417007446,
-0.06893476843833923,
0.41048097610473633,
-0.5081765055656433,
-1.2234108448028564,
-0.5590526461601257,
1.0158711671829224,... |
func (mr *MockCdkClientMockRecorder) DeployApp(appDir, context interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeployApp", reflect.TypeOf((*MockCdkClient)(nil).DeployApp), appDir, context)
} | [
0.30262190103530884,
0.48083338141441345,
0.034636080265045166,
0.012895841151475906,
0.014453411102294922,
0.7704356908798218,
0.21217238903045654,
-0.8107089996337891,
1.1602104902267456,
1.2333879470825195,
0.581032931804657,
0.30897918343544006,
-0.7659170031547546,
1.0710357427597046,... |
func (m *MockCdkClient) DestroyApp(appDir string, context []string) (cdk.ProgressStream, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DestroyApp", appDir, context)
ret0, _ := ret[0].(cdk.ProgressStream)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.0278537068516016,
-0.13591355085372925,
0.3331448435783386,
0.7763345241546631,
0.7939366102218628,
0.5146564245223999,
0.9712589979171753,
-0.6393581032752991,
0.20241546630859375,
-0.00897479522973299,
-0.3736531436443329,
-1.4533082246780396,
-0.46506425738334656,
1.363159418106079,
... |
func (mr *MockCdkClientMockRecorder) DestroyApp(appDir, context interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestroyApp", reflect.TypeOf((*MockCdkClient)(nil).DestroyApp), appDir, context)
} | [
0.1818079799413681,
0.6888580322265625,
0.04203428700566292,
0.09773977845907211,
0.44602832198143005,
0.6479976177215576,
-0.5561264157295227,
-0.6572455167770386,
1.4169895648956299,
0.82861328125,
0.6452332139015198,
0.008087686263024807,
-0.6908438801765442,
1.346115231513977,
-0.033... |
func NewMockS3Client(ctrl *gomock.Controller) *MockS3Client {
mock := &MockS3Client{ctrl: ctrl}
mock.recorder = &MockS3ClientMockRecorder{mock}
return mock
} | [
0.6552389860153198,
-0.004621931351721287,
0.17435415089130402,
-0.1023513674736023,
-0.28804507851600647,
0.48527777194976807,
0.12874040007591248,
-0.5058674216270447,
0.43744686245918274,
0.3850290775299072,
-0.8696789741516113,
0.3829972743988037,
-0.6627808809280396,
-0.68500727415084... |
func (m *MockS3Client) EXPECT() *MockS3ClientMockRecorder {
return m.recorder
} | [
0.694647490978241,
0.05503147467970848,
0.3011293113231659,
-0.21062666177749634,
-0.21015775203704834,
0.7269510626792908,
-0.1124739721417427,
0.3442089855670929,
0.4867517352104187,
-0.11232931166887283,
0.36586129665374756,
1.0868682861328125,
-0.8960548639297485,
0.012898337095975876,... |
func (m *MockS3Client) BucketExists(arg0 string) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BucketExists", arg0)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.9458905458450317,
-0.481741726398468,
0.5769037008285522,
-0.12112589925527573,
1.1543381214141846,
0.44611603021621704,
0.5238350033760071,
-0.04055370017886162,
-1.3916815519332886,
-0.317100465297699,
-1.0860514640808105,
-0.5471649765968323,
-0.12189486622810364,
0.321339875459671,
... |
func (mr *MockS3ClientMockRecorder) BucketExists(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BucketExists", reflect.TypeOf((*MockS3Client)(nil).BucketExists), arg0)
} | [
-0.3729266822338104,
0.05502079799771309,
0.11413202434778214,
-0.0890471339225769,
0.27580296993255615,
0.17969869077205658,
-0.45315295457839966,
-0.46575960516929626,
0.027414865791797638,
0.5139092803001404,
-0.2586868703365326,
0.6007363796234131,
-0.4192497432231903,
0.45653405785560... |
func (m *MockS3Client) SyncFile(bucketName, key, filePath string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SyncFile", bucketName, key, filePath)
ret0, _ := ret[0].(error)
return ret0
} | [
0.5937944650650024,
0.21937333047389984,
0.3092668354511261,
0.15291108191013336,
1.0976648330688477,
1.15592622756958,
1.3215440511703491,
0.297004759311676,
-1.4350847005844116,
0.3691258132457733,
-0.5561776757240295,
-0.5552940964698792,
-0.43562421202659607,
0.14761245250701904,
0.1... |
func (mr *MockS3ClientMockRecorder) SyncFile(bucketName, key, filePath interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncFile", reflect.TypeOf((*MockS3Client)(nil).SyncFile), bucketName, key, filePath)
} | [
0.7584438920021057,
0.8587786555290222,
0.3171612620353699,
0.20918121933937073,
0.25620409846305847,
0.7794970870018005,
0.1439846307039261,
-0.23883885145187378,
-0.21428026258945465,
0.7251566648483276,
0.290428102016449,
0.5617192387580872,
-0.5139651298522949,
0.40386778116226196,
-... |
func (m *MockS3Client) UploadFile(bucketName, key, filePath string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UploadFile", bucketName, key, filePath)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.24131529033184052,
0.4717305600643158,
0.5309805870056152,
0.011043531820178032,
1.3360940217971802,
0.8040557503700256,
1.187146782875061,
-0.5042819976806641,
-1.509478211402893,
0.2201157957315445,
-0.493913859128952,
-1.036278247833252,
-1.0095524787902832,
0.4895663559436798,
0.2... |
func (mr *MockS3ClientMockRecorder) UploadFile(bucketName, key, filePath interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UploadFile", reflect.TypeOf((*MockS3Client)(nil).UploadFile), bucketName, key, filePath)
} | [
0.11095516383647919,
0.9218332767486572,
0.39380890130996704,
-0.03319279104471207,
0.2064490020275116,
0.527387797832489,
-0.04697214439511299,
-1.0180948972702026,
-0.2608879804611206,
0.533865749835968,
0.38438570499420166,
0.1345566362142563,
-1.0809803009033203,
0.967812716960907,
-... |
func NewMockStsClient(ctrl *gomock.Controller) *MockStsClient {
mock := &MockStsClient{ctrl: ctrl}
mock.recorder = &MockStsClientMockRecorder{mock}
return mock
} | [
0.06845739483833313,
-0.1863025724887848,
-0.05391041561961174,
0.17145980894565582,
-0.7430918216705322,
-0.4414454400539398,
0.5267380475997925,
-0.8047990798950195,
-0.006520992610603571,
0.025293095037341118,
-0.6543537974357605,
0.5143979787826538,
-0.3629244565963745,
0.4804411232471... |
func (m *MockStsClient) EXPECT() *MockStsClientMockRecorder {
return m.recorder
} | [
0.1472683697938919,
0.3022858798503876,
0.20200176537036896,
-0.2565467953681946,
-0.26685014367103577,
0.24205683171749115,
0.2591983377933502,
0.2938334345817566,
-0.03843645751476288,
-0.13417315483093262,
0.5151984095573425,
1.227007269859314,
-0.7405768036842346,
0.7687589526176453,
... |
func (m *MockStsClient) GetAccount() (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetAccount")
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.19555313885211945,
-0.01358287688344717,
0.39718326926231384,
0.6267402172088623,
1.5488431453704834,
-0.03306461498141289,
1.8870553970336914,
-0.24514855444431305,
-0.07397647947072983,
-0.1497402787208557,
-0.27660149335861206,
-0.30662858486175537,
-0.00796878058463335,
0.7056210637... |
func (mr *MockStsClientMockRecorder) GetAccount() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccount", reflect.TypeOf((*MockStsClient)(nil).GetAccount))
} | [
0.3844562768936157,
0.7305780053138733,
0.25753840804100037,
0.352923184633255,
0.7165980339050293,
-0.29911142587661743,
0.8239555954933167,
-0.7753793597221375,
1.2436017990112305,
0.8384103178977966,
0.6952874064445496,
0.6817936897277832,
-0.3415432572364807,
1.3398041725158691,
0.27... |
func NewMockSsmClient(ctrl *gomock.Controller) *MockSsmClient {
mock := &MockSsmClient{ctrl: ctrl}
mock.recorder = &MockSsmClientMockRecorder{mock}
return mock
} | [
0.4193961024284363,
-0.45937249064445496,
0.19388948380947113,
0.5105528831481934,
-0.7240237593650818,
-0.2402111440896988,
0.3298504650592804,
-0.5519200563430786,
0.20816706120967865,
-0.2755219042301178,
-0.791637659072876,
0.6348823308944702,
-0.9094012975692749,
0.3483369052410126,
... |
func (m *MockSsmClient) EXPECT() *MockSsmClientMockRecorder {
return m.recorder
} | [
0.6677839159965515,
-0.03971458971500397,
0.336255818605423,
0.2804306149482727,
-0.4857337474822998,
0.5973612070083618,
-0.11242937296628952,
0.0145415673032403,
0.09156405180692673,
-0.47520965337753296,
0.8585058450698853,
1.2658852338790894,
-1.1403578519821167,
0.6923584938049316,
... |
func (m *MockSsmClient) GetCommonParameter(parameterSuffix string) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCommonParameter", parameterSuffix)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.4497586488723755,
0.23225314915180206,
0.4696846306324005,
0.8422924876213074,
1.202713966369629,
0.28503572940826416,
1.618143081665039,
-0.4767724573612213,
-0.5481120347976685,
0.27973395586013794,
-0.4836132526397705,
0.6928130984306335,
-1.0434447526931763,
1.2649619579315186,
0.... |
func (mr *MockSsmClientMockRecorder) GetCommonParameter(parameterSuffix interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCommonParameter", reflect.TypeOf((*MockSsmClient)(nil).GetCommonParameter), parameterSuffix)
} | [
0.12957915663719177,
1.0751656293869019,
0.5846325755119324,
0.784613311290741,
0.3849254846572876,
0.45869219303131104,
0.5935431718826294,
-0.5606822967529297,
0.5914328694343567,
0.9894725680351257,
0.4058779776096344,
1.4164897203445435,
-1.30507230758667,
1.3410203456878662,
-0.2212... |
func (m *MockSsmClient) GetOutputBucket() (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetOutputBucket")
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.5452711582183838,
-0.13467679917812347,
0.6586222648620605,
-0.014777381904423237,
1.3704625368118286,
-0.3437724709510803,
1.3218073844909668,
-1.2817955017089844,
-1.3488785028457642,
-0.9039720296859741,
-0.11128220707178116,
-0.5113124847412109,
-0.36576047539711,
0.8033421635627747... |
func (mr *MockSsmClientMockRecorder) GetOutputBucket() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOutputBucket", reflect.TypeOf((*MockSsmClient)(nil).GetOutputBucket))
} | [
-0.4077591300010681,
0.9008067846298218,
0.6830803751945496,
0.22183169424533844,
0.7287514209747314,
-0.2095378190279007,
0.4534780979156494,
-1.3178417682647705,
-0.007980466820299625,
0.1686369627714157,
0.8858584761619568,
0.6449262499809265,
-0.35831424593925476,
0.9665950536727905,
... |
func NewMockCfnClient(ctrl *gomock.Controller) *MockCfnClient {
mock := &MockCfnClient{ctrl: ctrl}
mock.recorder = &MockCfnClientMockRecorder{mock}
return mock
} | [
0.362233966588974,
-0.508459746837616,
0.06417278945446014,
0.04478716850280762,
-0.5791158080101013,
-0.5721413493156433,
1.1075154542922974,
-0.05556743964552879,
-0.06623160094022751,
-0.20288430154323578,
-0.709138810634613,
-0.04688621312379837,
-0.4496924877166748,
0.3306969702243805... |
func (m *MockCfnClient) EXPECT() *MockCfnClientMockRecorder {
return m.recorder
} | [
0.5933755040168762,
-0.18089699745178223,
0.19262579083442688,
-0.23938216269016266,
0.03468828275799751,
-0.19447849690914154,
0.3258258104324341,
0.18670673668384552,
-0.2243969738483429,
-0.6135085225105286,
0.4921730160713196,
0.6198943257331848,
-0.7804372906684875,
0.3452984690666199... |
func (m *MockCfnClient) DeleteStack(stackId string) (chan cfn.DeletionResult, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteStack", stackId)
ret0, _ := ret[0].(chan cfn.DeletionResult)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.1613897979259491,
0.6316072940826416,
0.27771154046058655,
0.6139776110649109,
1.1269408464431763,
-0.7174702882766724,
1.3154078722000122,
-0.43967437744140625,
-0.07329598069190979,
-1.423326015472412,
-0.4078090488910675,
-0.47725650668144226,
-0.6835800409317017,
1.5178498029708862,... |
func (mr *MockCfnClientMockRecorder) DeleteStack(stackId interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteStack", reflect.TypeOf((*MockCfnClient)(nil).DeleteStack), stackId)
} | [
0.24814650416374207,
1.2550630569458008,
0.2268248200416565,
0.2527228593826294,
-0.10348199307918549,
-0.3227057158946991,
0.21688584983348846,
-0.8137928247451782,
1.163772463798523,
-0.2567358613014221,
0.8197799324989319,
0.9824816584587097,
-0.8406268954277039,
1.360816240310669,
0.... |
func (m *MockCfnClient) GetStackInfo(stackName string) (cfn.StackInfo, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetStackInfo", stackName)
ret0, _ := ret[0].(cfn.StackInfo)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.36332783102989197,
0.36980268359184265,
0.4006260335445404,
1.0462418794631958,
1.5709643363952637,
-0.008660456165671349,
1.2866184711456299,
-1.0167797803878784,
-1.503383994102478,
-1.1069004535675049,
-1.6920756101608276,
-0.7390976548194885,
-0.30444759130477905,
1.2056972980499268,... |
func (mr *MockCfnClientMockRecorder) GetStackInfo(stackName interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStackInfo", reflect.TypeOf((*MockCfnClient)(nil).GetStackInfo), stackName)
} | [
0.6440309882164001,
0.9018725156784058,
0.20811600983142853,
0.5194634199142456,
0.659455418586731,
0.16126547753810883,
0.4395933747291565,
-1.1829352378845215,
-0.30082184076309204,
-0.03556866571307182,
-0.5482499003410339,
0.27949225902557373,
-0.4680256247520447,
1.296783208847046,
... |
func (m *MockCfnClient) GetStackOutputs(stackName string) (map[string]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetStackOutputs", stackName)
ret0, _ := ret[0].(map[string]string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.09019157290458679,
0.3464943468570709,
0.3261951804161072,
0.6653957962989807,
0.5356063842773438,
-0.8698129653930664,
1.397016167640686,
-0.8837037682533264,
-1.3185210227966309,
-0.8828722238540649,
-0.19942606985569,
-1.4852921962738037,
-0.5633437037467957,
1.5227035284042358,
0.6... |
func (mr *MockCfnClientMockRecorder) GetStackOutputs(stackName interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStackOutputs", reflect.TypeOf((*MockCfnClient)(nil).GetStackOutputs), stackName)
} | [
0.3444794714450836,
1.0915772914886475,
0.5437759757041931,
0.5171893239021301,
0.03281053528189659,
-0.9037806987762451,
0.4037880599498749,
-1.2532882690429688,
0.08259084075689316,
0.047745704650878906,
0.5798415541648865,
-0.40991082787513733,
-0.31319311261177063,
1.7561358213424683,
... |
func (m *MockCfnClient) GetStackStatus(stackName string) (types.StackStatus, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetStackStatus", stackName)
ret0, _ := ret[0].(types.StackStatus)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.03409603238105774,
0.49952879548072815,
0.5416679382324219,
0.7661644816398621,
1.7014155387878418,
-0.5483086705207825,
0.7824791669845581,
-0.7070366144180298,
-0.9897299408912659,
-1.0450282096862793,
-1.7626774311065674,
-0.3097166419029236,
-0.26061806082725525,
1.5458186864852905,
... |
func (mr *MockCfnClientMockRecorder) GetStackStatus(stackName interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStackStatus", reflect.TypeOf((*MockCfnClient)(nil).GetStackStatus), stackName)
} | [
0.33006203174591064,
1.1207447052001953,
0.30759355425834656,
0.28469350934028625,
0.9180748462677002,
-0.34364819526672363,
-0.0569319985806942,
-0.719314455986023,
0.24697303771972656,
0.1716591715812683,
-0.641074001789093,
0.9278948903083801,
-0.3633943498134613,
1.6639647483825684,
... |
func (m *MockCfnClient) GetStackTags(stackName string) (map[string]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetStackTags", stackName)
ret0, _ := ret[0].(map[string]string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.02340385504066944,
1.045623540878296,
0.45798376202583313,
1.174694299697876,
1.1354416608810425,
-1.0690068006515503,
0.42791756987571716,
-1.0310101509094238,
-1.4495770931243896,
-0.36573001742362976,
-1.4315197467803955,
-0.30290958285331726,
-1.141810417175293,
1.4413676261901855,
... |
func (mr *MockCfnClientMockRecorder) GetStackTags(stackName interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStackTags", reflect.TypeOf((*MockCfnClient)(nil).GetStackTags), stackName)
} | [
0.48667603731155396,
1.5866563320159912,
0.4506447911262512,
0.9164730906486511,
0.4924614131450653,
-1.0991116762161255,
-0.524674654006958,
-1.4507135152816772,
-0.0171254500746727,
0.5515385270118713,
-0.5964924693107605,
0.8176889419555664,
-1.115397334098816,
1.8312588930130005,
0.1... |
func (m *MockCfnClient) ListStacks(regexNameFilter *regexp.Regexp, statusFilter []types.StackStatus) ([]cfn.Stack, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListStacks", regexNameFilter, statusFilter)
ret0, _ := ret[0].([]cfn.Stack)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.45041972398757935,
0.08092238754034042,
0.47858235239982605,
1.1534875631332397,
0.99226313829422,
-0.15408670902252197,
0.6875334978103638,
-0.8271855115890503,
-0.3754103183746338,
-1.2098617553710938,
-0.7141649127006531,
-1.0974785089492798,
-0.18703201413154602,
1.0015299320220947,
... |
func (mr *MockCfnClientMockRecorder) ListStacks(regexNameFilter, statusFilter interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListStacks", reflect.TypeOf((*MockCfnClient)(nil).ListStacks), regexNameFilter, statusFilter)
} | [
0.9294077754020691,
0.8141345381736755,
0.4313109815120697,
0.7912102937698364,
-0.10865989327430725,
-0.061089035123586655,
-0.2766146957874298,
-1.4302699565887451,
0.8548195958137512,
-0.5131334066390991,
0.02730032056570053,
-0.007408213801681995,
-0.15438388288021088,
1.56141149997711... |
func NewMockBatchClient(ctrl *gomock.Controller) *MockBatchClient {
mock := &MockBatchClient{ctrl: ctrl}
mock.recorder = &MockBatchClientMockRecorder{mock}
return mock
} | [
0.5021910071372986,
-0.48391878604888916,
0.26409366726875305,
0.36341941356658936,
-0.5033372044563293,
0.261681467294693,
0.4329122304916382,
-0.4686031937599182,
-0.29856163263320923,
0.07216965407133102,
-0.9011049270629883,
0.7350502014160156,
-0.5233345627784729,
0.8744100332260132,
... |
func (m *MockBatchClient) EXPECT() *MockBatchClientMockRecorder {
return m.recorder
} | [
0.6420705318450928,
-0.3208601176738739,
0.26461073756217957,
-0.053618643432855606,
-0.009730113670229912,
0.29304319620132446,
-0.20823374390602112,
0.17296548187732697,
-0.33135953545570374,
-0.4563581049442291,
0.512255847454071,
1.404995083808899,
-0.7784513235092163,
0.75703686475753... |
func (m *MockBatchClient) GetJobs(jobIds []string) ([]batch.Job, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetJobs", jobIds)
ret0, _ := ret[0].([]batch.Job)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.23477023839950562,
0.5830966830253601,
0.35322436690330505,
0.014128020964562893,
0.9633567333221436,
0.1084362268447876,
0.8087831735610962,
-1.2756894826889038,
-0.2589416801929474,
-0.9078413844108582,
0.18347489833831787,
-0.4056839644908905,
-1.1736432313919067,
0.7313663959503174,
... |
func (mr *MockBatchClientMockRecorder) GetJobs(jobIds interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetJobs", reflect.TypeOf((*MockBatchClient)(nil).GetJobs), jobIds)
} | [
0.284807950258255,
1.4713804721832275,
0.4838399291038513,
-0.2548874318599701,
0.5615365505218506,
-0.27432742714881897,
0.050194911658763885,
-1.7229788303375244,
0.7269126772880554,
-0.021755089983344078,
0.9235655069351196,
0.4115298390388489,
-0.8303358554840088,
1.0482977628707886,
... |
func NewMockCwlClient(ctrl *gomock.Controller) *MockCwlClient {
mock := &MockCwlClient{ctrl: ctrl}
mock.recorder = &MockCwlClientMockRecorder{mock}
return mock
} | [
0.3086787760257721,
-0.236286461353302,
0.003700802568346262,
-0.10509491711854935,
-1.2023707628250122,
0.33344823122024536,
1.1018803119659424,
-0.030209066346287727,
0.3337780833244324,
0.2692195475101471,
-1.1501020193099976,
0.7121652960777283,
-0.6799051761627197,
1.0180062055587769,... |
func (m *MockCwlClient) EXPECT() *MockCwlClientMockRecorder {
return m.recorder
} | [
0.43579035997390747,
0.0222405306994915,
0.2736525237560272,
-0.4150305390357971,
-0.5949571132659912,
0.5088532567024231,
0.2374788075685501,
0.3333481252193451,
0.295867919921875,
-0.4530443251132965,
0.34831157326698303,
1.2840172052383423,
-1.0615204572677612,
1.2126210927963257,
0.3... |
func (m *MockCwlClient) GetLogsPaginated(input cwl.GetLogsInput) cwl.LogPaginator {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetLogsPaginated", input)
ret0, _ := ret[0].(cwl.LogPaginator)
return ret0
} | [
0.38981786370277405,
-0.4056701958179474,
0.8354424834251404,
-0.08054585009813309,
0.8497350215911865,
-0.02200813964009285,
0.5737742781639099,
-0.4766540229320526,
-0.1531255692243576,
-0.6976297497749329,
-1.17919921875,
-0.10909521579742432,
-1.2603230476379395,
0.8485680222511292,
... |
func (mr *MockCwlClientMockRecorder) GetLogsPaginated(input interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogsPaginated", reflect.TypeOf((*MockCwlClient)(nil).GetLogsPaginated), input)
} | [
0.6554256081581116,
0.6527178287506104,
0.592286229133606,
0.051895622164011,
0.013911589048802853,
0.02554556541144848,
-0.6764447093009949,
-1.1557263135910034,
0.7141517996788025,
0.17249900102615356,
-0.4150792062282562,
0.5018938779830933,
-1.24726140499115,
1.0328046083450317,
-0.0... |
func (m *MockCwlClient) StreamLogs(ctx context.Context, logGroupName string, streams ...string) chan cwl.StreamEvent {
m.ctrl.T.Helper()
varargs := []interface{}{ctx, logGroupName}
for _, a := range streams {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "StreamLogs", varargs...)
ret0, _ := ret[0].(chan ... | [
-0.018767476081848145,
-0.1925835907459259,
0.395457923412323,
0.043327122926712036,
-0.37230804562568665,
0.5825798511505127,
0.8180003762245178,
-1.1214276552200317,
-0.6560901403427124,
-0.26707714796066284,
-0.3637406527996063,
0.33509504795074463,
-1.7047048807144165,
0.83389663696289... |
func (mr *MockCwlClientMockRecorder) StreamLogs(ctx, logGroupName interface{}, streams ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{ctx, logGroupName}, streams...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamLogs", reflect.TypeOf((*MockCwlClient)(nil).Stream... | [
0.07114088535308838,
0.4425053894519806,
0.20749470591545105,
-0.07259763777256012,
-1.007249355316162,
0.21451693773269653,
-0.29988089203834534,
-1.627169132232666,
0.4523598551750183,
0.3617694079875946,
0.19345146417617798,
1.2383878231048584,
-1.5097367763519287,
0.8539621233940125,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.