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 alpha 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.
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.
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. 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.
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.
Index ¶
- Constants
- Variables
- func CompareFeatureMembershipConfigmanagementHierarchyControllerNewStyle(d, a any, fn dcl.FieldName) ([]*dcl.FieldDiff, error)
- func DCLFeatureMembershipSchema() *dcl.Schema
- func DCLFeatureSchema() *dcl.Schema
- func DCLFleetSchema() *dcl.Schema
- func DCLMembershipSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyFeature(ctx context.Context, rawDesired *Feature, opts ...dcl.ApplyOption) (*Feature, error)
- func (c *Client) ApplyFeatureMembership(ctx context.Context, rawDesired *FeatureMembership, opts ...dcl.ApplyOption) (*FeatureMembership, error)
- func (c *Client) ApplyFleet(ctx context.Context, rawDesired *Fleet, opts ...dcl.ApplyOption) (*Fleet, error)
- func (c *Client) ApplyMembership(ctx context.Context, rawDesired *Membership, opts ...dcl.ApplyOption) (*Membership, error)
- func (c *Client) DeleteAllFeature(ctx context.Context, project, location string, filter func(*Feature) bool) error
- func (c *Client) DeleteAllFeatureMembership(ctx context.Context, project, location, feature string, ...) error
- func (c *Client) DeleteAllMembership(ctx context.Context, project, location string, filter func(*Membership) bool) error
- func (c *Client) DeleteFeature(ctx context.Context, r *Feature) error
- func (c *Client) DeleteFeatureMembership(ctx context.Context, r *FeatureMembership) error
- func (c *Client) DeleteFleet(ctx context.Context, r *Fleet) error
- func (c *Client) DeleteMembership(ctx context.Context, r *Membership) error
- func (c *Client) GetFeature(ctx context.Context, r *Feature) (*Feature, error)
- func (c *Client) GetFeatureMembership(ctx context.Context, r *FeatureMembership) (*FeatureMembership, error)
- func (c *Client) GetFleet(ctx context.Context, r *Fleet) (*Fleet, error)
- func (c *Client) GetMembership(ctx context.Context, r *Membership) (*Membership, error)
- func (c *Client) ListFeature(ctx context.Context, project, location string) (*FeatureList, error)
- func (c *Client) ListFeatureMembership(ctx context.Context, project, location, feature string) (*FeatureMembershipList, error)
- func (c *Client) ListFeatureWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*FeatureList, error)
- func (c *Client) ListMembership(ctx context.Context, project, location string) (*MembershipList, error)
- func (c *Client) ListMembershipWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*MembershipList, error)
- type Feature
- type FeatureList
- type FeatureMembership
- type FeatureMembershipConfigmanagement
- type FeatureMembershipConfigmanagementBinauthz
- type FeatureMembershipConfigmanagementConfigSync
- type FeatureMembershipConfigmanagementConfigSyncGit
- func (r *FeatureMembershipConfigmanagementConfigSyncGit) Empty() bool
- func (r *FeatureMembershipConfigmanagementConfigSyncGit) HashCode() string
- func (r *FeatureMembershipConfigmanagementConfigSyncGit) String() string
- func (r *FeatureMembershipConfigmanagementConfigSyncGit) UnmarshalJSON(data []byte) error
- type FeatureMembershipConfigmanagementConfigSyncOci
- func (r *FeatureMembershipConfigmanagementConfigSyncOci) Empty() bool
- func (r *FeatureMembershipConfigmanagementConfigSyncOci) HashCode() string
- func (r *FeatureMembershipConfigmanagementConfigSyncOci) String() string
- func (r *FeatureMembershipConfigmanagementConfigSyncOci) UnmarshalJSON(data []byte) error
- type FeatureMembershipConfigmanagementHierarchyController
- func (r *FeatureMembershipConfigmanagementHierarchyController) Empty() bool
- func (r *FeatureMembershipConfigmanagementHierarchyController) HashCode() string
- func (r *FeatureMembershipConfigmanagementHierarchyController) String() string
- func (r *FeatureMembershipConfigmanagementHierarchyController) UnmarshalJSON(data []byte) error
- type FeatureMembershipConfigmanagementPolicyController
- func (r *FeatureMembershipConfigmanagementPolicyController) Empty() bool
- func (r *FeatureMembershipConfigmanagementPolicyController) HashCode() string
- func (r *FeatureMembershipConfigmanagementPolicyController) String() string
- func (r *FeatureMembershipConfigmanagementPolicyController) UnmarshalJSON(data []byte) error
- type FeatureMembershipConfigmanagementPolicyControllerMonitoring
- func (r *FeatureMembershipConfigmanagementPolicyControllerMonitoring) Empty() bool
- func (r *FeatureMembershipConfigmanagementPolicyControllerMonitoring) HashCode() string
- func (r *FeatureMembershipConfigmanagementPolicyControllerMonitoring) String() string
- func (r *FeatureMembershipConfigmanagementPolicyControllerMonitoring) UnmarshalJSON(data []byte) error
- type FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum
- type FeatureMembershipList
- type FeatureMembershipMesh
- type FeatureMembershipMeshControlPlaneEnum
- type FeatureMembershipMeshManagementEnum
- type FeatureMembershipPolicycontroller
- type FeatureMembershipPolicycontrollerPolicyControllerHubConfig
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfig) Empty() bool
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfig) HashCode() string
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfig) String() string
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfig) UnmarshalJSON(data []byte) error
- type FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum
- type FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) Empty() bool
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) HashCode() string
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) String() string
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) UnmarshalJSON(data []byte) error
- type FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringBackendsEnum
- type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) Empty() bool
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) HashCode() string
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) String() string
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) UnmarshalJSON(data []byte) error
- type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) Empty() bool
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) HashCode() string
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) String() string
- func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) UnmarshalJSON(data []byte) error
- type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum
- type FeatureResourceState
- type FeatureResourceStateStateEnum
- type FeatureSpec
- type FeatureSpecCloudauditlogging
- type FeatureSpecFleetobservability
- type FeatureSpecFleetobservabilityLoggingConfig
- type FeatureSpecFleetobservabilityLoggingConfigDefaultConfig
- func (r *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) Empty() bool
- func (r *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) HashCode() string
- func (r *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) String() string
- func (r *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) UnmarshalJSON(data []byte) error
- type FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum
- type FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig
- func (r *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) Empty() bool
- func (r *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) HashCode() string
- func (r *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) String() string
- func (r *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) UnmarshalJSON(data []byte) error
- type FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum
- type FeatureSpecMulticlusteringress
- type FeatureState
- type FeatureStateServicemesh
- type FeatureStateServicemeshAnalysisMessages
- type FeatureStateServicemeshAnalysisMessagesMessageBase
- func (r *FeatureStateServicemeshAnalysisMessagesMessageBase) Empty() bool
- func (r *FeatureStateServicemeshAnalysisMessagesMessageBase) HashCode() string
- func (r *FeatureStateServicemeshAnalysisMessagesMessageBase) String() string
- func (r *FeatureStateServicemeshAnalysisMessagesMessageBase) UnmarshalJSON(data []byte) error
- type FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum
- type FeatureStateServicemeshAnalysisMessagesMessageBaseType
- func (r *FeatureStateServicemeshAnalysisMessagesMessageBaseType) Empty() bool
- func (r *FeatureStateServicemeshAnalysisMessagesMessageBaseType) HashCode() string
- func (r *FeatureStateServicemeshAnalysisMessagesMessageBaseType) String() string
- func (r *FeatureStateServicemeshAnalysisMessagesMessageBaseType) UnmarshalJSON(data []byte) error
- type FeatureStateState
- type FeatureStateStateCodeEnum
- type Fleet
- type FleetList
- type Membership
- func (r *Membership) Describe() dcl.ServiceTypeVersion
- func (r *Membership) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *Membership) IAMPolicyVersion() int
- func (r *Membership) ID() (string, error)
- func (r *Membership) SetPolicyURL(userBasePath string) string
- func (r *Membership) SetPolicyVerb() string
- func (r *Membership) String() string
- type MembershipAuthority
- type MembershipEndpoint
- type MembershipEndpointGkeCluster
- type MembershipEndpointKubernetesMetadata
- type MembershipEndpointKubernetesResource
- type MembershipEndpointKubernetesResourceConnectResources
- func (r *MembershipEndpointKubernetesResourceConnectResources) Empty() bool
- func (r *MembershipEndpointKubernetesResourceConnectResources) HashCode() string
- func (r *MembershipEndpointKubernetesResourceConnectResources) String() string
- func (r *MembershipEndpointKubernetesResourceConnectResources) UnmarshalJSON(data []byte) error
- type MembershipEndpointKubernetesResourceMembershipResources
- func (r *MembershipEndpointKubernetesResourceMembershipResources) Empty() bool
- func (r *MembershipEndpointKubernetesResourceMembershipResources) HashCode() string
- func (r *MembershipEndpointKubernetesResourceMembershipResources) String() string
- func (r *MembershipEndpointKubernetesResourceMembershipResources) UnmarshalJSON(data []byte) error
- type MembershipEndpointKubernetesResourceResourceOptions
- func (r *MembershipEndpointKubernetesResourceResourceOptions) Empty() bool
- func (r *MembershipEndpointKubernetesResourceResourceOptions) HashCode() string
- func (r *MembershipEndpointKubernetesResourceResourceOptions) String() string
- func (r *MembershipEndpointKubernetesResourceResourceOptions) UnmarshalJSON(data []byte) error
- type MembershipInfrastructureTypeEnum
- type MembershipList
- type MembershipState
- type MembershipStateCodeEnum
Constants ¶
const FeatureMaxPage = -1
const FeatureMembershipMaxPage = -1
const FleetMaxPage = -1
const MembershipMaxPage = -1
Variables ¶
var YAML_feature = []byte("info:\n title: GkeHub/Feature\n description: The GkeHub Feature resource\n x-dcl-struct-name: Feature\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 Feature\n parameters:\n - name: feature\n required: true\n description: A full instance of a Feature\n apply:\n description: The function used to apply information about a Feature\n parameters:\n - name: feature\n required: true\n description: A full instance of a Feature\n delete:\n description: The function used to delete a Feature\n parameters:\n - name: feature\n required: true\n description: A full instance of a Feature\n deleteAll:\n description: The function used to delete all Feature\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 list:\n description: The function used to list information about many Feature\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Feature:\n title: Feature\n x-dcl-id: projects/{{project}}/locations/{{location}}/features/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\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 properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Feature resource was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Feature resource was deleted.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: GCP labels for this Feature.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The full, unique name of this Feature resource\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n resourceState:\n type: object\n x-dcl-go-name: ResourceState\n x-dcl-go-type: FeatureResourceState\n readOnly: true\n description: State of the Feature resource itself.\n x-kubernetes-immutable: true\n properties:\n hasResources:\n type: boolean\n x-dcl-go-name: HasResources\n readOnly: true\n description: Whether this Feature has outstanding resources that need\n to be cleaned up before it can be disabled.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: FeatureResourceStateStateEnum\n readOnly: true\n description: 'The current state of the Feature resource in the Hub API.\n Possible values: STATE_UNSPECIFIED, ENABLING, ACTIVE, DISABLING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ENABLING\n - ACTIVE\n - DISABLING\n - UPDATING\n - SERVICE_UPDATING\n spec:\n type: object\n x-dcl-go-name: Spec\n x-dcl-go-type: FeatureSpec\n description: Optional. Hub-wide Feature configuration. If this Feature does\n not support any Hub-wide configuration, this field may be unused.\n properties:\n cloudauditlogging:\n type: object\n x-dcl-go-name: Cloudauditlogging\n x-dcl-go-type: FeatureSpecCloudauditlogging\n description: Cloud Audit Logging-specific spec.\n properties:\n allowlistedServiceAccounts:\n type: array\n x-dcl-go-name: AllowlistedServiceAccounts\n description: Service account that should be allowlisted to send\n the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com.\n These accounts must already exist, but do not need to have any\n permissions granted to them. The customer's entitlements will\n be checked prior to allowlisting (i.e. the customer must be an\n Anthos customer.)\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n fleetobservability:\n type: object\n x-dcl-go-name: Fleetobservability\n x-dcl-go-type: FeatureSpecFleetobservability\n description: Fleet Observability spec.\n properties:\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: FeatureSpecFleetobservabilityLoggingConfig\n description: Fleet Observability Logging-specific spec.\n properties:\n defaultConfig:\n type: object\n x-dcl-go-name: DefaultConfig\n x-dcl-go-type: FeatureSpecFleetobservabilityLoggingConfigDefaultConfig\n description: Specified if applying the default routing config\n to logs not specified in other configs.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum\n description: 'The logs routing mode Possible values: MODE_UNSPECIFIED,\n COPY, MOVE'\n enum:\n - MODE_UNSPECIFIED\n - COPY\n - MOVE\n fleetScopeLogsConfig:\n type: object\n x-dcl-go-name: FleetScopeLogsConfig\n x-dcl-go-type: FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig\n description: Specified if applying the routing config to all\n logs for all fleet scopes.\n properties:\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum\n description: 'The logs routing mode Possible values: MODE_UNSPECIFIED,\n COPY, MOVE'\n enum:\n - MODE_UNSPECIFIED\n - COPY\n - MOVE\n multiclusteringress:\n type: object\n x-dcl-go-name: Multiclusteringress\n x-dcl-go-type: FeatureSpecMulticlusteringress\n description: Multicluster Ingress-specific spec.\n required:\n - configMembership\n properties:\n configMembership:\n type: string\n x-dcl-go-name: ConfigMembership\n description: 'Fully-qualified Membership name which hosts the MultiClusterIngress\n CRD. Example: `projects/foo-proj/locations/global/memberships/bar`'\n x-dcl-references:\n - resource: Gkehub/Membership\n field: name\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureState\n readOnly: true\n description: Output only. The Hub-wide Feature state\n x-kubernetes-immutable: true\n properties:\n servicemesh:\n type: object\n x-dcl-go-name: Servicemesh\n x-dcl-go-type: FeatureStateServicemesh\n readOnly: true\n description: Service Mesh-specific state.\n x-kubernetes-immutable: true\n properties:\n analysisMessages:\n type: array\n x-dcl-go-name: AnalysisMessages\n readOnly: true\n description: Output only. Results of running Service Mesh analyzers.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessages\n properties:\n args:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Args\n readOnly: true\n description: A UI can combine these args with a template (based\n on messageBase.type) to produce an internationalized message.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A human readable description of what the error\n means. It is suitable for non-internationalize display purposes.\n x-kubernetes-immutable: true\n messageBase:\n type: object\n x-dcl-go-name: MessageBase\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBase\n readOnly: true\n description: Details common to all types of Istio and ServiceMesh\n analysis messages.\n x-kubernetes-immutable: true\n properties:\n documentationUrl:\n type: string\n x-dcl-go-name: DocumentationUrl\n readOnly: true\n description: A url pointing to the Service Mesh or Istio\n documentation for this specific error type.\n x-kubernetes-immutable: true\n level:\n type: string\n x-dcl-go-name: Level\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum\n readOnly: true\n description: 'Represents how severe a message is. Possible\n values: LEVEL_UNSPECIFIED, ERROR, WARNING, INFO'\n x-kubernetes-immutable: true\n enum:\n - LEVEL_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n type:\n type: object\n x-dcl-go-name: Type\n x-dcl-go-type: FeatureStateServicemeshAnalysisMessagesMessageBaseType\n readOnly: true\n description: Represents the specific type of a message.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n readOnly: true\n description: A 7 character code matching ^IST[0-9]{4}$\n or ^ASM[0-9]{4}$, intended to uniquely identify\n the message type. (e.g. \"IST0001\" is mapped to the\n \"InternalError\" message type.)\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n readOnly: true\n description: A human-readable name for the message\n type. e.g. \"InternalError\", \"PodMissingProxy\". This\n should be the same for all messages of the same\n type. (This corresponds to the name field in open-source\n Istio.)\n x-kubernetes-immutable: true\n resourcePaths:\n type: array\n x-dcl-go-name: ResourcePaths\n readOnly: true\n description: 'A list of strings specifying the resource identifiers\n that were the cause of message generation. A \"path\" here\n may be: * MEMBERSHIP_ID if the cause is a specific member\n cluster * MEMBERSHIP_ID/(NAMESPACE/)?RESOURCETYPE/NAME if\n the cause is a resource in a cluster'\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: FeatureStateState\n readOnly: true\n description: Output only. The \"running state\" of the Feature in this\n Hub.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: FeatureStateStateCodeEnum\n readOnly: true\n description: 'The high-level, machine-readable status of this Feature.\n Possible values: CODE_UNSPECIFIED, OK, WARNING, ERROR'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - OK\n - WARNING\n - ERROR\n description:\n type: string\n x-dcl-go-name: Description\n readOnly: true\n description: A human-readable description of the current status.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: 'The time this status and any related Feature-specific\n details were updated. A timestamp in RFC3339 UTC \"Zulu\" format,\n with nanosecond resolution and up to nine fractional digits. Examples:\n \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\"'\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Feature resource was last updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/feature.yaml
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 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 location:\n type: string\n x-dcl-go-name: Location\n description: The location of the feature\n x-kubernetes-immutable: 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 membershipLocation:\n type: string\n x-dcl-go-name: MembershipLocation\n description: The location of the membership\n x-kubernetes-immutable: 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 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 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")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/feature_membership.yaml
var YAML_fleet = []byte("info:\n title: GkeHub/Fleet\n description: The GkeHub Fleet resource\n x-dcl-struct-name: Fleet\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Fleet\n parameters:\n - name: fleet\n required: true\n description: A full instance of a Fleet\n apply:\n description: The function used to apply information about a Fleet\n parameters:\n - name: fleet\n required: true\n description: A full instance of a Fleet\n delete:\n description: The function used to delete a Fleet\n parameters:\n - name: fleet\n required: true\n description: A full instance of a Fleet\ncomponents:\n schemas:\n Fleet:\n title: Fleet\n x-dcl-id: projects/{{project}}/locations/{{location}}/fleets/{{name}}\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 properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Fleet was created.\n x-kubernetes-immutable: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: 'Optional. A user-assigned display name of the Fleet. When\n present, it must be between 4 to 30 characters. Allowed characters are:\n lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,\n space, and exclamation point. Example: `Production Fleet`'\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n managedNamespaces:\n type: boolean\n x-dcl-go-name: ManagedNamespaces\n description: Optional. If true, namespaces must be explicitly declared in\n a `FleetNamespace` object in order to use Fleet Features.\n name:\n type: string\n x-dcl-go-name: Name\n description: Output only. The full, unique resource name of this fleet in\n the format of `projects/{project}/locations/{location}/fleets/{fleet}`.\n Each GCP project can have at most one fleet resource, named \"default\".\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Google-generated UUID for this resource. This\n is unique across all Fleet resources. If a Fleet resource is deleted and\n another resource with the same name is created, it gets a different uid.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Fleet was last updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/fleet.yaml
var YAML_membership = []byte("info:\n title: GkeHub/Membership\n description: The GkeHub Membership resource\n x-dcl-struct-name: Membership\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Membership\n parameters:\n - name: membership\n required: true\n description: A full instance of a Membership\n apply:\n description: The function used to apply information about a Membership\n parameters:\n - name: membership\n required: true\n description: A full instance of a Membership\n delete:\n description: The function used to delete a Membership\n parameters:\n - name: membership\n required: true\n description: A full instance of a Membership\n deleteAll:\n description: The function used to delete all Membership\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 list:\n description: The function used to list information about many Membership\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Membership:\n title: Membership\n x-dcl-id: projects/{{project}}/locations/{{location}}/memberships/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\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 - name\n - project\n - location\n properties:\n authority:\n type: object\n x-dcl-go-name: Authority\n x-dcl-go-type: MembershipAuthority\n description: 'Optional. How to identify workloads from this Membership.\n See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity'\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n readOnly: true\n description: Output only. An identity provider that reflects the `issuer`\n in the workload identity pool.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: Optional. A JSON Web Token (JWT) issuer URI. `issuer` must\n start with `https://` and be a valid URL with length <2000 characters.\n If set, then Google will allow valid OIDC tokens from this issuer\n to authenticate within the workload_identity_pool. OIDC discovery\n will be performed on this URI to validate tokens from the issuer.\n Clearing `issuer` disables Workload Identity. `issuer` cannot be directly\n modified; it must be cleared (and Workload Identity disabled) before\n using a new issuer (and re-enabling Workload Identity).\n workloadIdentityPool:\n type: string\n x-dcl-go-name: WorkloadIdentityPool\n readOnly: true\n description: 'Output only. The name of the workload identity pool in\n which `issuer` will be recognized. There is a single Workload Identity\n Pool per Hub that is shared between all Memberships that belong to\n that Hub. For a Hub hosted in: {PROJECT_ID}, the workload pool format\n is `{PROJECT_ID}.hub.id.goog`, although this is subject to change\n in newer versions of this API.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. When the Membership was created.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. When the Membership was deleted.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: 'Description of this membership, limited to 63 characters.\n Must match the regex: `*` This field is present for legacy purposes.'\n endpoint:\n type: object\n x-dcl-go-name: Endpoint\n x-dcl-go-type: MembershipEndpoint\n description: Optional. Endpoint information to reach this member.\n properties:\n gkeCluster:\n type: object\n x-dcl-go-name: GkeCluster\n x-dcl-go-type: MembershipEndpointGkeCluster\n description: Optional. GKE-specific information. Only present if this\n Membership is a GKE cluster.\n properties:\n resourceLink:\n type: string\n x-dcl-go-name: ResourceLink\n description: 'Immutable. Self-link of the GCP resource for the GKE\n cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster\n Zonal clusters are also supported.'\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n kubernetesMetadata:\n type: object\n x-dcl-go-name: KubernetesMetadata\n x-dcl-go-type: MembershipEndpointKubernetesMetadata\n readOnly: true\n description: Output only. Useful Kubernetes-specific metadata.\n properties:\n kubernetesApiServerVersion:\n type: string\n x-dcl-go-name: KubernetesApiServerVersion\n readOnly: true\n description: Output only. Kubernetes API server version string as\n reported by `/version`.\n memoryMb:\n type: integer\n format: int64\n x-dcl-go-name: MemoryMb\n readOnly: true\n description: Output only. The total memory capacity as reported\n by the sum of all Kubernetes nodes resources, defined in MB.\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n readOnly: true\n description: Output only. Node count as reported by Kubernetes nodes\n resources.\n nodeProviderId:\n type: string\n x-dcl-go-name: NodeProviderId\n readOnly: true\n description: Output only. Node providerID as reported by the first\n node in the list of nodes on the Kubernetes endpoint. On Kubernetes\n platforms that support zero-node clusters (like GKE-on-GCP), the\n node_count will be zero and the node_provider_id will be empty.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which these details were last\n updated. This update_time is different from the Membership-level\n update_time since EndpointDetails are updated internally for API\n consumers.\n vcpuCount:\n type: integer\n format: int64\n x-dcl-go-name: VcpuCount\n readOnly: true\n description: Output only. vCPU count as reported by Kubernetes nodes\n resources.\n kubernetesResource:\n type: object\n x-dcl-go-name: KubernetesResource\n x-dcl-go-type: MembershipEndpointKubernetesResource\n description: 'Optional. The in-cluster Kubernetes Resources that should\n be applied for a correctly registered cluster, in the steady state.\n These resources: * Ensure that the cluster is exclusively registered\n to one and only one Hub Membership. * Propagate Workload Pool Information\n available in the Membership Authority field. * Ensure proper initial\n configuration of default Hub Features.'\n properties:\n connectResources:\n type: array\n x-dcl-go-name: ConnectResources\n readOnly: true\n description: Output only. The Kubernetes resources for installing\n the GKE Connect agent This field is only populated in the Membership\n returned from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceConnectResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n membershipCrManifest:\n type: string\n x-dcl-go-name: MembershipCrManifest\n description: Input only. The YAML representation of the Membership\n CR. This field is ignored for GKE clusters where Hub can read\n the CR directly. Callers should provide the CR that is currently\n present in the cluster during CreateMembership or UpdateMembership,\n or leave this field empty if none exists. The CR manifest is used\n to validate the cluster has not been registered with another Membership.\n x-dcl-mutable-unreadable: true\n membershipResources:\n type: array\n x-dcl-go-name: MembershipResources\n readOnly: true\n description: Output only. Additional Kubernetes resources that need\n to be applied to the cluster after Membership creation, and after\n every update. This field is only populated in the Membership returned\n from a successful long-running operation from CreateMembership\n or UpdateMembership. It is not populated during normal GetMembership\n or ListMemberships requests. To get the resource manifest after\n the initial registration, the caller should make a UpdateMembership\n call with an empty field mask.\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: MembershipEndpointKubernetesResourceMembershipResources\n properties:\n clusterScoped:\n type: boolean\n x-dcl-go-name: ClusterScoped\n description: Whether the resource provided in the manifest\n is `cluster_scoped`. If unset, the manifest is assumed to\n be namespace scoped. This field is used for REST mapping\n when applying the resource in a cluster.\n manifest:\n type: string\n x-dcl-go-name: Manifest\n description: YAML manifest of the resource.\n resourceOptions:\n type: object\n x-dcl-go-name: ResourceOptions\n x-dcl-go-type: MembershipEndpointKubernetesResourceResourceOptions\n description: Optional. Options for Kubernetes resource generation.\n properties:\n connectVersion:\n type: string\n x-dcl-go-name: ConnectVersion\n description: Optional. The Connect agent version to use for\n connect_resources. Defaults to the latest GKE Connect version.\n The version must be a currently supported version, obsolete\n versions will be rejected.\n v1beta1Crd:\n type: boolean\n x-dcl-go-name: V1Beta1Crd\n description: Optional. Use `apiextensions/v1beta1` instead of\n `apiextensions/v1` for CustomResourceDefinition resources.\n This option should be set for clusters with Kubernetes apiserver\n versions <1.16.\n externalId:\n type: string\n x-dcl-go-name: ExternalId\n description: 'Optional. An externally-generated and managed ID for this\n Membership. This ID may be modified after creation, but this is not recommended.\n The ID must match the regex: `*` If this Membership represents a Kubernetes\n cluster, this value should be set to the UID of the `kube-system` namespace\n object.'\n x-dcl-server-default: true\n infrastructureType:\n type: string\n x-dcl-go-name: InfrastructureType\n x-dcl-go-type: MembershipInfrastructureTypeEnum\n description: 'Optional. The infrastructure type this Membership is running\n on. Possible values: INFRASTRUCTURE_TYPE_UNSPECIFIED, ON_PREM, MULTI_CLOUD'\n x-dcl-server-default: true\n enum:\n - INFRASTRUCTURE_TYPE_UNSPECIFIED\n - ON_PREM\n - MULTI_CLOUD\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. GCP labels for this membership.\n lastConnectionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastConnectionTime\n readOnly: true\n description: Output only. For clusters using Connect, the timestamp of the\n most recent connection established with Google Cloud. This time is updated\n every several minutes, not continuously. For clusters that do not use\n GKE Connect, or that have never connected successfully, this field will\n be unset.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. The full, unique name of this Membership resource\n in the format `projects/*/locations/*/memberships/{membership_id}`, set\n during creation. `membership_id` must be a valid RFC 1123 compliant DNS\n label: 1. At most 63 characters in length 2. It must consist of lower\n case alphanumeric characters or `-` 3. It must start and end with an alphanumeric\n character Which can be expressed as the regex: `)?`, with a maximum length\n of 63 characters.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: object\n x-dcl-go-name: State\n x-dcl-go-type: MembershipState\n readOnly: true\n description: Output only. State of the Membership resource.\n x-kubernetes-immutable: true\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n x-dcl-go-type: MembershipStateCodeEnum\n readOnly: true\n description: 'Output only. The current state of the Membership resource.\n Possible values: CODE_UNSPECIFIED, CREATING, READY, DELETING, UPDATING,\n SERVICE_UPDATING'\n x-kubernetes-immutable: true\n enum:\n - CODE_UNSPECIFIED\n - CREATING\n - READY\n - DELETING\n - UPDATING\n - SERVICE_UPDATING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. Google-generated UUID for this resource. This\n is unique across all Membership resources. If a Membership resource is\n deleted and another resource with the same name is created, it gets a\n different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. When the Membership was last updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/membership.yaml
Functions ¶
func CompareFeatureMembershipConfigmanagementHierarchyControllerNewStyle ¶
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.10.3
func DCLFeatureSchema ¶ added in v1.10.3
func DCLFleetSchema ¶ added in v1.10.3
func DCLMembershipSchema ¶ added in v1.10.3
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyFeature ¶
func (*Client) ApplyFeatureMembership ¶
func (c *Client) ApplyFeatureMembership(ctx context.Context, rawDesired *FeatureMembership, opts ...dcl.ApplyOption) (*FeatureMembership, error)
func (*Client) ApplyFleet ¶
func (*Client) ApplyMembership ¶
func (c *Client) ApplyMembership(ctx context.Context, rawDesired *Membership, opts ...dcl.ApplyOption) (*Membership, error)
func (*Client) DeleteAllFeature ¶
func (c *Client) DeleteAllFeature(ctx context.Context, project, location string, filter func(*Feature) bool) error
DeleteAllFeature deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllFeatureMembership ¶
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) DeleteAllMembership ¶
func (c *Client) DeleteAllMembership(ctx context.Context, project, location string, filter func(*Membership) bool) error
DeleteAllMembership deletes all resources that the filter functions returns true on.
func (*Client) DeleteFeature ¶
func (*Client) DeleteFeatureMembership ¶
func (c *Client) DeleteFeatureMembership(ctx context.Context, r *FeatureMembership) error
func (*Client) DeleteMembership ¶
func (c *Client) DeleteMembership(ctx context.Context, r *Membership) error
func (*Client) GetFeature ¶
func (*Client) GetFeatureMembership ¶
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) GetMembership ¶
func (c *Client) GetMembership(ctx context.Context, r *Membership) (*Membership, error)
func (*Client) ListFeature ¶
func (*Client) ListFeatureMembership ¶
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.
func (*Client) ListFeatureWithMaxResults ¶
func (*Client) ListMembership ¶
func (*Client) ListMembershipWithMaxResults ¶
type Feature ¶
type Feature struct { Name *string `json:"name"` Labels map[string]string `json:"labels"` ResourceState *FeatureResourceState `json:"resourceState"` Spec *FeatureSpec `json:"spec"` State *FeatureState `json:"state"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` DeleteTime *string `json:"deleteTime"` Project *string `json:"project"` Location *string `json:"location"` }
func (*Feature) Describe ¶
func (r *Feature) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type FeatureList ¶
type FeatureList struct { Items []*Feature // contains filtered or unexported fields }
func (*FeatureList) HasNext ¶
func (l *FeatureList) HasNext() bool
type FeatureMembership ¶
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 ¶
func (r *FeatureMembership) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*FeatureMembership) ID ¶
func (r *FeatureMembership) ID() (string, error)
func (*FeatureMembership) String ¶
func (r *FeatureMembership) String() string
type FeatureMembershipConfigmanagement ¶
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 ¶
func (r *FeatureMembershipConfigmanagement) Empty() bool
func (*FeatureMembershipConfigmanagement) HashCode ¶
func (r *FeatureMembershipConfigmanagement) HashCode() string
func (*FeatureMembershipConfigmanagement) String ¶
func (r *FeatureMembershipConfigmanagement) String() string
func (*FeatureMembershipConfigmanagement) UnmarshalJSON ¶
func (r *FeatureMembershipConfigmanagement) UnmarshalJSON(data []byte) error
type FeatureMembershipConfigmanagementBinauthz ¶
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 ¶
func (r *FeatureMembershipConfigmanagementBinauthz) Empty() bool
func (*FeatureMembershipConfigmanagementBinauthz) HashCode ¶
func (r *FeatureMembershipConfigmanagementBinauthz) HashCode() string
func (*FeatureMembershipConfigmanagementBinauthz) String ¶
func (r *FeatureMembershipConfigmanagementBinauthz) String() string
func (*FeatureMembershipConfigmanagementBinauthz) UnmarshalJSON ¶
func (r *FeatureMembershipConfigmanagementBinauthz) UnmarshalJSON(data []byte) error
type FeatureMembershipConfigmanagementConfigSync ¶
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 ¶
func (r *FeatureMembershipConfigmanagementConfigSync) Empty() bool
func (*FeatureMembershipConfigmanagementConfigSync) HashCode ¶
func (r *FeatureMembershipConfigmanagementConfigSync) HashCode() string
func (*FeatureMembershipConfigmanagementConfigSync) String ¶
func (r *FeatureMembershipConfigmanagementConfigSync) String() string
func (*FeatureMembershipConfigmanagementConfigSync) UnmarshalJSON ¶
func (r *FeatureMembershipConfigmanagementConfigSync) UnmarshalJSON(data []byte) error
type FeatureMembershipConfigmanagementConfigSyncGit ¶
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 ¶
func (r *FeatureMembershipConfigmanagementConfigSyncGit) Empty() bool
func (*FeatureMembershipConfigmanagementConfigSyncGit) HashCode ¶
func (r *FeatureMembershipConfigmanagementConfigSyncGit) HashCode() string
func (*FeatureMembershipConfigmanagementConfigSyncGit) String ¶
func (r *FeatureMembershipConfigmanagementConfigSyncGit) String() string
func (*FeatureMembershipConfigmanagementConfigSyncGit) UnmarshalJSON ¶
func (r *FeatureMembershipConfigmanagementConfigSyncGit) UnmarshalJSON(data []byte) error
type FeatureMembershipConfigmanagementConfigSyncOci ¶ added in v1.28.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.28.0
func (r *FeatureMembershipConfigmanagementConfigSyncOci) Empty() bool
func (*FeatureMembershipConfigmanagementConfigSyncOci) HashCode ¶ added in v1.28.0
func (r *FeatureMembershipConfigmanagementConfigSyncOci) HashCode() string
func (*FeatureMembershipConfigmanagementConfigSyncOci) String ¶ added in v1.28.0
func (r *FeatureMembershipConfigmanagementConfigSyncOci) String() string
func (*FeatureMembershipConfigmanagementConfigSyncOci) UnmarshalJSON ¶ added in v1.28.0
func (r *FeatureMembershipConfigmanagementConfigSyncOci) UnmarshalJSON(data []byte) error
type FeatureMembershipConfigmanagementHierarchyController ¶
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 ¶
func (r *FeatureMembershipConfigmanagementHierarchyController) Empty() bool
func (*FeatureMembershipConfigmanagementHierarchyController) HashCode ¶
func (r *FeatureMembershipConfigmanagementHierarchyController) HashCode() string
func (*FeatureMembershipConfigmanagementHierarchyController) String ¶
func (r *FeatureMembershipConfigmanagementHierarchyController) String() string
func (*FeatureMembershipConfigmanagementHierarchyController) UnmarshalJSON ¶
func (r *FeatureMembershipConfigmanagementHierarchyController) UnmarshalJSON(data []byte) error
type FeatureMembershipConfigmanagementPolicyController ¶
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 ¶
func (r *FeatureMembershipConfigmanagementPolicyController) Empty() bool
func (*FeatureMembershipConfigmanagementPolicyController) HashCode ¶
func (r *FeatureMembershipConfigmanagementPolicyController) HashCode() string
func (*FeatureMembershipConfigmanagementPolicyController) String ¶
func (r *FeatureMembershipConfigmanagementPolicyController) String() string
func (*FeatureMembershipConfigmanagementPolicyController) UnmarshalJSON ¶
func (r *FeatureMembershipConfigmanagementPolicyController) UnmarshalJSON(data []byte) error
type FeatureMembershipConfigmanagementPolicyControllerMonitoring ¶ added in v1.14.2
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.14.2
func (r *FeatureMembershipConfigmanagementPolicyControllerMonitoring) Empty() bool
func (*FeatureMembershipConfigmanagementPolicyControllerMonitoring) HashCode ¶ added in v1.14.2
func (r *FeatureMembershipConfigmanagementPolicyControllerMonitoring) HashCode() string
func (*FeatureMembershipConfigmanagementPolicyControllerMonitoring) String ¶ added in v1.14.2
func (r *FeatureMembershipConfigmanagementPolicyControllerMonitoring) String() string
func (*FeatureMembershipConfigmanagementPolicyControllerMonitoring) UnmarshalJSON ¶ added in v1.14.2
func (r *FeatureMembershipConfigmanagementPolicyControllerMonitoring) UnmarshalJSON(data []byte) error
type FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum ¶ added in v1.14.2
type FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum string
The enum FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum.
func FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnumRef ¶ added in v1.14.2
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.14.2
func (v FeatureMembershipConfigmanagementPolicyControllerMonitoringBackendsEnum) Validate() error
type FeatureMembershipList ¶
type FeatureMembershipList struct { Items []*FeatureMembership // contains filtered or unexported fields }
func (*FeatureMembershipList) HasNext ¶
func (l *FeatureMembershipList) HasNext() bool
HasNext always returns false because a feature membership list never has a next page.
type FeatureMembershipMesh ¶ added in v1.24.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.24.0
func (r *FeatureMembershipMesh) Empty() bool
func (*FeatureMembershipMesh) HashCode ¶ added in v1.24.0
func (r *FeatureMembershipMesh) HashCode() string
func (*FeatureMembershipMesh) String ¶ added in v1.24.0
func (r *FeatureMembershipMesh) String() string
func (*FeatureMembershipMesh) UnmarshalJSON ¶ added in v1.24.0
func (r *FeatureMembershipMesh) UnmarshalJSON(data []byte) error
type FeatureMembershipMeshControlPlaneEnum ¶ added in v1.27.1
type FeatureMembershipMeshControlPlaneEnum string
The enum FeatureMembershipMeshControlPlaneEnum.
func FeatureMembershipMeshControlPlaneEnumRef ¶ added in v1.27.1
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.27.1
func (v FeatureMembershipMeshControlPlaneEnum) Validate() error
type FeatureMembershipMeshManagementEnum ¶ added in v1.24.0
type FeatureMembershipMeshManagementEnum string
The enum FeatureMembershipMeshManagementEnum.
func FeatureMembershipMeshManagementEnumRef ¶ added in v1.24.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.24.0
func (v FeatureMembershipMeshManagementEnum) Validate() error
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 (r *FeatureMembershipPolicycontroller) Empty() bool
func (*FeatureMembershipPolicycontroller) HashCode ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontroller) HashCode() string
func (*FeatureMembershipPolicycontroller) String ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontroller) String() string
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"` // 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 (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfig) Empty() bool
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfig) HashCode ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfig) HashCode() string
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfig) String ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfig) String() string
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfig) UnmarshalJSON ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfig) UnmarshalJSON(data []byte) error
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
func (v FeatureMembershipPolicycontrollerPolicyControllerHubConfigInstallSpecEnum) Validate() error
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 (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) Empty() bool
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) HashCode ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) HashCode() string
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) String ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) String() string
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) UnmarshalJSON ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring) UnmarshalJSON(data []byte) error
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.
type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent ¶ added in v1.60.0
type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent struct { TemplateLibrary *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary `json:"templateLibrary"` // contains filtered or unexported fields }
var EmptyFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent = &FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent{empty: true}
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 (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) Empty() bool
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) HashCode ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) HashCode() string
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) String ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) String() string
func (*FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) UnmarshalJSON ¶ added in v1.60.0
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent) UnmarshalJSON(data []byte) error
type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary ¶ added in v1.60.0
type FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary struct { Installation *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum `json:"installation"` // contains filtered or unexported fields }
var EmptyFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary = &FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary{empty: true}
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
func (r *FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary) UnmarshalJSON(data []byte) error
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.
type FeatureResourceState ¶
type FeatureResourceState struct { State *FeatureResourceStateStateEnum `json:"state"` HasResources *bool `json:"hasResources"` // contains filtered or unexported fields }
var EmptyFeatureResourceState *FeatureResourceState = &FeatureResourceState{empty: true}
This object is used to assert a desired state where this FeatureResourceState is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureResourceState) Empty ¶
func (r *FeatureResourceState) Empty() bool
func (*FeatureResourceState) HashCode ¶
func (r *FeatureResourceState) HashCode() string
func (*FeatureResourceState) String ¶
func (r *FeatureResourceState) String() string
func (*FeatureResourceState) UnmarshalJSON ¶
func (r *FeatureResourceState) UnmarshalJSON(data []byte) error
type FeatureResourceStateStateEnum ¶
type FeatureResourceStateStateEnum string
The enum FeatureResourceStateStateEnum.
func FeatureResourceStateStateEnumRef ¶
func FeatureResourceStateStateEnumRef(s string) *FeatureResourceStateStateEnum
FeatureResourceStateStateEnumRef returns a *FeatureResourceStateStateEnum with the value of string s If the empty string is provided, nil is returned.
func (FeatureResourceStateStateEnum) Validate ¶
func (v FeatureResourceStateStateEnum) Validate() error
type FeatureSpec ¶
type FeatureSpec struct { Multiclusteringress *FeatureSpecMulticlusteringress `json:"multiclusteringress"` Cloudauditlogging *FeatureSpecCloudauditlogging `json:"cloudauditlogging"` Fleetobservability *FeatureSpecFleetobservability `json:"fleetobservability"` // contains filtered or unexported fields }
var EmptyFeatureSpec *FeatureSpec = &FeatureSpec{empty: true}
This object is used to assert a desired state where this FeatureSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureSpec) Empty ¶
func (r *FeatureSpec) Empty() bool
func (*FeatureSpec) HashCode ¶
func (r *FeatureSpec) HashCode() string
func (*FeatureSpec) String ¶
func (r *FeatureSpec) String() string
func (*FeatureSpec) UnmarshalJSON ¶
func (r *FeatureSpec) UnmarshalJSON(data []byte) error
type FeatureSpecCloudauditlogging ¶
type FeatureSpecCloudauditlogging struct { AllowlistedServiceAccounts []string `json:"allowlistedServiceAccounts"` // contains filtered or unexported fields }
var EmptyFeatureSpecCloudauditlogging *FeatureSpecCloudauditlogging = &FeatureSpecCloudauditlogging{empty: true}
This object is used to assert a desired state where this FeatureSpecCloudauditlogging is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureSpecCloudauditlogging) Empty ¶
func (r *FeatureSpecCloudauditlogging) Empty() bool
func (*FeatureSpecCloudauditlogging) HashCode ¶
func (r *FeatureSpecCloudauditlogging) HashCode() string
func (*FeatureSpecCloudauditlogging) String ¶
func (r *FeatureSpecCloudauditlogging) String() string
func (*FeatureSpecCloudauditlogging) UnmarshalJSON ¶
func (r *FeatureSpecCloudauditlogging) UnmarshalJSON(data []byte) error
type FeatureSpecFleetobservability ¶ added in v1.42.0
type FeatureSpecFleetobservability struct { LoggingConfig *FeatureSpecFleetobservabilityLoggingConfig `json:"loggingConfig"` // contains filtered or unexported fields }
var EmptyFeatureSpecFleetobservability *FeatureSpecFleetobservability = &FeatureSpecFleetobservability{empty: true}
This object is used to assert a desired state where this FeatureSpecFleetobservability is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureSpecFleetobservability) Empty ¶ added in v1.42.0
func (r *FeatureSpecFleetobservability) Empty() bool
func (*FeatureSpecFleetobservability) HashCode ¶ added in v1.42.0
func (r *FeatureSpecFleetobservability) HashCode() string
func (*FeatureSpecFleetobservability) String ¶ added in v1.42.0
func (r *FeatureSpecFleetobservability) String() string
func (*FeatureSpecFleetobservability) UnmarshalJSON ¶ added in v1.42.0
func (r *FeatureSpecFleetobservability) UnmarshalJSON(data []byte) error
type FeatureSpecFleetobservabilityLoggingConfig ¶ added in v1.42.0
type FeatureSpecFleetobservabilityLoggingConfig struct { DefaultConfig *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig `json:"defaultConfig"` FleetScopeLogsConfig *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig `json:"fleetScopeLogsConfig"` // contains filtered or unexported fields }
var EmptyFeatureSpecFleetobservabilityLoggingConfig *FeatureSpecFleetobservabilityLoggingConfig = &FeatureSpecFleetobservabilityLoggingConfig{empty: true}
This object is used to assert a desired state where this FeatureSpecFleetobservabilityLoggingConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureSpecFleetobservabilityLoggingConfig) Empty ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfig) Empty() bool
func (*FeatureSpecFleetobservabilityLoggingConfig) HashCode ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfig) HashCode() string
func (*FeatureSpecFleetobservabilityLoggingConfig) String ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfig) String() string
func (*FeatureSpecFleetobservabilityLoggingConfig) UnmarshalJSON ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfig) UnmarshalJSON(data []byte) error
type FeatureSpecFleetobservabilityLoggingConfigDefaultConfig ¶ added in v1.42.0
type FeatureSpecFleetobservabilityLoggingConfigDefaultConfig struct { Mode *FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum `json:"mode"` // contains filtered or unexported fields }
var EmptyFeatureSpecFleetobservabilityLoggingConfigDefaultConfig *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig = &FeatureSpecFleetobservabilityLoggingConfigDefaultConfig{empty: true}
This object is used to assert a desired state where this FeatureSpecFleetobservabilityLoggingConfigDefaultConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) Empty ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) Empty() bool
func (*FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) HashCode ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) HashCode() string
func (*FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) String ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) String() string
func (*FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) UnmarshalJSON ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfigDefaultConfig) UnmarshalJSON(data []byte) error
type FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum ¶ added in v1.42.0
type FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum string
The enum FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum.
func FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnumRef ¶ added in v1.42.0
func FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnumRef(s string) *FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum
FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnumRef returns a *FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum with the value of string s If the empty string is provided, nil is returned.
func (FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum) Validate ¶ added in v1.42.0
func (v FeatureSpecFleetobservabilityLoggingConfigDefaultConfigModeEnum) Validate() error
type FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig ¶ added in v1.42.0
type FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig struct { Mode *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum `json:"mode"` // contains filtered or unexported fields }
var EmptyFeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig = &FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig{empty: true}
This object is used to assert a desired state where this FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) Empty ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) Empty() bool
func (*FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) HashCode ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) HashCode() string
func (*FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) String ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) String() string
func (*FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) UnmarshalJSON ¶ added in v1.42.0
func (r *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig) UnmarshalJSON(data []byte) error
type FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum ¶ added in v1.42.0
type FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum string
The enum FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum.
func FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnumRef ¶ added in v1.42.0
func FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnumRef(s string) *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum
FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnumRef returns a *FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum with the value of string s If the empty string is provided, nil is returned.
func (FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum) Validate ¶ added in v1.42.0
func (v FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigModeEnum) Validate() error
type FeatureSpecMulticlusteringress ¶
type FeatureSpecMulticlusteringress struct { ConfigMembership *string `json:"configMembership"` // contains filtered or unexported fields }
var EmptyFeatureSpecMulticlusteringress *FeatureSpecMulticlusteringress = &FeatureSpecMulticlusteringress{empty: true}
This object is used to assert a desired state where this FeatureSpecMulticlusteringress is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureSpecMulticlusteringress) Empty ¶
func (r *FeatureSpecMulticlusteringress) Empty() bool
func (*FeatureSpecMulticlusteringress) HashCode ¶
func (r *FeatureSpecMulticlusteringress) HashCode() string
func (*FeatureSpecMulticlusteringress) String ¶
func (r *FeatureSpecMulticlusteringress) String() string
func (*FeatureSpecMulticlusteringress) UnmarshalJSON ¶
func (r *FeatureSpecMulticlusteringress) UnmarshalJSON(data []byte) error
type FeatureState ¶
type FeatureState struct { State *FeatureStateState `json:"state"` Servicemesh *FeatureStateServicemesh `json:"servicemesh"` // contains filtered or unexported fields }
var EmptyFeatureState *FeatureState = &FeatureState{empty: true}
This object is used to assert a desired state where this FeatureState is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureState) Empty ¶
func (r *FeatureState) Empty() bool
func (*FeatureState) HashCode ¶
func (r *FeatureState) HashCode() string
func (*FeatureState) String ¶
func (r *FeatureState) String() string
func (*FeatureState) UnmarshalJSON ¶
func (r *FeatureState) UnmarshalJSON(data []byte) error
type FeatureStateServicemesh ¶
type FeatureStateServicemesh struct { AnalysisMessages []FeatureStateServicemeshAnalysisMessages `json:"analysisMessages"` // contains filtered or unexported fields }
var EmptyFeatureStateServicemesh *FeatureStateServicemesh = &FeatureStateServicemesh{empty: true}
This object is used to assert a desired state where this FeatureStateServicemesh is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureStateServicemesh) Empty ¶
func (r *FeatureStateServicemesh) Empty() bool
func (*FeatureStateServicemesh) HashCode ¶
func (r *FeatureStateServicemesh) HashCode() string
func (*FeatureStateServicemesh) String ¶
func (r *FeatureStateServicemesh) String() string
func (*FeatureStateServicemesh) UnmarshalJSON ¶
func (r *FeatureStateServicemesh) UnmarshalJSON(data []byte) error
type FeatureStateServicemeshAnalysisMessages ¶
type FeatureStateServicemeshAnalysisMessages struct { MessageBase *FeatureStateServicemeshAnalysisMessagesMessageBase `json:"messageBase"` Description *string `json:"description"` ResourcePaths []string `json:"resourcePaths"` Args map[string]string `json:"args"` // contains filtered or unexported fields }
var EmptyFeatureStateServicemeshAnalysisMessages *FeatureStateServicemeshAnalysisMessages = &FeatureStateServicemeshAnalysisMessages{empty: true}
This object is used to assert a desired state where this FeatureStateServicemeshAnalysisMessages is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureStateServicemeshAnalysisMessages) Empty ¶
func (r *FeatureStateServicemeshAnalysisMessages) Empty() bool
func (*FeatureStateServicemeshAnalysisMessages) HashCode ¶
func (r *FeatureStateServicemeshAnalysisMessages) HashCode() string
func (*FeatureStateServicemeshAnalysisMessages) String ¶
func (r *FeatureStateServicemeshAnalysisMessages) String() string
func (*FeatureStateServicemeshAnalysisMessages) UnmarshalJSON ¶
func (r *FeatureStateServicemeshAnalysisMessages) UnmarshalJSON(data []byte) error
type FeatureStateServicemeshAnalysisMessagesMessageBase ¶
type FeatureStateServicemeshAnalysisMessagesMessageBase struct { Type *FeatureStateServicemeshAnalysisMessagesMessageBaseType `json:"type"` Level *FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum `json:"level"` DocumentationUrl *string `json:"documentationUrl"` // contains filtered or unexported fields }
var EmptyFeatureStateServicemeshAnalysisMessagesMessageBase *FeatureStateServicemeshAnalysisMessagesMessageBase = &FeatureStateServicemeshAnalysisMessagesMessageBase{empty: true}
This object is used to assert a desired state where this FeatureStateServicemeshAnalysisMessagesMessageBase is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureStateServicemeshAnalysisMessagesMessageBase) Empty ¶
func (r *FeatureStateServicemeshAnalysisMessagesMessageBase) Empty() bool
func (*FeatureStateServicemeshAnalysisMessagesMessageBase) HashCode ¶
func (r *FeatureStateServicemeshAnalysisMessagesMessageBase) HashCode() string
func (*FeatureStateServicemeshAnalysisMessagesMessageBase) String ¶
func (r *FeatureStateServicemeshAnalysisMessagesMessageBase) String() string
func (*FeatureStateServicemeshAnalysisMessagesMessageBase) UnmarshalJSON ¶
func (r *FeatureStateServicemeshAnalysisMessagesMessageBase) UnmarshalJSON(data []byte) error
type FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum ¶
type FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum string
The enum FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum.
func FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnumRef ¶
func FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnumRef(s string) *FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum
FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnumRef returns a *FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum with the value of string s If the empty string is provided, nil is returned.
func (FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum) Validate ¶
func (v FeatureStateServicemeshAnalysisMessagesMessageBaseLevelEnum) Validate() error
type FeatureStateServicemeshAnalysisMessagesMessageBaseType ¶
type FeatureStateServicemeshAnalysisMessagesMessageBaseType struct { DisplayName *string `json:"displayName"` Code *string `json:"code"` // contains filtered or unexported fields }
var EmptyFeatureStateServicemeshAnalysisMessagesMessageBaseType *FeatureStateServicemeshAnalysisMessagesMessageBaseType = &FeatureStateServicemeshAnalysisMessagesMessageBaseType{empty: true}
This object is used to assert a desired state where this FeatureStateServicemeshAnalysisMessagesMessageBaseType is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureStateServicemeshAnalysisMessagesMessageBaseType) Empty ¶
func (r *FeatureStateServicemeshAnalysisMessagesMessageBaseType) Empty() bool
func (*FeatureStateServicemeshAnalysisMessagesMessageBaseType) HashCode ¶
func (r *FeatureStateServicemeshAnalysisMessagesMessageBaseType) HashCode() string
func (*FeatureStateServicemeshAnalysisMessagesMessageBaseType) String ¶
func (r *FeatureStateServicemeshAnalysisMessagesMessageBaseType) String() string
func (*FeatureStateServicemeshAnalysisMessagesMessageBaseType) UnmarshalJSON ¶
func (r *FeatureStateServicemeshAnalysisMessagesMessageBaseType) UnmarshalJSON(data []byte) error
type FeatureStateState ¶
type FeatureStateState struct { Code *FeatureStateStateCodeEnum `json:"code"` Description *string `json:"description"` UpdateTime *string `json:"updateTime"` // contains filtered or unexported fields }
var EmptyFeatureStateState *FeatureStateState = &FeatureStateState{empty: true}
This object is used to assert a desired state where this FeatureStateState is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FeatureStateState) Empty ¶
func (r *FeatureStateState) Empty() bool
func (*FeatureStateState) HashCode ¶
func (r *FeatureStateState) HashCode() string
func (*FeatureStateState) String ¶
func (r *FeatureStateState) String() string
func (*FeatureStateState) UnmarshalJSON ¶
func (r *FeatureStateState) UnmarshalJSON(data []byte) error
type FeatureStateStateCodeEnum ¶
type FeatureStateStateCodeEnum string
The enum FeatureStateStateCodeEnum.
func FeatureStateStateCodeEnumRef ¶
func FeatureStateStateCodeEnumRef(s string) *FeatureStateStateCodeEnum
FeatureStateStateCodeEnumRef returns a *FeatureStateStateCodeEnum with the value of string s If the empty string is provided, nil is returned.
func (FeatureStateStateCodeEnum) Validate ¶
func (v FeatureStateStateCodeEnum) Validate() error
type Fleet ¶
type Fleet struct { Name *string `json:"name"` DisplayName *string `json:"displayName"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Uid *string `json:"uid"` ManagedNamespaces *bool `json:"managedNamespaces"` Project *string `json:"project"` Location *string `json:"location"` }
func (*Fleet) Describe ¶
func (r *Fleet) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type Membership ¶
type Membership struct { Endpoint *MembershipEndpoint `json:"endpoint"` Name *string `json:"name"` Labels map[string]string `json:"labels"` Description *string `json:"description"` State *MembershipState `json:"state"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` DeleteTime *string `json:"deleteTime"` ExternalId *string `json:"externalId"` LastConnectionTime *string `json:"lastConnectionTime"` UniqueId *string `json:"uniqueId"` Authority *MembershipAuthority `json:"authority"` InfrastructureType *MembershipInfrastructureTypeEnum `json:"infrastructureType"` Project *string `json:"project"` Location *string `json:"location"` }
func (*Membership) Describe ¶
func (r *Membership) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Membership) IAMPolicyVersion ¶
func (r *Membership) IAMPolicyVersion() int
func (*Membership) ID ¶
func (r *Membership) ID() (string, error)
func (*Membership) SetPolicyURL ¶
func (r *Membership) SetPolicyURL(userBasePath string) string
func (*Membership) SetPolicyVerb ¶
func (r *Membership) SetPolicyVerb() string
func (*Membership) String ¶
func (r *Membership) String() string
type MembershipAuthority ¶
type MembershipAuthority struct { Issuer *string `json:"issuer"` WorkloadIdentityPool *string `json:"workloadIdentityPool"` IdentityProvider *string `json:"identityProvider"` // contains filtered or unexported fields }
var EmptyMembershipAuthority *MembershipAuthority = &MembershipAuthority{empty: true}
This object is used to assert a desired state where this MembershipAuthority is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipAuthority) Empty ¶
func (r *MembershipAuthority) Empty() bool
func (*MembershipAuthority) HashCode ¶
func (r *MembershipAuthority) HashCode() string
func (*MembershipAuthority) String ¶
func (r *MembershipAuthority) String() string
func (*MembershipAuthority) UnmarshalJSON ¶
func (r *MembershipAuthority) UnmarshalJSON(data []byte) error
type MembershipEndpoint ¶
type MembershipEndpoint struct { GkeCluster *MembershipEndpointGkeCluster `json:"gkeCluster"` KubernetesMetadata *MembershipEndpointKubernetesMetadata `json:"kubernetesMetadata"` KubernetesResource *MembershipEndpointKubernetesResource `json:"kubernetesResource"` // contains filtered or unexported fields }
var EmptyMembershipEndpoint *MembershipEndpoint = &MembershipEndpoint{empty: true}
This object is used to assert a desired state where this MembershipEndpoint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipEndpoint) Empty ¶
func (r *MembershipEndpoint) Empty() bool
func (*MembershipEndpoint) HashCode ¶
func (r *MembershipEndpoint) HashCode() string
func (*MembershipEndpoint) String ¶
func (r *MembershipEndpoint) String() string
func (*MembershipEndpoint) UnmarshalJSON ¶
func (r *MembershipEndpoint) UnmarshalJSON(data []byte) error
type MembershipEndpointGkeCluster ¶
type MembershipEndpointGkeCluster struct { ResourceLink *string `json:"resourceLink"` // contains filtered or unexported fields }
var EmptyMembershipEndpointGkeCluster *MembershipEndpointGkeCluster = &MembershipEndpointGkeCluster{empty: true}
This object is used to assert a desired state where this MembershipEndpointGkeCluster is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipEndpointGkeCluster) Empty ¶
func (r *MembershipEndpointGkeCluster) Empty() bool
func (*MembershipEndpointGkeCluster) HashCode ¶
func (r *MembershipEndpointGkeCluster) HashCode() string
func (*MembershipEndpointGkeCluster) String ¶
func (r *MembershipEndpointGkeCluster) String() string
func (*MembershipEndpointGkeCluster) UnmarshalJSON ¶
func (r *MembershipEndpointGkeCluster) UnmarshalJSON(data []byte) error
type MembershipEndpointKubernetesMetadata ¶
type MembershipEndpointKubernetesMetadata struct { KubernetesApiServerVersion *string `json:"kubernetesApiServerVersion"` NodeProviderId *string `json:"nodeProviderId"` NodeCount *int64 `json:"nodeCount"` VcpuCount *int64 `json:"vcpuCount"` MemoryMb *int64 `json:"memoryMb"` UpdateTime *string `json:"updateTime"` // contains filtered or unexported fields }
var EmptyMembershipEndpointKubernetesMetadata *MembershipEndpointKubernetesMetadata = &MembershipEndpointKubernetesMetadata{empty: true}
This object is used to assert a desired state where this MembershipEndpointKubernetesMetadata is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipEndpointKubernetesMetadata) Empty ¶
func (r *MembershipEndpointKubernetesMetadata) Empty() bool
func (*MembershipEndpointKubernetesMetadata) HashCode ¶
func (r *MembershipEndpointKubernetesMetadata) HashCode() string
func (*MembershipEndpointKubernetesMetadata) String ¶
func (r *MembershipEndpointKubernetesMetadata) String() string
func (*MembershipEndpointKubernetesMetadata) UnmarshalJSON ¶
func (r *MembershipEndpointKubernetesMetadata) UnmarshalJSON(data []byte) error
type MembershipEndpointKubernetesResource ¶
type MembershipEndpointKubernetesResource struct { MembershipCrManifest *string `json:"membershipCrManifest"` MembershipResources []MembershipEndpointKubernetesResourceMembershipResources `json:"membershipResources"` ConnectResources []MembershipEndpointKubernetesResourceConnectResources `json:"connectResources"` ResourceOptions *MembershipEndpointKubernetesResourceResourceOptions `json:"resourceOptions"` // contains filtered or unexported fields }
var EmptyMembershipEndpointKubernetesResource *MembershipEndpointKubernetesResource = &MembershipEndpointKubernetesResource{empty: true}
This object is used to assert a desired state where this MembershipEndpointKubernetesResource is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipEndpointKubernetesResource) Empty ¶
func (r *MembershipEndpointKubernetesResource) Empty() bool
func (*MembershipEndpointKubernetesResource) HashCode ¶
func (r *MembershipEndpointKubernetesResource) HashCode() string
func (*MembershipEndpointKubernetesResource) String ¶
func (r *MembershipEndpointKubernetesResource) String() string
func (*MembershipEndpointKubernetesResource) UnmarshalJSON ¶
func (r *MembershipEndpointKubernetesResource) UnmarshalJSON(data []byte) error
type MembershipEndpointKubernetesResourceConnectResources ¶
type MembershipEndpointKubernetesResourceConnectResources struct { Manifest *string `json:"manifest"` ClusterScoped *bool `json:"clusterScoped"` // contains filtered or unexported fields }
var EmptyMembershipEndpointKubernetesResourceConnectResources *MembershipEndpointKubernetesResourceConnectResources = &MembershipEndpointKubernetesResourceConnectResources{empty: true}
This object is used to assert a desired state where this MembershipEndpointKubernetesResourceConnectResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipEndpointKubernetesResourceConnectResources) Empty ¶
func (r *MembershipEndpointKubernetesResourceConnectResources) Empty() bool
func (*MembershipEndpointKubernetesResourceConnectResources) HashCode ¶
func (r *MembershipEndpointKubernetesResourceConnectResources) HashCode() string
func (*MembershipEndpointKubernetesResourceConnectResources) String ¶
func (r *MembershipEndpointKubernetesResourceConnectResources) String() string
func (*MembershipEndpointKubernetesResourceConnectResources) UnmarshalJSON ¶
func (r *MembershipEndpointKubernetesResourceConnectResources) UnmarshalJSON(data []byte) error
type MembershipEndpointKubernetesResourceMembershipResources ¶
type MembershipEndpointKubernetesResourceMembershipResources struct { Manifest *string `json:"manifest"` ClusterScoped *bool `json:"clusterScoped"` // contains filtered or unexported fields }
var EmptyMembershipEndpointKubernetesResourceMembershipResources *MembershipEndpointKubernetesResourceMembershipResources = &MembershipEndpointKubernetesResourceMembershipResources{empty: true}
This object is used to assert a desired state where this MembershipEndpointKubernetesResourceMembershipResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipEndpointKubernetesResourceMembershipResources) Empty ¶
func (r *MembershipEndpointKubernetesResourceMembershipResources) Empty() bool
func (*MembershipEndpointKubernetesResourceMembershipResources) HashCode ¶
func (r *MembershipEndpointKubernetesResourceMembershipResources) HashCode() string
func (*MembershipEndpointKubernetesResourceMembershipResources) String ¶
func (r *MembershipEndpointKubernetesResourceMembershipResources) String() string
func (*MembershipEndpointKubernetesResourceMembershipResources) UnmarshalJSON ¶
func (r *MembershipEndpointKubernetesResourceMembershipResources) UnmarshalJSON(data []byte) error
type MembershipEndpointKubernetesResourceResourceOptions ¶
type MembershipEndpointKubernetesResourceResourceOptions struct { ConnectVersion *string `json:"connectVersion"` V1Beta1Crd *bool `json:"v1beta1Crd"` // contains filtered or unexported fields }
var EmptyMembershipEndpointKubernetesResourceResourceOptions *MembershipEndpointKubernetesResourceResourceOptions = &MembershipEndpointKubernetesResourceResourceOptions{empty: true}
This object is used to assert a desired state where this MembershipEndpointKubernetesResourceResourceOptions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipEndpointKubernetesResourceResourceOptions) Empty ¶
func (r *MembershipEndpointKubernetesResourceResourceOptions) Empty() bool
func (*MembershipEndpointKubernetesResourceResourceOptions) HashCode ¶
func (r *MembershipEndpointKubernetesResourceResourceOptions) HashCode() string
func (*MembershipEndpointKubernetesResourceResourceOptions) String ¶
func (r *MembershipEndpointKubernetesResourceResourceOptions) String() string
func (*MembershipEndpointKubernetesResourceResourceOptions) UnmarshalJSON ¶
func (r *MembershipEndpointKubernetesResourceResourceOptions) UnmarshalJSON(data []byte) error
type MembershipInfrastructureTypeEnum ¶
type MembershipInfrastructureTypeEnum string
The enum MembershipInfrastructureTypeEnum.
func MembershipInfrastructureTypeEnumRef ¶
func MembershipInfrastructureTypeEnumRef(s string) *MembershipInfrastructureTypeEnum
MembershipInfrastructureTypeEnumRef returns a *MembershipInfrastructureTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (MembershipInfrastructureTypeEnum) Validate ¶
func (v MembershipInfrastructureTypeEnum) Validate() error
type MembershipList ¶
type MembershipList struct { Items []*Membership // contains filtered or unexported fields }
func (*MembershipList) HasNext ¶
func (l *MembershipList) HasNext() bool
type MembershipState ¶
type MembershipState struct { Code *MembershipStateCodeEnum `json:"code"` // contains filtered or unexported fields }
var EmptyMembershipState *MembershipState = &MembershipState{empty: true}
This object is used to assert a desired state where this MembershipState is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipState) Empty ¶
func (r *MembershipState) Empty() bool
func (*MembershipState) HashCode ¶
func (r *MembershipState) HashCode() string
func (*MembershipState) String ¶
func (r *MembershipState) String() string
func (*MembershipState) UnmarshalJSON ¶
func (r *MembershipState) UnmarshalJSON(data []byte) error
type MembershipStateCodeEnum ¶
type MembershipStateCodeEnum string
The enum MembershipStateCodeEnum.
func MembershipStateCodeEnumRef ¶
func MembershipStateCodeEnumRef(s string) *MembershipStateCodeEnum
MembershipStateCodeEnumRef returns a *MembershipStateCodeEnum with the value of string s If the empty string is provided, nil is returned.
func (MembershipStateCodeEnum) Validate ¶
func (v MembershipStateCodeEnum) Validate() error
Source Files ¶
- client.go
- feature.go
- feature_alpha_yaml_embed.go
- feature_internal.go
- feature_membership.go
- feature_membership_alpha_yaml_embed.go
- feature_membership_internal.go
- feature_membership_schema.go
- feature_schema.go
- fleet.go
- fleet_alpha_yaml_embed.go
- fleet_internal.go
- fleet_schema.go
- hub_beta_utils.go
- hub_utils.go
- membership.go
- membership_alpha_yaml_embed.go
- membership_internal.go
- membership_schema.go