vefaas

package
v1.0.148 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package vefaasiface provides an interface to enable mocking the VEFAAS service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	ServiceName = "vefaas"    // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "vefaas"    // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFunctionInput

type CreateFunctionInput struct {
	Description *string `type:"string"`

	Envs []*EnvForCreateFunctionInput `type:"list"`

	ExclusiveMode *bool `type:"boolean"`

	InitializerSec *int32 `type:"int32"`

	MaxConcurrency *int32 `type:"int32"`

	MemoryMB *int32 `type:"int32"`

	// Name is a required field
	Name *string `type:"string" required:"true"`

	NasStorage *NasStorageForCreateFunctionInput `type:"structure"`

	RequestTimeout *int32 `type:"int32"`

	// Runtime is a required field
	Runtime *string `type:"string" required:"true"`

	Source *string `type:"string"`

	SourceAccessConfig *SourceAccessConfigForCreateFunctionInput `type:"structure"`

	SourceType *string `type:"string"`

	TlsConfig *TlsConfigForCreateFunctionInput `type:"structure"`

	TopParam *TopParamForCreateFunctionInput `type:"structure"`

	TosMountConfig *TosMountConfigForCreateFunctionInput `type:"structure"`

	VpcConfig *VpcConfigForCreateFunctionInput `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateFunctionInput) GoString

func (s CreateFunctionInput) GoString() string

GoString returns the string representation

func (*CreateFunctionInput) SetDescription

func (s *CreateFunctionInput) SetDescription(v string) *CreateFunctionInput

SetDescription sets the Description field's value.

func (*CreateFunctionInput) SetEnvs

SetEnvs sets the Envs field's value.

func (*CreateFunctionInput) SetExclusiveMode

func (s *CreateFunctionInput) SetExclusiveMode(v bool) *CreateFunctionInput

SetExclusiveMode sets the ExclusiveMode field's value.

func (*CreateFunctionInput) SetInitializerSec

func (s *CreateFunctionInput) SetInitializerSec(v int32) *CreateFunctionInput

SetInitializerSec sets the InitializerSec field's value.

func (*CreateFunctionInput) SetMaxConcurrency

func (s *CreateFunctionInput) SetMaxConcurrency(v int32) *CreateFunctionInput

SetMaxConcurrency sets the MaxConcurrency field's value.

func (*CreateFunctionInput) SetMemoryMB

func (s *CreateFunctionInput) SetMemoryMB(v int32) *CreateFunctionInput

SetMemoryMB sets the MemoryMB field's value.

func (*CreateFunctionInput) SetName

SetName sets the Name field's value.

func (*CreateFunctionInput) SetNasStorage

SetNasStorage sets the NasStorage field's value.

func (*CreateFunctionInput) SetRequestTimeout

func (s *CreateFunctionInput) SetRequestTimeout(v int32) *CreateFunctionInput

SetRequestTimeout sets the RequestTimeout field's value.

func (*CreateFunctionInput) SetRuntime

SetRuntime sets the Runtime field's value.

func (*CreateFunctionInput) SetSource

SetSource sets the Source field's value.

func (*CreateFunctionInput) SetSourceAccessConfig

SetSourceAccessConfig sets the SourceAccessConfig field's value.

func (*CreateFunctionInput) SetSourceType

func (s *CreateFunctionInput) SetSourceType(v string) *CreateFunctionInput

SetSourceType sets the SourceType field's value.

func (*CreateFunctionInput) SetTlsConfig

SetTlsConfig sets the TlsConfig field's value.

func (*CreateFunctionInput) SetTopParam

SetTopParam sets the TopParam field's value.

func (*CreateFunctionInput) SetTosMountConfig

SetTosMountConfig sets the TosMountConfig field's value.

func (*CreateFunctionInput) SetVpcConfig

SetVpcConfig sets the VpcConfig field's value.

func (CreateFunctionInput) String

func (s CreateFunctionInput) String() string

String returns the string representation

func (*CreateFunctionInput) Validate

func (s *CreateFunctionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateFunctionOutput

type CreateFunctionOutput struct {
	Metadata *response.ResponseMetadata

	CodeSize *int32 `type:"int32"`

	CodeSizeLimit *int32 `type:"int32"`

	CreationTime *string `type:"string"`

	DebugInstanceEnable *bool `type:"boolean"`

	Description *string `type:"string"`

	Envs []*EnvForCreateFunctionOutput `type:"list"`

	ExclusiveMode *bool `type:"boolean"`

	Id *string `type:"string"`

	InitializerSec *int32 `type:"int32"`

	InstanceType *string `type:"string"`

	LastUpdateTime *string `type:"string"`

	MaxConcurrency *int32 `type:"int32"`

	MemoryMB *int32 `type:"int32"`

	Name *string `type:"string"`

	NasStorage *NasStorageForCreateFunctionOutput `type:"structure"`

	Owner *string `type:"string"`

	RequestTimeout *int32 `type:"int32"`

	ResourcePoolId *string `type:"string"`

	Runtime *string `type:"string"`

	SourceLocation *string `type:"string"`

	SourceType *string `type:"string"`

	TlsConfig *TlsConfigForCreateFunctionOutput `type:"structure"`

	TosMountConfig *TosMountConfigForCreateFunctionOutput `type:"structure"`

	TriggersCount *int32 `type:"int32"`

	UseStatus *string `type:"string"`

	VpcConfig *VpcConfigForCreateFunctionOutput `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateFunctionOutput) GoString

func (s CreateFunctionOutput) GoString() string

GoString returns the string representation

func (*CreateFunctionOutput) SetCodeSize

func (s *CreateFunctionOutput) SetCodeSize(v int32) *CreateFunctionOutput

SetCodeSize sets the CodeSize field's value.

func (*CreateFunctionOutput) SetCodeSizeLimit

func (s *CreateFunctionOutput) SetCodeSizeLimit(v int32) *CreateFunctionOutput

SetCodeSizeLimit sets the CodeSizeLimit field's value.

func (*CreateFunctionOutput) SetCreationTime

func (s *CreateFunctionOutput) SetCreationTime(v string) *CreateFunctionOutput

SetCreationTime sets the CreationTime field's value.

func (*CreateFunctionOutput) SetDebugInstanceEnable

func (s *CreateFunctionOutput) SetDebugInstanceEnable(v bool) *CreateFunctionOutput

SetDebugInstanceEnable sets the DebugInstanceEnable field's value.

func (*CreateFunctionOutput) SetDescription

func (s *CreateFunctionOutput) SetDescription(v string) *CreateFunctionOutput

SetDescription sets the Description field's value.

func (*CreateFunctionOutput) SetEnvs

SetEnvs sets the Envs field's value.

func (*CreateFunctionOutput) SetExclusiveMode

func (s *CreateFunctionOutput) SetExclusiveMode(v bool) *CreateFunctionOutput

SetExclusiveMode sets the ExclusiveMode field's value.

func (*CreateFunctionOutput) SetId

SetId sets the Id field's value.

func (*CreateFunctionOutput) SetInitializerSec

func (s *CreateFunctionOutput) SetInitializerSec(v int32) *CreateFunctionOutput

SetInitializerSec sets the InitializerSec field's value.

func (*CreateFunctionOutput) SetInstanceType

func (s *CreateFunctionOutput) SetInstanceType(v string) *CreateFunctionOutput

SetInstanceType sets the InstanceType field's value.

func (*CreateFunctionOutput) SetLastUpdateTime

func (s *CreateFunctionOutput) SetLastUpdateTime(v string) *CreateFunctionOutput

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*CreateFunctionOutput) SetMaxConcurrency

func (s *CreateFunctionOutput) SetMaxConcurrency(v int32) *CreateFunctionOutput

SetMaxConcurrency sets the MaxConcurrency field's value.

func (*CreateFunctionOutput) SetMemoryMB

func (s *CreateFunctionOutput) SetMemoryMB(v int32) *CreateFunctionOutput

SetMemoryMB sets the MemoryMB field's value.

func (*CreateFunctionOutput) SetName

SetName sets the Name field's value.

func (*CreateFunctionOutput) SetNasStorage

SetNasStorage sets the NasStorage field's value.

func (*CreateFunctionOutput) SetOwner

SetOwner sets the Owner field's value.

func (*CreateFunctionOutput) SetRequestTimeout

func (s *CreateFunctionOutput) SetRequestTimeout(v int32) *CreateFunctionOutput

SetRequestTimeout sets the RequestTimeout field's value.

func (*CreateFunctionOutput) SetResourcePoolId

func (s *CreateFunctionOutput) SetResourcePoolId(v string) *CreateFunctionOutput

SetResourcePoolId sets the ResourcePoolId field's value.

func (*CreateFunctionOutput) SetRuntime

SetRuntime sets the Runtime field's value.

func (*CreateFunctionOutput) SetSourceLocation

func (s *CreateFunctionOutput) SetSourceLocation(v string) *CreateFunctionOutput

SetSourceLocation sets the SourceLocation field's value.

func (*CreateFunctionOutput) SetSourceType

func (s *CreateFunctionOutput) SetSourceType(v string) *CreateFunctionOutput

SetSourceType sets the SourceType field's value.

func (*CreateFunctionOutput) SetTlsConfig

SetTlsConfig sets the TlsConfig field's value.

func (*CreateFunctionOutput) SetTosMountConfig

SetTosMountConfig sets the TosMountConfig field's value.

func (*CreateFunctionOutput) SetTriggersCount

func (s *CreateFunctionOutput) SetTriggersCount(v int32) *CreateFunctionOutput

SetTriggersCount sets the TriggersCount field's value.

func (*CreateFunctionOutput) SetUseStatus

func (s *CreateFunctionOutput) SetUseStatus(v string) *CreateFunctionOutput

SetUseStatus sets the UseStatus field's value.

func (*CreateFunctionOutput) SetVpcConfig

SetVpcConfig sets the VpcConfig field's value.

func (CreateFunctionOutput) String

