Class: Google::Apis::GkehubV2::ConfigManagementConfigSyncDeploymentState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/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.



436
437
438
# File 'lib/google/apis/gkehub_v2/classes.rb', line 436

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

Instance Attribute Details

#admission_webhookString

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

Returns:

  • (String)


394
395
396
# File 'lib/google/apis/gkehub_v2/classes.rb', line 394

def admission_webhook
  @admission_webhook
end

#git_syncString

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

Returns:

  • (String)


399
400
401
# File 'lib/google/apis/gkehub_v2/classes.rb', line 399

def git_sync
  @git_sync
end

#importerString

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

Returns:

  • (String)


404
405
406
# File 'lib/google/apis/gkehub_v2/classes.rb', line 404

def importer
  @importer
end

#monitorString

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

Returns:

  • (String)


409
410
411
# File 'lib/google/apis/gkehub_v2/classes.rb', line 409

def monitor
  @monitor
end

#otel_collectorString

Deployment state of otel-collector Corresponds to the JSON property otelCollector

Returns:

  • (String)


414
415
416
# File 'lib/google/apis/gkehub_v2/classes.rb', line 414

def otel_collector
  @otel_collector
end

#reconciler_managerString

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

Returns:

  • (String)


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

def reconciler_manager
  @reconciler_manager
end

#resource_group_controller_managerString

Deployment state of resource-group-controller-manager Corresponds to the JSON property resourceGroupControllerManager

Returns:

  • (String)


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

def resource_group_controller_manager
  @resource_group_controller_manager
end

#root_reconcilerString

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

Returns:

  • (String)


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

def root_reconciler
  @root_reconciler
end

#syncerString

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

Returns:

  • (String)


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

def syncer
  @syncer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



441
442
443
444
445
446
447
448
449
450
451
# File 'lib/google/apis/gkehub_v2/classes.rb', line 441

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)
  @otel_collector = args[:otel_collector] if args.key?(:otel_collector)
  @reconciler_manager = args[:reconciler_manager] if args.key?(:reconciler_manager)
  @resource_group_controller_manager = args[:resource_group_controller_manager] if args.key?(:resource_group_controller_manager)
  @root_reconciler = args[:root_reconciler] if args.key?(:root_reconciler)
  @syncer = args[:syncer] if args.key?(:syncer)
end