screenshot

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Local

func Local(bmc BmcScreenshoter, host string) (fileURL string, status bool, err error)

Local takes screenshot and store it locally on the server

func S3

func S3(bmc BmcScreenshoter, host string) (fileURL string, status bool, err error)

S3 takes a screenshot and upload to s3

Types

type BmcScreenshoter added in v1.1.7

type BmcScreenshoter interface {
	Screenshot() ([]byte, string, error)
	HardwareType() string
}

BmcScreenshoter represents BMC providers with the minimal set of methods

Jump to

Keyboard shortcuts

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