Documentation ¶
Index ¶
- func NewInClusterCheckContext() (checks.CheckContext, error)
- func NewOutOfClusterCheckContext(mgmtKubeConfig string, mgmtKubeContext string, gmInstallationNamespace string, ...) (checks.CheckContext, error)
- func NewTestCheckContext(client client.Client, gmInstallationNamespace string, ...) (checks.CheckContext, error)
- type InClusterCheckContext
- type OutOfClusterCheckContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInClusterCheckContext ¶
func NewInClusterCheckContext() (checks.CheckContext, error)
func NewOutOfClusterCheckContext ¶
func NewOutOfClusterCheckContext( mgmtKubeConfig string, mgmtKubeContext string, gmInstallationNamespace string, localPort, remotePort uint32, serverParams *checks.ServerParams, ignoreChecks bool, ) (checks.CheckContext, error)
func NewTestCheckContext ¶
func NewTestCheckContext( client client.Client, gmInstallationNamespace string, localPort, remotePort uint32, serverParams *checks.ServerParams, ignoreChecks bool, ) (checks.CheckContext, error)
exposed for testing, allows injecting mock k8s client
Types ¶
type InClusterCheckContext ¶
type InClusterCheckContext struct {
checks.CommonContext
}
func (*InClusterCheckContext) AccessAdminPort ¶
func (*InClusterCheckContext) Context ¶
func (c *InClusterCheckContext) Context() checks.CommonContext
type OutOfClusterCheckContext ¶
type OutOfClusterCheckContext struct { checks.CommonContext // contains filtered or unexported fields }
func (*OutOfClusterCheckContext) AccessAdminPort ¶
func (*OutOfClusterCheckContext) Context ¶
func (c *OutOfClusterCheckContext) Context() checks.CommonContext
Click to show internal directories.
Click to hide internal directories.