Documentation
¶
Index ¶
- func ConvertInboundAuthorizedToResourcers(suffix, namespace string, labels map[string]string, cs map[string]*Bound, ...) (map[string][]objref.KMetadata, error)
- func ConvertInboundToResourcers(name, namespace string, labels map[string]string, cs map[string]*Bound) (map[string][]objref.KMetadata, error)
- func ConvertOutboundToResourcers(name, namespace string, labels map[string]string, cs map[string]*Bound) (map[string][]objref.KMetadata, error)
- type AllowList
- type Bound
- type Chain
- type HubInterface
- type HubsChain
- type HubsChainConfig
- type Manual
- type ManualConfig
- 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 HubInterface ¶
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 Manual ¶
type Manual struct {
// contains filtered or unexported fields
}
func NewManual ¶
func NewManual(conf ManualConfig) *Manual
type ManualConfig ¶
type ManualConfig struct { Labels map[string]string RouteName string ExportHubName string ExportName string ExportNamespace string ExportAuthorized string ExportGateway v1alpha2.HubSpecGateway ImportHubName string ImportName string ImportNamespace string ImportAuthorized string ImportGateway v1alpha2.HubSpecGateway Port int32 BindPort int32 }
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter(conf RouterConfig) *Router
type RouterConfig ¶
type RouterConfig struct { Labels map[string]string ExportHubName string ImportHubName string HubInterface HubInterface }
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.