Class GitConfig (2.0.0)

public sealed class GitConfig : IMessage<GitConfig>, IEquatable<GitConfig>, IDeepCloneable<GitConfig>, IBufferMessage, IMessage

Git repo configuration for a single cluster.

Inheritance

Object > GitConfig

Namespace

Google.Cloud.GkeHub.V1.ConfigManagement

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

GitConfig()

public GitConfig()

GitConfig(GitConfig)

public GitConfig(GitConfig other)
Parameter
NameDescription
otherGitConfig

Properties

GcpServiceAccountEmail

public string GcpServiceAccountEmail { get; set; }

The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.

Property Value
TypeDescription
System.String

HttpsProxy

public string HttpsProxy { get; set; }

URL for the HTTPS proxy to be used when communicating with the Git repo.

Property Value
TypeDescription
System.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
TypeDescription
System.String

SecretType

public string SecretType { get; set; }

Type of secret configured for access to the Git repo.

Property Value
TypeDescription
System.String

SyncBranch

public string SyncBranch { get; set; }

The branch of the repository to sync from. Default: master.

Property Value
TypeDescription
System.String

SyncRepo

public string SyncRepo { get; set; }

The URL of the Git repository to use as the source of truth.

Property Value
TypeDescription
System.String

SyncRev

public string SyncRev { get; set; }

Git revision (tag or hash) to check out. Default HEAD.

Property Value
TypeDescription
System.String

SyncWaitSecs

public long SyncWaitSecs { get; set; }

Period in seconds between consecutive syncs. Default: 15.

Property Value
TypeDescription
Int64