func (s CreateFunctionOutput) String() string

String returns the string representation

type CredentialsForCreateFunctionInput

type CredentialsForCreateFunctionInput struct {
	AccessKeyId *string `type:"string"`

	SecretAccessKey *string `type:"string"`
	// contains filtered or unexported fields
}

func (CredentialsForCreateFunctionInput) GoString

GoString returns the string representation

func (*CredentialsForCreateFunctionInput) SetAccessKeyId

SetAccessKeyId sets the AccessKeyId field's value.

func (*CredentialsForCreateFunctionInput) SetSecretAccessKey

SetSecretAccessKey sets the SecretAccessKey field's value.

func (CredentialsForCreateFunctionInput) String

String returns the string representation

type CredentialsForCreateFunctionOutput

type CredentialsForCreateFunctionOutput struct {
	AccessKeyId *string `type:"string"`

	SecretAccessKey *string `type:"string"`
	// contains filtered or unexported fields
}

func (CredentialsForCreateFunctionOutput) GoString

GoString returns the string representation

func (*CredentialsForCreateFunctionOutput) SetAccessKeyId

SetAccessKeyId sets the AccessKeyId field's value.

func (*CredentialsForCreateFunctionOutput) SetSecretAccessKey

SetSecretAccessKey sets the SecretAccessKey field's value.

func (CredentialsForCreateFunctionOutput) String

String returns the string representation

type CredentialsForGetFunctionOutput

type CredentialsForGetFunctionOutput struct {
	AccessKeyId *string `type:"string"`

	SecretAccessKey *string `type:"string"`
	// contains filtered or unexported fields
}

func (CredentialsForGetFunctionOutput) GoString

GoString returns the string representation

func (*CredentialsForGetFunctionOutput) SetAccessKeyId

SetAccessKeyId sets the AccessKeyId field's value.

func (*CredentialsForGetFunctionOutput) SetSecretAccessKey

SetSecretAccessKey sets the SecretAccessKey field's value.

func (CredentialsForGetFunctionOutput) String

String returns the string representation

type CredentialsForUpdateFunctionInput

type CredentialsForUpdateFunctionInput struct {
	AccessKeyId *string `type:"string"`

	SecretAccessKey *string `type:"string"`
	// contains filtered or unexported fields
}

func (CredentialsForUpdateFunctionInput) GoString

GoString returns the string representation

func (*CredentialsForUpdateFunctionInput) SetAccessKeyId

SetAccessKeyId sets the AccessKeyId field's value.

func (*CredentialsForUpdateFunctionInput) SetSecretAccessKey

SetSecretAccessKey sets the SecretAccessKey field's value.

func (CredentialsForUpdateFunctionInput) String

String returns the string representation

type CredentialsForUpdateFunctionOutput

type CredentialsForUpdateFunctionOutput struct {
	AccessKeyId *string `type:"string"`

	SecretAccessKey *string `type:"string"`
	// contains filtered or unexported fields
}

func (CredentialsForUpdateFunctionOutput) GoString

GoString returns the string representation

func (*CredentialsForUpdateFunctionOutput) SetAccessKeyId

SetAccessKeyId sets the AccessKeyId field's value.

func (*CredentialsForUpdateFunctionOutput) SetSecretAccessKey

SetSecretAccessKey sets the SecretAccessKey field's value.

func (CredentialsForUpdateFunctionOutput) String

String returns the string representation

type DeleteFunctionInput

