functions

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: 9

Documentation

Overview

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

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

Index

Constants

View Source
const (
	CloudFunctionStatus_ACTIVE                              = src.CloudFunctionStatus_ACTIVE
	CloudFunctionStatus_CLOUD_FUNCTION_STATUS_UNSPECIFIED   = src.CloudFunctionStatus_CLOUD_FUNCTION_STATUS_UNSPECIFIED
	CloudFunctionStatus_DELETE_IN_PROGRESS                  = src.CloudFunctionStatus_DELETE_IN_PROGRESS
	CloudFunctionStatus_DEPLOY_IN_PROGRESS                  = src.CloudFunctionStatus_DEPLOY_IN_PROGRESS
	CloudFunctionStatus_OFFLINE                             = src.CloudFunctionStatus_OFFLINE
	CloudFunctionStatus_UNKNOWN                             = src.CloudFunctionStatus_UNKNOWN
	CloudFunction_ALLOW_ALL                                 = src.CloudFunction_ALLOW_ALL
	CloudFunction_ALLOW_INTERNAL_AND_GCLB                   = src.CloudFunction_ALLOW_INTERNAL_AND_GCLB
	CloudFunction_ALLOW_INTERNAL_ONLY                       = src.CloudFunction_ALLOW_INTERNAL_ONLY
	CloudFunction_ALL_TRAFFIC                               = src.CloudFunction_ALL_TRAFFIC
	CloudFunction_ARTIFACT_REGISTRY                         = src.CloudFunction_ARTIFACT_REGISTRY
	CloudFunction_CONTAINER_REGISTRY                        = src.CloudFunction_CONTAINER_REGISTRY
	CloudFunction_DOCKER_REGISTRY_UNSPECIFIED               = src.CloudFunction_DOCKER_REGISTRY_UNSPECIFIED
	CloudFunction_INGRESS_SETTINGS_UNSPECIFIED              = src.CloudFunction_INGRESS_SETTINGS_UNSPECIFIED
	CloudFunction_PRIVATE_RANGES_ONLY                       = src.CloudFunction_PRIVATE_RANGES_ONLY
	CloudFunction_VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = src.CloudFunction_VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
	HttpsTrigger_SECURE_ALWAYS                              = src.HttpsTrigger_SECURE_ALWAYS
	HttpsTrigger_SECURE_OPTIONAL                            = src.HttpsTrigger_SECURE_OPTIONAL
	HttpsTrigger_SECURITY_LEVEL_UNSPECIFIED                 = src.HttpsTrigger_SECURITY_LEVEL_UNSPECIFIED
	OperationType_CREATE_FUNCTION                           = src.OperationType_CREATE_FUNCTION
	OperationType_DELETE_FUNCTION                           = src.OperationType_DELETE_FUNCTION
	OperationType_OPERATION_UNSPECIFIED                     = src.OperationType_OPERATION_UNSPECIFIED
	OperationType_UPDATE_FUNCTION                           = src.OperationType_UPDATE_FUNCTION
)

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

Variables

View Source
var (
	CloudFunctionStatus_name                        = src.CloudFunctionStatus_name
	CloudFunctionStatus_value                       = src.CloudFunctionStatus_value
	CloudFunction_DockerRegistry_name               = src.CloudFunction_DockerRegistry_name
	CloudFunction_DockerRegistry_value              = src.CloudFunction_DockerRegistry_value
	CloudFunction_IngressSettings_name              = src.CloudFunction_IngressSettings_name
	CloudFunction_IngressSettings_value             = src.CloudFunction_IngressSettings_value
	CloudFunction_VpcConnectorEgressSettings_name   = src.CloudFunction_VpcConnectorEgressSettings_name
	CloudFunction_VpcConnectorEgressSettings_value  = src.CloudFunction_VpcConnectorEgressSettings_value
	File_google_cloud_functions_v1_functions_proto  = src.File_google_cloud_functions_v1_functions_proto
	File_google_cloud_functions_v1_operations_proto = src.File_google_cloud_functions_v1_operations_proto
	HttpsTrigger_SecurityLevel_name                 = src.HttpsTrigger_SecurityLevel_name
	HttpsTrigger_SecurityLevel_value                = src.HttpsTrigger_SecurityLevel_value
	OperationType_name                              = src.OperationType_name
	OperationType_value                             = src.OperationType_value
)

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

Functions

func RegisterCloudFunctionsServiceServer deprecated

func RegisterCloudFunctionsServiceServer(s *grpc.Server, srv CloudFunctionsServiceServer)

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

Types

type CallFunctionRequest deprecated

type CallFunctionRequest = src.CallFunctionRequest

Request for the `CallFunction` method.

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

type CallFunctionResponse deprecated

type CallFunctionResponse = src.CallFunctionResponse

Response of `CallFunction` method.

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

type CloudFunction deprecated

type CloudFunction = src.CloudFunction

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

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

type CloudFunctionStatus deprecated

type CloudFunctionStatus = src.CloudFunctionStatus

Describes the current stage of a deployment.

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

