gkehub

package
v1.66.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package gkehub defines operations in the declarative SDK.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package gkehub includes all of the code for gkehub.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const FeatureMembershipMaxPage = -1

Variables

View Source
var YAML_feature_membership = []byte("info:\n  title: GkeHub/FeatureMembership\n  description: The GkeHub FeatureMembership resource\n  x-dcl-struct-name: FeatureMembership\n  x-dcl-has-iam: false\n  x-dcl-mutex: '{{project}}/{{location}}/{{feature}}'\npaths:\n  get:\n    description: The function used to get information about a FeatureMembership\n    parameters:\n    - name: featureMembership\n      required: true\n      description: A full instance of a FeatureMembership\n  apply:\n    description: The function used to apply information about a FeatureMembership\n    parameters:\n    - name: featureMembership\n      required: true\n      description: A full instance of a FeatureMembership\n  delete:\n    description: The function used to delete a FeatureMembership\n    parameters:\n    - name: featureMembership\n      required: true\n      description: A full instance of a FeatureMembership\n  deleteAll:\n    description: The function used to delete all FeatureMembership\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: feature\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many FeatureMembership\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: feature\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    FeatureMembership:\n      title: FeatureMembership\n      x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{feature}}/memberships/{{membership}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - project\n      - location\n      - feature\n      - membership\n      properties:\n        configmanagement:\n          type: object\n          x-dcl-go-name: Configmanagement\n          x-dcl-go-type: FeatureMembershipConfigmanagement\n          description: Config Management-specific spec.\n          properties:\n            binauthz:\n              type: object\n              x-dcl-go-name: Binauthz\n              x-dcl-go-type: FeatureMembershipConfigmanagementBinauthz\n              description: '**DEPRECATED** Binauthz configuration for the cluster.\n                This field will be ignored and should not be set.'\n              x-dcl-server-default: true\n              properties:\n                enabled:\n                  type: boolean\n                  x-dcl-go-name: Enabled\n                  description: Whether binauthz is enabled in this cluster.\n              x-dcl-parameter: true\n            configSync:\n              type: object\n              x-dcl-go-name: ConfigSync\n              x-dcl-go-type: FeatureMembershipConfigmanagementConfigSync\n              description: Config Sync configuration for the cluster.\n              x-dcl-send-empty: true\n              properties:\n                git:\n                  type: object\n                  x-dcl-go-name: Git\n                  x-dcl-go-type: FeatureMembershipConfigmanagementConfigSyncGit\n                  properties:\n                    gcpServiceAccountEmail:\n                      type: string\n                      x-dcl-go-name: GcpServiceAccountEmail\n                      description: The GCP Service Account Email used for auth when\n                        secretType is gcpServiceAccount.\n                      x-dcl-references:\n                      - resource: Iam/ServiceAccount\n                        field: email\n                    httpsProxy:\n                      type: string\n                      x-dcl-go-name: HttpsProxy\n                      description: URL for the HTTPS proxy to be used when communicating\n                        with the Git repo.\n                    policyDir:\n                      type: string\n                      x-dcl-go-name: PolicyDir\n                      description: 'The path within the Git repository that represents\n                        the top level of the repo to sync. Default: the root directory\n                        of the repository.'\n                    secretType:\n                      type: string\n                      x-dcl-go-name: SecretType\n                      description: Type of secret configured for access to the Git\n                        repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount\n                        or none. The validation of this is case-sensitive.\n                    syncBranch:\n                      type: string\n                      x-dcl-go-name: SyncBranch\n                      description: 'The branch of the repository to sync from. Default:\n                        master.'\n                    syncRepo:\n                      type: string\n                      x-dcl-go-name: SyncRepo\n                      description: The URL of the Git repository to use as the source\n                        of truth.\n                    syncRev:\n                      type: string\n                      x-dcl-go-name: SyncRev\n                      description: Git revision (tag or hash) to check out. Default\n                        HEAD.\n                    syncWaitSecs:\n                      type: string\n                      x-dcl-go-name: SyncWaitSecs\n                      description: 'Period in seconds between consecutive syncs. Default:\n                        15.'\n                metricsGcpServiceAccountEmail:\n                  type: string\n                  x-dcl-go-name: MetricsGcpServiceAccountEmail\n                  description: The Email of the Google Cloud Service Account (GSA)\n                    used for exporting Config Sync metrics to Cloud Monitoring. The\n                    GSA should have the Monitoring Metric Writer(roles/monitoring.metricWriter)\n                    IAM role. The Kubernetes ServiceAccount `default` in the namespace\n                    `config-management-monitoring` should be bound to the GSA.\n                  x-dcl-references:\n                  - resource: Iam/ServiceAccount\n                    field: email\n                oci:\n                  type: object\n                  x-dcl-go-name: Oci\n                  x-dcl-go-type: FeatureMembershipConfigmanagementConfigSyncOci\n                  properties:\n                    gcpServiceAccountEmail:\n                      type: string\n                      x-dcl-go-name: GcpServiceAccountEmail\n                      description: 'The GCP Service Account Email used for auth when\n                        secret_type is gcpserviceaccount. '\n                      x-dcl-references:\n                      - resource: Iam/ServiceAccount\n                        field: email\n                    policyDir:\n                      type: string\n                      x-dcl-go-name: PolicyDir\n                      description: 'The absolute path of the directory that contains\n                        the local resources. Default: the root directory of the image.'\n                    secretType:\n                      type: string\n                      x-dcl-go-name: SecretType\n                      description: Type of secret configured for access to the OCI\n                        Image. Must be one of gcenode, gcpserviceaccount or none.\n                        The validation of this is case-sensitive.\n                    syncRepo:\n                      type: string\n                      x-dcl-go-name: SyncRepo\n                      description: The OCI image repository URL for the package to\n                        sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.\n                    syncWaitSecs:\n                      type: string\n                      x-dcl-go-name: SyncWaitSecs\n                      description: 'Period in seconds(int64 format) between consecutive\n                        syncs. Default: 15.'\n                preventDrift:\n                  type: boolean\n                  x-dcl-go-name: PreventDrift\n                  description: Set to true to enable the Config Sync admission webhook\n                    to prevent drifts. If set to `false`, disables the Config Sync\n                    admission webhook and does not prevent drifts.\n                  x-dcl-server-default: true\n                sourceFormat:\n                  type: string\n                  x-dcl-go-name: SourceFormat\n                  description: Specifies whether the Config Sync Repo is in \"hierarchical\"\n                    or \"unstructured\" mode.\n            hierarchyController:\n              type: object\n              x-dcl-go-name: HierarchyController\n              x-dcl-go-type: FeatureMembershipConfigmanagementHierarchyController\n              description: Hierarchy Controller configuration for the cluster.\n              x-dcl-send-empty: true\n              properties:\n                enableHierarchicalResourceQuota:\n                  type: boolean\n                  x-dcl-go-name: EnableHierarchicalResourceQuota\n                  description: Whether hierarchical resource quota is enabled in this\n                    cluster.\n                  x-dcl-send-empty: true\n                enablePodTreeLabels:\n                  type: boolean\n                  x-dcl-go-name: EnablePodTreeLabels\n                  description: Whether pod tree labels are enabled in this cluster.\n                  x-dcl-send-empty: true\n                enabled:\n                  type: boolean\n                  x-dcl-go-name: Enabled\n                  description: Whether Hierarchy Controller is enabled in this cluster.\n                  x-dcl-send-empty: true\n            policyController:\n              type: object\n              x-dcl-go-name: PolicyController\n              x-dcl-go-type: FeatureMembershipConfigmanagementPolicyController\n              description: Policy Controller configuration for the cluster.\n              properties:\n                auditIntervalSeconds:\n                  type: string\n                  x-dcl-go-name: AuditIntervalSeconds\n                  description: Sets the interval for Policy Controller Audit Scans\n                    (in seconds). When set to 0, this disables audit functionality\n                    altogether.\n                enabled:\n                  type: boolean\n                  x-dcl-go-name: Enabled\n                  description: Enables the installation of Policy Controller. If false,\n                    the rest of PolicyController fields take no effect.\n                exemptableNamespaces:\n                  type: array\n                  x-dcl-go-name: ExemptableNamespaces\n                  description: The set of namespaces that are excluded from Policy\n                    Controller checks. Namespaces do not need to currently exist on\n                    the cluster.\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                logDeniesEnabled:\n                  type: boolean\n                  x-dcl-go-name: LogDeniesEnabled\n                  description: Logs all denies and dry run failures.\n                monitoring:\n                  type: object\n                  x-dcl-go-name: Monitoring\n                  x-dcl-go-type: FeatureMembershipConfigmanagementPolicyControllerMonitoring\n                  description: 'Specifies the backends Policy Controller should export\n                    metrics to. For example, to specify metrics should be exported\n                    to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\",\n                    \"prometheus\"]. Default: [\"cloudmonitoring\", \"prometheus\"]'\n                  x-dcl-server-default: true\n                  properties:\n                    backends:\n                      type: array\n                      x-dcl-go-name: Backends\n                      description: ' Specifies the list of backends Policy Controller\n                        will export to. Specifying an empty value `[]` disables metrics\n                        export.'\n                      x-dcl-server-default: true\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum\n                        enum:\n                        - MONITORING_BACKEND_UNSPECIFIED\n                        - PROMETHEUS\n                        - CLOUD_MONITORING\n                mutationEnabled:\n                  type: boolean\n                  x-dcl-go-name: MutationEnabled\n                  description: Enable or disable mutation in policy controller. If\n                    true, mutation CRDs, webhook and controller deployment will be\n                    deployed to the cluster.\n                referentialRulesEnabled:\n                  type: boolean\n                  x-dcl-go-name: ReferentialRulesEnabled\n                  description: Enables the ability to use Constraint Templates that\n                    reference to objects other than the object currently being evaluated.\n                templateLibraryInstalled:\n                  type: boolean\n                  x-dcl-go-name: TemplateLibraryInstalled\n                  description: Installs the default template library along with Policy\n                    Controller.\n            version:\n              type: string\n              x-dcl-go-name: Version\n              description: Optional. Version of ACM to install. Defaults to the latest\n                version.\n              x-dcl-server-default: true\n        feature:\n          type: string\n          x-dcl-go-name: Feature\n          description: The name of the feature\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Gkehub/Feature\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location of the feature\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        membership:\n          type: string\n          x-dcl-go-name: Membership\n          description: The name of the membership\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Gkehub/Membership\n            field: name\n          x-dcl-parameter: true\n        membershipLocation:\n          type: string\n          x-dcl-go-name: MembershipLocation\n          description: The location of the membership\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        mesh:\n          type: object\n          x-dcl-go-name: Mesh\n          x-dcl-go-type: FeatureMembershipMesh\n          description: Manage Mesh Features\n          properties:\n            controlPlane:\n              type: string\n              x-dcl-go-name: ControlPlane\n              x-dcl-go-type: FeatureMembershipMeshControlPlaneEnum\n              description: '**DEPRECATED** Whether to automatically manage Service\n                Mesh control planes. Possible values: CONTROL_PLANE_MANAGEMENT_UNSPECIFIED,\n                AUTOMATIC, MANUAL'\n              enum:\n              - CONTROL_PLANE_MANAGEMENT_UNSPECIFIED\n              - AUTOMATIC\n              - MANUAL\n            management:\n              type: string\n              x-dcl-go-name: Management\n              x-dcl-go-type: FeatureMembershipMeshManagementEnum\n              description: 'Whether to automatically manage Service Mesh. Possible\n                values: MANAGEMENT_UNSPECIFIED, MANAGEMENT_AUTOMATIC, MANAGEMENT_MANUAL'\n              enum:\n              - MANAGEMENT_UNSPECIFIED\n              - MANAGEMENT_AUTOMATIC\n              - MANAGEMENT_MANUAL\n        policycontroller:\n          type: object\n          x-dcl-go-name: Policycontroller\n          x-dcl-go-type: FeatureMembershipPolicycontroller\n          description: Policy Controller-specific spec.\n          required:\n          - policyControllerHubConfig\n          properties:\n            policyControllerHubConfig:\n              type: object\n              x-dcl-go-name: PolicyControllerHubConfig\n              x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfig\n              description: Policy Controller configuration for the cluster.\n              properties:\n                auditIntervalSeconds:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: AuditIntervalSeconds\n                  description: Sets the interval for Policy Controller Audit Scans\n                    (in seconds). When set to 0, this disables audit functionality\n                    altogether.\n                constraintViolationLimit:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: ConstraintViolationLimit\n                  description: The maximum number of audit violations to be stored\n                    in a constraint. If not set, the internal default of 20 will be\n                    used.\n                deploymentConfigs:\n                  type: object\n                  additionalProperties:\n                    type: object\n                    x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs\n                    properties:\n                      containerResources:\n                        type: object\n                        x-dcl-go-name: ContainerResources\n                        x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources\n                        description: Container resource requirements.\n                        x-dcl-conflicts:\n                        - replicaCount\n                        - podAffinity\n                        - podTolerations\n                        properties:\n                          limits:\n                            type: object\n                            x-dcl-go-name: Limits\n                            x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits\n                            description: Limits describes the maximum amount of compute\n                              resources allowed for use by the running container.\n                            properties:\n                              cpu:\n                                type: string\n                                x-dcl-go-name: Cpu\n                                description: CPU requirement expressed in Kubernetes\n                                  resource units.\n                              memory:\n                                type: string\n                                x-dcl-go-name: Memory\n                                description: Memory requirement expressed in Kubernetes\n                                  resource units.\n                          requests:\n                            type: object\n                            x-dcl-go-name: Requests\n                            x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests\n                            description: Requests describes the amount of compute\n                              resources reserved for the container by the kube-scheduler.\n                            properties:\n                              cpu:\n                                type: string\n                                x-dcl-go-name: Cpu\n                                description: CPU requirement expressed in Kubernetes\n                                  resource units.\n                              memory:\n                                type: string\n                                x-dcl-go-name: Memory\n                                description: Memory requirement expressed in Kubernetes\n                                  resource units.\n                      podAffinity:\n                        type: string\n                        x-dcl-go-name: PodAffinity\n                        x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum\n                        description: 'Pod affinity configuration. Possible values:\n                          AFFINITY_UNSPECIFIED, NO_AFFINITY, ANTI_AFFINITY'\n                        x-dcl-conflicts:\n                        - replicaCount\n                        - containerResources\n                        - podTolerations\n                        enum:\n                        - AFFINITY_UNSPECIFIED\n                        - NO_AFFINITY\n                        - ANTI_AFFINITY\n                      podTolerations:\n                        type: array\n                        x-dcl-go-name: PodTolerations\n                        description: Pod tolerations of node taints.\n                        x-dcl-conflicts:\n                        - replicaCount\n                        - containerResources\n                        - podAffinity\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: object\n                          x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations\n                          properties:\n                            effect:\n                              type: string\n                              x-dcl-go-name: Effect\n                              description: Matches a taint effect.\n                            key:\n                              type: string\n                              x-dcl-go-name: Key\n                              description: Matches a taint key (not necessarily unique).\n                            operator:\n                              type: string\n                              x-dcl-go-name: Operator\n                              description: Matches a taint operator.\n                            value:\n                              type: string\n                              x-dcl-go-name: Value\n                              description: Matches a taint value.\n                      replicaCount:\n                        type: integer\n                        format: int64\n                        x-dcl-go-name: ReplicaCount\n                        description: Pod replica count.\n                        x-dcl-conflicts:\n                        - containerResources\n                        - podAffinity\n                        - podTolerations\n                  x-dcl-go-name: DeploymentConfigs\n                  description: Map of deployment configs to deployments (\"admission\",\n                    \"audit\", \"mutation\").\n                  x-dcl-server-default: true\n                exemptableNamespaces:\n                  type: array\n                  x-dcl-go-name: ExemptableNamespaces\n                  description: The set of namespaces that are excluded from Policy\n                    Controller checks. Namespaces do not need to currently exist on\n                    the cluster.\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                installSpec:\n                  type: string\n                  x-dcl-go-name: InstallSpec\n                  x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum\n                  description: 'Configures the mode of the Policy Controller installation.\n                    Possible values: INSTALL_SPEC_UNSPECIFIED, INSTALL_SPEC_NOT_INSTALLED,\n                    INSTALL_SPEC_ENABLED, INSTALL_SPEC_SUSPENDED, INSTALL_SPEC_DETACHED'\n                  enum:\n                  - INSTALL_SPEC_UNSPECIFIED\n                  - INSTALL_SPEC_NOT_INSTALLED\n                  - INSTALL_SPEC_ENABLED\n                  - INSTALL_SPEC_SUSPENDED\n                  - INSTALL_SPEC_DETACHED\n                logDeniesEnabled:\n                  type: boolean\n                  x-dcl-go-name: LogDeniesEnabled\n                  description: Logs all denies and dry run failures.\n                monitoring:\n                  type: object\n                  x-dcl-go-name: Monitoring\n                  x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring\n                  description: 'Specifies the backends Policy Controller should export\n                    metrics to. For example, to specify metrics should be exported\n                    to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\",\n                    \"prometheus\"]. Default: [\"cloudmonitoring\", \"prometheus\"]'\n                  x-dcl-server-default: true\n                  properties:\n                    backends:\n                      type: array\n                      x-dcl-go-name: Backends\n                      description: ' Specifies the list of backends Policy Controller\n                        will export to. Specifying an empty value `[]` disables metrics\n                        export.'\n                      x-dcl-server-default: true\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum\n                        enum:\n                        - MONITORING_BACKEND_UNSPECIFIED\n                        - PROMETHEUS\n                        - CLOUD_MONITORING\n                mutationEnabled:\n                  type: boolean\n                  x-dcl-go-name: MutationEnabled\n                  description: Enables the ability to mutate resources using Policy\n                    Controller.\n                policyContent:\n                  type: object\n                  x-dcl-go-name: PolicyContent\n                  x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent\n                  description: Specifies the desired policy content on the cluster.\n                  x-dcl-server-default: true\n                  properties:\n                    bundles:\n                      type: object\n                      additionalProperties:\n                        type: object\n                        x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles\n                        properties:\n                          exemptedNamespaces:\n                            type: array\n                            x-dcl-go-name: ExemptedNamespaces\n                            description: The set of namespaces to be exempted from\n                              the bundle.\n                            x-dcl-send-empty: true\n                            x-dcl-list-type: list\n                            items:\n                              type: string\n                              x-dcl-go-type: string\n                      x-dcl-go-name: Bundles\n                      description: map of bundle name to BundleInstallSpec. The bundle\n                        name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData`\n                        annotation on a constraint.\n                    templateLibrary:\n                      type: object\n                      x-dcl-go-name: TemplateLibrary\n                      x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary\n                      description: Configures the installation of the Template Library.\n                      x-dcl-server-default: true\n                      properties:\n                        installation:\n                          type: string\n                          x-dcl-go-name: Installation\n                          x-dcl-go-type: FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum\n                          description: 'Configures the manner in which the template\n                            library is installed on the cluster. Possible values:\n                            INSTALLATION_UNSPECIFIED, NOT_INSTALLED, ALL'\n                          enum:\n                          - INSTALLATION_UNSPECIFIED\n                          - NOT_INSTALLED\n                          - ALL\n                referentialRulesEnabled:\n                  type: boolean\n                  x-dcl-go-name: ReferentialRulesEnabled\n                  description: Enables the ability to use Constraint Templates that\n                    reference to objects other than the object currently being evaluated.\n            version:\n              type: string\n              x-dcl-go-name: Version\n              description: Optional. Version of Policy Controller to install. Defaults\n                to the latest version.\n              x-dcl-server-default: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project of the feature\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/feature_membership.yaml

Functions

func CompareFeatureMembershipConfigmanagementHierarchyControllerNewStyle added in v1.50.0

func CompareFeatureMembershipConfigmanagementHierarchyControllerNewStyle(d, a any, fn dcl.FieldName) ([]*dcl.FieldDiff, error)

CompareFeatureMembershipConfigmanagementHierarchyControllerNewStyle exists only for unit-testing the diff library.

func DCLFeatureMembershipSchema added in v1.50.0

func DCLFeatureMembershipSchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.

func NewClient

func NewClient(c *dcl.Config) *Client

NewClient creates a client that retries all operations a few times each.

func (*Client) ApplyFeatureMembership added in v1.50.0

func (c *Client) ApplyFeatureMembership(ctx context.Context, rawDesired *FeatureMembership, opts ...dcl.ApplyOption) (*FeatureMembership, error)

func (*Client) DeleteAllFeatureMembership added in v1.50.0

func (c *Client) DeleteAllFeatureMembership(ctx context.Context, project, location, feature string, filter func(*FeatureMembership) bool) error

DeleteAllFeatureMembership deletes all resources that the filter functions returns true on.

func (*Client) DeleteFeatureMembership added in v1.50.0

func (c *Client) DeleteFeatureMembership(ctx context.Context, r *FeatureMembership) error

func (*Client) GetFeatureMembership added in v1.50.0

func (c *Client) GetFeatureMembership(ctx context.Context, r *FeatureMembership) (*FeatureMembership, error)

GetFeatureMembership returns a feature membership object retrieved from the membershipSpecs field of a feature.

func (*Client) ListFeatureMembership added in v1.50.0

func (c *Client) ListFeatureMembership(ctx context.Context, project, location, feature string) (*FeatureMembershipList, error)

ListFeatureMembership returns a list of feature memberships retrieved from the membershipSpecs field of a feature.

type FeatureMembership added in v1.50.0

type FeatureMembership struct {
	Mesh               *FeatureMembershipMesh             `json:"mesh"`
	Configmanagement   *FeatureMembershipConfigmanagement `json:"configmanagement"`
	Policycontroller   *FeatureMembershipPolicycontroller `json:"policycontroller"`
	Project            *string                            `json:"project"`
	Location           *string                            `json:"location"`
	Feature            *string                            `json:"feature"`
	Membership         *string                            `json:"membership"`
	MembershipLocation *string                            `json:"membershipLocation"`
}

func (*FeatureMembership) Describe added in v1.50.0

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*FeatureMembership) ID added in v1.50.0