type DeleteFunctionInput struct {

	// Id is a required field
	Id *string `type:"string" required:"true"`

	TopParam *TopParamForDeleteFunctionInput `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteFunctionInput) GoString

func (s DeleteFunctionInput) GoString() string

GoString returns the string representation

func (*DeleteFunctionInput) SetId

SetId sets the Id field's value.

func (*DeleteFunctionInput) SetTopParam

SetTopParam sets the TopParam field's value.

func (DeleteFunctionInput) String

func (s DeleteFunctionInput) String() string

String returns the string representation

func (*DeleteFunctionInput) Validate

func (s *DeleteFunctionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteFunctionOutput

type DeleteFunctionOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (DeleteFunctionOutput) GoString

func (s DeleteFunctionOutput) GoString() string

GoString returns the string representation

func (DeleteFunctionOutput) String

func (s DeleteFunctionOutput) String() string

String returns the string representation

type EnvForCreateFunctionInput

type EnvForCreateFunctionInput struct {
	Key *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (EnvForCreateFunctionInput) GoString

func (s EnvForCreateFunctionInput) GoString() string

GoString returns the string representation

func (*EnvForCreateFunctionInput) SetKey

SetKey sets the Key field's value.

func (*EnvForCreateFunctionInput) SetValue

SetValue sets the Value field's value.

func (EnvForCreateFunctionInput) String

func (s EnvForCreateFunctionInput) String() string

String returns the string representation

type EnvForCreateFunctionOutput

type EnvForCreateFunctionOutput struct {
	Key *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (EnvForCreateFunctionOutput) GoString

func (s EnvForCreateFunctionOutput) GoString() string

GoString returns the string representation

func (*EnvForCreateFunctionOutput) SetKey

SetKey sets the Key field's value.

func (*EnvForCreateFunctionOutput) SetValue

SetValue sets the Value field's value.

func (EnvForCreateFunctionOutput) String

String returns the string representation

type EnvForGetFunctionOutput

type EnvForGetFunctionOutput struct {
	Key *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (EnvForGetFunctionOutput) GoString

func (s EnvForGetFunctionOutput) GoString() string

GoString returns the string representation

func (*EnvForGetFunctionOutput) SetKey

SetKey sets the Key field's value.

func (*EnvForGetFunctionOutput) SetValue

SetValue sets the Value field's value.

func (EnvForGetFunctionOutput) String

func (s EnvForGetFunctionOutput) String() string

String returns the string representation

type EnvForUpdateFunctionInput

type EnvForUpdateFunctionInput struct {
	Key *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (EnvForUpdateFunctionInput) GoString

func (s EnvForUpdateFunctionInput) GoString() string

GoString returns the string representation

func (*EnvForUpdateFunctionInput) SetKey

SetKey sets the Key field's value.

func (*EnvForUpdateFunctionInput) SetValue

SetValue sets the Value field's value.

func (EnvForUpdateFunctionInput) String

func (s EnvForUpdateFunctionInput) String() string

String returns the string representation

type EnvForUpdateFunctionOutput

type EnvForUpdateFunctionOutput struct {
	Key *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (EnvForUpdateFunctionOutput) GoString

func (s EnvForUpdateFunctionOutput) GoString() string

GoString returns the string representation

func (*EnvForUpdateFunctionOutput) SetKey

SetKey sets the Key field's value.

func (*EnvForUpdateFunctionOutput) SetValue

SetValue sets the Value field's value.

func (EnvForUpdateFunctionOutput) String

String returns the string representation

type GetFunctionInput

type GetFunctionInput struct {

	// Id is a required field
	Id *string `type:"string" required:"true"`

	TopParam *TopParamForGetFunctionInput `type:"structure"`
	// contains filtered or unexported fields
}

func (GetFunctionInput) GoString

func (s GetFunctionInput) GoString() string

GoString returns the string representation

func (*GetFunctionInput) SetId

SetId sets the Id field's value.

func (*GetFunctionInput) SetTopParam

SetTopParam sets the TopParam field's value.

func (GetFunctionInput) String

func (s GetFunctionInput) String() string

String returns the string representation

func (*GetFunctionInput) Validate

func (s *GetFunctionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFunctionOutput

type GetFunctionOutput struct {
	Metadata *response.ResponseMetadata

	CodeSize *int32 `type:"int32"`

	CodeSizeLimit *int32 `type:"int32"`

	CreationTime *string `type:"string"`

	DebugInstanceEnable *bool `type:"boolean"`

	Description *string `type:"string"`

	Envs []*EnvForGetFunctionOutput `type:"list"`

	ExclusiveMode *bool `type:"boolean"`

	Id *string `type:"string"`

	InitializerSec *int32 `type:"int32"`

	InstanceType *string `type:"string"`

	LastUpdateTime *string `type:"string"`

	MaxConcurrency *int32 `type:"int32"`

	MemoryMB *int32 `type:"int32"`

	Name *string `type:"string"`

	NasStorage *NasStorageForGetFunctionOutput `type:"structure"`

	Owner *string `type:"string"`

	RequestTimeout *int32 `type:"int32"`

	ResourcePoolId *string `type:"string"`

	Runtime *string `type:"string"`

	SourceLocation *string `type:"string"`

	SourceType *string `type:"string"`

	TlsConfig *TlsConfigForGetFunctionOutput `type:"structure"`

	TosMountConfig *TosMountConfigForGetFunctionOutput `type:"structure"`

	TriggersCount *int32 `type:"int32"`

	UseStatus *string `type:"string"`

	VpcConfig *VpcConfigForGetFunctionOutput `type:"structure"`
	// contains filtered or unexported fields
}

func (GetFunctionOutput) GoString

func (s GetFunctionOutput) GoString() string

GoString returns the string representation

func (*GetFunctionOutput) SetCodeSize

func (s *GetFunctionOutput) SetCodeSize(v int32) *GetFunctionOutput

SetCodeSize sets the CodeSize field's value.

func (*GetFunctionOutput) SetCodeSizeLimit

func (s *GetFunctionOutput) SetCodeSizeLimit(v int32) *GetFunctionOutput

SetCodeSizeLimit sets the CodeSizeLimit field's value.

func (*GetFunctionOutput) SetCreationTime

func (s *GetFunctionOutput) SetCreationTime(v string) *GetFunctionOutput

SetCreationTime sets the CreationTime field's value.

func (*GetFunctionOutput) SetDebugInstanceEnable

func (s *GetFunctionOutput) SetDebugInstanceEnable(v bool) *GetFunctionOutput

SetDebugInstanceEnable sets the DebugInstanceEnable field's value.

func (*GetFunctionOutput) SetDescription

func (s *GetFunctionOutput) SetDescription(v string) *GetFunctionOutput

SetDescription sets the Description field's value.

func (*GetFunctionOutput) SetEnvs

SetEnvs sets the Envs field's value.

func (*GetFunctionOutput) SetExclusiveMode

func (s *GetFunctionOutput) SetExclusiveMode(v bool) *GetFunctionOutput

SetExclusiveMode sets the ExclusiveMode field's value.

func (*GetFunctionOutput) SetId

SetId sets the Id field's value.

func (*GetFunctionOutput) SetInitializerSec

func (s *GetFunctionOutput) SetInitializerSec(v int32) *GetFunctionOutput

SetInitializerSec sets the InitializerSec field's value.

func (*GetFunctionOutput) SetInstanceType

func (s *GetFunctionOutput) SetInstanceType(v string) *GetFunctionOutput

SetInstanceType sets the InstanceType field's value.

func (*GetFunctionOutput) SetLastUpdateTime

func (s *GetFunctionOutput) SetLastUpdateTime(v string) *GetFunctionOutput

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*GetFunctionOutput) SetMaxConcurrency

func (s *GetFunctionOutput) SetMaxConcurrency(v int32) *GetFunctionOutput

SetMaxConcurrency sets the MaxConcurrency field's value.

func (*GetFunctionOutput) SetMemoryMB

func (s *GetFunctionOutput) SetMemoryMB(v int32) *GetFunctionOutput

SetMemoryMB sets the MemoryMB field's value.

func (*GetFunctionOutput) SetName

SetName sets the Name field's value.

func (*GetFunctionOutput) SetNasStorage

SetNasStorage sets the NasStorage field's value.

func (*GetFunctionOutput) SetOwner

func (s *GetFunctionOutput) SetOwner(v string) *GetFunctionOutput

SetOwner sets the Owner field's value.

func (*GetFunctionOutput) SetRequestTimeout

func (s *GetFunctionOutput) SetRequestTimeout(v int32) *GetFunctionOutput

SetRequestTimeout sets the RequestTimeout field's value.

func (*GetFunctionOutput) SetResourcePoolId

func (s *GetFunctionOutput) SetResourcePoolId(v string) *GetFunctionOutput

SetResourcePoolId sets the ResourcePoolId field's value.

func (*GetFunctionOutput) SetRuntime

func (s *GetFunctionOutput) SetRuntime(v string) *GetFunctionOutput

SetRuntime sets the Runtime field's value.

func (*GetFunctionOutput) SetSourceLocation

func (s *GetFunctionOutput) SetSourceLocation(v string) *GetFunctionOutput

SetSourceLocation sets the SourceLocation field's value.

func (*GetFunctionOutput) SetSourceType

func (s *GetFunctionOutput) SetSourceType(v string) *GetFunctionOutput

SetSourceType sets the SourceType field's value.

func (*GetFunctionOutput) SetTlsConfig

SetTlsConfig sets the TlsConfig field's value.

func (*GetFunctionOutput) SetTosMountConfig

SetTosMountConfig sets the TosMountConfig field's value.

func (*GetFunctionOutput) SetTriggersCount

func (s *GetFunctionOutput) SetTriggersCount(v int32) *GetFunctionOutput

SetTriggersCount sets the TriggersCount field's value.

func (*GetFunctionOutput) SetUseStatus

func (s *GetFunctionOutput) SetUseStatus(v string) *GetFunctionOutput

SetUseStatus sets the UseStatus field's value.

func (*GetFunctionOutput) SetVpcConfig

SetVpcConfig sets the VpcConfig field's value.

func (GetFunctionOutput) String

func (s GetFunctionOutput) String() string

String returns the string representation

type MountPointForCreateFunctionInput

type MountPointForCreateFunctionInput struct {
	BucketName *string `type:"string"`

	BucketPath *string `type:"string"`

	Endpoint *string `type:"string"`

	LocalMountPath *string `type:"string"`

	ReadOnly *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (MountPointForCreateFunctionInput) GoString

GoString returns the string representation

func (*MountPointForCreateFunctionInput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*MountPointForCreateFunctionInput) SetBucketPath

SetBucketPath sets the BucketPath field's value.

func (*MountPointForCreateFunctionInput) SetEndpoint

SetEndpoint sets the Endpoint field's value.

func (*MountPointForCreateFunctionInput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*MountPointForCreateFunctionInput) SetReadOnly

SetReadOnly sets the ReadOnly field's value.

func (MountPointForCreateFunctionInput) String

String returns the string representation

type MountPointForCreateFunctionOutput

type MountPointForCreateFunctionOutput struct {
	BucketName *string `type:"string"`

	BucketPath *string `type:"string"`

	Endpoint *string `type:"string"`

	LocalMountPath *string `type:"string"`

	ReadOnly *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (MountPointForCreateFunctionOutput) GoString

GoString returns the string representation

func (*MountPointForCreateFunctionOutput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*MountPointForCreateFunctionOutput) SetBucketPath

SetBucketPath sets the BucketPath field's value.

func (*MountPointForCreateFunctionOutput) SetEndpoint

SetEndpoint sets the Endpoint field's value.

func (*MountPointForCreateFunctionOutput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*MountPointForCreateFunctionOutput) SetReadOnly

SetReadOnly sets the ReadOnly field's value.

func (MountPointForCreateFunctionOutput) String

String returns the string representation

type MountPointForGetFunctionOutput

type MountPointForGetFunctionOutput struct {
	BucketName *string `type:"string"`

	BucketPath *string `type:"string"`

	Endpoint *string `type:"string"`

	LocalMountPath *string `type:"string"`

	ReadOnly *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (MountPointForGetFunctionOutput) GoString

GoString returns the string representation

func (*MountPointForGetFunctionOutput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*MountPointForGetFunctionOutput) SetBucketPath

SetBucketPath sets the BucketPath field's value.

func (*MountPointForGetFunctionOutput) SetEndpoint

SetEndpoint sets the Endpoint field's value.

func (*MountPointForGetFunctionOutput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*MountPointForGetFunctionOutput) SetReadOnly

SetReadOnly sets the ReadOnly field's value.

func (MountPointForGetFunctionOutput) String

String returns the string representation

type MountPointForUpdateFunctionInput

type MountPointForUpdateFunctionInput struct {
	BucketName *string `type:"string"`

	BucketPath *string `type:"string"`

	Endpoint *string `type:"string"`

	LocalMountPath *string `type:"string"`

	ReadOnly *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (MountPointForUpdateFunctionInput) GoString

GoString returns the string representation

func (*MountPointForUpdateFunctionInput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*MountPointForUpdateFunctionInput) SetBucketPath

SetBucketPath sets the BucketPath field's value.

func (*MountPointForUpdateFunctionInput) SetEndpoint

SetEndpoint sets the Endpoint field's value.

func (*MountPointForUpdateFunctionInput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*MountPointForUpdateFunctionInput) SetReadOnly

SetReadOnly sets the ReadOnly field's value.

func (MountPointForUpdateFunctionInput) String

String returns the string representation

type MountPointForUpdateFunctionOutput

type MountPointForUpdateFunctionOutput struct {
	BucketName *string `type:"string"`

	BucketPath *string `type:"string"`

	Endpoint *string `type:"string"`

	LocalMountPath *string `type:"string"`

	ReadOnly *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (MountPointForUpdateFunctionOutput) GoString

GoString returns the string representation

func (*MountPointForUpdateFunctionOutput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*MountPointForUpdateFunctionOutput) SetBucketPath

SetBucketPath sets the BucketPath field's value.

func (*MountPointForUpdateFunctionOutput) SetEndpoint

SetEndpoint sets the Endpoint field's value.

func (*MountPointForUpdateFunctionOutput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*MountPointForUpdateFunctionOutput) SetReadOnly

SetReadOnly sets the ReadOnly field's value.

func (MountPointForUpdateFunctionOutput) String

String returns the string representation

type NasConfigForCreateFunctionInput

type NasConfigForCreateFunctionInput struct {
	FileSystemId *string `type:"string"`

	Gid *int64 `type:"int64"`

	LocalMountPath *string `type:"string"`

	MountPointId *string `type:"string"`

	RemotePath *string `type:"string"`

	Uid *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (NasConfigForCreateFunctionInput) GoString

GoString returns the string representation

func (*NasConfigForCreateFunctionInput) SetFileSystemId

SetFileSystemId sets the FileSystemId field's value.

func (*NasConfigForCreateFunctionInput) SetGid

SetGid sets the Gid field's value.

func (*NasConfigForCreateFunctionInput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*NasConfigForCreateFunctionInput) SetMountPointId

SetMountPointId sets the MountPointId field's value.

func (*NasConfigForCreateFunctionInput) SetRemotePath

SetRemotePath sets the RemotePath field's value.

func (*NasConfigForCreateFunctionInput) SetUid

SetUid sets the Uid field's value.

func (NasConfigForCreateFunctionInput) String

String returns the string representation

type NasConfigForCreateFunctionOutput

type NasConfigForCreateFunctionOutput struct {
	FileSystemId *string `type:"string"`

	Gid *int64 `type:"int64"`

	LocalMountPath *string `type:"string"`

	MountPointId *string `type:"string"`

	RemotePath *string `type:"string"`

	Uid *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (NasConfigForCreateFunctionOutput) GoString

GoString returns the string representation

func (*NasConfigForCreateFunctionOutput) SetFileSystemId

SetFileSystemId sets the FileSystemId field's value.

func (*NasConfigForCreateFunctionOutput) SetGid

SetGid sets the Gid field's value.

func (*NasConfigForCreateFunctionOutput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*NasConfigForCreateFunctionOutput) SetMountPointId

SetMountPointId sets the MountPointId field's value.

func (*NasConfigForCreateFunctionOutput) SetRemotePath

SetRemotePath sets the RemotePath field's value.

func (*NasConfigForCreateFunctionOutput) SetUid

SetUid sets the Uid field's value.

func (NasConfigForCreateFunctionOutput) String

String returns the string representation

type NasConfigForGetFunctionOutput

type NasConfigForGetFunctionOutput struct {
	FileSystemId *string `type:"string"`

	Gid *int64 `type:"int64"`

	LocalMountPath *string `type:"string"`

	MountPointId *string `type:"string"`

	RemotePath *string `type:"string"`

	Uid *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (NasConfigForGetFunctionOutput) GoString

GoString returns the string representation

func (*NasConfigForGetFunctionOutput) SetFileSystemId

SetFileSystemId sets the FileSystemId field's value.

func (*NasConfigForGetFunctionOutput) SetGid

SetGid sets the Gid field's value.

func (*NasConfigForGetFunctionOutput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*NasConfigForGetFunctionOutput) SetMountPointId

SetMountPointId sets the MountPointId field's value.

func (*NasConfigForGetFunctionOutput) SetRemotePath

SetRemotePath sets the RemotePath field's value.

func (*NasConfigForGetFunctionOutput) SetUid

SetUid sets the Uid field's value.

func (NasConfigForGetFunctionOutput) String

String returns the string representation

type NasConfigForUpdateFunctionInput

type NasConfigForUpdateFunctionInput struct {
	FileSystemId *string `type:"string"`

	Gid *int64 `type:"int64"`

	LocalMountPath *string `type:"string"`

	MountPointId *string `type:"string"`

	RemotePath *string `type:"string"`

	Uid *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (NasConfigForUpdateFunctionInput) GoString

GoString returns the string representation

func (*NasConfigForUpdateFunctionInput) SetFileSystemId

SetFileSystemId sets the FileSystemId field's value.

func (*NasConfigForUpdateFunctionInput) SetGid

SetGid sets the Gid field's value.

func (*NasConfigForUpdateFunctionInput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*NasConfigForUpdateFunctionInput) SetMountPointId

SetMountPointId sets the MountPointId field's value.

func (*NasConfigForUpdateFunctionInput) SetRemotePath

SetRemotePath sets the RemotePath field's value.

func (*NasConfigForUpdateFunctionInput) SetUid

SetUid sets the Uid field's value.

func (NasConfigForUpdateFunctionInput) String

String returns the string representation

type NasConfigForUpdateFunctionOutput

type NasConfigForUpdateFunctionOutput struct {
	FileSystemId *string `type:"string"`

	Gid *int64 `type:"int64"`

	LocalMountPath *string `type:"string"`

	MountPointId *string `type:"string"`

	RemotePath *string `type:"string"`

	Uid *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (NasConfigForUpdateFunctionOutput) GoString

GoString returns the string representation

func (*NasConfigForUpdateFunctionOutput) SetFileSystemId

SetFileSystemId sets the FileSystemId field's value.

func (*NasConfigForUpdateFunctionOutput) SetGid

SetGid sets the Gid field's value.

func (*NasConfigForUpdateFunctionOutput) SetLocalMountPath

SetLocalMountPath sets the LocalMountPath field's value.

func (*NasConfigForUpdateFunctionOutput) SetMountPointId

SetMountPointId sets the MountPointId field's value.

func (*NasConfigForUpdateFunctionOutput) SetRemotePath

SetRemotePath sets the RemotePath field's value.

func (*NasConfigForUpdateFunctionOutput) SetUid

SetUid sets the Uid field's value.

func (NasConfigForUpdateFunctionOutput) String

String returns the string representation

type NasStorageForCreateFunctionInput

type NasStorageForCreateFunctionInput struct {
	EnableNas *bool `type:"boolean"`

	NasConfigs []*NasConfigForCreateFunctionInput `type:"list"`
	// contains filtered or unexported fields
}

func (NasStorageForCreateFunctionInput) GoString

GoString returns the string representation

func (*NasStorageForCreateFunctionInput) SetEnableNas

SetEnableNas sets the EnableNas field's value.

func (*NasStorageForCreateFunctionInput) SetNasConfigs

SetNasConfigs sets the NasConfigs field's value.

func (NasStorageForCreateFunctionInput) String

String returns the string representation

type NasStorageForCreateFunctionOutput

type NasStorageForCreateFunctionOutput struct {
	EnableNas *bool `type:"boolean"`

	NasConfigs []*NasConfigForCreateFunctionOutput `type:"list"`
	// contains filtered or unexported fields
}

func (NasStorageForCreateFunctionOutput) GoString

GoString returns the string representation

func (*NasStorageForCreateFunctionOutput) SetEnableNas

SetEnableNas sets the EnableNas field's value.

func (*NasStorageForCreateFunctionOutput) SetNasConfigs

SetNasConfigs sets the NasConfigs field's value.

func (NasStorageForCreateFunctionOutput) String

String returns the string representation

type NasStorageForGetFunctionOutput

type NasStorageForGetFunctionOutput struct {
	EnableNas *bool `type:"boolean"`

	NasConfigs []*NasConfigForGetFunctionOutput `type:"list"`
	// contains filtered or unexported fields
}

func (NasStorageForGetFunctionOutput) GoString

GoString returns the string representation

func (*NasStorageForGetFunctionOutput) SetEnableNas

SetEnableNas sets the EnableNas field's value.

func (*NasStorageForGetFunctionOutput) SetNasConfigs

SetNasConfigs sets the NasConfigs field's value.

func (NasStorageForGetFunctionOutput) String

String returns the string representation

type NasStorageForUpdateFunctionInput

type NasStorageForUpdateFunctionInput struct {
	EnableNas *bool `type:"boolean"`

	NasConfigs []*NasConfigForUpdateFunctionInput `type:"list"`
	// contains filtered or unexported fields
}

func (NasStorageForUpdateFunctionInput) GoString

GoString returns the string representation

func (*NasStorageForUpdateFunctionInput) SetEnableNas

SetEnableNas sets the EnableNas field's value.

func (*NasStorageForUpdateFunctionInput) SetNasConfigs

SetNasConfigs sets the NasConfigs field's value.

func (NasStorageForUpdateFunctionInput) String

String returns the string representation

type NasStorageForUpdateFunctionOutput

type NasStorageForUpdateFunctionOutput struct {
	EnableNas *bool `type:"boolean"`

	NasConfigs []*NasConfigForUpdateFunctionOutput `type:"list"`
	// contains filtered or unexported fields
}

func (NasStorageForUpdateFunctionOutput) GoString

GoString returns the string representation

func (*NasStorageForUpdateFunctionOutput) SetEnableNas

SetEnableNas sets the EnableNas field's value.

func (*NasStorageForUpdateFunctionOutput) SetNasConfigs

SetNasConfigs sets the NasConfigs field's value.

func (NasStorageForUpdateFunctionOutput) String

String returns the string representation

type SourceAccessConfigForCreateFunctionInput

type SourceAccessConfigForCreateFunctionInput struct {
	Password *string `type:"string"`

	Username *string `type:"string"`
	// contains filtered or unexported fields
}

func (SourceAccessConfigForCreateFunctionInput) GoString

GoString returns the string representation

func (*SourceAccessConfigForCreateFunctionInput) SetPassword

SetPassword sets the Password field's value.

func (*SourceAccessConfigForCreateFunctionInput) SetUsername

SetUsername sets the Username field's value.

func (SourceAccessConfigForCreateFunctionInput) String

String returns the string representation

type SourceAccessConfigForUpdateFunctionInput

type SourceAccessConfigForUpdateFunctionInput struct {
	Password *string `type:"string"`

	Username *string `type:"string"`
	// contains filtered or unexported fields
}

func (SourceAccessConfigForUpdateFunctionInput) GoString

GoString returns the string representation

func (*SourceAccessConfigForUpdateFunctionInput) SetPassword

SetPassword sets the Password field's value.

func (*SourceAccessConfigForUpdateFunctionInput) SetUsername

SetUsername sets the Username field's value.

func (SourceAccessConfigForUpdateFunctionInput) String

String returns the string representation

type TlsConfigForCreateFunctionInput

type TlsConfigForCreateFunctionInput struct {
	EnableLog *bool `type:"boolean"`

	TlsProjectId *string `type:"string"`

	TlsTopicId *string `type:"string"`
	// contains filtered or unexported fields
}

func (TlsConfigForCreateFunctionInput) GoString

GoString returns the string representation

func (*TlsConfigForCreateFunctionInput) SetEnableLog

SetEnableLog sets the EnableLog field's value.

func (*TlsConfigForCreateFunctionInput) SetTlsProjectId

SetTlsProjectId sets the TlsProjectId field's value.

func (*TlsConfigForCreateFunctionInput) SetTlsTopicId

SetTlsTopicId sets the TlsTopicId field's value.

func (TlsConfigForCreateFunctionInput) String

String returns the string representation

type TlsConfigForCreateFunctionOutput

type TlsConfigForCreateFunctionOutput struct {
	EnableLog *bool `type:"boolean"`

	TlsProjectId *string `type:"string"`

	TlsTopicId *string `type:"string"`
	// contains filtered or unexported fields
}

func (TlsConfigForCreateFunctionOutput) GoString

GoString returns the string representation

func (*TlsConfigForCreateFunctionOutput) SetEnableLog

SetEnableLog sets the EnableLog field's value.

func (*TlsConfigForCreateFunctionOutput) SetTlsProjectId

SetTlsProjectId sets the TlsProjectId field's value.

func (*TlsConfigForCreateFunctionOutput) SetTlsTopicId

SetTlsTopicId sets the TlsTopicId field's value.

func (TlsConfigForCreateFunctionOutput) String

String returns the string representation

type TlsConfigForGetFunctionOutput

type TlsConfigForGetFunctionOutput struct {
	EnableLog *bool `type:"boolean"`

	TlsProjectId *string `type:"string"`

	TlsTopicId *string `type:"string"`
	// contains filtered or unexported fields
}

func (TlsConfigForGetFunctionOutput) GoString

GoString returns the string representation

func (*TlsConfigForGetFunctionOutput) SetEnableLog

SetEnableLog sets the EnableLog field's value.

func (*TlsConfigForGetFunctionOutput) SetTlsProjectId

SetTlsProjectId sets the TlsProjectId field's value.

func (*TlsConfigForGetFunctionOutput) SetTlsTopicId

SetTlsTopicId sets the TlsTopicId field's value.

func (TlsConfigForGetFunctionOutput) String

String returns the string representation

type TlsConfigForUpdateFunctionInput

type TlsConfigForUpdateFunctionInput struct {
	EnableLog *bool `type:"boolean"`

	TlsProjectId *string `type:"string"`

	TlsTopicId *string `type:"string"`
	// contains filtered or unexported fields
}

func (TlsConfigForUpdateFunctionInput) GoString

GoString returns the string representation

func (*TlsConfigForUpdateFunctionInput) SetEnableLog

SetEnableLog sets the EnableLog field's value.

func (*TlsConfigForUpdateFunctionInput) SetTlsProjectId

SetTlsProjectId sets the TlsProjectId field's value.

func (*TlsConfigForUpdateFunctionInput) SetTlsTopicId

SetTlsTopicId sets the TlsTopicId field's value.

func (TlsConfigForUpdateFunctionInput) String

String returns the string representation

type TlsConfigForUpdateFunctionOutput

type TlsConfigForUpdateFunctionOutput struct {
	EnableLog *bool `type:"boolean"`

	TlsProjectId *string `type:"string"`

	TlsTopicId *string `type:"string"`
	// contains filtered or unexported fields
}

func (TlsConfigForUpdateFunctionOutput) GoString

GoString returns the string representation

func (*TlsConfigForUpdateFunctionOutput) SetEnableLog

SetEnableLog sets the EnableLog field's value.

func (*TlsConfigForUpdateFunctionOutput) SetTlsProjectId

SetTlsProjectId sets the TlsProjectId field's value.

func (*TlsConfigForUpdateFunctionOutput) SetTlsTopicId

SetTlsTopicId sets the TlsTopicId field's value.

func (TlsConfigForUpdateFunctionOutput) String

String returns the string representation

type TopParamForCreateFunctionInput

type TopParamForCreateFunctionInput struct {
	AccountId *int64 `type:"int64"`

	DestService *string `type:"string"`

	IsInternal *string `type:"string"`

	Psm *string `type:"string"`

	RealIp *string `type:"string"`

	Region *string `type:"string"`

	RequestId *string `type:"string"`

	RoleId *int64 `type:"int64"`

	Site *string `type:"string"`

	SourceService *string `type:"string"`

	UserId *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (TopParamForCreateFunctionInput) GoString

GoString returns the string representation

func (*TopParamForCreateFunctionInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*TopParamForCreateFunctionInput) SetDestService

SetDestService sets the DestService field's value.

func (*TopParamForCreateFunctionInput) SetIsInternal

SetIsInternal sets the IsInternal field's value.

func (*TopParamForCreateFunctionInput) SetPsm

SetPsm sets the Psm field's value.

func (*TopParamForCreateFunctionInput) SetRealIp

SetRealIp sets the RealIp field's value.

func (*TopParamForCreateFunctionInput) SetRegion

SetRegion sets the Region field's value.

func (*TopParamForCreateFunctionInput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*TopParamForCreateFunctionInput) SetRoleId

SetRoleId sets the RoleId field's value.

func (*TopParamForCreateFunctionInput) SetSite

SetSite sets the Site field's value.

func (*TopParamForCreateFunctionInput) SetSourceService

SetSourceService sets the SourceService field's value.

func (*TopParamForCreateFunctionInput) SetUserId

SetUserId sets the UserId field's value.

func (TopParamForCreateFunctionInput) String

String returns the string representation

type TopParamForDeleteFunctionInput

type TopParamForDeleteFunctionInput struct {
	AccountId *int64 `type:"int64"`

	DestService *string `type:"string"`

	IsInternal *string `type:"string"`

	Psm *string `type:"string"`

	RealIp *string `type:"string"`

	Region *string `type:"string"`

	RequestId *string `type:"string"`

	RoleId *int64 `type:"int64"`

	Site *string `type:"string"`

	SourceService *string `type:"string"`

	UserId *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (TopParamForDeleteFunctionInput) GoString

GoString returns the string representation

func (*TopParamForDeleteFunctionInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*TopParamForDeleteFunctionInput) SetDestService

SetDestService sets the DestService field's value.

func (*TopParamForDeleteFunctionInput) SetIsInternal

SetIsInternal sets the IsInternal field's value.

func (*TopParamForDeleteFunctionInput) SetPsm

SetPsm sets the Psm field's value.

func (*TopParamForDeleteFunctionInput) SetRealIp

SetRealIp sets the RealIp field's value.

func (*TopParamForDeleteFunctionInput) SetRegion

SetRegion sets the Region field's value.

func (*TopParamForDeleteFunctionInput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*TopParamForDeleteFunctionInput) SetRoleId

SetRoleId sets the RoleId field's value.

func (*TopParamForDeleteFunctionInput) SetSite

SetSite sets the Site field's value.

func (*TopParamForDeleteFunctionInput) SetSourceService

SetSourceService sets the SourceService field's value.

func (*TopParamForDeleteFunctionInput) SetUserId

SetUserId sets the UserId field's value.

func (TopParamForDeleteFunctionInput) String

String returns the string representation

type TopParamForGetFunctionInput

type TopParamForGetFunctionInput struct {
	AccountId *int64 `type:"int64"`

	DestService *string `type:"string"`

	IsInternal *string `type:"string"`

	Psm *string `type:"string"`

	RealIp *string `type:"string"`

	Region *string `type:"string"`

	RequestId *string `type:"string"`

	RoleId *int64 `type:"int64"`

	Site *string `type:"string"`

	SourceService *string `type:"string"`

	UserId *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (TopParamForGetFunctionInput) GoString

func (s TopParamForGetFunctionInput) GoString() string

GoString returns the string representation

func (*TopParamForGetFunctionInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*TopParamForGetFunctionInput) SetDestService

SetDestService sets the DestService field's value.

func (*TopParamForGetFunctionInput) SetIsInternal

SetIsInternal sets the IsInternal field's value.

func (*TopParamForGetFunctionInput) SetPsm

SetPsm sets the Psm field's value.

func (*TopParamForGetFunctionInput) SetRealIp

SetRealIp sets the RealIp field's value.

func (*TopParamForGetFunctionInput) SetRegion

SetRegion sets the Region field's value.

func (*TopParamForGetFunctionInput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*TopParamForGetFunctionInput) SetRoleId

SetRoleId sets the RoleId field's value.

func (*TopParamForGetFunctionInput) SetSite

SetSite sets the Site field's value.

func (*TopParamForGetFunctionInput) SetSourceService

SetSourceService sets the SourceService field's value.

func (*TopParamForGetFunctionInput) SetUserId

SetUserId sets the UserId field's value.

func (TopParamForGetFunctionInput) String

String returns the string representation

type TopParamForUpdateFunctionInput

type TopParamForUpdateFunctionInput struct {
	AccountId *int64 `type:"int64"`

	DestService *string `type:"string"`

	IsInternal *string `type:"string"`

	Psm *string `type:"string"`

	RealIp *string `type:"string"`

	Region *string `type:"string"`

	RequestId *string `type:"string"`

	RoleId *int64 `type:"int64"`

	Site *string `type:"string"`

	SourceService *string `type:"string"`

	UserId *int64 `type:"int64"`
	// contains filtered or unexported fields
}

func (TopParamForUpdateFunctionInput) GoString

GoString returns the string representation

func (*TopParamForUpdateFunctionInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*TopParamForUpdateFunctionInput) SetDestService

SetDestService sets the DestService field's value.

func (*TopParamForUpdateFunctionInput) SetIsInternal

SetIsInternal sets the IsInternal field's value.

func (*TopParamForUpdateFunctionInput) SetPsm

SetPsm sets the Psm field's value.

func (*TopParamForUpdateFunctionInput) SetRealIp

SetRealIp sets the RealIp field's value.

func (*TopParamForUpdateFunctionInput) SetRegion

SetRegion sets the Region field's value.

func (*TopParamForUpdateFunctionInput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*TopParamForUpdateFunctionInput) SetRoleId

SetRoleId sets the RoleId field's value.

func (*TopParamForUpdateFunctionInput) SetSite

SetSite sets the Site field's value.

func (*TopParamForUpdateFunctionInput) SetSourceService

SetSourceService sets the SourceService field's value.

func (*TopParamForUpdateFunctionInput) SetUserId

SetUserId sets the UserId field's value.

func (TopParamForUpdateFunctionInput) String

String returns the string representation

type TosMountConfigForCreateFunctionInput

type TosMountConfigForCreateFunctionInput struct {
	Credentials *CredentialsForCreateFunctionInput `type:"structure"`

	EnableTos *bool `type:"boolean"`

	MountPoints []*MountPointForCreateFunctionInput `type:"list"`
	// contains filtered or unexported fields
}

func (TosMountConfigForCreateFunctionInput) GoString

GoString returns the string representation

func (*TosMountConfigForCreateFunctionInput) SetCredentials

SetCredentials sets the Credentials field's value.

func (*TosMountConfigForCreateFunctionInput) SetEnableTos

SetEnableTos sets the EnableTos field's value.

func (*TosMountConfigForCreateFunctionInput) SetMountPoints

SetMountPoints sets the MountPoints field's value.

func (TosMountConfigForCreateFunctionInput) String

String returns the string representation

type TosMountConfigForCreateFunctionOutput

type TosMountConfigForCreateFunctionOutput struct {
	Credentials *CredentialsForCreateFunctionOutput `type:"structure"`

	EnableTos *bool `type:"boolean"`

	MountPoints []*MountPointForCreateFunctionOutput `type:"list"`
	// contains filtered or unexported fields
}

func (TosMountConfigForCreateFunctionOutput) GoString

GoString returns the string representation

func (*TosMountConfigForCreateFunctionOutput) SetCredentials

SetCredentials sets the Credentials field's value.

func (*TosMountConfigForCreateFunctionOutput) SetEnableTos

SetEnableTos sets the EnableTos field's value.

func (*TosMountConfigForCreateFunctionOutput) SetMountPoints

SetMountPoints sets the MountPoints field's value.

func (TosMountConfigForCreateFunctionOutput) String

String returns the string representation

type TosMountConfigForGetFunctionOutput

type TosMountConfigForGetFunctionOutput struct {
	Credentials *CredentialsForGetFunctionOutput `type:"structure"`

	EnableTos *bool `type:"boolean"`

	MountPoints []*MountPointForGetFunctionOutput `type:"list"`
	// contains filtered or unexported fields
}

func (TosMountConfigForGetFunctionOutput) GoString

GoString returns the string representation

func (*TosMountConfigForGetFunctionOutput) SetCredentials

SetCredentials sets the Credentials field's value.

func (*TosMountConfigForGetFunctionOutput) SetEnableTos

SetEnableTos sets the EnableTos field's value.

func (*TosMountConfigForGetFunctionOutput) SetMountPoints

SetMountPoints sets the MountPoints field's value.

func (TosMountConfigForGetFunctionOutput) String

String returns the string representation

type TosMountConfigForUpdateFunctionInput

type TosMountConfigForUpdateFunctionInput struct {
	Credentials *CredentialsForUpdateFunctionInput `type:"structure"`

	EnableTos *bool `type:"boolean"`

	MountPoints []*MountPointForUpdateFunctionInput `type:"list"`
	// contains filtered or unexported fields
}

func (TosMountConfigForUpdateFunctionInput) GoString

GoString returns the string representation

func (*TosMountConfigForUpdateFunctionInput) SetCredentials

SetCredentials sets the Credentials field's value.

func (*TosMountConfigForUpdateFunctionInput) SetEnableTos

SetEnableTos sets the EnableTos field's value.

func (*TosMountConfigForUpdateFunctionInput) SetMountPoints

SetMountPoints sets the MountPoints field's value.

func (TosMountConfigForUpdateFunctionInput) String

String returns the string representation

type TosMountConfigForUpdateFunctionOutput

type TosMountConfigForUpdateFunctionOutput struct {
	Credentials *CredentialsForUpdateFunctionOutput `type:"structure"`

	EnableTos *bool `type:"boolean"`

	MountPoints []*MountPointForUpdateFunctionOutput `type:"list"`
	// contains filtered or unexported fields
}

func (TosMountConfigForUpdateFunctionOutput) GoString

GoString returns the string representation

func (*TosMountConfigForUpdateFunctionOutput) SetCredentials

SetCredentials sets the Credentials field's value.

func (*TosMountConfigForUpdateFunctionOutput) SetEnableTos

SetEnableTos sets the EnableTos field's value.

func (*TosMountConfigForUpdateFunctionOutput) SetMountPoints

SetMountPoints sets the MountPoints field's value.

func (TosMountConfigForUpdateFunctionOutput) String

String returns the string representation

type UpdateFunctionInput

type UpdateFunctionInput struct {
	DebugInstanceEnable *bool `type:"boolean"`

	Description *string `type:"string"`

	Envs []*EnvForUpdateFunctionInput `type:"list"`

	ExclusiveMode *bool `type:"boolean"`

	// Id is a required field
	Id *string `type:"string" required:"true"`

	InitializerSec *int32 `type:"int32"`

	MaxConcurrency *int32 `type:"int32"`

	MemoryMB *int32 `type:"int32"`

	NasStorage *NasStorageForUpdateFunctionInput `type:"structure"`

	RequestTimeout *int32 `type:"int32"`

	Source *string `type:"string"`

	SourceAccessConfig *SourceAccessConfigForUpdateFunctionInput `type:"structure"`

	SourceType *string `type:"string"`

	TlsConfig *TlsConfigForUpdateFunctionInput `type:"structure"`

	TopParam *TopParamForUpdateFunctionInput `type:"structure"`

	TosMountConfig *TosMountConfigForUpdateFunctionInput `type:"structure"`

	VpcConfig *VpcConfigForUpdateFunctionInput `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateFunctionInput) GoString

