Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the v1 API group +kubebuilder:object:generate=true +groupName=storageos.com
Index ¶
- Variables
- type Install
- type InstallerMeta
- type KubectlStorageOSConfig
- type KubectlStorageOSConfigList
- type KubectlStorageOSConfigSpec
- func (in *KubectlStorageOSConfigSpec) DeepCopy() *KubectlStorageOSConfigSpec
- func (in *KubectlStorageOSConfigSpec) DeepCopyInto(out *KubectlStorageOSConfigSpec)
- func (spec *KubectlStorageOSConfigSpec) GetETCDValidationNamespace() (namespace string)
- func (spec *KubectlStorageOSConfigSpec) GetOperatorNamespace() (namespace string)
- type KubectlStorageOSConfigStatus
- type Uninstall
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Install.
func (*Install) DeepCopyInto ¶
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 ¶
func (in *KubectlStorageOSConfig) DeepCopy() *KubectlStorageOSConfig
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 ¶
func (in *KubectlStorageOSConfigList) DeepCopy() *KubectlStorageOSConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlStorageOSConfigList.
func (*KubectlStorageOSConfigList) DeepCopyInto ¶
func (in *KubectlStorageOSConfigList) DeepCopyInto(out *KubectlStorageOSConfigList)
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 ¶
func (in *KubectlStorageOSConfigSpec) DeepCopy() *KubectlStorageOSConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlStorageOSConfigSpec.
func (*KubectlStorageOSConfigSpec) DeepCopyInto ¶
func (in *KubectlStorageOSConfigSpec) DeepCopyInto(out *KubectlStorageOSConfigSpec)
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 ¶
func (in *KubectlStorageOSConfigStatus) DeepCopy() *KubectlStorageOSConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlStorageOSConfigStatus.
func (*KubectlStorageOSConfigStatus) DeepCopyInto ¶
func (in *KubectlStorageOSConfigStatus) DeepCopyInto(out *KubectlStorageOSConfigStatus)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Uninstall.
func (*Uninstall) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.