functions

package
v0.0.0-...-8af14fe Latest Latest
Warning

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

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

Documentation

Overview

Package functions aliases all exported identifiers in package "cloud.google.com/go/functions/apiv2/functionspb".

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

Index

Constants

View Source
const (
	Environment_ENVIRONMENT_UNSPECIFIED                     = src.Environment_ENVIRONMENT_UNSPECIFIED
	Environment_GEN_1                                       = src.Environment_GEN_1
	Environment_GEN_2                                       = src.Environment_GEN_2
	EventTrigger_RETRY_POLICY_DO_NOT_RETRY                  = src.EventTrigger_RETRY_POLICY_DO_NOT_RETRY
	EventTrigger_RETRY_POLICY_RETRY                         = src.EventTrigger_RETRY_POLICY_RETRY
	EventTrigger_RETRY_POLICY_UNSPECIFIED                   = src.EventTrigger_RETRY_POLICY_UNSPECIFIED
	Function_ACTIVE                                         = src.Function_ACTIVE
	Function_DELETING                                       = src.Function_DELETING
	Function_DEPLOYING                                      = src.Function_DEPLOYING
	Function_FAILED                                         = src.Function_FAILED
	Function_STATE_UNSPECIFIED                              = src.Function_STATE_UNSPECIFIED
	Function_UNKNOWN                                        = src.Function_UNKNOWN
	ListRuntimesResponse_ALPHA                              = src.ListRuntimesResponse_ALPHA
	ListRuntimesResponse_BETA                               = src.ListRuntimesResponse_BETA
	ListRuntimesResponse_DECOMMISSIONED                     = src.ListRuntimesResponse_DECOMMISSIONED
	ListRuntimesResponse_DEPRECATED                         = src.ListRuntimesResponse_DEPRECATED
	ListRuntimesResponse_DEVELOPMENT                        = src.ListRuntimesResponse_DEVELOPMENT
	ListRuntimesResponse_GA                                 = src.ListRuntimesResponse_GA
	ListRuntimesResponse_RUNTIME_STAGE_UNSPECIFIED          = src.ListRuntimesResponse_RUNTIME_STAGE_UNSPECIFIED
	ServiceConfig_ALLOW_ALL                                 = src.ServiceConfig_ALLOW_ALL
	ServiceConfig_ALLOW_INTERNAL_AND_GCLB                   = src.ServiceConfig_ALLOW_INTERNAL_AND_GCLB
	ServiceConfig_ALLOW_INTERNAL_ONLY                       = src.ServiceConfig_ALLOW_INTERNAL_ONLY
	ServiceConfig_ALL_TRAFFIC                               = src.ServiceConfig_ALL_TRAFFIC
	ServiceConfig_INGRESS_SETTINGS_UNSPECIFIED              = src.ServiceConfig_INGRESS_SETTINGS_UNSPECIFIED
	ServiceConfig_PRIVATE_RANGES_ONLY                       = src.ServiceConfig_PRIVATE_RANGES_ONLY
	ServiceConfig_VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = src.ServiceConfig_VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
	Stage_ARTIFACT_REGISTRY                                 = src.Stage_ARTIFACT_REGISTRY
	Stage_BUILD                                             = src.Stage_BUILD
	Stage_COMPLETE                                          = src.Stage_COMPLETE
	Stage_IN_PROGRESS                                       = src.Stage_IN_PROGRESS
	Stage_NAME_UNSPECIFIED                                  = src.Stage_NAME_UNSPECIFIED
	Stage_NOT_STARTED                                       = src.Stage_NOT_STARTED
	Stage_SERVICE                                           = src.Stage_SERVICE
	Stage_SERVICE_ROLLBACK                                  = src.Stage_SERVICE_ROLLBACK
	Stage_STATE_UNSPECIFIED                                 = src.Stage_STATE_UNSPECIFIED
	Stage_TRIGGER                                           = src.Stage_TRIGGER
	Stage_TRIGGER_ROLLBACK                                  = src.Stage_TRIGGER_ROLLBACK
	StateMessage_ERROR                                      = src.StateMessage_ERROR
	StateMessage_INFO                                       = src.StateMessage_INFO
	StateMessage_SEVERITY_UNSPECIFIED                       = src.StateMessage_SEVERITY_UNSPECIFIED
	StateMessage_WARNING                                    = src.StateMessage_WARNING
)