func (s UpdateFunctionInput) GoString() string

GoString returns the string representation

func (*UpdateFunctionInput) SetDebugInstanceEnable

func (s *UpdateFunctionInput) SetDebugInstanceEnable(v bool) *UpdateFunctionInput

SetDebugInstanceEnable sets the DebugInstanceEnable field's value.

func (*UpdateFunctionInput) SetDescription

func (s *UpdateFunctionInput) SetDescription(v string) *UpdateFunctionInput

SetDescription sets the Description field's value.

func (*UpdateFunctionInput) SetEnvs

SetEnvs sets the Envs field's value.

func (*UpdateFunctionInput) SetExclusiveMode

func (s *UpdateFunctionInput) SetExclusiveMode(v bool) *UpdateFunctionInput

SetExclusiveMode sets the ExclusiveMode field's value.

func (*UpdateFunctionInput) SetId

SetId sets the Id field's value.

func (*UpdateFunctionInput) SetInitializerSec

func (s *UpdateFunctionInput) SetInitializerSec(v int32) *UpdateFunctionInput

SetInitializerSec sets the InitializerSec field's value.

func (*UpdateFunctionInput) SetMaxConcurrency

func (s *UpdateFunctionInput) SetMaxConcurrency(v int32) *UpdateFunctionInput

