text
stringlengths
11
6.3k
embedding
listlengths
768
768
func NewGetAcrV1NameTagsReferenceUnauthorized() *GetAcrV1NameTagsReferenceUnauthorized { return &GetAcrV1NameTagsReferenceUnauthorized{} }
[ -0.04550962895154953, -0.1263924241065979, 0.6185474395751953, -0.3344169855117798, -0.6749197244644165, -0.3188122808933258, -0.7226094603538513, 0.02491791918873787, -0.3463177978992462, -0.612774133682251, -0.3688713014125824, 1.867915153503418, -0.49519601464271545, -0.2773891985416412...
func NewGetAcrV1NameTagsReferenceNotFound() *GetAcrV1NameTagsReferenceNotFound { return &GetAcrV1NameTagsReferenceNotFound{} }
[ 0.47768479585647583, -0.30836281180381775, 0.19793421030044556, -0.9429087042808533, 0.025229595601558685, 0.20373322069644928, -0.40257084369659424, -0.9281884431838989, -0.5262307524681091, 0.15207158029079437, -0.4639485776424408, 1.2748651504516602, -0.5963500142097473, 0.4699707925319...
func (o *GetAcrV1NameTagsReferenceBadRequestBody) Validate(formats strfmt.Registry) error { var res []error if err := o.validateData(formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil }
[ 0.4462803602218628, 0.5346052646636963, 0.45930448174476624, 0.006670194678008556, 0.354808509349823, -0.24364866316318512, -0.6322839260101318, -1.3259270191192627, -0.41753724217414856, 0.5290933847427368, 0.5020211338996887, 1.2308897972106934, -1.174058198928833, 1.5374977588653564, ...
func (o *GetAcrV1NameTagsReferenceNotFoundBody) Validate(formats strfmt.Registry) error { var res []error if err := o.validateData(formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil }
[ 0.48144301772117615, 0.8006359338760376, 0.19394667446613312, -0.7030192613601685, 0.28416964411735535, -0.07784349471330643, -0.2664806842803955, -1.423516035079956, -0.48443830013275146, 0.8911644816398621, -0.126584991812706, 0.8731451630592346, -1.0569746494293213, 1.5497674942016602, ...
func (o *GetAcrV1NameTagsReferenceOKBody) Validate(formats strfmt.Registry) error { var res []error if err := o.validateData(formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil }
[ 0.8101836442947388, 0.6328235864639282, 0.21406686305999756, -0.4769881069660187, -0.1643257588148117, -0.4665708541870117, -0.2487214058637619, -1.3960034847259521, -0.24041777849197388, 1.2909393310546875, 0.4111006557941437, 0.5467678308486938, -1.0972145795822144, 1.4960222244262695, ...
func (o *GetAcrV1NameTagsReferenceUnauthorizedBody) Validate(formats strfmt.Registry) error { var res []error if err := o.validateData(formats); err != nil { res = append(res, err) } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil }
[ 0.5161862373352051, 0.9682676196098328, 0.39282330870628357, -0.33898448944091797, -0.17915436625480652, -0.3692322373390198, -0.47104978561401367, -0.644343376159668, -0.22372500598430634, 0.4761509597301483, 0.11300180107355118, 1.2161921262741089, -1.170620322227478, 1.1942895650863647,...
func (k8s *Client) createPodLW() *cache.ListWatch { fieldSelector := selector.Everything() if k8s.nodeName != "" { fieldSelector = selector.OneTermEqualSelector("spec.nodeName", k8s.nodeName) } return cache.NewListWatchFromClient(k8s.CoreV1().RESTClient(), "pods", v1.NamespaceAll, fieldSelector) }
[ 0.48993948101997375, -0.03179857134819031, 0.5817877054214478, -0.5787131786346436, 0.5076983571052551, 0.323512464761734, -0.9784601330757141, -0.8138014674186707, -0.03466170281171799, 0.1741398125886917, -0.25755637884140015, 0.4955257773399353, 0.057715851813554764, 0.5080428719520569,...
func (k8s *Client) WatchForPods(podEventLogger cache.ResourceEventHandler, resyncPeriod time.Duration) cache.InformerSynced { k8s.podIndexer, k8s.podController = cache.NewIndexerInformer( k8s.createPodLW(), &v1.Pod{}, resyncPeriod, podEventLogger, cache.Indexers{podIPIndexName: kube2iam.PodIPIndexFunc}, ) ...
[ -0.20530711114406586, 0.002095075324177742, 0.4007580280303955, -0.287526935338974, -0.3879913091659546, -0.48599156737327576, 0.12416808307170868, -0.5799211859703064, 0.17636738717556, -0.7352317571640015, -0.20617668330669403, -0.2753002643585205, 0.5413885116577148, -0.5633132457733154...
func (k8s *Client) createNamespaceLW() *cache.ListWatch { return cache.NewListWatchFromClient(k8s.CoreV1().RESTClient(), "namespaces", v1.NamespaceAll, selector.Everything()) }
[ 1.070476770401001, -0.25435346364974976, 0.3561212122440338, -0.034018732607364655, 0.023361684754490852, 0.5727330446243286, -1.1443965435028076, -0.865786075592041, 1.0600180625915527, -0.2317401021718979, -0.8226731419563293, 0.39272943139076233, 0.009432475082576275, 1.6261394023895264...
func (k8s *Client) WatchForNamespaces(nsEventLogger cache.ResourceEventHandler, resyncPeriod time.Duration) cache.InformerSynced { k8s.namespaceIndexer, k8s.namespaceController = cache.NewIndexerInformer( k8s.createNamespaceLW(), &v1.Namespace{}, resyncPeriod, nsEventLogger, cache.Indexers{namespaceIndexName...
[ 0.3488631844520569, 0.46424561738967896, 0.24276213347911835, -0.10132580250501633, -0.9374149441719055, 0.05920551344752312, -0.1386508196592331, -1.1833337545394897, 0.6348567605018616, -0.9048289656639099, -0.2807556390762329, 0.1468174159526825, 0.34817907214164734, 0.6794922351837158,...
func (k8s *Client) ListPodIPs() []string { // Decided to simply dump this and leave it up to consumer // as k8s package currently doesn't need to be concerned about what's // a signficant annotation to process, that is left up to store/server return k8s.podIndexer.ListIndexFuncValues(podIPIndexName) }
[ -1.2669849395751953, -0.8233183026313782, 0.42829814553260803, -0.0422782301902771, -0.4902365505695343, -0.2712799906730652, -0.9678618907928467, -0.6917129158973694, 0.6557886600494385, 0.140906423330307, -0.1759641468524933, -0.11158616095781326, -0.17883069813251495, -0.496998041868209...
func (k8s *Client) ListNamespaces() []string { return k8s.namespaceIndexer.ListIndexFuncValues(namespaceIndexName) }
[ -0.20154815912246704, -0.17050756514072418, 0.1522487848997116, -0.19652648270130157, -0.5432391166687012, -0.046720098704099655, -0.43800994753837585, -1.5209622383117676, 1.391074299812317, -0.11702968925237656, -0.24146661162376404, 0.6603273153305054, -0.7599555253982544, 0.11962731927...
func (k8s *Client) PodByIP(IP string) (*v1.Pod, error) { pods, err := k8s.podIndexer.ByIndex(podIPIndexName, IP) if err != nil { return nil, err } if len(pods) == 1 { return pods[0].(*v1.Pod), nil } if len(pods) == 0 { metrics.PodNotFoundInCache.Inc() if k8s.useAPIOnCacheIssues { pod, err := getPodFr...
[ -0.86113440990448, 0.1743139922618866, 0.6143408417701721, 0.03948333486914635, -0.3308488130569458, -0.701026439666748, 0.48982006311416626, -0.778138279914856, 0.7895565629005432, 1.3338203430175781, 0.4345262348651886, -0.18162815272808075, -0.23749667406082153, -0.8114996552467346, 0...
func getPodFromAPIByIP(k8s *Client, IP string) (*v1.Pod, error) { log.Infof("getPodFromAPIByIP: kubelet Searching IP %s for: spec.nodeName==%s", IP, k8s.nodeName) kubeletClient, err := kubelet.NewKubeletClient(kubelet.KubeletClientConfig{APIEndpoint: "http://localhost:10255/pods", InsecureSkipVerify: true}) if err !...
[ -0.17783233523368835, -0.15000982582569122, 0.6256734728813171, 0.08917320519685745, -0.02080419845879078, -0.3134493827819824, 0.009805695153772831, -0.8579461574554443, 0.21733172237873077, 1.0558370351791382, 0.827400267124176, -0.24181480705738068, -0.39253106713294983, -0.881568968296...
func (k8s *Client) NamespaceByName(namespaceName string) (*v1.Namespace, error) { namespace, err := k8s.namespaceIndexer.ByIndex(namespaceIndexName, namespaceName) if err != nil { return nil, err } if len(namespace) == 0 { errMsg := fmt.Errorf("namespace was not found") log.Error(errMsg) return nil, errMsg...
[ 0.06161867082118988, -0.12464577704668045, 0.07960822433233261, 0.20845575630664825, -0.25320830941200256, -1.1210172176361084, 0.14437393844127655, -1.4855916500091553, 0.5638324022293091, 0.9379363059997559, 0.03342527523636818, 0.014055278152227402, -1.1044129133224487, -0.1376481503248...
func NewClient(host, token, nodeName string, insecure, UseAPIOnCacheIssues bool) (*Client, error) { var config *rest.Config var err error if host != "" && token != "" { config = &rest.Config{ Host: host, BearerToken: token, TLSClientConfig: rest.TLSClientConfig{ Insecure: insecure, }, } }...
[ 0.5262382626533508, 0.2983568608760834, 0.6251091361045837, 0.11575448513031006, -0.5990779995918274, -0.11132407933473587, -0.5012141466140747, -0.10777503997087479, -0.5561046600341797, 0.33343231678009033, 0.6935803890228271, 0.7181428670883179, -0.7194643020629883, -1.05605149269104, ...
func Run(ctx context.Context, p *beam.Pipeline) error { _, err := beam.Run(ctx, getRunner(), p) return err }
[ 0.21273550391197205, 0.15653075277805328, 0.25507524609565735, 0.4406209886074066, 0.13007326424121857, 0.35560187697410583, 0.04974138364195824, 0.7369392514228821, -0.2382534146308899, -0.06381706893444061, -1.0153669118881226, 0.48471805453300476, -0.5726478099822998, 0.0488619133830070...
func RunWithMetrics(ctx context.Context, p *beam.Pipeline) (beam.PipelineResult, error) { return beam.Run(ctx, getRunner(), p) }
[ 0.3167090117931366, 0.10935768485069275, 0.33562180399894714, 0.2104756236076355, -1.084714651107788, 0.48072442412376404, -0.17764073610305786, -0.7453016638755798, -0.631931483745575, -0.2343064844608307, -0.3662492632865906, 0.4819489121437073, -0.9804970622062683, -0.6462157964706421, ...
func (build *blockBuilder) Create() chained.BlockBuilder { build.id = nil build.met = nil build.blk = nil build.prevID = nil build.crOn = nil return build }
[ 0.38644734025001526, 0.05668013542890549, 0.41024938225746155, 0.8569389581680298, 0.6657383441925049, 0.5604507923126221, -0.1239742711186409, -0.25685515999794006, -0.4531981945037842, -0.5799674987792969, -0.4164402186870575, 0.208730086684227, -1.6329560279846191, 0.9399940967559814, ...
func (build *blockBuilder) WithID(id *uuid.UUID) chained.BlockBuilder { build.id = id return build }
[ 0.3241683840751648, -0.7111745476722717, 0.4144846200942993, 0.8829405903816223, -0.3611007332801819, 0.7059236764907837, 0.3296959102153778, 0.364739328622818, 0.7506253123283386, -0.43652668595314026, -0.7366321086883545, 0.47846952080726624, -0.88709557056427, 0.4211837351322174, -0.6...
func (build *blockBuilder) WithMetaData(met chained.MetaData) chained.BlockBuilder { build.met = met return build }
[ 0.6109713912010193, -0.5848330855369568, 0.3103896677494049, 0.34058496356010437, 0.15307162702083588, 0.8775651454925537, -0.03020128235220909, 0.06951626390218735, -0.0010157108772546053, -0.23122215270996094, -0.23587585985660553, 0.396203875541687, 0.07844898104667664, 0.41359198093414...
func (build *blockBuilder) WithBlock(blk validated.Block) chained.BlockBuilder { build.blk = blk return build }
[ 0.29557424783706665, 0.11882191896438599, 0.6025381088256836, 1.191233515739441, 0.10264986008405685, 0.1814400851726532, 0.6050876975059509, 0.2691793441772461, 0.6718476414680481, -1.4721441268920898, -0.2904316782951355, 0.3735441267490387, -0.6657865643501282, 0.48266685009002686, 0....
func (build *blockBuilder) WithPreviousID(prevID *uuid.UUID) chained.BlockBuilder { build.prevID = prevID return build }
[ 0.6876406669616699, -0.673193633556366, 0.4895617663860321, 0.4648856520652771, -0.338771253824234, 0.2889179289340973, 0.6141611933708191, 0.10907227545976639, 0.471972793340683, 0.025547463446855545, 0.06210707873106003, 0.5377031564712524, -0.6309678554534912, 0.37255358695983887, -0....
func (build *blockBuilder) CreatedOn(crOn time.Time) chained.BlockBuilder { build.crOn = &crOn return build }
[ 1.6699267625808716, -0.6033409833908081, 0.5279335379600525, 0.9930809736251831, 0.2523208260536194, 0.6879218220710754, -0.7263985872268677, 0.5597196221351624, -0.018535537645220757, -1.2522574663162231, -1.0746333599090576, 0.792765736579895, -0.8800349235534668, 0.7092927694320679, 0...
func (build *blockBuilder) Now() (chained.Block, error) { if build.blk == nil { return nil, errors.New("the validated block is mandatory in order to build a Block instance") } if build.met == nil { if build.id == nil { return nil, errors.New("the ID is mandatory in order to build a Block instance") } ...
[ 0.22654405236244202, -0.3220760226249695, 0.8763793706893921, 0.4433102011680603, 0.6217910051345825, 0.25381118059158325, -0.27700817584991455, 0.011985297314822674, -1.404609203338623, -0.6152452230453491, -0.6534760594367981, 0.6395038366317749, -0.5090011954307556, 0.22873321175575256,...
func NewRepositories() *repository.Repositories { driver := config.Get("driver") var impl *repository.Repositories if driver == "mysql" { log.Info().Msg("Select mysql as a driver for repositories") db, err := mysql.NewDB() if err != nil { log.Panic().Msg(err.Error()) } impl = &repository.Repositories{...
[ -0.5545838475227356, -0.010213539004325867, 0.32772278785705566, -0.4128962457180023, -0.35059911012649536, -1.1628276109695435, -0.458096444606781, 0.1803949624300003, 0.8436887860298157, -0.2746666967868805, 0.030945736914873123, -0.5436086058616638, -0.6157308220863342, 0.75542771816253...
func New(ctx context.Context, rate, timespan int) (Bucket, error) { q := make(chan struct{}, rate) b := Bucket{ctx: ctx, queue: q, rate: rate, timespan: timespan} go b.leak() return b, nil // maybe return pointer? }
[ -0.14318285882472992, -0.12131071090698242, 0.5634132027626038, -0.41332998871803284, -0.6032102704048157, -0.13903501629829407, -0.2178412824869156, -1.706032156944275, 0.07816946506500244, -0.6853980422019958, 0.0876467376947403, 0.7165844440460205, 0.8023729920387268, 0.0653571784496307...
func (b *Bucket) Add() bool { select { case <-b.ctx.Done(): return false // do what? case b.queue <- struct{}{}: return true default: return false } }
[ -1.0346912145614624, -0.18938888609409332, 0.8317894339561462, 0.44616320729255676, 0.5324532985687256, 0.7702894806861877, -0.5113883018493652, -0.4079096019268036, 0.23284697532653809, -0.44183817505836487, -0.40403568744659424, -0.27782732248306274, -0.8301824927330017, 0.32935953140258...
func (b *Bucket) Kill() error { return nil }
[ 0.024629712104797363, -1.033963918685913, 0.32624173164367676, 1.1992671489715576, 0.6871922612190247, 0.9013539552688599, 0.0026591457426548004, 0.09293192625045776, -0.07194072008132935, -0.41619157791137695, -0.9637773036956787, 0.37141627073287964, -0.08375655114650726, -0.690429568290...
func (b *Bucket) IsAlive() bool { select { case <-b.ctx.Done(): return false default: return true } }
[ -0.44860896468162537, -0.41918042302131653, 0.8835119605064392, 0.8019517660140991, 1.0926275253295898, 0.15788067877292633, -0.6781646609306335, -0.30162790417671204, -0.14646999537944794, 0.48367568850517273, -1.153472900390625, -0.8729770183563232, -1.6572107076644897, -0.77747088670730...
func (u *LocalUploader) Upload(path string, object []byte) error { f, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE, 0600) if err != nil { return err } defer f.Close() if _, err := fmt.Fprintln(f, string(object)); err != nil { return err } return nil }
[ -0.12809142470359802, -0.5382853150367737, 0.7780807018280029, -0.553401529788971, 0.09264051169157028, 0.8104461431503296, 0.2184130847454071, -0.2852129638195038, -0.6043749451637268, 0.26626884937286377, -0.12473208457231522, 0.6212794780731201, -0.24329985678195953, -0.3627254068851471...
func initialise(config json.RawMessage, ll logrus.Level) (result chan error, hchan chan heartbeat.Beat, schan chan check.Status, err error) { log = logger.New("amqpListen", ll) log.Debug("Initialising AMQP listener") brokerInstance, err = newBroker(config) if err != nil { return nil, nil, nil, errors.Wrap(err, ...
[ 0.6364043354988098, -0.4209744930267334, 0.7332967519760132, -0.5772637128829956, 0.24245868623256683, 0.5264933705329895, -0.3484193980693817, 0.014676591381430626, -0.6838294267654419, 1.167386531829834, -0.7630223035812378, 0.12828929722309113, -0.9452576041221619, 0.6121572852134705, ...
func newBroker(config []byte) (*broker, error) { var b broker var c Config if err := json.Unmarshal(config, &c); err != nil { return &b, errors.Wrap(err, "unable to parse AMQP config") } if err := c.validate(); err != nil { return &b, errors.Wrap(err, "could not validate config") } b.Config = c b.closed = m...
[ -0.15543805062770844, -0.6802144050598145, 0.5541625618934631, 0.8703541159629822, -1.3402795791625977, 0.2641095519065857, -0.3106725215911865, 0.41452711820602417, 0.6766271591186523, 0.32381606101989746, -0.4185519516468048, 0.0016223200364038348, -1.0809749364852905, 0.0073498184792697...
func StringToKeyUsage(keyUsage string) (x509.KeyUsage, error) { var u x509.KeyUsage ku := strings.Split(keyUsage, ",") for _, key := range ku { if key == "" { continue } if v, ok := KeyUsageChoices[key]; ok { u = u | v } else { return 0, fmt.Errorf("unknown key usage: %s", key) } } return u, nil...
[ -0.6384604573249817, -0.5335186123847961, 0.29020294547080994, -0.4001343548297882, -0.6029627919197083, -1.0067251920700073, -0.5594813227653503, -0.21441610157489777, -0.1306695193052292, 1.1024425029754639, 0.27514520287513733, 0.5145632028579712, -0.7827771902084351, -0.604172825813293...
func StringToExtKeyUsage(extKeyUsage string) ([]x509.ExtKeyUsage, error) { var u []x509.ExtKeyUsage ke := strings.Split(extKeyUsage, ",") for _, key := range ke { if key == "" { continue } if v, ok := ExtKeyUsageChoices[key]; ok { u = append(u, v) } else { return nil, fmt.Errorf("unknown extended ke...
[ -0.6424692273139954, -0.5156409740447998, 0.34348931908607483, 0.08737920224666595, -0.2959423363208771, -0.6472051739692688, -1.0739457607269287, 0.1388358771800995, 0.18076609075069427, 1.794217586517334, -0.5261943936347961, 1.4375176429748535, -0.38489416241645813, -0.13413716852664948...
func StringToDNSAddressList(dnsList string) []string { temp := strings.Split(dnsList, ",") adds := []string{} for _, t := range temp { if t == "" { continue } adds = append(adds, t) } return adds }
[ -0.7670612335205078, -0.008975528180599213, 0.5380080342292786, -0.006645990069955587, 0.6687202453613281, 0.1982327401638031, -0.5793273448944092, 0.42766863107681274, 1.5974690914154053, 0.8632118105888367, -1.8027411699295044, 0.9984136819839478, 0.09100908786058426, -0.1846909970045089...
func StringToIPAddressList(ipList string) ([]net.IP, error) { temp := strings.Split(ipList, ",") ips := []net.IP{} for _, t := range temp { if t == "" { continue } parsed := net.ParseIP(t) if parsed == nil { return nil, fmt.Errorf("cannot parse %s as an IP address", t) } ips = append(ips, parsed) ...
[ -0.9995445013046265, -0.7372760772705078, 0.2763560116291046, 0.07921107858419418, 0.04600400850176811, -0.3692851662635803, -0.36240139603614807, 0.9624586701393127, 0.8280913829803467, 0.9756332635879517, -0.8768707513809204, -0.5147110819816589, -0.4065139889717102, -0.8251453638076782,...
func GenerateX509SelfSignedCertificate(c *X509Simplified, key *rsa.PrivateKey) ([]byte, error) { if c.Serial == nil { c.Serial = new(big.Int).SetInt64(0) } return GenerateX509Certificate(c, nil, key, key) }
[ -0.22837838530540466, 0.4216042160987854, 0.4008197486400604, -0.02369615249335766, -0.6911024451255798, -1.5608981847763062, 0.7639849781990051, 0.5749998092651367, -0.033668696880340576, -0.0982285663485527, -1.4580206871032715, -0.18910257518291473, -0.5587043762207031, 0.74420547485351...
func GenerateX509Certificate(c *X509Simplified, parent *x509.Certificate, publicKey *rsa.PrivateKey, signingKey *rsa.PrivateKey) ([]byte, error) { subject := pkix.Name{ CommonName: c.Subject.CommonName, } if c.Subject.Organization != "" { subject.Organization = []string{c.Subject.Organization} } if c.Subject....
[ 0.48474252223968506, 0.7746558785438538, 0.6566376686096191, -0.06746990233659744, -0.732592761516571, -0.20994795858860016, -0.03540685400366783, 0.232721745967865, 0.20797577500343323, -0.017674645408988, -0.7946731448173523, -0.455264151096344, -0.8077285289764404, 0.4741779863834381, ...
func WritePEM(cert []byte) (string, error) { var p bytes.Buffer err := pem.Encode( &p, &pem.Block{ Type: "CERTIFICATE", Bytes: cert, }) if err != nil { return "", fmt.Errorf("error PEM encoding certificate: %s", err.Error()) } return p.String(), nil }
[ -0.4549880027770996, -0.30640318989753723, 0.5879143476486206, 0.8095212578773499, -0.43040257692337036, 0.825038731098175, 0.13614331185817719, 0.20943953096866608, 0.6580359935760498, 0.4129515290260315, -0.5071951150894165, -0.40251296758651733, -0.7333841919898987, -0.01407261285930872...
func ReadPEM(cert []byte) (*x509.Certificate, error) { der, _ := pem.Decode(cert) if der == nil { return nil, errors.New("certificate doesn't contain a PEM encoded key") } c, err := x509.ParseCertificate(der.Bytes) if err != nil { return nil, fmt.Errorf("cannot parse certificate: %s", err.Error()) } return...
[ 0.1983085423707962, 0.07816596329212189, 0.6107979416847229, 0.8834363222122192, -0.8696481585502625, -0.19531796872615814, -0.3037209212779999, 0.3585413694381714, 0.44325438141822815, -0.11869397759437561, -0.007009290158748627, -0.49679985642433167, -0.7450977563858032, -0.5370112061500...
func NewLock(ctx context.Context, db *sql.DB, cfg Config) (*Lock, error) { p := &util.Prepare{Ctx: ctx, DB: db} return &Lock{ db: db, cfg: cfg, advLockStmt: p.P(`select pg_try_advisory_xact_lock_shared($1)`), lockStmt: p.P(` select version from engine_processing_versions where type_i...
[ -0.09768125414848328, 0.16539232432842255, 0.5224987864494324, 0.23112285137176514, -0.03503027185797691, 0.06799067556858063, 0.2109074890613556, -0.4193820357322693, -0.2606313228607178, 0.8159350156784058, 0.45905694365501404, 0.38152652978897095, 0.044184692203998566, 0.223415836691856...
func (l *Lock) WithTx(ctx context.Context, fn func(context.Context, *sql.Tx) error) error { tx, err := l._BeginTx(ctx, l.db, nil) if err != nil { return err } defer sqlutil.Rollback(ctx, "processing lock: with tx", tx) err = fn(ctx, tx) if err != nil { return err } err = tx.Commit() if err != nil { ret...
[ 0.14544832706451416, 0.3532252907752991, 0.8041502833366394, -0.444311261177063, -0.48873600363731384, -0.22487792372703552, -0.3216436207294464, 0.16897492110729218, 0.2629448473453522, 0.6277431845664978, -0.16660237312316895, -0.3064958453178406, 0.6599071025848389, -0.9616637825965881,...
func (l *Lock) BeginTx(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error) { return l._BeginTx(ctx, l.db, opts) }
[ 0.014725952409207821, 0.8272689580917358, 0.3828478157520294, 0.5290805697441101, -0.5208978056907654, -0.063979871571064, 0.1549501121044159, -0.9103834629058838, 1.0861635208129883, -0.0780169889330864, -0.3584112226963043, 0.05223548784852028, -0.058639101684093475, -0.5470369458198547,...
func (l *Lock) Exec(ctx context.Context, stmt *sql.Stmt, args ...interface{}) (sql.Result, error) { return l._Exec(ctx, l.db, stmt, args...) }
[ 0.2559427320957184, 0.9402391910552979, 0.46568039059638977, 0.5123825073242188, -0.20496976375579834, -0.387910395860672, -0.891202986240387, -0.8190454244613647, -0.438539057970047, 0.6111553311347961, -0.12468136847019196, -0.009714041836559772, -0.2306363582611084, -0.6742175817489624,...
func (rbt *RBTree) Search(d interface{}) RBTreeIterator { rbt.init() sentinel := rbt.sentinel node := rbtreeLowerBound(d, forward(rbt)) if node != sentinel && rbt.Compare(d, node.Data) != 0 { node = sentinel } return RBTreeIterator{ tree: rbt, node: node, } }
[ 0.030634906142950058, 0.3566615581512451, 0.39783763885498047, -0.5196589827537537, -0.2496606558561325, 0.7154031991958618, 0.08248279988765717, -1.387747049331665, -0.006062033120542765, -0.14902831614017487, 0.6770414710044861, 0.9158726930618286, -0.9188969135284424, 1.5732814073562622...
func (rbt *RBTree) SearchRange(d interface{}) *RBTreeRange { rbt.init() sentinel := rbt.sentinel begin := rbtreeLowerBound(d, forward(rbt)) if begin != sentinel && rbt.Compare(d, begin.Data) != 0 { return &RBTreeRange{ Begin: RBTreeIterator{tree: rbt, node: sentinel}, End: RBTreeIterator{tree: rbt, node...
[ -0.4551345407962799, -0.1962350308895111, 0.5529614686965942, 0.12657368183135986, -0.015881123021245003, -0.022059626877307892, -0.22235828638076782, -0.9852644205093384, -0.41507968306541443, -0.3251124918460846, 0.45851948857307434, 0.3745231628417969, -0.8455663323402405, 1.36838090419...
func (rbt *RBTree) LowerBound(d interface{}) RBTreeIterator { rbt.init() return RBTreeIterator{ tree: rbt, node: rbtreeLowerBound(d, forward(rbt)), } }
[ 0.3785037100315094, -0.8258096575737, 0.47940993309020996, -0.8125714063644409, 0.44465604424476624, -0.13697181642055511, -0.03211575746536255, -1.1394684314727783, 0.9552893042564392, -0.2921929359436035, 0.46796539425849915, 1.5065648555755615, -0.8516992926597595, 1.6729711294174194, ...
func (rbt *RBTree) UpperBound(d interface{}) RBTreeIterator { rbt.init() return RBTreeIterator{ tree: rbt, node: rbtreeUpperBound(d, forward(rbt)), } }
[ -0.3773142397403717, -0.768473207950592, 0.47669243812561035, -0.0355791300535202, 0.04241347685456276, 0.1566874086856842, 0.157765731215477, -0.3485155999660492, 0.8038041591644287, 0.1619383990764618, 0.09193360060453415, 1.1206316947937012, 0.3314707279205322, 1.2192944288253784, 0.0...
func (rbt *RBTree) RDelete(it RBTreeReverseIterator) RBTreeReverseIterator { rbt.init() if it.tree != rbt { panic("the iterator does not belong to the red-black tree, can not delete") } sentinel := rbt.sentinel node := it.node if node == sentinel { panic("the iterator is already at the end of the red-black ...
[ 0.04089934378862381, 0.17179718613624573, 0.7678430080413818, -0.12081160396337509, 0.5298700928688049, 0.4397076368331909, -0.28484225273132324, -0.5025034546852112, 0.23525652289390564, 0.7710552215576172, 0.6337447762489319, 0.3481345772743225, -1.4959943294525146, 0.5721921324729919, ...
func (rbt *RBTree) RSearch(d interface{}) RBTreeReverseIterator { rbt.init() sentinel := rbt.sentinel node := rbtreeLowerBound(d, reverse(rbt)) if node != sentinel && rbt.Compare(d, node.Data) != 0 { node = sentinel } return RBTreeReverseIterator{ tree: rbt, node: node, } }
[ -0.4024234712123871, 0.6978460550308228, 0.4179077744483948, -0.3168335556983948, -0.28979653120040894, 0.42602697014808655, 0.08760049939155579, -1.189038872718811, -0.43922513723373413, 0.12750768661499023, 0.33920881152153015, 1.2153034210205078, -1.0653146505355835, 0.7928086519241333,...
func (rbt *RBTree) RSearchRange(d interface{}) *RBTreeReverseRange { rbt.init() sentinel := rbt.sentinel begin := rbtreeLowerBound(d, reverse(rbt)) if begin != sentinel && rbt.Compare(d, begin.Data) != 0 { return &RBTreeReverseRange{ Begin: RBTreeReverseIterator{tree: rbt, node: sentinel}, End: RBTreeRe...
[ -0.8930588960647583, -0.08762640506029129, 0.5160120129585266, 0.1731943041086197, -0.26053014397621155, -0.07759477198123932, -0.09414530545473099, -0.9400382041931152, -0.3710305988788605, 0.0791691392660141, 0.053722064942121506, 0.865677535533905, -1.1256204843521118, 1.023273110389709...
func (rbt *RBTree) RLowerBound(d interface{}) RBTreeReverseIterator { rbt.init() return RBTreeReverseIterator{ tree: rbt, node: rbtreeLowerBound(d, reverse(rbt)), } }
[ 0.055735185742378235, -0.5907371044158936, 0.4361732602119446, -0.67454993724823, -0.12176389992237091, 0.19080038368701935, 0.07605911046266556, -1.1647818088531494, 0.12676221132278442, 0.23438520729541779, -0.15590643882751465, 1.3677842617034912, -1.1040273904800415, 1.267284870147705,...
func (rbt *RBTree) RUpperBound(d interface{}) RBTreeReverseIterator { rbt.init() return RBTreeReverseIterator{ tree: rbt, node: rbtreeUpperBound(d, reverse(rbt)), } }
[ -1.1466397047042847, -0.3005449175834656, 0.6505622863769531, -0.7471005916595459, -0.07904191315174103, 0.2059798240661621, -0.284062922000885, -0.377568781375885, 0.14114481210708618, 0.049310725182294846, -0.142737478017807, 1.1871403455734253, -0.43177708983421326, 0.8985564708709717, ...
func (rbt *RBTree) RRange() *RBTreeReverseRange { rbt.init() return &RBTreeReverseRange{ Begin: rbt.RBegin(), End: rbt.REnd(), } }
[ -0.5971806049346924, -0.41928547620773315, 0.4602673053741455, -0.339641273021698, 0.20694389939308167, 0.5148518085479736, -0.5564427375793457, -0.02915719710290432, -0.6809722185134888, 0.0786367878317833, -0.09258707612752914, 1.0604029893875122, -1.366051197052002, 0.9933370351791382, ...
func (rbt *RBTree) RBegin() RBTreeReverseIterator { rbt.init() return RBTreeReverseIterator(rbtreeBeginIterator(reverse(rbt))) }
[ -0.5779041647911072, -0.5285206437110901, 0.5280766487121582, -0.16819266974925995, 0.230208158493042, 0.11577285826206207, 0.19317559897899628, -0.1981012225151062, -0.6769153475761414, 0.28465208411216736, -0.038438498973846436, 1.6689761877059937, -1.0582361221313477, 1.0150011777877808...
func (rbt *RBTree) REnd() RBTreeReverseIterator { rbt.init() return RBTreeReverseIterator(rbtreeEndIterator(reverse(rbt))) }
[ 0.034015242010354996, -0.9545357823371887, 0.4737047851085663, -0.21105314791202545, 0.018915541470050812, 0.4303760826587677, -0.42768773436546326, 0.16733019053936005, -0.5848309397697449, -0.29943686723709106, 0.44983038306236267, 1.17630934715271, -1.029480218887329, 1.5661405324935913...
func Of(values ...interface{}) Stream { return nil }
[ 0.32900771498680115, 0.4805413484573364, 0.5260027050971985, 0.5426472425460815, 0.34289973974227905, -0.8212234377861023, 0.24631237983703613, -1.2221404314041138, -0.44800207018852234, -1.6530579328536987, 0.040641386061906815, 0.07387509196996689, -0.030063334852457047, 1.36391079425811...
func NewConfig(configFile string) (*Config, error) { cfg := &Config{ Host: "0.0.0.0", Port: 8080, AllowEmptyClientSecret: false, Scopes: []string{"openid", "profile", "email", "offline_access"}, UsernameClaim: "nickname", EmailClaim: ...
[ 0.768191397190094, -0.28920015692710876, 0.8738498091697693, 0.15546028316020966, -0.31778815388679504, 0.33859625458717346, 0.5113329887390137, 0.5601497292518616, -0.7111786603927612, 0.7789591550827026, 0.05283384770154953, 0.5276315212249756, -0.38920480012893677, 0.6924254894256592, ...
func (cfg *Config) Validate() error { checks := []struct { bad bool errMsg string }{ {cfg.AuthorizeURL == "", "no authorizeURL specified"}, {cfg.TokenURL == "", "no tokenURL specified"}, {cfg.ClientID == "", "no clientID specified"}, {cfg.ClientSecret == "" && !cfg.AllowEmptyClientSecret, "no clientSec...
[ -0.511864423751831, 0.10419570654630661, 0.5220860838890076, 0.38179054856300354, 0.7992340326309204, 0.1793096959590912, -0.5155321359634399, -0.20618979632854462, -0.36197617650032043, -0.07183700054883957, -0.17915458977222443, -0.04580984637141228, -0.5694773197174072, 1.11646974086761...
func (cfg *Config) GetRootPathPrefix() string { if len(cfg.HTTPPath) == 0 { return "/" } return strings.TrimRight(cfg.HTTPPath, "/") }
[ -0.0416431799530983, -0.11313828080892563, 0.7267434597015381, 1.2392315864562988, -0.2383878380060196, 0.22409750521183014, -0.06654022634029388, 0.3866802155971527, 0.8249546885490417, 0.27142998576164246, 0.5215944647789001, 0.019968435168266296, -0.47014275193214417, 1.2299444675445557...
func (defaultStorage) GetSectionList() []string { panic(noConfigStorage) }
[ -0.349155068397522, -0.15022972226142883, 0.45215460658073425, 1.3858495950698853, 1.0972610712051392, -0.07731663435697556, -0.7773471474647522, -0.5537555813789368, -0.045150287449359894, 0.1626056283712387, -0.8358283042907715, -0.9100382924079895, 0.5916441679000854, 0.6646373867988586...
func (defaultStorage) HasSection(section string) bool { panic(noConfigStorage) }
[ -0.24268576502799988, 0.43572917580604553, 0.39139726758003235, 0.7006816864013672, 0.30729037523269653, -0.19896024465560913, -0.36502566933631897, 0.18513424694538116, -0.45100194215774536, -0.2832450270652771, -0.6236074566841125, -1.5922646522521973, 0.8395399451255798, 0.6316474080085...
func (defaultStorage) DeleteSection(section string) { panic(noConfigStorage) }
[ -0.2925422489643097, 0.42361220717430115, 0.23153001070022583, 0.6474384665489197, 0.3552210032939911, 0.006835565436631441, -0.10192663222551346, 0.10146976262331009, 0.06679023057222366, -0.42525017261505127, -0.27405667304992676, -1.1560039520263672, 0.6712633371353149, 0.91230601072311...
func (defaultStorage) GetKeyList(section string) []string { panic(noConfigStorage) }
[ -0.5211822390556335, 0.2089012712240219, 0.3284997344017029, 0.9733759760856628, 0.5272679328918457, -0.36554965376853943, -0.7153556942939758, -0.6631761789321899, -0.2561163604259491, 1.1431291103363037, -1.2241132259368896, -0.5875604152679443, 0.24223069846630096, 0.5388814806938171, ...
func (defaultStorage) GetValue(section string, key string) (value string, found bool) { panic(noConfigStorage) }
[ -0.23240937292575836, 0.5491779446601868, 0.379156231880188, 1.196342945098877, 0.40456095337867737, -0.16098923981189728, -0.8789618611335754, -0.5517078042030334, -0.5135549902915955, 1.0192731618881226, -0.1895342916250229, -0.7031195759773254, 0.16253992915153503, 0.011911941692233086,...
func (defaultStorage) SetValue(section string, key string, value string) { panic(noConfigStorage) }
[ -0.416476845741272, 0.4734804630279541, 0.27146363258361816, 1.2333863973617554, 0.17089633643627167, 0.07568947225809097, -1.0700960159301758, -0.16694176197052002, -0.6548444628715515, 0.7062755823135376, -0.3807051479816437, -0.5776055455207825, 0.3387719392776489, 0.20403246581554413, ...
func (defaultStorage) DeleteKey(section string, key string) bool { panic(noConfigStorage) }
[ -0.5233472585678101, 0.6004379391670227, 0.21121466159820557, 1.0216166973114014, 0.2917715907096863, 0.003318071598187089, -0.9571086168289185, 0.19847352802753448, -0.3802420496940613, 0.5868165493011475, -0.32077765464782715, -1.0653533935546875, -0.3152485489845276, 0.43968579173088074...
func (defaultStorage) Load() error { panic(noConfigStorage) }
[ -0.015579776838421822, 0.8337700963020325, 0.05310753360390663, 0.7596281170845032, 0.392456591129303, 0.037363797426223755, -0.451216459274292, -0.1761431246995926, -0.5877376198768616, 0.1425238847732544, -0.7697213292121887, -1.13251531124115, -0.21596965193748474, -0.16359449923038483,...
func (defaultStorage) Save() error { panic(noConfigStorage) }
[ -0.042145438492298126, 0.7679534554481506, 0.09507593512535095, 1.0039061307907104, 0.9097773432731628, -0.26328226923942566, -0.07027395069599152, -0.21423162519931793, -0.7956225872039795, 0.33304834365844727, -1.4033581018447876, -1.0351276397705078, -0.3572554886341095, 0.6008179783821...
func (defaultStorage) Serialize() (string, error) { panic(noConfigStorage) }
[ -0.44708770513534546, 0.9297201633453369, 0.23551680147647858, 1.2847459316253662, 0.5881579518318176, -0.6735737919807434, -0.2734542191028595, -0.25428256392478943, -0.28040939569473267, 0.49337196350097656, -0.7170893549919128, -0.8844494819641113, -0.7080771327018738, 0.088216714560985...
func (ms *multiSorter) Sort(processos []Processo) { ms.processos = processos sort.Sort(ms) }
[ 0.03009939193725586, -0.7586252093315125, 0.23326238989830017, 0.6615963578224182, -0.3159448504447937, 0.14259807765483856, -0.47259241342544556, -0.3000287115573883, -0.3603934347629547, -0.8146398663520813, -0.2022312432527542, 0.8731786608695984, -0.19851154088974, 1.8170076608657837, ...
func OrderedBy(less ...lessFunc) *multiSorter { return &multiSorter{ less: less, } }
[ 0.419431209564209, 0.11700408160686493, 0.4494883120059967, 0.6545339226722717, -0.663755476474762, -0.2362813502550125, -0.326316237449646, -0.5920436382293701, -0.6629050374031067, -1.2775546312332153, -0.47610893845558167, -0.7899335622787476, -0.32981523871421814, 0.8410428762435913, ...
func (ms *multiSorter) Len() int { return len(ms.processos) }
[ 0.36936330795288086, -0.13991233706474304, 0.12472853809595108, -0.29662367701530457, 0.18887485563755035, -0.4674006700515747, 0.4406135380268097, 0.5761693120002747, -0.4273388087749481, -0.9293201565742493, -0.7451733350753784, 0.5114399790763855, 0.16231270134449005, 0.7206240296363831...
func (ms *multiSorter) Swap(i, j int) { ms.processos[i], ms.processos[j] = ms.processos[j], ms.processos[i] }
[ -0.8909846544265747, -0.6831365823745728, 0.24008232355117798, -0.24901741743087769, 0.0006353757926262915, 0.19428424537181854, -0.24723969399929047, -0.12122002243995667, -0.8880255222320557, -0.4613829553127289, -0.28237175941467285, 0.9096052050590515, 0.03865108639001846, 0.2146063446...
func (ms *multiSorter) Less(i, j int) bool { p, q := &ms.processos[i], &ms.processos[j] // Try all but the last comparison. var k int for k = 0; k < len(ms.less)-1; k++ { less := ms.less[k] switch { case less(p, q): // p < q, so we have a decision. return true case less(q, p): // p > q, so we have ...
[ 0.25392118096351624, -0.33222347497940063, 0.6181537508964539, -0.5384552478790283, -0.5441174507141113, -0.07696446776390076, -0.725945770740509, -1.3080726861953735, -0.25066784024238586, -0.5673794150352478, -0.6096007227897644, -0.12280980497598648, -0.6172549724578857, 0.7549741864204...
func (e *Event) String() string { return e.event.String() }
[ 0.665565013885498, -1.3233965635299683, 0.08547921478748322, -0.06370723992586136, -0.04169566184282303, 0.9008289575576782, 0.8129770159721375, -0.48430871963500977, 0.15048441290855408, 0.06257535517215729, -0.04176953434944153, 0.7607664465904236, 0.6216752529144287, -0.0549020320177078...
func (e *Event) IsCreate() bool { return e.Op == 1 || e.Op&CREATE == CREATE }
[ -0.07530992478132248, 0.47396203875541687, 0.8579990267753601, 1.9202529191970825, 0.5431674122810364, -0.12088653445243835, 0.33371585607528687, -0.16275030374526978, 0.19814731180667877, 0.792382001876831, 0.36762040853500366, -0.3639002740383148, -0.45163774490356445, 1.274758219718933,...
func (e *Event) IsWrite() bool { return e.Op&WRITE == WRITE }
[ -0.23092691600322723, -0.45408231019973755, 0.5797244310379028, 1.3036872148513794, 1.0127872228622437, -0.3664131164550781, 0.6582566499710083, 0.10507028549909592, 0.7909762263298035, 1.231742024421692, 0.011484707705676556, 0.09915997833013535, 0.07162415236234665, 0.039139293134212494,...
func (e *Event) IsRemove() bool { return e.Op&REMOVE == REMOVE }
[ -0.07937663048505783, -0.10281562805175781, 1.003824234008789, 0.9506455659866333, -0.16658900678157806, -0.6170734763145447, 0.1683167964220047, 0.6620885133743286, 1.505861759185791, 1.042251706123352, -0.4862779974937439, 0.010213787667453289, -0.7788029313087463, 0.23130978643894196, ...
func (e *Event) IsRename() bool { return e.Op&RENAME == RENAME }
[ -0.1756712794303894, -0.2515779435634613, 1.025582194328308, 1.5113471746444702, -0.2721649408340454, -1.1892540454864502, -0.15821735560894012, 0.13567648828029633, 1.3467892408370972, 1.178131103515625, -0.03505728766322136, 0.6144165992736816, -0.37672969698905945, -0.28076478838920593,...
func (e *Event) IsChmod() bool { return e.Op&CHMOD == CHMOD }
[ 0.47450727224349976, -0.06850745528936386, 0.5859490633010864, 1.0413295030593872, -0.10695486515760422, 0.5213683247566223, -0.07421407848596573, 0.35496750473976135, 0.6656724810600281, 0.8850531578063965, -0.12344397604465485, 1.298723816871643, -0.13284440338611603, 0.24863308668136597...
func type1(){ sum := 0 var n int fmt.Scanln(&n) for i := 0; i < n; i++{ sum+=i } fmt.Println(sum) }
[ -0.06662026792764664, 0.23355485498905182, 0.7745447754859924, 1.2167296409606934, 0.17560723423957825, 0.24640420079231262, 0.6976015567779541, -1.2458401918411255, -0.15238262712955475, -0.4161962866783142, -0.4483051598072052, 1.1852706670761108, -0.10788655281066895, 0.5533701181411743...
func NewDeleteProjectUserNoContent() *DeleteProjectUserNoContent { return &DeleteProjectUserNoContent{} }
[ -0.05487814545631409, -0.06608539819717407, -0.12769322097301483, 1.1338101625442505, -1.322158932685852, -0.19086304306983948, 0.358399361371994, -0.9951105713844299, -0.8846827745437622, -1.187435269355774, 0.12498529255390167, -0.47301220893859863, -0.37126532196998596, -0.0895267874002...
func (o *DeleteProjectUserNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses rw.WriteHeader(204) }
[ -0.7043948173522949, -0.35748136043548584, 0.08254697173833847, 0.6793023347854614, 0.1457243412733078, -0.5366188883781433, 0.46276670694351196, -0.30789244174957275, -0.30812394618988037, -0.4416101574897766, 0.12594766914844513, -0.44670629501342773, -1.3209025859832764, -0.140196949243...
func NewDeleteProjectUserBadRequest() *DeleteProjectUserBadRequest { return &DeleteProjectUserBadRequest{} }
[ -0.05950057506561279, -0.02657030150294304, 0.20838458836078644, 1.838031530380249, -0.6452005505561829, 0.36505380272865295, -0.36920955777168274, 0.08526917546987534, -0.5798214673995972, -1.0625756978988647, 0.41029199957847595, -0.11619928479194641, -0.5577691197395325, 0.2894359529018...
func (o *DeleteProjectUserBadRequest) WithPayload(payload *models.ErrorResponse) *DeleteProjectUserBadRequest { o.Payload = payload return o }
[ 0.14031435549259186, 0.048983100801706314, 0.18453536927700043, 0.9957562685012817, -0.7098048329353333, 0.35372790694236755, -0.7164899706840515, -0.4665519893169403, 0.14657634496688843, -1.0377984046936035, 1.1017205715179443, -0.4059915542602539, -0.3708769381046295, -0.056698121130466...
func (o *DeleteProjectUserBadRequest) SetPayload(payload *models.ErrorResponse) { o.Payload = payload }
[ -0.30266714096069336, 0.4059078097343445, 0.10280994325876236, 0.9682487845420837, -0.2757400572299957, 0.3861936628818512, -0.8747019171714783, -0.43210723996162415, -0.03070700168609619, -0.7222868204116821, 0.6034286618232727, -0.2073242962360382, -0.9234718680381775, 0.3371886312961578...
func (o *DeleteProjectUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(400) if o.Payload != nil { payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } } }
[ -0.4466257691383362, -0.20093095302581787, 0.2951108515262604, 1.1308165788650513, 0.5052974820137024, -0.05880173668265343, -0.08991280198097229, -0.4256752133369446, 0.28232744336128235, -0.25857242941856384, 0.6324654817581177, -0.21166841685771942, -0.9290566444396973, -0.3032357096672...
func NewDeleteProjectUserUnauthorized() *DeleteProjectUserUnauthorized { return &DeleteProjectUserUnauthorized{} }
[ -0.648968517780304, -0.3493305444717407, 0.5077100396156311, 1.3179620504379272, -1.0692894458770752, 0.19640573859214783, 0.43512433767318726, 0.4488474726676941, -0.35883355140686035, -1.4332973957061768, 0.5986884832382202, 0.6612088084220886, -0.2277846485376358, -0.27610161900520325, ...
func (o *DeleteProjectUserUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteProjectUserUnauthorized { o.Payload = payload return o }
[ 0.03116254322230816, 0.1403101086616516, 0.2612617611885071, 0.5548167824745178, -1.1368789672851562, 0.2632649838924408, 0.14019952714443207, 0.29246246814727783, 0.4096837639808655, -1.1629520654678345, 0.794259250164032, 0.28060823678970337, 0.2447652369737625, -0.48124051094055176, 0...
func (o *DeleteProjectUserUnauthorized) SetPayload(payload *models.ErrorResponse) { o.Payload = payload }
[ -0.2769474387168884, 0.5885382294654846, 0.10664138197898865, 0.4031860828399658, -0.8353294134140015, 0.27251142263412476, 0.02350892312824726, 0.31460660696029663, 0.2125951051712036, -0.9500883221626282, 0.38196542859077454, 0.5052776336669922, -0.3812634348869324, -0.1850595325231552, ...
func (o *DeleteProjectUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(401) if o.Payload != nil { payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } } }
[ -0.643587589263916, 0.11450543254613876, 0.24877402186393738, 0.7532821297645569, 0.09485992044210434, -0.018296968191862106, 0.5779926180839539, 0.3797372281551361, 0.44954073429107666, -0.19231122732162476, 0.5580002665519714, 0.020508702844381332, -0.5594193339347839, -0.735116064548492...
func NewDeleteProjectUserConflict() *DeleteProjectUserConflict { return &DeleteProjectUserConflict{} }
[ 0.11966749280691147, -0.6208771467208862, 0.11281834542751312, 1.2573423385620117, -0.5412496328353882, 0.3447900116443634, 0.696877121925354, -0.36537298560142517, -0.29667970538139343, -1.2669123411178589, 0.6518427729606628, -0.39760202169418335, -1.0873260498046875, -0.6160321235656738...
func (o *DeleteProjectUserConflict) WithPayload(payload *models.ErrorResponse) *DeleteProjectUserConflict { o.Payload = payload return o }
[ 0.38451212644577026, -0.10296499729156494, 0.03428055718541145, 0.3456662595272064, -0.6306565999984741, 0.16583140194416046, 0.1913987547159195, -0.5433253645896912, 0.40393492579460144, -1.0354914665222168, 0.8684145212173462, -1.1498031616210938, -0.5865733623504639, -0.7825444936752319...
func (o *DeleteProjectUserConflict) SetPayload(payload *models.ErrorResponse) { o.Payload = payload }
[ 0.14819957315921783, 0.2811552882194519, 0.06894084066152573, 0.17792341113090515, -0.195664644241333, 0.35581839084625244, -0.01587468571960926, -0.30840185284614563, 0.3601277768611908, -0.8734803795814514, 0.5841919183731079, -0.9394090175628662, -1.013217806816101, -0.5019089579582214,...
func (o *DeleteProjectUserConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(409) if o.Payload != nil { payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } } }
[ -0.3091121315956116, 0.24455803632736206, 0.2411310225725174, 0.7159486413002014, 0.884407103061676, -0.1350160539150238, 0.757631242275238, -0.2673856019973755, 0.44082561135292053, 0.1158778965473175, 0.72243732213974, -0.9304197430610657, -1.0517030954360962, -0.9621524810791016, 0.14...
func (o *DeleteProjectUserInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteProjectUserInternalServerError { o.Payload = payload return o }
[ -0.11901218444108963, -0.14031103253364563, 0.24029400944709778, -0.19784824550151825, -1.3553388118743896, 0.3335198760032654, 0.4642832577228546, -0.45489293336868286, 0.1924615353345871, -0.8626965880393982, 0.8325133919715881, -0.3425988554954529, -0.696476399898529, 0.1586332470178604...
func (o *DeleteProjectUserInternalServerError) SetPayload(payload *models.ErrorResponse) { o.Payload = payload }
[ -0.4353385865688324, 0.11439638584852219, 0.14976632595062256, -0.09693436324596405, -1.0924862623214722, 0.2777921259403229, 0.28915920853614807, -0.10424019396305084, -0.031549952924251556, -0.5102259516716003, 0.610947847366333, -0.08948402106761932, -1.070371389389038, 0.64430058002471...
func (o *DeleteProjectUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(500) if o.Payload != nil { payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } } }
[ -0.9064031839370728, -0.005679482594132423, 0.16208390891551971, 0.571322500705719, 0.04752911627292633, -0.16344037652015686, 0.7973573803901672, -0.05933140963315964, 0.34009072184562683, 0.16733324527740479, 0.7316942811012268, -0.2166861742734909, -1.0499805212020874, -0.11140538007020...