Documentation ¶
Index ¶
- Constants
- Variables
- func CreateClientInstance(ctx context.Context, spec interface{}) (interface{}, error)
- func CreateGrpcClientConnection(ctx context.Context, spec interface{}) (interface{}, error)
- func CreateInstance(ctx context.Context, kind string, spec interface{}) (interface{}, error)
- type Client
- type ClientSpecification
- type Constructor
- type GrpcConnectionSpec
- type Specification
Constants ¶
View Source
const GrpcClientConnectionType = "grpc.ClientConn"
Variables ¶
View Source
var DefaultSpecificationStore = map[string]Specification{}
View Source
var Factories = map[string]Constructor{}
Functions ¶
func CreateClientInstance ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type ClientSpecification ¶
type ClientSpecification struct {
ServerConnection GrpcConnectionSpec `yaml:"server_connection"`
}
type Constructor ¶
type GrpcConnectionSpec ¶
type Specification ¶
type Specification struct { Type string Details interface{} }
Click to show internal directories.
Click to hide internal directories.