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 HostConfig `json:"grpc"` REST HostConfig `json:"rest"` GraphQL HostConfig `json:"graphQL"` }
type AppsConfig ¶ added in v0.68.0
type DoesNotExistError ¶ added in v0.55.0
type DoesNotExistError struct {
Name string
}
func NewDoesNotExistError ¶ added in v0.55.0
func NewDoesNotExistError(n string) DoesNotExistError
func (DoesNotExistError) Error ¶ added in v0.55.0
func (e DoesNotExistError) Error() string
type HostConfig ¶ added in v0.72.0
type HostConfig 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 ¶
Click to show internal directories.
Click to hide internal directories.