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) BuildFSConfig ¶ added in v1.7.5
func (p *Provider) BuildFSConfig(services []ServiceItemExtended) (string, error)
func (*Provider) GetSFConfig ¶ added in v1.7.5
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.
Click to show internal directories.
Click to hide internal directories.