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.



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

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)


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

def git_sync
  @git_sync
end

#importerString

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

Returns:

  • (String)


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

def importer
  @importer
end

#monitorString

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

Returns:

  • (String)


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

def monitor
  @monitor
end

#reconciler_managerString

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

Returns:

  • (String)


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

def reconciler_manager
  @reconciler_manager
end

#root_reconcilerString

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

Returns:

  • (String)


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

def root_reconciler
  @root_reconciler
end

#syncerString

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

Returns:

  • (String)


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

def syncer
  @syncer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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