endpoint

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEndpointParams

type CreateEndpointParams struct {
	HealthCheckInterval int               `json:"healthcheck_interval"`
	Checks              []api.HealthCheck `json:"checks"`
	Plugin              string            `json:"plugin_name"`
	PluginConfig        json.RawMessage   `json:"plugin_config"`
}

type Creator

type Creator interface {
	CreateEndpoint(ctx context.Context, params CreateEndpointParams) (models.Endpoint, error)
}

func NewCreator

func NewCreator(config config.Config, storage models.Storage, scheduler scheduler.Scheduler, registry plugin.Registry) Creator

type ErrTooManyEndpoints added in v3.1.0

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

func (ErrTooManyEndpoints) Error added in v3.1.0

func (e ErrTooManyEndpoints) Error() string

Directories

Path Synopsis
Package endpointmock is a generated GoMock package.
Package endpointmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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