func (r *FeatureMembership) ID() (string, error)

func (*FeatureMembership) String added in v1.50.0

func (r *FeatureMembership) String() string

type FeatureMembershipConfigmanagement added in v1.50.0

type FeatureMembershipConfigmanagement struct {
	ConfigSync          *FeatureMembershipConfigmanagementConfigSync          `json:"configSync"`
	PolicyController    *FeatureMembershipConfigmanagementPolicyController    `json:"policyController"`
	Binauthz            *FeatureMembershipConfigmanagementBinauthz            `json:"binauthz"`
	HierarchyController *FeatureMembershipConfigmanagementHierarchyController `json:"hierarchyController"`
	Version             *string                                               `json:"version"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipConfigmanagement *FeatureMembershipConfigmanagement = &FeatureMembershipConfigmanagement{empty: true}

This object is used to assert a desired state where this FeatureMembershipConfigmanagement is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipConfigmanagement) Empty added in v1.50.0

func (*FeatureMembershipConfigmanagement) HashCode added in v1.50.0

func (*FeatureMembershipConfigmanagement) String added in v1.50.0

func (*FeatureMembershipConfigmanagement) UnmarshalJSON added in v1.50.0

func (r *FeatureMembershipConfigmanagement) UnmarshalJSON(data []byte) error

type FeatureMembershipConfigmanagementBinauthz added in v1.50.0

type FeatureMembershipConfigmanagementBinauthz struct {
	Enabled *bool `json:"enabled"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipConfigmanagementBinauthz *FeatureMembershipConfigmanagementBinauthz = &FeatureMembershipConfigmanagementBinauthz{empty: true}

This object is used to assert a desired state where this FeatureMembershipConfigmanagementBinauthz is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipConfigmanagementBinauthz) Empty added in v1.50.0

