functionssdk

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 12 Imported by: 1

Documentation

Overview

Code generated by sdkgen-v2. DO NOT EDIT.

Code generated by sdkgen-v2. DO NOT EDIT.

Code generated by sdkgen-v2. DO NOT EDIT.

Code generated by sdkgen-v2. DO NOT EDIT.

Code generated by sdkgen-v2. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	FunctionGet                  = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.Get")
	FunctionList                 = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.List")
	FunctionCreate               = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.Create")
	FunctionUpdate               = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.Update")
	FunctionDelete               = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.Delete")
	FunctionGetVersion           = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.GetVersion")
	FunctionGetVersionByTag      = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.GetVersionByTag")
	FunctionListVersions         = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.ListVersions")
	FunctionDeleteVersion        = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.DeleteVersion")
	FunctionSetTag               = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.SetTag")
	FunctionRemoveTag            = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.RemoveTag")
	FunctionListTagHistory       = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.ListTagHistory")
	FunctionCreateVersion        = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.CreateVersion")
	FunctionListRuntimes         = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.ListRuntimes")
	FunctionListOperations       = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.ListOperations")
	FunctionListAccessBindings   = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.ListAccessBindings")
	FunctionSetAccessBindings    = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.SetAccessBindings")
	FunctionUpdateAccessBindings = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.UpdateAccessBindings")
	FunctionListScalingPolicies  = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.ListScalingPolicies")
	FunctionSetScalingPolicy     = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.SetScalingPolicy")
	FunctionRemoveScalingPolicy  = protoreflect.FullName("yandex.cloud.serverless.functions.v1.FunctionService.RemoveScalingPolicy")
	FunctionOperationPoller      = protoreflect.FullName("yandex.cloud.operation.OperationService.Get")
)
View Source
var (
	NetworkGetUsed                = protoreflect.FullName("yandex.cloud.serverless.functions.v1.NetworkService.GetUsed")
	NetworkListUsed               = protoreflect.FullName("yandex.cloud.serverless.functions.v1.NetworkService.ListUsed")
	NetworkListConnectedResources = protoreflect.FullName("yandex.cloud.serverless.functions.v1.NetworkService.ListConnectedResources")
	NetworkTriggerUsedCleanup     = protoreflect.FullName("yandex.cloud.serverless.functions.v1.NetworkService.TriggerUsedCleanup")
)

Functions

func FunctionResolver added in v0.0.21

func FunctionResolver(name string, client FunctionClient, opts ...sdkresolvers.ResolveOption) sdkresolvers.Resolver

Types

type FunctionClient

type FunctionClient interface {
	FunctionClientIterator
	Get(context.Context, *functions.GetFunctionRequest, ...grpc.CallOption) (*functions.Function, error)
	List(context.Context, *functions.ListFunctionsRequest, ...grpc.CallOption) (*functions.ListFunctionsResponse, error)
	Create(context.Context, *functions.CreateFunctionRequest, ...grpc.CallOption) (*FunctionCreateOperation, error)
	Update(context.Context, *functions.UpdateFunctionRequest, ...grpc.CallOption) (*FunctionUpdateOperation, error)
	Delete(context.Context, *functions.DeleteFunctionRequest, ...grpc.CallOption) (*FunctionDeleteOperation, error)
	GetVersion(context.Context, *functions.GetFunctionVersionRequest, ...grpc.CallOption) (*functions.Version, error)
	GetVersionByTag(context.Context, *functions.GetFunctionVersionByTagRequest, ...grpc.CallOption) (*functions.Version, error)
	ListVersions(context.Context, *functions.ListFunctionsVersionsRequest, ...grpc.CallOption) (*functions.ListFunctionsVersionsResponse, error)
	DeleteVersion(context.Context, *functions.DeleteFunctionVersionRequest, ...grpc.CallOption) (*FunctionDeleteVersionOperation, error)
	SetTag(context.Context, *functions.SetFunctionTagRequest, ...grpc.CallOption) (*FunctionSetTagOperation, error)
	RemoveTag(context.Context, *functions.RemoveFunctionTagRequest, ...grpc.CallOption) (*FunctionRemoveTagOperation, error)
	ListTagHistory(context.Context, *functions.ListFunctionTagHistoryRequest, ...grpc.CallOption) (*functions.ListFunctionTagHistoryResponse, error)
	CreateVersion(context.Context, *functions.CreateFunctionVersionRequest, ...grpc.CallOption) (*FunctionCreateVersionOperation, error)
	ListRuntimes(context.Context, *functions.ListRuntimesRequest, ...grpc.CallOption) (*functions.ListRuntimesResponse, error)
	ListOperations(context.Context, *functions.ListFunctionOperationsRequest, ...grpc.CallOption) (*functions.ListFunctionOperationsResponse, error)
	ListAccessBindings(context.Context, *access.ListAccessBindingsRequest, ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
	SetAccessBindings(context.Context, *access.SetAccessBindingsRequest, ...grpc.CallOption) (*FunctionSetAccessBindingsOperation, error)
	UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest, ...grpc.CallOption) (*FunctionUpdateAccessBindingsOperation, error)
	ListScalingPolicies(context.Context, *functions.ListScalingPoliciesRequest, ...grpc.CallOption) (*functions.ListScalingPoliciesResponse, error)
	SetScalingPolicy(context.Context, *functions.SetScalingPolicyRequest, ...grpc.CallOption) (*FunctionSetScalingPolicyOperation, error)
	RemoveScalingPolicy(context.Context, *functions.RemoveScalingPolicyRequest, ...grpc.CallOption) (*FunctionRemoveScalingPolicyOperation, error)
}

