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
Click to show internal directories.
Click to hide internal directories.