storages

package
v0.0.0-...-7cbc1ea Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var REGION, BUCKET string

Functions

func AwsStorageCheck

func AwsStorageCheck(st *Storage) service.ServiceCheck

function to upload file to s3

func LinodeStorageCheck

func LinodeStorageCheck(st *Storage) error

Types

type Storage

type Storage struct {
	Type    string `json:"type"`
	Region  string `json:"region"`
	BUCKET  string `json:"bucket"`
	UriOnly string `json:"urionly"`
}

func (*Storage) GetStorageDriver

func (st *Storage) GetStorageDriver() service.ServiceCheck

Jump to

Keyboard shortcuts

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