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) DeployAgentPod ¶
func (a *AgentConfig) DeployAgentPod() 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 ClusterJig ¶
type ClusterJig struct { Log *zap.SugaredLogger Name string DatacenterName string Version semver.Semver Client ctrlruntimeclient.Client Cluster *kubermaticv1.Cluster }
ClusterJig helps setting up a user cluster for testing.
func (*ClusterJig) SetUp ¶
func (c *ClusterJig) SetUp() error
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.