http

package
v0.0.0-...-369f184 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPReporter

type HTTPReporter struct {
	Config  HTTPReporterConfig
	Context *contexts.ManagerContext
}

func (*HTTPReporter) Clone

func (*HTTPReporter) ID

func (m *HTTPReporter) ID() string

func (*HTTPReporter) Init

func (m *HTTPReporter) Init(config providers.IProviderConfig) error

func (*HTTPReporter) InitWithMap

func (i *HTTPReporter) InitWithMap(properties map[string]string) error

func (*HTTPReporter) Report

func (m *HTTPReporter) Report(id string, namespace string, group string, kind string, version string, properties map[string]string, overwrite bool) error

func (*HTTPReporter) SetContext

func (a *HTTPReporter) SetContext(context *contexts.ManagerContext)

type HTTPReporterConfig

type HTTPReporterConfig struct {
	Name string `json:"name"`
	Url  string `json:"url"`
}

func HTTPReporterConfigFromMap

func HTTPReporterConfigFromMap(properties map[string]string) (HTTPReporterConfig, error)

Jump to

Keyboard shortcuts

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