func (*FeatureMembershipConfigmanagementBinauthz) HashCode added in v1.50.0

func (*FeatureMembershipConfigmanagementBinauthz) String added in v1.50.0

func (*FeatureMembershipConfigmanagementBinauthz) UnmarshalJSON added in v1.50.0

func (r *FeatureMembershipConfigmanagementBinauthz) UnmarshalJSON(data []byte) error

type FeatureMembershipConfigmanagementConfigSync added in v1.50.0

type FeatureMembershipConfigmanagementConfigSync struct {
	Git                           *FeatureMembershipConfigmanagementConfigSyncGit `json:"git"`
	SourceFormat                  *string                                         `json:"sourceFormat"`
	PreventDrift                  *bool                                           `json:"preventDrift"`
	MetricsGcpServiceAccountEmail *string                                         `json:"metricsGcpServiceAccountEmail"`
	Oci                           *FeatureMembershipConfigmanagementConfigSyncOci `json:"oci"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipConfigmanagementConfigSync *FeatureMembershipConfigmanagementConfigSync = &FeatureMembershipConfigmanagementConfigSync{empty: true}

This object is used to assert a desired state where this FeatureMembershipConfigmanagementConfigSync is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipConfigmanagementConfigSync) Empty added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSync) HashCode added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSync) String added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSync) UnmarshalJSON added in v1.50.0

func (r *FeatureMembershipConfigmanagementConfigSync) UnmarshalJSON(data []byte) error

type FeatureMembershipConfigmanagementConfigSyncGit added in v1.50.0

type FeatureMembershipConfigmanagementConfigSyncGit struct {
	SyncRepo               *string `json:"syncRepo"`
	SyncBranch             *string `json:"syncBranch"`
	PolicyDir              *string `json:"policyDir"`
	SyncWaitSecs           *string `json:"syncWaitSecs"`
	SyncRev                *string `json:"syncRev"`
	SecretType             *string `json:"secretType"`
	HttpsProxy             *string `json:"httpsProxy"`
	GcpServiceAccountEmail *string `json:"gcpServiceAccountEmail"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipConfigmanagementConfigSyncGit *FeatureMembershipConfigmanagementConfigSyncGit = &FeatureMembershipConfigmanagementConfigSyncGit{empty: true}

This object is used to assert a desired state where this FeatureMembershipConfigmanagementConfigSyncGit is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipConfigmanagementConfigSyncGit) Empty added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSyncGit) HashCode added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSyncGit) String added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSyncGit) UnmarshalJSON added in v1.50.0