FunctionClient provides methods for managing Function resources of Yandex.Cloud Functions.

func NewFunctionClient

func NewFunctionClient(connector transport.Connector) FunctionClient

NewFunctionClient returns FunctionClient implementation.

type FunctionCreateOperation

type FunctionCreateOperation struct {
	sdkop.Operation
}

FunctionCreateOperation is used to monitor the state of Create operations.

func (*FunctionCreateOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionCreateOperation) Response

Response retrieves the operation response.

func (*FunctionCreateOperation) Wait

Wait polls the operation until it's done.

func (*FunctionCreateOperation) WaitInterval

func (o *FunctionCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*functions.Function, error)

WaitInterval polls the operation until it's done with custom interval.

type FunctionCreateVersionOperation

type FunctionCreateVersionOperation struct {
	sdkop.Operation
}

FunctionCreateVersionOperation is used to monitor the state of CreateVersion operations.

func (*FunctionCreateVersionOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionCreateVersionOperation) Response

Response retrieves the operation response.

func (*FunctionCreateVersionOperation) Wait

Wait polls the operation until it's done.

func (*FunctionCreateVersionOperation) WaitInterval

WaitInterval polls the operation until it's done with custom interval.

type FunctionDeleteOperation

type FunctionDeleteOperation struct {
	sdkop.Operation
}

FunctionDeleteOperation is used to monitor the state of Delete operations.

func (*FunctionDeleteOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionDeleteOperation) Response

func (o *FunctionDeleteOperation) Response() *emptypb.Empty

Response retrieves the operation response.

func (*FunctionDeleteOperation) Wait

Wait polls the operation until it's done.

func (*FunctionDeleteOperation) WaitInterval

func (o *FunctionDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)

WaitInterval polls the operation until it's done with custom interval.

type FunctionDeleteVersionOperation

type FunctionDeleteVersionOperation struct {
	sdkop.Operation
}

FunctionDeleteVersionOperation is used to monitor the state of DeleteVersion operations.

func (*FunctionDeleteVersionOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionDeleteVersionOperation) Response

Response retrieves the operation response.

func (*FunctionDeleteVersionOperation) Wait

Wait polls the operation until it's done.

func (*FunctionDeleteVersionOperation) WaitInterval

func (o *FunctionDeleteVersionOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)

WaitInterval polls the operation until it's done with custom interval.

type FunctionRemoveScalingPolicyOperation

type FunctionRemoveScalingPolicyOperation struct {
	sdkop.Operation
}

FunctionRemoveScalingPolicyOperation is used to monitor the state of RemoveScalingPolicy operations.

func (*FunctionRemoveScalingPolicyOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionRemoveScalingPolicyOperation) Response

