v1beta1

package
v1.118.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for run/v1beta1 API group

Package v1beta1 contains API Schema definitions for the run v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/run +k8s:defaulter-gen=TypeMeta +groupName=run.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "run.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	RunJobGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(RunJob{}).Name(),
	}

	RunServiceGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(RunService{}).Name(),
	}
)

Functions

This section is empty.

Types

type JobBinaryAuthorization added in v1.106.0

type JobBinaryAuthorization struct {
	/* If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass. */
	// +optional
	BreakglassJustification *string `json:"breakglassJustification,omitempty"`

	/* If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled. */
	// +optional
	UseDefault *bool `json:"useDefault,omitempty"`
}

func (*JobBinaryAuthorization) DeepCopy added in v1.106.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobBinaryAuthorization.

func (*JobBinaryAuthorization) DeepCopyInto added in v1.106.0

func (in *JobBinaryAuthorization) DeepCopyInto(out *JobBinaryAuthorization)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobContainers added in v1.106.0

type JobContainers struct {
	/* Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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. */
	// +optional
	Args []string `json:"args,omitempty"`

	/* Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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. */
	// +optional
	Command []string `json:"command,omitempty"`

	/* List of environment variables to set in the container. */
	// +optional
	Env []JobEnv `json:"env,omitempty"`

	/* URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images. */
	Image string `json:"image"`

	/* DEPRECATED. `liveness_probe` is deprecated. This field is not supported by the Cloud Run API. Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	This field is not supported in Cloud Run Job currently. */
	// +optional
	LivenessProbe *JobLivenessProbe `json:"livenessProbe,omitempty"`

	/* Name of the container specified as a DNS_LABEL. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.

	If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on. */
	// +optional
	Ports []JobPorts `json:"ports,omitempty"`

	/* Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources. */
	// +optional
	Resources *JobResources `json:"resources,omitempty"`

	/* DEPRECATED. `startup_probe` is deprecated. This field is not supported by the Cloud Run API. Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	This field is not supported in Cloud Run Job currently. */
	// +optional
	StartupProbe *JobStartupProbe `json:"startupProbe,omitempty"`

	/* Volume to mount into the container's filesystem. */
	// +optional
	VolumeMounts []JobVolumeMounts `json:"volumeMounts,omitempty"`

	/* Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. */
	// +optional
	WorkingDir *string `json:"workingDir,omitempty"`
}

func (*JobContainers) DeepCopy added in v1.106.0

func (in *JobContainers) DeepCopy() *JobContainers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobContainers.

func (*JobContainers) DeepCopyInto added in v1.106.0

func (in *JobContainers) DeepCopyInto(out *JobContainers)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobEmptyDir added in v1.106.0

type JobEmptyDir struct {
	/* The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]. */
	// +optional
	Medium *string `json:"medium,omitempty"`

	/* Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir. */
	// +optional
	SizeLimit *string `json:"sizeLimit,omitempty"`
}

func (*JobEmptyDir) DeepCopy added in v1.106.0

func (in *JobEmptyDir) DeepCopy() *JobEmptyDir

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobEmptyDir.

func (*JobEmptyDir) DeepCopyInto added in v1.106.0

func (in *JobEmptyDir) DeepCopyInto(out *JobEmptyDir)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobEnv added in v1.106.0

type JobEnv struct {
	/* Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters. */
	Name string `json:"name"`

	/* Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the environment variable's value. */
	// +optional
	ValueSource *JobValueSource `json:"valueSource,omitempty"`
}

func (*JobEnv) DeepCopy added in v1.106.0

func (in *JobEnv) DeepCopy() *JobEnv

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobEnv.

func (*JobEnv) DeepCopyInto added in v1.106.0

func (in *JobEnv) DeepCopyInto(out *JobEnv)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobHttpGet added in v1.106.0

type JobHttpGet struct {
	/* Custom headers to set in the request. HTTP allows repeated headers. */
	// +optional
	HttpHeaders []JobHttpHeaders `json:"httpHeaders,omitempty"`

	/* Path to access on the HTTP server. Defaults to '/'. */
	// +optional
	Path *string `json:"path,omitempty"`
}

func (*JobHttpGet) DeepCopy added in v1.106.0

func (in *JobHttpGet) DeepCopy() *JobHttpGet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobHttpGet.

func (*JobHttpGet) DeepCopyInto added in v1.106.0