type FeatureMembershipConfigmanagementConfigSyncOci added in v1.50.0

type FeatureMembershipConfigmanagementConfigSyncOci struct {
	SyncRepo               *string `json:"syncRepo"`
	PolicyDir              *string `json:"policyDir"`
	SyncWaitSecs           *string `json:"syncWaitSecs"`
	SecretType             *string `json:"secretType"`
	GcpServiceAccountEmail *string `json:"gcpServiceAccountEmail"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipConfigmanagementConfigSyncOci *FeatureMembershipConfigmanagementConfigSyncOci = &FeatureMembershipConfigmanagementConfigSyncOci{empty: true}

This object is used to assert a desired state where this FeatureMembershipConfigmanagementConfigSyncOci is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipConfigmanagementConfigSyncOci) Empty added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSyncOci) HashCode added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSyncOci) String added in v1.50.0

func (*FeatureMembershipConfigmanagementConfigSyncOci) UnmarshalJSON added in v1.50.0

type FeatureMembershipConfigmanagementHierarchyController added in v1.50.0

type FeatureMembershipConfigmanagementHierarchyController struct {
	Enabled                         *bool `json:"enabled"`
	EnablePodTreeLabels             *bool `json:"enablePodTreeLabels"`
	EnableHierarchicalResourceQuota *bool `json:"enableHierarchicalResourceQuota"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipConfigmanagementHierarchyController *FeatureMembershipConfigmanagementHierarchyController = &FeatureMembershipConfigmanagementHierarchyController{empty: true}

This object is used to assert a desired state where this FeatureMembershipConfigmanagementHierarchyController is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipConfigmanagementHierarchyController) Empty added in v1.50.0

