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.



534
535
536
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 534

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

Instance Attribute Details

#admission_webhookString

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

Returns:

  • (String)


502
503
504
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 502

def admission_webhook
  @admission_webhook
end

#git_syncString

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

Returns:

  • (String)


507
508
509
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 507

def git_sync
  @git_sync
end

#importerString

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

Returns:

  • (String)


512
513
514
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 512

def importer
  @importer
end

#monitorString

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

Returns:

  • (String)


517
518
519
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 517

def monitor
  @monitor
end

#reconciler_managerString

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

Returns:

  • (String)


522
523
524
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 522

def reconciler_manager
  @reconciler_manager
end

#root_reconcilerString

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

Returns:

  • (String)


527
528
529
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 527

def root_reconciler
  @root_reconciler
end

#syncerString

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

Returns:

  • (String)


532
533
534
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 532

def syncer
  @syncer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



539
540
541
542
543
544
545
546
547
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 539

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