batch

package
v0.0.0-...-a8a6208 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package batch aliases all exported identifiers in package "cloud.google.com/go/batch/apiv1/batchpb".

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.

Index

Constants

View Source
const (
	AllocationPolicy_PREEMPTIBLE                    = src.AllocationPolicy_PREEMPTIBLE
	AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED = src.AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED
	AllocationPolicy_SPOT                           = src.AllocationPolicy_SPOT
	AllocationPolicy_STANDARD                       = src.AllocationPolicy_STANDARD
	JobNotification_JOB_STATE_CHANGED               = src.JobNotification_JOB_STATE_CHANGED
	JobNotification_TASK_STATE_CHANGED              = src.JobNotification_TASK_STATE_CHANGED
	JobNotification_TYPE_UNSPECIFIED                = src.JobNotification_TYPE_UNSPECIFIED
	JobStatus_DELETION_IN_PROGRESS                  = src.JobStatus_DELETION_IN_PROGRESS
	JobStatus_FAILED                                = src.JobStatus_FAILED
	JobStatus_QUEUED                                = src.JobStatus_QUEUED
	JobStatus_RUNNING                               = src.JobStatus_RUNNING
	JobStatus_SCHEDULED                             = src.JobStatus_SCHEDULED
	JobStatus_STATE_UNSPECIFIED                     = src.JobStatus_STATE_UNSPECIFIED
	JobStatus_SUCCEEDED                             = src.JobStatus_SUCCEEDED
	LifecyclePolicy_ACTION_UNSPECIFIED              = src.LifecyclePolicy_ACTION_UNSPECIFIED
	LifecyclePolicy_FAIL_TASK                       = src.LifecyclePolicy_FAIL_TASK
	LifecyclePolicy_RETRY_TASK                      = src.LifecyclePolicy_RETRY_TASK
	LogsPolicy_CLOUD_LOGGING                        = src.LogsPolicy_CLOUD_LOGGING
	LogsPolicy_DESTINATION_UNSPECIFIED              = src.LogsPolicy_DESTINATION_UNSPECIFIED
	LogsPolicy_PATH                                 = src.LogsPolicy_PATH
	TaskStatus_ASSIGNED                             = src.TaskStatus_ASSIGNED
	TaskStatus_FAILED                               = src.TaskStatus_FAILED
	TaskStatus_PENDING                              = src.TaskStatus_PENDING
	TaskStatus_RUNNING                              = src.TaskStatus_RUNNING
	TaskStatus_STATE_UNSPECIFIED                    = src.TaskStatus_STATE_UNSPECIFIED
	TaskStatus_SUCCEEDED                            = src.TaskStatus_SUCCEEDED
)

Deprecated: Please use consts in: cloud.google.com/go/batch/apiv1/batchpb

Variables

View Source
var (
	AllocationPolicy_ProvisioningModel_name  = src.AllocationPolicy_ProvisioningModel_name
	AllocationPolicy_ProvisioningModel_value = src.AllocationPolicy_ProvisioningModel_value
	File_google_cloud_batch_v1_batch_proto   = src.File_google_cloud_batch_v1_batch_proto
	File_google_cloud_batch_v1_job_proto     = src.File_google_cloud_batch_v1_job_proto
	File_google_cloud_batch_v1_task_proto    = src.File_google_cloud_batch_v1_task_proto
	File_google_cloud_batch_v1_volume_proto  = src.File_google_cloud_batch_v1_volume_proto
	JobNotification_Type_name                = src.JobNotification_Type_name
	JobNotification_Type_value               = src.JobNotification_Type_value
	JobStatus_State_name                     = src.JobStatus_State_name
	JobStatus_State_value                    = src.JobStatus_State_value
	LifecyclePolicy_Action_name              = src.LifecyclePolicy_Action_name
	LifecyclePolicy_Action_value             = src.LifecyclePolicy_Action_value
	LogsPolicy_Destination_name              = src.LogsPolicy_Destination_name
	LogsPolicy_Destination_value             = src.LogsPolicy_Destination_value
	TaskStatus_State_name                    = src.TaskStatus_State_name
	TaskStatus_State_value                   = src.TaskStatus_State_value
)

Deprecated: Please use vars in: cloud.google.com/go/batch/apiv1/batchpb

Functions

func RegisterBatchServiceServer deprecated