Response retrieves the operation response.

func (*FunctionRemoveScalingPolicyOperation) Wait

Wait polls the operation until it's done.

func (*FunctionRemoveScalingPolicyOperation) WaitInterval

WaitInterval polls the operation until it's done with custom interval.

type FunctionRemoveTagOperation

type FunctionRemoveTagOperation struct {
	sdkop.Operation
}

FunctionRemoveTagOperation is used to monitor the state of RemoveTag operations.

func (*FunctionRemoveTagOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionRemoveTagOperation) Response

Response retrieves the operation response.

func (*FunctionRemoveTagOperation) Wait

Wait polls the operation until it's done.

func (*FunctionRemoveTagOperation) WaitInterval

func (o *FunctionRemoveTagOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*functions.Version, error)

WaitInterval polls the operation until it's done with custom interval.

type FunctionSetAccessBindingsOperation

type FunctionSetAccessBindingsOperation struct {
	sdkop.Operation
}

FunctionSetAccessBindingsOperation is used to monitor the state of SetAccessBindings operations.

func (*FunctionSetAccessBindingsOperation) Metadata added in v0.0.3

Metadata retrieves the operation metadata.

func (*FunctionSetAccessBindingsOperation) Response

Response retrieves the operation response.

func (*FunctionSetAccessBindingsOperation) Wait

Wait polls the operation until it's done.

func (*FunctionSetAccessBindingsOperation) WaitInterval

WaitInterval polls the operation until it's done with custom interval.

type FunctionSetScalingPolicyOperation

type FunctionSetScalingPolicyOperation struct {
	sdkop.Operation
}

FunctionSetScalingPolicyOperation is used to monitor the state of SetScalingPolicy operations.

func (*FunctionSetScalingPolicyOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionSetScalingPolicyOperation) Response

Response retrieves the operation response.

func (*FunctionSetScalingPolicyOperation) Wait

Wait polls the operation until it's done.

func (*FunctionSetScalingPolicyOperation) WaitInterval

WaitInterval polls the operation until it's done with custom interval.

type FunctionSetTagOperation

type FunctionSetTagOperation struct {
	sdkop.Operation
}

FunctionSetTagOperation is used to monitor the state of SetTag operations.

func (*FunctionSetTagOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionSetTagOperation) Response

func (o *FunctionSetTagOperation) Response() *functions.Version

Response retrieves the operation response.

func (*FunctionSetTagOperation) Wait

Wait polls the operation until it's done.

func (*FunctionSetTagOperation) WaitInterval

func (o *FunctionSetTagOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*functions.Version, error)

WaitInterval polls the operation until it's done with custom interval.

type FunctionUpdateAccessBindingsOperation

type FunctionUpdateAccessBindingsOperation struct {
	sdkop.Operation
}

FunctionUpdateAccessBindingsOperation is used to monitor the state of UpdateAccessBindings operations.

func (*FunctionUpdateAccessBindingsOperation) Metadata added in v0.0.3

Metadata retrieves the operation metadata.

func (*FunctionUpdateAccessBindingsOperation) Response

Response retrieves the operation response.

func (*FunctionUpdateAccessBindingsOperation) Wait

Wait polls the operation until it's done.

func (*FunctionUpdateAccessBindingsOperation) WaitInterval

WaitInterval polls the operation until it's done with custom interval.

type FunctionUpdateOperation

type FunctionUpdateOperation struct {
	sdkop.Operation
}

FunctionUpdateOperation is used to monitor the state of Update operations.

func (*FunctionUpdateOperation) Metadata

Metadata retrieves the operation metadata.

func (*FunctionUpdateOperation) Response

Response retrieves the operation response.

func (*FunctionUpdateOperation) Wait

Wait polls the operation until it's done.

func (*FunctionUpdateOperation) WaitInterval

func (o *FunctionUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*functions.Function, error)

WaitInterval polls the operation until it's done with custom interval.

type NetworkClient

NetworkClient provides methods for managing Network resources of Yandex.Cloud Functions.

func NewNetworkClient

func NewNetworkClient(connector transport.Connector) NetworkClient

NewNetworkClient returns NetworkClient implementation.

Jump to

Keyboard shortcuts

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