Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type AgentConfig struct { Log *zap.SugaredLogger Namespace string Client ctrlruntimeclient.Client Versions kubermatic.Versions // AgentPod is an agent pod using Envoy image. AgentPod *corev1.Pod AgentConfigMap *corev1.ConfigMap }
AgentConfig contains the configuration to deploy an agent like the ones deployed on each node when Tunneling strategy is used.
func (*AgentConfig) CleanUp ¶
func (a *AgentConfig) CleanUp(ctx context.Context) error
CleanUp deletes the resources.
func (*AgentConfig) DeployAgentPod ¶
func (a *AgentConfig) DeployAgentPod(ctx context.Context) error
DeployAgentPod deploys the pod to be used to verify tunneling expose strategy.
func (*AgentConfig) GetKASHostPort ¶
func (a *AgentConfig) GetKASHostPort() string
GetKASHostPort returns the host:port that can be used to reach the KAS passing from the tunnel.
type KubeVersion ¶
type KubeVersion struct { Major string `json:"major"` Minor string `json:"minor"` GitVersion string `json:"gitVersion"` Other map[string]interface{} `json:"-"` }
func (KubeVersion) MajorVersion ¶
func (k KubeVersion) MajorVersion() uint64
func (KubeVersion) MinorVersion ¶
func (k KubeVersion) MinorVersion() uint64
type KubeVersions ¶
type KubeVersions struct { ServerVersion KubeVersion `json:"serverVersion"` ClientVersion KubeVersion `json:"clientVersion"` }
KubeVersions is used to unmarshal the output of 'kubectl version -ojson'.
Click to show internal directories.
Click to hide internal directories.