Documentation
¶
Index ¶
- Constants
- Variables
- type ApplicationDiscoveryListItem
- type CassandraDiscovery
- type CassandraDiscoveryResult
- type ElasticsearchDiscovery
- type ElasticsearchDiscoveryResult
- type EtcdDiscovery
- type EtcdDiscoveryResult
- type KafkaDiscovery
- type KafkaDiscoveryResult
- type KubeApiServerDiscovery
- type KubeApiServerDiscoveryResult
- type MongoDBDiscovery
- type MongoDBDiscoveryResult
- type MysqlDiscovery
- type MysqlDiscoveryResult
- type PostgresDiscovery
- type PostgresDiscoveryResult
- type RabbitMQDiscovery
- type RabbitMQDiscoveryResult
- type RedisDiscovery
- type RedisDiscoveryResult
Constants ¶
View Source
const ( // Default Username Username = "cassandra" // Default Password Password = "cassandra" )
View Source
const (
RabbitMQProtocolName = "rabbitmq"
)
Variables ¶
View Source
var ApplicationDiscoveryList = []ApplicationDiscoveryListItem{ { Discovery: &KubeApiServerDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 6443, }, }, { Discovery: &ElasticsearchDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 9200, }, }, { Discovery: &MysqlDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 3306, }, }, { Discovery: &PostgresDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 5432, }, }, { Discovery: &RedisDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 6379, }, }, { Discovery: &EtcdDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 2379, }, }, { Discovery: &MongoDBDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 27017, }, }, { Discovery: &RabbitMQDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 5672, }, }, { Discovery: &KafkaDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 9092, }, }, { Discovery: &CassandraDiscovery{}, Reqirement: string(servicediscovery.TCP), CommonPorts: []int{ 9042, }, }, }
Functions ¶
This section is empty.
Types ¶
type ApplicationDiscoveryListItem ¶
type ApplicationDiscoveryListItem struct { Discovery servicediscovery.ApplicationLayerDiscovery Reqirement string CommonPorts []int }
type CassandraDiscovery ¶
type CassandraDiscovery struct{}
func (*CassandraDiscovery) Discover ¶
func (d *CassandraDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*CassandraDiscovery) Protocol ¶
func (d *CassandraDiscovery) Protocol() string
type CassandraDiscoveryResult ¶
type CassandraDiscoveryResult struct { IsDetected bool // contains filtered or unexported fields }
func (*CassandraDiscoveryResult) GetIsAuthRequired ¶
func (r *CassandraDiscoveryResult) GetIsAuthRequired() bool
func (*CassandraDiscoveryResult) GetIsDetected ¶
func (r *CassandraDiscoveryResult) GetIsDetected() bool
func (*CassandraDiscoveryResult) GetProperties ¶
func (r *CassandraDiscoveryResult) GetProperties() map[string]interface{}
func (*CassandraDiscoveryResult) Protocol ¶
func (r *CassandraDiscoveryResult) Protocol() string
type ElasticsearchDiscovery ¶
type ElasticsearchDiscovery struct { }
func (*ElasticsearchDiscovery) Discover ¶
func (d *ElasticsearchDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*ElasticsearchDiscovery) Protocol ¶
func (d *ElasticsearchDiscovery) Protocol() string
type ElasticsearchDiscoveryResult ¶
type ElasticsearchDiscoveryResult struct {
// contains filtered or unexported fields
}
func (*ElasticsearchDiscoveryResult) GetIsAuthRequired ¶
func (r *ElasticsearchDiscoveryResult) GetIsAuthRequired() bool
func (*ElasticsearchDiscoveryResult) GetIsDetected ¶
func (r *ElasticsearchDiscoveryResult) GetIsDetected() bool
func (*ElasticsearchDiscoveryResult) GetProperties ¶
func (r *ElasticsearchDiscoveryResult) GetProperties() map[string]interface{}
func (*ElasticsearchDiscoveryResult) Protocol ¶
func (r *ElasticsearchDiscoveryResult) Protocol() string
type EtcdDiscovery ¶
type EtcdDiscovery struct { }
func (*EtcdDiscovery) Discover ¶
func (d *EtcdDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*EtcdDiscovery) Protocol ¶
func (d *EtcdDiscovery) Protocol() string
type EtcdDiscoveryResult ¶
type EtcdDiscoveryResult struct {
// contains filtered or unexported fields
}
func (*EtcdDiscoveryResult) GetIsAuthRequired ¶
func (r *EtcdDiscoveryResult) GetIsAuthRequired() bool
func (*EtcdDiscoveryResult) GetIsDetected ¶
func (r *EtcdDiscoveryResult) GetIsDetected() bool
func (*EtcdDiscoveryResult) GetProperties ¶
func (r *EtcdDiscoveryResult) GetProperties() map[string]interface{}
func (*EtcdDiscoveryResult) Protocol ¶
func (r *EtcdDiscoveryResult) Protocol() string
type KafkaDiscovery ¶
type KafkaDiscovery struct { }
func (*KafkaDiscovery) Discover ¶
func (k *KafkaDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*KafkaDiscovery) Protocol ¶
func (k *KafkaDiscovery) Protocol() string
type KafkaDiscoveryResult ¶
type KafkaDiscoveryResult struct {
// contains filtered or unexported fields
}
func (*KafkaDiscoveryResult) GetIsAuthRequired ¶
func (r *KafkaDiscoveryResult) GetIsAuthRequired() bool
func (*KafkaDiscoveryResult) GetIsDetected ¶
func (r *KafkaDiscoveryResult) GetIsDetected() bool
func (*KafkaDiscoveryResult) GetProperties ¶
func (r *KafkaDiscoveryResult) GetProperties() map[string]interface{}
func (*KafkaDiscoveryResult) Protocol ¶
func (r *KafkaDiscoveryResult) Protocol() string
type KubeApiServerDiscovery ¶
type KubeApiServerDiscovery struct { }
func (*KubeApiServerDiscovery) Discover ¶
func (d *KubeApiServerDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*KubeApiServerDiscovery) Protocol ¶
func (d *KubeApiServerDiscovery) Protocol() string
type KubeApiServerDiscoveryResult ¶
type KubeApiServerDiscoveryResult struct {
// contains filtered or unexported fields
}
func (*KubeApiServerDiscoveryResult) GetIsAuthRequired ¶
func (r *KubeApiServerDiscoveryResult) GetIsAuthRequired() bool
func (*KubeApiServerDiscoveryResult) GetIsDetected ¶
func (r *KubeApiServerDiscoveryResult) GetIsDetected() bool
func (*KubeApiServerDiscoveryResult) GetProperties ¶
func (r *KubeApiServerDiscoveryResult) GetProperties() map[string]interface{}
func (*KubeApiServerDiscoveryResult) Protocol ¶
func (r *KubeApiServerDiscoveryResult) Protocol() string
type MongoDBDiscovery ¶
type MongoDBDiscovery struct { }
func (*MongoDBDiscovery) Discover ¶
func (d *MongoDBDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*MongoDBDiscovery) Protocol ¶
func (d *MongoDBDiscovery) Protocol() string
type MongoDBDiscoveryResult ¶
type MongoDBDiscoveryResult struct {
// contains filtered or unexported fields
}
func (*MongoDBDiscoveryResult) GetIsAuthRequired ¶
func (r *MongoDBDiscoveryResult) GetIsAuthRequired() bool
func (*MongoDBDiscoveryResult) GetIsDetected ¶
func (r *MongoDBDiscoveryResult) GetIsDetected() bool
func (*MongoDBDiscoveryResult) GetProperties ¶
func (r *MongoDBDiscoveryResult) GetProperties() map[string]interface{}
func (*MongoDBDiscoveryResult) Protocol ¶
func (r *MongoDBDiscoveryResult) Protocol() string
type MysqlDiscovery ¶
type MysqlDiscovery struct{}
func (*MysqlDiscovery) Discover ¶
func (d *MysqlDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*MysqlDiscovery) Protocol ¶
func (d *MysqlDiscovery) Protocol() string
type MysqlDiscoveryResult ¶
type MysqlDiscoveryResult struct { IsDetected bool IsAuthenticated bool Properties map[string]interface{} }
func (*MysqlDiscoveryResult) GetIsAuthRequired ¶
func (r *MysqlDiscoveryResult) GetIsAuthRequired() bool
func (*MysqlDiscoveryResult) GetIsDetected ¶
func (r *MysqlDiscoveryResult) GetIsDetected() bool
func (*MysqlDiscoveryResult) GetProperties ¶
func (r *MysqlDiscoveryResult) GetProperties() map[string]interface{}
func (*MysqlDiscoveryResult) Protocol ¶
func (r *MysqlDiscoveryResult) Protocol() string
type PostgresDiscovery ¶
type PostgresDiscovery struct { }
func (*PostgresDiscovery) Discover ¶
func (d *PostgresDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*PostgresDiscovery) Protocol ¶
func (d *PostgresDiscovery) Protocol() string
type PostgresDiscoveryResult ¶
type PostgresDiscoveryResult struct {
// contains filtered or unexported fields
}
func (*PostgresDiscoveryResult) GetIsAuthRequired ¶
func (r *PostgresDiscoveryResult) GetIsAuthRequired() bool
func (*PostgresDiscoveryResult) GetIsDetected ¶
func (r *PostgresDiscoveryResult) GetIsDetected() bool
func (*PostgresDiscoveryResult) GetProperties ¶
func (r *PostgresDiscoveryResult) GetProperties() map[string]interface{}
func (*PostgresDiscoveryResult) Protocol ¶
func (r *PostgresDiscoveryResult) Protocol() string
type RabbitMQDiscovery ¶
type RabbitMQDiscovery struct { }
func (*RabbitMQDiscovery) Discover ¶
func (d *RabbitMQDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*RabbitMQDiscovery) Protocol ¶
func (d *RabbitMQDiscovery) Protocol() string
type RabbitMQDiscoveryResult ¶
type RabbitMQDiscoveryResult struct {
// contains filtered or unexported fields
}
func (*RabbitMQDiscoveryResult) GetIsAuthRequired ¶
func (r *RabbitMQDiscoveryResult) GetIsAuthRequired() bool
func (*RabbitMQDiscoveryResult) GetIsDetected ¶
func (r *RabbitMQDiscoveryResult) GetIsDetected() bool
func (*RabbitMQDiscoveryResult) GetProperties ¶
func (r *RabbitMQDiscoveryResult) GetProperties() map[string]interface{}
func (*RabbitMQDiscoveryResult) Protocol ¶
func (r *RabbitMQDiscoveryResult) Protocol() string
type RedisDiscovery ¶
type RedisDiscovery struct { }
func (*RedisDiscovery) Discover ¶
func (d *RedisDiscovery) Discover(sessionHandler servicediscovery.ISessionHandler, presentationLayerDiscoveryResult servicediscovery.IPresentationDiscoveryResult) (servicediscovery.IApplicationDiscoveryResult, error)
func (*RedisDiscovery) Protocol ¶
func (d *RedisDiscovery) Protocol() string
type RedisDiscoveryResult ¶
type RedisDiscoveryResult struct {
// contains filtered or unexported fields
}
func (*RedisDiscoveryResult) GetIsAuthRequired ¶
func (r *RedisDiscoveryResult) GetIsAuthRequired() bool
func (*RedisDiscoveryResult) GetIsDetected ¶
func (r *RedisDiscoveryResult) GetIsDetected() bool
func (*RedisDiscoveryResult) GetProperties ¶
func (r *RedisDiscoveryResult) GetProperties() map[string]interface{}
func (*RedisDiscoveryResult) Protocol ¶
func (r *RedisDiscoveryResult) Protocol() string
Click to show internal directories.
Click to hide internal directories.