ServiceAccount
ServiceAccount provides authentication and authorization context for node execution
Functions
funcfrom_dictfrom_dict(cls, /, data, registry, *, yaml_path=None, strict=False, **kwargs) -> Selfparamclsparamdatadict[str, Any]paramregistryRegistryparamyaml_pathstr | None= Noneparamstrictbool= FalseparamkwargsAny= {}Returns
Selffuncfrom_yaml_pathfrom_yaml_path(cls, /, yaml_path, registry, *, strict=True, **kwargs) -> SelfCreate a ServiceAccount from a YAML file.
Args: yaml_path (str): Path to the YAML file.
Returns: ServiceAccount: An instance of ServiceAccount initialized with the YAML data.
paramclsparamyaml_pathstr | PathparamregistryRegistryparamstrictbool= TrueparamkwargsAny= {}Returns
Selffuncget_internal_stateget_internal_state(self, /, external_state) -> dict[str, Any]Extract and return internal state from external state based on inject configuration
paramselfparamexternal_statedict[str, Any]Returns
dict[str, Any]func_get_nested_value_get_nested_value(self, /, data, path) -> Anyparamselfparamdatadict[str, Any]parampathstrReturns
Anyfunc_set_nested_value_set_nested_value(self, /, data, path, value) -> Noneparamselfparamdatadict[str, Any]parampathstrparamvalueAnyReturns
NoneLast updated on