collection

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SampleGetFileShares = []fileModel.FileShare{
		{
			Id:                 "3769855c-a102-11e7-b772-17b880d2f537",
			CreatedAt:          "CreatedAt",
			UpdatedAt:          "UpdatedAt",
			Name:               "sample-fileshare-01",
			Description:        "This is first sample fileshare for testing",
			UserId:             "Sample-UserID",
			Backend:            "Sample-Backend",
			BackendId:          "Sample-BackendId",
			Size:               sizeptr,
			Type:               "Sample-Type",
			TenantId:           "Sample-TenantId",
			Status:             "available",
			Region:             "asia",
			AvailabilityZone:   "default",
			Protocols:          []string{"iscsi"},
			SnapshotId:         "snapshotid",
			Encrypted:          &isEncrypted,
			EncryptionSettings: map[string]string{"foo": "bar"},
		},
	}

	SampleFileShare1 = fileModel.FileShare{
		Id:                 "3769855c-a102-11e7-b772-17b880d2f539",
		CreatedAt:          "CreatedAt",
		UpdatedAt:          "UpdatedAt",
		Name:               "sample-fileshare-01",
		Description:        "This is first sample fileshare for testing",
		UserId:             "Sample-UserID",
		Backend:            "Sample-Backend",
		BackendId:          "Sample-BackendId",
		Size:               sizeptr,
		Type:               "Sample-Type",
		TenantId:           "Sample-TenantId",
		Status:             "available",
		Region:             "asia",
		AvailabilityZone:   "default",
		Protocols:          []string{"iscsi"},
		SnapshotId:         "snapshotid",
		Encrypted:          &isEncrypted,
		EncryptionSettings: map[string]string{"foo": "bar"},
	}
	SampleFileShare2 = fileModel.FileShare{
		Id:                 "3769855c-a102-11e7-b772-17b880d2f530",
		CreatedAt:          "CreatedAt",
		UpdatedAt:          "UpdatedAt",
		Name:               "sample-fileshare-01",
		Description:        "This is first sample fileshare for testing",
		UserId:             "Sample-UserID",
		Backend:            "Sample-Backend",
		BackendId:          "Sample-BackendId",
		Size:               sizeptr,
		Type:               "Sample-Type",
		TenantId:           "Sample-TenantId",
		Status:             "available",
		Region:             "asia",
		AvailabilityZone:   "default",
		Protocols:          []string{"iscsi"},
		SnapshotId:         "snapshotid",
		Encrypted:          &isEncrypted,
		EncryptionSettings: map[string]string{"foo": "bar"},
	}

	SampleListFileShares = []*fileModel.FileShare{
		&SampleFileShare1,
		&SampleFileShare2,
	}
)
View Source
var (
	SampleBackendDetails = []backendModel.Backend{
		{
			Id:         "4769855c-a102-11e7-b772-17b880d2f530",
			TenantId:   "sample-backend-tenantID",
			UserId:     "sample-backend-userID",
			Name:       "sample-backend-name",
			Type:       "sample-backend-type",
			Region:     "sample-backend-region",
			Endpoint:   "sample-backend-endpoint",
			BucketName: "sample-backend-bucketname",
			Access:     "sample-backend-access",
			Security:   "sample-backend-security",
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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