server

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InventoryServer

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

func New

func New(clients *clients.Clients, serverURL, caCerts string) *InventoryServer

func (*InventoryServer) ServeHTTP

func (i *InventoryServer) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type WriteFile

type WriteFile struct {
	Encoding    string `json:"encoding,omitempty"`
	Content     string `json:"content,omitempty"`
	Owner       string `json:"owner,omitempty"`
	Path        string `json:"path,omitempty"`
	Permissions string `json:"permissions,omitempty"`
}

Jump to

Keyboard shortcuts

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