Documentation
¶
Index ¶
- type AuthOptions
- type CinderConfig
- type Driver
- func (d *Driver) CreateSnapshot(req *pb.CreateVolumeSnapshotOpts) (*model.VolumeSnapshotSpec, error)
- func (d *Driver) CreateVolume(req *pb.CreateVolumeOpts) (*model.VolumeSpec, error)
- func (d *Driver) DeleteSnapshot(req *pb.DeleteVolumeSnapshotOpts) error
- func (d *Driver) DeleteVolume(opt *pb.DeleteVolumeOpts) error
- func (d *Driver) ExtendVolume(req *pb.ExtendVolumeOpts) (*model.VolumeSpec, error)
- func (d *Driver) InitializeConnection(req *pb.CreateAttachmentOpts) (*model.ConnectionInfo, error)
- func (d *Driver) ListPools() ([]*model.StoragePoolSpec, error)
- func (d *Driver) PullSnapshot(snapID string) (*model.VolumeSnapshotSpec, error)
- func (d *Driver) PullVolume(volID string) (*model.VolumeSpec, error)
- func (d *Driver) Setup() error
- func (d *Driver) TerminateConnection(opt *pb.DeleteAttachmentOpts) error
- func (d *Driver) Unset() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthOptions ¶
type AuthOptions struct { NoAuth bool `yaml:"noAuth,omitempty"` CinderEndpoint string `yaml:"cinderEndpoint,omitempty"` IdentityEndpoint string `yaml:"endpoint,omitempty"` DomainID string `yaml:"domainId,omitempty"` DomainName string `yaml:"domainName,omitempty"` Username string `yaml:"username,omitempty"` Password string `yaml:"password,omitempty"` TenantID string `yaml:"tenantId,omitempty"` TenantName string `yaml:"tenantName,omitempty"` }
AuthOptions
type CinderConfig ¶
type CinderConfig struct { AuthOptions `yaml:"authOptions"` Pool map[string]PoolProperties `yaml:"pool,flow"` }
CinderConfig
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver is a struct of Cinder backend, which can be called to manage block storage service defined in gophercloud.
func (*Driver) CreateSnapshot ¶
func (d *Driver) CreateSnapshot(req *pb.CreateVolumeSnapshotOpts) (*model.VolumeSnapshotSpec, error)
CreateSnapshot
func (*Driver) CreateVolume ¶
func (d *Driver) CreateVolume(req *pb.CreateVolumeOpts) (*model.VolumeSpec, error)
CreateVolume
func (*Driver) DeleteSnapshot ¶
func (d *Driver) DeleteSnapshot(req *pb.DeleteVolumeSnapshotOpts) error
DeleteSnapshot
func (*Driver) DeleteVolume ¶
func (d *Driver) DeleteVolume(opt *pb.DeleteVolumeOpts) error
DeleteVolume
func (*Driver) ExtendVolume ¶ added in v0.1.1
func (d *Driver) ExtendVolume(req *pb.ExtendVolumeOpts) (*model.VolumeSpec, error)
ExtendVolume ...
func (*Driver) InitializeConnection ¶
func (d *Driver) InitializeConnection(req *pb.CreateAttachmentOpts) (*model.ConnectionInfo, error)
InitializeConnection
func (*Driver) PullSnapshot ¶
func (d *Driver) PullSnapshot(snapID string) (*model.VolumeSnapshotSpec, error)
PullSnapshot
func (*Driver) PullVolume ¶
func (d *Driver) PullVolume(volID string) (*model.VolumeSpec, error)
PullVolume
func (*Driver) TerminateConnection ¶
func (d *Driver) TerminateConnection(opt *pb.DeleteAttachmentOpts) error
TerminateConnection
Click to show internal directories.
Click to hide internal directories.