analytics

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Invoke

func Invoke(log logr.Logger, endpoint string, payload interface{}, transport HTTP) (*v2alpha2.Analysis, error)

Invoke sends payload to endpoint and gets response back

Types

type HTTP

type HTTP interface {
	Post(url, contentType string, body []byte) ([]byte, int, error)
}

HTTP ..

Jump to

Keyboard shortcuts

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