Documentation ¶
Overview ¶
Copyright 2022 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 2022 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 2022 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 2022 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 2022 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 run contains all of the utils for Cloud Run.
Copyright 2022 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 2022 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 2022 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 DCLJobSchema() *dcl.Schema
- func DCLServiceSchema() *dcl.Schema
- func EncodeServiceCreateRequest(m map[string]interface{}) map[string]interface{}
- type Client
- func (c *Client) ApplyJob(ctx context.Context, rawDesired *Job, opts ...dcl.ApplyOption) (*Job, error)
- func (c *Client) ApplyService(ctx context.Context, rawDesired *Service, opts ...dcl.ApplyOption) (*Service, error)
- func (c *Client) DeleteAllJob(ctx context.Context, project, location string, filter func(*Job) bool) error
- func (c *Client) DeleteAllService(ctx context.Context, project, location string, filter func(*Service) bool) error
- func (c *Client) DeleteJob(ctx context.Context, r *Job) error
- func (c *Client) DeleteService(ctx context.Context, r *Service) error
- func (c *Client) GetJob(ctx context.Context, r *Job) (*Job, error)
- func (c *Client) GetService(ctx context.Context, r *Service) (*Service, error)
- func (c *Client) ListJob(ctx context.Context, project, location string) (*JobList, error)
- func (c *Client) ListJobWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*JobList, error)
- func (c *Client) ListService(ctx context.Context, project, location string) (*ServiceList, error)
- func (c *Client) ListServiceWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ServiceList, error)
- type Job
- func (r *Job) Describe() dcl.ServiceTypeVersion
- func (r *Job) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *Job) IAMPolicyVersion() int
- func (r *Job) ID() (string, error)
- func (r *Job) SetPolicyURL(userBasePath string) string
- func (r *Job) SetPolicyVerb() string
- func (r *Job) String() string
- type JobBinaryAuthorization
- type JobConditions
- type JobConditionsExecutionReasonEnum
- type JobConditionsReasonEnum
- type JobConditionsRevisionReasonEnum
- type JobConditionsSeverityEnum
- type JobConditionsStateEnum
- type JobLatestCreatedExecution
- type JobLatestSucceededExecution
- type JobLaunchStageEnum
- type JobList
- type JobTemplate
- type JobTemplateTemplate
- type JobTemplateTemplateContainers
- type JobTemplateTemplateContainersEnv
- type JobTemplateTemplateContainersEnvValueSource
- type JobTemplateTemplateContainersEnvValueSourceSecretKeyRef
- func (r *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) Empty() bool
- func (r *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) HashCode() string
- func (r *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) String() string
- func (r *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) UnmarshalJSON(data []byte) error
- type JobTemplateTemplateContainersPorts
- type JobTemplateTemplateContainersResources
- type JobTemplateTemplateContainersVolumeMounts
- type JobTemplateTemplateExecutionEnvironmentEnum
- type JobTemplateTemplateVPCAccess
- type JobTemplateTemplateVPCAccessEgressEnum
- type JobTemplateTemplateVolumes
- type JobTemplateTemplateVolumesCloudSqlInstance
- type JobTemplateTemplateVolumesSecret
- type JobTemplateTemplateVolumesSecretItems
- type JobTerminalCondition
- type JobTerminalConditionDomainMappingReasonEnum
- type JobTerminalConditionExecutionReasonEnum
- type JobTerminalConditionInternalReasonEnum
- type JobTerminalConditionReasonEnum
- type JobTerminalConditionRevisionReasonEnum
- type JobTerminalConditionSeverityEnum
- type JobTerminalConditionStateEnum
- type Service
- func (r *Service) Describe() dcl.ServiceTypeVersion
- func (r *Service) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *Service) IAMPolicyVersion() int
- func (r *Service) ID() (string, error)
- func (r *Service) SetPolicyURL(userBasePath string) string
- func (r *Service) SetPolicyVerb() string
- func (r *Service) String() string
- type ServiceBinaryAuthorization
- type ServiceIngressEnum
- type ServiceLaunchStageEnum
- type ServiceList
- type ServiceTemplate
- type ServiceTemplateContainers
- type ServiceTemplateContainersEnv
- type ServiceTemplateContainersEnvValueSource
- type ServiceTemplateContainersEnvValueSourceSecretKeyRef
- func (r *ServiceTemplateContainersEnvValueSourceSecretKeyRef) Empty() bool
- func (r *ServiceTemplateContainersEnvValueSourceSecretKeyRef) HashCode() string
- func (r *ServiceTemplateContainersEnvValueSourceSecretKeyRef) String() string
- func (r *ServiceTemplateContainersEnvValueSourceSecretKeyRef) UnmarshalJSON(data []byte) error
- type ServiceTemplateContainersPorts
- type ServiceTemplateContainersResources
- type ServiceTemplateContainersVolumeMounts
- type ServiceTemplateExecutionEnvironmentEnum
- type ServiceTemplateScaling
- type ServiceTemplateVPCAccess
- type ServiceTemplateVPCAccessEgressEnum
- type ServiceTemplateVolumes
- type ServiceTemplateVolumesCloudSqlInstance
- type ServiceTemplateVolumesSecret
- type ServiceTemplateVolumesSecretItems
- type ServiceTerminalCondition
- type ServiceTerminalConditionJobReasonEnum
- type ServiceTerminalConditionReasonEnum
- type ServiceTerminalConditionRevisionReasonEnum
- type ServiceTerminalConditionSeverityEnum
- type ServiceTerminalConditionStateEnum
- type ServiceTraffic
- type ServiceTrafficStatuses
- type ServiceTrafficStatusesTypeEnum
- type ServiceTrafficTypeEnum
Constants ¶
const JobMaxPage = -1
const ServiceMaxPage = -1
Variables ¶
var YAML_job = []byte("info:\n title: Run/Job\n description: The Run Job resource\n x-dcl-struct-name: Job\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Job\n parameters:\n - name: job\n required: true\n description: A full instance of a Job\n apply:\n description: The function used to apply information about a Job\n parameters:\n - name: job\n required: true\n description: A full instance of a Job\n delete:\n description: The function used to delete a Job\n parameters:\n - name: job\n required: true\n description: A full instance of a Job\n deleteAll:\n description: The function used to delete all Job\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 Job\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 Job:\n title: Job\n x-dcl-id: projects/{{project}}/locations/{{location}}/jobs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: true\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 - template\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'KRM-style annotations for the resource. Unstructured key value\n map that may be set by external tools to store and arbitrary metadata.\n They are not queryable and should be preserved when modifying objects.\n Cloud Run will populate some annotations using ''run.googleapis.com''\n or ''serving.knative.dev'' namespaces. This field follows Kubernetes annotations''\n namespacing, limits, and rules. More info: https://kubernetes.io/docs/user-guide/annotations'\n binaryAuthorization:\n type: object\n x-dcl-go-name: BinaryAuthorization\n x-dcl-go-type: JobBinaryAuthorization\n description: Settings for the Binary Authorization feature.\n properties:\n breakglassJustification:\n type: string\n x-dcl-go-name: BreakglassJustification\n description: If present, indicates to use Breakglass using this justification.\n If use_default is False, then it must be empty. For more information\n on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass\n useDefault:\n type: boolean\n x-dcl-go-name: UseDefault\n description: If True, indicates to use the default project's binary\n authorization policy. If False, binary authorization will be disabled.\n client:\n type: string\n x-dcl-go-name: Client\n description: Arbitrary identifier for the API client.\n clientVersion:\n type: string\n x-dcl-go-name: ClientVersion\n description: Arbitrary version identifier for the API client.\n conditions:\n type: array\n x-dcl-go-name: Conditions\n readOnly: true\n description: Output only. The Conditions of all other associated sub-resources.\n They contain additional diagnostics information in case the Job does not\n reach its desired state. See comments in `reconciling` for additional\n information on reconciliation process in Cloud Run.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobConditions\n properties:\n executionReason:\n type: string\n x-dcl-go-name: ExecutionReason\n x-dcl-go-type: JobConditionsExecutionReasonEnum\n description: 'A reason for the execution condition. Possible values:\n EXECUTION_REASON_UNDEFINED, JOB_STATUS_SERVICE_POLLING_ERROR, NON_ZERO_EXIT_CODE'\n x-dcl-conflicts:\n - reason\n - revisionReason\n enum:\n - EXECUTION_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n - NON_ZERO_EXIT_CODE\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status\n to another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: JobConditionsReasonEnum\n description: 'A common (service-level) reason for this condition.\n Possible values: COMMON_REASON_UNDEFINED, UNKNOWN, REVISION_FAILED,\n PROGRESS_DEADLINE_EXCEEDED, BUILD_STEP_FAILED, CONTAINER_MISSING,\n CONTAINER_PERMISSION_DENIED, CONTAINER_IMAGE_UNAUTHORIZED, CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED,\n ENCRYPTION_KEY_PERMISSION_DENIED, ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED,\n WAITING_FOR_OPERATION, IMMEDIATE_RETRY, POSTPONED_RETRY'\n x-dcl-conflicts:\n - revisionReason\n - executionReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - BUILD_STEP_FAILED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: JobConditionsRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING,\n RECREATING, HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING,\n MIN_INSTANCES_NOT_PROVISIONED, ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT,\n HEALTH_CHECK_SKIPPED'\n x-dcl-conflicts:\n - reason\n - executionReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n - HEALTH_CHECK_SKIPPED\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: JobConditionsSeverityEnum\n description: 'How to interpret failures of this condition, one of\n Error, Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR,\n WARNING, INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobConditionsStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the\n Resource is ready.'\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n creator:\n type: string\n x-dcl-go-name: Creator\n readOnly: true\n description: Output only. Email address of the authenticated creator.\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. The deletion time.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A system-generated fingerprint for this version\n of the resource. May be used to detect modification conflict during updates.\n x-kubernetes-immutable: true\n executionCount:\n type: integer\n format: int64\n x-dcl-go-name: ExecutionCount\n readOnly: true\n description: Output only. Number of executions created for this job.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. For a deleted resource, the time after which it\n will be permamently deleted.\n x-kubernetes-immutable: true\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n readOnly: true\n description: Output only. A number that monotonically increases every time\n the user modifies the desired state.\n x-kubernetes-immutable: true\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n readOnly: true\n description: KRM-style labels for the resource. User-provided labels are\n shared with Google's billing system, so they can be used to filter, or\n break down billing charges by team, component, environment, state, etc.\n For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels\n or https://cloud.google.com/run/docs/configuring/labels Cloud Run will\n populate some labels with 'run.googleapis.com' or 'serving.knative.dev'\n namespaces. Those labels are read-only, and user changes will not be preserved.\n x-kubernetes-immutable: true\n lastModifier:\n type: string\n x-dcl-go-name: LastModifier\n readOnly: true\n description: Output only. Email address of the last authenticated modifier.\n x-kubernetes-immutable: true\n latestCreatedExecution:\n type: object\n x-dcl-go-name: LatestCreatedExecution\n x-dcl-go-type: JobLatestCreatedExecution\n readOnly: true\n description: Output only. Name of the last created execution.\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n description: Creation timestamp of the execution.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the execution.\n x-dcl-references:\n - resource: Run/Execution\n field: selfLink\n parent: true\n latestSucceededExecution:\n type: object\n x-dcl-go-name: LatestSucceededExecution\n x-dcl-go-type: JobLatestSucceededExecution\n readOnly: true\n description: Output only. Name of the last succeeded execution.\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n description: Creation timestamp of the execution.\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the execution.\n x-dcl-references:\n - resource: Run/Execution\n field: selfLink\n parent: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: JobLaunchStageEnum\n description: 'The launch stage as defined by [Google Cloud Platform Launch\n Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports\n `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\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 fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}'\n observedGeneration:\n type: integer\n format: int64\n x-dcl-go-name: ObservedGeneration\n readOnly: true\n description: Output only. The generation of this Job. See comments in `reconciling`\n for additional information on reconciliation process in Cloud Run.\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 reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Returns true if the Job is currently being acted\n upon by the system to bring it into the desired state. When a new Job\n is created, or an existing one is updated, Cloud Run will asynchronously\n perform all necessary steps to bring the Job to the desired state. This\n process is called reconciliation. While reconciliation is in process,\n `observed_generation` and `latest_succeeded_execution`, will have transient\n values that might mismatch the intended state: Once reconciliation is\n over (and this field is false), there are two possible outcomes: reconciliation\n succeeded and the state matches the Job, or there was an error, and reconciliation\n failed. This state can be found in `terminal_condition.state`. If reconciliation\n succeeded, the following fields will match: `observed_generation` and\n `generation`, `latest_succeeded_execution` and `latest_created_execution`.\n If reconciliation failed, `observed_generation` and `latest_succeeded_execution`\n will have the state of the last succeeded execution or empty for newly\n created Job. Additional information on the failure can be found in `terminal_condition`\n and `conditions`.'\n x-kubernetes-immutable: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: JobTemplate\n description: Required. The template used to create executions for this Job.\n required:\n - template\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: KRM-style annotations for the resource.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: KRM-style labels for the resource.\n parallelism:\n type: integer\n format: int64\n x-dcl-go-name: Parallelism\n description: 'Specifies the maximum desired number of tasks the execution\n should run at any given time. Must be <= task_count. The actual number\n of tasks running in steady state will be less than this number when\n ((.spec.task_count - .status.successful) < .spec.parallelism), i.e.\n when the work left to do is less than max parallelism. More info:\n https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/'\n x-dcl-server-default: true\n taskCount:\n type: integer\n format: int64\n x-dcl-go-name: TaskCount\n description: 'Specifies the desired number of tasks the execution should\n run. Setting to 1 means that parallelism is limited to 1 and the success\n of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/'\n x-dcl-server-default: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: JobTemplateTemplate\n description: Required. Describes the task(s) that will be created when\n executing an execution.\n properties:\n containers:\n type: array\n x-dcl-go-name: Containers\n description: Holds the single container that defines the unit of\n execution for this task.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainers\n required:\n - image\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Arguments to the entrypoint. The docker image''s\n CMD is used if this is not provided. Variable references\n $(VAR_NAME) are expanded using the container''s environment.\n If a variable cannot be resolved, the reference in the input\n string will be unchanged. The $(VAR_NAME) syntax can be\n escaped with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable\n exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Entrypoint array. Not executed within a shell.\n The docker image''s ENTRYPOINT is used if this is not provided.\n Variable references $(VAR_NAME) are expanded using the container''s\n environment. If a variable cannot be resolved, the reference\n in the input string will be unchanged. The $(VAR_NAME) syntax\n can be escaped with a double $$, ie: $$(VAR_NAME). Escaped\n references will never be expanded, regardless of whether\n the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: List of environment variables to set in the container.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersEnv\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable.\n Must be a C_IDENTIFIER, and mnay not exceed 32768\n characters.\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Variable references $(VAR_NAME) are expanded\n using the previous defined environment variables in\n the container and any route environment variables.\n If a variable cannot be resolved, the reference in\n the input string will be unchanged. The $(VAR_NAME)\n syntax can be escaped with a double $$, ie: $$(VAR_NAME).\n Escaped references will never be expanded, regardless\n of whether the variable exists or not. Defaults to\n \"\", and the maximum length is 32768 bytes.'\n x-dcl-conflicts:\n - valueSource\n valueSource:\n type: object\n x-dcl-go-name: ValueSource\n x-dcl-go-type: JobTemplateTemplateContainersEnvValueSource\n description: Source for the environment variable's value.\n x-dcl-conflicts:\n - value\n properties:\n secretKeyRef:\n type: object\n x-dcl-go-name: SecretKeyRef\n x-dcl-go-type: JobTemplateTemplateContainersEnvValueSourceSecretKeyRef\n description: Selects a secret and a specific version\n from Cloud Secret Manager.\n required:\n - secret\n properties:\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret\n in Cloud Secret Manager. Format: {secret_name}\n if the secret is in the same project. projects/{project}/secrets/{secret_name}\n if the secret is in a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: selfLink\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret\n version. Can be 'latest' for the latest value\n or an integer for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: selfLink\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Required. URL of the Container image in Google\n Container Registry or Docker More info: https://kubernetes.io/docs/concepts/containers/images'\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the container specified as a DNS_LABEL.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: List of ports to expose from the container. Only\n a single port can be specified. The specified ports must\n be listening on all interfaces (0.0.0.0) within the container\n to be accessible. If omitted, a port number will be chosen\n and passed to the container through the PORT environment\n variable for the container to listen on.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: Port number the container listens on. This\n must be a valid TCP port number, 0 < container_port\n < 65536.\n name:\n type: string\n x-dcl-go-name: Name\n description: If specified, used to specify which protocol\n to use. Allowed values are \"http1\" and \"h2c\".\n resources:\n type: object\n x-dcl-go-name: Resources\n x-dcl-go-type: JobTemplateTemplateContainersResources\n description: 'Compute Resource requirements by this container.\n More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'\n x-dcl-server-default: true\n properties:\n cpuIdle:\n type: boolean\n x-dcl-go-name: CpuIdle\n description: Determines whether CPU should be throttled\n or not outside of requests.\n x-dcl-server-default: true\n limits:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Limits\n description: 'Only memory and CPU are supported. Note:\n The only supported values for CPU are ''1'', ''2'',\n and ''4''. Setting 4 CPU requires at least 2Gi of memory.\n The values of the map is string form of the ''quantity''\n k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go'\n volumeMounts:\n type: array\n x-dcl-go-name: VolumeMounts\n description: Volume to mount into the container's filesystem.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateContainersVolumeMounts\n required:\n - name\n - mountPath\n properties:\n mountPath:\n type: string\n x-dcl-go-name: MountPath\n description: Required. Path within the container at\n which the volume should be mounted. Must not contain\n ':'. For Cloud SQL volumes, it can be left empty,\n or must otherwise be `/cloudsql`. All instances defined\n in the Volume will be available as `/cloudsql/[instance]`.\n For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. This must match the Name of a\n Volume.\n encryptionKey:\n type: string\n x-dcl-go-name: EncryptionKey\n description: A reference to a customer managed encryption key (CMEK)\n to use to encrypt this container image. For more information,\n go to https://cloud.google.com/run/docs/securing/using-cmek\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n executionEnvironment:\n type: string\n x-dcl-go-name: ExecutionEnvironment\n x-dcl-go-type: JobTemplateTemplateExecutionEnvironmentEnum\n description: 'The execution environment being used to host this\n Task. Possible values: EXECUTION_ENVIRONMENT_UNSPECIFIED, EXECUTION_ENVIRONMENT_DEFAULT,\n EXECUTION_ENVIRONMENT_GEN2'\n x-dcl-server-default: true\n enum:\n - EXECUTION_ENVIRONMENT_UNSPECIFIED\n - EXECUTION_ENVIRONMENT_DEFAULT\n - EXECUTION_ENVIRONMENT_GEN2\n maxRetries:\n type: integer\n format: int64\n x-dcl-go-name: MaxRetries\n description: Number of retries allowed per Task, before marking\n this Task failed.\n x-dcl-server-default: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Email address of the IAM service account associated\n with the Task of a Job. The service account represents the identity\n of the running task, and determines what permissions the task\n has. If not provided, the task will use the project's default\n service account.\n x-dcl-server-default: true\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Max allowed time duration the Task may be active before\n the system will actively try to mark it failed and kill associated\n containers. This applies per attempt of a task, meaning each retry\n can run for the full timeout.\n x-dcl-server-default: true\n volumes:\n type: array\n x-dcl-go-name: Volumes\n description: A list of Volumes to make available to containers.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateVolumes\n required:\n - name\n properties:\n cloudSqlInstance:\n type: object\n x-dcl-go-name: CloudSqlInstance\n x-dcl-go-type: JobTemplateTemplateVolumesCloudSqlInstance\n description: For Cloud SQL volumes, contains the specific\n instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud\n Run.\n x-dcl-conflicts:\n - secret\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: 'The Cloud SQL instance connection names,\n as can be found in https://console.cloud.google.com/sql/instances.\n Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and\n Cloud Run. Format: {project}:{location}:{instance}'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Volume's name.\n secret:\n type: object\n x-dcl-go-name: Secret\n x-dcl-go-type: JobTemplateTemplateVolumesSecret\n description: 'Secret represents a secret that should populate\n this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'\n x-dcl-conflicts:\n - cloudSqlInstance\n required:\n - secret\n properties:\n defaultMode:\n type: integer\n format: int64\n x-dcl-go-name: DefaultMode\n description: 'Integer representation of mode bits to use\n on created files by default. Must be a value between\n 0000 and 0777 (octal), defaulting to 0644. Directories\n within the path are not affected by this setting. Notes\n * Internally, a umask of 0222 will be applied to any\n non-zero value. * This is an integer representation\n of the mode bits. So, the octal integer value should\n look exactly as the chmod numeric notation with a leading\n zero. Some examples: for chmod 777 (a=rwx), set to 0777\n (octal) or 511 (base-10). For chmod 640 (u=rw,g=r),\n set to 0640 (octal) or 416 (base-10). For chmod 755\n (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10).\n * This might be in conflict with other options that\n affect the file mode, like fsGroup, and the result can\n be other mode bits set. This might be in conflict with\n other options that affect the file mode, like fsGroup,\n and as a result, other mode bits could be set.'\n items:\n type: array\n x-dcl-go-name: Items\n description: If unspecified, the volume will expose a\n file whose name is the secret, relative to VolumeMount.mount_path.\n If specified, the key will be used as the version to\n fetch from Cloud Secret Manager and the path will be\n the name of the file exposed in the volume. When items\n are defined, they must specify a path and a version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: JobTemplateTemplateVolumesSecretItems\n required:\n - path\n properties:\n mode:\n type: integer\n format: int64\n x-dcl-go-name: Mode\n description: 'Integer octal mode bits to use on\n this file, must be a value between 01 and 0777\n (octal). If 0 or not set, the Volume''s default\n mode will be used. Notes * Internally, a umask\n of 0222 will be applied to any non-zero value.\n * This is an integer representation of the mode\n bits. So, the octal integer value should look\n exactly as the chmod numeric notation with a leading\n zero. Some examples: for chmod 777 (a=rwx), set\n to 0777 (octal) or 511 (base-10). For chmod 640\n (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal)\n or 493 (base-10). * This might be in conflict\n with other options that affect the file mode,\n like fsGroup, and the result can be other mode\n bits set.'\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The relative path of the\n secret in the container.\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in Cloud\n Secret Manager. Format: {secret} if the secret is in\n the same project. projects/{project}/secrets/{secret}\n if the secret is in a different project.'\n vpcAccess:\n type: object\n x-dcl-go-name: VPCAccess\n x-dcl-go-type: JobTemplateTemplateVPCAccess\n description: VPC Access configuration to use for this Task. For\n more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.\n properties:\n connector:\n type: string\n x-dcl-go-name: Connector\n description: 'VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}'\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: selfLink\n egress:\n type: string\n x-dcl-go-name: Egress\n x-dcl-go-type: JobTemplateTemplateVPCAccessEgressEnum\n description: 'Traffic VPC egress settings. Possible values:\n VPC_EGRESS_UNSPECIFIED, ALL_TRAFFIC, PRIVATE_RANGES_ONLY'\n enum:\n - VPC_EGRESS_UNSPECIFIED\n - ALL_TRAFFIC\n - PRIVATE_RANGES_ONLY\n terminalCondition:\n type: object\n x-dcl-go-name: TerminalCondition\n x-dcl-go-type: JobTerminalCondition\n readOnly: true\n description: Output only. The Condition of this Job, containing its readiness\n status, and detailed error information in case it did not reach the desired\n state.\n properties:\n domainMappingReason:\n type: string\n x-dcl-go-name: DomainMappingReason\n x-dcl-go-type: JobTerminalConditionDomainMappingReasonEnum\n description: 'A reason for the domain mapping condition. Possible values:\n DOMAIN_MAPPING_REASON_UNDEFINED, ROUTE_NOT_READY, PERMISSION_DENIED,\n CERTIFICATE_ALREADY_EXISTS, MAPPING_ALREADY_EXISTS, CERTIFICATE_PENDING,\n CERTIFICATE_FAILED'\n x-dcl-conflicts:\n - reason\n - internalReason\n - revisionReason\n - executionReason\n enum:\n - DOMAIN_MAPPING_REASON_UNDEFINED\n - ROUTE_NOT_READY\n - PERMISSION_DENIED\n - CERTIFICATE_ALREADY_EXISTS\n - MAPPING_ALREADY_EXISTS\n - CERTIFICATE_PENDING\n - CERTIFICATE_FAILED\n executionReason:\n type: string\n x-dcl-go-name: ExecutionReason\n x-dcl-go-type: JobTerminalConditionExecutionReasonEnum\n description: 'A reason for the execution condition. Possible values:\n EXECUTION_REASON_UNDEFINED, JOB_STATUS_SERVICE_POLLING_ERROR, NON_ZERO_EXIT_CODE'\n x-dcl-conflicts:\n - reason\n - internalReason\n - domainMappingReason\n - revisionReason\n enum:\n - EXECUTION_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n - NON_ZERO_EXIT_CODE\n internalReason:\n type: string\n x-dcl-go-name: InternalReason\n x-dcl-go-type: JobTerminalConditionInternalReasonEnum\n description: 'A reason for the internal condition. Possible values:\n INTERNAL_REASON_UNDEFINED, CONFLICTING_REVISION_NAME, REVISION_MISSING,\n CONFIGURATION_MISSING, ASSIGNING_TRAFFIC, UPDATING_INGRESS_TRAFFIC_ALLOWED,\n REVISION_ORG_POLICY_VIOLATION, ENABLING_GCFV2_URI_SUPPORT'\n x-dcl-conflicts:\n - reason\n - domainMappingReason\n - revisionReason\n - executionReason\n enum:\n - INTERNAL_REASON_UNDEFINED\n - CONFLICTING_REVISION_NAME\n - REVISION_MISSING\n - CONFIGURATION_MISSING\n - ASSIGNING_TRAFFIC\n - UPDATING_INGRESS_TRAFFIC_ALLOWED\n - REVISION_ORG_POLICY_VIOLATION\n - ENABLING_GCFV2_URI_SUPPORT\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status to\n another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: JobTerminalConditionReasonEnum\n description: 'A common (service-level) reason for this condition. Possible\n values: COMMON_REASON_UNDEFINED, UNKNOWN, ROUTE_MISSING, REVISION_FAILED,\n PROGRESS_DEADLINE_EXCEEDED, CONTAINER_MISSING, CONTAINER_PERMISSION_DENIED,\n CONTAINER_IMAGE_UNAUTHORIZED, CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED,\n ENCRYPTION_KEY_PERMISSION_DENIED, ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED,\n WAITING_FOR_OPERATION, IMMEDIATE_RETRY, POSTPONED_RETRY'\n x-dcl-conflicts:\n - internalReason\n - domainMappingReason\n - revisionReason\n - executionReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - ROUTE_MISSING\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: JobTerminalConditionRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING, RECREATING,\n HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING, MIN_INSTANCES_NOT_PROVISIONED,\n ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT, HEALTH_CHECK_SKIPPED'\n x-dcl-conflicts:\n - reason\n - internalReason\n - domainMappingReason\n - executionReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n - HEALTH_CHECK_SKIPPED\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: JobTerminalConditionSeverityEnum\n description: 'How to interpret failures of this condition, one of Error,\n Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR, WARNING,\n INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: JobTerminalConditionStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the Resource\n is ready.'\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the Execution.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\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. The last-modified time.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/run/alpha/job.yaml
var YAML_service = []byte("info:\n title: Run/Service\n description: The Run Service resource\n x-dcl-struct-name: Service\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Service\n parameters:\n - name: service\n required: true\n description: A full instance of a Service\n apply:\n description: The function used to apply information about a Service\n parameters:\n - name: service\n required: true\n description: A full instance of a Service\n delete:\n description: The function used to delete a Service\n parameters:\n - name: service\n required: true\n description: A full instance of a Service\n deleteAll:\n description: The function used to delete all Service\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 Service\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 Service:\n title: Service\n x-dcl-id: projects/{{project}}/locations/{{location}}/services/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: true\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 - template\n - project\n - location\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Unstructured key value map that may be set by external tools\n to store and arbitrary metadata. They are not queryable and should be\n preserved when modifying objects. Cloud Run will populate some annotations\n using ''run.googleapis.com'' or ''serving.knative.dev'' namespaces. This\n field follows Kubernetes annotations'' namespacing, limits, and rules.\n More info: http://kubernetes.io/docs/user-guide/annotations'\n binaryAuthorization:\n type: object\n x-dcl-go-name: BinaryAuthorization\n x-dcl-go-type: ServiceBinaryAuthorization\n description: Settings for the Binary Authorization feature.\n properties:\n breakglassJustification:\n type: string\n x-dcl-go-name: BreakglassJustification\n description: If present, indicates to use Breakglass using this justification.\n For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass\n useDefault:\n type: boolean\n x-dcl-go-name: UseDefault\n description: If True, indicates to use the default project's binary\n authorization policy. If False, binary authorization will be disabled\n client:\n type: string\n x-dcl-go-name: Client\n description: Arbitrary identifier for the API client.\n clientVersion:\n type: string\n x-dcl-go-name: ClientVersion\n description: Arbitrary version identifier for the API client.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The creation time.\n x-kubernetes-immutable: true\n creator:\n type: string\n x-dcl-go-name: Creator\n readOnly: true\n description: Output only. Email address of the authenticated creator.\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. The deletion time.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description of the Service.\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Output only. A system-generated fingerprint for this version\n of the resource. May be used to detect modification conflict during updates.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. For a deleted resource, the time after which it\n will be permamently deleted.\n x-kubernetes-immutable: true\n generation:\n type: integer\n format: int64\n x-dcl-go-name: Generation\n readOnly: true\n description: Output only. A number that monotonically increases every time\n the user modifies the desired state.\n x-kubernetes-immutable: true\n ingress:\n type: string\n x-dcl-go-name: Ingress\n x-dcl-go-type: ServiceIngressEnum\n description: Provides the ingress settings for this Service. On output,\n returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED\n if no revision is active.\n enum:\n - INGRESS_TRAFFIC_UNSPECIFIED\n - INGRESS_TRAFFIC_ALL\n - INGRESS_TRAFFIC_INTERNAL_ONLY\n - INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n readOnly: true\n description: Map of string keys and values that can be used to organize\n and categorize objects. User-provided labels are shared with Google's\n billing system, so they can be used to filter, or break down billing charges\n by team, component, environment, state, etc. For more information, visit\n https://cloud.google.com/resource-manager/docs/creating-managing-labels\n or https://cloud.google.com/run/docs/configuring/labels Cloud Run will\n populate some labels with 'run.googleapis.com' or 'serving.knative.dev'\n namespaces. Those labels are read-only, and user changes will not be preserved.\n x-kubernetes-immutable: true\n lastModifier:\n type: string\n x-dcl-go-name: LastModifier\n readOnly: true\n description: Output only. Email address of the last authenticated modifier.\n x-kubernetes-immutable: true\n latestCreatedRevision:\n type: string\n x-dcl-go-name: LatestCreatedRevision\n readOnly: true\n description: Output only. Name of the last created revision. See comments\n in `reconciling` for additional information on reconciliation process\n in Cloud Run.\n x-kubernetes-immutable: true\n latestReadyRevision:\n type: string\n x-dcl-go-name: LatestReadyRevision\n readOnly: true\n description: Output only. Name of the latest revision that is serving traffic.\n See comments in `reconciling` for additional information on reconciliation\n process in Cloud Run.\n x-kubernetes-immutable: true\n launchStage:\n type: string\n x-dcl-go-name: LaunchStage\n x-dcl-go-type: ServiceLaunchStageEnum\n description: 'The launch stage as defined by [Google Cloud Platform Launch\n Stages](http://cloud.google.com/terms/launch-stages). Cloud Run supports\n `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Possible\n values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS,\n ALPHA, BETA, GA, DEPRECATED'\n enum:\n - LAUNCH_STAGE_UNSPECIFIED\n - UNIMPLEMENTED\n - PRELAUNCH\n - EARLY_ACCESS\n - ALPHA\n - BETA\n - GA\n - DEPRECATED\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 fully qualified name of this Service, composed\n from CreateServiceRequest.parent and CreateServiceRequest.service_id.\n Format: projects/{project}/locations/{location}/services/{service_id}'\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 reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: 'Output only. Returns true if the Service is currently being\n acted upon by the system to bring it into the desired state. When a new\n Service is created, or an existing one is updated, Cloud Run will asynchronously\n perform all necessary steps to bring the Service to the desired serving\n state. This process is called reconciliation. While reconciliation is\n in process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`,\n and `uri` will have transient values that might mismatch the intended\n state: Once reconciliation is over (and this field is false), there are\n two possible outcomes: reconciliation succeeded and the serving state\n matches the Service, or there was an error, and reconciliation failed.\n This state can be found in `terminal_condition.state`. If reconciliation\n succeeded, the following fields will match: `traffic` and `traffic_statuses`,\n `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`.\n If reconciliation failed, `traffic_statuses`, `observed_generation`, and\n `latest_ready_revision` will have the state of the last serving revision,\n or empty for newly created Services. Additional information on the failure\n can be found in `terminal_condition` and `conditions`.'\n x-kubernetes-immutable: true\n template:\n type: object\n x-dcl-go-name: Template\n x-dcl-go-type: ServiceTemplate\n description: Required. The template used to create revisions for this Service.\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: KRM-style annotations for the resource.\n containerConcurrency:\n type: integer\n format: int64\n x-dcl-go-name: ContainerConcurrency\n description: Sets the maximum number of requests that each serving instance\n can receive.\n x-dcl-server-default: true\n containers:\n type: array\n x-dcl-go-name: Containers\n description: Holds the single container that defines the unit of execution\n for this Revision.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainers\n required:\n - image\n properties:\n args:\n type: array\n x-dcl-go-name: Args\n description: 'Arguments to the entrypoint. The docker image''s\n CMD is used if this is not provided. Variable references $(VAR_NAME)\n are expanded using the container''s environment. If a variable\n cannot be resolved, the reference in the input string will be\n unchanged. The $(VAR_NAME) syntax can be escaped with a double\n $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\n regardless of whether the variable exists or not. More info:\n https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n command:\n type: array\n x-dcl-go-name: Command\n description: 'Entrypoint array. Not executed within a shell. The\n docker image''s ENTRYPOINT is used if this is not provided.\n Variable references $(VAR_NAME) are expanded using the container''s\n environment. If a variable cannot be resolved, the reference\n in the input string will be unchanged. The $(VAR_NAME) syntax\n can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable exists\n or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n env:\n type: array\n x-dcl-go-name: Env\n description: List of environment variables to set in the container.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersEnv\n required:\n - name\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Name of the environment variable.\n Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.\n value:\n type: string\n x-dcl-go-name: Value\n description: 'Variable references $(VAR_NAME) are expanded\n using the previous defined environment variables in the\n container and any route environment variables. If a variable\n cannot be resolved, the reference in the input string\n will be unchanged. The $(VAR_NAME) syntax can be escaped\n with a double $$, ie: $$(VAR_NAME). Escaped references\n will never be expanded, regardless of whether the variable\n exists or not. Defaults to \"\", and the maximum length\n is 32768 bytes.'\n x-dcl-conflicts:\n - valueSource\n valueSource:\n type: object\n x-dcl-go-name: ValueSource\n x-dcl-go-type: ServiceTemplateContainersEnvValueSource\n description: Source for the environment variable's value.\n x-dcl-conflicts:\n - value\n properties:\n secretKeyRef:\n type: object\n x-dcl-go-name: SecretKeyRef\n x-dcl-go-type: ServiceTemplateContainersEnvValueSourceSecretKeyRef\n description: Selects a secret and a specific version\n from Cloud Secret Manager.\n required:\n - secret\n properties:\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in\n Cloud Secret Manager. Format: {secret_name} if\n the secret is in the same project. projects/{project}/secrets/{secret_name}\n if the secret is in a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: name\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: name\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Required. URL of the Container image in Google Container\n Registry or Docker More info: https://kubernetes.io/docs/concepts/containers/images'\n name:\n type: string\n x-dcl-go-name: Name\n description: Name of the container specified as a DNS_LABEL.\n ports:\n type: array\n x-dcl-go-name: Ports\n description: List of ports to expose from the container. Only\n a single port can be specified. The specified ports must be\n listening on all interfaces (0.0.0.0) within the container to\n be accessible. If omitted, a port number will be chosen and\n passed to the container through the PORT environment variable\n for the container to listen on.\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersPorts\n properties:\n containerPort:\n type: integer\n format: int64\n x-dcl-go-name: ContainerPort\n description: Port number the container listens on. This\n must be a valid TCP port number, 0 < container_port <\n 65536.\n name:\n type: string\n x-dcl-go-name: Name\n description: If specified, used to specify which protocol\n to use. Allowed values are \"http1\" and \"h2c\".\n resources:\n type: object\n x-dcl-go-name: Resources\n x-dcl-go-type: ServiceTemplateContainersResources\n description: 'Compute Resource requirements by this container.\n More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'\n x-dcl-server-default: true\n properties:\n cpuIdle:\n type: boolean\n x-dcl-go-name: CpuIdle\n description: Determines whether CPU should be throttled or\n not outside of requests.\n limits:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Limits\n description: 'Only memory and CPU are supported. Note: The\n only supported values for CPU are ''1'', ''2'', and ''4''.\n Setting 4 CPU requires at least 2Gi of memory. The values\n of the map is string form of the ''quantity'' k8s type:\n https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go'\n volumeMounts:\n type: array\n x-dcl-go-name: VolumeMounts\n description: Volume to mount into the container's filesystem.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateContainersVolumeMounts\n required:\n - name\n - mountPath\n properties:\n mountPath:\n type: string\n x-dcl-go-name: MountPath\n description: Required. Path within the container at which\n the volume should be mounted. Must not contain ':'. For\n Cloud SQL volumes, it can be left empty, or must otherwise\n be `/cloudsql`. All instances defined in the Volume will\n be available as `/cloudsql/[instance]`. For more information\n on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. This must match the Name of a Volume.\n executionEnvironment:\n type: string\n x-dcl-go-name: ExecutionEnvironment\n x-dcl-go-type: ServiceTemplateExecutionEnvironmentEnum\n description: 'The sandbox environment to host this Revision. Possible\n values: EXECUTION_ENVIRONMENT_UNSPECIFIED, EXECUTION_ENVIRONMENT_GEN1,\n EXECUTION_ENVIRONMENT_GEN2'\n enum:\n - EXECUTION_ENVIRONMENT_UNSPECIFIED\n - EXECUTION_ENVIRONMENT_GEN1\n - EXECUTION_ENVIRONMENT_GEN2\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: KRM-style labels for the resource.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: The unique name for the revision. If this field is omitted,\n it will be automatically generated based on the Service name.\n scaling:\n type: object\n x-dcl-go-name: Scaling\n x-dcl-go-type: ServiceTemplateScaling\n description: Scaling settings for this Revision.\n properties:\n maxInstanceCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxInstanceCount\n description: Maximum number of serving instances that this resource\n should have.\n minInstanceCount:\n type: integer\n format: int64\n x-dcl-go-name: MinInstanceCount\n description: Minimum number of serving instances that this resource\n should have.\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Email address of the IAM service account associated with\n the revision of the service. The service account represents the identity\n of the running revision, and determines what permissions the revision\n has. If not provided, the revision will use the project's default\n service account.\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n timeout:\n type: string\n x-dcl-go-name: Timeout\n description: Max allowed time for an instance to respond to a request.\n x-dcl-server-default: true\n volumes:\n type: array\n x-dcl-go-name: Volumes\n description: A list of Volumes to make available to containers.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateVolumes\n required:\n - name\n properties:\n cloudSqlInstance:\n type: object\n x-dcl-go-name: CloudSqlInstance\n x-dcl-go-type: ServiceTemplateVolumesCloudSqlInstance\n description: For Cloud SQL volumes, contains the specific instances\n that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud Run.\n x-dcl-conflicts:\n - secret\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: 'The Cloud SQL instance connection names, as\n can be found in https://console.cloud.google.com/sql/instances.\n Visit https://cloud.google.com/sql/docs/mysql/connect-run\n for more information on how to connect Cloud SQL and Cloud\n Run. Format: {project}:{location}:{instance}'\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Sql/Instance\n field: instanceName\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. Volume's name.\n secret:\n type: object\n x-dcl-go-name: Secret\n x-dcl-go-type: ServiceTemplateVolumesSecret\n description: 'Secret represents a secret that should populate\n this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'\n x-dcl-conflicts:\n - cloudSqlInstance\n required:\n - secret\n properties:\n defaultMode:\n type: integer\n format: int64\n x-dcl-go-name: DefaultMode\n description: 'Integer representation of mode bits to use on\n created files by default. Must be a value between 0000 and\n 0777 (octal), defaulting to 0644. Directories within the\n path are not affected by this setting. Notes * Internally,\n a umask of 0222 will be applied to any non-zero value. *\n This is an integer representation of the mode bits. So,\n the octal integer value should look exactly as the chmod\n numeric notation with a leading zero. Some examples: for\n chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10).\n For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or\n 493 (base-10). * This might be in conflict with other options\n that affect the file mode, like fsGroup, and the result\n can be other mode bits set. This might be in conflict with\n other options that affect the file mode, like fsGroup, and\n as a result, other mode bits could be set.'\n items:\n type: array\n x-dcl-go-name: Items\n description: If unspecified, the volume will expose a file\n whose name is the secret, relative to VolumeMount.mount_path.\n If specified, the key will be used as the version to fetch\n from Cloud Secret Manager and the path will be the name\n of the file exposed in the volume. When items are defined,\n they must specify a path and a version.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTemplateVolumesSecretItems\n required:\n - path\n properties:\n mode:\n type: integer\n format: int64\n x-dcl-go-name: Mode\n description: 'Integer octal mode bits to use on this\n file, must be a value between 01 and 0777 (octal).\n If 0 or not set, the Volume''s default mode will be\n used. Notes * Internally, a umask of 0222 will be\n applied to any non-zero value. * This is an integer\n representation of the mode bits. So, the octal integer\n value should look exactly as the chmod numeric notation\n with a leading zero. Some examples: for chmod 777\n (a=rwx), set to 0777 (octal) or 511 (base-10). For\n chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10).\n For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal)\n or 493 (base-10). * This might be in conflict with\n other options that affect the file mode, like fsGroup,\n and the result can be other mode bits set.'\n path:\n type: string\n x-dcl-go-name: Path\n description: Required. The relative path of the secret\n in the container.\n version:\n type: string\n x-dcl-go-name: Version\n description: The Cloud Secret Manager secret version.\n Can be 'latest' for the latest value or an integer\n for a specific version.\n x-dcl-references:\n - resource: Secretmanager/SecretVersion\n field: name\n secret:\n type: string\n x-dcl-go-name: Secret\n description: 'Required. The name of the secret in Cloud Secret\n Manager. Format: {secret} if the secret is in the same project.\n projects/{project}/secrets/{secret} if the secret is in\n a different project.'\n x-dcl-references:\n - resource: Secretmanager/Secret\n field: name\n vpcAccess:\n type: object\n x-dcl-go-name: VPCAccess\n x-dcl-go-type: ServiceTemplateVPCAccess\n description: VPC Access configuration to use for this Revision. For\n more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.\n properties:\n connector:\n type: string\n x-dcl-go-name: Connector\n description: 'VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}'\n x-dcl-references:\n - resource: Vpcaccess/Connector\n field: name\n egress:\n type: string\n x-dcl-go-name: Egress\n x-dcl-go-type: ServiceTemplateVPCAccessEgressEnum\n description: 'Traffic VPC egress settings. Possible values: VPC_EGRESS_UNSPECIFIED,\n ALL_TRAFFIC, PRIVATE_RANGES_ONLY'\n enum:\n - VPC_EGRESS_UNSPECIFIED\n - ALL_TRAFFIC\n - PRIVATE_RANGES_ONLY\n terminalCondition:\n type: object\n x-dcl-go-name: TerminalCondition\n x-dcl-go-type: ServiceTerminalCondition\n readOnly: true\n description: Output only. The Condition of this Service, containing its\n readiness status, and detailed error information in case it did not reach\n a serving state. See comments in `reconciling` for additional information\n on reconciliation process in Cloud Run.\n properties:\n jobReason:\n type: string\n x-dcl-go-name: JobReason\n x-dcl-go-type: ServiceTerminalConditionJobReasonEnum\n description: 'A reason for the job condition. Possible values: JOB_REASON_UNDEFINED,\n JOB_STATUS_SERVICE_POLLING_ERROR'\n x-dcl-conflicts:\n - reason\n - revisionReason\n enum:\n - JOB_REASON_UNDEFINED\n - JOB_STATUS_SERVICE_POLLING_ERROR\n lastTransitionTime:\n type: string\n format: date-time\n x-dcl-go-name: LastTransitionTime\n description: Last time the condition transitioned from one status to\n another.\n message:\n type: string\n x-dcl-go-name: Message\n description: Human readable message indicating details about the current\n status.\n reason:\n type: string\n x-dcl-go-name: Reason\n x-dcl-go-type: ServiceTerminalConditionReasonEnum\n description: 'A common (service-level) reason for this condition. Possible\n values: COMMON_REASON_UNDEFINED, UNKNOWN, REVISION_FAILED, PROGRESS_DEADLINE_EXCEEDED,\n CONTAINER_MISSING, CONTAINER_PERMISSION_DENIED, CONTAINER_IMAGE_UNAUTHORIZED,\n CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED, ENCRYPTION_KEY_PERMISSION_DENIED,\n ENCRYPTION_KEY_CHECK_FAILED, SECRETS_ACCESS_CHECK_FAILED, WAITING_FOR_OPERATION,\n IMMEDIATE_RETRY, POSTPONED_RETRY, INTERNAL'\n x-dcl-conflicts:\n - revisionReason\n - jobReason\n enum:\n - COMMON_REASON_UNDEFINED\n - UNKNOWN\n - REVISION_FAILED\n - PROGRESS_DEADLINE_EXCEEDED\n - CONTAINER_MISSING\n - CONTAINER_PERMISSION_DENIED\n - CONTAINER_IMAGE_UNAUTHORIZED\n - CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\n - ENCRYPTION_KEY_PERMISSION_DENIED\n - ENCRYPTION_KEY_CHECK_FAILED\n - SECRETS_ACCESS_CHECK_FAILED\n - WAITING_FOR_OPERATION\n - IMMEDIATE_RETRY\n - POSTPONED_RETRY\n - INTERNAL\n revisionReason:\n type: string\n x-dcl-go-name: RevisionReason\n x-dcl-go-type: ServiceTerminalConditionRevisionReasonEnum\n description: 'A reason for the revision condition. Possible values:\n REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING, RECREATING,\n HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING, MIN_INSTANCES_NOT_PROVISIONED,\n ACTIVE_REVISION_LIMIT_REACHED, NO_DEPLOYMENT'\n x-dcl-conflicts:\n - reason\n - jobReason\n enum:\n - REVISION_REASON_UNDEFINED\n - PENDING\n - RESERVE\n - RETIRED\n - RETIRING\n - RECREATING\n - HEALTH_CHECK_CONTAINER_ERROR\n - CUSTOMIZED_PATH_RESPONSE_PENDING\n - MIN_INSTANCES_NOT_PROVISIONED\n - ACTIVE_REVISION_LIMIT_REACHED\n - NO_DEPLOYMENT\n severity:\n type: string\n x-dcl-go-name: Severity\n x-dcl-go-type: ServiceTerminalConditionSeverityEnum\n description: 'How to interpret failures of this condition, one of Error,\n Warning, Info Possible values: SEVERITY_UNSPECIFIED, ERROR, WARNING,\n INFO'\n enum:\n - SEVERITY_UNSPECIFIED\n - ERROR\n - WARNING\n - INFO\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ServiceTerminalConditionStateEnum\n description: 'State of the condition. Possible values: STATE_UNSPECIFIED,\n CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED, CONDITION_SUCCEEDED'\n enum:\n - STATE_UNSPECIFIED\n - CONDITION_PENDING\n - CONDITION_RECONCILING\n - CONDITION_FAILED\n - CONDITION_SUCCEEDED\n type:\n type: string\n x-dcl-go-name: Type\n description: 'type is used to communicate the status of the reconciliation\n process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting\n Types common to all resources include: * \"Ready\": True when the Resource\n is ready.'\n traffic:\n type: array\n x-dcl-go-name: Traffic\n description: Specifies how to distribute traffic over a collection of Revisions\n belonging to the Service. If traffic is empty or not provided, defaults\n to 100% traffic to the latest `Ready` Revision.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTraffic\n properties:\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies percent of the traffic to this Revision. This\n defaults to zero if unspecified. Cloud Run currently requires 100\n percent for a single TrafficTarget entry.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: Revision to which to send this portion of traffic, if\n traffic allocation is by revision.\n tag:\n type: string\n x-dcl-go-name: Tag\n description: Indicates a string to be part of the URI to exclusively\n reference this target.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ServiceTrafficTypeEnum\n description: 'The allocation type for this traffic target. Possible\n values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST,\n TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION'\n enum:\n - TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED\n - TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\n - TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION\n trafficStatuses:\n type: array\n x-dcl-go-name: TrafficStatuses\n readOnly: true\n description: Output only. Detailed status information for corresponding\n traffic targets. See comments in `reconciling` for additional information\n on reconciliation process in Cloud Run.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ServiceTrafficStatuses\n properties:\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies percent of the traffic to this Revision.\n revision:\n type: string\n x-dcl-go-name: Revision\n description: Revision to which this traffic is sent.\n tag:\n type: string\n x-dcl-go-name: Tag\n description: Indicates the string used in the URI to exclusively reference\n this target.\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ServiceTrafficStatusesTypeEnum\n description: 'The allocation type for this traffic target. Possible\n values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST,\n TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION'\n enum:\n - TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED\n - TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\n - TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION\n uri:\n type: string\n x-dcl-go-name: Uri\n description: Displays the target URI.\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the trigger.\n The value is a UUID4 string and guaranteed to remain unchanged until the\n resource is deleted.\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. The last-modified time.\n x-kubernetes-immutable: true\n uri:\n type: string\n x-dcl-go-name: Uri\n readOnly: true\n description: Output only. The main URI in which this Service is serving\n traffic.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/run/alpha/service.yaml
Functions ¶
func DCLJobSchema ¶ added in v1.10.3
func DCLServiceSchema ¶ added in v1.10.3
func EncodeServiceCreateRequest ¶
EncodeServiceCreateRequest properly encodes the create request for a Cloud Run Service.
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) ApplyService ¶
func (*Client) DeleteAllJob ¶
func (c *Client) DeleteAllJob(ctx context.Context, project, location string, filter func(*Job) bool) error
DeleteAllJob deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllService ¶
func (c *Client) DeleteAllService(ctx context.Context, project, location string, filter func(*Service) bool) error
DeleteAllService deletes all resources that the filter functions returns true on.
func (*Client) DeleteService ¶
func (*Client) GetService ¶
func (*Client) ListJobWithMaxResults ¶
func (*Client) ListService ¶
func (*Client) ListServiceWithMaxResults ¶
type Job ¶
type Job struct { Name *string `json:"name"` Uid *string `json:"uid"` Generation *int64 `json:"generation"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` DeleteTime *string `json:"deleteTime"` ExpireTime *string `json:"expireTime"` Creator *string `json:"creator"` LastModifier *string `json:"lastModifier"` Client *string `json:"client"` ClientVersion *string `json:"clientVersion"` LaunchStage *JobLaunchStageEnum `json:"launchStage"` BinaryAuthorization *JobBinaryAuthorization `json:"binaryAuthorization"` Template *JobTemplate `json:"template"` ObservedGeneration *int64 `json:"observedGeneration"` TerminalCondition *JobTerminalCondition `json:"terminalCondition"` Conditions []JobConditions `json:"conditions"` ExecutionCount *int64 `json:"executionCount"` LatestSucceededExecution *JobLatestSucceededExecution `json:"latestSucceededExecution"` LatestCreatedExecution *JobLatestCreatedExecution `json:"latestCreatedExecution"` Reconciling *bool `json:"reconciling"` Etag *string `json:"etag"` Project *string `json:"project"` Location *string `json:"location"` }
func (*Job) Describe ¶
func (r *Job) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Job) IAMPolicyVersion ¶
func (*Job) SetPolicyURL ¶
func (*Job) SetPolicyVerb ¶
type JobBinaryAuthorization ¶
type JobBinaryAuthorization struct { UseDefault *bool `json:"useDefault"` BreakglassJustification *string `json:"breakglassJustification"` // contains filtered or unexported fields }
var EmptyJobBinaryAuthorization *JobBinaryAuthorization = &JobBinaryAuthorization{empty: true}
This object is used to assert a desired state where this JobBinaryAuthorization is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobBinaryAuthorization) Empty ¶
func (r *JobBinaryAuthorization) Empty() bool
func (*JobBinaryAuthorization) HashCode ¶
func (r *JobBinaryAuthorization) HashCode() string
func (*JobBinaryAuthorization) String ¶
func (r *JobBinaryAuthorization) String() string
func (*JobBinaryAuthorization) UnmarshalJSON ¶
func (r *JobBinaryAuthorization) UnmarshalJSON(data []byte) error
type JobConditions ¶
type JobConditions struct { Type *string `json:"type"` State *JobConditionsStateEnum `json:"state"` Message *string `json:"message"` LastTransitionTime *string `json:"lastTransitionTime"` Severity *JobConditionsSeverityEnum `json:"severity"` Reason *JobConditionsReasonEnum `json:"reason"` RevisionReason *JobConditionsRevisionReasonEnum `json:"revisionReason"` ExecutionReason *JobConditionsExecutionReasonEnum `json:"executionReason"` // contains filtered or unexported fields }
var EmptyJobConditions *JobConditions = &JobConditions{empty: true}
This object is used to assert a desired state where this JobConditions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobConditions) Empty ¶
func (r *JobConditions) Empty() bool
func (*JobConditions) HashCode ¶
func (r *JobConditions) HashCode() string
func (*JobConditions) String ¶
func (r *JobConditions) String() string
func (*JobConditions) UnmarshalJSON ¶
func (r *JobConditions) UnmarshalJSON(data []byte) error
type JobConditionsExecutionReasonEnum ¶
type JobConditionsExecutionReasonEnum string
The enum JobConditionsExecutionReasonEnum.
func JobConditionsExecutionReasonEnumRef ¶
func JobConditionsExecutionReasonEnumRef(s string) *JobConditionsExecutionReasonEnum
JobConditionsExecutionReasonEnumRef returns a *JobConditionsExecutionReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (JobConditionsExecutionReasonEnum) Validate ¶
func (v JobConditionsExecutionReasonEnum) Validate() error
type JobConditionsReasonEnum ¶
type JobConditionsReasonEnum string
The enum JobConditionsReasonEnum.
func JobConditionsReasonEnumRef ¶
func JobConditionsReasonEnumRef(s string) *JobConditionsReasonEnum
JobConditionsReasonEnumRef returns a *JobConditionsReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (JobConditionsReasonEnum) Validate ¶
func (v JobConditionsReasonEnum) Validate() error
type JobConditionsRevisionReasonEnum ¶
type JobConditionsRevisionReasonEnum string
The enum JobConditionsRevisionReasonEnum.
func JobConditionsRevisionReasonEnumRef ¶
func JobConditionsRevisionReasonEnumRef(s string) *JobConditionsRevisionReasonEnum
JobConditionsRevisionReasonEnumRef returns a *JobConditionsRevisionReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (JobConditionsRevisionReasonEnum) Validate ¶
func (v JobConditionsRevisionReasonEnum) Validate() error
type JobConditionsSeverityEnum ¶
type JobConditionsSeverityEnum string
The enum JobConditionsSeverityEnum.
func JobConditionsSeverityEnumRef ¶
func JobConditionsSeverityEnumRef(s string) *JobConditionsSeverityEnum
JobConditionsSeverityEnumRef returns a *JobConditionsSeverityEnum with the value of string s If the empty string is provided, nil is returned.
func (JobConditionsSeverityEnum) Validate ¶
func (v JobConditionsSeverityEnum) Validate() error
type JobConditionsStateEnum ¶
type JobConditionsStateEnum string
The enum JobConditionsStateEnum.
func JobConditionsStateEnumRef ¶
func JobConditionsStateEnumRef(s string) *JobConditionsStateEnum
JobConditionsStateEnumRef returns a *JobConditionsStateEnum with the value of string s If the empty string is provided, nil is returned.
func (JobConditionsStateEnum) Validate ¶
func (v JobConditionsStateEnum) Validate() error
type JobLatestCreatedExecution ¶
type JobLatestCreatedExecution struct { Name *string `json:"name"` CreateTime *string `json:"createTime"` // contains filtered or unexported fields }
var EmptyJobLatestCreatedExecution *JobLatestCreatedExecution = &JobLatestCreatedExecution{empty: true}
This object is used to assert a desired state where this JobLatestCreatedExecution is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobLatestCreatedExecution) Empty ¶
func (r *JobLatestCreatedExecution) Empty() bool
func (*JobLatestCreatedExecution) HashCode ¶
func (r *JobLatestCreatedExecution) HashCode() string
func (*JobLatestCreatedExecution) String ¶
func (r *JobLatestCreatedExecution) String() string
func (*JobLatestCreatedExecution) UnmarshalJSON ¶
func (r *JobLatestCreatedExecution) UnmarshalJSON(data []byte) error
type JobLatestSucceededExecution ¶
type JobLatestSucceededExecution struct { Name *string `json:"name"` CreateTime *string `json:"createTime"` // contains filtered or unexported fields }
var EmptyJobLatestSucceededExecution *JobLatestSucceededExecution = &JobLatestSucceededExecution{empty: true}
This object is used to assert a desired state where this JobLatestSucceededExecution is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobLatestSucceededExecution) Empty ¶
func (r *JobLatestSucceededExecution) Empty() bool
func (*JobLatestSucceededExecution) HashCode ¶
func (r *JobLatestSucceededExecution) HashCode() string
func (*JobLatestSucceededExecution) String ¶
func (r *JobLatestSucceededExecution) String() string
func (*JobLatestSucceededExecution) UnmarshalJSON ¶
func (r *JobLatestSucceededExecution) UnmarshalJSON(data []byte) error
type JobLaunchStageEnum ¶
type JobLaunchStageEnum string
The enum JobLaunchStageEnum.
func JobLaunchStageEnumRef ¶
func JobLaunchStageEnumRef(s string) *JobLaunchStageEnum
JobLaunchStageEnumRef returns a *JobLaunchStageEnum with the value of string s If the empty string is provided, nil is returned.
func (JobLaunchStageEnum) Validate ¶
func (v JobLaunchStageEnum) Validate() error
type JobTemplate ¶
type JobTemplate struct { Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` Parallelism *int64 `json:"parallelism"` TaskCount *int64 `json:"taskCount"` Template *JobTemplateTemplate `json:"template"` // contains filtered or unexported fields }
var EmptyJobTemplate *JobTemplate = &JobTemplate{empty: true}
This object is used to assert a desired state where this JobTemplate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplate) Empty ¶
func (r *JobTemplate) Empty() bool
func (*JobTemplate) HashCode ¶
func (r *JobTemplate) HashCode() string
func (*JobTemplate) String ¶
func (r *JobTemplate) String() string
func (*JobTemplate) UnmarshalJSON ¶
func (r *JobTemplate) UnmarshalJSON(data []byte) error
type JobTemplateTemplate ¶
type JobTemplateTemplate struct { Containers []JobTemplateTemplateContainers `json:"containers"` Volumes []JobTemplateTemplateVolumes `json:"volumes"` MaxRetries *int64 `json:"maxRetries"` Timeout *string `json:"timeout"` ServiceAccount *string `json:"serviceAccount"` ExecutionEnvironment *JobTemplateTemplateExecutionEnvironmentEnum `json:"executionEnvironment"` EncryptionKey *string `json:"encryptionKey"` VPCAccess *JobTemplateTemplateVPCAccess `json:"vpcAccess"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplate *JobTemplateTemplate = &JobTemplateTemplate{empty: true}
This object is used to assert a desired state where this JobTemplateTemplate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplate) Empty ¶
func (r *JobTemplateTemplate) Empty() bool
func (*JobTemplateTemplate) HashCode ¶
func (r *JobTemplateTemplate) HashCode() string
func (*JobTemplateTemplate) String ¶
func (r *JobTemplateTemplate) String() string
func (*JobTemplateTemplate) UnmarshalJSON ¶
func (r *JobTemplateTemplate) UnmarshalJSON(data []byte) error
type JobTemplateTemplateContainers ¶
type JobTemplateTemplateContainers struct { Name *string `json:"name"` Image *string `json:"image"` Command []string `json:"command"` Args []string `json:"args"` Env []JobTemplateTemplateContainersEnv `json:"env"` Resources *JobTemplateTemplateContainersResources `json:"resources"` Ports []JobTemplateTemplateContainersPorts `json:"ports"` VolumeMounts []JobTemplateTemplateContainersVolumeMounts `json:"volumeMounts"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateContainers *JobTemplateTemplateContainers = &JobTemplateTemplateContainers{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateContainers is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateContainers) Empty ¶
func (r *JobTemplateTemplateContainers) Empty() bool
func (*JobTemplateTemplateContainers) HashCode ¶
func (r *JobTemplateTemplateContainers) HashCode() string
func (*JobTemplateTemplateContainers) String ¶
func (r *JobTemplateTemplateContainers) String() string
func (*JobTemplateTemplateContainers) UnmarshalJSON ¶
func (r *JobTemplateTemplateContainers) UnmarshalJSON(data []byte) error
type JobTemplateTemplateContainersEnv ¶
type JobTemplateTemplateContainersEnv struct { Name *string `json:"name"` Value *string `json:"value"` ValueSource *JobTemplateTemplateContainersEnvValueSource `json:"valueSource"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateContainersEnv *JobTemplateTemplateContainersEnv = &JobTemplateTemplateContainersEnv{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateContainersEnv is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateContainersEnv) Empty ¶
func (r *JobTemplateTemplateContainersEnv) Empty() bool
func (*JobTemplateTemplateContainersEnv) HashCode ¶
func (r *JobTemplateTemplateContainersEnv) HashCode() string
func (*JobTemplateTemplateContainersEnv) String ¶
func (r *JobTemplateTemplateContainersEnv) String() string
func (*JobTemplateTemplateContainersEnv) UnmarshalJSON ¶
func (r *JobTemplateTemplateContainersEnv) UnmarshalJSON(data []byte) error
type JobTemplateTemplateContainersEnvValueSource ¶
type JobTemplateTemplateContainersEnvValueSource struct { SecretKeyRef *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef `json:"secretKeyRef"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateContainersEnvValueSource *JobTemplateTemplateContainersEnvValueSource = &JobTemplateTemplateContainersEnvValueSource{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateContainersEnvValueSource is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateContainersEnvValueSource) Empty ¶
func (r *JobTemplateTemplateContainersEnvValueSource) Empty() bool
func (*JobTemplateTemplateContainersEnvValueSource) HashCode ¶
func (r *JobTemplateTemplateContainersEnvValueSource) HashCode() string
func (*JobTemplateTemplateContainersEnvValueSource) String ¶
func (r *JobTemplateTemplateContainersEnvValueSource) String() string
func (*JobTemplateTemplateContainersEnvValueSource) UnmarshalJSON ¶
func (r *JobTemplateTemplateContainersEnvValueSource) UnmarshalJSON(data []byte) error
type JobTemplateTemplateContainersEnvValueSourceSecretKeyRef ¶
type JobTemplateTemplateContainersEnvValueSourceSecretKeyRef struct { Secret *string `json:"secret"` Version *string `json:"version"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateContainersEnvValueSourceSecretKeyRef *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef = &JobTemplateTemplateContainersEnvValueSourceSecretKeyRef{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateContainersEnvValueSourceSecretKeyRef is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) Empty ¶
func (r *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) Empty() bool
func (*JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) HashCode ¶
func (r *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) HashCode() string
func (*JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) String ¶
func (r *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) String() string
func (*JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) UnmarshalJSON ¶
func (r *JobTemplateTemplateContainersEnvValueSourceSecretKeyRef) UnmarshalJSON(data []byte) error
type JobTemplateTemplateContainersPorts ¶
type JobTemplateTemplateContainersPorts struct { Name *string `json:"name"` ContainerPort *int64 `json:"containerPort"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateContainersPorts *JobTemplateTemplateContainersPorts = &JobTemplateTemplateContainersPorts{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateContainersPorts is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateContainersPorts) Empty ¶
func (r *JobTemplateTemplateContainersPorts) Empty() bool
func (*JobTemplateTemplateContainersPorts) HashCode ¶
func (r *JobTemplateTemplateContainersPorts) HashCode() string
func (*JobTemplateTemplateContainersPorts) String ¶
func (r *JobTemplateTemplateContainersPorts) String() string
func (*JobTemplateTemplateContainersPorts) UnmarshalJSON ¶
func (r *JobTemplateTemplateContainersPorts) UnmarshalJSON(data []byte) error
type JobTemplateTemplateContainersResources ¶
type JobTemplateTemplateContainersResources struct { Limits map[string]string `json:"limits"` CpuIdle *bool `json:"cpuIdle"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateContainersResources *JobTemplateTemplateContainersResources = &JobTemplateTemplateContainersResources{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateContainersResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateContainersResources) Empty ¶
func (r *JobTemplateTemplateContainersResources) Empty() bool
func (*JobTemplateTemplateContainersResources) HashCode ¶
func (r *JobTemplateTemplateContainersResources) HashCode() string
func (*JobTemplateTemplateContainersResources) String ¶
func (r *JobTemplateTemplateContainersResources) String() string
func (*JobTemplateTemplateContainersResources) UnmarshalJSON ¶
func (r *JobTemplateTemplateContainersResources) UnmarshalJSON(data []byte) error
type JobTemplateTemplateContainersVolumeMounts ¶
type JobTemplateTemplateContainersVolumeMounts struct { Name *string `json:"name"` MountPath *string `json:"mountPath"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateContainersVolumeMounts *JobTemplateTemplateContainersVolumeMounts = &JobTemplateTemplateContainersVolumeMounts{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateContainersVolumeMounts is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateContainersVolumeMounts) Empty ¶
func (r *JobTemplateTemplateContainersVolumeMounts) Empty() bool
func (*JobTemplateTemplateContainersVolumeMounts) HashCode ¶
func (r *JobTemplateTemplateContainersVolumeMounts) HashCode() string
func (*JobTemplateTemplateContainersVolumeMounts) String ¶
func (r *JobTemplateTemplateContainersVolumeMounts) String() string
func (*JobTemplateTemplateContainersVolumeMounts) UnmarshalJSON ¶
func (r *JobTemplateTemplateContainersVolumeMounts) UnmarshalJSON(data []byte) error
type JobTemplateTemplateExecutionEnvironmentEnum ¶
type JobTemplateTemplateExecutionEnvironmentEnum string
The enum JobTemplateTemplateExecutionEnvironmentEnum.
func JobTemplateTemplateExecutionEnvironmentEnumRef ¶
func JobTemplateTemplateExecutionEnvironmentEnumRef(s string) *JobTemplateTemplateExecutionEnvironmentEnum
JobTemplateTemplateExecutionEnvironmentEnumRef returns a *JobTemplateTemplateExecutionEnvironmentEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTemplateTemplateExecutionEnvironmentEnum) Validate ¶
func (v JobTemplateTemplateExecutionEnvironmentEnum) Validate() error
type JobTemplateTemplateVPCAccess ¶
type JobTemplateTemplateVPCAccess struct { Connector *string `json:"connector"` Egress *JobTemplateTemplateVPCAccessEgressEnum `json:"egress"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateVPCAccess *JobTemplateTemplateVPCAccess = &JobTemplateTemplateVPCAccess{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateVPCAccess is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateVPCAccess) Empty ¶
func (r *JobTemplateTemplateVPCAccess) Empty() bool
func (*JobTemplateTemplateVPCAccess) HashCode ¶
func (r *JobTemplateTemplateVPCAccess) HashCode() string
func (*JobTemplateTemplateVPCAccess) String ¶
func (r *JobTemplateTemplateVPCAccess) String() string
func (*JobTemplateTemplateVPCAccess) UnmarshalJSON ¶
func (r *JobTemplateTemplateVPCAccess) UnmarshalJSON(data []byte) error
type JobTemplateTemplateVPCAccessEgressEnum ¶
type JobTemplateTemplateVPCAccessEgressEnum string
The enum JobTemplateTemplateVPCAccessEgressEnum.
func JobTemplateTemplateVPCAccessEgressEnumRef ¶
func JobTemplateTemplateVPCAccessEgressEnumRef(s string) *JobTemplateTemplateVPCAccessEgressEnum
JobTemplateTemplateVPCAccessEgressEnumRef returns a *JobTemplateTemplateVPCAccessEgressEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTemplateTemplateVPCAccessEgressEnum) Validate ¶
func (v JobTemplateTemplateVPCAccessEgressEnum) Validate() error
type JobTemplateTemplateVolumes ¶
type JobTemplateTemplateVolumes struct { Name *string `json:"name"` Secret *JobTemplateTemplateVolumesSecret `json:"secret"` CloudSqlInstance *JobTemplateTemplateVolumesCloudSqlInstance `json:"cloudSqlInstance"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateVolumes *JobTemplateTemplateVolumes = &JobTemplateTemplateVolumes{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateVolumes is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateVolumes) Empty ¶
func (r *JobTemplateTemplateVolumes) Empty() bool
func (*JobTemplateTemplateVolumes) HashCode ¶
func (r *JobTemplateTemplateVolumes) HashCode() string
func (*JobTemplateTemplateVolumes) String ¶
func (r *JobTemplateTemplateVolumes) String() string
func (*JobTemplateTemplateVolumes) UnmarshalJSON ¶
func (r *JobTemplateTemplateVolumes) UnmarshalJSON(data []byte) error
type JobTemplateTemplateVolumesCloudSqlInstance ¶
type JobTemplateTemplateVolumesCloudSqlInstance struct { Instances []string `json:"instances"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateVolumesCloudSqlInstance *JobTemplateTemplateVolumesCloudSqlInstance = &JobTemplateTemplateVolumesCloudSqlInstance{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateVolumesCloudSqlInstance is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateVolumesCloudSqlInstance) Empty ¶
func (r *JobTemplateTemplateVolumesCloudSqlInstance) Empty() bool
func (*JobTemplateTemplateVolumesCloudSqlInstance) HashCode ¶
func (r *JobTemplateTemplateVolumesCloudSqlInstance) HashCode() string
func (*JobTemplateTemplateVolumesCloudSqlInstance) String ¶
func (r *JobTemplateTemplateVolumesCloudSqlInstance) String() string
func (*JobTemplateTemplateVolumesCloudSqlInstance) UnmarshalJSON ¶
func (r *JobTemplateTemplateVolumesCloudSqlInstance) UnmarshalJSON(data []byte) error
type JobTemplateTemplateVolumesSecret ¶
type JobTemplateTemplateVolumesSecret struct { Secret *string `json:"secret"` Items []JobTemplateTemplateVolumesSecretItems `json:"items"` DefaultMode *int64 `json:"defaultMode"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateVolumesSecret *JobTemplateTemplateVolumesSecret = &JobTemplateTemplateVolumesSecret{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateVolumesSecret is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateVolumesSecret) Empty ¶
func (r *JobTemplateTemplateVolumesSecret) Empty() bool
func (*JobTemplateTemplateVolumesSecret) HashCode ¶
func (r *JobTemplateTemplateVolumesSecret) HashCode() string
func (*JobTemplateTemplateVolumesSecret) String ¶
func (r *JobTemplateTemplateVolumesSecret) String() string
func (*JobTemplateTemplateVolumesSecret) UnmarshalJSON ¶
func (r *JobTemplateTemplateVolumesSecret) UnmarshalJSON(data []byte) error
type JobTemplateTemplateVolumesSecretItems ¶
type JobTemplateTemplateVolumesSecretItems struct { Path *string `json:"path"` Version *string `json:"version"` Mode *int64 `json:"mode"` // contains filtered or unexported fields }
var EmptyJobTemplateTemplateVolumesSecretItems *JobTemplateTemplateVolumesSecretItems = &JobTemplateTemplateVolumesSecretItems{empty: true}
This object is used to assert a desired state where this JobTemplateTemplateVolumesSecretItems is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTemplateTemplateVolumesSecretItems) Empty ¶
func (r *JobTemplateTemplateVolumesSecretItems) Empty() bool
func (*JobTemplateTemplateVolumesSecretItems) HashCode ¶
func (r *JobTemplateTemplateVolumesSecretItems) HashCode() string
func (*JobTemplateTemplateVolumesSecretItems) String ¶
func (r *JobTemplateTemplateVolumesSecretItems) String() string
func (*JobTemplateTemplateVolumesSecretItems) UnmarshalJSON ¶
func (r *JobTemplateTemplateVolumesSecretItems) UnmarshalJSON(data []byte) error
type JobTerminalCondition ¶
type JobTerminalCondition struct { Type *string `json:"type"` State *JobTerminalConditionStateEnum `json:"state"` Message *string `json:"message"` LastTransitionTime *string `json:"lastTransitionTime"` Severity *JobTerminalConditionSeverityEnum `json:"severity"` Reason *JobTerminalConditionReasonEnum `json:"reason"` InternalReason *JobTerminalConditionInternalReasonEnum `json:"internalReason"` DomainMappingReason *JobTerminalConditionDomainMappingReasonEnum `json:"domainMappingReason"` RevisionReason *JobTerminalConditionRevisionReasonEnum `json:"revisionReason"` ExecutionReason *JobTerminalConditionExecutionReasonEnum `json:"executionReason"` // contains filtered or unexported fields }
var EmptyJobTerminalCondition *JobTerminalCondition = &JobTerminalCondition{empty: true}
This object is used to assert a desired state where this JobTerminalCondition is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*JobTerminalCondition) Empty ¶
func (r *JobTerminalCondition) Empty() bool
func (*JobTerminalCondition) HashCode ¶
func (r *JobTerminalCondition) HashCode() string
func (*JobTerminalCondition) String ¶
func (r *JobTerminalCondition) String() string
func (*JobTerminalCondition) UnmarshalJSON ¶
func (r *JobTerminalCondition) UnmarshalJSON(data []byte) error
type JobTerminalConditionDomainMappingReasonEnum ¶
type JobTerminalConditionDomainMappingReasonEnum string
The enum JobTerminalConditionDomainMappingReasonEnum.
func JobTerminalConditionDomainMappingReasonEnumRef ¶
func JobTerminalConditionDomainMappingReasonEnumRef(s string) *JobTerminalConditionDomainMappingReasonEnum
JobTerminalConditionDomainMappingReasonEnumRef returns a *JobTerminalConditionDomainMappingReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTerminalConditionDomainMappingReasonEnum) Validate ¶
func (v JobTerminalConditionDomainMappingReasonEnum) Validate() error
type JobTerminalConditionExecutionReasonEnum ¶
type JobTerminalConditionExecutionReasonEnum string
The enum JobTerminalConditionExecutionReasonEnum.
func JobTerminalConditionExecutionReasonEnumRef ¶
func JobTerminalConditionExecutionReasonEnumRef(s string) *JobTerminalConditionExecutionReasonEnum
JobTerminalConditionExecutionReasonEnumRef returns a *JobTerminalConditionExecutionReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTerminalConditionExecutionReasonEnum) Validate ¶
func (v JobTerminalConditionExecutionReasonEnum) Validate() error
type JobTerminalConditionInternalReasonEnum ¶
type JobTerminalConditionInternalReasonEnum string
The enum JobTerminalConditionInternalReasonEnum.
func JobTerminalConditionInternalReasonEnumRef ¶
func JobTerminalConditionInternalReasonEnumRef(s string) *JobTerminalConditionInternalReasonEnum
JobTerminalConditionInternalReasonEnumRef returns a *JobTerminalConditionInternalReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTerminalConditionInternalReasonEnum) Validate ¶
func (v JobTerminalConditionInternalReasonEnum) Validate() error
type JobTerminalConditionReasonEnum ¶
type JobTerminalConditionReasonEnum string
The enum JobTerminalConditionReasonEnum.
func JobTerminalConditionReasonEnumRef ¶
func JobTerminalConditionReasonEnumRef(s string) *JobTerminalConditionReasonEnum
JobTerminalConditionReasonEnumRef returns a *JobTerminalConditionReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTerminalConditionReasonEnum) Validate ¶
func (v JobTerminalConditionReasonEnum) Validate() error
type JobTerminalConditionRevisionReasonEnum ¶
type JobTerminalConditionRevisionReasonEnum string
The enum JobTerminalConditionRevisionReasonEnum.
func JobTerminalConditionRevisionReasonEnumRef ¶
func JobTerminalConditionRevisionReasonEnumRef(s string) *JobTerminalConditionRevisionReasonEnum
JobTerminalConditionRevisionReasonEnumRef returns a *JobTerminalConditionRevisionReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTerminalConditionRevisionReasonEnum) Validate ¶
func (v JobTerminalConditionRevisionReasonEnum) Validate() error
type JobTerminalConditionSeverityEnum ¶
type JobTerminalConditionSeverityEnum string
The enum JobTerminalConditionSeverityEnum.
func JobTerminalConditionSeverityEnumRef ¶
func JobTerminalConditionSeverityEnumRef(s string) *JobTerminalConditionSeverityEnum
JobTerminalConditionSeverityEnumRef returns a *JobTerminalConditionSeverityEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTerminalConditionSeverityEnum) Validate ¶
func (v JobTerminalConditionSeverityEnum) Validate() error
type JobTerminalConditionStateEnum ¶
type JobTerminalConditionStateEnum string
The enum JobTerminalConditionStateEnum.
func JobTerminalConditionStateEnumRef ¶
func JobTerminalConditionStateEnumRef(s string) *JobTerminalConditionStateEnum
JobTerminalConditionStateEnumRef returns a *JobTerminalConditionStateEnum with the value of string s If the empty string is provided, nil is returned.
func (JobTerminalConditionStateEnum) Validate ¶
func (v JobTerminalConditionStateEnum) Validate() error
type Service ¶
type Service struct { Name *string `json:"name"` Description *string `json:"description"` Uid *string `json:"uid"` Generation *int64 `json:"generation"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` DeleteTime *string `json:"deleteTime"` ExpireTime *string `json:"expireTime"` Creator *string `json:"creator"` LastModifier *string `json:"lastModifier"` Client *string `json:"client"` ClientVersion *string `json:"clientVersion"` Ingress *ServiceIngressEnum `json:"ingress"` LaunchStage *ServiceLaunchStageEnum `json:"launchStage"` BinaryAuthorization *ServiceBinaryAuthorization `json:"binaryAuthorization"` Template *ServiceTemplate `json:"template"` Traffic []ServiceTraffic `json:"traffic"` TerminalCondition *ServiceTerminalCondition `json:"terminalCondition"` LatestReadyRevision *string `json:"latestReadyRevision"` LatestCreatedRevision *string `json:"latestCreatedRevision"` TrafficStatuses []ServiceTrafficStatuses `json:"trafficStatuses"` Uri *string `json:"uri"` Reconciling *bool `json:"reconciling"` Etag *string `json:"etag"` Project *string `json:"project"` Location *string `json:"location"` }
func (*Service) Describe ¶
func (r *Service) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Service) IAMPolicyVersion ¶
func (*Service) SetPolicyURL ¶
func (*Service) SetPolicyVerb ¶
type ServiceBinaryAuthorization ¶
type ServiceBinaryAuthorization struct { UseDefault *bool `json:"useDefault"` BreakglassJustification *string `json:"breakglassJustification"` // contains filtered or unexported fields }
var EmptyServiceBinaryAuthorization *ServiceBinaryAuthorization = &ServiceBinaryAuthorization{empty: true}
This object is used to assert a desired state where this ServiceBinaryAuthorization is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceBinaryAuthorization) Empty ¶
func (r *ServiceBinaryAuthorization) Empty() bool
func (*ServiceBinaryAuthorization) HashCode ¶
func (r *ServiceBinaryAuthorization) HashCode() string
func (*ServiceBinaryAuthorization) String ¶
func (r *ServiceBinaryAuthorization) String() string
func (*ServiceBinaryAuthorization) UnmarshalJSON ¶
func (r *ServiceBinaryAuthorization) UnmarshalJSON(data []byte) error
type ServiceIngressEnum ¶
type ServiceIngressEnum string
The enum ServiceIngressEnum.
func ServiceIngressEnumRef ¶
func ServiceIngressEnumRef(s string) *ServiceIngressEnum
ServiceIngressEnumRef returns a *ServiceIngressEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceIngressEnum) Validate ¶
func (v ServiceIngressEnum) Validate() error
type ServiceLaunchStageEnum ¶
type ServiceLaunchStageEnum string
The enum ServiceLaunchStageEnum.
func ServiceLaunchStageEnumRef ¶
func ServiceLaunchStageEnumRef(s string) *ServiceLaunchStageEnum
ServiceLaunchStageEnumRef returns a *ServiceLaunchStageEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceLaunchStageEnum) Validate ¶
func (v ServiceLaunchStageEnum) Validate() error
type ServiceList ¶
type ServiceList struct { Items []*Service // contains filtered or unexported fields }
func (*ServiceList) HasNext ¶
func (l *ServiceList) HasNext() bool
type ServiceTemplate ¶
type ServiceTemplate struct { Revision *string `json:"revision"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` Scaling *ServiceTemplateScaling `json:"scaling"` VPCAccess *ServiceTemplateVPCAccess `json:"vpcAccess"` ContainerConcurrency *int64 `json:"containerConcurrency"` Timeout *string `json:"timeout"` ServiceAccount *string `json:"serviceAccount"` Containers []ServiceTemplateContainers `json:"containers"` Volumes []ServiceTemplateVolumes `json:"volumes"` ExecutionEnvironment *ServiceTemplateExecutionEnvironmentEnum `json:"executionEnvironment"` // contains filtered or unexported fields }
var EmptyServiceTemplate *ServiceTemplate = &ServiceTemplate{empty: true}
This object is used to assert a desired state where this ServiceTemplate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplate) Empty ¶
func (r *ServiceTemplate) Empty() bool
func (*ServiceTemplate) HashCode ¶
func (r *ServiceTemplate) HashCode() string
func (*ServiceTemplate) String ¶
func (r *ServiceTemplate) String() string
func (*ServiceTemplate) UnmarshalJSON ¶
func (r *ServiceTemplate) UnmarshalJSON(data []byte) error
type ServiceTemplateContainers ¶
type ServiceTemplateContainers struct { Name *string `json:"name"` Image *string `json:"image"` Command []string `json:"command"` Args []string `json:"args"` Env []ServiceTemplateContainersEnv `json:"env"` Resources *ServiceTemplateContainersResources `json:"resources"` Ports []ServiceTemplateContainersPorts `json:"ports"` VolumeMounts []ServiceTemplateContainersVolumeMounts `json:"volumeMounts"` // contains filtered or unexported fields }
var EmptyServiceTemplateContainers *ServiceTemplateContainers = &ServiceTemplateContainers{empty: true}
This object is used to assert a desired state where this ServiceTemplateContainers is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateContainers) Empty ¶
func (r *ServiceTemplateContainers) Empty() bool
func (*ServiceTemplateContainers) HashCode ¶
func (r *ServiceTemplateContainers) HashCode() string
func (*ServiceTemplateContainers) String ¶
func (r *ServiceTemplateContainers) String() string
func (*ServiceTemplateContainers) UnmarshalJSON ¶
func (r *ServiceTemplateContainers) UnmarshalJSON(data []byte) error
type ServiceTemplateContainersEnv ¶
type ServiceTemplateContainersEnv struct { Name *string `json:"name"` Value *string `json:"value"` ValueSource *ServiceTemplateContainersEnvValueSource `json:"valueSource"` // contains filtered or unexported fields }
var EmptyServiceTemplateContainersEnv *ServiceTemplateContainersEnv = &ServiceTemplateContainersEnv{empty: true}
This object is used to assert a desired state where this ServiceTemplateContainersEnv is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateContainersEnv) Empty ¶
func (r *ServiceTemplateContainersEnv) Empty() bool
func (*ServiceTemplateContainersEnv) HashCode ¶
func (r *ServiceTemplateContainersEnv) HashCode() string
func (*ServiceTemplateContainersEnv) String ¶
func (r *ServiceTemplateContainersEnv) String() string
func (*ServiceTemplateContainersEnv) UnmarshalJSON ¶
func (r *ServiceTemplateContainersEnv) UnmarshalJSON(data []byte) error
type ServiceTemplateContainersEnvValueSource ¶
type ServiceTemplateContainersEnvValueSource struct { SecretKeyRef *ServiceTemplateContainersEnvValueSourceSecretKeyRef `json:"secretKeyRef"` // contains filtered or unexported fields }
var EmptyServiceTemplateContainersEnvValueSource *ServiceTemplateContainersEnvValueSource = &ServiceTemplateContainersEnvValueSource{empty: true}
This object is used to assert a desired state where this ServiceTemplateContainersEnvValueSource is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateContainersEnvValueSource) Empty ¶
func (r *ServiceTemplateContainersEnvValueSource) Empty() bool
func (*ServiceTemplateContainersEnvValueSource) HashCode ¶
func (r *ServiceTemplateContainersEnvValueSource) HashCode() string
func (*ServiceTemplateContainersEnvValueSource) String ¶
func (r *ServiceTemplateContainersEnvValueSource) String() string
func (*ServiceTemplateContainersEnvValueSource) UnmarshalJSON ¶
func (r *ServiceTemplateContainersEnvValueSource) UnmarshalJSON(data []byte) error
type ServiceTemplateContainersEnvValueSourceSecretKeyRef ¶
type ServiceTemplateContainersEnvValueSourceSecretKeyRef struct { Secret *string `json:"secret"` Version *string `json:"version"` // contains filtered or unexported fields }
var EmptyServiceTemplateContainersEnvValueSourceSecretKeyRef *ServiceTemplateContainersEnvValueSourceSecretKeyRef = &ServiceTemplateContainersEnvValueSourceSecretKeyRef{empty: true}
This object is used to assert a desired state where this ServiceTemplateContainersEnvValueSourceSecretKeyRef is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateContainersEnvValueSourceSecretKeyRef) Empty ¶
func (r *ServiceTemplateContainersEnvValueSourceSecretKeyRef) Empty() bool
func (*ServiceTemplateContainersEnvValueSourceSecretKeyRef) HashCode ¶
func (r *ServiceTemplateContainersEnvValueSourceSecretKeyRef) HashCode() string
func (*ServiceTemplateContainersEnvValueSourceSecretKeyRef) String ¶
func (r *ServiceTemplateContainersEnvValueSourceSecretKeyRef) String() string
func (*ServiceTemplateContainersEnvValueSourceSecretKeyRef) UnmarshalJSON ¶
func (r *ServiceTemplateContainersEnvValueSourceSecretKeyRef) UnmarshalJSON(data []byte) error
type ServiceTemplateContainersPorts ¶
type ServiceTemplateContainersPorts struct { Name *string `json:"name"` ContainerPort *int64 `json:"containerPort"` // contains filtered or unexported fields }
var EmptyServiceTemplateContainersPorts *ServiceTemplateContainersPorts = &ServiceTemplateContainersPorts{empty: true}
This object is used to assert a desired state where this ServiceTemplateContainersPorts is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateContainersPorts) Empty ¶
func (r *ServiceTemplateContainersPorts) Empty() bool
func (*ServiceTemplateContainersPorts) HashCode ¶
func (r *ServiceTemplateContainersPorts) HashCode() string
func (*ServiceTemplateContainersPorts) String ¶
func (r *ServiceTemplateContainersPorts) String() string
func (*ServiceTemplateContainersPorts) UnmarshalJSON ¶
func (r *ServiceTemplateContainersPorts) UnmarshalJSON(data []byte) error
type ServiceTemplateContainersResources ¶
type ServiceTemplateContainersResources struct { Limits map[string]string `json:"limits"` CpuIdle *bool `json:"cpuIdle"` // contains filtered or unexported fields }
var EmptyServiceTemplateContainersResources *ServiceTemplateContainersResources = &ServiceTemplateContainersResources{empty: true}
This object is used to assert a desired state where this ServiceTemplateContainersResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateContainersResources) Empty ¶
func (r *ServiceTemplateContainersResources) Empty() bool
func (*ServiceTemplateContainersResources) HashCode ¶
func (r *ServiceTemplateContainersResources) HashCode() string
func (*ServiceTemplateContainersResources) String ¶
func (r *ServiceTemplateContainersResources) String() string
func (*ServiceTemplateContainersResources) UnmarshalJSON ¶
func (r *ServiceTemplateContainersResources) UnmarshalJSON(data []byte) error
type ServiceTemplateContainersVolumeMounts ¶
type ServiceTemplateContainersVolumeMounts struct { Name *string `json:"name"` MountPath *string `json:"mountPath"` // contains filtered or unexported fields }
var EmptyServiceTemplateContainersVolumeMounts *ServiceTemplateContainersVolumeMounts = &ServiceTemplateContainersVolumeMounts{empty: true}
This object is used to assert a desired state where this ServiceTemplateContainersVolumeMounts is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateContainersVolumeMounts) Empty ¶
func (r *ServiceTemplateContainersVolumeMounts) Empty() bool
func (*ServiceTemplateContainersVolumeMounts) HashCode ¶
func (r *ServiceTemplateContainersVolumeMounts) HashCode() string
func (*ServiceTemplateContainersVolumeMounts) String ¶
func (r *ServiceTemplateContainersVolumeMounts) String() string
func (*ServiceTemplateContainersVolumeMounts) UnmarshalJSON ¶
func (r *ServiceTemplateContainersVolumeMounts) UnmarshalJSON(data []byte) error
type ServiceTemplateExecutionEnvironmentEnum ¶
type ServiceTemplateExecutionEnvironmentEnum string
The enum ServiceTemplateExecutionEnvironmentEnum.
func ServiceTemplateExecutionEnvironmentEnumRef ¶
func ServiceTemplateExecutionEnvironmentEnumRef(s string) *ServiceTemplateExecutionEnvironmentEnum
ServiceTemplateExecutionEnvironmentEnumRef returns a *ServiceTemplateExecutionEnvironmentEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTemplateExecutionEnvironmentEnum) Validate ¶
func (v ServiceTemplateExecutionEnvironmentEnum) Validate() error
type ServiceTemplateScaling ¶
type ServiceTemplateScaling struct { MinInstanceCount *int64 `json:"minInstanceCount"` MaxInstanceCount *int64 `json:"maxInstanceCount"` // contains filtered or unexported fields }
var EmptyServiceTemplateScaling *ServiceTemplateScaling = &ServiceTemplateScaling{empty: true}
This object is used to assert a desired state where this ServiceTemplateScaling is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateScaling) Empty ¶
func (r *ServiceTemplateScaling) Empty() bool
func (*ServiceTemplateScaling) HashCode ¶
func (r *ServiceTemplateScaling) HashCode() string
func (*ServiceTemplateScaling) String ¶
func (r *ServiceTemplateScaling) String() string
func (*ServiceTemplateScaling) UnmarshalJSON ¶
func (r *ServiceTemplateScaling) UnmarshalJSON(data []byte) error
type ServiceTemplateVPCAccess ¶
type ServiceTemplateVPCAccess struct { Connector *string `json:"connector"` Egress *ServiceTemplateVPCAccessEgressEnum `json:"egress"` // contains filtered or unexported fields }
var EmptyServiceTemplateVPCAccess *ServiceTemplateVPCAccess = &ServiceTemplateVPCAccess{empty: true}
This object is used to assert a desired state where this ServiceTemplateVPCAccess is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateVPCAccess) Empty ¶
func (r *ServiceTemplateVPCAccess) Empty() bool
func (*ServiceTemplateVPCAccess) HashCode ¶
func (r *ServiceTemplateVPCAccess) HashCode() string
func (*ServiceTemplateVPCAccess) String ¶
func (r *ServiceTemplateVPCAccess) String() string
func (*ServiceTemplateVPCAccess) UnmarshalJSON ¶
func (r *ServiceTemplateVPCAccess) UnmarshalJSON(data []byte) error
type ServiceTemplateVPCAccessEgressEnum ¶
type ServiceTemplateVPCAccessEgressEnum string
The enum ServiceTemplateVPCAccessEgressEnum.
func ServiceTemplateVPCAccessEgressEnumRef ¶
func ServiceTemplateVPCAccessEgressEnumRef(s string) *ServiceTemplateVPCAccessEgressEnum
ServiceTemplateVPCAccessEgressEnumRef returns a *ServiceTemplateVPCAccessEgressEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTemplateVPCAccessEgressEnum) Validate ¶
func (v ServiceTemplateVPCAccessEgressEnum) Validate() error
type ServiceTemplateVolumes ¶
type ServiceTemplateVolumes struct { Name *string `json:"name"` Secret *ServiceTemplateVolumesSecret `json:"secret"` CloudSqlInstance *ServiceTemplateVolumesCloudSqlInstance `json:"cloudSqlInstance"` // contains filtered or unexported fields }
var EmptyServiceTemplateVolumes *ServiceTemplateVolumes = &ServiceTemplateVolumes{empty: true}
This object is used to assert a desired state where this ServiceTemplateVolumes is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateVolumes) Empty ¶
func (r *ServiceTemplateVolumes) Empty() bool
func (*ServiceTemplateVolumes) HashCode ¶
func (r *ServiceTemplateVolumes) HashCode() string
func (*ServiceTemplateVolumes) String ¶
func (r *ServiceTemplateVolumes) String() string
func (*ServiceTemplateVolumes) UnmarshalJSON ¶
func (r *ServiceTemplateVolumes) UnmarshalJSON(data []byte) error
type ServiceTemplateVolumesCloudSqlInstance ¶
type ServiceTemplateVolumesCloudSqlInstance struct { Instances []string `json:"instances"` // contains filtered or unexported fields }
var EmptyServiceTemplateVolumesCloudSqlInstance *ServiceTemplateVolumesCloudSqlInstance = &ServiceTemplateVolumesCloudSqlInstance{empty: true}
This object is used to assert a desired state where this ServiceTemplateVolumesCloudSqlInstance is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateVolumesCloudSqlInstance) Empty ¶
func (r *ServiceTemplateVolumesCloudSqlInstance) Empty() bool
func (*ServiceTemplateVolumesCloudSqlInstance) HashCode ¶
func (r *ServiceTemplateVolumesCloudSqlInstance) HashCode() string
func (*ServiceTemplateVolumesCloudSqlInstance) String ¶
func (r *ServiceTemplateVolumesCloudSqlInstance) String() string
func (*ServiceTemplateVolumesCloudSqlInstance) UnmarshalJSON ¶
func (r *ServiceTemplateVolumesCloudSqlInstance) UnmarshalJSON(data []byte) error
type ServiceTemplateVolumesSecret ¶
type ServiceTemplateVolumesSecret struct { Secret *string `json:"secret"` Items []ServiceTemplateVolumesSecretItems `json:"items"` DefaultMode *int64 `json:"defaultMode"` // contains filtered or unexported fields }
var EmptyServiceTemplateVolumesSecret *ServiceTemplateVolumesSecret = &ServiceTemplateVolumesSecret{empty: true}
This object is used to assert a desired state where this ServiceTemplateVolumesSecret is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateVolumesSecret) Empty ¶
func (r *ServiceTemplateVolumesSecret) Empty() bool
func (*ServiceTemplateVolumesSecret) HashCode ¶
func (r *ServiceTemplateVolumesSecret) HashCode() string
func (*ServiceTemplateVolumesSecret) String ¶
func (r *ServiceTemplateVolumesSecret) String() string
func (*ServiceTemplateVolumesSecret) UnmarshalJSON ¶
func (r *ServiceTemplateVolumesSecret) UnmarshalJSON(data []byte) error
type ServiceTemplateVolumesSecretItems ¶
type ServiceTemplateVolumesSecretItems struct { Path *string `json:"path"` Version *string `json:"version"` Mode *int64 `json:"mode"` // contains filtered or unexported fields }
var EmptyServiceTemplateVolumesSecretItems *ServiceTemplateVolumesSecretItems = &ServiceTemplateVolumesSecretItems{empty: true}
This object is used to assert a desired state where this ServiceTemplateVolumesSecretItems is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTemplateVolumesSecretItems) Empty ¶
func (r *ServiceTemplateVolumesSecretItems) Empty() bool
func (*ServiceTemplateVolumesSecretItems) HashCode ¶
func (r *ServiceTemplateVolumesSecretItems) HashCode() string
func (*ServiceTemplateVolumesSecretItems) String ¶
func (r *ServiceTemplateVolumesSecretItems) String() string
func (*ServiceTemplateVolumesSecretItems) UnmarshalJSON ¶
func (r *ServiceTemplateVolumesSecretItems) UnmarshalJSON(data []byte) error
type ServiceTerminalCondition ¶
type ServiceTerminalCondition struct { Type *string `json:"type"` State *ServiceTerminalConditionStateEnum `json:"state"` Message *string `json:"message"` LastTransitionTime *string `json:"lastTransitionTime"` Severity *ServiceTerminalConditionSeverityEnum `json:"severity"` Reason *ServiceTerminalConditionReasonEnum `json:"reason"` RevisionReason *ServiceTerminalConditionRevisionReasonEnum `json:"revisionReason"` JobReason *ServiceTerminalConditionJobReasonEnum `json:"jobReason"` // contains filtered or unexported fields }
var EmptyServiceTerminalCondition *ServiceTerminalCondition = &ServiceTerminalCondition{empty: true}
This object is used to assert a desired state where this ServiceTerminalCondition is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTerminalCondition) Empty ¶
func (r *ServiceTerminalCondition) Empty() bool
func (*ServiceTerminalCondition) HashCode ¶
func (r *ServiceTerminalCondition) HashCode() string
func (*ServiceTerminalCondition) String ¶
func (r *ServiceTerminalCondition) String() string
func (*ServiceTerminalCondition) UnmarshalJSON ¶
func (r *ServiceTerminalCondition) UnmarshalJSON(data []byte) error
type ServiceTerminalConditionJobReasonEnum ¶
type ServiceTerminalConditionJobReasonEnum string
The enum ServiceTerminalConditionJobReasonEnum.
func ServiceTerminalConditionJobReasonEnumRef ¶
func ServiceTerminalConditionJobReasonEnumRef(s string) *ServiceTerminalConditionJobReasonEnum
ServiceTerminalConditionJobReasonEnumRef returns a *ServiceTerminalConditionJobReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTerminalConditionJobReasonEnum) Validate ¶
func (v ServiceTerminalConditionJobReasonEnum) Validate() error
type ServiceTerminalConditionReasonEnum ¶
type ServiceTerminalConditionReasonEnum string
The enum ServiceTerminalConditionReasonEnum.
func ServiceTerminalConditionReasonEnumRef ¶
func ServiceTerminalConditionReasonEnumRef(s string) *ServiceTerminalConditionReasonEnum
ServiceTerminalConditionReasonEnumRef returns a *ServiceTerminalConditionReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTerminalConditionReasonEnum) Validate ¶
func (v ServiceTerminalConditionReasonEnum) Validate() error
type ServiceTerminalConditionRevisionReasonEnum ¶
type ServiceTerminalConditionRevisionReasonEnum string
The enum ServiceTerminalConditionRevisionReasonEnum.
func ServiceTerminalConditionRevisionReasonEnumRef ¶
func ServiceTerminalConditionRevisionReasonEnumRef(s string) *ServiceTerminalConditionRevisionReasonEnum
ServiceTerminalConditionRevisionReasonEnumRef returns a *ServiceTerminalConditionRevisionReasonEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTerminalConditionRevisionReasonEnum) Validate ¶
func (v ServiceTerminalConditionRevisionReasonEnum) Validate() error
type ServiceTerminalConditionSeverityEnum ¶
type ServiceTerminalConditionSeverityEnum string
The enum ServiceTerminalConditionSeverityEnum.
func ServiceTerminalConditionSeverityEnumRef ¶
func ServiceTerminalConditionSeverityEnumRef(s string) *ServiceTerminalConditionSeverityEnum
ServiceTerminalConditionSeverityEnumRef returns a *ServiceTerminalConditionSeverityEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTerminalConditionSeverityEnum) Validate ¶
func (v ServiceTerminalConditionSeverityEnum) Validate() error
type ServiceTerminalConditionStateEnum ¶
type ServiceTerminalConditionStateEnum string
The enum ServiceTerminalConditionStateEnum.
func ServiceTerminalConditionStateEnumRef ¶
func ServiceTerminalConditionStateEnumRef(s string) *ServiceTerminalConditionStateEnum
ServiceTerminalConditionStateEnumRef returns a *ServiceTerminalConditionStateEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTerminalConditionStateEnum) Validate ¶
func (v ServiceTerminalConditionStateEnum) Validate() error
type ServiceTraffic ¶
type ServiceTraffic struct { Type *ServiceTrafficTypeEnum `json:"type"` Revision *string `json:"revision"` Percent *int64 `json:"percent"` Tag *string `json:"tag"` // contains filtered or unexported fields }
var EmptyServiceTraffic *ServiceTraffic = &ServiceTraffic{empty: true}
This object is used to assert a desired state where this ServiceTraffic is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTraffic) Empty ¶
func (r *ServiceTraffic) Empty() bool
func (*ServiceTraffic) HashCode ¶
func (r *ServiceTraffic) HashCode() string
func (*ServiceTraffic) String ¶
func (r *ServiceTraffic) String() string
func (*ServiceTraffic) UnmarshalJSON ¶
func (r *ServiceTraffic) UnmarshalJSON(data []byte) error
type ServiceTrafficStatuses ¶
type ServiceTrafficStatuses struct { Type *ServiceTrafficStatusesTypeEnum `json:"type"` Revision *string `json:"revision"` Percent *int64 `json:"percent"` Tag *string `json:"tag"` Uri *string `json:"uri"` // contains filtered or unexported fields }
var EmptyServiceTrafficStatuses *ServiceTrafficStatuses = &ServiceTrafficStatuses{empty: true}
This object is used to assert a desired state where this ServiceTrafficStatuses is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ServiceTrafficStatuses) Empty ¶
func (r *ServiceTrafficStatuses) Empty() bool
func (*ServiceTrafficStatuses) HashCode ¶
func (r *ServiceTrafficStatuses) HashCode() string
func (*ServiceTrafficStatuses) String ¶
func (r *ServiceTrafficStatuses) String() string
func (*ServiceTrafficStatuses) UnmarshalJSON ¶
func (r *ServiceTrafficStatuses) UnmarshalJSON(data []byte) error
type ServiceTrafficStatusesTypeEnum ¶
type ServiceTrafficStatusesTypeEnum string
The enum ServiceTrafficStatusesTypeEnum.
func ServiceTrafficStatusesTypeEnumRef ¶
func ServiceTrafficStatusesTypeEnumRef(s string) *ServiceTrafficStatusesTypeEnum
ServiceTrafficStatusesTypeEnumRef returns a *ServiceTrafficStatusesTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTrafficStatusesTypeEnum) Validate ¶
func (v ServiceTrafficStatusesTypeEnum) Validate() error
type ServiceTrafficTypeEnum ¶
type ServiceTrafficTypeEnum string
The enum ServiceTrafficTypeEnum.
func ServiceTrafficTypeEnumRef ¶
func ServiceTrafficTypeEnumRef(s string) *ServiceTrafficTypeEnum
ServiceTrafficTypeEnumRef returns a *ServiceTrafficTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (ServiceTrafficTypeEnum) Validate ¶
func (v ServiceTrafficTypeEnum) Validate() error