generated from ansible-community/project-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1706c9
commit e55c16f
Showing
11 changed files
with
582 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,36 @@ | ||
from typing import Callable | ||
|
||
from awx_plugins.interfaces._temporary_private_api import ( # noqa: WPS436 | ||
EnvVarsType, | ||
InjectorDefinitionType, | ||
InputDefinitionType, | ||
) | ||
from awx_plugins.interfaces._temporary_private_credential_api import ( # noqa: WPS436 | ||
Credential, | ||
GenericOptionalPrimitiveType, | ||
) | ||
|
||
|
||
class ManagedCredentialType: | ||
namespace: str | ||
name: str | ||
kind: str | ||
inputs: InputDefinitionType | ||
injectors: InjectorDefinitionType = None | ||
managed: bool = False | ||
custom_injectors: Callable[ | ||
[ | ||
Credential, | ||
EnvVarsType, str, | ||
], str | None, | ||
] | None = None | ||
|
||
def __init__( | ||
self, | ||
namespace: str, | ||
name: str, | ||
kind: str, | ||
inputs: dict[str, list[dict[str, bool | str] | str]], | ||
injectors: dict[str, dict[str, str]] | None = None, | ||
inputs: InputDefinitionType, | ||
injectors: InjectorDefinitionType = None, | ||
managed: bool = False, | ||
custom_injector: Callable[[Credential, dict[str, GenericOptionalPrimitiveType], str], str | None] | None = None, | ||
custom_injectors: Callable[['Credential', EnvVarsType, str], str | None] | None = None, | ||
): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
ansible | ||
ansible-playbook | ||
Ansible | ||
filesystem | ||
hasn | ||
namespace | ||
Pre | ||
submodule | ||
Submodules | ||
Subpackages | ||
subprocess | ||
VMware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.