query stringlengths 10 2k | document stringlengths 20 51.2k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.7326596",
"0.67603046",
"0.65427804",
"0.643434",
"0.63852257",
"0.63852257",
"0.63065404",
"0.6223964",
"0.6223964",
"0.6220433",
"0.6215004",
"0.61213595",
"0.6103918",
"0.60797006",
"0.6021015",
"0.59674895",
"0.5907088",
"0.58990926",
"0.5843296",
"0.5804733",
"0.57873... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.5249963",
"0.51758236",
"0.5094614",
"0.5071413",
"0.46807075",
"0.4673478",
"0.4576806",
"0.45481873",
"0.45354503",
"0.45049328",
"0.4473483",
"0.44685835",
"0.44438827",
"0.44069025",
"0.43898425",
"0.4375247",
"0.43654788",
"0.4364087",
"0.42776182",
"0.42569107",
"0.4... | 0.51979244 | 6 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.71476996",
"0.6786153",
"0.6333748",
"0.63196415",
"0.62683004",
"0.6245744",
"0.6189254",
"0.6142109",
"0.6133771",
"0.6113892",
"0.6008603",
"0.5972593",
"0.5970724",
"0.596864",
"0.59606457",
"0.59343",
"0.58804095",
"0.5769583",
"0.5751764",
"0.5695344",
"0.5683003",
... | 0.7419959 | 14 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.8125607",
"0.7769917",
"0.68590343",
"0.622387",
"0.5951845",
"0.5950428",
"0.5817936",
"0.57732624",
"0.56761223",
"0.56241024",
"0.561501",
"0.55290407",
"0.5482199",
"0.54586315",
"0.54287744",
"0.5416411",
"0.54072386",
"0.5384012",
"0.53806716",
"0.5362444",
"0.535377... | 0.7894309 | 16 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.65036404",
"0.59165806",
"0.5902776",
"0.5699837",
"0.56591874",
"0.56507325",
"0.56345856",
"0.55822587",
"0.5540707",
"0.5540707",
"0.5540707",
"0.54012847",
"0.54012847",
"0.54012847",
"0.532837",
"0.5301631",
"0.5301631",
"0.5301631",
"0.5231586",
"0.5231586",
"0.52315... | 0.62448394 | 16 |
EnvVar represents an environment variable present in a Container. | def __init__(__self__, *,
name: str,
value: Optional[str] = None,
value_from: Optional['outputs.CSIIsilonSpecDriverControllerEnvsValueFrom'] = None):
pulumi.set(__self__, "name", name)
if value is not None:
pulumi.set(__self__, "value", valu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def env(var):\n return os.environ[var]",
"def with_env_variable(\n self,\n name: str,\n value: str,\n expand: Optional[bool] = None,\n ) -> \"Container\":\n _args = [\n Arg(\"name\", name),\n Arg(\"value\", value),\n Arg(\"expand\", expand... | [
"0.6759011",
"0.64400876",
"0.6365067",
"0.6353957",
"0.6332777",
"0.63078386",
"0.6261371",
"0.61820585",
"0.60630727",
"0.6052506",
"0.6047019",
"0.6040598",
"0.6039395",
"0.6014736",
"0.5986097",
"0.59742486",
"0.5959875",
"0.59374666",
"0.5901712",
"0.58948684",
"0.585241... | 0.0 | -1 |
Name of the environment variable. Must be a C_IDENTIFIER. | def name(self) -> str:
return pulumi.get(self, "name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def name(self):\n return self._env_name",
"def environment_variable_string(self, name):\n return \"$(\" + name + \")\"",
"def windows_get_env_value(var_name: str) -> str:\n if var_name in os.environ.keys():\n return os.environ[var_name]",
"def name(self):\n return get_env_name(... | [
"0.7077907",
"0.7016553",
"0.6866246",
"0.68332916",
"0.673384",
"0.6632302",
"0.6608542",
"0.65152144",
"0.64851284",
"0.64836395",
"0.6424502",
"0.6413172",
"0.6373353",
"0.6326714",
"0.6299851",
"0.6297544",
"0.62437737",
"0.62256134",
"0.62034106",
"0.61719394",
"0.615319... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def value_from(self) -> Optional['outputs.CSIIsilonSpecDriverControllerEnvsValueFrom']:
return pulumi.get(self, "value_from") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.72288674",
"0.64534545",
"0.6357108",
"0.6340354",
"0.63287365",
"0.62147003",
"0.61874634",
"0.61761737",
"0.61121243",
"0.6071117",
"0.6045305",
"0.60322315",
"0.60140574",
"0.6012305",
"0.5996602",
"0.5996114",
"0.59795004",
"0.59593",
"0.5936663",
"0.5903263",
"0.58764... | 0.54791707 | 72 |
Source for the environment variable's value. Cannot be used if value is not empty. | def __init__(__self__, *,
config_map_key_ref: Optional['outputs.CSIIsilonSpecDriverControllerEnvsValueFromConfigMapKeyRef'] = None,
field_ref: Optional['outputs.CSIIsilonSpecDriverControllerEnvsValueFromFieldRef'] = None,
resource_field_ref: Optional['outputs.CSIIsilon... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.0 | -1 |
The key of the secret to select from. Must be a valid secret key. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key... | [
"0.8151506",
"0.8151506",
"0.79965776",
"0.77537954",
"0.7631615",
"0.7569326",
"0.7526465",
"0.7504232",
"0.7439955",
"0.73201615",
"0.73201615",
"0.72896695",
"0.72896695",
"0.7163214",
"0.7163214",
"0.7155468",
"0.7111221",
"0.70946145",
"0.7077507",
"0.7058157",
"0.692485... | 0.0 | -1 |
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.73266023",
"0.6760859",
"0.6542871",
"0.64349735",
"0.63849086",
"0.63849086",
"0.6305177",
"0.6225949",
"0.6225949",
"0.62220925",
"0.6216357",
"0.61213166",
"0.610515",
"0.6080307",
"0.6022408",
"0.59687054",
"0.590373",
"0.5900448",
"0.5843341",
"0.5804626",
"0.5788784"... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.525002",
"0.5175332",
"0.5095093",
"0.5070923",
"0.46806106",
"0.46731102",
"0.45775172",
"0.4548164",
"0.45342523",
"0.45079395",
"0.44736505",
"0.4467488",
"0.44433388",
"0.44055945",
"0.43884957",
"0.43769285",
"0.43666482",
"0.43645468",
"0.42781827",
"0.42576003",
"0.... | 0.5198234 | 14 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.714755",
"0.67853177",
"0.63340205",
"0.63201934",
"0.6268898",
"0.6246644",
"0.6189489",
"0.6142621",
"0.613437",
"0.6114712",
"0.6009406",
"0.5972994",
"0.59713846",
"0.59691983",
"0.59610796",
"0.5934421",
"0.58813524",
"0.576965",
"0.5752336",
"0.5696302",
"0.5683948",... | 0.7420314 | 15 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.8126107",
"0.7770004",
"0.6859175",
"0.6223585",
"0.5951696",
"0.59508103",
"0.58179516",
"0.5773029",
"0.56763005",
"0.5624144",
"0.5615257",
"0.5528704",
"0.54825956",
"0.54583377",
"0.5428637",
"0.54179037",
"0.5407511",
"0.53829175",
"0.53810453",
"0.5362414",
"0.53538... | 0.7894336 | 17 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.6504223",
"0.59180236",
"0.5903241",
"0.5700027",
"0.5659309",
"0.56515926",
"0.56347626",
"0.5582238",
"0.55402756",
"0.55402756",
"0.55402756",
"0.5400653",
"0.5400653",
"0.5400653",
"0.5329038",
"0.5302223",
"0.5302223",
"0.5302223",
"0.52320147",
"0.52320147",
"0.52320... | 0.62453645 | 17 |
EnvVar represents an environment variable present in a Container. | def __init__(__self__, *,
name: str,
value: Optional[str] = None,
value_from: Optional['outputs.CSIIsilonSpecDriverNodeEnvsValueFrom'] = None):
pulumi.set(__self__, "name", name)
if value is not None:
pulumi.set(__self__, "value", value)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def env(var):\n return os.environ[var]",
"def with_env_variable(\n self,\n name: str,\n value: str,\n expand: Optional[bool] = None,\n ) -> \"Container\":\n _args = [\n Arg(\"name\", name),\n Arg(\"value\", value),\n Arg(\"expand\", expand... | [
"0.6758538",
"0.64389735",
"0.6364799",
"0.6353097",
"0.63305",
"0.6307718",
"0.6261403",
"0.61812514",
"0.60616326",
"0.60525066",
"0.6046134",
"0.60393035",
"0.6039196",
"0.60139316",
"0.59867454",
"0.597505",
"0.5959689",
"0.5938032",
"0.5902736",
"0.5896853",
"0.58524114"... | 0.0 | -1 |
Name of the environment variable. Must be a C_IDENTIFIER. | def name(self) -> str:
return pulumi.get(self, "name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def name(self):\n return self._env_name",
"def environment_variable_string(self, name):\n return \"$(\" + name + \")\"",
"def windows_get_env_value(var_name: str) -> str:\n if var_name in os.environ.keys():\n return os.environ[var_name]",
"def name(self):\n return get_env_name(... | [
"0.7078476",
"0.7016357",
"0.6865433",
"0.68334156",
"0.673431",
"0.66320115",
"0.6609426",
"0.6513908",
"0.64862055",
"0.64834195",
"0.6423471",
"0.6412503",
"0.6373314",
"0.63259304",
"0.6300154",
"0.62985176",
"0.6243901",
"0.62251824",
"0.62028366",
"0.61731523",
"0.61527... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def value_from(self) -> Optional['outputs.CSIIsilonSpecDriverNodeEnvsValueFrom']:
return pulumi.get(self, "value_from") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.55197495 | 66 |
Source for the environment variable's value. Cannot be used if value is not empty. | def __init__(__self__, *,
config_map_key_ref: Optional['outputs.CSIIsilonSpecDriverNodeEnvsValueFromConfigMapKeyRef'] = None,
field_ref: Optional['outputs.CSIIsilonSpecDriverNodeEnvsValueFromFieldRef'] = None,
resource_field_ref: Optional['outputs.CSIIsilonSpecDriverNo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.0 | -1 |
The key of the secret to select from. Must be a valid secret key. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key... | [
"0.8150696",
"0.8150696",
"0.7996177",
"0.7752364",
"0.76310486",
"0.7568511",
"0.75257224",
"0.75033045",
"0.7439216",
"0.7318658",
"0.7318658",
"0.7287908",
"0.7287908",
"0.7162078",
"0.7162078",
"0.7155874",
"0.71104914",
"0.7094365",
"0.7077428",
"0.7058282",
"0.6923393",... | 0.664461 | 91 |
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.732649",
"0.67606384",
"0.65427554",
"0.6434086",
"0.63853836",
"0.63853836",
"0.6303913",
"0.6225126",
"0.6225126",
"0.62211883",
"0.62158",
"0.61208487",
"0.61052066",
"0.60800326",
"0.6021938",
"0.5967823",
"0.5905159",
"0.589961",
"0.58436424",
"0.5805063",
"0.5787778"... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.5249019",
"0.5174624",
"0.50945896",
"0.50699157",
"0.46803394",
"0.46711054",
"0.45754543",
"0.45481455",
"0.45327738",
"0.45105895",
"0.44726506",
"0.44661242",
"0.4441645",
"0.44045752",
"0.4389395",
"0.43779585",
"0.43659005",
"0.43648636",
"0.4279311",
"0.42567948",
"... | 0.5197312 | 17 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.71468115",
"0.67845386",
"0.6333851",
"0.6319501",
"0.6268585",
"0.62457675",
"0.6188753",
"0.614216",
"0.61334115",
"0.611372",
"0.6008227",
"0.59719706",
"0.5970439",
"0.5968476",
"0.5960054",
"0.5933925",
"0.5880218",
"0.5768558",
"0.5750924",
"0.569494",
"0.56824297",
... | 0.7420646 | 16 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.81261945",
"0.77687275",
"0.68602073",
"0.6225474",
"0.5954262",
"0.5952806",
"0.58203423",
"0.5775785",
"0.5677485",
"0.56256837",
"0.56171405",
"0.55313295",
"0.5484522",
"0.5460518",
"0.54302096",
"0.5415769",
"0.5409425",
"0.53839344",
"0.53822386",
"0.5364583",
"0.535... | 0.78933436 | 3 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.6502919",
"0.5919623",
"0.5903634",
"0.5698336",
"0.56576276",
"0.56496847",
"0.5633097",
"0.55805796",
"0.55391717",
"0.55391717",
"0.55391717",
"0.5399633",
"0.5399633",
"0.5399633",
"0.5327854",
"0.5300586",
"0.5300586",
"0.5300586",
"0.52303886",
"0.52303886",
"0.52303... | 0.6244399 | 2 |
EnvVar represents an environment variable present in a Container. | def __init__(__self__, *,
name: str,
value: Optional[str] = None,
value_from: Optional['outputs.CSIIsilonSpecDriverSideCarsEnvsValueFrom'] = None):
pulumi.set(__self__, "name", name)
if value is not None:
pulumi.set(__self__, "value", value)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def env(var):\n return os.environ[var]",
"def with_env_variable(\n self,\n name: str,\n value: str,\n expand: Optional[bool] = None,\n ) -> \"Container\":\n _args = [\n Arg(\"name\", name),\n Arg(\"value\", value),\n Arg(\"expand\", expand... | [
"0.6758538",
"0.64389735",
"0.6364799",
"0.6353097",
"0.63305",
"0.6307718",
"0.6261403",
"0.61812514",
"0.60616326",
"0.60525066",
"0.6046134",
"0.60393035",
"0.6039196",
"0.60139316",
"0.59867454",
"0.597505",
"0.5959689",
"0.5938032",
"0.5902736",
"0.5896853",
"0.58524114"... | 0.0 | -1 |
Name of the environment variable. Must be a C_IDENTIFIER. | def name(self) -> str:
return pulumi.get(self, "name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def name(self):\n return self._env_name",
"def environment_variable_string(self, name):\n return \"$(\" + name + \")\"",
"def windows_get_env_value(var_name: str) -> str:\n if var_name in os.environ.keys():\n return os.environ[var_name]",
"def name(self):\n return get_env_name(... | [
"0.707886",
"0.70169437",
"0.68652874",
"0.68336385",
"0.67338234",
"0.6632225",
"0.66093564",
"0.6515423",
"0.6485804",
"0.6483849",
"0.6423898",
"0.64139676",
"0.6373172",
"0.63263583",
"0.6298889",
"0.6297938",
"0.62448883",
"0.6225822",
"0.62034917",
"0.6172938",
"0.61534... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def value_from(self) -> Optional['outputs.CSIIsilonSpecDriverSideCarsEnvsValueFrom']:
return pulumi.get(self, "value_from") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def __init__(__self__, *,
config_map_key_ref: Optional['outputs.CSIIsilonSpecDriverSideCarsEnvsValueFromConfigMapKeyRef'] = None,
field_ref: Optional['outputs.CSIIsilonSpecDriverSideCarsEnvsValueFromFieldRef'] = None,
resource_field_ref: Optional['outputs.CSIIsilonSpec... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228275",
"0.64528674",
"0.6357909",
"0.633982",
"0.6328291",
"0.62157595",
"0.6187024",
"0.61756605",
"0.6110127",
"0.6071726",
"0.60466075",
"0.6032628",
"0.6013969",
"0.60129076",
"0.59961873",
"0.5995158",
"0.5981432",
"0.59606564",
"0.59373564",
"0.59033906",
"0.58769... | 0.0 | -1 |
The key of the secret to select from. Must be a valid secret key. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key... | [
"0.81515235",
"0.81515235",
"0.79967463",
"0.77533454",
"0.7631605",
"0.7569842",
"0.7526095",
"0.7503426",
"0.74400395",
"0.73191357",
"0.73191357",
"0.72888464",
"0.72888464",
"0.716242",
"0.716242",
"0.7155205",
"0.71101844",
"0.7094617",
"0.7077072",
"0.7058335",
"0.69245... | 0.66455597 | 87 |
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.732649",
"0.67606384",
"0.65427554",
"0.6434086",
"0.63853836",
"0.63853836",
"0.6303913",
"0.6225126",
"0.6225126",
"0.62211883",
"0.62158",
"0.61208487",
"0.61052066",
"0.60800326",
"0.6021938",
"0.5967823",
"0.5905159",
"0.589961",
"0.58436424",
"0.5805063",
"0.5787778"... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.5248231",
"0.5175058",
"0.5093315",
"0.5070223",
"0.46813372",
"0.46715102",
"0.45769897",
"0.45475003",
"0.45334455",
"0.45069087",
"0.44731933",
"0.44663164",
"0.44419047",
"0.4404099",
"0.43879226",
"0.4374986",
"0.43658465",
"0.4363518",
"0.42775276",
"0.42558998",
"0.... | 0.5197251 | 1 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.714702",
"0.67864156",
"0.6333408",
"0.6319307",
"0.6268101",
"0.6245598",
"0.61886585",
"0.6141688",
"0.61333245",
"0.6113511",
"0.6008451",
"0.59721786",
"0.59702766",
"0.59684473",
"0.5959957",
"0.5933874",
"0.58801407",
"0.5768864",
"0.57512695",
"0.5694877",
"0.568268... | 0.742108 | 0 |
A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. | def __init__(__self__, *,
key: str,
values: Sequence[str]):
pulumi.set(__self__, "key", key)
pulumi.set(__self__, "values", values) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_topology(self) -> \"LabelSelector\":\n return typing.cast(\n \"LabelSelector\",\n self._properties.get(\"nodeTopology\"),\n )",
"def select_node_by_label(conn, label):\n cur = conn.cursor()\n cur.execute(\"SELECT * FROM Nodes WHERE label=?\", (label,))",
"def ... | [
"0.6271227",
"0.62543595",
"0.567718",
"0.56711143",
"0.5576741",
"0.5512908",
"0.5467312",
"0.54404736",
"0.540365",
"0.53814125",
"0.5180911",
"0.5170459",
"0.5170459",
"0.5170459",
"0.5151084",
"0.5100996",
"0.5100996",
"0.5100996",
"0.5098848",
"0.5081431",
"0.5074894",
... | 0.0 | -1 |
The label key that the selector applies to. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_label(self, key):\n return self.labels.get(key, None)",
"def label(self):\n return self.__label",
"def label(self):\n return self.__label",
"def label(self) -> str:\n return self.keysym.label",
"def label(self):\n return self.label_",
"def label(self) -> str:\n ... | [
"0.74785244",
"0.72473025",
"0.72473025",
"0.72118807",
"0.72036344",
"0.7163585",
"0.7156642",
"0.7144677",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.70850545",
"0.70830286",
... | 0.0 | -1 |
ControllerStatus is the status of Controller pods | def controller_status(self) -> Optional['outputs.CSIIsilonStatusControllerStatus']:
return pulumi.get(self, "controller_status") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def controller_status(self) -> Optional['outputs.CSIVXFlexOSStatusControllerStatus']:\n return pulumi.get(self, \"controller_status\")",
"def controller_status(self) -> Optional['outputs.CSIUnityStatusControllerStatus']:\n return pulumi.get(self, \"controller_status\")",
"def status(self) -> Cont... | [
"0.7894275",
"0.7716838",
"0.76570404",
"0.7581352",
"0.7435039",
"0.6915596",
"0.6864449",
"0.59351426",
"0.59238404",
"0.5888972",
"0.584402",
"0.58390266",
"0.58311397",
"0.5826533",
"0.58211887",
"0.5818358",
"0.5816246",
"0.58006066",
"0.57969457",
"0.57903516",
"0.57898... | 0.74678415 | 4 |
LastUpdate is the last updated state of the driver | def last_update(self) -> Optional['outputs.CSIIsilonStatusLastUpdate']:
return pulumi.get(self, "last_update") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def last_update(self):\n return self._last_update",
"def last_update(self):\n return self._last_update",
"def getLastUpdate():\n swDB = switchdb.DB()\n lastupdate = swDB.getLastUpdate()\n swDB.close()\n return lastupdate",
"def last_update(self, last_update):\n\n self._last_u... | [
"0.77127403",
"0.77127403",
"0.75767744",
"0.7510432",
"0.731144",
"0.72729355",
"0.72320265",
"0.7197602",
"0.7177298",
"0.71697426",
"0.7161317",
"0.7154808",
"0.7066533",
"0.7049104",
"0.70124286",
"0.69900936",
"0.6965795",
"0.691733",
"0.69014525",
"0.6849954",
"0.684995... | 0.7022632 | 14 |
ControllerStatus is the status of Controller pods | def __init__(__self__, *,
available: Optional[Sequence[str]] = None,
ready: Optional[Sequence[str]] = None,
starting: Optional[Sequence[str]] = None,
stopped: Optional[Sequence[str]] = None):
if available is not None:
pulumi.set(__s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def controller_status(self) -> Optional['outputs.CSIVXFlexOSStatusControllerStatus']:\n return pulumi.get(self, \"controller_status\")",
"def controller_status(self) -> Optional['outputs.CSIUnityStatusControllerStatus']:\n return pulumi.get(self, \"controller_status\")",
"def status(self) -> Cont... | [
"0.7894275",
"0.7716838",
"0.76570404",
"0.7581352",
"0.74678415",
"0.7435039",
"0.6915596",
"0.6864449",
"0.59351426",
"0.59238404",
"0.5888972",
"0.584402",
"0.58390266",
"0.58311397",
"0.5826533",
"0.58211887",
"0.5818358",
"0.5816246",
"0.58006066",
"0.57969457",
"0.57903... | 0.0 | -1 |
LastUpdate is the last updated state of the driver | def __init__(__self__, *,
condition: Optional[str] = None,
error_message: Optional[str] = None,
time: Optional[str] = None):
if condition is not None:
pulumi.set(__self__, "condition", condition)
if error_message is not None:
pul... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def last_update(self):\n return self._last_update",
"def last_update(self):\n return self._last_update",
"def getLastUpdate():\n swDB = switchdb.DB()\n lastupdate = swDB.getLastUpdate()\n swDB.close()\n return lastupdate",
"def last_update(self, last_update):\n\n self._last_u... | [
"0.77127403",
"0.77127403",
"0.75767744",
"0.7510432",
"0.731144",
"0.72729355",
"0.72320265",
"0.7197602",
"0.7177298",
"0.71697426",
"0.7161317",
"0.7154808",
"0.7066533",
"0.7049104",
"0.7022632",
"0.70124286",
"0.69900936",
"0.6965795",
"0.691733",
"0.69014525",
"0.684995... | 0.0 | -1 |
LastUpdate is the last updated state of the driver | def last_update(self) -> Optional['outputs.CSIPowerMaxRevProxyStatusLastUpdate']:
return pulumi.get(self, "last_update") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def last_update(self):\n return self._last_update",
"def last_update(self):\n return self._last_update",
"def getLastUpdate():\n swDB = switchdb.DB()\n lastupdate = swDB.getLastUpdate()\n swDB.close()\n return lastupdate",
"def last_update(self, last_update):\n\n self._last_u... | [
"0.77131146",
"0.77131146",
"0.7577367",
"0.75120014",
"0.7311992",
"0.72735405",
"0.72320783",
"0.71976095",
"0.71771914",
"0.7169759",
"0.71614677",
"0.71553385",
"0.7066601",
"0.7022449",
"0.7012528",
"0.6990631",
"0.6966273",
"0.69175315",
"0.6902252",
"0.6851522",
"0.685... | 0.70494956 | 13 |
LastUpdate is the last updated state of the driver | def __init__(__self__, *,
condition: Optional[str] = None,
error_message: Optional[str] = None,
time: Optional[str] = None):
if condition is not None:
pulumi.set(__self__, "condition", condition)
if error_message is not None:
pul... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def last_update(self):\n return self._last_update",
"def last_update(self):\n return self._last_update",
"def getLastUpdate():\n swDB = switchdb.DB()\n lastupdate = swDB.getLastUpdate()\n swDB.close()\n return lastupdate",
"def last_update(self, last_update):\n\n self._last_u... | [
"0.771098",
"0.771098",
"0.7575595",
"0.7508795",
"0.7309475",
"0.72713697",
"0.72304183",
"0.7196746",
"0.7176132",
"0.7168493",
"0.7159504",
"0.7153394",
"0.7064983",
"0.704778",
"0.7021128",
"0.7011365",
"0.6988596",
"0.69643414",
"0.6915236",
"0.6900326",
"0.68484986",
... | 0.0 | -1 |
StorageClass is the specification for Storage Classes | def storage_class(self) -> Optional[Sequence['outputs.CSIPowerMaxSpecDriverStorageClass']]:
return pulumi.get(self, "storage_class") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def storage_class(self) -> \"StorageClass\":\n return self._values.get('storage_class')",
"def storage_class(self) -> \"StorageClass\":\n return self._values.get('storage_class')",
"def storage_class(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverStorageClass']]:\n return pulumi.ge... | [
"0.80497444",
"0.80497444",
"0.7733593",
"0.7733317",
"0.75832784",
"0.75614315",
"0.75532156",
"0.6984797",
"0.68212986",
"0.6531295",
"0.6397015",
"0.63666344",
"0.6318624",
"0.6274233",
"0.6237891",
"0.6182181",
"0.60391",
"0.5787072",
"0.56052196",
"0.557219",
"0.55629146... | 0.74965537 | 7 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.8125607",
"0.7769917",
"0.68590343",
"0.622387",
"0.5951845",
"0.5950428",
"0.5817936",
"0.57732624",
"0.56761223",
"0.56241024",
"0.561501",
"0.55290407",
"0.5482199",
"0.54586315",
"0.54287744",
"0.5416411",
"0.54072386",
"0.5384012",
"0.53806716",
"0.5362444",
"0.535377... | 0.7894309 | 20 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.65036404",
"0.59165806",
"0.5902776",
"0.5699837",
"0.56591874",
"0.56507325",
"0.56345856",
"0.55822587",
"0.5540707",
"0.5540707",
"0.5540707",
"0.54012847",
"0.54012847",
"0.54012847",
"0.532837",
"0.5301631",
"0.5301631",
"0.5301631",
"0.5231586",
"0.5231586",
"0.52315... | 0.62448394 | 18 |
EnvVar represents an environment variable present in a Container. | def __init__(__self__, *,
name: str,
value: Optional[str] = None,
value_from: Optional['outputs.CSIPowerMaxSpecDriverCommonEnvsValueFrom'] = None):
pulumi.set(__self__, "name", name)
if value is not None:
pulumi.set(__self__, "value", value)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def env(var):\n return os.environ[var]",
"def with_env_variable(\n self,\n name: str,\n value: str,\n expand: Optional[bool] = None,\n ) -> \"Container\":\n _args = [\n Arg(\"name\", name),\n Arg(\"value\", value),\n Arg(\"expand\", expand... | [
"0.6759011",
"0.64400876",
"0.6365067",
"0.6353957",
"0.6332777",
"0.63078386",
"0.6261371",
"0.61820585",
"0.60630727",
"0.6052506",
"0.6047019",
"0.6040598",
"0.6039395",
"0.6014736",
"0.5986097",
"0.59742486",
"0.5959875",
"0.59374666",
"0.5901712",
"0.58948684",
"0.585241... | 0.0 | -1 |
Name of the environment variable. Must be a C_IDENTIFIER. | def name(self) -> str:
return pulumi.get(self, "name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def name(self):\n return self._env_name",
"def environment_variable_string(self, name):\n return \"$(\" + name + \")\"",
"def windows_get_env_value(var_name: str) -> str:\n if var_name in os.environ.keys():\n return os.environ[var_name]",
"def name(self):\n return get_env_name(... | [
"0.7077907",
"0.7016553",
"0.6866246",
"0.68332916",
"0.673384",
"0.6632302",
"0.6608542",
"0.65152144",
"0.64851284",
"0.64836395",
"0.6424502",
"0.6413172",
"0.6373353",
"0.6326714",
"0.6299851",
"0.6297544",
"0.62437737",
"0.62256134",
"0.62034106",
"0.61719394",
"0.615319... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def value_from(self) -> Optional['outputs.CSIPowerMaxSpecDriverCommonEnvsValueFrom']:
return pulumi.get(self, "value_from") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.72288674",
"0.64534545",
"0.6357108",
"0.6340354",
"0.63287365",
"0.62147003",
"0.61874634",
"0.61761737",
"0.61121243",
"0.6071117",
"0.6045305",
"0.60322315",
"0.60140574",
"0.6012305",
"0.5996602",
"0.5996114",
"0.59795004",
"0.59593",
"0.5936663",
"0.5903263",
"0.58764... | 0.5377931 | 92 |
Source for the environment variable's value. Cannot be used if value is not empty. | def __init__(__self__, *,
config_map_key_ref: Optional['outputs.CSIPowerMaxSpecDriverCommonEnvsValueFromConfigMapKeyRef'] = None,
field_ref: Optional['outputs.CSIPowerMaxSpecDriverCommonEnvsValueFromFieldRef'] = None,
resource_field_ref: Optional['outputs.CSIPowerMaxSp... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.0 | -1 |
The key of the secret to select from. Must be a valid secret key. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key... | [
"0.8151506",
"0.8151506",
"0.79965776",
"0.77537954",
"0.7631615",
"0.7569326",
"0.7526465",
"0.7504232",
"0.7439955",
"0.73201615",
"0.73201615",
"0.72896695",
"0.72896695",
"0.7163214",
"0.7163214",
"0.7155468",
"0.7111221",
"0.70946145",
"0.7077507",
"0.7058157",
"0.692485... | 0.6645117 | 90 |
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.73266023",
"0.6760859",
"0.6542871",
"0.64349735",
"0.63849086",
"0.63849086",
"0.6305177",
"0.6225949",
"0.6225949",
"0.62220925",
"0.6216357",
"0.61213166",
"0.610515",
"0.6080307",
"0.6022408",
"0.59687054",
"0.590373",
"0.5900448",
"0.5843341",
"0.5804626",
"0.5788784"... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.525002",
"0.5175332",
"0.5095093",
"0.5070923",
"0.46806106",
"0.46731102",
"0.45775172",
"0.4548164",
"0.45342523",
"0.45079395",
"0.44736505",
"0.4467488",
"0.44433388",
"0.44055945",
"0.43884957",
"0.43769285",
"0.43666482",
"0.43645468",
"0.42781827",
"0.42576003",
"0.... | 0.5198234 | 19 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.714755",
"0.67853177",
"0.63340205",
"0.63201934",
"0.6268898",
"0.6246644",
"0.6189489",
"0.6142621",
"0.613437",
"0.6114712",
"0.6009406",
"0.5972994",
"0.59713846",
"0.59691983",
"0.59610796",
"0.5934421",
"0.58813524",
"0.576965",
"0.5752336",
"0.5696302",
"0.5683948",... | 0.7420314 | 9 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.8125607",
"0.7769917",
"0.68590343",
"0.622387",
"0.5951845",
"0.5950428",
"0.5817936",
"0.57732624",
"0.56761223",
"0.56241024",
"0.561501",
"0.55290407",
"0.5482199",
"0.54586315",
"0.54287744",
"0.5416411",
"0.54072386",
"0.5384012",
"0.53806716",
"0.5362444",
"0.535377... | 0.7894309 | 5 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.6502056",
"0.59191334",
"0.5903825",
"0.5698191",
"0.56572914",
"0.5649328",
"0.5632841",
"0.55801445",
"0.5538369",
"0.5538369",
"0.5538369",
"0.5398771",
"0.5398771",
"0.5398771",
"0.5328095",
"0.5299962",
"0.5299962",
"0.5299962",
"0.522971",
"0.522971",
"0.522971",
"... | 0.6243426 | 3 |
EnvVar represents an environment variable present in a Container. | def __init__(__self__, *,
name: str,
value: Optional[str] = None,
value_from: Optional['outputs.CSIPowerMaxSpecDriverControllerEnvsValueFrom'] = None):
pulumi.set(__self__, "name", name)
if value is not None:
pulumi.set(__self__, "value", va... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def env(var):\n return os.environ[var]",
"def with_env_variable(\n self,\n name: str,\n value: str,\n expand: Optional[bool] = None,\n ) -> \"Container\":\n _args = [\n Arg(\"name\", name),\n Arg(\"value\", value),\n Arg(\"expand\", expand... | [
"0.6759011",
"0.64400876",
"0.6365067",
"0.6353957",
"0.6332777",
"0.63078386",
"0.6261371",
"0.61820585",
"0.60630727",
"0.6052506",
"0.6047019",
"0.6040598",
"0.6039395",
"0.6014736",
"0.5986097",
"0.59742486",
"0.5959875",
"0.59374666",
"0.5901712",
"0.58948684",
"0.585241... | 0.0 | -1 |
Name of the environment variable. Must be a C_IDENTIFIER. | def name(self) -> str:
return pulumi.get(self, "name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def name(self):\n return self._env_name",
"def environment_variable_string(self, name):\n return \"$(\" + name + \")\"",
"def windows_get_env_value(var_name: str) -> str:\n if var_name in os.environ.keys():\n return os.environ[var_name]",
"def name(self):\n return get_env_name(... | [
"0.7078505",
"0.7015536",
"0.68641573",
"0.6832507",
"0.6733183",
"0.6631044",
"0.6607965",
"0.6513792",
"0.6485412",
"0.6482523",
"0.6422871",
"0.6411862",
"0.6372754",
"0.63251024",
"0.62988293",
"0.62966317",
"0.6243278",
"0.6223558",
"0.62014925",
"0.617274",
"0.61518526"... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def value_from(self) -> Optional['outputs.CSIPowerMaxSpecDriverControllerEnvsValueFrom']:
return pulumi.get(self, "value_from") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def __init__(__self__, *,
config_map_key_ref: Optional['outputs.CSIPowerMaxSpecDriverControllerEnvsValueFromConfigMapKeyRef'] = None,
field_ref: Optional['outputs.CSIPowerMaxSpecDriverControllerEnvsValueFromFieldRef'] = None,
resource_field_ref: Optional['outputs.CSIPo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.72283417",
"0.6452805",
"0.635622",
"0.6339417",
"0.632665",
"0.62133074",
"0.61853224",
"0.617515",
"0.61103386",
"0.60699874",
"0.60446334",
"0.6031965",
"0.6012811",
"0.60110235",
"0.5994091",
"0.5993541",
"0.5981215",
"0.5959463",
"0.5935289",
"0.59011126",
"0.58757883... | 0.0 | -1 |
The key of the secret to select from. Must be a valid secret key. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key... | [
"0.8150934",
"0.8150934",
"0.79965764",
"0.77527404",
"0.76310414",
"0.7568463",
"0.75259495",
"0.7503479",
"0.7439221",
"0.7319453",
"0.7319453",
"0.728863",
"0.728863",
"0.71629614",
"0.71629614",
"0.7155791",
"0.71103626",
"0.7094697",
"0.7077122",
"0.7058756",
"0.69238305... | 0.6643705 | 86 |
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.732649",
"0.67606384",
"0.65427554",
"0.6434086",
"0.63853836",
"0.63853836",
"0.6303913",
"0.6225126",
"0.6225126",
"0.62211883",
"0.62158",
"0.61208487",
"0.61052066",
"0.60800326",
"0.6021938",
"0.5967823",
"0.5905159",
"0.589961",
"0.58436424",
"0.5805063",
"0.5787778"... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.5250069",
"0.5176085",
"0.50951546",
"0.5071119",
"0.46807942",
"0.46729597",
"0.45775932",
"0.45474327",
"0.45341215",
"0.4506842",
"0.44741878",
"0.44671446",
"0.44435605",
"0.44065312",
"0.43906507",
"0.43756333",
"0.43659252",
"0.43648982",
"0.4278168",
"0.42559496",
"... | 0.51977146 | 2 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.7147842",
"0.67870635",
"0.6334559",
"0.6320272",
"0.6269226",
"0.62464815",
"0.6189818",
"0.6143222",
"0.6134462",
"0.6114868",
"0.60094",
"0.59734225",
"0.5971313",
"0.59695727",
"0.5961522",
"0.5935294",
"0.58811635",
"0.5770352",
"0.57524425",
"0.5696225",
"0.56837475"... | 0.7421432 | 3 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.8125533",
"0.7769158",
"0.68589365",
"0.62248176",
"0.59526604",
"0.5950211",
"0.5819258",
"0.5774122",
"0.56765014",
"0.5624425",
"0.56165045",
"0.5529986",
"0.54840046",
"0.5459022",
"0.54292417",
"0.54169023",
"0.5408534",
"0.53826547",
"0.53813297",
"0.5363186",
"0.535... | 0.7893667 | 2 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.6502156",
"0.5918389",
"0.59019166",
"0.56973386",
"0.56566566",
"0.5647969",
"0.56320477",
"0.5579677",
"0.5537389",
"0.5537389",
"0.5537389",
"0.5397992",
"0.5397992",
"0.5397992",
"0.53265005",
"0.52993214",
"0.52993214",
"0.52993214",
"0.52291834",
"0.52291834",
"0.522... | 0.62425923 | 11 |
EnvVar represents an environment variable present in a Container. | def __init__(__self__, *,
name: str,
value: Optional[str] = None,
value_from: Optional['outputs.CSIPowerMaxSpecDriverNodeEnvsValueFrom'] = None):
pulumi.set(__self__, "name", name)
if value is not None:
pulumi.set(__self__, "value", value)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def env(var):\n return os.environ[var]",
"def with_env_variable(\n self,\n name: str,\n value: str,\n expand: Optional[bool] = None,\n ) -> \"Container\":\n _args = [\n Arg(\"name\", name),\n Arg(\"value\", value),\n Arg(\"expand\", expand... | [
"0.67591375",
"0.643926",
"0.6365626",
"0.63541126",
"0.6332176",
"0.63082224",
"0.6262704",
"0.6181674",
"0.6062436",
"0.60531247",
"0.6047651",
"0.60412985",
"0.6039377",
"0.6015537",
"0.5986704",
"0.59753656",
"0.59602004",
"0.5937697",
"0.5902644",
"0.5895642",
"0.5852487... | 0.0 | -1 |
Name of the environment variable. Must be a C_IDENTIFIER. | def name(self) -> str:
return pulumi.get(self, "name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def name(self):\n return self._env_name",
"def environment_variable_string(self, name):\n return \"$(\" + name + \")\"",
"def windows_get_env_value(var_name: str) -> str:\n if var_name in os.environ.keys():\n return os.environ[var_name]",
"def name(self):\n return get_env_name(... | [
"0.707886",
"0.70169437",
"0.68652874",
"0.68336385",
"0.67338234",
"0.6632225",
"0.66093564",
"0.6515423",
"0.6485804",
"0.6483849",
"0.6423898",
"0.64139676",
"0.6373172",
"0.63263583",
"0.6298889",
"0.6297938",
"0.62448883",
"0.6225822",
"0.62034917",
"0.6172938",
"0.61534... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def value_from(self) -> Optional['outputs.CSIPowerMaxSpecDriverNodeEnvsValueFrom']:
return pulumi.get(self, "value_from") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.72283417",
"0.6452805",
"0.635622",
"0.6339417",
"0.632665",
"0.62133074",
"0.61853224",
"0.617515",
"0.61103386",
"0.60699874",
"0.60446334",
"0.6031965",
"0.6012811",
"0.60110235",
"0.5994091",
"0.5993541",
"0.5981215",
"0.5959463",
"0.5935289",
"0.59011126",
"0.58757883... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def __init__(__self__, *,
config_map_key_ref: Optional['outputs.CSIPowerMaxSpecDriverNodeEnvsValueFromConfigMapKeyRef'] = None,
field_ref: Optional['outputs.CSIPowerMaxSpecDriverNodeEnvsValueFromFieldRef'] = None,
resource_field_ref: Optional['outputs.CSIPowerMaxSpecDr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.0 | -1 |
The key of the secret to select from. Must be a valid secret key. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key... | [
"0.81515235",
"0.81515235",
"0.79967463",
"0.77533454",
"0.7631605",
"0.7569842",
"0.7526095",
"0.7503426",
"0.74400395",
"0.73191357",
"0.73191357",
"0.72888464",
"0.72888464",
"0.716242",
"0.716242",
"0.7155205",
"0.71101844",
"0.7094617",
"0.7077072",
"0.7058335",
"0.69245... | 0.0 | -1 |
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.7326546",
"0.676084",
"0.6542811",
"0.64349353",
"0.63848764",
"0.63848764",
"0.63051176",
"0.62259144",
"0.62259144",
"0.6222053",
"0.62163496",
"0.61213213",
"0.61051255",
"0.60802877",
"0.6022407",
"0.5968715",
"0.5903682",
"0.5900447",
"0.5843276",
"0.58046025",
"0.578... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.5249481",
"0.51760536",
"0.50947005",
"0.5071912",
"0.4680096",
"0.46736106",
"0.45775712",
"0.45492044",
"0.45352313",
"0.45058474",
"0.44740582",
"0.44682917",
"0.44423032",
"0.44062462",
"0.43896046",
"0.43759257",
"0.43650132",
"0.4364706",
"0.42771178",
"0.4255112",
"... | 0.51985604 | 15 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.7145785",
"0.6784965",
"0.63332194",
"0.6318991",
"0.6268237",
"0.62456185",
"0.6188198",
"0.6141869",
"0.6133166",
"0.611359",
"0.60085297",
"0.59721303",
"0.596976",
"0.5968623",
"0.59598845",
"0.59339416",
"0.5879813",
"0.57686585",
"0.5751171",
"0.56945944",
"0.5682505... | 0.7421097 | 5 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.8125607",
"0.7769917",
"0.68590343",
"0.622387",
"0.5951845",
"0.5950428",
"0.5817936",
"0.57732624",
"0.56761223",
"0.56241024",
"0.561501",
"0.55290407",
"0.5482199",
"0.54586315",
"0.54287744",
"0.5416411",
"0.54072386",
"0.5384012",
"0.53806716",
"0.5362444",
"0.535377... | 0.7894309 | 10 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.65051675",
"0.59177065",
"0.59023947",
"0.5699683",
"0.5659096",
"0.5650913",
"0.56342506",
"0.5581961",
"0.5539387",
"0.5539387",
"0.5539387",
"0.5399756",
"0.5399756",
"0.5399756",
"0.53279376",
"0.5301275",
"0.5301275",
"0.5301275",
"0.5231039",
"0.5231039",
"0.5231039"... | 0.6244406 | 7 |
EnvVar represents an environment variable present in a Container. | def __init__(__self__, *,
name: str,
value: Optional[str] = None,
value_from: Optional['outputs.CSIPowerMaxSpecDriverSideCarsEnvsValueFrom'] = None):
pulumi.set(__self__, "name", name)
if value is not None:
pulumi.set(__self__, "value", valu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def env(var):\n return os.environ[var]",
"def with_env_variable(\n self,\n name: str,\n value: str,\n expand: Optional[bool] = None,\n ) -> \"Container\":\n _args = [\n Arg(\"name\", name),\n Arg(\"value\", value),\n Arg(\"expand\", expand... | [
"0.6759011",
"0.64400876",
"0.6365067",
"0.6353957",
"0.6332777",
"0.63078386",
"0.6261371",
"0.61820585",
"0.60630727",
"0.6052506",
"0.6047019",
"0.6040598",
"0.6039395",
"0.6014736",
"0.5986097",
"0.59742486",
"0.5959875",
"0.59374666",
"0.5901712",
"0.58948684",
"0.585241... | 0.0 | -1 |
Name of the environment variable. Must be a C_IDENTIFIER. | def name(self) -> str:
return pulumi.get(self, "name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def name(self):\n return self._env_name",
"def environment_variable_string(self, name):\n return \"$(\" + name + \")\"",
"def windows_get_env_value(var_name: str) -> str:\n if var_name in os.environ.keys():\n return os.environ[var_name]",
"def name(self):\n return get_env_name(... | [
"0.7078505",
"0.7015536",
"0.68641573",
"0.6832507",
"0.6733183",
"0.6631044",
"0.6607965",
"0.6513792",
"0.6485412",
"0.6482523",
"0.6422871",
"0.6411862",
"0.6372754",
"0.63251024",
"0.62988293",
"0.62966317",
"0.6243278",
"0.6223558",
"0.62014925",
"0.617274",
"0.61518526"... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def value_from(self) -> Optional['outputs.CSIPowerMaxSpecDriverSideCarsEnvsValueFrom']:
return pulumi.get(self, "value_from") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def __init__(__self__, *,
config_map_key_ref: Optional['outputs.CSIPowerMaxSpecDriverSideCarsEnvsValueFromConfigMapKeyRef'] = None,
field_ref: Optional['outputs.CSIPowerMaxSpecDriverSideCarsEnvsValueFromFieldRef'] = None,
resource_field_ref: Optional['outputs.CSIPowerM... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.72283417",
"0.6452805",
"0.635622",
"0.6339417",
"0.632665",
"0.62133074",
"0.61853224",
"0.617515",
"0.61103386",
"0.60699874",
"0.60446334",
"0.6031965",
"0.6012811",
"0.60110235",
"0.5994091",
"0.5993541",
"0.5981215",
"0.5959463",
"0.5935289",
"0.59011126",
"0.58757883... | 0.0 | -1 |
The key of the secret to select from. Must be a valid secret key. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key... | [
"0.8150934",
"0.8150934",
"0.79965764",
"0.77527404",
"0.76310414",
"0.7568463",
"0.75259495",
"0.7503479",
"0.7439221",
"0.7319453",
"0.7319453",
"0.728863",
"0.728863",
"0.71629614",
"0.71629614",
"0.7155791",
"0.71103626",
"0.7094697",
"0.7077122",
"0.7058756",
"0.69238305... | 0.0 | -1 |
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.732649",
"0.67606384",
"0.65427554",
"0.6434086",
"0.63853836",
"0.63853836",
"0.6303913",
"0.6225126",
"0.6225126",
"0.62211883",
"0.62158",
"0.61208487",
"0.61052066",
"0.60800326",
"0.6021938",
"0.5967823",
"0.5905159",
"0.589961",
"0.58436424",
"0.5805063",
"0.5787778"... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.5249045",
"0.51753664",
"0.50939983",
"0.5070544",
"0.46807265",
"0.4672379",
"0.45765623",
"0.45485628",
"0.45339823",
"0.45085293",
"0.44730505",
"0.4467193",
"0.44431973",
"0.4404874",
"0.43885973",
"0.43770444",
"0.43662375",
"0.4364882",
"0.4277755",
"0.42570713",
"0.... | 0.51976055 | 13 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.7147842",
"0.67870635",
"0.6334559",
"0.6320272",
"0.6269226",
"0.62464815",
"0.6189818",
"0.6143222",
"0.6134462",
"0.6114868",
"0.60094",
"0.59734225",
"0.5971313",
"0.59695727",
"0.5961522",
"0.5935294",
"0.58811635",
"0.5770352",
"0.57524425",
"0.5696225",
"0.56837475"... | 0.7421432 | 12 |
The label key that the selector applies to. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_label(self, key):\n return self.labels.get(key, None)",
"def label(self):\n return self.__label",
"def label(self):\n return self.__label",
"def label(self) -> str:\n return self.keysym.label",
"def label(self):\n return self.label_",
"def label(self) -> str:\n ... | [
"0.74785244",
"0.72473025",
"0.72473025",
"0.72118807",
"0.72036344",
"0.7163585",
"0.7156642",
"0.7144677",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.71098197",
"0.70850545",
"0.70830286",
... | 0.0 | -1 |
ControllerStatus is the status of Controller pods | def controller_status(self) -> Optional['outputs.CSIPowerMaxStatusControllerStatus']:
return pulumi.get(self, "controller_status") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def controller_status(self) -> Optional['outputs.CSIVXFlexOSStatusControllerStatus']:\n return pulumi.get(self, \"controller_status\")",
"def controller_status(self) -> Optional['outputs.CSIUnityStatusControllerStatus']:\n return pulumi.get(self, \"controller_status\")",
"def status(self) -> Cont... | [
"0.78950554",
"0.7717445",
"0.7656238",
"0.7582138",
"0.74687314",
"0.6915362",
"0.68638337",
"0.5934879",
"0.5923136",
"0.5888573",
"0.58432204",
"0.58387125",
"0.58308405",
"0.5828534",
"0.58209366",
"0.5818346",
"0.5816",
"0.5798976",
"0.57974327",
"0.57905334",
"0.5790449... | 0.7435508 | 5 |
LastUpdate is the last updated state of the driver | def last_update(self) -> Optional['outputs.CSIPowerMaxStatusLastUpdate']:
return pulumi.get(self, "last_update") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def last_update(self):\n return self._last_update",
"def last_update(self):\n return self._last_update",
"def getLastUpdate():\n swDB = switchdb.DB()\n lastupdate = swDB.getLastUpdate()\n swDB.close()\n return lastupdate",
"def last_update(self, last_update):\n\n self._last_u... | [
"0.77135086",
"0.77135086",
"0.7577571",
"0.7511959",
"0.731216",
"0.72737825",
"0.7232752",
"0.71981114",
"0.71780205",
"0.71621966",
"0.7155965",
"0.70673347",
"0.7049694",
"0.7023245",
"0.7012828",
"0.69912803",
"0.69669306",
"0.69182444",
"0.6902276",
"0.6851704",
"0.6851... | 0.71702605 | 9 |
ControllerStatus is the status of Controller pods | def __init__(__self__, *,
available: Optional[Sequence[str]] = None,
ready: Optional[Sequence[str]] = None,
starting: Optional[Sequence[str]] = None,
stopped: Optional[Sequence[str]] = None):
if available is not None:
pulumi.set(__s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def controller_status(self) -> Optional['outputs.CSIVXFlexOSStatusControllerStatus']:\n return pulumi.get(self, \"controller_status\")",
"def controller_status(self) -> Optional['outputs.CSIUnityStatusControllerStatus']:\n return pulumi.get(self, \"controller_status\")",
"def status(self) -> Cont... | [
"0.7894275",
"0.7716838",
"0.76570404",
"0.7581352",
"0.74678415",
"0.7435039",
"0.6915596",
"0.6864449",
"0.59351426",
"0.59238404",
"0.5888972",
"0.584402",
"0.58390266",
"0.58311397",
"0.5826533",
"0.58211887",
"0.5818358",
"0.5816246",
"0.58006066",
"0.57969457",
"0.57903... | 0.0 | -1 |
LastUpdate is the last updated state of the driver | def __init__(__self__, *,
condition: Optional[str] = None,
error_message: Optional[str] = None,
time: Optional[str] = None):
if condition is not None:
pulumi.set(__self__, "condition", condition)
if error_message is not None:
pul... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def last_update(self):\n return self._last_update",
"def last_update(self):\n return self._last_update",
"def getLastUpdate():\n swDB = switchdb.DB()\n lastupdate = swDB.getLastUpdate()\n swDB.close()\n return lastupdate",
"def last_update(self, last_update):\n\n self._last_u... | [
"0.77135086",
"0.77135086",
"0.7577571",
"0.7511959",
"0.731216",
"0.72737825",
"0.7232752",
"0.71981114",
"0.71780205",
"0.71702605",
"0.71621966",
"0.7155965",
"0.70673347",
"0.7049694",
"0.7023245",
"0.7012828",
"0.69912803",
"0.69669306",
"0.69182444",
"0.6902276",
"0.685... | 0.0 | -1 |
StorageClass is the specification for Storage Classes | def storage_class(self) -> Optional[Sequence['outputs.CSIPowerStoreSpecDriverStorageClass']]:
return pulumi.get(self, "storage_class") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def storage_class(self) -> \"StorageClass\":\n return self._values.get('storage_class')",
"def storage_class(self) -> \"StorageClass\":\n return self._values.get('storage_class')",
"def GetDefaultStorageClass(self) -> str:\n raise NotImplementedError",
"def storage_class(self) -> Optional[Se... | [
"0.8050297",
"0.8050297",
"0.77338123",
"0.7733766",
"0.7561743",
"0.7553632",
"0.74969226",
"0.6985436",
"0.6821785",
"0.6531442",
"0.63973457",
"0.63672316",
"0.63190556",
"0.6275063",
"0.6237936",
"0.6182844",
"0.60382915",
"0.5788103",
"0.56059754",
"0.55725545",
"0.55631... | 0.7583689 | 4 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.8125607",
"0.7769917",
"0.68590343",
"0.622387",
"0.5951845",
"0.5950428",
"0.5817936",
"0.57732624",
"0.56761223",
"0.56241024",
"0.561501",
"0.55290407",
"0.5482199",
"0.54586315",
"0.54287744",
"0.5416411",
"0.54072386",
"0.5384012",
"0.53806716",
"0.5362444",
"0.535377... | 0.7894309 | 18 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.65051675",
"0.59177065",
"0.59023947",
"0.5699683",
"0.5659096",
"0.5650913",
"0.56342506",
"0.5581961",
"0.5539387",
"0.5539387",
"0.5539387",
"0.5399756",
"0.5399756",
"0.5399756",
"0.53279376",
"0.5301275",
"0.5301275",
"0.5301275",
"0.5231039",
"0.5231039",
"0.5231039"... | 0.6244406 | 4 |
EnvVar represents an environment variable present in a Container. | def __init__(__self__, *,
name: str,
value: Optional[str] = None,
value_from: Optional['outputs.CSIPowerStoreSpecDriverCommonEnvsValueFrom'] = None):
pulumi.set(__self__, "name", name)
if value is not None:
pulumi.set(__self__, "value", valu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def env(var):\n return os.environ[var]",
"def with_env_variable(\n self,\n name: str,\n value: str,\n expand: Optional[bool] = None,\n ) -> \"Container\":\n _args = [\n Arg(\"name\", name),\n Arg(\"value\", value),\n Arg(\"expand\", expand... | [
"0.6759011",
"0.64400876",
"0.6365067",
"0.6353957",
"0.6332777",
"0.63078386",
"0.6261371",
"0.61820585",
"0.60630727",
"0.6052506",
"0.6047019",
"0.6040598",
"0.6039395",
"0.6014736",
"0.5986097",
"0.59742486",
"0.5959875",
"0.59374666",
"0.5901712",
"0.58948684",
"0.585241... | 0.0 | -1 |
Name of the environment variable. Must be a C_IDENTIFIER. | def name(self) -> str:
return pulumi.get(self, "name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def name(self):\n return self._env_name",
"def environment_variable_string(self, name):\n return \"$(\" + name + \")\"",
"def windows_get_env_value(var_name: str) -> str:\n if var_name in os.environ.keys():\n return os.environ[var_name]",
"def name(self):\n return get_env_name(... | [
"0.7078505",
"0.7015536",
"0.68641573",
"0.6832507",
"0.6733183",
"0.6631044",
"0.6607965",
"0.6513792",
"0.6485412",
"0.6482523",
"0.6422871",
"0.6411862",
"0.6372754",
"0.63251024",
"0.62988293",
"0.62966317",
"0.6243278",
"0.6223558",
"0.62014925",
"0.617274",
"0.61518526"... | 0.0 | -1 |
Source for the environment variable's value. Cannot be used if value is not empty. | def value_from(self) -> Optional['outputs.CSIPowerStoreSpecDriverCommonEnvsValueFrom']:
return pulumi.get(self, "value_from") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.7228451",
"0.6452011",
"0.635478",
"0.6339654",
"0.6327877",
"0.62141955",
"0.6186485",
"0.6174624",
"0.61109644",
"0.60693794",
"0.6045376",
"0.6032341",
"0.6012038",
"0.60104096",
"0.5993801",
"0.5993495",
"0.5978553",
"0.59582996",
"0.59345484",
"0.5901107",
"0.58747065... | 0.58125263 | 27 |
Source for the environment variable's value. Cannot be used if value is not empty. | def __init__(__self__, *,
config_map_key_ref: Optional['outputs.CSIPowerStoreSpecDriverCommonEnvsValueFromConfigMapKeyRef'] = None,
field_ref: Optional['outputs.CSIPowerStoreSpecDriverCommonEnvsValueFromFieldRef'] = None,
resource_field_ref: Optional['outputs.CSIPowerS... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def value_from(self) -> Optional[pulumi.Input['EnvVarSourceArgs']]:\n return pulumi.get(self, \"value_from\")",
"def get(self):\n self.value = os.getenv(self.name, self.default)\n return self.value",
"def env_var_line(key: str) -> str:\n return str(os.environ.get(key) or \"\").strip()",... | [
"0.72283417",
"0.6452805",
"0.635622",
"0.6339417",
"0.632665",
"0.62133074",
"0.61853224",
"0.617515",
"0.61103386",
"0.60699874",
"0.60446334",
"0.6031965",
"0.6012811",
"0.60110235",
"0.5994091",
"0.5993541",
"0.5981215",
"0.5959463",
"0.5935289",
"0.59011126",
"0.58757883... | 0.0 | -1 |
The key of the secret to select from. Must be a valid secret key. | def key(self) -> str:
return pulumi.get(self, "key") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"secret_key\")",
"def secret_key... | [
"0.8150934",
"0.8150934",
"0.79965764",
"0.77527404",
"0.76310414",
"0.7568463",
"0.75259495",
"0.7503479",
"0.7439221",
"0.7319453",
"0.7319453",
"0.728863",
"0.728863",
"0.71629614",
"0.71629614",
"0.7155791",
"0.71103626",
"0.7094697",
"0.7077122",
"0.7058756",
"0.69238305... | 0.6643705 | 84 |
Specify whether the Secret or its key must be defined | def optional(self) -> Optional[bool]:
return pulumi.get(self, "optional") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def know_secret(self):\r\n return(self.secret != \"\") and (self.key != \"\")",
"def secret(self) -> pulumi.Input[bool]:\n return pulumi.get(self, \"secret\")",
"def _secret_not_in_order():\n pecan.abort(400, u._(\"Secret metadata expected but not received.\"))",
"def testSecretKey(loggingMi... | [
"0.732649",
"0.67606384",
"0.65427554",
"0.6434086",
"0.63853836",
"0.63853836",
"0.6303913",
"0.6225126",
"0.6225126",
"0.62211883",
"0.62158",
"0.61208487",
"0.61052066",
"0.60800326",
"0.6021938",
"0.5967823",
"0.5905159",
"0.589961",
"0.58436424",
"0.5805063",
"0.5787778"... | 0.0 | -1 |
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | def effect(self) -> Optional[str]:
return pulumi.get(self, "effect") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def testEffects(self):\n \n action = Parser.parse_as(drive.split(\"\\n\"), Action, self.domain)\n self.assert_(isinstance(action.effect, SimpleEffect))",
"def test_effect(self):\n self.check_search(\n dict(similar_to=u'icy wind'),\n [ u'Bubble', u'BubbleBeam', u'... | [
"0.5249045",
"0.51753664",
"0.50939983",
"0.5070544",
"0.46807265",
"0.4672379",
"0.45765623",
"0.45485628",
"0.45339823",
"0.45085293",
"0.44730505",
"0.4467193",
"0.44431973",
"0.4404874",
"0.43885973",
"0.43770444",
"0.43662375",
"0.4364882",
"0.4277755",
"0.42570713",
"0.... | 0.51976055 | 3 |
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | def toleration_seconds(self) -> Optional[int]:
return pulumi.get(self, "toleration_seconds") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def toleration(self, toleration: Dict[str, str]):\n\n self._toleration = toleration",
"def toleration(self) -> Dict[str, str]:\n return self._toleration",
"def tolerations(self) -> Optional[Sequence['outputs.CSIIsilonSpecDriverNodeTolerations']]:\n return pulumi.get(self, \"tolerations\")"... | [
"0.7147842",
"0.67870635",
"0.6334559",
"0.6320272",
"0.6269226",
"0.62464815",
"0.6189818",
"0.6143222",
"0.6134462",
"0.6114868",
"0.60094",
"0.59734225",
"0.5971313",
"0.59695727",
"0.5961522",
"0.5935294",
"0.58811635",
"0.5770352",
"0.57524425",
"0.5696225",
"0.56837475"... | 0.7421432 | 1 |
ImagePullPolicy is the image pull policy for the image | def image_pull_policy(self) -> Optional[str]:
return pulumi.get(self, "image_pull_policy") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _determine_image_pull_policy(self) -> ImagePullPolicy:\n if not self.image_pull_policy:\n _, tag = self._get_image_and_tag()\n if tag == \"latest\" or not tag:\n return ImagePullPolicy.ALWAYS\n return ImagePullPolicy.IF_NOT_PRESENT\n return self.ima... | [
"0.8125533",
"0.7769158",
"0.68589365",
"0.62248176",
"0.59526604",
"0.5950211",
"0.5819258",
"0.5774122",
"0.56765014",
"0.5624425",
"0.56165045",
"0.5529986",
"0.54840046",
"0.5459022",
"0.54292417",
"0.54169023",
"0.5408534",
"0.53826547",
"0.53813297",
"0.5363186",
"0.535... | 0.7893667 | 4 |
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. | def node_selector(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "node_selector") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def node_selector(self, node_selector: Dict[str, str]):\n\n self._node_selector = node_selector",
"def list_of_pods_in_a_node(self, node_name, namespace: Optional[str] = None, label_selector: Optional[str] = None):\n pod_list = []\n if namespace is None:\n api_response = self.list... | [
"0.6502156",
"0.5918389",
"0.59019166",
"0.56973386",
"0.56566566",
"0.5647969",
"0.56320477",
"0.5579677",
"0.5537389",
"0.5537389",
"0.5537389",
"0.5397992",
"0.5397992",
"0.5397992",
"0.53265005",
"0.52993214",
"0.52993214",
"0.52993214",
"0.52291834",
"0.52291834",
"0.522... | 0.62425923 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.