types

package
v0.0.0-...-1d54b3f Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointConfiguration

type EndpointConfiguration struct {
	Namespaces []NamespaceConfiguration
}

type NamespaceConfiguration

type NamespaceConfiguration struct {
	Name     string
	Services []ServiceConfiguration
}

type PingConfiguration

type PingConfiguration struct {
	Periodicity int
	Method      interface{}
	Target      string
	Timeout     int
}

func (PingConfiguration) String

func (pc PingConfiguration) String() string

type PodConfiguration

type PodConfiguration struct {
	Name        string
	Address     string
	Port        string
	Enabled     bool
	Periodicity int
	Timeout     int
}

func (PodConfiguration) String

func (p PodConfiguration) String() string

type ProcessorConfiguration

type ProcessorConfiguration struct {
	Type      string
	Threshold int
}

func (ProcessorConfiguration) String

func (pc ProcessorConfiguration) String() string

type ServerConfiguration

type ServerConfiguration struct {
	Type string
	Port int
}

func (ServerConfiguration) String

func (sc ServerConfiguration) String() string

type ServiceConfiguration

type ServiceConfiguration struct {
	Name            string
	ServiceLabel    string
	Annotations     map[string]string
	Pods            []PodConfiguration
	ProcessorConfig ProcessorConfiguration
}

func (ServiceConfiguration) String

func (sc ServiceConfiguration) String() string

Jump to

Keyboard shortcuts

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