func (*FeatureMembershipConfigmanagementHierarchyController) HashCode added in v1.50.0

func (*FeatureMembershipConfigmanagementHierarchyController) String added in v1.50.0

func (*FeatureMembershipConfigmanagementHierarchyController) UnmarshalJSON added in v1.50.0

type FeatureMembershipConfigmanagementPolicyController added in v1.50.0

type FeatureMembershipConfigmanagementPolicyController struct {
	Enabled                  *bool                                                        `json:"enabled"`
	ExemptableNamespaces     []string                                                     `json:"exemptableNamespaces"`
	ReferentialRulesEnabled  *bool                                                        `json:"referentialRulesEnabled"`
	LogDeniesEnabled         *bool                                                        `json:"logDeniesEnabled"`
	MutationEnabled          *bool                                                        `json:"mutationEnabled"`
	Monitoring               *FeatureMembershipConfigmanagementPolicyControllerMonitoring `json:"monitoring"`
	TemplateLibraryInstalled *bool                                                        `json:"templateLibraryInstalled"`
	AuditIntervalSeconds     *string                                                      `json:"auditIntervalSeconds"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipConfigmanagementPolicyController *FeatureMembershipConfigmanagementPolicyController = &FeatureMembershipConfigmanagementPolicyController{empty: true}

This object is used to assert a desired state where this FeatureMembershipConfigmanagementPolicyController is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipConfigmanagementPolicyController) Empty added in v1.50.0

func (*FeatureMembershipConfigmanagementPolicyController) HashCode added in v1.50.0

func (*FeatureMembershipConfigmanagementPolicyController) String added in v1.50.0

func (*FeatureMembershipConfigmanagementPolicyController) UnmarshalJSON added in v1.50.0

type FeatureMembershipConfigmanagementPolicyControllerMonitoring added in v1.50.0

type FeatureMembershipConfigmanagementPolicyControllerMonitoring struct {
	Backends []FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum `json:"backends"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipConfigmanagementPolicyControllerMonitoring *FeatureMembershipConfigmanagementPolicyControllerMonitoring = &FeatureMembershipConfigmanagementPolicyControllerMonitoring{empty: true}

This object is used to assert a desired state where this FeatureMembershipConfigmanagementPolicyControllerMonitoring is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipConfigmanagementPolicyControllerMonitoring) Empty added in v1.50.0

