text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (d *Domain) GetAddress() string {
d.once.Do(d.init)
d.nextIdx++
return d.Addresses[d.nextIdx%uint64(len(d.Addresses))]
} | [
-0.7256053686141968,
0.5255240797996521,
0.4862041771411896,
0.22037449479103088,
0.3194735646247864,
-0.03923019394278526,
0.48346376419067383,
-0.46908941864967346,
1.2236347198486328,
-0.7666962742805481,
0.7861729860305786,
1.3217307329177856,
-0.5769002437591553,
-0.22006069123744965,... |
func DomainMatches(a, b string) bool {
return a == b
} | [
-0.08231126517057419,
-0.5793211460113525,
0.44428926706314087,
0.6496551036834717,
0.04686560109257698,
0.3376072347164154,
-0.9163514971733093,
0.05073976516723633,
0.3793109357357025,
-0.008182323537766933,
0.007250505965203047,
0.9822613596916199,
-0.27171409130096436,
-0.9859012961387... |
func (s *Sdns) FindDomainFromName(name string) (domain *Domain, found bool) {
var (
strippedDomain string
domainFound interface{}
)
if name == "" {
return
}
domainFound, found = s.exactDomains[name]
if !found {
lastDomainNdx := strings.IndexByte(name, '.')
if lastDomainNdx < 0 {
return
}
st... | [
-0.4897496700286865,
0.11365491151809692,
0.6372854113578796,
-0.39032840728759766,
-0.57977294921875,
-0.23951059579849243,
-0.42253634333610535,
-1.0288292169570923,
0.6403455138206482,
-0.22268357872962952,
-0.6143860220909119,
0.6213070750236511,
-0.4516018033027649,
0.6663914322853088... |
func (bh BlobHandler) DownloadFiles(containerName string, blobPrefix string, filePath string) error {
container := bh.blobStorageClient.GetContainerReference(containerName)
blobList := bh.listBlobs(containerName, blobPrefix)
fmt.Printf("Downloading %d blobs\n", len(blobList))
for _, blobName := range blobList {
... | [
0.4873438775539398,
-0.4118267297744751,
0.5371606349945068,
0.06169579178094864,
0.721236526966095,
0.07089973241090775,
0.29540154337882996,
0.02355393022298813,
-0.43158039450645447,
0.7380179762840271,
0.04344034194946289,
-0.005033821798861027,
-0.8955047726631165,
0.3439445495605469,... |
func generateLocalName(filePath string, blobName string) string {
return fmt.Sprintf("%s%s", filePath, filepath.FromSlash(blobName))
} | [
1.6488494873046875,
-1.3104040622711182,
0.412923127412796,
-0.1309102475643158,
-0.6595884561538696,
0.9847143888473511,
-0.578072190284729,
1.0099300146102905,
-0.21519531309604645,
1.1307543516159058,
-0.7377548217773438,
-0.21156345307826996,
0.09782042354345322,
-0.2907407283782959,
... |
func CategoriesAvg(payments []types.Payment) map[types.Category]types.Money {
paymentByCategories := map[types.Category]types.Money{}
if len(payments) < 0 {
return paymentByCategories
}
counts := map[types.Category]types.Money{}
for _, payment := range payments {
paymentByCategories[payment.Category] += pay... | [
-0.720450222492218,
0.6229718327522278,
0.4462175965309143,
-1.0992332696914673,
-0.9832523465156555,
-0.08380810171365738,
0.3923790454864502,
-0.7340006828308105,
0.06855218857526779,
0.16855184733867645,
0.7924874424934387,
-0.41223978996276855,
0.8090618252754211,
1.077573537826538,
... |
func main() {
zerr := os.Unsetenv("lastUserName")
aerr := os.Unsetenv("lastUserID")
berr := os.Unsetenv("lastUserHandle")
if zerr != nil {
fmt.Println(zerr)
}
if aerr != nil {
fmt.Println(aerr)
}
if berr != nil {
fmt.Println(berr)
}
//Load env
err := godotenv.Load()
if err != nil {
log.Fatal("Error... | [
0.27358072996139526,
-0.37094590067863464,
1.1172997951507568,
0.5958338975906372,
1.2063877582550049,
0.6823379397392273,
0.6638686060905457,
1.1436898708343506,
-0.6301342248916626,
0.08503784984350204,
-0.37190747261047363,
0.8950291872024536,
-0.4414142966270447,
0.6757587194442749,
... |
func Run(c *Config, token string, outputDir string) {
client := connect(c)
// Authentication happens by sending the secret token via metadata
md := metadata.Pairs(shared.SecretKey, c.Secret)
stream, err := client.Get(metadata.NewContext(context.Background(), md), &api.GetRequest{
Token: token,
})
shared.ExitO... | [
0.03435506671667099,
-0.30418092012405396,
0.8501725196838379,
-0.49415385723114014,
0.5036354064941406,
0.11035603284835815,
0.10774457454681396,
0.0888877660036087,
-1.3816871643066406,
0.23575036227703094,
-0.19002175331115723,
1.23978853225708,
-0.9462632536888123,
-0.23814968764781952... |
func (DefinitionLanguage) Values() []DefinitionLanguage {
return []DefinitionLanguage{
"GRAPHQL",
}
} | [
-0.4989219009876251,
0.445938378572464,
0.25622594356536865,
0.32719236612319946,
0.8786565661430359,
-0.14902563393115997,
-0.6843724250793457,
-0.6948899626731873,
-0.3303966820240021,
-0.5621874332427979,
-0.8491941690444946,
0.41730186343193054,
0.06774760782718658,
1.3538901805877686,... |
func (DeploymentTarget) Values() []DeploymentTarget {
return []DeploymentTarget{
"GREENGRASS",
"CLOUD",
}
} | [
-1.0953155755996704,
-0.5652802586555481,
0.1689375638961792,
-0.936479926109314,
0.2828063368797302,
-0.055159494280815125,
-1.5329047441482544,
-0.33207938075065613,
-0.05475283041596413,
-0.08220764249563217,
0.6744283437728882,
0.5003238916397095,
0.5695524215698242,
0.0353943556547164... |
func (EntityFilterName) Values() []EntityFilterName {
return []EntityFilterName{
"NAME",
"NAMESPACE",
"SEMANTIC_TYPE_PATH",
"REFERENCED_ENTITY_ID",
}
} | [
-0.8101406097412109,
-0.2050197571516037,
0.24907414615154266,
-0.5178989171981812,
0.8196369409561157,
0.24217917025089264,
-0.83782958984375,
-1.176753044128418,
0.04037757217884064,
0.014056948013603687,
0.05899152159690857,
0.8421200513839722,
0.11553100496530533,
1.597662091255188,
... |
func (EntityType) Values() []EntityType {
return []EntityType{
"DEVICE",
"SERVICE",
"DEVICE_MODEL",
"CAPABILITY",
"STATE",
"ACTION",
"EVENT",
"PROPERTY",
"MAPPING",
"ENUM",
}
} | [
-0.6927970051765442,
0.035027991980314255,
0.14492195844650269,
-0.30804088711738586,
1.2382348775863647,
0.48898744583129883,
-0.4268767833709717,
-0.7368513345718384,
0.545842707157135,
-0.1995452344417572,
-0.43569615483283997,
-0.3908941149711609,
0.01369077991694212,
1.647700071334838... |
func (FlowExecutionEventType) Values() []FlowExecutionEventType {
return []FlowExecutionEventType{
"EXECUTION_STARTED",
"EXECUTION_FAILED",
"EXECUTION_ABORTED",
"EXECUTION_SUCCEEDED",
"STEP_STARTED",
"STEP_FAILED",
"STEP_SUCCEEDED",
"ACTIVITY_SCHEDULED",
"ACTIVITY_STARTED",
"ACTIVITY_FAILED",
"AC... | [
-0.03082028217613697,
-0.018096283078193665,
0.5942602157592773,
-0.05079927667975426,
0.6879454851150513,
0.5421233773231506,
0.24400058388710022,
-0.6914079189300537,
-0.10159607976675034,
0.19623443484306335,
-0.04920702427625656,
-0.05465240776538849,
0.16590441763401031,
0.96656054258... |
func (FlowExecutionStatus) Values() []FlowExecutionStatus {
return []FlowExecutionStatus{
"RUNNING",
"ABORTED",
"SUCCEEDED",
"FAILED",
}
} | [
-0.4071657061576843,
-0.13750456273555756,
0.26048743724823,
-0.34851890802383423,
0.5536312460899353,
0.6374752521514893,
-0.5935583114624023,
0.049255598336458206,
-0.0605684369802475,
-0.24433563649654388,
-0.22842265665531158,
0.13399392366409302,
0.5163561105728149,
0.9770944714546204... |
func (FlowTemplateFilterName) Values() []FlowTemplateFilterName {
return []FlowTemplateFilterName{
"DEVICE_MODEL_ID",
}
} | [
-1.3423852920532227,
0.25395065546035767,
0.39522361755371094,
-0.533432126045227,
0.09987148642539978,
0.26457929611206055,
-0.5179285407066345,
-0.7618542313575745,
-0.47630447149276733,
-0.3258761167526245,
-0.8205698132514954,
-0.05321013554930687,
-0.5022298097610474,
0.63525140285491... |
func (NamespaceDeletionStatus) Values() []NamespaceDeletionStatus {
return []NamespaceDeletionStatus{
"IN_PROGRESS",
"SUCCEEDED",
"FAILED",
}
} | [
0.7717208862304688,
0.17737773060798645,
0.0242081917822361,
-0.4656568169593811,
0.5312163829803467,
0.651576042175293,
-1.316847324371338,
-0.15584735572338104,
0.9777032732963562,
-0.12277096509933472,
-0.42017731070518494,
0.46760866045951843,
0.7770695686340332,
0.8138183951377869,
... |
func (SystemInstanceDeploymentStatus) Values() []SystemInstanceDeploymentStatus {
return []SystemInstanceDeploymentStatus{
"NOT_DEPLOYED",
"BOOTSTRAP",
"DEPLOY_IN_PROGRESS",
"DEPLOYED_IN_TARGET",
"UNDEPLOY_IN_PROGRESS",
"FAILED",
"PENDING_DELETE",
"DELETED_IN_TARGET",
}
} | [
-0.5655859112739563,
-0.1320798546075821,
0.0549221970140934,
-0.8856989145278931,
0.28544846177101135,
0.5868123769760132,
-0.7178530693054199,
0.5875765085220337,
0.3270740509033203,
0.64403235912323,
-0.5874530076980591,
0.604865312576294,
0.18793249130249023,
1.055590271949768,
0.480... |
func (SystemInstanceFilterName) Values() []SystemInstanceFilterName {
return []SystemInstanceFilterName{
"SYSTEM_TEMPLATE_ID",
"STATUS",
"GREENGRASS_GROUP_NAME",
}
} | [
-0.5737103223800659,
0.07518557459115982,
0.2453213334083557,
-0.5400004982948303,
-0.0899263545870781,
0.3536053001880646,
-0.8337619304656982,
-0.3036693036556244,
-0.4137471616268158,
0.1382877379655838,
-0.4975408911705017,
0.7790101170539856,
-0.9229894280433655,
1.1192665100097656,
... |
func (SystemTemplateFilterName) Values() []SystemTemplateFilterName {
return []SystemTemplateFilterName{
"FLOW_TEMPLATE_ID",
}
} | [
-0.5944907069206238,
-0.02897990308701992,
0.32873961329460144,
-0.46203160285949707,
0.05804017558693886,
-0.08179330080747604,
-0.678871214389801,
-0.2897334694862366,
-0.15947677195072174,
-0.11027254909276962,
-1.3724764585494995,
0.16062432527542114,
-0.8085471987724304,
1.07726740837... |
func (UploadStatus) Values() []UploadStatus {
return []UploadStatus{
"IN_PROGRESS",
"SUCCEEDED",
"FAILED",
}
} | [
-0.45035284757614136,
-0.22713761031627655,
0.19906538724899292,
-0.3715112507343292,
0.6369408965110779,
0.5656867623329163,
-1.396087884902954,
-0.2120366096496582,
0.041047368198633194,
-0.07019583880901337,
-1.0895113945007324,
0.24261535704135895,
-0.23178039491176605,
1.0292496681213... |
func NewCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "delete",
Short: "EC2 delete commands",
SuggestFor: []string{"delet"},
}
cmd.PersistentFlags().StringVarP(&path, "path", "p", "", "ec2 test configuration file path")
cmd.PersistentFlags().BoolVarP(&enablePrompt, "enable-prompt", "e", t... | [
0.5772583484649658,
-0.5285863876342773,
0.50440514087677,
-0.7279773354530334,
0.577923595905304,
0.5713538527488708,
0.614201009273529,
0.3851112127304077,
0.14256568253040314,
-0.5210086703300476,
0.537348210811615,
0.7307935357093811,
-0.2119089961051941,
0.3309159576892853,
0.492575... |
func InitialState(state string) Option {
return func(d *Definition) {
d.initialState = state
}
} | [
1.0278445482254028,
0.24774470925331116,
0.4764084219932556,
0.2926352322101593,
-0.17865626513957977,
0.18131859600543976,
0.21608154475688934,
0.8033111095428467,
1.499547004699707,
-1.0094927549362183,
-0.024668468162417412,
0.25493156909942627,
0.6853125691413879,
0.15272095799446106,
... |
func Pop() Action {
return ActionPop{}
} | [
-0.3542790114879608,
-0.20190384984016418,
0.2084958851337433,
0.7922292351722717,
-0.18302221596240997,
0.09767450392246246,
0.67341148853302,
-0.41514497995376587,
0.12240053713321686,
1.3102144002914429,
0.23940211534500122,
0.61307293176651,
0.7155911922454834,
-0.6342787742614746,
0... |
func Return() Rule { return ReturnRule } | [
0.7575802803039551,
-0.13590237498283386,
0.09492002427577972,
-0.23391544818878174,
0.22679871320724487,
1.554807424545288,
0.16060012578964233,
0.5574442148208618,
-0.429884672164917,
0.44856590032577515,
1.0500253438949585,
0.5156345367431641,
-1.4199756383895874,
-0.8003363609313965,
... |
func Push(state string) Action {
return ActionPush{state}
} | [
-0.003854990005493164,
-0.05660806968808174,
0.11580833047628403,
0.40551209449768066,
-0.2419746071100235,
0.1695617288351059,
-0.21139760315418243,
-0.3823467791080475,
0.9142453670501709,
0.6307389140129089,
-0.44931086897850037,
1.3591153621673584,
0.8005774021148682,
0.068052828311920... |
func Include(state string) Rule {
return Rule{Action: include{state}}
} | [
1.132698893547058,
0.3586300015449524,
0.2028493732213974,
-0.2284940481185913,
-0.4661833941936493,
1.4917577505111694,
0.13004706799983978,
1.1371418237686157,
0.6900426149368286,
1.0834826231002808,
0.817487895488739,
0.8167446255683899,
-0.15872223675251007,
-0.7997617125511169,
-0.6... |
func MustSimple(rules []Rule, options ...Option) *Definition {
def, err := NewSimple(rules, options...)
if err != nil {
panic(err)
}
return def
} | [
-0.03231120854616165,
0.7674175500869751,
0.4134896695613861,
1.2638550996780396,
-0.28108951449394226,
0.7817394137382507,
-0.8108004331588745,
-0.046509597450494766,
-0.048133522272109985,
0.929685115814209,
-1.1208215951919556,
-0.5565800070762634,
-0.25823017954826355,
0.86003720760345... |
func Must(rules Rules, options ...Option) *Definition {
def, err := New(rules, options...)
if err != nil {
panic(err)
}
return def
} | [
0.19418863952159882,
0.7277827262878418,
0.24510475993156433,
0.9683576822280884,
0.5379202961921692,
0.8126305937767029,
-0.5426909327507019,
-0.0120840547606349,
-0.4537022113800049,
-0.35984691977500916,
-0.22113582491874695,
0.23045586049556732,
-0.23295637965202332,
0.5390481948852539... |
func NewSimple(rules []Rule, options ...Option) (*Definition, error) {
return New(Rules{"Root": rules}, options...)
} | [
0.2851994037628174,
0.4279489517211914,
0.394717276096344,
1.2961928844451904,
-0.12748119235038757,
-0.4174235165119171,
-0.6958215236663818,
-0.20499765872955322,
-0.06367366760969162,
0.28433892130851746,
-1.1114423274993896,
-0.12709267437458038,
-0.4046476185321808,
0.8639652132987976... |
func New(rules Rules, options ...Option) (*Definition, error) {
compiled := compiledRules{}
for key, set := range rules {
for i, rule := range set {
pattern := "^(?:" + rule.Pattern + ")"
var (
re *regexp.Regexp
err error
)
var match = backrefReplace.FindStringSubmatch(rule.Pattern)
if match... | [
-0.2296072393655777,
-0.19795595109462738,
0.8710443377494812,
-0.010790986940264702,
0.2384759783744812,
-0.6872376799583435,
0.804997980594635,
-0.15285247564315796,
-0.3638499975204468,
0.5737253427505493,
-0.18265235424041748,
0.1715802550315857,
0.8306261897087097,
0.6119012832641602,... |
func (d *Definition) Rules() Rules {
out := Rules{}
for state, rules := range d.rules {
for _, rule := range rules {
out[state] = append(out[state], rule.Rule)
}
}
return out
} | [
-0.5730442404747009,
0.3164783716201782,
0.1670280396938324,
-0.2525291442871094,
0.3488340675830841,
0.03318093717098236,
-0.2950287461280823,
0.146339550614357,
0.30104324221611023,
-0.6688265800476074,
0.4956362843513489,
-0.09816141426563263,
0.7635781764984131,
0.4558219611644745,
-... |
func TerminarProceso(id string) int {
cmd := exec.Command("kill", "-9", id)
if err := cmd.Run(); err != nil {
log.Fatal(err)
return 0;
}
return 1;
} | [
0.38623103499412537,
-0.39718538522720337,
1.051548719406128,
0.2769957184791565,
-0.3701761066913605,
0.09088101238012314,
0.13191108405590057,
0.3413996696472168,
-0.26345619559288025,
1.0472602844238281,
-0.30647042393684387,
-0.11746688932180405,
-0.2756364941596985,
-0.668546915054321... |
func NewPureParser(fileName string, maxRecSize int) (*pureParser, error) {
f, err := os.Open(fileName)
if err != nil {
return nil, err
}
_, err = f.Stat()
if err != nil {
return nil, err
}
pp := new(pureParser)
pp.fn = fileName
pp.f = f
pp.lr = newLineReader(f, maxRecSize)
return pp, nil
} | [
-0.29115334153175354,
-0.683552622795105,
0.7883551716804504,
0.028210511431097984,
-0.6326916217803955,
0.08318331837654114,
-0.6480958461761475,
1.2863775491714478,
-0.3834386467933655,
-0.6783660054206848,
-0.3074924349784851,
-0.26154011487960815,
-0.6736547350883484,
0.287686556577682... |
func (pp *pureParser) NextRecord(ctx context.Context) (*model.Record, error) {
line, err := pp.lr.readLine(ctx)
if err != nil {
return nil, err
}
pp.pos += int64(len(line))
return model.NewRecord(line, time.Now()), nil
} | [
1.0773040056228638,
-0.2750600576400757,
0.3108919858932495,
-0.27711278200149536,
-0.15627235174179077,
0.7800842523574829,
-1.0556195974349976,
0.05250405892729759,
-0.4164879322052002,
-0.7027013301849365,
0.6010251641273499,
0.23667146265506744,
-0.08600427955389023,
0.2654456496238708... |
func (pp *pureParser) SetStreamPos(pos int64) error {
if _, err := pp.f.Seek(pos, io.SeekStart); err != nil {
return err
}
pp.pos = pos
pp.lr.reset(pp.f)
return nil
} | [
-0.10053744912147522,
-0.7968719005584717,
0.4254540801048279,
-0.8439174294471741,
-0.8506404161453247,
0.27790966629981995,
0.06480421125888824,
-0.2838134169578552,
-0.6792107820510864,
-0.3609006404876709,
-0.5635358095169067,
0.2767590582370758,
-0.5075945258140564,
0.2611098289489746... |
func (pp *pureParser) GetStreamPos() int64 {
return pp.pos
} | [
-0.3666521906852722,
-0.5917528867721558,
0.5476385354995728,
-0.14212989807128906,
-0.4863230586051941,
0.10659744590520859,
0.42026087641716003,
0.07929535210132599,
-0.6030756831169128,
-0.7961348295211792,
-0.05349346250295639,
0.27622127532958984,
-1.574333906173706,
0.762241482734680... |
func (pp *pureParser) GetStats() *Stats {
size := int64(-1) // in case of an error...
fi, err := pp.f.Stat()
if err == nil {
size = fi.Size()
}
pStat := newStats(FmtPure, &fileStats{})
pStat.FileStats.Size = size
pStat.FileStats.Pos = pp.GetStreamPos()
return pStat
} | [
0.4087844789028168,
-0.5119300484657288,
0.6058419346809387,
-0.8061290383338928,
0.13152886927127838,
-0.2820468246936798,
-0.3154434561729431,
-0.4456389248371124,
0.23949284851551056,
-1.8220312595367432,
0.9109848737716675,
0.4137824475765228,
-0.4411330223083496,
0.4980197846889496,
... |
func (pp *pureParser) Close() error {
return pp.f.Close()
} | [
-0.16269318759441376,
-0.6489421129226685,
0.5916677713394165,
-0.3332405686378479,
-0.6130743026733398,
1.3881648778915405,
-0.13602405786514282,
0.34890875220298767,
-1.5141558647155762,
-1.40293550491333,
0.4250425398349762,
-0.22867099940776825,
-1.105191707611084,
0.7021642327308655,
... |
func inlinePolicySetDifference(aa, bb []InlinePolicy) []InlinePolicy {
rr := []InlinePolicy{}
LoopInlinePolicies:
for _, a := range aa {
for _, b := range bb {
if reflect.DeepEqual(a, b) {
continue LoopInlinePolicies
}
}
rr = append(rr, a)
}
return rr
} | [
-0.08842524886131287,
-0.6113511323928833,
0.5544057488441467,
-0.5567164421081543,
0.5287234783172607,
0.7326443791389465,
-0.0759006142616272,
0.031208626925945282,
0.14206527173519135,
0.7122994661331177,
-0.04313899949193001,
1.169116735458374,
-0.6540074348449707,
0.03765011206269264,... |
func stringSetDifference(aa, bb []string) []string {
rr := []string{}
LoopStrings:
for _, a := range aa {
for _, b := range bb {
if reflect.DeepEqual(a, b) {
continue LoopStrings
}
}
rr = append(rr, a)
}
return rr
} | [
-0.4724079966545105,
-0.5859242677688599,
0.58758145570755,
-0.9620725512504578,
0.3621113896369934,
0.036317672580480576,
-0.21241499483585358,
-1.0627710819244385,
-0.2244986742734909,
1.1126174926757812,
0.4895520806312561,
1.846671223640442,
-0.6576228737831116,
0.25683674216270447,
... |
func (rcc *CassandraClusterReconciler) CheckDeletePVC(cc *api.CassandraCluster) error {
var oldCRD api.CassandraCluster
if cc.Annotations[api.AnnotationLastApplied] == "" {
return nil
}
//We retrieved our last-applied-configuration stored in the CRD
err := json.Unmarshal([]byte(cc.Annotations[api.AnnotationLast... | [
0.6251963376998901,
-1.0071461200714111,
0.6093425154685974,
-0.019497910514473915,
0.5125852823257446,
-0.5481295585632324,
-0.39618194103240967,
-0.04595506563782692,
0.9268295764923096,
0.31698912382125854,
0.9543535709381104,
0.29948222637176514,
-0.44308340549468994,
0.832478880882263... |
func (rcc *CassandraClusterReconciler) CheckNonAllowedChanges(cc *api.CassandraCluster,
status *api.CassandraClusterStatus) bool {
var oldCRD api.CassandraCluster
if cc.Annotations[api.AnnotationLastApplied] == "" {
return false
}
if lac, _ := cc.ComputeLastAppliedConfiguration(); string(lac) == cc.Annotations[... | [
0.2054114043712616,
0.22555190324783325,
0.8025287389755249,
-0.7710885405540466,
-0.7469075918197632,
-0.12494716793298721,
0.18900558352470398,
-0.15094904601573944,
-0.19735653698444366,
0.0470665767788887,
0.4693439304828644,
0.4441313147544861,
-0.29714474081993103,
0.9131325483322144... |
func lookForFilter(path []string, filters [][]string, filtersFound *map[string]bool) {
for _, filter := range filters {
if 2*len(filter)+1 == len(path) {
currentPath := path[0]
for i := 2; i < len(path)-1; i += 2 {
currentPath += "." + path[i]
}
if currentPath == strings.Join(filter, ".") {
if _,... | [
-0.3098489046096802,
-0.7741416692733765,
0.6793496608734131,
-0.7038103938102722,
-0.19318699836730957,
-0.168463796377182,
0.3866322934627533,
-0.31489095091819763,
-0.8154204487800598,
0.029168833047151566,
0.4941895604133606,
0.2826533615589142,
0.1984741985797882,
0.3484654724597931,
... |
func hasChange(changelog diff.Changelog, changeType string, paths ...string) bool {
regexPath := regexp.MustCompile("^\\-([^\\+]*)$")
if len(changelog) == 0 {
return false
}
noPaths := len(paths) == 0
includeFilters := [][]string{}
excludeFilters := [][]string{}
for _, path := range paths {
if match := regex... | [
-0.11548399180173874,
0.16476573050022125,
0.9287402629852295,
0.17380976676940918,
-0.7804930210113525,
-0.1170894056558609,
0.71562659740448,
0.3559238612651825,
-0.3014688193798065,
0.13663673400878906,
-0.3025948107242584,
-0.16779358685016632,
-0.6989502906799316,
1.5050824880599976,
... |
func CheckTopologyChanges(rcc *CassandraClusterReconciler, cc *api.CassandraCluster,
status *api.CassandraClusterStatus, oldCRD *api.CassandraCluster) (bool, string) {
changelog, _ := diff.Diff(oldCRD.Spec.Topology, cc.Spec.Topology)
if hasChange(changelog, diff.UPDATE) ||
hasChange(changelog, diff.DELETE, "DC.R... | [
0.33970022201538086,
0.2122950255870819,
0.8236420154571533,
-0.5630360245704651,
0.1991419941186905,
-0.16096432507038116,
0.6610702872276306,
-0.10107283294200897,
-0.025475388392806053,
0.4371955394744873,
0.025947757065296173,
-0.0592147558927536,
-0.19603562355041504,
0.72874957323074... |
func (rcc *CassandraClusterReconciler) CheckNonAllowedScaleDown(cc *api.CassandraCluster,
oldCRD *api.CassandraCluster) bool {
if ok, dcName, dc := cc.FindDCWithNodesTo0(); ok {
logrus.WithFields(logrus.Fields{"cluster": cc.Name}).Infof("Ask ScaleDown to 0 for dc %s", dcName)
//We take the first Rack
rackName... | [
0.0013158074580132961,
0.19730766117572784,
0.8844550251960754,
-0.24794423580169678,
-0.31552278995513916,
-0.2715841233730316,
0.6831263303756714,
-0.08353075385093689,
-0.3882312476634979,
0.01697475276887417,
0.8003736734390259,
0.2853612005710602,
-0.8357558846473694,
0.81414163112640... |
func (rcc *CassandraClusterReconciler) ReconcileRack(cc *api.CassandraCluster,
status *api.CassandraClusterStatus) (err error) {
newStatus := false
for dc := 0; dc < cc.GetDCSize(); dc++ {
dcName := cc.GetDCName(dc)
for rack := 0; rack < cc.GetRackSize(dc); rack++ {
rackName := cc.GetRackName(dc, rack)
dc... | [
0.18278783559799194,
0.3430885970592499,
0.816157877445221,
-0.46387022733688354,
0.4671340882778168,
0.12187150865793228,
0.08713178336620331,
0.16577798128128052,
-0.3859458863735199,
0.35644635558128357,
0.15186341106891632,
-0.4135253131389618,
-0.18073785305023193,
0.806747555732727,
... |
func UpdateCassandraClusterStatusPhase(cc *api.CassandraCluster, status *api.CassandraClusterStatus) {
var setLastClusterActionStatus bool
for dc := 0; dc < cc.GetDCSize(); dc++ {
dcName := cc.GetDCName(dc)
for rack := 0; rack < cc.GetRackSize(dc); rack++ {
rackName := cc.GetRackName(dc, rack)
dcRackName :=... | [
-0.2418701946735382,
-0.47729143500328064,
0.7597768902778625,
-0.34863120317459106,
0.8193964958190918,
-0.043471746146678925,
0.3643851578235626,
0.48895010352134705,
-0.22007672488689423,
0.690453052520752,
0.10938690602779388,
-0.14547739923000336,
-0.620824933052063,
0.642799973487854... |
func EnsureSeedListIsUpdatedWhenRequired(cc *api.CassandraCluster, status *api.CassandraClusterStatus) {
//if global status is not yet Configuring, we skip this one
if status.LastClusterAction == api.ActionUpdateSeedList.Name &&
status.LastClusterActionStatus == api.StatusConfiguring {
var setOperationToDo = tru... | [
-0.2914983332157135,
0.15655598044395447,
0.7495591044425964,
-0.21224641799926758,
0.2803458571434021,
-0.36864417791366577,
0.2853332459926605,
0.2699914872646332,
-0.06474193930625916,
0.7731971144676208,
-0.19125795364379883,
-0.1121608093380928,
-0.2512674927711487,
0.9641156792640686... |
func (o DetectorDatasourcesOutput) Kubernetes() DetectorDatasourcesKubernetesPtrOutput {
return o.ApplyT(func(v DetectorDatasources) *DetectorDatasourcesKubernetes { return v.Kubernetes }).(DetectorDatasourcesKubernetesPtrOutput)
} | [
0.3866350054740906,
-0.04776347056031227,
0.26275911927223206,
-0.6658149361610413,
-0.0018905556062236428,
-0.2952115833759308,
-0.48819413781166077,
-0.07124163955450058,
1.6237090826034546,
-0.9209645986557007,
-0.09907608479261398,
-0.30264925956726074,
1.5288231372833252,
-0.441606044... |
func (o DetectorDatasourcesOutput) MalwareProtection() DetectorDatasourcesMalwareProtectionPtrOutput {
return o.ApplyT(func(v DetectorDatasources) *DetectorDatasourcesMalwareProtection { return v.MalwareProtection }).(DetectorDatasourcesMalwareProtectionPtrOutput)
} | [
0.5878971219062805,
0.21417491137981415,
0.22270965576171875,
0.21023759245872498,
-0.811467707157135,
-0.06025899946689606,
0.09850120544433594,
0.1888100504875183,
1.8005121946334839,
-0.4100084900856018,
-0.32456085085868835,
-0.49959176778793335,
-0.008993368595838547,
-0.1125728562474... |
func (o DetectorDatasourcesOutput) S3Logs() DetectorDatasourcesS3LogsPtrOutput {
return o.ApplyT(func(v DetectorDatasources) *DetectorDatasourcesS3Logs { return v.S3Logs }).(DetectorDatasourcesS3LogsPtrOutput)
} | [
1.069493293762207,
-0.013758957386016846,
0.2999993562698364,
-0.8372629880905151,
-0.3468966484069824,
0.41805922985076904,
-0.7495957016944885,
0.2450694441795349,
1.6466838121414185,
-0.08721419423818588,
-0.6738690137863159,
0.512829601764679,
1.0314902067184448,
-1.5185143947601318,
... |
func (o DetectorDatasourcesPtrOutput) Kubernetes() DetectorDatasourcesKubernetesPtrOutput {
return o.ApplyT(func(v *DetectorDatasources) *DetectorDatasourcesKubernetes {
if v == nil {
return nil
}
return v.Kubernetes
}).(DetectorDatasourcesKubernetesPtrOutput)
} | [
0.34343579411506653,
0.044059839099645615,
0.21763209998607635,
-0.527561604976654,
0.14071956276893616,
-0.5119377374649048,
-0.36248302459716797,
-0.1536264270544052,
1.6554545164108276,
-0.9049577713012695,
-0.24382323026657104,
-0.23147444427013397,
1.2569454908370972,
-0.2920911014080... |
func (o DetectorDatasourcesPtrOutput) MalwareProtection() DetectorDatasourcesMalwareProtectionPtrOutput {
return o.ApplyT(func(v *DetectorDatasources) *DetectorDatasourcesMalwareProtection {
if v == nil {
return nil
}
return v.MalwareProtection
}).(DetectorDatasourcesMalwareProtectionPtrOutput)
} | [
0.4568767249584198,
0.40294119715690613,
0.19512531161308289,
0.20749562978744507,
-0.7238085865974426,
-0.20306514203548431,
0.205191507935524,
0.13956938683986664,
1.796133279800415,
-0.3789849877357483,
-0.40290868282318115,
-0.5008535981178284,
-0.20797811448574066,
0.08776228874921799... |
func (o DetectorDatasourcesPtrOutput) S3Logs() DetectorDatasourcesS3LogsPtrOutput {
return o.ApplyT(func(v *DetectorDatasources) *DetectorDatasourcesS3Logs {
if v == nil {
return nil
}
return v.S3Logs
}).(DetectorDatasourcesS3LogsPtrOutput)
} | [
1.0319496393203735,
0.07681520283222198,
0.2739391326904297,
-0.7484264969825745,
-0.2083681970834732,
0.3851020932197571,
-0.6359674334526062,
0.11664790660142899,
1.6431047916412354,
-0.11543677002191544,
-0.6639958024024963,
0.5721668004989624,
0.8503901958465576,
-1.394704818725586,
... |
func (o DetectorDatasourcesKubernetesOutput) AuditLogs() DetectorDatasourcesKubernetesAuditLogsOutput {
return o.ApplyT(func(v DetectorDatasourcesKubernetes) DetectorDatasourcesKubernetesAuditLogs { return v.AuditLogs }).(DetectorDatasourcesKubernetesAuditLogsOutput)
} | [
1.0050452947616577,
0.16910460591316223,
0.42969557642936707,
-0.2040865123271942,
-0.7252169847488403,
-0.019285934045910835,
-0.3114514648914337,
-0.02014155685901642,
1.697906732559204,
-0.5363367795944214,
0.010056165046989918,
0.7712422609329224,
1.7953391075134277,
-0.216091886162757... |
func (o DetectorDatasourcesKubernetesPtrOutput) AuditLogs() DetectorDatasourcesKubernetesAuditLogsPtrOutput {
return o.ApplyT(func(v *DetectorDatasourcesKubernetes) *DetectorDatasourcesKubernetesAuditLogs {
if v == nil {
return nil
}
return &v.AuditLogs
}).(DetectorDatasourcesKubernetesAuditLogsPtrOutput)
} | [
0.958124041557312,
0.38652798533439636,
0.4100204408168793,
-0.16121824085712433,
-0.3710637390613556,
-0.07554391771554947,
-0.25338873267173767,
-0.049435459077358246,
1.7095284461975098,
-0.4987797737121582,
-0.15084363520145416,
0.6921374797821045,
1.3709303140640259,
-0.11442414671182... |
func (o DetectorDatasourcesKubernetesAuditLogsOutput) Enable() pulumi.BoolOutput {
return o.ApplyT(func(v DetectorDatasourcesKubernetesAuditLogs) bool { return v.Enable }).(pulumi.BoolOutput)
} | [
0.7875401377677917,
0.7584043145179749,
0.4426691234111786,
0.42884159088134766,
-0.4006209075450897,
0.946951150894165,
-0.6817805171012878,
0.6959208250045776,
0.8969629406929016,
0.35767948627471924,
-0.2520161271095276,
0.6466801762580872,
0.08746592700481415,
-0.48348483443260193,
-... |
func (o DetectorDatasourcesKubernetesAuditLogsPtrOutput) Enable() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *DetectorDatasourcesKubernetesAuditLogs) *bool {
if v == nil {
return nil
}
return &v.Enable
}).(pulumi.BoolPtrOutput)
} | [
0.8181135654449463,
0.7889923453330994,
0.436443567276001,
0.36756765842437744,
0.0645267590880394,
0.8334606885910034,
-0.7204155325889587,
0.9266650676727295,
1.0170636177062988,
0.23264652490615845,
-0.5055463314056396,
0.3857533633708954,
-0.17245547473430634,
-0.5780947208404541,
-0... |
func (o DetectorDatasourcesMalwareProtectionOutput) ScanEc2InstanceWithFindings() DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput {
return o.ApplyT(func(v DetectorDatasourcesMalwareProtection) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings {
return v.ScanEc2InstanceWithFindings... | [
0.03065885789692402,
-0.1755673587322235,
0.3869076073169708,
0.2322484403848648,
-1.602758765220642,
0.29611992835998535,
0.5675411820411682,
-0.8727855086326599,
0.7108167409896851,
-0.5271195769309998,
-0.2491694539785385,
-0.07659553736448288,
0.6221809983253479,
0.024569688364863396,
... |
func (o DetectorDatasourcesMalwareProtectionPtrOutput) ScanEc2InstanceWithFindings() DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput {
return o.ApplyT(func(v *DetectorDatasourcesMalwareProtection) *DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings {
if v == nil {
return nil
... | [
-0.08472250401973724,
0.0710008516907692,
0.39709681272506714,
0.18888412415981293,
-1.6550538539886475,
0.3465177118778229,
0.5157782435417175,
-0.7597855925559998,
0.771865963935852,
-0.6517751812934875,
-0.2846519351005554,
-0.08410229533910751,
0.3672849237918854,
0.07124451547861099,
... |
func (o DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) EbsVolumes() DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput {
return o.ApplyT(func(v DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFi... | [
0.7928349375724792,
-0.3094325363636017,
0.32727935910224915,
0.09609305113554001,
-0.6847469806671143,
0.2268698811531067,
-0.5354903340339661,
-0.8417806625366211,
0.9882602691650391,
-0.17558574676513672,
-0.0677909106016159,
-0.0205185879021883,
1.013885259628296,
0.5381045341491699,
... |
func (o DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) EbsVolumes() DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput {
return o.ApplyT(func(v *DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings) *DetectorDatasourcesMalwareProtectionScanEc2Instan... | [
0.5705171823501587,
-0.13772869110107422,
0.3256211280822754,
0.1274537444114685,
-0.5735981464385986,
0.20870588719844818,
-0.47438478469848633,
-0.7949972748756409,
0.9887856245040894,
-0.20452535152435303,
-0.05235343053936958,
-0.05253973230719566,
0.9559480547904968,
0.665671527385711... |
func (o DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) Enable() pulumi.BoolOutput {
return o.ApplyT(func(v DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes) bool {
return v.Enable
}).(pulumi.BoolOutput)
} | [
1.072729468345642,
0.13900654017925262,
0.2673175036907196,
0.9727315902709961,
-0.1883050948381424,
0.8679483532905579,
-0.257944792509079,
0.41908466815948486,
0.7450188994407654,
-0.08304723352193832,
-0.6376307010650635,
-0.08876226842403412,
-0.08131291717290878,
0.17289593815803528,
... |
func (o DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) Enable() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes) *bool {
if v == nil {
return nil
}
return &v.Enable
}).(pulumi.BoolPtrOutput)
} | [
1.1038877964019775,
0.09459448605775833,
0.3514818549156189,
1.0739562511444092,
-0.06080424040555954,
0.7821828722953796,
-0.2434777021408081,
0.4297744929790497,
0.7036351561546326,
-0.20130981504917145,
-0.6946943998336792,
-0.11640997976064682,
-0.09710784256458282,
-0.0153241148218512... |
func (o DetectorDatasourcesS3LogsOutput) Enable() pulumi.BoolOutput {
return o.ApplyT(func(v DetectorDatasourcesS3Logs) bool { return v.Enable }).(pulumi.BoolOutput)
} | [
0.8474465012550354,
0.522520124912262,
0.46076497435569763,
-0.1597118377685547,
-0.048880238085985184,
1.2135350704193115,
-0.7688916325569153,
1.0697875022888184,
1.193499207496643,
0.20271356403827667,
-0.9021914005279541,
0.5857406258583069,
-0.47054025530815125,
-1.3948181867599487,
... |
func (o DetectorDatasourcesS3LogsPtrOutput) Enable() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *DetectorDatasourcesS3Logs) *bool {
if v == nil {
return nil
}
return &v.Enable
}).(pulumi.BoolPtrOutput)
} | [
0.9207934141159058,
0.6433717608451843,
0.4347103536128998,
-0.24642635881900787,
0.34704264998435974,
1.1449155807495117,
-0.7633395791053772,
1.2099270820617676,
1.2496683597564697,
0.08829415589570999,
-1.1031262874603271,
0.29916274547576904,
-0.6018280386924744,
-1.3701564073562622,
... |
func (o FilterFindingCriteriaCriterionOutput) Equals() pulumi.StringArrayOutput {
return o.ApplyT(func(v FilterFindingCriteriaCriterion) []string { return v.Equals }).(pulumi.StringArrayOutput)
} | [
-0.18993887305259705,
-0.5607213973999023,
0.5702251195907593,
0.07097385078668594,
1.3393807411193848,
0.4581250846385956,
-0.09315464645624161,
-0.27107542753219604,
0.24988479912281036,
0.7443975210189819,
-0.0625363364815712,
1.3970556259155273,
0.7870064973831177,
-0.6008689403533936,... |
func (o FilterFindingCriteriaCriterionOutput) Field() pulumi.StringOutput {
return o.ApplyT(func(v FilterFindingCriteriaCriterion) string { return v.Field }).(pulumi.StringOutput)
} | [
1.0313057899475098,
0.030211754143238068,
0.5458986759185791,
-0.4199260473251343,
0.4313757121562958,
1.3856221437454224,
0.3995468318462372,
0.5498239398002625,
-0.1753137707710266,
-0.13813544809818268,
0.9311938285827637,
0.5665065050125122,
0.8472786545753479,
-1.224564790725708,
0.... |
func (o FilterFindingCriteriaCriterionOutput) GreaterThan() pulumi.StringPtrOutput {
return o.ApplyT(func(v FilterFindingCriteriaCriterion) *string { return v.GreaterThan }).(pulumi.StringPtrOutput)
} | [
0.9285213947296143,
-0.16806349158287048,
0.496106892824173,
-0.18143051862716675,
0.6077099442481995,
1.426839828491211,
0.6034956574440002,
-0.32072776556015015,
0.06177504360675812,
-0.06479283422231674,
0.9657752513885498,
1.1727107763290405,
0.7946882247924805,
-0.9449166059494019,
... |
func (o FilterFindingCriteriaCriterionOutput) GreaterThanOrEqual() pulumi.StringPtrOutput {
return o.ApplyT(func(v FilterFindingCriteriaCriterion) *string { return v.GreaterThanOrEqual }).(pulumi.StringPtrOutput)
} | [
0.1871878057718277,
-0.5648645162582397,
0.5896579027175903,
-0.5365121364593506,
0.8701164722442627,
0.7823330760002136,
0.1727651208639145,
-0.03400712087750435,
-0.20910736918449402,
0.5819257497787476,
0.7650815844535828,
0.907050371170044,
1.076627492904663,
-1.186265468597412,
-1.0... |
func (o FilterFindingCriteriaCriterionOutput) LessThan() pulumi.StringPtrOutput {
return o.ApplyT(func(v FilterFindingCriteriaCriterion) *string { return v.LessThan }).(pulumi.StringPtrOutput)
} | [
1.3843648433685303,
-0.8516563773155212,
0.4585205912590027,
-1.092134714126587,
0.5652384161949158,
1.3755766153335571,
0.7103132605552673,
-0.41851451992988586,
0.35990673303604126,
-0.48334062099456787,
0.7096230983734131,
1.3073768615722656,
0.15139858424663544,
-0.8023213744163513,
... |
func (o FilterFindingCriteriaCriterionOutput) LessThanOrEqual() pulumi.StringPtrOutput {
return o.ApplyT(func(v FilterFindingCriteriaCriterion) *string { return v.LessThanOrEqual }).(pulumi.StringPtrOutput)
} | [
0.85791015625,
-1.0003125667572021,
0.6881612539291382,
-1.2421584129333496,
0.896625816822052,
0.42040136456489563,
0.17522601783275604,
-0.12953686714172363,
0.331609845161438,
0.26579347252845764,
0.5721642374992371,
0.882380485534668,
0.6868736147880554,
-1.0703247785568237,
-1.29265... |
func (o FilterFindingCriteriaCriterionOutput) NotEquals() pulumi.StringArrayOutput {
return o.ApplyT(func(v FilterFindingCriteriaCriterion) []string { return v.NotEquals }).(pulumi.StringArrayOutput)
} | [
-0.3431473970413208,
-0.5083979964256287,
0.601777195930481,
-0.10505951195955276,
0.9493393898010254,
0.716322660446167,
-0.17094460129737854,
-0.791459858417511,
0.2436644583940506,
0.3592125475406647,
-0.19911320507526398,
1.155861735343933,
0.6563319563865662,
0.09877873957157135,
-0... |
func (o OrganizationConfigurationDatasourcesOutput) Kubernetes() OrganizationConfigurationDatasourcesKubernetesPtrOutput {
return o.ApplyT(func(v OrganizationConfigurationDatasources) *OrganizationConfigurationDatasourcesKubernetes {
return v.Kubernetes
}).(OrganizationConfigurationDatasourcesKubernetesPtrOutput)
} | [
0.051418691873550415,
0.07952224463224411,
0.40226027369499207,
-0.898428738117218,
0.004932319279760122,
-0.4241620600223541,
0.0505853034555912,
0.04692637175321579,
1.4503144025802612,
-0.48169201612472534,
-0.30181172490119934,
-0.4932304322719574,
1.26816725730896,
-0.6740639805793762... |
func (o OrganizationConfigurationDatasourcesOutput) MalwareProtection() OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput {
return o.ApplyT(func(v OrganizationConfigurationDatasources) *OrganizationConfigurationDatasourcesMalwareProtection {
return v.MalwareProtection
}).(OrganizationConfigurationDatas... | [
0.38264986872673035,
0.06452853977680206,
0.3576800525188446,
0.1419895738363266,
-0.6606717109680176,
-0.15991181135177612,
0.37337610125541687,
0.44611260294914246,
1.5789910554885864,
0.01576189324259758,
-0.37165310978889465,
-0.7203701734542847,
-0.16855478286743164,
-0.39036774635314... |
func (o OrganizationConfigurationDatasourcesOutput) S3Logs() OrganizationConfigurationDatasourcesS3LogsPtrOutput {
return o.ApplyT(func(v OrganizationConfigurationDatasources) *OrganizationConfigurationDatasourcesS3Logs {
return v.S3Logs
}).(OrganizationConfigurationDatasourcesS3LogsPtrOutput)
} | [
0.7054156064987183,
0.2241978943347931,
0.3943098485469818,
-1.0788347721099854,
-0.4901413321495056,
0.7024463415145874,
-0.32457324862480164,
0.5466568470001221,
1.3949579000473022,
0.42645084857940674,
-0.8449684381484985,
0.353031188249588,
0.7771191596984863,
-1.674237608909607,
-0.... |
func (o OrganizationConfigurationDatasourcesPtrOutput) Kubernetes() OrganizationConfigurationDatasourcesKubernetesPtrOutput {
return o.ApplyT(func(v *OrganizationConfigurationDatasources) *OrganizationConfigurationDatasourcesKubernetes {
if v == nil {
return nil
}
return v.Kubernetes
}).(OrganizationConfigur... | [
0.0076371305622160435,
0.21507209539413452,
0.3303198516368866,
-0.8221446871757507,
0.19439445436000824,
-0.6226621270179749,
0.005261359270662069,
-0.05730632320046425,
1.4435951709747314,
-0.4688701033592224,
-0.3443697988986969,
-0.4207074046134949,
1.0490269660949707,
-0.5152858495712... |
func (o OrganizationConfigurationDatasourcesPtrOutput) MalwareProtection() OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput {
return o.ApplyT(func(v *OrganizationConfigurationDatasources) *OrganizationConfigurationDatasourcesMalwareProtection {
if v == nil {
return nil
}
return v.MalwareProtecti... | [
0.34638360142707825,
0.27671071887016296,
0.3407883048057556,
0.15230339765548706,
-0.5790244936943054,
-0.27038055658340454,
0.40242961049079895,
0.3302292823791504,
1.637453317642212,
-0.09556282311677933,
-0.4450981914997101,
-0.7336782217025757,
-0.36327114701271057,
-0.276624143123626... |
func (o OrganizationConfigurationDatasourcesPtrOutput) S3Logs() OrganizationConfigurationDatasourcesS3LogsPtrOutput {
return o.ApplyT(func(v *OrganizationConfigurationDatasources) *OrganizationConfigurationDatasourcesS3Logs {
if v == nil {
return nil
}
return v.S3Logs
}).(OrganizationConfigurationDatasources... | [
0.655122697353363,
0.29555588960647583,
0.35666683316230774,
-0.9797539710998535,
-0.2953171133995056,
0.6296162009239197,
-0.32194551825523376,
0.4124165177345276,
1.4905658960342407,
0.35893741250038147,
-0.8358060121536255,
0.3681013882160187,
0.600500762462616,
-1.5392481088638306,
-... |
func (o OrganizationConfigurationDatasourcesKubernetesOutput) AuditLogs() OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput {
return o.ApplyT(func(v OrganizationConfigurationDatasourcesKubernetes) OrganizationConfigurationDatasourcesKubernetesAuditLogs {
return v.AuditLogs
}).(OrganizationConfigurationD... | [
0.8656309843063354,
0.22050459682941437,
0.49449387192726135,
-0.49591097235679626,
-0.6449060440063477,
-0.07543859630823135,
0.023910624906420708,
0.10211846232414246,
1.5986149311065674,
-0.17072640359401703,
-0.25777116417884827,
0.6235325336456299,
1.5199087858200073,
-0.4971773922443... |
func (o OrganizationConfigurationDatasourcesKubernetesPtrOutput) AuditLogs() OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput {
return o.ApplyT(func(v *OrganizationConfigurationDatasourcesKubernetes) *OrganizationConfigurationDatasourcesKubernetesAuditLogs {
if v == nil {
return nil
}
return &... | [
0.8382190465927124,
0.3553234040737152,
0.49154922366142273,
-0.47532767057418823,
-0.41558462381362915,
-0.09370949864387512,
0.0013414743589237332,
-0.03442060574889183,
1.6674996614456177,
-0.292015016078949,
-0.30183669924736023,
0.5204048156738281,
1.2437735795974731,
-0.3504352569580... |
func (o OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) Enable() pulumi.BoolOutput {
return o.ApplyT(func(v OrganizationConfigurationDatasourcesKubernetesAuditLogs) bool { return v.Enable }).(pulumi.BoolOutput)
} | [
0.657145082950592,
0.7911630272865295,
0.46320801973342896,
0.22786566615104675,
-0.325496107339859,
0.9731485843658447,
-0.5086721181869507,
0.8159090280532837,
1.0060718059539795,
0.592339038848877,
-0.4861573278903961,
0.737406849861145,
-0.02591547742486,
-0.743312418460846,
-0.36260... |
func (o OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput) Enable() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *OrganizationConfigurationDatasourcesKubernetesAuditLogs) *bool {
if v == nil {
return nil
}
return &v.Enable
}).(pulumi.BoolPtrOutput)
} | [
0.6965106129646301,
0.8054333925247192,
0.4509109854698181,
0.34596920013427734,
-0.04065852239727974,
0.9734863638877869,
-0.48204460740089417,
0.9364029169082642,
1.098474144935608,
0.4883992671966553,
-0.5770876407623291,
0.6758441925048828,
-0.15747953951358795,
-0.7953997850418091,
... |
func (o OrganizationConfigurationDatasourcesMalwareProtectionOutput) ScanEc2InstanceWithFindings() OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput {
return o.ApplyT(func(v OrganizationConfigurationDatasourcesMalwareProtection) OrganizationConfigurationDatasourcesMalwareProtection... | [
0.023896120488643646,
-0.2707250714302063,
0.48284924030303955,
0.2864173650741577,
-1.4417774677276611,
0.1875782310962677,
0.805934488773346,
-0.7415602803230286,
0.6670961380004883,
-0.28454697132110596,
-0.2493390440940857,
0.04868796840310097,
0.46130749583244324,
-0.15090984106063843... |
func (o OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput) ScanEc2InstanceWithFindings() OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput {
return o.ApplyT(func(v *OrganizationConfigurationDatasourcesMalwareProtection) *OrganizationConfigurationDatasourcesMalwarePr... | [
-0.02585502527654171,
-0.11618871241807938,
0.4370875656604767,
0.21107010543346405,
-1.4471020698547363,
0.2583259046077728,
0.6553744673728943,
-0.7045380473136902,
0.7255157232284546,
-0.3695695102214813,
-0.274120032787323,
-0.017873752862215042,
0.24073651432991028,
-0.118839755654335... |
func (o OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) EbsVolumes() OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput {
return o.ApplyT(func(v OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings) Organi... | [
0.8274310827255249,
-0.3736479580402374,
0.43233197927474976,
0.18592485785484314,
-0.48339101672172546,
0.11679700016975403,
-0.287502646446228,
-0.7207818031311035,
0.8128162026405334,
0.1120573952794075,
-0.24250458180904388,
0.07356596738100052,
0.7908955216407776,
0.3012023866176605,
... |
func (o OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) EbsVolumes() OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput {
return o.ApplyT(func(v *OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings)... | [
0.721156120300293,
-0.24788613617420197,
0.4113048315048218,
0.21279016137123108,
-0.4462375342845917,
0.19021975994110107,
-0.27265021204948425,
-0.6644724607467651,
0.8422393202781677,
0.09586501121520996,
-0.19984516501426697,
0.07432661205530167,
0.7441856861114502,
0.2951311767101288,... |
func (o OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) AutoEnable() pulumi.BoolOutput {
return o.ApplyT(func(v OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes) bool {
return v.AutoEnable
}).(pulumi.BoolOutput)
} | [
1.0148876905441284,
-0.2127130627632141,
0.5056032538414001,
1.3293052911758423,
-0.02207469381392002,
0.24683699011802673,
0.14074262976646423,
0.49676212668418884,
0.42482584714889526,
0.30659225583076477,
-0.9858943819999695,
0.04591609910130501,
-0.0938047245144844,
-0.3804753124713897... |
func (o OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) AutoEnable() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes) *bool {
if v == nil {
return nil
}
return &v.Auto... | [
0.9873860478401184,
-0.12010841816663742,
0.5317339301109314,
1.3717167377471924,
0.07828765362501144,
0.21672362089157104,
0.07930650562047958,
0.5532715320587158,
0.45561254024505615,
0.15963685512542725,
-1.0238844156265259,
0.000012503834113886114,
-0.20500768721103668,
-0.377237856388... |
func (VS *Server) about(c *gin.Context) {
render(c, gin.H{}, "presentation-about.html")
} | [
0.3801479637622833,
-0.27903318405151367,
0.41326600313186646,
0.49666398763656616,
0.7701659202575684,
0.3794504404067993,
0.30090904235839844,
0.9569440484046936,
-0.8061384558677673,
-0.08639536052942276,
1.0536762475967407,
0.8934418559074402,
-0.08442384004592896,
1.0956673622131348,
... |
func (VS *Server) design(c *gin.Context) {
render(c, gin.H{}, "presentation-design.html")
} | [
0.21991023421287537,
1.0908323526382446,
0.2078786939382553,
0.991714596748352,
0.6447112560272217,
0.8301325440406799,
0.06328412145376205,
1.0141608715057373,
-0.47854483127593994,
-0.3167317509651184,
0.841638445854187,
0.7216138243675232,
-0.03945789113640785,
0.7602620124816895,
-0.... |
func (VS *Server) features(c *gin.Context) {
render(c, gin.H{}, "presentation-features.html")
} | [
0.2492668479681015,
0.39598730206489563,
0.243839830160141,
0.033171381801366806,
0.6947888135910034,
0.1667807251214981,
0.5617424249649048,
1.0519217252731323,
-0.1939014047384262,
-0.8875933289527893,
0.1510755568742752,
0.6001620888710022,
-0.5601803660392761,
1.0003516674041748,
-0.... |
func (VS *Server) manuals(c *gin.Context) {
render(c, gin.H{}, "presentation-manuals.html")
} | [
-0.25091856718063354,
0.3432905972003937,
0.16550052165985107,
0.0680953860282898,
-0.37702062726020813,
0.4910716712474823,
-0.8915014863014221,
0.25325870513916016,
-0.7359046936035156,
-0.6085090041160583,
0.769990086555481,
0.9917545318603516,
-0.06139473244547844,
0.5723513960838318,
... |
func NewEntitlementManagementAssignmentRequestsItemAccessPackageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAssignmentRequestsItemAccessPackageRequestBuilder) {
m := &EntitlementManage... | [
-0.9998102784156799,
-0.3581985831260681,
0.8219811916351318,
-0.6503518223762512,
-1.1146042346954346,
0.5878032445907593,
0.5588931441307068,
0.21054601669311523,
-0.09066857397556305,
0.32757577300071716,
1.2898708581924438,
0.3333335816860199,
-0.16507525742053986,
0.6916354298591614,
... |
func NewEntitlementManagementAssignmentRequestsItemAccessPackageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementAssignmentRequestsItemAccessPackageRequestBuilder) {
urlParams := make(map[string]string)
urlParams... | [
-1.4166327714920044,
-0.3122918903827667,
0.49947479367256165,
-0.09585610777139664,
-1.0853685140609741,
-0.009418899193406105,
0.2985031008720398,
0.4634062647819519,
0.401770681142807,
0.17102022469043732,
1.1397373676300049,
0.04792178422212601,
0.38295838236808777,
1.030124306678772,
... |
func (m *EntitlementManagementAssignmentRequestsItemAccessPackageRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsItemAccessPackageRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable, error) {
... | [
-0.7512688636779785,
-0.17576532065868378,
0.9664368033409119,
-0.6807048916816711,
-0.43378034234046936,
0.17098774015903473,
0.17122387886047363,
-0.15480612218379974,
0.13371209800243378,
0.28096768260002136,
1.1277738809585571,
0.8840609192848206,
0.08691315352916718,
0.317911416292190... |
func (m *EntitlementManagementAssignmentRequestsItemAccessPackageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsItemAccessPackageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInf... | [
-1.480959415435791,
-0.22048792243003845,
0.9925662279129028,
-1.0189396142959595,
-0.3223360776901245,
-0.1578284204006195,
-0.0035540733952075243,
-0.3475254476070404,
0.19720129668712616,
-0.02018303982913494,
1.019299864768982,
0.4080807566642761,
0.09129680693149567,
0.529284417629241... |
func Open(
ctx context.Context,
addr string,
appname string,
names ...string,
) (*MongoDB, error) {
m := &MongoDB{
ctx: context.WithValue(
ctx,
keyPrincipalID,
primitive.NewObjectID().Hex(),
),
connstr: fmt.Sprintf(
"mongodb://%s/?readPreference=primary&appname=%s",
addr, appname,
),
coll:... | [
-0.4348633289337158,
0.5400078296661377,
0.6219245195388794,
-0.014610527083277702,
-0.4836808145046234,
0.7938143014907837,
-0.20796872675418854,
0.27719825506210327,
0.10586478561162949,
0.45233219861984253,
-0.17202839255332947,
0.6174384951591492,
-0.7187805771827698,
-0.05635243281722... |
func (m *MongoDB) Client() *mongo.Client {
return m.client
} | [
-0.032199643552303314,
-0.13912895321846008,
-0.03841312602162361,
0.47694098949432373,
-0.18177397549152374,
0.8183720707893372,
0.8287563323974609,
-0.22868190705776215,
0.2139613926410675,
-0.49097055196762085,
-0.0098038911819458,
0.9503879547119141,
-0.6880958676338196,
-0.63731652498... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.