...

Package batch

import "google.golang.org/genproto/googleapis/cloud/batch/v1"
Overview
Index

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
Variables
func RegisterBatchServiceServer(s *grpc.Server, srv BatchServiceServer)
type AllocationPolicy
type AllocationPolicy_Accelerator
type AllocationPolicy_AttachedDisk
type AllocationPolicy_AttachedDisk_ExistingDisk
type AllocationPolicy_AttachedDisk_NewDisk
type AllocationPolicy_Disk
type AllocationPolicy_Disk_Image
type AllocationPolicy_Disk_Snapshot
type AllocationPolicy_InstancePolicy
type AllocationPolicy_InstancePolicyOrTemplate
type AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate
type AllocationPolicy_InstancePolicyOrTemplate_Policy
type AllocationPolicy_LocationPolicy
type AllocationPolicy_NetworkInterface
type AllocationPolicy_NetworkPolicy
type AllocationPolicy_ProvisioningModel
type BatchServiceClient
    func NewBatchServiceClient(cc grpc.ClientConnInterface) BatchServiceClient
type BatchServiceServer
type ComputeResource
type CreateJobRequest
type DeleteJobRequest
type Environment
type GCS
type GetJobRequest
type GetTaskRequest
type Job
type JobNotification
type JobNotification_Message
type JobNotification_Type
type JobStatus
type JobStatus_InstanceStatus
type JobStatus_State
type JobStatus_TaskGroupStatus
type LifecyclePolicy
type LifecyclePolicy_Action
type LifecyclePolicy_ActionCondition
type ListJobsRequest
type ListJobsResponse
type ListTasksRequest
type ListTasksResponse
type LogsPolicy
type LogsPolicy_Destination
type NFS
type OperationMetadata
type Runnable
type Runnable_Barrier
type Runnable_Barrier_
type Runnable_Container
type Runnable_Container_
type Runnable_Script
type Runnable_Script_
type Runnable_Script_Path
type Runnable_Script_Text
type ServiceAccount
type StatusEvent
type Task
type TaskExecution
type TaskGroup
type TaskSpec
type TaskStatus
type TaskStatus_State
type UnimplementedBatchServiceServer
type Volume
type Volume_DeviceName
type Volume_Gcs
type Volume_Nfs

Package files

alias.go

Constants

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

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
)

Variables

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

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
)

func RegisterBatchServiceServer

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

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

type 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 = src.AllocationPolicy

type 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_Accelerator = src.AllocationPolicy_Accelerator

type 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 = src.AllocationPolicy_AttachedDisk

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

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 = src.AllocationPolicy_Disk

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

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_InstancePolicy = src.AllocationPolicy_InstancePolicy

type AllocationPolicy_InstancePolicyOrTemplate

Either an InstancePolicy or an instance template.

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

type AllocationPolicy_InstancePolicyOrTemplate = src.AllocationPolicy_InstancePolicyOrTemplate

type AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate

type AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate = src.AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate

type AllocationPolicy_InstancePolicyOrTemplate_Policy

type AllocationPolicy_InstancePolicyOrTemplate_Policy = src.AllocationPolicy_InstancePolicyOrTemplate_Policy

type AllocationPolicy_LocationPolicy

type AllocationPolicy_LocationPolicy = src.AllocationPolicy_LocationPolicy

type AllocationPolicy_NetworkInterface

A network interface.

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

type AllocationPolicy_NetworkInterface = src.AllocationPolicy_NetworkInterface

type AllocationPolicy_NetworkPolicy

NetworkPolicy describes VM instance network configurations.

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

type AllocationPolicy_NetworkPolicy = src.AllocationPolicy_NetworkPolicy

type AllocationPolicy_ProvisioningModel

Compute Engine VM instance provisioning model.

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

type AllocationPolicy_ProvisioningModel = src.AllocationPolicy_ProvisioningModel

type 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

type BatchServiceClient = src.BatchServiceClient

func NewBatchServiceClient

func NewBatchServiceClient(cc grpc.ClientConnInterface) BatchServiceClient

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

