Documentation ¶
Index ¶
- func ConvertInboundAuthorizedToResourcers(suffix, namespace string, labels map[string]string, cs map[string]*Bound, ...) (map[string][]resource.Resourcer, error)
- func ConvertInboundToResourcers(name, namespace string, labels map[string]string, cs map[string]*Bound) (map[string][]resource.Resourcer, error)
- func ConvertOutboundToResourcers(name, namespace string, labels map[string]string, cs map[string]*Bound) (map[string][]resource.Resourcer, error)
- type AllowList
- type Bound
- type Chain
- type ClusterCache
- type HubsChain
- type HubsChainConfig
- type Router
- type RouterConfig
- type Solution
- type SolutionConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AllowList ¶
type AllowList struct { DirectStreamlocal permissions.Permission `json:"direct-streamlocal"` DirectTcpip permissions.Permission `json:"direct-tcpip"` StreamlocalForward permissions.Permission `json:"streamlocal-forward"` TcpipForward permissions.Permission `json:"tcpip-forward"` }
type ClusterCache ¶
type HubsChain ¶
type HubsChain struct {
// contains filtered or unexported fields
}
func NewHubsChain ¶
func NewHubsChain(conf HubsChainConfig) *HubsChain
type HubsChainConfig ¶
type HubsChainConfig struct {
GetHubGateway func(hubName string, forHub string) v1alpha2.HubSpecGateway
}
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter(conf RouterConfig) *Router
func (*Router) BuildResource ¶
type RouterConfig ¶
type RouterConfig struct { Labels map[string]string ExportHubName string ImportHubName string ClusterCache ClusterCache }
type Solution ¶
type Solution struct {
// contains filtered or unexported fields
}
func NewSolution ¶
func NewSolution(conf SolutionConfig) *Solution
type SolutionConfig ¶
type SolutionConfig struct {
GetHubGateway func(hubName string, forHub string) v1alpha2.HubSpecGateway
}
Click to show internal directories.
Click to hide internal directories.