func RegisterBatchServiceServer(s *grpc.Server, srv BatchServiceServer)

Deprecated: Please use funcs in: cloud.google.com/go/batch/apiv1/batchpb

Types

type AllocationPolicy deprecated

type AllocationPolicy = src.AllocationPolicy

A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type AllocationPolicy_Accelerator deprecated

type AllocationPolicy_Accelerator = src.AllocationPolicy_Accelerator

Accelerator describes Compute Engine accelerators to be attached to VMs.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type AllocationPolicy_AttachedDisk deprecated

type AllocationPolicy_AttachedDisk = src.AllocationPolicy_AttachedDisk

A new or an existing persistent disk or a local ssd attached to a VM instance.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type AllocationPolicy_AttachedDisk_ExistingDisk

type AllocationPolicy_AttachedDisk_ExistingDisk = src.AllocationPolicy_AttachedDisk_ExistingDisk

type AllocationPolicy_AttachedDisk_NewDisk

type AllocationPolicy_AttachedDisk_NewDisk = src.AllocationPolicy_AttachedDisk_NewDisk

type AllocationPolicy_Disk deprecated

type AllocationPolicy_Disk = src.AllocationPolicy_Disk

A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. https://cloud.google.com/compute/docs/disks#pdspecs. https://cloud.google.com/compute/docs/disks#localssds.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type AllocationPolicy_Disk_Image

type AllocationPolicy_Disk_Image = src.AllocationPolicy_Disk_Image

type AllocationPolicy_Disk_Snapshot

type AllocationPolicy_Disk_Snapshot = src.AllocationPolicy_Disk_Snapshot

type AllocationPolicy_InstancePolicy deprecated

type AllocationPolicy_InstancePolicy = src.AllocationPolicy_InstancePolicy

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type AllocationPolicy_InstancePolicyOrTemplate deprecated

type AllocationPolicy_InstancePolicyOrTemplate = src.AllocationPolicy_InstancePolicyOrTemplate

Either an InstancePolicy or an instance template.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type AllocationPolicy_LocationPolicy

type AllocationPolicy_LocationPolicy = src.AllocationPolicy_LocationPolicy

type AllocationPolicy_NetworkInterface deprecated

type AllocationPolicy_NetworkInterface = src.AllocationPolicy_NetworkInterface

A network interface.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type AllocationPolicy_NetworkPolicy deprecated

type AllocationPolicy_NetworkPolicy = src.AllocationPolicy_NetworkPolicy

NetworkPolicy describes VM instance network configurations.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type AllocationPolicy_ProvisioningModel deprecated

type AllocationPolicy_ProvisioningModel = src.AllocationPolicy_ProvisioningModel

Compute Engine VM instance provisioning model.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type BatchServiceClient deprecated

type BatchServiceClient = src.BatchServiceClient

BatchServiceClient is the client API for BatchService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

func NewBatchServiceClient deprecated

func NewBatchServiceClient(cc grpc.ClientConnInterface) BatchServiceClient

Deprecated: Please use funcs in: cloud.google.com/go/batch/apiv1/batchpb

type BatchServiceServer deprecated

type BatchServiceServer = src.BatchServiceServer

BatchServiceServer is the server API for BatchService service.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type ComputeResource deprecated

type ComputeResource = src.ComputeResource

Compute resource requirements

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type CreateJobRequest deprecated

type CreateJobRequest = src.CreateJobRequest

CreateJob Request.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type DeleteJobRequest deprecated

type DeleteJobRequest = src.DeleteJobRequest

DeleteJob Request.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Environment deprecated

type Environment = src.Environment

An Environment describes a collection of environment variables to set when executing Tasks.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type GCS deprecated

type GCS = src.GCS

Represents a Google Cloud Storage volume source config.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type GetJobRequest deprecated

type GetJobRequest = src.GetJobRequest

GetJob Request.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type GetTaskRequest deprecated

type GetTaskRequest = src.GetTaskRequest

Request for a single Task by name.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Job deprecated

type Job = src.Job

The Cloud Batch Job description.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type JobNotification deprecated

type JobNotification = src.JobNotification

Notification configurations.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type JobNotification_Message deprecated

type JobNotification_Message = src.JobNotification_Message

Message details. Describe the attribute that a message should have. Without specified message attributes, no message will be sent by default.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type JobNotification_Type deprecated

type JobNotification_Type = src.JobNotification_Type

