v1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the v1 API group +kubebuilder:object:generate=true +groupName=storageos.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "storageos.com", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Install

type Install struct {
	Wait                            bool   `json:"wait,omitempty"`
	DryRun                          bool   `json:"dryRun,omitempty"`
	StorageOSVersion                string `json:"storageOSVersion,omitempty"`
	EtcdOperatorVersion             string `json:"etcdOperatorVersion,omitempty"`
	KubernetesVersion               string `json:"k8sVersion,omitempty"`
	StorageOSOperatorNamespace      string `json:"storageOSOperatorNamespace,omitempty"`
	StorageOSClusterNamespace       string `json:"storageOSClusterNamespace,omitempty"`
	EtcdNamespace                   string `json:"etcdNamespace,omitempty"`
	StorageOSOperatorYaml           string `json:"storageOSOperatorYaml,omitempty"`
	StorageOSClusterYaml            string `json:"storageOSClusterYaml,omitempty"`
	StorageOSPortalConfigYaml       string `json:"storageOSPortalConfigYaml,omitempty"`
	StorageOSPortalClientSecretYaml string `json:"storageOSPortalClientSecretYaml,omitempty"`
	ResourceQuotaYaml               string `json:"resourceQuotaYaml,omitempty"`
	EtcdOperatorYaml                string `json:"etcdOperatorYaml,omitempty"`
	EtcdClusterYaml                 string `json:"etcdClusterYaml,omitempty"`
	EtcdEndpoints                   string `json:"etcdEndpoints,omitempty"`
	EtcdTLSEnabled                  bool   `json:"etcdTLSEnabled,omitempty"`
	EtcdSecretName                  string `json:"etcdSecretName,omitempty"`
	EtcdDockerRepository            string `json:"etcdDockerRepository,omitempty"`
	EtcdVersionTag                  string `json:"etcdVersionTag,omitempty"`
	EtcdTopologyKey                 string `json:"etcdTopologyKey,omitempty"`
	EtcdCPULimit                    string `json:"etcdCPULimit,omitempty"`
	EtcdMemoryLimit                 string `json:"etcdMemoryLimit,omitempty"`
	EtcdReplicas                    string `json:"etcdReplicas,omitempty"`
	SkipEtcdEndpointsValidation     bool   `json:"skipEtcdEndpointsValidation,omitempty"`
	EnablePortalManager             bool   `json:"enablePortalManager,omitempty"`
	EtcdStorageClassName            string `json:"etcdStorageClassName,omitempty"`
	AdminUsername                   string `json:"adminUsername,omitempty"`
	AdminPassword                   string `json:"adminPassword,omitempty"`
	PortalClientID                  string `json:"portalClientID,omitempty"`
	PortalSecret                    string `json:"portalSecret,omitempty"`
	PortalTenantID                  string `json:"portalTenantID,omitempty"`
	PortalAPIURL                    string `json:"portalAPIURL,omitempty"`
	PortalManagerVersion            string `json:"portalManagerVersion,omitempty"`
	PortalHTTPSProxy                string `json:"portalHttpsProxy,omitempty"`
	LocalPathProvisionerYaml        string `json:"localPathProvisionerYaml,omitempty"`
	EnableMetrics                   *bool  `json:"enableMetrics,omitempty"`
	MarkTestCluster                 bool   `json:"markTestCluster,omitempty"`
	SkipK8sVersionCheck             bool   `json:"skipK8sVersionCheck,omitempty"`
	EnableNodeGuard                 bool   `json:"enableNodeGuard,omitempty"`
	NodeGuardEnv                    string `json:"nodeGuardEnv,omitempty"`
}

Install defines options for cli install subcommand

func (*Install) DeepCopy

func (in *Install) DeepCopy() *Install

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Install.

func (*Install) DeepCopyInto

func (in *Install) DeepCopyInto(out *Install)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstallerMeta

type InstallerMeta struct {
	StorageOSSecretYaml string `json:"storageOSSecretYaml,omitempty"`
	SecretName          string `json:"secretName,omitempty"`
	SecretNamespace     string `json:"secretNamespace,omitempty"`
}

func (*InstallerMeta) DeepCopy

func (in *InstallerMeta) DeepCopy() *InstallerMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallerMeta.

func (*InstallerMeta) DeepCopyInto

func (in *InstallerMeta) DeepCopyInto(out *InstallerMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubectlStorageOSConfig

type KubectlStorageOSConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec          KubectlStorageOSConfigSpec   `json:"spec,omitempty"`
	Status        KubectlStorageOSConfigStatus `json:"status,omitempty"`
	InstallerMeta InstallerMeta                `json:"installerMeta,omitempty"`
}

