di

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spare

type Spare struct {
	// StorageCreator is an interface for creating external storage.
	StorageCreator usecase.StorageCreator
	// CDNCreator is an interface for creating CDN.
	CDNCreator usecase.CDNCreator
	// FileUploader is an interface for uploading files to external storage.
	FileUploader usecase.FileUploader
}

Spare is a struct that contains the settings for the spare CLI command.

func NewSpare

func NewSpare(profile model.AWSProfile, region model.Region, endpoint *model.Endpoint) (*Spare, error)

NewSpare returns a new Spare struct.

Jump to

Keyboard shortcuts

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