type BatchServiceServer

BatchServiceServer is the server API for BatchService service.

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

type BatchServiceServer = src.BatchServiceServer

type ComputeResource

Compute resource requirements

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

type ComputeResource = src.ComputeResource

type CreateJobRequest

CreateJob Request.

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

type CreateJobRequest = src.CreateJobRequest

type DeleteJobRequest

DeleteJob Request.

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

type DeleteJobRequest = src.DeleteJobRequest

type 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 Environment = src.Environment

type GCS

Represents a Google Cloud Storage volume source config.

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

type GCS = src.GCS

type GetJobRequest

GetJob Request.

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

type GetJobRequest = src.GetJobRequest

type GetTaskRequest

Request for a single Task by name.

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

type GetTaskRequest = src.GetTaskRequest

type Job

The Cloud Batch Job description.

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

type Job = src.Job

type JobNotification

Notification configurations.

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

type JobNotification = src.JobNotification

type 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_Message = src.JobNotification_Message

type JobNotification_Type

The message type.

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

type JobNotification_Type = src.JobNotification_Type

type JobStatus

Job status.

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

type JobStatus = src.JobStatus

type JobStatus_InstanceStatus

VM instance status.

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

type JobStatus_InstanceStatus = src.JobStatus_InstanceStatus

type JobStatus_State

Valid Job states.

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

type JobStatus_State = src.JobStatus_State

type JobStatus_TaskGroupStatus

Aggregated task status for a TaskGroup.

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

type JobStatus_TaskGroupStatus = src.JobStatus_TaskGroupStatus

type 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 = src.LifecyclePolicy

type LifecyclePolicy_Action

Action on task failures based on different conditions.

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

type LifecyclePolicy_Action = src.LifecyclePolicy_Action

type LifecyclePolicy_ActionCondition

Conditions for actions to deal with task failures.

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

type LifecyclePolicy_ActionCondition = src.LifecyclePolicy_ActionCondition

type ListJobsRequest

ListJob Request.

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

type ListJobsRequest = src.ListJobsRequest

type ListJobsResponse

ListJob Response.

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

type ListJobsResponse = src.ListJobsResponse

type ListTasksRequest

ListTasks Request.

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

type ListTasksRequest = src.ListTasksRequest

type ListTasksResponse

ListTasks Response.

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

type ListTasksResponse = src.ListTasksResponse

type 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 = src.LogsPolicy

type LogsPolicy_Destination

The destination (if any) for logs.

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

type LogsPolicy_Destination = src.LogsPolicy_Destination

type NFS

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

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

type NFS = src.NFS

type OperationMetadata

Represents the metadata of the long-running operation.

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

type OperationMetadata = src.OperationMetadata

type 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 = src.Runnable

type 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 = src.Runnable_Barrier

type Runnable_Barrier_

type Runnable_Barrier_ = src.Runnable_Barrier_

type Runnable_Container

Container runnable.

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

type Runnable_Container = src.Runnable_Container

type Runnable_Container_

type Runnable_Container_ = src.Runnable_Container_

type Runnable_Script

Script runnable.

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

type Runnable_Script = src.Runnable_Script

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

Carries information about a Google Cloud service account.

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

type ServiceAccount = src.ServiceAccount

type StatusEvent

Status event

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

type StatusEvent = src.StatusEvent

type Task

A Cloud Batch task.

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

type Task = src.Task

type 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 TaskExecution = src.TaskExecution

type 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 TaskGroup = src.TaskGroup

type TaskSpec

Spec of a task

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

type TaskSpec = src.TaskSpec

type TaskStatus

Status of a task

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

type TaskStatus = src.TaskStatus

type TaskStatus_State

Task states.

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

type TaskStatus_State = src.TaskStatus_State

type UnimplementedBatchServiceServer

UnimplementedBatchServiceServer can be embedded to have forward compatible implementations.

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

type UnimplementedBatchServiceServer = src.UnimplementedBatchServiceServer

type 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 = src.Volume

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