func (*FeatureMembershipConfigmanagementPolicyControllerMonitoring) HashCode added in v1.50.0

func (*FeatureMembershipConfigmanagementPolicyControllerMonitoring) String added in v1.50.0

func (*FeatureMembershipConfigmanagementPolicyControllerMonitoring) UnmarshalJSON added in v1.50.0

type FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum added in v1.50.0

type FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum string

The enum FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum.

func FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnumRef added in v1.50.0

func FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnumRef(s string) *FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum

FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnumRef returns a *FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum with the value of string s If the empty string is provided, nil is returned.

func (FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum) Validate added in v1.50.0

type FeatureMembershipList added in v1.50.0

type FeatureMembershipList struct {
	Items []*FeatureMembership
	// contains filtered or unexported fields
}

func (*FeatureMembershipList) HasNext added in v1.50.0

func (l *FeatureMembershipList) HasNext() bool

HasNext always returns false because a feature membership list never has a next page.

func (*FeatureMembershipList) Next added in v1.50.0

Next returns nil because it will never be called.

type FeatureMembershipMesh added in v1.50.0

type FeatureMembershipMesh struct {
	Management   *FeatureMembershipMeshManagementEnum   `json:"management"`
	ControlPlane *FeatureMembershipMeshControlPlaneEnum `json:"controlPlane"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipMesh *FeatureMembershipMesh = &FeatureMembershipMesh{empty: true}

This object is used to assert a desired state where this FeatureMembershipMesh is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipMesh) Empty added in v1.50.0

func (r *FeatureMembershipMesh) Empty() bool

func (*FeatureMembershipMesh) HashCode added in v1.50.0

func (r *FeatureMembershipMesh) HashCode() string

func (*FeatureMembershipMesh) String added in v1.50.0

func (r *FeatureMembershipMesh) String() string

func (*FeatureMembershipMesh) UnmarshalJSON added in v1.50.0

func (r *FeatureMembershipMesh) UnmarshalJSON(data []byte) error

type FeatureMembershipMeshControlPlaneEnum added in v1.50.0

type FeatureMembershipMeshControlPlaneEnum string

The enum FeatureMembershipMeshControlPlaneEnum.

func FeatureMembershipMeshControlPlaneEnumRef added in v1.50.0

func FeatureMembershipMeshControlPlaneEnumRef(s string) *FeatureMembershipMeshControlPlaneEnum

FeatureMembershipMeshControlPlaneEnumRef returns a *FeatureMembershipMeshControlPlaneEnum with the value of string s If the empty string is provided, nil is returned.

func (FeatureMembershipMeshControlPlaneEnum) Validate added in v1.50.0

type FeatureMembershipMeshManagementEnum added in v1.50.0

type FeatureMembershipMeshManagementEnum string

The enum FeatureMembershipMeshManagementEnum.

func FeatureMembershipMeshManagementEnumRef added in v1.50.0

func FeatureMembershipMeshManagementEnumRef(s string) *FeatureMembershipMeshManagementEnum

FeatureMembershipMeshManagementEnumRef returns a *FeatureMembershipMeshManagementEnum with the value of string s If the empty string is provided, nil is returned.

func (FeatureMembershipMeshManagementEnum) Validate added in v1.50.0

type FeatureMembershipPolicycontroller added in v1.60.0

type FeatureMembershipPolicycontroller struct {
	Version                   *string                                                     `json:"version"`
	PolicyControllerHubConfig *FeatureMembershipPolicycontrollerPolicyControllerHubConfig `json:"policyControllerHubConfig"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipPolicycontroller *FeatureMembershipPolicycontroller = &FeatureMembershipPolicycontroller{empty: true}

This object is used to assert a desired state where this FeatureMembershipPolicycontroller is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontroller) Empty added in v1.60.0