Deprecated: Please use consts in: cloud.google.com/go/functions/apiv2/functionspb

Variables

View Source
var (
	Environment_name                               = src.Environment_name
	Environment_value                              = src.Environment_value
	EventTrigger_RetryPolicy_name                  = src.EventTrigger_RetryPolicy_name
	EventTrigger_RetryPolicy_value                 = src.EventTrigger_RetryPolicy_value
	File_google_cloud_functions_v2_functions_proto = src.File_google_cloud_functions_v2_functions_proto
	Function_State_name                            = src.Function_State_name
	Function_State_value                           = src.Function_State_value
	ListRuntimesResponse_RuntimeStage_name         = src.ListRuntimesResponse_RuntimeStage_name
	ListRuntimesResponse_RuntimeStage_value        = src.ListRuntimesResponse_RuntimeStage_value
	ServiceConfig_IngressSettings_name             = src.ServiceConfig_IngressSettings_name
	ServiceConfig_IngressSettings_value            = src.ServiceConfig_IngressSettings_value
	ServiceConfig_VpcConnectorEgressSettings_name  = src.ServiceConfig_VpcConnectorEgressSettings_name
	ServiceConfig_VpcConnectorEgressSettings_value = src.ServiceConfig_VpcConnectorEgressSettings_value
	Stage_Name_name                                = src.Stage_Name_name
	Stage_Name_value                               = src.Stage_Name_value
	Stage_State_name                               = src.Stage_State_name
	Stage_State_value                              = src.Stage_State_value
	StateMessage_Severity_name                     = src.StateMessage_Severity_name
	StateMessage_Severity_value                    = src.StateMessage_Severity_value
)

Deprecated: Please use vars in: cloud.google.com/go/functions/apiv2/functionspb

Functions

func RegisterFunctionServiceServer deprecated

func RegisterFunctionServiceServer(s *grpc.Server, srv FunctionServiceServer)

Deprecated: Please use funcs in: cloud.google.com/go/functions/apiv2/functionspb

Types

type BuildConfig deprecated

type BuildConfig = src.BuildConfig

Describes the Build step of the function that builds a container from the given source.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type CreateFunctionRequest deprecated

type CreateFunctionRequest = src.CreateFunctionRequest

Request for the `CreateFunction` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type DeleteFunctionRequest deprecated

type DeleteFunctionRequest = src.DeleteFunctionRequest

Request for the `DeleteFunction` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Environment deprecated

type Environment = src.Environment

The environment the function is hosted on.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type EventFilter deprecated

type EventFilter = src.EventFilter

Filters events based on exact matches on the CloudEvents attributes.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type EventTrigger deprecated

type EventTrigger = src.EventTrigger

Describes EventTrigger, used to request events to be sent from another service.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type EventTrigger_RetryPolicy deprecated

type EventTrigger_RetryPolicy = src.EventTrigger_RetryPolicy

Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Function deprecated

type Function = src.Function

Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type FunctionServiceClient deprecated

type FunctionServiceClient = src.FunctionServiceClient

FunctionServiceClient is the client API for FunctionService 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/functions/apiv2/functionspb

func NewFunctionServiceClient deprecated

func NewFunctionServiceClient(cc grpc.ClientConnInterface) FunctionServiceClient

Deprecated: Please use funcs in: cloud.google.com/go/functions/apiv2/functionspb

type FunctionServiceServer deprecated

type FunctionServiceServer = src.FunctionServiceServer

FunctionServiceServer is the server API for FunctionService service.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Function_State deprecated

type Function_State = src.Function_State

Describes the current state of the function.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GenerateDownloadUrlRequest deprecated

type GenerateDownloadUrlRequest = src.GenerateDownloadUrlRequest

Request of `GenerateDownloadUrl` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GenerateDownloadUrlResponse deprecated

type GenerateDownloadUrlResponse = src.GenerateDownloadUrlResponse

Response of `GenerateDownloadUrl` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GenerateUploadUrlRequest deprecated