func (in *JobHttpGet) DeepCopyInto(out *JobHttpGet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobHttpHeaders added in v1.106.0

type JobHttpHeaders struct {
	/* The header field name. */
	Name string `json:"name"`

	/* The header field value. */
	// +optional
	Value *string `json:"value,omitempty"`
}

func (*JobHttpHeaders) DeepCopy added in v1.106.0

func (in *JobHttpHeaders) DeepCopy() *JobHttpHeaders

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobHttpHeaders.

func (*JobHttpHeaders) DeepCopyInto added in v1.106.0

func (in *JobHttpHeaders) DeepCopyInto(out *JobHttpHeaders)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobItems added in v1.106.0

type JobItems struct {
	/* Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. */
	// +optional
	Mode *int64 `json:"mode,omitempty"`

	/* The relative path of the secret in the container. */
	Path string `json:"path"`

	/* The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version */
	VersionRef v1alpha1.ResourceRef `json:"versionRef"`
}

func (*JobItems) DeepCopy added in v1.106.0

func (in *JobItems) DeepCopy() *JobItems

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobItems.

func (*JobItems) DeepCopyInto added in v1.106.0

func (in *JobItems) DeepCopyInto(out *JobItems)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobLatestCreatedExecutionStatus added in v1.106.0

type JobLatestCreatedExecutionStatus struct {
	/* Completion timestamp of the execution.

	A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". */
	// +optional
	CompletionTime *string `json:"completionTime,omitempty"`

	/* Creation timestamp of the execution.

	A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* Name of the execution. */
	// +optional
	Name *string `json:"name,omitempty"`
}

func (*JobLatestCreatedExecutionStatus) DeepCopy added in v1.106.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobLatestCreatedExecutionStatus.

func (*JobLatestCreatedExecutionStatus) DeepCopyInto added in v1.106.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobLivenessProbe added in v1.106.0

type JobLivenessProbe struct {
	/* Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. */
	// +optional
	FailureThreshold *int64 `json:"failureThreshold,omitempty"`

	/* HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. */
	// +optional
	HttpGet *JobHttpGet `json:"httpGet,omitempty"`

	/* Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty"`

	/* How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds. */
	// +optional
	PeriodSeconds *int64 `json:"periodSeconds,omitempty"`

	/* TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. */
	// +optional
	TcpSocket *JobTcpSocket `json:"tcpSocket,omitempty"`

	/* Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"`
}

func (*JobLivenessProbe) DeepCopy added in v1.106.0

func (in *JobLivenessProbe) DeepCopy() *JobLivenessProbe

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobLivenessProbe.

func (*JobLivenessProbe) DeepCopyInto added in v1.106.0

func (in *JobLivenessProbe) DeepCopyInto(out *JobLivenessProbe)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobNetworkInterfaces added in v1.111.0

type JobNetworkInterfaces struct {
	/* The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
	network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
	looked up from the subnetwork. */
	// +optional
	NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"`

	/* The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
	network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
	subnetwork with the same name with the network will be used. */
	// +optional
	SubnetworkRef *v1alpha1.ResourceRef `json:"subnetworkRef,omitempty"`

	/* Network tags applied to this Cloud Run job. */
	// +optional
	Tags []string `json:"tags,omitempty"`
}

func (*JobNetworkInterfaces) DeepCopy added in v1.111.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobNetworkInterfaces.

func (*JobNetworkInterfaces) DeepCopyInto added in v1.111.0

func (in *JobNetworkInterfaces) DeepCopyInto(out *JobNetworkInterfaces)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobPorts added in v1.106.0

type JobPorts struct {
	/* Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536. */
	// +optional
	ContainerPort *int64 `json:"containerPort,omitempty"`

	/* If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c". */
	// +optional
	Name *string `json:"name,omitempty"`
}

func (*JobPorts) DeepCopy added in v1.106.0

func (in *JobPorts) DeepCopy() *JobPorts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobPorts.

func (*JobPorts) DeepCopyInto added in v1.106.0

func (in *JobPorts) DeepCopyInto(out *JobPorts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobResources added in v1.106.0

type JobResources struct {
	/* Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go. */
	// +optional
	Limits map[string]string `json:"limits,omitempty"`
}

func (*JobResources) DeepCopy added in v1.106.0

func (in *JobResources) DeepCopy() *JobResources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobResources.

func (*JobResources) DeepCopyInto added in v1.106.0

func (in *JobResources) DeepCopyInto(out *JobResources)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSecret added in v1.106.0

type JobSecret struct {
	/* Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. */
	// +optional
	DefaultMode *int64 `json:"defaultMode,omitempty"`

	/* If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. */
	// +optional
	Items []JobItems `json:"items,omitempty"`

	/* The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project. */
	SecretRef v1alpha1.ResourceRef `json:"secretRef"`
}

func (*JobSecret) DeepCopy added in v1.106.0

func (in *JobSecret) DeepCopy() *JobSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSecret.

func (*JobSecret) DeepCopyInto added in v1.106.0

func (in *JobSecret) DeepCopyInto(out *JobSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSecretKeyRef added in v1.112.0

type JobSecretKeyRef struct {
	/* The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project. */
	SecretRef v1alpha1.ResourceRef `json:"secretRef"`

	/* The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version. */
	VersionRef v1alpha1.ResourceRef `json:"versionRef"`
}

func (*JobSecretKeyRef) DeepCopy added in v1.112.0

func (in *JobSecretKeyRef) DeepCopy() *JobSecretKeyRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSecretKeyRef.

func (*JobSecretKeyRef) DeepCopyInto added in v1.112.0

func (in *JobSecretKeyRef) DeepCopyInto(out *JobSecretKeyRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobStartupProbe added in v1.106.0

type JobStartupProbe struct {
	/* Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. */
	// +optional
	FailureThreshold *int64 `json:"failureThreshold,omitempty"`

	/* HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. */
	// +optional
	HttpGet *JobHttpGet `json:"httpGet,omitempty"`

	/* Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty"`

	/* How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds. */
	// +optional
	PeriodSeconds *int64 `json:"periodSeconds,omitempty"`

	/* TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. */
	// +optional
	TcpSocket *JobTcpSocket `json:"tcpSocket,omitempty"`

	/* Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"`
}

func (*JobStartupProbe) DeepCopy added in v1.106.0

func (in *JobStartupProbe) DeepCopy() *JobStartupProbe

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStartupProbe.

func (*JobStartupProbe) DeepCopyInto added in v1.106.0

func (in *JobStartupProbe) DeepCopyInto(out *JobStartupProbe)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobTcpSocket added in v1.106.0

type JobTcpSocket struct {
	/* Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080. */
	// +optional
	Port *int64 `json:"port,omitempty"`
}

func (*JobTcpSocket) DeepCopy added in v1.106.0

func (in *JobTcpSocket) DeepCopy() *JobTcpSocket

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTcpSocket.

func (*JobTcpSocket) DeepCopyInto added in v1.106.0

func (in *JobTcpSocket) DeepCopyInto(out *JobTcpSocket)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobTemplate added in v1.106.0

type JobTemplate struct {
	/* Holds the single container that defines the unit of execution for this task. */
	// +optional
	Containers []JobContainers `json:"containers,omitempty"`

	/* A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek */
	// +optional
	EncryptionKeyRef *v1alpha1.ResourceRef `json:"encryptionKeyRef,omitempty"`

	/* The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]. */
	// +optional
	ExecutionEnvironment *string `json:"executionEnvironment,omitempty"`

	/* Number of retries allowed per Task, before marking this Task failed. */
	// +optional
	MaxRetries *int64 `json:"maxRetries,omitempty"`

	/* Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. */
	// +optional
	ServiceAccountRef *v1alpha1.ResourceRef `json:"serviceAccountRef,omitempty"`

	/* Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.

	A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". */
	// +optional
	Timeout *string `json:"timeout,omitempty"`

	/* A list of Volumes to make available to containers. */
	// +optional
	Volumes []JobVolumes `json:"volumes,omitempty"`

	/* VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. */
	// +optional
	VpcAccess *JobVpcAccess `json:"vpcAccess,omitempty"`
}

func (*JobTemplate) DeepCopy added in v1.106.0

func (in *JobTemplate) DeepCopy() *JobTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.

func (*JobTemplate) DeepCopyInto added in v1.106.0

func (in *JobTemplate) DeepCopyInto(out *JobTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobTerminalConditionStatus added in v1.106.0

type JobTerminalConditionStatus struct {
	/* A reason for the execution condition. */
	// +optional
	ExecutionReason *string `json:"executionReason,omitempty"`

	/* Last time the condition transitioned from one status to another.

	A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". */
	// +optional
	LastTransitionTime *string `json:"lastTransitionTime,omitempty"`

	/* Human readable message indicating details about the current status. */
	// +optional
	Message *string `json:"message,omitempty"`

	/* A common (service-level) reason for this condition. */
	// +optional
	Reason *string `json:"reason,omitempty"`

	/* A reason for the revision condition. */
	// +optional
	RevisionReason *string `json:"revisionReason,omitempty"`

	/* How to interpret failures of this condition, one of Error, Warning, Info. */
	// +optional
	Severity *string `json:"severity,omitempty"`

	/* State of the condition. */
	// +optional
	State *string `json:"state,omitempty"`

	/* type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready. */
	// +optional
	Type *string `json:"type,omitempty"`
}

func (*JobTerminalConditionStatus) DeepCopy added in v1.106.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTerminalConditionStatus.

func (*JobTerminalConditionStatus) DeepCopyInto added in v1.106.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobValueSource added in v1.106.0

type JobValueSource struct {
	/* Selects a secret and a specific version from Cloud Secret Manager. */
	// +optional
	SecretKeyRef *JobSecretKeyRef `json:"secretKeyRef,omitempty"`
}

func (*JobValueSource) DeepCopy added in v1.106.0

func (in *JobValueSource) DeepCopy() *JobValueSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobValueSource.

func (*JobValueSource) DeepCopyInto added in v1.106.0

func (in *JobValueSource) DeepCopyInto(out *JobValueSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobVolumeMounts added in v1.106.0

type JobVolumeMounts struct {
	/* Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run. */
	MountPath string `json:"mountPath"`

	/* This must match the Name of a Volume. */
	Name string `json:"name"`
}

func (*JobVolumeMounts) DeepCopy added in v1.106.0

func (in *JobVolumeMounts) DeepCopy() *JobVolumeMounts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobVolumeMounts.

func (*JobVolumeMounts) DeepCopyInto added in v1.106.0

func (in *JobVolumeMounts) DeepCopyInto(out *JobVolumeMounts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobVolumes added in v1.106.0

type JobVolumes struct {
	/* Ephemeral storage used as a shared volume. */
	// +optional
	EmptyDir *JobEmptyDir `json:"emptyDir,omitempty"`

	/* Volume's name. */
	Name string `json:"name"`

	/* Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret. */
	// +optional
	Secret *JobSecret `json:"secret,omitempty"`
}

func (*JobVolumes) DeepCopy added in v1.106.0

func (in *JobVolumes) DeepCopy() *JobVolumes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobVolumes.

func (*JobVolumes) DeepCopyInto added in v1.106.0

func (in *JobVolumes) DeepCopyInto(out *JobVolumes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobVpcAccess added in v1.106.0

type JobVpcAccess struct {
	/* VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. */
	// +optional
	ConnectorRef *v1alpha1.ResourceRef `json:"connectorRef,omitempty"`

	/* Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]. */
	// +optional
	Egress *string `json:"egress,omitempty"`

	/* Direct VPC egress settings. Currently only single network interface is supported. */
	// +optional
	NetworkInterfaces []JobNetworkInterfaces `json:"networkInterfaces,omitempty"`
}

func (*JobVpcAccess) DeepCopy added in v1.106.0

func (in *JobVpcAccess) DeepCopy() *JobVpcAccess

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobVpcAccess.

func (*JobVpcAccess) DeepCopyInto added in v1.106.0

func (in *JobVpcAccess) DeepCopyInto(out *JobVpcAccess)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunJob added in v1.106.0

type RunJob struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RunJobSpec   `json:"spec,omitempty"`
	Status RunJobStatus `json:"status,omitempty"`
}

RunJob is the Schema for the run API +k8s:openapi-gen=true

func (*RunJob) DeepCopy added in v1.106.0

func (in *RunJob) DeepCopy() *RunJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunJob.

func (*RunJob) DeepCopyInto added in v1.106.0

func (in *RunJob) DeepCopyInto(out *RunJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RunJob) DeepCopyObject added in v1.106.0

func (in *RunJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RunJobList added in v1.106.0

type RunJobList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RunJob `json:"items"`
}

RunJobList contains a list of RunJob

func (*RunJobList) DeepCopy added in v1.106.0

func (in *RunJobList) DeepCopy() *RunJobList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunJobList.

func (*RunJobList) DeepCopyInto added in v1.106.0

func (in *RunJobList) DeepCopyInto(out *RunJobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RunJobList) DeepCopyObject added in v1.106.0

func (in *RunJobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RunJobSpec added in v1.106.0

type RunJobSpec struct {
	/* Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

	Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected on new resources.
	All system annotations in v1 now have a corresponding field in v2 Job.

	This field follows Kubernetes annotations' namespacing, limits, and rules. */
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	/* Settings for the Binary Authorization feature. */
	// +optional
	BinaryAuthorization *JobBinaryAuthorization `json:"binaryAuthorization,omitempty"`

	/* Arbitrary identifier for the API client. */
	// +optional
	Client *string `json:"client,omitempty"`

	/* Arbitrary version identifier for the API client. */
	// +optional
	ClientVersion *string `json:"clientVersion,omitempty"`

	/* The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA.
	If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.

	For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values: ["UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"]. */
	// +optional
	LaunchStage *string `json:"launchStage,omitempty"`

	/* Immutable. The location of the cloud run job. */
	Location string `json:"location"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* The template used to create executions for this Job. */
	Template JobTemplate `json:"template"`
}

func (*RunJobSpec) DeepCopy added in v1.106.0

func (in *RunJobSpec) DeepCopy() *RunJobSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunJobSpec.

func (*RunJobSpec) DeepCopyInto added in v1.106.0

func (in *RunJobSpec) DeepCopyInto(out *RunJobSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunJobStatus added in v1.106.0

type RunJobStatus struct {
	/* Conditions represent the latest available observations of the
	   RunJob's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The creation time. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* Email address of the authenticated creator. */
	// +optional
	Creator *string `json:"creator,omitempty"`

	/* The deletion time. */
	// +optional
	DeleteTime *string `json:"deleteTime,omitempty"`

	/* A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates. */
	// +optional
	Etag *string `json:"etag,omitempty"`

	/* Number of executions created for this job. */
	// +optional
	ExecutionCount *int64 `json:"executionCount,omitempty"`

	/* For a deleted resource, the time after which it will be permamently deleted. */
	// +optional
	ExpireTime *string `json:"expireTime,omitempty"`

	/* Email address of the last authenticated modifier. */
	// +optional
	LastModifier *string `json:"lastModifier,omitempty"`

	/* Name of the last created execution. */
	// +optional
	LatestCreatedExecution []JobLatestCreatedExecutionStatus `json:"latestCreatedExecution,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Returns true if the Job is currently being acted upon by the system to bring it into the desired state.

	When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state.

	If reconciliation succeeded, the following fields will match: observedGeneration and generation, latest_succeeded_execution and latestCreatedExecution.

	If reconciliation failed, observedGeneration and latest_succeeded_execution will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in terminalCondition and conditions. */
	// +optional
	Reconciling *bool `json:"reconciling,omitempty"`

	/* The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state. */
	// +optional
	TerminalCondition []JobTerminalConditionStatus `json:"terminalCondition,omitempty"`

	/* Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
	// +optional
	Uid *string `json:"uid,omitempty"`

	/* The last-modified time. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*RunJobStatus) DeepCopy added in v1.106.0

func (in *RunJobStatus) DeepCopy() *RunJobStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunJobStatus.

func (*RunJobStatus) DeepCopyInto added in v1.106.0

func (in *RunJobStatus) DeepCopyInto(out *RunJobStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunService

type RunService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RunServiceSpec   `json:"spec,omitempty"`
	Status RunServiceStatus `json:"status,omitempty"`
}

RunService is the Schema for the run API +k8s:openapi-gen=true

func (*RunService) DeepCopy

func (in *RunService) DeepCopy() *RunService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunService.

func (*RunService) DeepCopyInto

func (in *RunService) DeepCopyInto(out *RunService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RunService) DeepCopyObject

func (in *RunService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RunServiceList

type RunServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RunService `json:"items"`
}

RunServiceList contains a list of RunService

func (*RunServiceList) DeepCopy

func (in *RunServiceList) DeepCopy() *RunServiceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunServiceList.

func (*RunServiceList) DeepCopyInto

func (in *RunServiceList) DeepCopyInto(out *RunServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RunServiceList) DeepCopyObject

func (in *RunServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RunServiceSpec

type RunServiceSpec struct {
	/* Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

	Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected in new resources.
	All system annotations in v1 now have a corresponding field in v2 Service.

	This field follows Kubernetes annotations' namespacing, limits, and rules. */
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	/* Settings for the Binary Authorization feature. */
	// +optional
	BinaryAuthorization *ServiceBinaryAuthorization `json:"binaryAuthorization,omitempty"`

	/* Arbitrary identifier for the API client. */
	// +optional
	Client *string `json:"client,omitempty"`

	/* Arbitrary version identifier for the API client. */
	// +optional
	ClientVersion *string `json:"clientVersion,omitempty"`

	/* One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests.
	For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences. */
	// +optional
	CustomAudiences []string `json:"customAudiences,omitempty"`

	/* User-provided description of the Service. This field currently has a 512-character limit. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. Possible values: ["INGRESS_TRAFFIC_ALL", "INGRESS_TRAFFIC_INTERNAL_ONLY", "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"]. */
	// +optional
	Ingress *string `json:"ingress,omitempty"`

	/* The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA.
	If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.

	For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values: ["UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"]. */
	// +optional
	LaunchStage *string `json:"launchStage,omitempty"`

	/* Immutable. The location of the cloud run service. */
	Location string `json:"location"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* The template used to create revisions for this Service. */
	Template ServiceTemplate `json:"template"`

	/* Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision. */
	// +optional
	Traffic []ServiceTraffic `json:"traffic,omitempty"`
}

func (*RunServiceSpec) DeepCopy

func (in *RunServiceSpec) DeepCopy() *RunServiceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunServiceSpec.

func (*RunServiceSpec) DeepCopyInto

func (in *RunServiceSpec) DeepCopyInto(out *RunServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunServiceStatus

type RunServiceStatus struct {
	/* Conditions represent the latest available observations of the
	   RunService's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The creation time. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* Email address of the authenticated creator. */
	// +optional
	Creator *string `json:"creator,omitempty"`

	/* The deletion time. */
	// +optional
	DeleteTime *string `json:"deleteTime,omitempty"`

	/* A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates. */
	// +optional
	Etag *string `json:"etag,omitempty"`

	/* For a deleted resource, the time after which it will be permamently deleted. */
	// +optional
	ExpireTime *string `json:"expireTime,omitempty"`

	/* Email address of the last authenticated modifier. */
	// +optional
	LastModifier *string `json:"lastModifier,omitempty"`

	/* Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run. */
	// +optional
	LatestCreatedRevision *string `json:"latestCreatedRevision,omitempty"`

	/* Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. */
	// +optional
	LatestReadyRevision *string `json:"latestReadyRevision,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Returns true if the Service is currently being acted upon by the system to bring it into the desired state.

	When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observedGeneration, latest_ready_revison, trafficStatuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state.

	If reconciliation succeeded, the following fields will match: traffic and trafficStatuses, observedGeneration and generation, latestReadyRevision and latestCreatedRevision.

	If reconciliation failed, trafficStatuses, observedGeneration, and latestReadyRevision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminalCondition and conditions. */
	// +optional
	Reconciling *bool `json:"reconciling,omitempty"`

	/* The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. */
	// +optional
	TerminalCondition *ServiceTerminalConditionStatus `json:"terminalCondition,omitempty"`

	/* Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run. */
	// +optional
	TrafficStatuses []ServiceTrafficStatusesStatus `json:"trafficStatuses,omitempty"`

	/* Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
	// +optional
	Uid *string `json:"uid,omitempty"`

	/* The last-modified time. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`

	/* The main URI in which this Service is serving traffic. */
	// +optional
	Uri *string `json:"uri,omitempty"`
}

func (*RunServiceStatus) DeepCopy

func (in *RunServiceStatus) DeepCopy() *RunServiceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunServiceStatus.

func (*RunServiceStatus) DeepCopyInto

func (in *RunServiceStatus) DeepCopyInto(out *RunServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceBinaryAuthorization

type ServiceBinaryAuthorization struct {
	/* If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass. */
	// +optional
	BreakglassJustification *string `json:"breakglassJustification,omitempty"`

	/* If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled. */
	// +optional
	UseDefault *bool `json:"useDefault,omitempty"`
}

func (*ServiceBinaryAuthorization) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBinaryAuthorization.

func (*ServiceBinaryAuthorization) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceCloudSqlInstance

type ServiceCloudSqlInstance struct {
	// +optional
	Instances []v1alpha1.ResourceRef `json:"instances,omitempty"`
}

func (*ServiceCloudSqlInstance) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCloudSqlInstance.

func (*ServiceCloudSqlInstance) DeepCopyInto

func (in *ServiceCloudSqlInstance) DeepCopyInto(out *ServiceCloudSqlInstance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceContainers

type ServiceContainers struct {
	/* Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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. */
	// +optional
	Args []string `json:"args,omitempty"`

	/* Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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. */
	// +optional
	Command []string `json:"command,omitempty"`

	/* Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy. */
	// +optional
	DependsOn []string `json:"dependsOn,omitempty"`

	/* List of environment variables to set in the container. */
	// +optional
	Env []ServiceEnv `json:"env,omitempty"`

	/* URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images. */
	Image string `json:"image"`

	/* Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	LivenessProbe *ServiceLivenessProbe `json:"livenessProbe,omitempty"`

	/* Name of the container specified as a DNS_LABEL. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.

	If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on. */
	// +optional
	Ports []ServicePorts `json:"ports,omitempty"`

	/* Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources. */
	// +optional
	Resources *ServiceResources `json:"resources,omitempty"`

	/* Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	StartupProbe *ServiceStartupProbe `json:"startupProbe,omitempty"`

	/* Volume to mount into the container's filesystem. */
	// +optional
	VolumeMounts []ServiceVolumeMounts `json:"volumeMounts,omitempty"`

	/* Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. */
	// +optional
	WorkingDir *string `json:"workingDir,omitempty"`
}

func (*ServiceContainers) DeepCopy

func (in *ServiceContainers) DeepCopy() *ServiceContainers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceContainers.

func (*ServiceContainers) DeepCopyInto

func (in *ServiceContainers) DeepCopyInto(out *ServiceContainers)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceEmptyDir added in v1.110.0

type ServiceEmptyDir struct {
	/* The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]. */
	// +optional
	Medium *string `json:"medium,omitempty"`

	/* Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir. */
	// +optional
	SizeLimit *string `json:"sizeLimit,omitempty"`
}

func (*ServiceEmptyDir) DeepCopy added in v1.110.0

func (in *ServiceEmptyDir) DeepCopy() *ServiceEmptyDir

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEmptyDir.

func (*ServiceEmptyDir) DeepCopyInto added in v1.110.0

func (in *ServiceEmptyDir) DeepCopyInto(out *ServiceEmptyDir)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceEnv

type ServiceEnv struct {
	/* Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters. */
	Name string `json:"name"`

	/* Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the environment variable's value. */
	// +optional
	ValueSource *ServiceValueSource `json:"valueSource,omitempty"`
}

func (*ServiceEnv) DeepCopy

func (in *ServiceEnv) DeepCopy() *ServiceEnv

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnv.

func (*ServiceEnv) DeepCopyInto

func (in *ServiceEnv) DeepCopyInto(out *ServiceEnv)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceGrpc added in v1.110.0

type ServiceGrpc struct {
	/* Port number to access on the container. Number must be in the range 1 to 65535.
	If not specified, defaults to the same value as container.ports[0].containerPort. */
	// +optional
	Port *int64 `json:"port,omitempty"`

	/* The name of the service to place in the gRPC HealthCheckRequest
	(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
	If this is not specified, the default behavior is defined by gRPC. */
	// +optional
	Service *string `json:"service,omitempty"`
}

func (*ServiceGrpc) DeepCopy added in v1.110.0

func (in *ServiceGrpc) DeepCopy() *ServiceGrpc

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceGrpc.

func (*ServiceGrpc) DeepCopyInto added in v1.110.0

func (in *ServiceGrpc) DeepCopyInto(out *ServiceGrpc)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceHttpGet added in v1.110.0

type ServiceHttpGet struct {
	/* Custom headers to set in the request. HTTP allows repeated headers. */
	// +optional
	HttpHeaders []ServiceHttpHeaders `json:"httpHeaders,omitempty"`

	/* Path to access on the HTTP server. Defaults to '/'. */
	// +optional
	Path *string `json:"path,omitempty"`

	/* Port number to access on the container. Must be in the range 1 to 65535.
	If not specified, defaults to the same value as container.ports[0].containerPort. */
	// +optional
	Port *int64 `json:"port,omitempty"`
}

func (*ServiceHttpGet) DeepCopy added in v1.110.0

func (in *ServiceHttpGet) DeepCopy() *ServiceHttpGet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHttpGet.

func (*ServiceHttpGet) DeepCopyInto added in v1.110.0

func (in *ServiceHttpGet) DeepCopyInto(out *ServiceHttpGet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceHttpHeaders added in v1.110.0

type ServiceHttpHeaders struct {
	/* The header field name. */
	Name string `json:"name"`

	/* The header field value. */
	// +optional
	Value *string `json:"value,omitempty"`
}

func (*ServiceHttpHeaders) DeepCopy added in v1.110.0

func (in *ServiceHttpHeaders) DeepCopy() *ServiceHttpHeaders

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHttpHeaders.

func (*ServiceHttpHeaders) DeepCopyInto added in v1.110.0

func (in *ServiceHttpHeaders) DeepCopyInto(out *ServiceHttpHeaders)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceItems

type ServiceItems struct {
	/* Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. */
	// +optional
	Mode *int64 `json:"mode,omitempty"`

	/* The relative path of the secret in the container. */
	Path string `json:"path"`

	/* The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version */
	// +optional
	VersionRef *v1alpha1.ResourceRef `json:"versionRef,omitempty"`
}

func (*ServiceItems) DeepCopy

func (in *ServiceItems) DeepCopy() *ServiceItems

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceItems.

func (*ServiceItems) DeepCopyInto

func (in *ServiceItems) DeepCopyInto(out *ServiceItems)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceLivenessProbe added in v1.110.0

type ServiceLivenessProbe struct {
	/* Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. */
	// +optional
	FailureThreshold *int64 `json:"failureThreshold,omitempty"`

	/* GRPC specifies an action involving a GRPC port. */
	// +optional
	Grpc *ServiceGrpc `json:"grpc,omitempty"`

	/* HTTPGet specifies the http request to perform. */
	// +optional
	HttpGet *ServiceHttpGet `json:"httpGet,omitempty"`

	/* Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty"`

	/* How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds. */
	// +optional
	PeriodSeconds *int64 `json:"periodSeconds,omitempty"`

	/* Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"`
}

func (*ServiceLivenessProbe) DeepCopy added in v1.110.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceLivenessProbe.

func (*ServiceLivenessProbe) DeepCopyInto added in v1.110.0

func (in *ServiceLivenessProbe) DeepCopyInto(out *ServiceLivenessProbe)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceNetworkInterfaces added in v1.111.0

type ServiceNetworkInterfaces struct {
	/* The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
	network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
	looked up from the subnetwork. */
	// +optional
	NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"`

	/* The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
	network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
	subnetwork with the same name with the network will be used. */
	// +optional
	SubnetworkRef *v1alpha1.ResourceRef `json:"subnetworkRef,omitempty"`

	/* Network tags applied to this Cloud Run service. */
	// +optional
	Tags []string `json:"tags,omitempty"`
}

func (*ServiceNetworkInterfaces) DeepCopy added in v1.111.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceNetworkInterfaces.

func (*ServiceNetworkInterfaces) DeepCopyInto added in v1.111.0

func (in *ServiceNetworkInterfaces) DeepCopyInto(out *ServiceNetworkInterfaces)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicePorts

type ServicePorts struct {
	/* Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536. */
	// +optional
	ContainerPort *int64 `json:"containerPort,omitempty"`

	/* If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c". */
	// +optional
	Name *string `json:"name,omitempty"`
}

func (*ServicePorts) DeepCopy

func (in *ServicePorts) DeepCopy() *ServicePorts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePorts.

func (*ServicePorts) DeepCopyInto

func (in *ServicePorts) DeepCopyInto(out *ServicePorts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceResources

type ServiceResources struct {
	/* Determines whether CPU should be throttled or not outside of requests. */
	// +optional
	CpuIdle *bool `json:"cpuIdle,omitempty"`

	/* Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go. */
	// +optional
	Limits map[string]string `json:"limits,omitempty"`

	/* Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency. */
	// +optional
	StartupCpuBoost *bool `json:"startupCpuBoost,omitempty"`
}

func (*ServiceResources) DeepCopy

func (in *ServiceResources) DeepCopy() *ServiceResources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceResources.

func (*ServiceResources) DeepCopyInto

func (in *ServiceResources) DeepCopyInto(out *ServiceResources)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceScaling

type ServiceScaling struct {
	/* Maximum number of serving instances that this resource should have. */
	// +optional
	MaxInstanceCount *int64 `json:"maxInstanceCount,omitempty"`

	/* Minimum number of serving instances that this resource should have. */
	// +optional
	MinInstanceCount *int64 `json:"minInstanceCount,omitempty"`
}

func (*ServiceScaling) DeepCopy

func (in *ServiceScaling) DeepCopy() *ServiceScaling

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceScaling.

func (*ServiceScaling) DeepCopyInto

func (in *ServiceScaling) DeepCopyInto(out *ServiceScaling)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSecret

type ServiceSecret struct {
	/* Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. */
	// +optional
	DefaultMode *int64 `json:"defaultMode,omitempty"`

	/* If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. */
	// +optional
	Items []ServiceItems `json:"items,omitempty"`

	/* The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project. */
	SecretRef v1alpha1.ResourceRef `json:"secretRef"`
}

func (*ServiceSecret) DeepCopy

func (in *ServiceSecret) DeepCopy() *ServiceSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSecret.

func (*ServiceSecret) DeepCopyInto

func (in *ServiceSecret) DeepCopyInto(out *ServiceSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSecretKeyRef added in v1.112.0

type ServiceSecretKeyRef struct {
	/* The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project. */
	SecretRef v1alpha1.ResourceRef `json:"secretRef"`

	/* The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version. */
	// +optional
	VersionRef *v1alpha1.ResourceRef `json:"versionRef,omitempty"`
}

func (*ServiceSecretKeyRef) DeepCopy added in v1.112.0

func (in *ServiceSecretKeyRef) DeepCopy() *ServiceSecretKeyRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSecretKeyRef.

func (*ServiceSecretKeyRef) DeepCopyInto added in v1.112.0

func (in *ServiceSecretKeyRef) DeepCopyInto(out *ServiceSecretKeyRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceStartupProbe added in v1.110.0

type ServiceStartupProbe struct {
	/* Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. */
	// +optional
	FailureThreshold *int64 `json:"failureThreshold,omitempty"`

	/* GRPC specifies an action involving a GRPC port. */
	// +optional
	Grpc *ServiceGrpc `json:"grpc,omitempty"`

	/* HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. */
	// +optional
	HttpGet *ServiceHttpGet `json:"httpGet,omitempty"`

	/* Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty"`

	/* How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds. */
	// +optional
	PeriodSeconds *int64 `json:"periodSeconds,omitempty"`

	/* TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. */
	// +optional
	TcpSocket *ServiceTcpSocket `json:"tcpSocket,omitempty"`

	/* Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. */
	// +optional
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"`
}

func (*ServiceStartupProbe) DeepCopy added in v1.110.0

func (in *ServiceStartupProbe) DeepCopy() *ServiceStartupProbe

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStartupProbe.

func (*ServiceStartupProbe) DeepCopyInto added in v1.110.0

func (in *ServiceStartupProbe) DeepCopyInto(out *ServiceStartupProbe)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceTcpSocket added in v1.110.0

type ServiceTcpSocket struct {
	/* Port number to access on the container. Must be in the range 1 to 65535.
	If not specified, defaults to the same value as container.ports[0].containerPort. */
	// +optional
	Port *int64 `json:"port,omitempty"`
}

func (*ServiceTcpSocket) DeepCopy added in v1.110.0

func (in *ServiceTcpSocket) DeepCopy() *ServiceTcpSocket

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTcpSocket.

func (*ServiceTcpSocket) DeepCopyInto added in v1.110.0

func (in *ServiceTcpSocket) DeepCopyInto(out *ServiceTcpSocket)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceTemplate

type ServiceTemplate struct {
	/* Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

	Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
	All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.

	This field follows Kubernetes annotations' namespacing, limits, and rules. */
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	/* Holds the containers that define the unit of execution for this Service. */
	// +optional
	Containers []ServiceContainers `json:"containers,omitempty"`

	/* A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek */
	// +optional
	EncryptionKeyRef *v1alpha1.ResourceRef `json:"encryptionKeyRef,omitempty"`

	/* The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]. */
	// +optional
	ExecutionEnvironment *string `json:"executionEnvironment,omitempty"`

	/* Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc.
	For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

	Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
	All system labels in v1 now have a corresponding field in v2 RevisionTemplate. */
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	/* Sets the maximum number of requests that each serving instance can receive. */
	// +optional
	MaxInstanceRequestConcurrency *int64 `json:"maxInstanceRequestConcurrency,omitempty"`

	/* The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. */
	// +optional
	Revision *string `json:"revision,omitempty"`

	/* Scaling settings for this Revision. */
	// +optional
	Scaling *ServiceScaling `json:"scaling,omitempty"`

	/* Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. */
	// +optional
	ServiceAccountRef *v1alpha1.ResourceRef `json:"serviceAccountRef,omitempty"`

	/* Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity. */
	// +optional
	SessionAffinity *bool `json:"sessionAffinity,omitempty"`

	/* Max allowed time for an instance to respond to a request.

	A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". */
	// +optional
	Timeout *string `json:"timeout,omitempty"`

	/* A list of Volumes to make available to containers. */
	// +optional
	Volumes []ServiceVolumes `json:"volumes,omitempty"`

	/* VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. */
	// +optional
	VpcAccess *ServiceVpcAccess `json:"vpcAccess,omitempty"`
}

func (*ServiceTemplate) DeepCopy

func (in *ServiceTemplate) DeepCopy() *ServiceTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplate.

func (*ServiceTemplate) DeepCopyInto

func (in *ServiceTemplate) DeepCopyInto(out *ServiceTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceTerminalConditionStatus

type ServiceTerminalConditionStatus struct {
	/* Last time the condition transitioned from one status to another. */
	// +optional
	LastTransitionTime *string `json:"lastTransitionTime,omitempty"`

	/* Human readable message indicating details about the current status. */
	// +optional
	Message *string `json:"message,omitempty"`

	/* A common (service-level) reason for this condition. */
	// +optional
	Reason *string `json:"reason,omitempty"`

	/* A reason for the revision condition. */
	// +optional
	RevisionReason *string `json:"revisionReason,omitempty"`

	/* How to interpret failures of this condition, one of Error, Warning, Info. */
	// +optional
	Severity *string `json:"severity,omitempty"`

	/* State of the condition. */
	// +optional
	State *string `json:"state,omitempty"`

	/* type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready. */
	// +optional
	Type *string `json:"type,omitempty"`
}

func (*ServiceTerminalConditionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTerminalConditionStatus.

func (*ServiceTerminalConditionStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceTraffic

type ServiceTraffic struct {
	/* Specifies percent of the traffic to this Revision. This defaults to zero if unspecified. */
	// +optional
	Percent *int64 `json:"percent,omitempty"`

	/* Revision to which to send this portion of traffic, if traffic allocation is by revision. */
	// +optional
	Revision *string `json:"revision,omitempty"`

	/* Indicates a string to be part of the URI to exclusively reference this target. */
	// +optional
	Tag *string `json:"tag,omitempty"`

	/* The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]. */
	// +optional
	Type *string `json:"type,omitempty"`
}

func (*ServiceTraffic) DeepCopy

func (in *ServiceTraffic) DeepCopy() *ServiceTraffic

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTraffic.

func (*ServiceTraffic) DeepCopyInto

func (in *ServiceTraffic) DeepCopyInto(out *ServiceTraffic)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceTrafficStatusesStatus

type ServiceTrafficStatusesStatus struct {
	/* Specifies percent of the traffic to this Revision. */
	// +optional
	Percent *int64 `json:"percent,omitempty"`

	/* Revision to which this traffic is sent. */
	// +optional
	Revision *string `json:"revision,omitempty"`

	/* Indicates the string used in the URI to exclusively reference this target. */
	// +optional
	Tag *string `json:"tag,omitempty"`

	/* The allocation type for this traffic target. */
	// +optional
	Type *string `json:"type,omitempty"`

	/* Displays the target URI. */
	// +optional
	Uri *string `json:"uri,omitempty"`
}

func (*ServiceTrafficStatusesStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTrafficStatusesStatus.

func (*ServiceTrafficStatusesStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceValueSource

type ServiceValueSource struct {
	/* Selects a secret and a specific version from Cloud Secret Manager. */
	// +optional
	SecretKeyRef *ServiceSecretKeyRef `json:"secretKeyRef,omitempty"`
}

func (*ServiceValueSource) DeepCopy

func (in *ServiceValueSource) DeepCopy() *ServiceValueSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceValueSource.

func (*ServiceValueSource) DeepCopyInto

func (in *ServiceValueSource) DeepCopyInto(out *ServiceValueSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceVolumeMounts

type ServiceVolumeMounts struct {
	/* Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run. */
	MountPath string `json:"mountPath"`

	/* This must match the Name of a Volume. */
	Name string `json:"name"`
}

func (*ServiceVolumeMounts) DeepCopy

func (in *ServiceVolumeMounts) DeepCopy() *ServiceVolumeMounts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVolumeMounts.

func (*ServiceVolumeMounts) DeepCopyInto

func (in *ServiceVolumeMounts) DeepCopyInto(out *ServiceVolumeMounts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceVolumes

type ServiceVolumes struct {
	/* For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. */
	// +optional
	CloudSqlInstance *ServiceCloudSqlInstance `json:"cloudSqlInstance,omitempty"`

	/* Ephemeral storage used as a shared volume. */
	// +optional
	EmptyDir *ServiceEmptyDir `json:"emptyDir,omitempty"`

	/* Volume's name. */
	Name string `json:"name"`

	/* Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret. */
	// +optional
	Secret *ServiceSecret `json:"secret,omitempty"`
}

func (*ServiceVolumes) DeepCopy

func (in *ServiceVolumes) DeepCopy() *ServiceVolumes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVolumes.

func (*ServiceVolumes) DeepCopyInto

func (in *ServiceVolumes) DeepCopyInto(out *ServiceVolumes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceVpcAccess

type ServiceVpcAccess struct {
	/* VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. */
	// +optional
	ConnectorRef *v1alpha1.ResourceRef `json:"connectorRef,omitempty"`

	/* Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]. */
	// +optional
	Egress *string `json:"egress,omitempty"`

	/* Direct VPC egress settings. Currently only single network interface is supported. */
	// +optional
	NetworkInterfaces []ServiceNetworkInterfaces `json:"networkInterfaces,omitempty"`
}

func (*ServiceVpcAccess) DeepCopy

func (in *ServiceVpcAccess) DeepCopy() *ServiceVpcAccess

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVpcAccess.

func (*ServiceVpcAccess) DeepCopyInto

func (in *ServiceVpcAccess) DeepCopyInto(out *ServiceVpcAccess)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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