Documentation ¶
Index ¶
- type VolumeService
- func (s *VolumeService) Attach(ctx context.Context, volume *csi.Volume, server *csi.Server) error
- func (s *VolumeService) Create(ctx context.Context, opts volumes.CreateOpts) (*csi.Volume, error)
- func (s *VolumeService) Delete(ctx context.Context, volume *csi.Volume) error
- func (s *VolumeService) Detach(ctx context.Context, volume *csi.Volume, server *csi.Server) error
- func (s *VolumeService) GetByID(ctx context.Context, id uint64) (*csi.Volume, error)
- func (s *VolumeService) GetByName(ctx context.Context, name string) (*csi.Volume, error)
- func (s *VolumeService) Resize(ctx context.Context, volume *csi.Volume, size int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumeService ¶
type VolumeService struct {
// contains filtered or unexported fields
}
func NewVolumeService ¶
func NewVolumeService(logger log.Logger, client *hcloud.Client) *VolumeService
func (*VolumeService) Create ¶
func (s *VolumeService) Create(ctx context.Context, opts volumes.CreateOpts) (*csi.Volume, error)
Click to show internal directories.
Click to hide internal directories.