Documentation ¶
Overview ¶
Package config contains the configuration for the mcs controller
Index ¶
- type ConnectorConfig
- func (c *ConnectorConfig) ControlPlaneUID() string
- func (c *ConnectorConfig) GatewayHost() string
- func (c *ConnectorConfig) GatewayIP() net.IP
- func (c *ConnectorConfig) GatewayPort() int32
- func (c *ConnectorConfig) Group() string
- func (c *ConnectorConfig) Key() string
- func (c *ConnectorConfig) Name() string
- func (c *ConnectorConfig) Region() string
- func (c *ConnectorConfig) Zone() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectorConfig ¶
type ConnectorConfig struct {
// contains filtered or unexported fields
}
ConnectorConfig is the configuration for the connector
func NewConnectorConfig ¶
func NewConnectorConfig( region, zone, group, name, gatewayHost string, gatewayPort int32, controlPlaneUID string, ) (*ConnectorConfig, error)
NewConnectorConfig creates a new ConnectorConfig
func (*ConnectorConfig) ControlPlaneUID ¶
func (c *ConnectorConfig) ControlPlaneUID() string
ControlPlaneUID returns the control plane UID of the connected cluster
func (*ConnectorConfig) GatewayHost ¶
func (c *ConnectorConfig) GatewayHost() string
GatewayHost returns the gateway host of the connected cluster
func (*ConnectorConfig) GatewayIP ¶
func (c *ConnectorConfig) GatewayIP() net.IP
GatewayIP returns the gateway IP of the connected cluster
func (*ConnectorConfig) GatewayPort ¶
func (c *ConnectorConfig) GatewayPort() int32
GatewayPort returns the gateway port of the connected cluster
func (*ConnectorConfig) Group ¶
func (c *ConnectorConfig) Group() string
Group returns the group of the connected cluster
func (*ConnectorConfig) Key ¶
func (c *ConnectorConfig) Key() string
Key returns the key of the connected cluster
func (*ConnectorConfig) Name ¶
func (c *ConnectorConfig) Name() string
Name returns the name of the connected cluster
func (*ConnectorConfig) Region ¶
func (c *ConnectorConfig) Region() string
Region returns the region of the connected cluster
func (*ConnectorConfig) Zone ¶
func (c *ConnectorConfig) Zone() string
Zone returns the zone of the connected cluster