type GenerateUploadUrlRequest = src.GenerateUploadUrlRequest

Request of `GenerateSourceUploadUrl` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GenerateUploadUrlResponse deprecated

type GenerateUploadUrlResponse = src.GenerateUploadUrlResponse

Response of `GenerateSourceUploadUrl` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GetFunctionRequest deprecated

type GetFunctionRequest = src.GetFunctionRequest

Request for the `GetFunction` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListFunctionsRequest deprecated

type ListFunctionsRequest = src.ListFunctionsRequest

Request for the `ListFunctions` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListFunctionsResponse deprecated

type ListFunctionsResponse = src.ListFunctionsResponse

Response for the `ListFunctions` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListRuntimesRequest deprecated

type ListRuntimesRequest = src.ListRuntimesRequest

Request for the `ListRuntimes` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListRuntimesResponse deprecated

type ListRuntimesResponse = src.ListRuntimesResponse

Response for the `ListRuntimes` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListRuntimesResponse_Runtime deprecated

type ListRuntimesResponse_Runtime = src.ListRuntimesResponse_Runtime

Describes a runtime and any special information (e.g., deprecation status) related to it.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListRuntimesResponse_RuntimeStage deprecated

type ListRuntimesResponse_RuntimeStage = src.ListRuntimesResponse_RuntimeStage

The various stages that a runtime can be in.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type OperationMetadata deprecated

type OperationMetadata = src.OperationMetadata

Represents the metadata of the long-running operation.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type RepoSource deprecated

type RepoSource = src.RepoSource

Location of the source in a Google Cloud Source Repository.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type RepoSource_BranchName

type RepoSource_BranchName = src.RepoSource_BranchName

type RepoSource_CommitSha

type RepoSource_CommitSha = src.RepoSource_CommitSha

type RepoSource_TagName

type RepoSource_TagName = src.RepoSource_TagName

type SecretEnvVar deprecated

type SecretEnvVar = src.SecretEnvVar

Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type SecretVolume deprecated

type SecretVolume = src.SecretVolume

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type SecretVolume_SecretVersion deprecated

type SecretVolume_SecretVersion = src.SecretVolume_SecretVersion

Configuration for a single version.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ServiceConfig deprecated

type ServiceConfig = src.ServiceConfig

Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ServiceConfig_IngressSettings deprecated

type ServiceConfig_IngressSettings = src.ServiceConfig_IngressSettings

Available ingress settings. This controls what traffic can reach the function. If unspecified, ALLOW_ALL will be used.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ServiceConfig_VpcConnectorEgressSettings deprecated

type ServiceConfig_VpcConnectorEgressSettings = src.ServiceConfig_VpcConnectorEgressSettings

Available egress settings. This controls what traffic is diverted through the VPC Access Connector resource. By default PRIVATE_RANGES_ONLY will be used.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Source deprecated

type Source = src.Source

The location of the function source code.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type SourceProvenance deprecated

type SourceProvenance = src.SourceProvenance

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Source_RepoSource

type Source_RepoSource = src.Source_RepoSource

type Source_StorageSource

type Source_StorageSource = src.Source_StorageSource

type Stage deprecated

type Stage = src.Stage

Each Stage of the deployment process

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Stage_Name deprecated

type Stage_Name = src.Stage_Name

Possible names for a Stage

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Stage_State deprecated

type Stage_State = src.Stage_State

Possible states for a Stage

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type StateMessage deprecated

type StateMessage = src.StateMessage

Informational messages about the state of the Cloud Function or Operation.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type StateMessage_Severity deprecated

type StateMessage_Severity = src.StateMessage_Severity

Severity of the state message.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type StorageSource deprecated

type StorageSource = src.StorageSource

Location of the source in an archive file in Google Cloud Storage.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type UnimplementedFunctionServiceServer deprecated

type UnimplementedFunctionServiceServer = src.UnimplementedFunctionServiceServer

UnimplementedFunctionServiceServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type UpdateFunctionRequest deprecated

type UpdateFunctionRequest = src.UpdateFunctionRequest

Request for the `UpdateFunction` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

Jump to

Keyboard shortcuts

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