SetMaxConcurrency sets the MaxConcurrency field's value.

func (*UpdateFunctionInput) SetMemoryMB

func (s *UpdateFunctionInput) SetMemoryMB(v int32) *UpdateFunctionInput

SetMemoryMB sets the MemoryMB field's value.

func (*UpdateFunctionInput) SetNasStorage

SetNasStorage sets the NasStorage field's value.

func (*UpdateFunctionInput) SetRequestTimeout

func (s *UpdateFunctionInput) SetRequestTimeout(v int32) *UpdateFunctionInput

SetRequestTimeout sets the RequestTimeout field's value.

func (*UpdateFunctionInput) SetSource

SetSource sets the Source field's value.

func (*UpdateFunctionInput) SetSourceAccessConfig

SetSourceAccessConfig sets the SourceAccessConfig field's value.

func (*UpdateFunctionInput) SetSourceType

func (s *UpdateFunctionInput) SetSourceType(v string) *UpdateFunctionInput

SetSourceType sets the SourceType field's value.

func (*UpdateFunctionInput) SetTlsConfig

SetTlsConfig sets the TlsConfig field's value.

func (*UpdateFunctionInput) SetTopParam

SetTopParam sets the TopParam field's value.

func (*UpdateFunctionInput) SetTosMountConfig