KubectlStorageOSConfig is the Schema for the kubectlstorageosconfigs API

func (*KubectlStorageOSConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlStorageOSConfig.

func (*KubectlStorageOSConfig) DeepCopyInto

func (in *KubectlStorageOSConfig) DeepCopyInto(out *KubectlStorageOSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubectlStorageOSConfig) DeepCopyObject

func (in *KubectlStorageOSConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KubectlStorageOSConfigList

type KubectlStorageOSConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []KubectlStorageOSConfig `json:"items"`
}

KubectlStorageOSConfigList contains a list of KubectlStorageOSConfig

func (*KubectlStorageOSConfigList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlStorageOSConfigList.

func (*KubectlStorageOSConfigList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubectlStorageOSConfigList) DeepCopyObject

func (in *KubectlStorageOSConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KubectlStorageOSConfigSpec

type KubectlStorageOSConfigSpec struct {
	StackTrace                  bool `json:"stackTrace,omitempty"`
	SkipNamespaceDeletion       bool `json:"skipNamespaceDeletion,omitempty"`
	SkipExistingWorkloadCheck   bool `json:"skipExistingWorkloadCheck,omitempty"`
	SkipStorageOSCluster        bool `json:"skipStorageOSCluster,omitempty"`
	IncludeEtcd                 bool `json:"includeEtcd,omitempty"`
	IncludeLocalPathProvisioner bool `json:"includeLocalPathProvisioner,omitempty"`
	Verbose                     bool `json:"verbose,omitempty"`
	Serial                      bool `json:"serial,omitempty"`
	AirGap                      bool `json:"airGap,omitempty"`

	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Install   Install   `json:"install,omitempty"`
	Uninstall Uninstall `json:"uninstall,omitempty"`
}

KubectlStorageOSConfigSpec defines the desired state of KubectlStorageOSConfig

func (*KubectlStorageOSConfigSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlStorageOSConfigSpec.

func (*KubectlStorageOSConfigSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubectlStorageOSConfigSpec) GetETCDValidationNamespace added in v1.1.0

func (spec *KubectlStorageOSConfigSpec) GetETCDValidationNamespace() (namespace string)

GetETCDValidationNamespace tries to figure out ETCD validation namespace

func (*KubectlStorageOSConfigSpec) GetOperatorNamespace

func (spec *KubectlStorageOSConfigSpec) GetOperatorNamespace() (namespace string)

GetOperatorNamespace tries to figure out operator namespace

type KubectlStorageOSConfigStatus

type KubectlStorageOSConfigStatus struct {
}

KubectlStorageOSConfigStatus defines the observed state of KubectlStorageOSConfig

func (*KubectlStorageOSConfigStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlStorageOSConfigStatus.

func (*KubectlStorageOSConfigStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Uninstall

type Uninstall struct {
	StorageOSVersion                string `json:"storageOSVersion,omitempty"`
	EtcdOperatorVersion             string `json:"etcdOperatorVersion,omitempty"`
	PortalManagerVersion            string `json:"portalManagerVersion,omitempty"`
	StorageOSOperatorNamespace      string `json:"storageOSOperatorNamespace,omitempty"`
	EtcdNamespace                   string `json:"etcdNamespace,omitempty"`
	StorageOSOperatorYaml           string `json:"storageOSOperatorYaml,omitempty"`
	StorageOSClusterYaml            string `json:"storageOSClusterYaml,omitempty"`
	StorageOSPortalConfigYaml       string `json:"storageOSPortalConfigYaml,omitempty"`
	StorageOSPortalClientSecretYaml string `json:"storageOSPortalClientSecretYaml,omitempty"`
	ResourceQuotaYaml               string `json:"resourceQuotaYaml,omitempty"`
	EtcdOperatorYaml                string `json:"etcdOperatorYaml,omitempty"`
	EtcdClusterYaml                 string `json:"etcdClusterYaml,omitempty"`
	LocalPathProvisionerYaml        string `json:"localPathProvisionerYaml,omitempty"`
}

Uninstall defines options for cli uninstall subcommand

func (*Uninstall) DeepCopy

func (in *Uninstall) DeepCopy() *Uninstall

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Uninstall.

func (*Uninstall) DeepCopyInto

func (in *Uninstall) DeepCopyInto(out *Uninstall)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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