inventory

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrServerServiceDuplicateFirmware = errors.New("duplicate firmware found")
	ErrServerServiceQuery             = errors.New("server service query failed")
)

Functions

This section is empty.

Types

type ServerService

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

func New

func New(ctx context.Context, inventoryURL string, logger *logrus.Logger) (*ServerService, error)

func (*ServerService) Publish

func (s *ServerService) Publish(vendor string, firmware *config.Firmware, dstURL string) error

Publish adds firmware data to Hollow's ServerService

Jump to

Keyboard shortcuts

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