Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNetworkDoesNotHaveGRPCHostConfigured = errors.New("network configuration does not have any gRPC host set")
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { GRPC GRPCConfig `json:"grpc"` REST RESTConfig `json:"rest"` GraphQL GraphQLConfig `json:"graphQL"` }
type AppsConfig ¶
type DoesNotExistError ¶
type DoesNotExistError struct {
Name string
}
func NewDoesNotExistError ¶
func NewDoesNotExistError(n string) DoesNotExistError
func (DoesNotExistError) Error ¶
func (e DoesNotExistError) Error() string
type GRPCConfig ¶
type GraphQLConfig ¶
type GraphQLConfig struct {
Hosts []string `json:"hosts"`
}
type Network ¶
type Network struct { Name string `json:"name"` Metadata []Metadata `json:"metadata"` API APIConfig `json:"api"` Apps AppsConfig `json:"apps"` }
func (*Network) EnsureCanConnectGRPCNode ¶
type RESTConfig ¶
type RESTConfig struct {
Hosts []string `json:"hosts"`
}
Click to show internal directories.
Click to hide internal directories.