func (*FeatureMembershipPolicycontroller) HashCode added in v1.60.0

func (*FeatureMembershipPolicycontroller) String added in v1.60.0

func (*FeatureMembershipPolicycontroller) UnmarshalJSON added in v1.60.0

func (r *FeatureMembershipPolicycontroller) UnmarshalJSON(data []byte) error

type FeatureMembershipPolicycontrollerPolicyControllerHubConfig added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfig struct {
	InstallSpec              *FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum             `json:"installSpec"`
	ExemptableNamespaces     []string                                                                               `json:"exemptableNamespaces"`
	ReferentialRulesEnabled  *bool                                                                                  `json:"referentialRulesEnabled"`
	LogDeniesEnabled         *bool                                                                                  `json:"logDeniesEnabled"`
	MutationEnabled          *bool                                                                                  `json:"mutationEnabled"`
	Monitoring               *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring                  `json:"monitoring"`
	AuditIntervalSeconds     *int64                                                                                 `json:"auditIntervalSeconds"`
	ConstraintViolationLimit *int64                                                                                 `json:"constraintViolationLimit"`
	PolicyContent            *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent               `json:"policyContent"`
	DeploymentConfigs        map[string]FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs `json:"deploymentConfigs"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipPolicycontrollerPolicyControllerHubConfig *FeatureMembershipPolicycontrollerPolicyControllerHubConfig = &FeatureMembershipPolicycontrollerPolicyControllerHubConfig{empty: true}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfig) Empty added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfig) HashCode added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfig) String added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfig) UnmarshalJSON added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs struct {
	ReplicaCount       *int64                                                                                         `json:"replicaCount"`
	ContainerResources *FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources `json:"containerResources"`
	PodAffinity        *FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum    `json:"podAffinity"`
	PodTolerations     []FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations    `json:"podTolerations"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs) Empty added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs) HashCode added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs) String added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs) UnmarshalJSON added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources struct {
	Limits   *FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits   `json:"limits"`
	Requests *FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests `json:"requests"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources) Empty added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources) HashCode added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources) String added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources) UnmarshalJSON added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits struct {
	Memory *string `json:"memory"`
	Cpu    *string `json:"cpu"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits) Empty added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits) HashCode added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits) String added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits) UnmarshalJSON added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests struct {
	Memory *string `json:"memory"`
	Cpu    *string `json:"cpu"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests) Empty added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests) HashCode added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests) String added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests) UnmarshalJSON added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum string

The enum FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum.

func FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumRef added in v1.63.0

func FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumRef(s string) *FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum

FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumRef returns a *FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum with the value of string s If the empty string is provided, nil is returned.

func (FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum) Validate added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations struct {
	Key      *string `json:"key"`
	Operator *string `json:"operator"`
	Value    *string `json:"value"`
	Effect   *string `json:"effect"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations) Empty added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations) HashCode added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations) String added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations) UnmarshalJSON added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum string