SetTosMountConfig sets the TosMountConfig field's value.

func (*UpdateFunctionInput) SetVpcConfig

SetVpcConfig sets the VpcConfig field's value.

func (UpdateFunctionInput) String

func (s UpdateFunctionInput) String() string

String returns the string representation

func (*UpdateFunctionInput) Validate

func (s *UpdateFunctionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateFunctionOutput

type UpdateFunctionOutput struct {
	Metadata *response.ResponseMetadata

	CodeSize *int32 `type:"int32"`

	CodeSizeLimit *int32 `type:"int32"`

	CreationTime *string `type:"string"`

	DebugInstanceEnable *bool `type:"boolean"`

	Description *string `type:"string"`

	Envs []*EnvForUpdateFunctionOutput `type:"list"`

	ExclusiveMode *bool `type:"boolean"`

	Id *string `type:"string"`

	InitializerSec *int32 `type:"int32"`

	InstanceType *string `type:"string"`

	LastUpdateTime *string `type:"string"`

	MaxConcurrency *int32 `type:"int32"`

	MemoryMB *int32 `type:"int32"`

	Name *string `type:"string"`

	NasStorage *NasStorageForUpdateFunctionOutput `type:"structure"`

	Owner *string `type:"string"`

	RequestTimeout *int32 `type:"int32"`

	ResourcePoolId *string `type:"string"`

	Runtime *string `type:"string"`

	SourceLocation *string `type:"string"`

	SourceType *string `type:"string"`

	TlsConfig *TlsConfigForUpdateFunctionOutput `type:"structure"`

	TosMountConfig *TosMountConfigForUpdateFunctionOutput `type:"structure"`

	TriggersCount *int32 `type:"int32"`

	UseStatus *string `type:"string"`

	VpcConfig *VpcConfigForUpdateFunctionOutput `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateFunctionOutput) GoString

func (s UpdateFunctionOutput) GoString() string

GoString returns the string representation

func (*UpdateFunctionOutput) SetCodeSize

func (s *UpdateFunctionOutput) SetCodeSize(v int32) *UpdateFunctionOutput

SetCodeSize sets the CodeSize field's value.

func (*UpdateFunctionOutput) SetCodeSizeLimit

func (s *UpdateFunctionOutput) SetCodeSizeLimit(v int32) *UpdateFunctionOutput

SetCodeSizeLimit sets the CodeSizeLimit field's value.

func (*UpdateFunctionOutput) SetCreationTime

func (s *UpdateFunctionOutput) SetCreationTime(v string) *UpdateFunctionOutput

SetCreationTime sets the CreationTime field's value.

func (*UpdateFunctionOutput) SetDebugInstanceEnable

func (s *UpdateFunctionOutput) SetDebugInstanceEnable(v bool) *UpdateFunctionOutput

SetDebugInstanceEnable sets the DebugInstanceEnable field's value.

func (*UpdateFunctionOutput) SetDescription

func (s *UpdateFunctionOutput) SetDescription(v string) *UpdateFunctionOutput

SetDescription sets the Description field's value.

func (*UpdateFunctionOutput) SetEnvs

SetEnvs sets the Envs field's value.

func (*UpdateFunctionOutput) SetExclusiveMode

func (s *UpdateFunctionOutput) SetExclusiveMode(v bool) *UpdateFunctionOutput

SetExclusiveMode sets the ExclusiveMode field's value.

func (*UpdateFunctionOutput) SetId

SetId sets the Id field's value.

func (*UpdateFunctionOutput) SetInitializerSec

func (s *UpdateFunctionOutput) SetInitializerSec(v int32) *UpdateFunctionOutput

SetInitializerSec sets the InitializerSec field's value.

func (*UpdateFunctionOutput) SetInstanceType

func (s *UpdateFunctionOutput) SetInstanceType(v string) *UpdateFunctionOutput

SetInstanceType sets the InstanceType field's value.

func (*UpdateFunctionOutput) SetLastUpdateTime

func (s *UpdateFunctionOutput) SetLastUpdateTime(v string) *UpdateFunctionOutput

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*UpdateFunctionOutput) SetMaxConcurrency

func (s *UpdateFunctionOutput) SetMaxConcurrency(v int32) *UpdateFunctionOutput

SetMaxConcurrency sets the MaxConcurrency field's value.

func (*UpdateFunctionOutput) SetMemoryMB

func (s *UpdateFunctionOutput) SetMemoryMB(v int32) *UpdateFunctionOutput

SetMemoryMB sets the MemoryMB field's value.

func (*UpdateFunctionOutput) SetName

SetName sets the Name field's value.

func (*UpdateFunctionOutput) SetNasStorage

SetNasStorage sets the NasStorage field's value.

func (*UpdateFunctionOutput) SetOwner

SetOwner sets the Owner field's value.

func (*UpdateFunctionOutput) SetRequestTimeout

func (s *UpdateFunctionOutput) SetRequestTimeout(v int32) *UpdateFunctionOutput

SetRequestTimeout sets the RequestTimeout field's value.

func (*UpdateFunctionOutput) SetResourcePoolId

func (s *UpdateFunctionOutput) SetResourcePoolId(v string) *UpdateFunctionOutput

SetResourcePoolId sets the ResourcePoolId field's value.

func (*UpdateFunctionOutput) SetRuntime

SetRuntime sets the Runtime field's value.

func (*UpdateFunctionOutput) SetSourceLocation

func (s *UpdateFunctionOutput) SetSourceLocation(v string) *UpdateFunctionOutput

SetSourceLocation sets the SourceLocation field's value.

func (*UpdateFunctionOutput) SetSourceType

func (s *UpdateFunctionOutput) SetSourceType(v string) *UpdateFunctionOutput

SetSourceType sets the SourceType field's value.

func (*UpdateFunctionOutput) SetTlsConfig

SetTlsConfig sets the TlsConfig field's value.

func (*UpdateFunctionOutput) SetTosMountConfig

SetTosMountConfig sets the TosMountConfig field's value.

func (*UpdateFunctionOutput) SetTriggersCount

func (s *UpdateFunctionOutput) SetTriggersCount(v int32) *UpdateFunctionOutput

SetTriggersCount sets the TriggersCount field's value.

func (*UpdateFunctionOutput) SetUseStatus

func (s *UpdateFunctionOutput) SetUseStatus(v string) *UpdateFunctionOutput

SetUseStatus sets the UseStatus field's value.

func (*UpdateFunctionOutput) SetVpcConfig

SetVpcConfig sets the VpcConfig field's value.

func (UpdateFunctionOutput) String

func (s UpdateFunctionOutput) String() string

String returns the string representation

type VEFAAS

type VEFAAS struct {
	*client.Client
}

VEFAAS provides the API operation methods for making requests to VEFAAS. See this package's package overview docs for details on the service.

VEFAAS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *VEFAAS

New create int can support ssl or region locate set

func (*VEFAAS) CreateFunction

func (c *VEFAAS) CreateFunction(input *CreateFunctionInput) (*CreateFunctionOutput, error)

CreateFunction API operation for VEFAAS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for VEFAAS's API operation CreateFunction for usage and error information.

func (*VEFAAS) CreateFunctionCommon

func (c *VEFAAS) CreateFunctionCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateFunctionCommon API operation for VEFAAS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for VEFAAS's API operation CreateFunctionCommon for usage and error information.

func (*VEFAAS) CreateFunctionCommonRequest

func (c *VEFAAS) CreateFunctionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateFunctionCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateFunctionCommon operation. The "output" return value will be populated with the CreateFunctionCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateFunctionCommon Request to send the API call to the service. the "output" return value is not valid until after CreateFunctionCommon Send returns without error.

See CreateFunctionCommon for more information on using the CreateFunctionCommon API call, and error handling.

// Example sending a request using the CreateFunctionCommonRequest method.
req, resp := client.CreateFunctionCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VEFAAS) CreateFunctionCommonWithContext

func (c *VEFAAS) CreateFunctionCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateFunctionCommonWithContext is the same as CreateFunctionCommon with the addition of the ability to pass a context and additional request options.

See CreateFunctionCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VEFAAS) CreateFunctionRequest

func (c *VEFAAS) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *CreateFunctionOutput)

CreateFunctionRequest generates a "volcengine/request.Request" representing the client's request for the CreateFunction operation. The "output" return value will be populated with the CreateFunctionCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateFunctionCommon Request to send the API call to the service. the "output" return value is not valid until after CreateFunctionCommon Send returns without error.

See CreateFunction for more information on using the CreateFunction API call, and error handling.

// Example sending a request using the CreateFunctionRequest method.
req, resp := client.CreateFunctionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VEFAAS) CreateFunctionWithContext

func (c *VEFAAS) CreateFunctionWithContext(ctx volcengine.Context, input *CreateFunctionInput, opts ...request.Option) (*CreateFunctionOutput, error)

CreateFunctionWithContext is the same as CreateFunction with the addition of the ability to pass a context and additional request options.

See CreateFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VEFAAS) DeleteFunction

func (c *VEFAAS) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error)

DeleteFunction API operation for VEFAAS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for VEFAAS's API operation DeleteFunction for usage and error information.

func (*VEFAAS) DeleteFunctionCommon

func (c *VEFAAS) DeleteFunctionCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteFunctionCommon API operation for VEFAAS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for VEFAAS's API operation DeleteFunctionCommon for usage and error information.

func (*VEFAAS) DeleteFunctionCommonRequest

func (c *VEFAAS) DeleteFunctionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteFunctionCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteFunctionCommon operation. The "output" return value will be populated with the DeleteFunctionCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteFunctionCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteFunctionCommon Send returns without error.

See DeleteFunctionCommon for more information on using the DeleteFunctionCommon API call, and error handling.

// Example sending a request using the DeleteFunctionCommonRequest method.
req, resp := client.DeleteFunctionCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VEFAAS) DeleteFunctionCommonWithContext

func (c *VEFAAS) DeleteFunctionCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteFunctionCommonWithContext is the same as DeleteFunctionCommon with the addition of the ability to pass a context and additional request options.

See DeleteFunctionCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VEFAAS) DeleteFunctionRequest

func (c *VEFAAS) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput)

DeleteFunctionRequest generates a "volcengine/request.Request" representing the client's request for the DeleteFunction operation. The "output" return value will be populated with the DeleteFunctionCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteFunctionCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteFunctionCommon Send returns without error.

See DeleteFunction for more information on using the DeleteFunction API call, and error handling.

// Example sending a request using the DeleteFunctionRequest method.
req, resp := client.DeleteFunctionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VEFAAS) DeleteFunctionWithContext

func (c *VEFAAS) DeleteFunctionWithContext(ctx volcengine.Context, input *DeleteFunctionInput, opts ...request.Option) (*DeleteFunctionOutput, error)

DeleteFunctionWithContext is the same as DeleteFunction with the addition of the ability to pass a context and additional request options.

See DeleteFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VEFAAS) GetFunction

func (c *VEFAAS) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error)

GetFunction API operation for VEFAAS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for VEFAAS's API operation GetFunction for usage and error information.

func (*VEFAAS) GetFunctionCommon

func (c *VEFAAS) GetFunctionCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetFunctionCommon API operation for VEFAAS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for VEFAAS's API operation GetFunctionCommon for usage and error information.

func (*VEFAAS) GetFunctionCommonRequest

func (c *VEFAAS) GetFunctionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetFunctionCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetFunctionCommon operation. The "output" return value will be populated with the GetFunctionCommon request's response once the request completes successfully.

Use "Send" method on the returned GetFunctionCommon Request to send the API call to the service. the "output" return value is not valid until after GetFunctionCommon Send returns without error.

See GetFunctionCommon for more information on using the GetFunctionCommon API call, and error handling.

// Example sending a request using the GetFunctionCommonRequest method.
req, resp := client.GetFunctionCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VEFAAS) GetFunctionCommonWithContext

func (c *VEFAAS) GetFunctionCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetFunctionCommonWithContext is the same as GetFunctionCommon with the addition of the ability to pass a context and additional request options.

See GetFunctionCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VEFAAS) GetFunctionRequest

func (c *VEFAAS) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput)

GetFunctionRequest generates a "volcengine/request.Request" representing the client's request for the GetFunction operation. The "output" return value will be populated with the GetFunctionCommon request's response once the request completes successfully.

Use "Send" method on the returned GetFunctionCommon Request to send the API call to the service. the "output" return value is not valid until after GetFunctionCommon Send returns without error.

See GetFunction for more information on using the GetFunction API call, and error handling.

// Example sending a request using the GetFunctionRequest method.
req, resp := client.GetFunctionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VEFAAS) GetFunctionWithContext

func (c *VEFAAS) GetFunctionWithContext(ctx volcengine.Context, input *GetFunctionInput, opts ...request.Option) (*GetFunctionOutput, error)

GetFunctionWithContext is the same as GetFunction with the addition of the ability to pass a context and additional request options.

See GetFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VEFAAS) UpdateFunction

func (c *VEFAAS) UpdateFunction(input *UpdateFunctionInput) (*UpdateFunctionOutput, error)

UpdateFunction API operation for VEFAAS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for VEFAAS's API operation UpdateFunction for usage and error information.

func (*VEFAAS) UpdateFunctionCommon

func (c *VEFAAS) UpdateFunctionCommon(input *map[string]interface{}) (*map[string]interface{}, error)

UpdateFunctionCommon API operation for VEFAAS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for VEFAAS's API operation UpdateFunctionCommon for usage and error information.

func (*VEFAAS) UpdateFunctionCommonRequest

func (c *VEFAAS) UpdateFunctionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

UpdateFunctionCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateFunctionCommon operation. The "output" return value will be populated with the UpdateFunctionCommon request's response once the request completes successfully.

Use "Send" method on the returned UpdateFunctionCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateFunctionCommon Send returns without error.

See UpdateFunctionCommon for more information on using the UpdateFunctionCommon API call, and error handling.

// Example sending a request using the UpdateFunctionCommonRequest method.
req, resp := client.UpdateFunctionCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VEFAAS) UpdateFunctionCommonWithContext

func (c *VEFAAS) UpdateFunctionCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

UpdateFunctionCommonWithContext is the same as UpdateFunctionCommon with the addition of the ability to pass a context and additional request options.

See UpdateFunctionCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*VEFAAS) UpdateFunctionRequest

func (c *VEFAAS) UpdateFunctionRequest(input *UpdateFunctionInput) (req *request.Request, output *UpdateFunctionOutput)

UpdateFunctionRequest generates a "volcengine/request.Request" representing the client's request for the UpdateFunction operation. The "output" return value will be populated with the UpdateFunctionCommon request's response once the request completes successfully.

Use "Send" method on the returned UpdateFunctionCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateFunctionCommon Send returns without error.

See UpdateFunction for more information on using the UpdateFunction API call, and error handling.

// Example sending a request using the UpdateFunctionRequest method.
req, resp := client.UpdateFunctionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*VEFAAS) UpdateFunctionWithContext

func (c *VEFAAS) UpdateFunctionWithContext(ctx volcengine.Context, input *UpdateFunctionInput, opts ...request.Option) (*UpdateFunctionOutput, error)

UpdateFunctionWithContext is the same as UpdateFunction with the addition of the ability to pass a context and additional request options.

See UpdateFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type VEFAASAPI

type VEFAASAPI interface {
	CreateFunctionCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateFunctionCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateFunctionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateFunction(*CreateFunctionInput) (*CreateFunctionOutput, error)
	CreateFunctionWithContext(volcengine.Context, *CreateFunctionInput, ...request.Option) (*CreateFunctionOutput, error)
	CreateFunctionRequest(*CreateFunctionInput) (*request.Request, *CreateFunctionOutput)

	DeleteFunctionCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteFunctionCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteFunctionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteFunction(*DeleteFunctionInput) (*DeleteFunctionOutput, error)
	DeleteFunctionWithContext(volcengine.Context, *DeleteFunctionInput, ...request.Option) (*DeleteFunctionOutput, error)
	DeleteFunctionRequest(*DeleteFunctionInput) (*request.Request, *DeleteFunctionOutput)

	GetFunctionCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetFunctionCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetFunctionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetFunction(*GetFunctionInput) (*GetFunctionOutput, error)
	GetFunctionWithContext(volcengine.Context, *GetFunctionInput, ...request.Option) (*GetFunctionOutput, error)
	GetFunctionRequest(*GetFunctionInput) (*request.Request, *GetFunctionOutput)

	UpdateFunctionCommon(*map[string]interface{}) (*map[string]interface{}, error)
	UpdateFunctionCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	UpdateFunctionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	UpdateFunction(*UpdateFunctionInput) (*UpdateFunctionOutput, error)
	UpdateFunctionWithContext(volcengine.Context, *UpdateFunctionInput, ...request.Option) (*UpdateFunctionOutput, error)
	UpdateFunctionRequest(*UpdateFunctionInput) (*request.Request, *UpdateFunctionOutput)
}

VEFAASAPI provides an interface to enable mocking the vefaas.VEFAAS service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// VEFAAS.
func myFunc(svc VEFAASAPI) bool {
    // Make svc.CreateFunction request
}

func main() {
    sess := session.New()
    svc := vefaas.New(sess)

    myFunc(svc)
}

type VpcConfigForCreateFunctionInput

type VpcConfigForCreateFunctionInput struct {
	EnableSharedInternetAccess *bool `type:"boolean"`

	EnableVpc *bool `type:"boolean"`

	SecurityGroupIds []*string `type:"list"`

	SubnetIds []*string `type:"list"`

	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpcConfigForCreateFunctionInput) GoString

GoString returns the string representation

func (*VpcConfigForCreateFunctionInput) SetEnableSharedInternetAccess

func (s *VpcConfigForCreateFunctionInput) SetEnableSharedInternetAccess(v bool) *VpcConfigForCreateFunctionInput

SetEnableSharedInternetAccess sets the EnableSharedInternetAccess field's value.

func (*VpcConfigForCreateFunctionInput) SetEnableVpc

SetEnableVpc sets the EnableVpc field's value.

func (*VpcConfigForCreateFunctionInput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*VpcConfigForCreateFunctionInput) SetSubnetIds

SetSubnetIds sets the SubnetIds field's value.

func (*VpcConfigForCreateFunctionInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (VpcConfigForCreateFunctionInput) String

String returns the string representation

type VpcConfigForCreateFunctionOutput

type VpcConfigForCreateFunctionOutput struct {
	EnableSharedInternetAccess *bool `type:"boolean"`

	EnableVpc *bool `type:"boolean"`

	SecurityGroupIds []*string `type:"list"`

	SubnetIds []*string `type:"list"`

	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpcConfigForCreateFunctionOutput) GoString

GoString returns the string representation

func (*VpcConfigForCreateFunctionOutput) SetEnableSharedInternetAccess

func (s *VpcConfigForCreateFunctionOutput) SetEnableSharedInternetAccess(v bool) *VpcConfigForCreateFunctionOutput

SetEnableSharedInternetAccess sets the EnableSharedInternetAccess field's value.

func (*VpcConfigForCreateFunctionOutput) SetEnableVpc

SetEnableVpc sets the EnableVpc field's value.

func (*VpcConfigForCreateFunctionOutput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*VpcConfigForCreateFunctionOutput) SetSubnetIds

SetSubnetIds sets the SubnetIds field's value.

func (*VpcConfigForCreateFunctionOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (VpcConfigForCreateFunctionOutput) String

String returns the string representation

type VpcConfigForGetFunctionOutput

type VpcConfigForGetFunctionOutput struct {
	EnableSharedInternetAccess *bool `type:"boolean"`

	EnableVpc *bool `type:"boolean"`

	SecurityGroupIds []*string `type:"list"`

	SubnetIds []*string `type:"list"`

	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpcConfigForGetFunctionOutput) GoString

GoString returns the string representation

func (*VpcConfigForGetFunctionOutput) SetEnableSharedInternetAccess

func (s *VpcConfigForGetFunctionOutput) SetEnableSharedInternetAccess(v bool) *VpcConfigForGetFunctionOutput

SetEnableSharedInternetAccess sets the EnableSharedInternetAccess field's value.

func (*VpcConfigForGetFunctionOutput) SetEnableVpc

SetEnableVpc sets the EnableVpc field's value.

func (*VpcConfigForGetFunctionOutput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*VpcConfigForGetFunctionOutput) SetSubnetIds

SetSubnetIds sets the SubnetIds field's value.

func (*VpcConfigForGetFunctionOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (VpcConfigForGetFunctionOutput) String

String returns the string representation

type VpcConfigForUpdateFunctionInput

type VpcConfigForUpdateFunctionInput struct {
	EnableSharedInternetAccess *bool `type:"boolean"`

	EnableVpc *bool `type:"boolean"`

	SecurityGroupIds []*string `type:"list"`

	SubnetIds []*string `type:"list"`

	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpcConfigForUpdateFunctionInput) GoString

GoString returns the string representation

func (*VpcConfigForUpdateFunctionInput) SetEnableSharedInternetAccess

func (s *VpcConfigForUpdateFunctionInput) SetEnableSharedInternetAccess(v bool) *VpcConfigForUpdateFunctionInput

SetEnableSharedInternetAccess sets the EnableSharedInternetAccess field's value.

func (*VpcConfigForUpdateFunctionInput) SetEnableVpc

SetEnableVpc sets the EnableVpc field's value.

func (*VpcConfigForUpdateFunctionInput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*VpcConfigForUpdateFunctionInput) SetSubnetIds

SetSubnetIds sets the SubnetIds field's value.

func (*VpcConfigForUpdateFunctionInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (VpcConfigForUpdateFunctionInput) String

String returns the string representation

type VpcConfigForUpdateFunctionOutput

type VpcConfigForUpdateFunctionOutput struct {
	EnableSharedInternetAccess *bool `type:"boolean"`

	EnableVpc *bool `type:"boolean"`

	SecurityGroupIds []*string `type:"list"`

	SubnetIds []*string `type:"list"`

	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (VpcConfigForUpdateFunctionOutput) GoString

GoString returns the string representation

func (*VpcConfigForUpdateFunctionOutput) SetEnableSharedInternetAccess

func (s *VpcConfigForUpdateFunctionOutput) SetEnableSharedInternetAccess(v bool) *VpcConfigForUpdateFunctionOutput

SetEnableSharedInternetAccess sets the EnableSharedInternetAccess field's value.

func (*VpcConfigForUpdateFunctionOutput) SetEnableVpc

SetEnableVpc sets the EnableVpc field's value.

func (*VpcConfigForUpdateFunctionOutput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*VpcConfigForUpdateFunctionOutput) SetSubnetIds

SetSubnetIds sets the SubnetIds field's value.

func (*VpcConfigForUpdateFunctionOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (VpcConfigForUpdateFunctionOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

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