cloud

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FilesystemTypeStandard = "standard"
	FilesystemTypeCpfs     = "cpfs"
	FilesystemTypeExtreme  = "extreme"
	DefaultAccessGroup     = "DEFAULT_VPC_GROUP_NAME"
)

Variables

View Source
var KubernetesAlicloudIdentity = fmt.Sprintf("Kubernetes.Alicloud/CsiProvision.Nas-%s", version.VERSION)

Functions

func GetEndpointForRegion

func GetEndpointForRegion(region string) string

func GetFilesystemTypeByMountTargetDomain

func GetFilesystemTypeByMountTargetDomain(domain string) string

func IsAccessPointNotFoundError

func IsAccessPointNotFoundError(err error) bool

func IsMountTargetNotFoundError

func IsMountTargetNotFoundError(err error) bool

Types

type NasClientFactory

type NasClientFactory struct {
	// contains filtered or unexported fields
}

func NewNasClientFactory

func NewNasClientFactory() *NasClientFactory

func (*NasClientFactory) V1 deprecated

Deprecated: NAS openapi client provided by github.com/aliyun/alibaba-cloud-sdk-go/services/nas.

func (*NasClientFactory) V2

V2 gets a NAS OpenAPI client sourced from github.com/alibabacloud-go/nas-20170626. As github.com/aliyun/alibaba-cloud-sdk-go/services/nas won't be updated with new NAS APIs (e.g., access points), we will fully migrate to github.com/alibabacloud-go/nas-20170626 in the future.

type NasClientV2

type NasClientV2 struct {
	// contains filtered or unexported fields
}

func (*NasClientV2) CancelDirQuota

func (c *NasClientV2) CancelDirQuota(req *sdk.CancelDirQuotaRequest) error

func (*NasClientV2) CreateAccesspoint

func (*NasClientV2) CreateDir

func (c *NasClientV2) CreateDir(req *sdk.CreateDirRequest) error

func (*NasClientV2) DeleteAccesspoint

func (c *NasClientV2) DeleteAccesspoint(filesystemId, accessPointId string) error

func (*NasClientV2) DescribeAccesspoint

func (c *NasClientV2) DescribeAccesspoint(filesystemId, accessPointId string) (*sdk.DescribeAccessPointResponse, error)

func (*NasClientV2) GetRecycleBinAttribute

func (c *NasClientV2) GetRecycleBinAttribute(filesystemId string) (*sdk.GetRecycleBinAttributeResponse, error)

func (*NasClientV2) SetDirQuota

func (c *NasClientV2) SetDirQuota(req *sdk.SetDirQuotaRequest) error

Jump to

Keyboard shortcuts

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