The enum FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum.

func FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnumRef added in v1.60.0

func FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnumRef(s string) *FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum

FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnumRef returns a *FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum with the value of string s If the empty string is provided, nil is returned.

func (FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum) Validate added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring struct {
	Backends []FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum `json:"backends"`
	// contains filtered or unexported fields
}
var EmptyFeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring = &FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring{empty: true}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) Empty added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) HashCode added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) String added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) UnmarshalJSON added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum string

The enum FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum.

func FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnumRef added in v1.60.0

func FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnumRef(s string) *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum

FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnumRef returns a *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum with the value of string s If the empty string is provided, nil is returned.

func (FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum) Validate added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent struct {
	TemplateLibrary *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary   `json:"templateLibrary"`
	Bundles         map[string]FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles `json:"bundles"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) Empty added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) HashCode added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) String added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) UnmarshalJSON added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles struct {
	ExemptedNamespaces []string `json:"exemptedNamespaces"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles) Empty added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles) HashCode added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles) String added in v1.63.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles) UnmarshalJSON added in v1.63.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary struct {
	Installation *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum `json:"installation"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) Empty added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) HashCode added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) String added in v1.60.0

func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) UnmarshalJSON added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum added in v1.60.0

type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum string

The enum FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum.

func FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnumRef added in v1.60.0

func FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnumRef(s string) *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum

FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnumRef returns a *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum with the value of string s If the empty string is provided, nil is returned.

func (FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum) Validate added in v1.60.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL