servicefabric

package module
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 16 Imported by: 98

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        flaeg.Duration   `description:"Polling interval (in seconds)" export:"true"`
	TLS                   *types.ClientTLS `description:"Enable TLS support" export:"true"`
	AppInsightsClientName string           `description:"The client name, Identifies the cloud instance"`
	AppInsightsKey        string           `description:"Application Insights Instrumentation Key"`
	AppInsightsBatchSize  int              `description:"Number of trace lines per batch, optional"`
	AppInsightsInterval   flaeg.Duration   `description:"The interval for sending data to Application Insights, optional"`
	// contains filtered or unexported fields
}

Provider holds for configuration for the provider.

func (*Provider) Init added in v1.3.0

func (p *Provider) Init(constraints types.Constraints) error

Init the provider.

func (*Provider) Provide

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

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

type ServiceItemExtended

type ServiceItemExtended struct {
	sf.ServiceItem
	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