Documentation ¶
Index ¶
- Constants
- func DumpInstallStrategyToConfigMap(clientset kubecli.KubevirtClient, operatorNamespace string) error
- func NewInstallStrategyConfigMap(config *operatorutil.KubeVirtDeploymentConfig, monitorNamespace string, ...) (*corev1.ConfigMap, error)
- type APIServiceInterface
- type MockAPIServiceInterface
- func (_m *MockAPIServiceInterface) Create(ctx context.Context, apiService *v10.APIService, opts v1.CreateOptions) (*v10.APIService, error)
- func (_m *MockAPIServiceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions) error
- func (_m *MockAPIServiceInterface) EXPECT() *_MockAPIServiceInterfaceRecorder
- func (_m *MockAPIServiceInterface) Get(ctx context.Context, name string, options v1.GetOptions) (*v10.APIService, error)
- func (_m *MockAPIServiceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v10.APIService, error)
- type Strategy
- func (ins *Strategy) APIServices() []*apiregv1.APIService
- func (ins *Strategy) ApiDeployments() []*appsv1.Deployment
- func (ins *Strategy) CRDs() []*extv1.CustomResourceDefinition
- func (ins *Strategy) CertificateSecrets() []*corev1.Secret
- func (ins *Strategy) ClusterRoleBindings() []*rbacv1.ClusterRoleBinding
- func (ins *Strategy) ClusterRoles() []*rbacv1.ClusterRole
- func (ins *Strategy) ConfigMaps() []*corev1.ConfigMap
- func (ins *Strategy) ControllerDeployments() []*appsv1.Deployment
- func (ins *Strategy) DaemonSets() []*appsv1.DaemonSet
- func (ins *Strategy) Deployments() []*appsv1.Deployment
- func (ins *Strategy) ExportProxyDeployments() []*appsv1.Deployment
- func (ins *Strategy) Instancetypes() []*instancetypev1beta1.VirtualMachineClusterInstancetype
- func (ins *Strategy) MutatingWebhookConfigurations() []*admissionregistrationv1.MutatingWebhookConfiguration
- func (ins *Strategy) Preferences() []*instancetypev1beta1.VirtualMachineClusterPreference
- func (ins *Strategy) PrometheusRules() []*promv1.PrometheusRule
- func (ins *Strategy) RoleBindings() []*rbacv1.RoleBinding
- func (ins *Strategy) Roles() []*rbacv1.Role
- func (ins *Strategy) Routes() []*routev1.Route
- func (ins *Strategy) SCCs() []*secv1.SecurityContextConstraints
- func (ins *Strategy) ServiceAccounts() []*corev1.ServiceAccount
- func (ins *Strategy) ServiceMonitors() []*promv1.ServiceMonitor
- func (ins *Strategy) Services() []*corev1.Service
- func (ins *Strategy) ValidatingAdmissionPolicies() []*admissionregistrationv1.ValidatingAdmissionPolicy
- func (ins *Strategy) ValidatingAdmissionPolicyBindings() []*admissionregistrationv1.ValidatingAdmissionPolicyBinding
- func (ins *Strategy) ValidatingWebhookConfigurations() []*admissionregistrationv1.ValidatingWebhookConfiguration
Constants ¶
View Source
const ManifestsEncodingGzipBase64 = "gzip+base64"
Variables ¶
This section is empty.
Functions ¶
func DumpInstallStrategyToConfigMap ¶
func DumpInstallStrategyToConfigMap(clientset kubecli.KubevirtClient, operatorNamespace string) error
func NewInstallStrategyConfigMap ¶
func NewInstallStrategyConfigMap(config *operatorutil.KubeVirtDeploymentConfig, monitorNamespace string, operatorNamespace string) (*corev1.ConfigMap, error)
Types ¶
type APIServiceInterface ¶
type APIServiceInterface interface { Get(ctx context.Context, name string, options metav1.GetOptions) (*apiregv1.APIService, error) Create(ctx context.Context, apiService *apiregv1.APIService, opts metav1.CreateOptions) (*apiregv1.APIService, error) Delete(ctx context.Context, name string, options metav1.DeleteOptions) error Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *apiregv1.APIService, err error) }
type MockAPIServiceInterface ¶
type MockAPIServiceInterface struct {
// contains filtered or unexported fields
}
Mock of APIServiceInterface interface
func NewMockAPIServiceInterface ¶
func NewMockAPIServiceInterface(ctrl *gomock.Controller) *MockAPIServiceInterface
func (*MockAPIServiceInterface) Create ¶
func (_m *MockAPIServiceInterface) Create(ctx context.Context, apiService *v10.APIService, opts v1.CreateOptions) (*v10.APIService, error)
func (*MockAPIServiceInterface) Delete ¶
func (_m *MockAPIServiceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions) error
func (*MockAPIServiceInterface) EXPECT ¶
func (_m *MockAPIServiceInterface) EXPECT() *_MockAPIServiceInterfaceRecorder
func (*MockAPIServiceInterface) Get ¶
func (_m *MockAPIServiceInterface) Get(ctx context.Context, name string, options v1.GetOptions) (*v10.APIService, error)
func (*MockAPIServiceInterface) Patch ¶
func (_m *MockAPIServiceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v10.APIService, error)
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
func GenerateCurrentInstallStrategy ¶
func GenerateCurrentInstallStrategy(config *operatorutil.KubeVirtDeploymentConfig, monitorNamespace string, operatorNamespace string) (*Strategy, error)
func LoadInstallStrategyFromCache ¶
func LoadInstallStrategyFromCache(stores operatorutil.Stores, config *operatorutil.KubeVirtDeploymentConfig) (*Strategy, error)
func (*Strategy) APIServices ¶
func (ins *Strategy) APIServices() []*apiregv1.APIService
func (*Strategy) ApiDeployments ¶
func (ins *Strategy) ApiDeployments() []*appsv1.Deployment
func (*Strategy) CRDs ¶
func (ins *Strategy) CRDs() []*extv1.CustomResourceDefinition
func (*Strategy) CertificateSecrets ¶
func (*Strategy) ClusterRoleBindings ¶
func (ins *Strategy) ClusterRoleBindings() []*rbacv1.ClusterRoleBinding
func (*Strategy) ClusterRoles ¶
func (ins *Strategy) ClusterRoles() []*rbacv1.ClusterRole
func (*Strategy) ConfigMaps ¶
func (*Strategy) ControllerDeployments ¶
func (ins *Strategy) ControllerDeployments() []*appsv1.Deployment
func (*Strategy) DaemonSets ¶
func (*Strategy) Deployments ¶
func (ins *Strategy) Deployments() []*appsv1.Deployment
func (*Strategy) ExportProxyDeployments ¶ added in v0.55.0
func (ins *Strategy) ExportProxyDeployments() []*appsv1.Deployment
func (*Strategy) Instancetypes ¶ added in v1.1.0
func (ins *Strategy) Instancetypes() []*instancetypev1beta1.VirtualMachineClusterInstancetype
func (*Strategy) MutatingWebhookConfigurations ¶
func (ins *Strategy) MutatingWebhookConfigurations() []*admissionregistrationv1.MutatingWebhookConfiguration
func (*Strategy) Preferences ¶ added in v1.1.0
func (ins *Strategy) Preferences() []*instancetypev1beta1.VirtualMachineClusterPreference
func (*Strategy) PrometheusRules ¶
func (ins *Strategy) PrometheusRules() []*promv1.PrometheusRule
func (*Strategy) RoleBindings ¶
func (ins *Strategy) RoleBindings() []*rbacv1.RoleBinding
func (*Strategy) SCCs ¶
func (ins *Strategy) SCCs() []*secv1.SecurityContextConstraints
func (*Strategy) ServiceAccounts ¶
func (ins *Strategy) ServiceAccounts() []*corev1.ServiceAccount
func (*Strategy) ServiceMonitors ¶
func (ins *Strategy) ServiceMonitors() []*promv1.ServiceMonitor
func (*Strategy) ValidatingAdmissionPolicies ¶ added in v1.3.0
func (ins *Strategy) ValidatingAdmissionPolicies() []*admissionregistrationv1.ValidatingAdmissionPolicy
func (*Strategy) ValidatingAdmissionPolicyBindings ¶ added in v1.3.0
func (ins *Strategy) ValidatingAdmissionPolicyBindings() []*admissionregistrationv1.ValidatingAdmissionPolicyBinding
func (*Strategy) ValidatingWebhookConfigurations ¶
func (ins *Strategy) ValidatingWebhookConfigurations() []*admissionregistrationv1.ValidatingWebhookConfiguration
Click to show internal directories.
Click to hide internal directories.