host

package
v0.0.0-...-98a7958 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package host enables setting and reading the current host from context

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) (kolide.Host, bool)

FromContext extracts the osquery host from context if present.

func NewContext

func NewContext(ctx context.Context, host kolide.Host) context.Context

NewContext returns a new context carrying the current osquery host.

Types

This section is empty.

Jump to

Keyboard shortcuts

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