alpha3

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package alpha3 defines SiteWhere Structures

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SiteWhereInstanceConfiguration

type SiteWhereInstanceConfiguration struct {
	Infrastructure *SiteWhereInstanceInfrastructureConfiguration `json:"infrastructure"`
	Persistence    *SiteWhereInstancePersistenceConfiguration    `json:"persistenceConfigurations"`
}

SiteWhereInstanceConfiguration SiteWhere Instance configurations

type SiteWhereInstanceInfrastructureConfiguration

type SiteWhereInstanceInfrastructureConfiguration struct {
	Namespace string                                               `json:"namespace"`
	GRPC      *SiteWhereInstanceInfrastructureGRPCConfiguration    `json:"grpc"`
	Kafka     *SiteWhereInstanceInfrastructureKafkaConfiguration   `json:"kafka"`
	Metrics   *SiteWhereInstanceInfrastructureMetricsConfiguration `json:"metrics"`
	Redis     *SiteWhereInstanceInfrastructureRedisConfiguration   `json:"redis"`
}

SiteWhereInstanceInfrastructureConfiguration SiteWhere Instance Infrastructure configurations

type SiteWhereInstanceInfrastructureGRPCConfiguration

type SiteWhereInstanceInfrastructureGRPCConfiguration struct {
	BackoffMultiplier     float64 `json:"backoffMultiplier"`
	InitialBackoffSeconds int64   `json:"initialBackoffSeconds"`
	MaxBackoffSeconds     int64   `json:"maxBackoffSeconds"`
	MaxRetryCount         int64   `json:"maxRetryCount"`
	ResolveFQDN           bool    `json:"resolveFQDN"`
}

SiteWhereInstanceInfrastructureGRPCConfiguration SiteWhere Instance Infrastructure gRPC configurations

type SiteWhereInstanceInfrastructureKafkaConfiguration

type SiteWhereInstanceInfrastructureKafkaConfiguration struct {
	Hostname                      string `json:"hostname"`
	Port                          int64  `json:"port"`
	DefaultTopicPartitions        int64  `json:"defaultTopicPartitions"`
	DefaultTopicReplicationFactor int64  `json:"defaultTopicReplicationFactor"`
}

SiteWhereInstanceInfrastructureKafkaConfiguration SiteWhere Instance Infrastrucre Kafka configurations

type SiteWhereInstanceInfrastructureMetricsConfiguration

type SiteWhereInstanceInfrastructureMetricsConfiguration struct {
	Enabled  bool  `json:"enabled"`
	HTTPPort int64 `json:"httpPort"`
}

SiteWhereInstanceInfrastructureMetricsConfiguration SiteWhere Instance Infrastrucre Metrics configurations

type SiteWhereInstanceInfrastructureRedisConfiguration

type SiteWhereInstanceInfrastructureRedisConfiguration struct {
	Hostname        string `json:"hostname"`
	Port            int64  `json:"port"`
	NodeCount       int64  `json:"nodeCount"`
	MasterGroupName string `json:"masterGroupName"`
}

SiteWhereInstanceInfrastructureRedisConfiguration SiteWhere Instance Infrastrucre Redis configurations

type SiteWhereInstancePersistenceCassandraConfiguration

type SiteWhereInstancePersistenceCassandraConfiguration struct {
	ContactPoints string `json:"contactPoints"`
	Keyspace      string `json:"keyspace"`
}

SiteWhereInstancePersistenceCassandraConfiguration SiteWhere Instance Persistence Cassandra configurations

type SiteWhereInstancePersistenceConfiguration

type SiteWhereInstancePersistenceConfiguration struct {
	CassandraConfigurations map[string]SiteWhereInstancePersistenceCassandraConfiguration `json:"cassandraConfigurations"`
	InfluxDBConfigurations  map[string]SiteWhereInstancePersistenceInfluxDBConfiguration  `json:"influxDbConfigurations"`
	RDBConfigurations       map[string]SiteWhereInstancePersistenceRDBConfiguration       `json:"rdbConfigurations"`
}

SiteWhereInstancePersistenceConfiguration SiteWhere Instance Persistence configurations

type SiteWhereInstancePersistenceInfluxDBConfiguration

type SiteWhereInstancePersistenceInfluxDBConfiguration struct {
	Hostname     string `json:"hostname"`
	Port         int64  `json:"port"`
	DatabaseName string `json:"databaseName"`
}

SiteWhereInstancePersistenceInfluxDBConfiguration SiteWhere Instance Persistence InfuxDB configurations

type SiteWhereInstancePersistenceRDBConfiguration

type SiteWhereInstancePersistenceRDBConfiguration struct {
}

SiteWhereInstancePersistenceRDBConfiguration SiteWhere Instance Persistence Relational Database configurations

type SiteWhereMicroservice

type SiteWhereMicroservice struct {
	ID          string
	Name        string
	Description string
	Icon        string
	PortOffset  int32
	Logger      string
	Profile     SiteWhereProfile
}

SiteWhereMicroservice defines a microservice

func GetSiteWhereMicroservicesList

func GetSiteWhereMicroservicesList() []SiteWhereMicroservice

GetSiteWhereMicroservicesList Returns the list of SiteWhere Microservices Names

type SiteWhereMicroserviceStatus

type SiteWhereMicroserviceStatus struct {
	Name   string `json:"name"`
	Status string `json:"status"`
}

SiteWhereMicroserviceStatus SiteWhere Instance Microservice Status

type SiteWhereProfile

type SiteWhereProfile string

SiteWhereProfile profiles to use the application

const (
	// Default profile, use all microservices
	Default SiteWhereProfile = "Default"
	// Minimal profile, use a reduce set of microservices
	Minimal SiteWhereProfile = "Minimal"
)

Jump to

Keyboard shortcuts

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