type CloudFunction_DockerRegistry deprecated

type CloudFunction_DockerRegistry = src.CloudFunction_DockerRegistry

Docker Registry to use for storing function Docker images.

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

type CloudFunction_EventTrigger

type CloudFunction_EventTrigger = src.CloudFunction_EventTrigger

type CloudFunction_HttpsTrigger

type CloudFunction_HttpsTrigger = src.CloudFunction_HttpsTrigger

type CloudFunction_IngressSettings deprecated

type CloudFunction_IngressSettings = src.CloudFunction_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/apiv1/functionspb

type CloudFunction_SourceArchiveUrl

type CloudFunction_SourceArchiveUrl = src.CloudFunction_SourceArchiveUrl

type CloudFunction_SourceRepository

type CloudFunction_SourceRepository = src.CloudFunction_SourceRepository

type CloudFunction_SourceUploadUrl

type CloudFunction_SourceUploadUrl = src.CloudFunction_SourceUploadUrl

type CloudFunction_VpcConnectorEgressSettings deprecated

type CloudFunction_VpcConnectorEgressSettings = src.CloudFunction_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/apiv1/functionspb

type CloudFunctionsServiceClient deprecated

type CloudFunctionsServiceClient = src.CloudFunctionsServiceClient

CloudFunctionsServiceClient is the client API for CloudFunctionsService 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/apiv1/functionspb

func NewCloudFunctionsServiceClient deprecated

func NewCloudFunctionsServiceClient(cc grpc.ClientConnInterface) CloudFunctionsServiceClient

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

type CloudFunctionsServiceServer deprecated

type CloudFunctionsServiceServer = src.CloudFunctionsServiceServer

CloudFunctionsServiceServer is the server API for CloudFunctionsService service.

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

type CreateFunctionRequest deprecated

type CreateFunctionRequest = src.CreateFunctionRequest

Request for the `CreateFunction` method.

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

type DeleteFunctionRequest deprecated

type DeleteFunctionRequest = src.DeleteFunctionRequest

Request for the `DeleteFunction` method.

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

type EventTrigger deprecated

type EventTrigger = src.EventTrigger

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

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

type FailurePolicy deprecated

type FailurePolicy = src.FailurePolicy

Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).

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

type FailurePolicy_Retry deprecated

type FailurePolicy_Retry = src.FailurePolicy_Retry

Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.

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

type FailurePolicy_Retry_

type FailurePolicy_Retry_ = src.FailurePolicy_Retry_

type GenerateDownloadUrlRequest deprecated

type GenerateDownloadUrlRequest = src.GenerateDownloadUrlRequest

Request of `GenerateDownloadUrl` method.

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

type GenerateDownloadUrlResponse deprecated

type GenerateDownloadUrlResponse = src.GenerateDownloadUrlResponse

Response of `GenerateDownloadUrl` method.

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

type GenerateUploadUrlRequest deprecated

type GenerateUploadUrlRequest = src.GenerateUploadUrlRequest

Request of `GenerateSourceUploadUrl` method.

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

type GenerateUploadUrlResponse deprecated

type GenerateUploadUrlResponse = src.GenerateUploadUrlResponse

Response of `GenerateSourceUploadUrl` method.

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

type GetFunctionRequest deprecated

type GetFunctionRequest = src.GetFunctionRequest

Request for the `GetFunction` method.

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

type HttpsTrigger deprecated

type HttpsTrigger = src.HttpsTrigger

Describes HttpsTrigger, could be used to connect web hooks to function.

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

type HttpsTrigger_SecurityLevel deprecated

type HttpsTrigger_SecurityLevel = src.HttpsTrigger_SecurityLevel

Available security level settings. This controls the methods to enforce security (HTTPS) on a URL. If unspecified, SECURE_OPTIONAL will be used.

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

type ListFunctionsRequest deprecated

type ListFunctionsRequest = src.ListFunctionsRequest

Request for the `ListFunctions` method.

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

type ListFunctionsResponse deprecated

type ListFunctionsResponse = src.ListFunctionsResponse

Response for the `ListFunctions` method.

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

type OperationMetadataV1 deprecated

type OperationMetadataV1 = src.OperationMetadataV1

Metadata describing an [Operation][google.longrunning.Operation]

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

type OperationType deprecated

type OperationType = src.OperationType

A type of an operation.

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

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/apiv1/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. Secret value is not a part of the configuration. Every filesystem read operation performs a lookup in secret manager to retrieve the secret value.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv1/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/apiv1/functionspb

type SourceRepository deprecated

type SourceRepository = src.SourceRepository

Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.

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

type UnimplementedCloudFunctionsServiceServer deprecated

type UnimplementedCloudFunctionsServiceServer = src.UnimplementedCloudFunctionsServiceServer

UnimplementedCloudFunctionsServiceServer can be embedded to have forward compatible implementations.

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

type UpdateFunctionRequest deprecated

type UpdateFunctionRequest = src.UpdateFunctionRequest

Request for the `UpdateFunction` method.

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

Jump to

Keyboard shortcuts

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