servicefabric

package module
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

README

Træfik extra: Service Fabric Provider

Build Status (Linux)

For more information, look at the Træfik documentation

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PartitionItemExtended

type PartitionItemExtended struct {
	sf.PartitionItem
	Replicas  []sf.ReplicaItem
	Instances []sf.InstanceItem
}

PartitionItemExtended provides a flattened view of a services partitions

type Provider

type Provider struct {
	provider.BaseProvider `mapstructure:",squash"`
	ClusterManagementURL  string           `description:"Service Fabric API endpoint"`
	APIVersion            string           `description:"Service Fabric API version" export:"true"`
	RefreshSeconds        int              `description:"Polling interval (in seconds)" export:"true"`
	TLS                   *types.ClientTLS `description:"Enable TLS support" export:"true"`
}

Provider holds for configuration for the provider

func (*Provider) Provide

func (p *Provider) Provide(configurationChan chan<- types.ConfigMessage, pool *safe.Pool, constraints types.Constraints) error

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

type ServiceItemExtended

type ServiceItemExtended struct {
	sf.ServiceItem
	HasHTTPEndpoint bool
	IsHealthy       bool
	Application     sf.ApplicationItem
	Partitions      []PartitionItemExtended
	Labels          map[string]string
}

ServiceItemExtended provides a flattened view of the service with details of the application it belongs too and the replicas/partitions

Jump to

Keyboard shortcuts

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