Class: Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncState

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb

Overview

State information for ConfigSync

Defined Under Namespace

Modules: CRDState, State

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_state::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncDeploymentState

Returns Information about the deployment of ConfigSync, including the version of the various Pods deployed.

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 319

class ConfigSyncState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CRDState representing the state of a CRD
  module CRDState
    # CRD's state cannot be determined
    CRD_STATE_UNSPECIFIED = 0

    # CRD is not installed
    NOT_INSTALLED = 1

    # CRD is installed
    INSTALLED = 2

    # CRD is terminating (i.e., it has been deleted and is cleaning up)
    TERMINATING = 3

    # CRD is installing
    INSTALLING = 4
  end

  module State
    # CS's state cannot be determined.
    STATE_UNSPECIFIED = 0

    # CS is not installed.
    CONFIG_SYNC_NOT_INSTALLED = 1

    # The expected CS version is installed successfully.
    CONFIG_SYNC_INSTALLED = 2

    # CS encounters errors.
    CONFIG_SYNC_ERROR = 3

    # CS is installing or terminating.
    CONFIG_SYNC_PENDING = 4
  end
end

#errors::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncError>

Returns Errors pertaining to the installation of Config Sync.

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 319

class ConfigSyncState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CRDState representing the state of a CRD
  module CRDState
    # CRD's state cannot be determined
    CRD_STATE_UNSPECIFIED = 0

    # CRD is not installed
    NOT_INSTALLED = 1

    # CRD is installed
    INSTALLED = 2

    # CRD is terminating (i.e., it has been deleted and is cleaning up)
    TERMINATING = 3

    # CRD is installing
    INSTALLING = 4
  end

  module State
    # CS's state cannot be determined.
    STATE_UNSPECIFIED = 0

    # CS is not installed.
    CONFIG_SYNC_NOT_INSTALLED = 1

    # The expected CS version is installed successfully.
    CONFIG_SYNC_INSTALLED = 2

    # CS encounters errors.
    CONFIG_SYNC_ERROR = 3

    # CS is installing or terminating.
    CONFIG_SYNC_PENDING = 4
  end
end

#reposync_crd::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncState::CRDState

Returns The state of the Reposync CRD.



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 319

class ConfigSyncState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CRDState representing the state of a CRD
  module CRDState
    # CRD's state cannot be determined
    CRD_STATE_UNSPECIFIED = 0

    # CRD is not installed
    NOT_INSTALLED = 1

    # CRD is installed
    INSTALLED = 2

    # CRD is terminating (i.e., it has been deleted and is cleaning up)
    TERMINATING = 3

    # CRD is installing
    INSTALLING = 4
  end

  module State
    # CS's state cannot be determined.
    STATE_UNSPECIFIED = 0

    # CS is not installed.
    CONFIG_SYNC_NOT_INSTALLED = 1

    # The expected CS version is installed successfully.
    CONFIG_SYNC_INSTALLED = 2

    # CS encounters errors.
    CONFIG_SYNC_ERROR = 3

    # CS is installing or terminating.
    CONFIG_SYNC_PENDING = 4
  end
end

#rootsync_crd::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncState::CRDState

Returns The state of the RootSync CRD.



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 319

class ConfigSyncState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CRDState representing the state of a CRD
  module CRDState
    # CRD's state cannot be determined
    CRD_STATE_UNSPECIFIED = 0

    # CRD is not installed
    NOT_INSTALLED = 1

    # CRD is installed
    INSTALLED = 2

    # CRD is terminating (i.e., it has been deleted and is cleaning up)
    TERMINATING = 3

    # CRD is installing
    INSTALLING = 4
  end

  module State
    # CS's state cannot be determined.
    STATE_UNSPECIFIED = 0

    # CS is not installed.
    CONFIG_SYNC_NOT_INSTALLED = 1

    # The expected CS version is installed successfully.
    CONFIG_SYNC_INSTALLED = 2

    # CS encounters errors.
    CONFIG_SYNC_ERROR = 3

    # CS is installing or terminating.
    CONFIG_SYNC_PENDING = 4
  end
end

#state::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncState::State

Returns The state of CS This field summarizes the other fields in this message.

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 319

class ConfigSyncState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CRDState representing the state of a CRD
  module CRDState
    # CRD's state cannot be determined
    CRD_STATE_UNSPECIFIED = 0

    # CRD is not installed
    NOT_INSTALLED = 1

    # CRD is installed
    INSTALLED = 2

    # CRD is terminating (i.e., it has been deleted and is cleaning up)
    TERMINATING = 3

    # CRD is installing
    INSTALLING = 4
  end

  module State
    # CS's state cannot be determined.
    STATE_UNSPECIFIED = 0

    # CS is not installed.
    CONFIG_SYNC_NOT_INSTALLED = 1

    # The expected CS version is installed successfully.
    CONFIG_SYNC_INSTALLED = 2

    # CS encounters errors.
    CONFIG_SYNC_ERROR = 3

    # CS is installing or terminating.
    CONFIG_SYNC_PENDING = 4
  end
end

#sync_state::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState

Returns The state of ConfigSync's process to sync configs to a cluster.

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 319

class ConfigSyncState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CRDState representing the state of a CRD
  module CRDState
    # CRD's state cannot be determined
    CRD_STATE_UNSPECIFIED = 0

    # CRD is not installed
    NOT_INSTALLED = 1

    # CRD is installed
    INSTALLED = 2

    # CRD is terminating (i.e., it has been deleted and is cleaning up)
    TERMINATING = 3

    # CRD is installing
    INSTALLING = 4
  end

  module State
    # CS's state cannot be determined.
    STATE_UNSPECIFIED = 0

    # CS is not installed.
    CONFIG_SYNC_NOT_INSTALLED = 1

    # The expected CS version is installed successfully.
    CONFIG_SYNC_INSTALLED = 2

    # CS encounters errors.
    CONFIG_SYNC_ERROR = 3

    # CS is installing or terminating.
    CONFIG_SYNC_PENDING = 4
  end
end

#version::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncVersion

Returns The version of ConfigSync deployed.

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 319

class ConfigSyncState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CRDState representing the state of a CRD
  module CRDState
    # CRD's state cannot be determined
    CRD_STATE_UNSPECIFIED = 0

    # CRD is not installed
    NOT_INSTALLED = 1

    # CRD is installed
    INSTALLED = 2

    # CRD is terminating (i.e., it has been deleted and is cleaning up)
    TERMINATING = 3

    # CRD is installing
    INSTALLING = 4
  end

  module State
    # CS's state cannot be determined.
    STATE_UNSPECIFIED = 0

    # CS is not installed.
    CONFIG_SYNC_NOT_INSTALLED = 1

    # The expected CS version is installed successfully.
    CONFIG_SYNC_INSTALLED = 2

    # CS encounters errors.
    CONFIG_SYNC_ERROR = 3

    # CS is installing or terminating.
    CONFIG_SYNC_PENDING = 4
  end
end