resize

package
v0.0.0-...-0320a89 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *Options)

Option defines a single option function.

type Options

type Options struct {
}

Options defines the available options for this package.

type Opts

type Opts struct {
	Volume *model.Volume
	Target string
}

Opts defines the available options for the resize handler.

type Service

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

Service defines the service for the resize component.

func NewService

func NewService(opts ...Option) *Service

NewService simply initializes a new resize service.

func (*Service) Resize

func (s *Service) Resize(ctx context.Context, opts Opts) error

Resize is resizing the requested volume.

Jump to

Keyboard shortcuts

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