The message type.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type JobStatus deprecated

type JobStatus = src.JobStatus

Job status.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type JobStatus_InstanceStatus deprecated

type JobStatus_InstanceStatus = src.JobStatus_InstanceStatus

VM instance status.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type JobStatus_State deprecated

type JobStatus_State = src.JobStatus_State

Valid Job states.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type JobStatus_TaskGroupStatus deprecated

type JobStatus_TaskGroupStatus = src.JobStatus_TaskGroupStatus

Aggregated task status for a TaskGroup.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type LifecyclePolicy deprecated

type LifecyclePolicy = src.LifecyclePolicy

LifecyclePolicy describes how to deal with task failures based on different conditions.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type LifecyclePolicy_Action deprecated

type LifecyclePolicy_Action = src.LifecyclePolicy_Action

Action on task failures based on different conditions.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type LifecyclePolicy_ActionCondition deprecated

type LifecyclePolicy_ActionCondition = src.LifecyclePolicy_ActionCondition

Conditions for actions to deal with task failures.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type ListJobsRequest deprecated

type ListJobsRequest = src.ListJobsRequest

ListJob Request.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type ListJobsResponse deprecated

type ListJobsResponse = src.ListJobsResponse

ListJob Response.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type ListTasksRequest deprecated

type ListTasksRequest = src.ListTasksRequest

ListTasks Request.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type ListTasksResponse deprecated

type ListTasksResponse = src.ListTasksResponse

ListTasks Response.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type LogsPolicy deprecated

type LogsPolicy = src.LogsPolicy

LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type LogsPolicy_Destination deprecated

type LogsPolicy_Destination = src.LogsPolicy_Destination

The destination (if any) for logs.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type NFS deprecated

type NFS = src.NFS

Represents an NFS server and remote path: <server>:<remote_path>

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type OperationMetadata deprecated

type OperationMetadata = src.OperationMetadata

Represents the metadata of the long-running operation.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Runnable deprecated

type Runnable = src.Runnable

Runnable describes instructions for executing a specific script or container as part of a Task.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Runnable_Barrier deprecated

type Runnable_Barrier = src.Runnable_Barrier

Barrier runnable blocks until all tasks in a taskgroup reach it.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Runnable_Barrier_

type Runnable_Barrier_ = src.Runnable_Barrier_

type Runnable_Container deprecated

type Runnable_Container = src.Runnable_Container

Container runnable.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Runnable_Container_

type Runnable_Container_ = src.Runnable_Container_

type Runnable_Script deprecated

type Runnable_Script = src.Runnable_Script

Script runnable.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Runnable_Script_

type Runnable_Script_ = src.Runnable_Script_

type Runnable_Script_Path

type Runnable_Script_Path = src.Runnable_Script_Path

type Runnable_Script_Text

type Runnable_Script_Text = src.Runnable_Script_Text

type ServiceAccount deprecated

type ServiceAccount = src.ServiceAccount

Carries information about a Google Cloud service account.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type StatusEvent deprecated

type StatusEvent = src.StatusEvent

Status event

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Task deprecated

type Task = src.Task

A Cloud Batch task.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type TaskExecution deprecated

type TaskExecution = src.TaskExecution

This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type TaskGroup deprecated

type TaskGroup = src.TaskGroup

A TaskGroup contains one or multiple Tasks that share the same Runnable but with different runtime parameters.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type TaskSpec deprecated

type TaskSpec = src.TaskSpec

Spec of a task

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type TaskStatus deprecated

type TaskStatus = src.TaskStatus

Status of a task

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type TaskStatus_State deprecated

type TaskStatus_State = src.TaskStatus_State

Task states.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type UnimplementedBatchServiceServer deprecated

type UnimplementedBatchServiceServer = src.UnimplementedBatchServiceServer

UnimplementedBatchServiceServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Volume deprecated

type Volume = src.Volume

Volume and mount parameters to be associated with a TaskSpec. A TaskSpec might describe zero, one, or multiple volumes to be mounted as part of the task.

Deprecated: Please use types in: cloud.google.com/go/batch/apiv1/batchpb

type Volume_DeviceName

type Volume_DeviceName = src.Volume_DeviceName

type Volume_Gcs

type Volume_Gcs = src.Volume_Gcs

type Volume_Nfs

type Volume_Nfs = src.Volume_Nfs

Jump to

Keyboard shortcuts

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