pub struct GatewayCreateProducerGithub {Show 17 fields
pub delete_protection: Option<String>,
pub github_app_id: Option<i64>,
pub github_app_private_key: Option<String>,
pub github_base_url: Option<String>,
pub installation_id: Option<i64>,
pub installation_organization: Option<String>,
pub installation_repository: Option<String>,
pub item_custom_fields: Option<HashMap<String, String>>,
pub json: Option<bool>,
pub name: String,
pub tags: Option<Vec<String>>,
pub target_name: Option<String>,
pub token: Option<String>,
pub token_permissions: Option<Vec<String>>,
pub token_repositories: Option<Vec<String>>,
pub token_ttl: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayCreateProducerGithub : gatewayCreateProducerGithub is a command that creates github producer [Deprecated: Use dynamic-secret-create-github command]
Fields§
§delete_protection: Option<String>Protection from accidental deletion of this object [true/false]
github_app_id: Option<i64>Github app id
github_app_private_key: Option<String>App private key
github_base_url: Option<String>Base URL
installation_id: Option<i64>GitHub application installation id
installation_organization: Option<String>Optional, mutually exclusive with installation id, GitHub organization name
installation_repository: Option<String>Optional, mutually exclusive with installation id, GitHub repository ‘
item_custom_fields: Option<HashMap<String, String>>Additional custom fields to associate with the item
json: Option<bool>Set output format to JSON
name: StringDynamic secret name
Add tags attached to this object
target_name: Option<String>Target name
token: Option<String>Authentication token (see /auth and /configure)
token_permissions: Option<Vec<String>>Optional - installation token’s allowed permissions
token_repositories: Option<Vec<String>>Optional - installation token’s allowed repositories
token_ttl: Option<String>Token TTL
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl GatewayCreateProducerGithub
impl GatewayCreateProducerGithub
Sourcepub fn new(name: String) -> GatewayCreateProducerGithub
pub fn new(name: String) -> GatewayCreateProducerGithub
gatewayCreateProducerGithub is a command that creates github producer [Deprecated: Use dynamic-secret-create-github command]
Trait Implementations§
Source§impl Clone for GatewayCreateProducerGithub
impl Clone for GatewayCreateProducerGithub
Source§fn clone(&self) -> GatewayCreateProducerGithub
fn clone(&self) -> GatewayCreateProducerGithub
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GatewayCreateProducerGithub
impl Debug for GatewayCreateProducerGithub
Source§impl Default for GatewayCreateProducerGithub
impl Default for GatewayCreateProducerGithub
Source§fn default() -> GatewayCreateProducerGithub
fn default() -> GatewayCreateProducerGithub
Source§impl<'de> Deserialize<'de> for GatewayCreateProducerGithub
impl<'de> Deserialize<'de> for GatewayCreateProducerGithub
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for GatewayCreateProducerGithub
impl PartialEq for GatewayCreateProducerGithub
Source§fn eq(&self, other: &GatewayCreateProducerGithub) -> bool
fn eq(&self, other: &GatewayCreateProducerGithub) -> bool
self and other values to be equal, and is used by ==.