install

package
v0.44.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

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 util.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 (ins *Strategy) CertificateSecrets() []*corev1.Secret

func (*Strategy) ClusterRoleBindings

func (ins *Strategy) ClusterRoleBindings() []*rbacv1.ClusterRoleBinding

func (*Strategy) ClusterRoles

func (ins *Strategy) ClusterRoles() []*rbacv1.ClusterRole

func (*Strategy) ConfigMaps

func (ins *Strategy) ConfigMaps() []*corev1.ConfigMap

func (*Strategy) ControllerDeployments

func (ins *Strategy) ControllerDeployments() []*appsv1.Deployment

func (*Strategy) DaemonSets

func (ins *Strategy) DaemonSets() []*appsv1.DaemonSet

func (*Strategy) Deployments

func (ins *Strategy) Deployments() []*appsv1.Deployment

func (*Strategy) MutatingWebhookConfigurations

func (ins *Strategy) MutatingWebhookConfigurations() []*admissionregistrationv1.MutatingWebhookConfiguration

func (*Strategy) PrometheusRules

func (ins *Strategy) PrometheusRules() []*promv1.PrometheusRule

func (*Strategy) RoleBindings

func (ins *Strategy) RoleBindings() []*rbacv1.RoleBinding

func (*Strategy) Roles

func (ins *Strategy) Roles() []*rbacv1.Role

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) Services

func (ins *Strategy) Services() []*corev1.Service

func (*Strategy) ValidatingWebhookConfigurations

func (ins *Strategy) ValidatingWebhookConfigurations() []*admissionregistrationv1.ValidatingWebhookConfiguration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL