storagemanager

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +fybrik:validation:schema

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocateStorageRequest

type AllocateStorageRequest struct {
	// Type of the storage account, e.g., s3
	AccountType taxonomy.ConnectionType `json:"accountType"`
	// Account properties, e.g., endpoint
	AccountProperties taxonomy.StorageAccountProperties `json:"accountProperties"`
	// Reference to the secret with credentials
	Secret taxonomy.SecretRef `json:"secret,omitempty"`
	// Configuration options
	Opts Options `json:"options"`
}

func (*AllocateStorageRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocateStorageRequest.

func (*AllocateStorageRequest) DeepCopyInto

func (in *AllocateStorageRequest) DeepCopyInto(out *AllocateStorageRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AllocateStorageResponse

type AllocateStorageResponse struct {
	// Connection object for the allocated storage
	Connection *taxonomy.Connection `json:"connection,omitempty"`
}

func (*AllocateStorageResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocateStorageResponse.

func (*AllocateStorageResponse) DeepCopyInto

func (in *AllocateStorageResponse) DeepCopyInto(out *AllocateStorageResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ApplicationDetails

type ApplicationDetails struct {
	// Application name
	Name string `json:"name"`
	// Application namespace
	Namespace string `json:"namespace"`
	// uuid
	UUID string `json:"uuid"`
}

Details of the owner application

func (*ApplicationDetails) DeepCopy

func (in *ApplicationDetails) DeepCopy() *ApplicationDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDetails.

func (*ApplicationDetails) DeepCopyInto

func (in *ApplicationDetails) DeepCopyInto(out *ApplicationDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConfigOptions

type ConfigOptions struct {
	// Delete an empty folder/bucket when the allocated storage is deleted
	DeleteEmptyFolder bool `json:"deleteEmptyFolder,omitempty"`
}

Configuration options TODO: extend IT config policies to return options for storage management

func (*ConfigOptions) DeepCopy

func (in *ConfigOptions) DeepCopy() *ConfigOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigOptions.

func (*ConfigOptions) DeepCopyInto

func (in *ConfigOptions) DeepCopyInto(out *ConfigOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetDetails

type DatasetDetails struct {
	Name string `json:"name"`
}

Details of the new asset The current implementation includes only a name provided in the write flow for a new asset

func (*DatasetDetails) DeepCopy

func (in *DatasetDetails) DeepCopy() *DatasetDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetDetails.

func (*DatasetDetails) DeepCopyInto

func (in *DatasetDetails) DeepCopyInto(out *DatasetDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeleteStorageRequest

type DeleteStorageRequest struct {
	// Connection object representing storage to free
	Connection taxonomy.Connection `json:"connection"`
	// Reference to the secret with credentials
	Secret taxonomy.SecretRef `json:"secret,omitempty"`
	// Configuration options
	Opts Options `json:"options"`
}

func (*DeleteStorageRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteStorageRequest.

func (*DeleteStorageRequest) DeepCopyInto

func (in *DeleteStorageRequest) DeepCopyInto(out *DeleteStorageRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GetSupportedStorageTypesResponse added in v1.3.2

type GetSupportedStorageTypesResponse struct {
	// connection types supported by StorageManager for storage allocation/deletion
	ConnectionTypes []taxonomy.ConnectionType `json:"connectionTypes"`
}

func (*GetSupportedStorageTypesResponse) DeepCopy added in v1.3.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetSupportedStorageTypesResponse.

func (*GetSupportedStorageTypesResponse) DeepCopyInto added in v1.3.2

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Options

type Options struct {
	AppDetails        ApplicationDetails `json:"appDetails"`
	DatasetProperties DatasetDetails     `json:"datasetProperties"`
	ConfigurationOpts ConfigOptions      `json:"configurationOpts"`
}

Additional options provided for storage allocation/deletion

func (*Options) DeepCopy

func (in *Options) DeepCopy() *Options

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Options.

func (*Options) DeepCopyInto

func (in *Options) DeepCopyInto(out *Options)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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