Documentation ¶
Index ¶
- func ExpectResourceRequirements(containerResource, expectedResource *corev1.ResourceRequirements)
- func NewTestOSUtils(config *TestUtilsConfig) *testOSUtils
- type FakeManager
- func (m *FakeManager) Add(manager.Runnable) error
- func (m *FakeManager) GetAPIReader() client.Reader
- func (m *FakeManager) GetCache() cache.Cache
- func (m *FakeManager) GetClient() client.Client
- func (m *FakeManager) GetControllerOptions() config.Controller
- func (m *FakeManager) GetLogger() logr.Logger
- func (m *FakeManager) GetScheme() *runtime.Scheme
- func (m *FakeManager) SetFields(interface{}) error
- type InsightsTestResources
- func (r *InsightsTestResources) NewClusterVersion() *configv1.ClusterVersion
- func (r *InsightsTestResources) NewGlobalPullSecret() *corev1.Secret
- func (r *InsightsTestResources) NewInsightsProxyDeployment() *appsv1.Deployment
- func (r *InsightsTestResources) NewInsightsProxySecret() *corev1.Secret
- func (r *InsightsTestResources) NewInsightsProxySecretWithProxyDomain() *corev1.Secret
- func (r *InsightsTestResources) NewInsightsProxyService() *corev1.Service
- func (r *InsightsTestResources) NewNamespace() *corev1.Namespace
- func (r *InsightsTestResources) NewOperatorDeployment() *appsv1.Deployment
- func (r *InsightsTestResources) NewProxyConfigMap() *corev1.ConfigMap
- type TestUtilsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectResourceRequirements ¶
func ExpectResourceRequirements(containerResource, expectedResource *corev1.ResourceRequirements)
func NewTestOSUtils ¶
func NewTestOSUtils(config *TestUtilsConfig) *testOSUtils
Types ¶
type FakeManager ¶
func NewFakeManager ¶
func (*FakeManager) GetAPIReader ¶
func (m *FakeManager) GetAPIReader() client.Reader
func (*FakeManager) GetCache ¶
func (m *FakeManager) GetCache() cache.Cache
func (*FakeManager) GetClient ¶
func (m *FakeManager) GetClient() client.Client
func (*FakeManager) GetControllerOptions ¶
func (m *FakeManager) GetControllerOptions() config.Controller
func (*FakeManager) GetLogger ¶
func (m *FakeManager) GetLogger() logr.Logger
func (*FakeManager) GetScheme ¶
func (m *FakeManager) GetScheme() *runtime.Scheme
func (*FakeManager) SetFields ¶
func (m *FakeManager) SetFields(interface{}) error
type InsightsTestResources ¶
type InsightsTestResources struct { Namespace string UserAgentPrefix string Resources *corev1.ResourceRequirements }
func (*InsightsTestResources) NewClusterVersion ¶
func (r *InsightsTestResources) NewClusterVersion() *configv1.ClusterVersion
func (*InsightsTestResources) NewGlobalPullSecret ¶
func (r *InsightsTestResources) NewGlobalPullSecret() *corev1.Secret
func (*InsightsTestResources) NewInsightsProxyDeployment ¶
func (r *InsightsTestResources) NewInsightsProxyDeployment() *appsv1.Deployment
func (*InsightsTestResources) NewInsightsProxySecret ¶
func (r *InsightsTestResources) NewInsightsProxySecret() *corev1.Secret
func (*InsightsTestResources) NewInsightsProxySecretWithProxyDomain ¶
func (r *InsightsTestResources) NewInsightsProxySecretWithProxyDomain() *corev1.Secret
func (*InsightsTestResources) NewInsightsProxyService ¶
func (r *InsightsTestResources) NewInsightsProxyService() *corev1.Service
func (*InsightsTestResources) NewNamespace ¶
func (r *InsightsTestResources) NewNamespace() *corev1.Namespace
func (*InsightsTestResources) NewOperatorDeployment ¶
func (r *InsightsTestResources) NewOperatorDeployment() *appsv1.Deployment
func (*InsightsTestResources) NewProxyConfigMap ¶
func (r *InsightsTestResources) NewProxyConfigMap() *corev1.ConfigMap
Click to show internal directories.
Click to hide internal directories.