config

package
v1.2.0-alpha.9-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package config contains the configuration for the mcs controller

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL