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.



451
452
453
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 451

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

Instance Attribute Details

#admission_webhookString

Deployment state of admission-webhook Corresponds to the JSON property admissionWebhook

Returns:

  • (String)


419
420
421
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 419

def admission_webhook
  @admission_webhook
end

#git_syncString

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

Returns:

  • (String)


424
425
426
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 424

def git_sync
  @git_sync
end

#importerString

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

Returns:

  • (String)


429
430
431
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 429

def importer
  @importer
end

#monitorString

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

Returns:

  • (String)


434
435
436
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 434

def monitor
  @monitor
end

#reconciler_managerString

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

Returns:

  • (String)


439
440
441
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 439

def reconciler_manager
  @reconciler_manager
end

#root_reconcilerString

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

Returns:

  • (String)


444
445
446
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 444

def root_reconciler
  @root_reconciler
end

#syncerString

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

Returns:

  • (String)


449
450
451
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 449

def syncer
  @syncer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



456
457
458
459
460
461
462
463
464
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 456

def update!(**args)
  @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
  @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