Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubServerOptions ¶
type HubServerOptions struct { // No tunnel logging by default TunnelLogging bool // default namespace to create Manifest in // default to be "clusternet-reserved" ReservedNamespace string RecommendedOptions *genericoptions.RecommendedOptions *utils.ControllerOptions // advertise address to other peers PeerAdvertiseAddress net.IP // secure port used for communicating with peers PeerPort int // token used for authentication with peers PeerToken string // Flags hold the parsed CLI flags. Flags *cliflag.NamedFlagSets }
HubServerOptions contains state for master/api server
func NewHubServerOptions ¶
func NewHubServerOptions() (*HubServerOptions, error)
NewHubServerOptions returns a new HubServerOptions
func (*HubServerOptions) Complete ¶
func (o *HubServerOptions) Complete() error
Complete fills in fields required to have valid data
func (*HubServerOptions) Config ¶
func (o *HubServerOptions) Config() (*apiserver.Config, error)
Config returns config for the api server given HubServerOptions
func (*HubServerOptions) Validate ¶
func (o *HubServerOptions) Validate() error
Validate validates HubServerOptions
Click to show internal directories.
Click to hide internal directories.