Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class MembershipState.
Anthos Config Management: State for a single cluster.
Generated from protobuf message google.cloud.gkehub.configmanagement.v1.MembershipState
Namespace
Google \ Cloud \ GkeHub \ ConfigManagement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cluster_name
string
The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.
↳ membership_spec
Google\Cloud\GkeHub\ConfigManagement\V1\MembershipSpec
Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
↳ operator_state
↳ config_sync_state
↳ policy_controller_state
↳ hierarchy_controller_state
getClusterName
The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature.
Unique within a Anthos Config Management installation.
string
setClusterName
The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature.
Unique within a Anthos Config Management installation.
var
string
$this
getMembershipSpec
Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
hasMembershipSpec
clearMembershipSpec
setMembershipSpec
Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
$this
getOperatorState
Current install status of ACM's Operator
hasOperatorState
clearOperatorState
setOperatorState
Current install status of ACM's Operator
$this
getConfigSyncState
Current sync status
hasConfigSyncState
clearConfigSyncState
setConfigSyncState
Current sync status
$this
getPolicyControllerState
PolicyController status
hasPolicyControllerState
clearPolicyControllerState
setPolicyControllerState
PolicyController status
$this
getHierarchyControllerState
Hierarchy Controller status
hasHierarchyControllerState
clearHierarchyControllerState
setHierarchyControllerState
Hierarchy Controller status
$this