Class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb

Overview

The state of ConfigSync's deployment on a cluster

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementConfigSyncDeploymentState

Returns a new instance of ConfigManagementConfigSyncDeploymentState.



380
381
382
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 380

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#git_syncString

Deployment state of the git-sync pod Corresponds to the JSON property gitSync

Returns:

  • (String)


353
354
355
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 353

def git_sync
  @git_sync
end

#importerString

Deployment state of the importer pod Corresponds to the JSON property importer

Returns:

  • (String)


358
359
360
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 358

def importer
  @importer
end

#monitorString

Deployment state of the monitor pod Corresponds to the JSON property monitor

Returns:

  • (String)


363
364
365
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 363

def monitor
  @monitor
end

#reconciler_managerString

Deployment state of reconciler-manager pod Corresponds to the JSON property reconcilerManager

Returns:

  • (String)


368
369
370
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 368

def reconciler_manager
  @reconciler_manager
end

#root_reconcilerString

Deployment state of root-reconciler Corresponds to the JSON property rootReconciler

Returns:

  • (String)


373
374
375
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 373

def root_reconciler
  @root_reconciler
end

#syncerString

Deployment state of the syncer pod Corresponds to the JSON property syncer

Returns:

  • (String)


378
379
380
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 378

def syncer
  @syncer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



385
386
387
388
389
390
391
392
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 385

def update!(**args)
  @git_sync = args[:git_sync] if args.key?(:git_sync)
  @importer = args[:importer] if args.key?(:importer)
  @monitor = args[:monitor] if args.key?(:monitor)
  @reconciler_manager = args[:reconciler_manager] if args.key?(:reconciler_manager)
  @root_reconciler = args[:root_reconciler] if args.key?(:root_reconciler)
  @syncer = args[:syncer] if args.key?(:syncer)
end