Documentation ¶
Index ¶
- Constants
- func DeleteAll(kv *v1.KubeVirt, strategy *InstallStrategy, stores util.Stores, ...) error
- func DumpInstallStrategyToConfigMap(clientset kubecli.KubevirtClient, operatorNamespace string) error
- func NewInstallStrategyConfigMap(config *operatorutil.KubeVirtDeploymentConfig, addMonitorServiceResources bool, ...) (*corev1.ConfigMap, error)
- func SyncAll(queue workqueue.RateLimitingInterface, kv *v1.KubeVirt, ...) (bool, error)
- type APIServiceInterface
- type Customizer
- type InstallStrategy
- type MockAPIServiceInterface
- func (_m *MockAPIServiceInterface) Create(_param0 *v1beta1.APIService) (*v1beta1.APIService, error)
- func (_m *MockAPIServiceInterface) Delete(name string, options *v1.DeleteOptions) error
- func (_m *MockAPIServiceInterface) EXPECT() *_MockAPIServiceInterfaceRecorder
- func (_m *MockAPIServiceInterface) Get(name string, options v1.GetOptions) (*v1beta1.APIService, error)
- func (_m *MockAPIServiceInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1beta1.APIService, error)
Constants ¶
View Source
const Duration1d = time.Hour * 24
View Source
const Duration7d = time.Hour * 24 * 7
Variables ¶
This section is empty.
Functions ¶
func DeleteAll ¶ added in v0.16.0
func DeleteAll(kv *v1.KubeVirt, strategy *InstallStrategy, stores util.Stores, clientset kubecli.KubevirtClient, aggregatorclient APIServiceInterface, expectations *util.Expectations) error
func DumpInstallStrategyToConfigMap ¶
func DumpInstallStrategyToConfigMap(clientset kubecli.KubevirtClient, operatorNamespace string) error
func NewInstallStrategyConfigMap ¶
func NewInstallStrategyConfigMap(config *operatorutil.KubeVirtDeploymentConfig, addMonitorServiceResources bool, operatorNamespace string) (*corev1.ConfigMap, error)
func SyncAll ¶ added in v0.16.0
func SyncAll(queue workqueue.RateLimitingInterface, kv *v1.KubeVirt, targetStrategy *InstallStrategy, stores util.Stores, clientset kubecli.KubevirtClient, aggregatorclient APIServiceInterface, expectations *util.Expectations) (bool, error)
Types ¶
type APIServiceInterface ¶ added in v0.29.0
type APIServiceInterface interface { Get(name string, options metav1.GetOptions) (*v1beta1.APIService, error) Create(*v1beta1.APIService) (*v1beta1.APIService, error) Delete(name string, options *metav1.DeleteOptions) error Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.APIService, err error) }
type Customizer ¶ added in v0.34.0
type Customizer struct { Patches []v1.CustomizeComponentsPatch // contains filtered or unexported fields }
func NewCustomizer ¶ added in v0.34.0
func NewCustomizer(customizations v1.CustomizeComponents) (*Customizer, error)
func (*Customizer) GenericApplyPatches ¶ added in v0.34.0
func (c *Customizer) GenericApplyPatches(objects interface{}) error
func (*Customizer) GetPatches ¶ added in v0.34.0
func (c *Customizer) GetPatches() []v1.CustomizeComponentsPatch
func (*Customizer) GetPatchesForResource ¶ added in v0.34.0
func (c *Customizer) GetPatchesForResource(resourceType, name string) []v1.CustomizeComponentsPatch
type InstallStrategy ¶
type InstallStrategy struct {
// contains filtered or unexported fields
}
func GenerateCurrentInstallStrategy ¶
func GenerateCurrentInstallStrategy(config *operatorutil.KubeVirtDeploymentConfig, addMonitorServiceResources bool, operatorNamespace string) (*InstallStrategy, error)
func LoadInstallStrategyFromCache ¶
func LoadInstallStrategyFromCache(stores util.Stores, config *operatorutil.KubeVirtDeploymentConfig) (*InstallStrategy, error)
type MockAPIServiceInterface ¶ added in v0.29.0
type MockAPIServiceInterface struct {
// contains filtered or unexported fields
}
Mock of APIServiceInterface interface
func NewMockAPIServiceInterface ¶ added in v0.29.0
func NewMockAPIServiceInterface(ctrl *gomock.Controller) *MockAPIServiceInterface
func (*MockAPIServiceInterface) Create ¶ added in v0.29.0
func (_m *MockAPIServiceInterface) Create(_param0 *v1beta1.APIService) (*v1beta1.APIService, error)
func (*MockAPIServiceInterface) Delete ¶ added in v0.29.0
func (_m *MockAPIServiceInterface) Delete(name string, options *v1.DeleteOptions) error
func (*MockAPIServiceInterface) EXPECT ¶ added in v0.29.0
func (_m *MockAPIServiceInterface) EXPECT() *_MockAPIServiceInterfaceRecorder
func (*MockAPIServiceInterface) Get ¶ added in v0.29.0
func (_m *MockAPIServiceInterface) Get(name string, options v1.GetOptions) (*v1beta1.APIService, error)
Click to show internal directories.
Click to hide internal directories.