public sealed class GitConfig : IMessage<GitConfig>, IEquatable<GitConfig>, IDeepCloneable<GitConfig>, IBufferMessage, IMessage
Git repo configuration for a single cluster.
Implements
IMessage<GitConfig>, IEquatable<GitConfig>, IDeepCloneable<GitConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.GkeHub.V1.ConfigManagementAssembly
Google.Cloud.GkeHub.V1.dll
Constructors
GitConfig()
public GitConfig()
GitConfig(GitConfig)
public GitConfig(GitConfig other)
Parameter | |
---|---|
Name | Description |
other | GitConfig |
Properties
GcpServiceAccountEmail
public string GcpServiceAccountEmail { get; set; }
The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
Property Value | |
---|---|
Type | Description |
String |
HttpsProxy
public string HttpsProxy { get; set; }
URL for the HTTPS proxy to be used when communicating with the Git repo.
Property Value | |
---|---|
Type | Description |
String |
PolicyDir
public string PolicyDir { get; set; }
The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
Property Value | |
---|---|
Type | Description |
String |
SecretType
public string SecretType { get; set; }
Type of secret configured for access to the Git repo.
Property Value | |
---|---|
Type | Description |
String |
SyncBranch
public string SyncBranch { get; set; }
The branch of the repository to sync from. Default: master.
Property Value | |
---|---|
Type | Description |
String |
SyncRepo
public string SyncRepo { get; set; }
The URL of the Git repository to use as the source of truth.
Property Value | |
---|---|
Type | Description |
String |
SyncRev
public string SyncRev { get; set; }
Git revision (tag or hash) to check out. Default HEAD.
Property Value | |
---|---|
Type | Description |
String |
SyncWaitSecs
public long SyncWaitSecs { get; set; }
Period in seconds between consecutive syncs. Default: 15.
Property Value | |
---|---|
Type | Description |
Int64 |