/
feature_alpha_yaml_embed.go
executable file
·23 lines (20 loc) · 17.4 KB
/
feature_alpha_yaml_embed.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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.
// GENERATED BY gen_go_data.go
// gen_go_data -package alpha -var YAML_feature blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/feature.yaml
package alpha
// blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkehub/alpha/feature.yaml
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 x-dcl-parameter: 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 x-dcl-has-long-form: 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 x-dcl-parameter: 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")
// 16435 bytes
// MD5: fedfddaebe86ff137cc530500f4e308c