marathon

package
v2.0.0-beta1.0...-88ebac9 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: MIT Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// DefaultTemplateRule The default template for the default rule.
	DefaultTemplateRule = "Host(`{{ normalize .Name }}`)"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Basic

type Basic struct {
	HTTPBasicAuthUser string `` /* 145-byte string literal not displayed */
	HTTPBasicPassword string `` /* 149-byte string literal not displayed */
}

Basic holds basic authentication specific configurations

type Provider

type Provider struct {
	Constraints            string           `` /* 260-byte string literal not displayed */
	Trace                  bool             `` /* 130-byte string literal not displayed */
	Watch                  bool             `description:"Watch provider." json:"watch,omitempty" toml:"watch,omitempty" yaml:"watch,omitempty" export:"true"`
	Endpoint               string           `` /* 184-byte string literal not displayed */
	DefaultRule            string           `description:"Default rule." json:"defaultRule,omitempty" toml:"defaultRule,omitempty" yaml:"defaultRule,omitempty"`
	ExposedByDefault       bool             `` /* 162-byte string literal not displayed */
	DCOSToken              string           `` /* 185-byte string literal not displayed */
	TLS                    *types.ClientTLS `description:"Enable TLS support." json:"tls,omitempty" toml:"tls,omitempty" yaml:"tls,omitempty" export:"true"`
	DialerTimeout          types.Duration   `` /* 155-byte string literal not displayed */
	ResponseHeaderTimeout  types.Duration   `` /* 188-byte string literal not displayed */
	TLSHandshakeTimeout    types.Duration   `` /* 180-byte string literal not displayed */
	KeepAlive              types.Duration   `` /* 135-byte string literal not displayed */
	ForceTaskHostname      bool             `` /* 166-byte string literal not displayed */
	Basic                  *Basic           `description:"Enable basic authentication." json:"basic,omitempty" toml:"basic,omitempty" yaml:"basic,omitempty" export:"true"`
	RespectReadinessChecks bool             `` /* 221-byte string literal not displayed */
	// contains filtered or unexported fields
}

Provider holds configuration of the provider.

func (*Provider) Init

func (p *Provider) Init() error

Init the provider

func (*Provider) Provide

func (p *Provider) Provide(configurationChan chan<- dynamic.Message, pool *safe.Pool) error

Provide allows the marathon provider to provide configurations to traefik using the given configuration channel.

func (*Provider) SetDefaults

func (p *Provider) SetDefaults()

SetDefaults sets the default values.

type TaskState

type TaskState string

TaskState denotes the Mesos state a task can have.

Directories

Path Synopsis
Package mocks Code generated by mockery v1.0.0.
Package mocks Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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