server

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerData

type ServerData struct {
	Digests           map[string]string `json:"digests"`
	CreationTimestamp int64             `json:"creationTimestamp"`
}

ServerData represents the harvested server artifacts data

func CreateServerArtifactsData

func CreateServerArtifactsData(paths []string, logger *logger.Logger) ([]*ServerData, error)

CreateServerArtifactsData creates a list of ServerData for server artifacts at given paths

type ServerEnvRequest

type ServerEnvRequest struct {
	Artifacts []*ServerData `json:"artifacts"`
	Type      string        `json:"type"`
	Id        string        `json:"id"`
}

ServerEnvRequest represents the PUT request body to be sent to kosli from a server

Jump to

Keyboard shortcuts

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