Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=psmdb.percona.com
Index ¶
- Variables
- type Arbiter
- type AuditLogDestination
- type AuditLogFormat
- type BackupCompressionType
- type BackupCoordinatorSpec
- type BackupDestinationType
- type BackupS3Spec
- type BackupSpec
- type BackupTaskSpec
- type BackupTaskStatus
- type ClusterRole
- type Expose
- type MongodSpec
- type MongodSpecAuditLog
- type MongodSpecInMemory
- type MongodSpecInMemoryEngineConfig
- type MongodSpecMMAPv1
- type MongodSpecNet
- type MongodSpecOperationProfiling
- type MongodSpecReplication
- type MongodSpecSecurity
- type MongodSpecSetParameter
- type MongodSpecStorage
- type MongodSpecWiredTiger
- type MongodSpecWiredTigerCollectionConfig
- type MongodSpecWiredTigerEngineConfig
- type MongodSpecWiredTigerIndexConfig
- type MongosSpec
- type OperationProfilingMode
- type PerconaServerMongoDB
- type PerconaServerMongoDBList
- type PerconaServerMongoDBSpec
- type PerconaServerMongoDBStatus
- type Platform
- type ReplsetMemberStatus
- type ReplsetSpec
- type ReplsetStatus
- type ResourceSpecRequirements
- type ResourcesSpec
- type SecretsSpec
- type ServerVersion
- type StorageEngine
- type WiredTigerCompressor
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: version} )
Functions ¶
This section is empty.
Types ¶
type Arbiter ¶ added in v0.2.0
func (*Arbiter) DeepCopy ¶ added in v0.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Arbiter.
func (*Arbiter) DeepCopyInto ¶ added in v0.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuditLogDestination ¶
type AuditLogDestination string
var AuditLogDestinationFile AuditLogDestination = "file"
type AuditLogFormat ¶
type AuditLogFormat string
var ( AuditLogFormatBSON AuditLogFormat = "BSON" AuditLogFormatJSON AuditLogFormat = "JSON" )
type BackupCompressionType ¶ added in v0.2.0
type BackupCompressionType string
var (
BackupCompressionGzip BackupCompressionType = "gzip"
)
type BackupCoordinatorSpec ¶ added in v0.2.0
type BackupCoordinatorSpec struct { *ResourcesSpec `json:"resources,omitempty"` Debug bool `json:"debug,omitempty"` }
func (*BackupCoordinatorSpec) DeepCopy ¶ added in v0.2.0
func (in *BackupCoordinatorSpec) DeepCopy() *BackupCoordinatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupCoordinatorSpec.
func (*BackupCoordinatorSpec) DeepCopyInto ¶ added in v0.2.0
func (in *BackupCoordinatorSpec) DeepCopyInto(out *BackupCoordinatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDestinationType ¶ added in v0.2.0
type BackupDestinationType string
var ( BackupDestinationS3 BackupDestinationType = "s3" BackupDestinationFile BackupDestinationType = "file" )
type BackupS3Spec ¶ added in v0.2.0
type BackupS3Spec struct { Secret string `json:"secret,omitempty"` Bucket string `json:"bucket,omitempty"` Region string `json:"region,omitempty"` }
func (*BackupS3Spec) DeepCopy ¶ added in v0.2.0
func (in *BackupS3Spec) DeepCopy() *BackupS3Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupS3Spec.
func (*BackupS3Spec) DeepCopyInto ¶ added in v0.2.0
func (in *BackupS3Spec) DeepCopyInto(out *BackupS3Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSpec ¶ added in v0.2.0
type BackupSpec struct { Enabled bool `json:"enabled"` Version string `json:"version,omitempty"` RestartOnFailure *bool `json:"restartOnFailure,omitempty"` Coordinator *BackupCoordinatorSpec `json:"coordinator,omitempty"` S3 *BackupS3Spec `json:"s3,omitempty"` Tasks []*BackupTaskSpec `json:"tasks,omitempty"` }
func (*BackupSpec) DeepCopy ¶ added in v0.2.0
func (in *BackupSpec) DeepCopy() *BackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.
func (*BackupSpec) DeepCopyInto ¶ added in v0.2.0
func (in *BackupSpec) DeepCopyInto(out *BackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupTaskSpec ¶ added in v0.2.0
type BackupTaskSpec struct { Name string `json:"name,omitempty"` Enabled bool `json:"enabled"` Schedule string `json:"schedule,omitempty"` CompressionType BackupCompressionType `json:"compressionType,omitempty"` DestinationType BackupDestinationType `json:"destinationType,omitempty"` }
func (*BackupTaskSpec) DeepCopy ¶ added in v0.2.0
func (in *BackupTaskSpec) DeepCopy() *BackupTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupTaskSpec.
func (*BackupTaskSpec) DeepCopyInto ¶ added in v0.2.0
func (in *BackupTaskSpec) DeepCopyInto(out *BackupTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupTaskStatus ¶ added in v0.2.0
type BackupTaskStatus struct { Name string `json:"name,omitempty"` Enabled bool `json:"enabled"` CronJob string `json:"cronJob,omitempty"` }
func (*BackupTaskStatus) DeepCopy ¶ added in v0.2.0
func (in *BackupTaskStatus) DeepCopy() *BackupTaskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupTaskStatus.
func (*BackupTaskStatus) DeepCopyInto ¶ added in v0.2.0
func (in *BackupTaskStatus) DeepCopyInto(out *BackupTaskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRole ¶
type ClusterRole string
const ( ClusterRoleShardSvr ClusterRole = "shardsvr" ClusterRoleConfigSvr ClusterRole = "configsvr" )
type Expose ¶ added in v0.2.0
type Expose struct { Enabled bool `json:"enabled"` ExposeType corev1.ServiceType `json:"exposeType,omitempty"` }
func (*Expose) DeepCopy ¶ added in v0.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Expose.
func (*Expose) DeepCopyInto ¶ added in v0.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpec ¶
type MongodSpec struct { Net *MongodSpecNet `json:"net,omitempty"` AuditLog *MongodSpecAuditLog `json:"auditLog,omitempty"` OperationProfiling *MongodSpecOperationProfiling `json:"operationProfiling,omitempty"` Replication *MongodSpecReplication `json:"replication,omitempty"` Security *MongodSpecSecurity `json:"security,omitempty"` SetParameter *MongodSpecSetParameter `json:"setParameter,omitempty"` Storage *MongodSpecStorage `json:"storage,omitempty"` }
func (*MongodSpec) DeepCopy ¶
func (in *MongodSpec) DeepCopy() *MongodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpec.
func (*MongodSpec) DeepCopyInto ¶
func (in *MongodSpec) DeepCopyInto(out *MongodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecAuditLog ¶
type MongodSpecAuditLog struct { Destination AuditLogDestination `json:"destination,omitempty"` Format AuditLogFormat `json:"format,omitempty"` Filter string `json:"filter,omitempty"` }
func (*MongodSpecAuditLog) DeepCopy ¶
func (in *MongodSpecAuditLog) DeepCopy() *MongodSpecAuditLog
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecAuditLog.
func (*MongodSpecAuditLog) DeepCopyInto ¶
func (in *MongodSpecAuditLog) DeepCopyInto(out *MongodSpecAuditLog)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecInMemory ¶
type MongodSpecInMemory struct {
EngineConfig *MongodSpecInMemoryEngineConfig `json:"engineConfig,omitempty"`
}
func (*MongodSpecInMemory) DeepCopy ¶
func (in *MongodSpecInMemory) DeepCopy() *MongodSpecInMemory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecInMemory.
func (*MongodSpecInMemory) DeepCopyInto ¶
func (in *MongodSpecInMemory) DeepCopyInto(out *MongodSpecInMemory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecInMemoryEngineConfig ¶
type MongodSpecInMemoryEngineConfig struct {
InMemorySizeRatio float64 `json:"inMemorySizeRatio,omitempty"`
}
func (*MongodSpecInMemoryEngineConfig) DeepCopy ¶
func (in *MongodSpecInMemoryEngineConfig) DeepCopy() *MongodSpecInMemoryEngineConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecInMemoryEngineConfig.
func (*MongodSpecInMemoryEngineConfig) DeepCopyInto ¶
func (in *MongodSpecInMemoryEngineConfig) DeepCopyInto(out *MongodSpecInMemoryEngineConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecMMAPv1 ¶
type MongodSpecMMAPv1 struct { NsSize int `json:"nsSize,omitempty"` Smallfiles bool `json:"smallfiles,omitempty"` }
func (*MongodSpecMMAPv1) DeepCopy ¶
func (in *MongodSpecMMAPv1) DeepCopy() *MongodSpecMMAPv1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecMMAPv1.
func (*MongodSpecMMAPv1) DeepCopyInto ¶
func (in *MongodSpecMMAPv1) DeepCopyInto(out *MongodSpecMMAPv1)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecNet ¶
type MongodSpecNet struct { Port int32 `json:"port,omitempty"` HostPort int32 `json:"hostPort,omitempty"` }
func (*MongodSpecNet) DeepCopy ¶
func (in *MongodSpecNet) DeepCopy() *MongodSpecNet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecNet.
func (*MongodSpecNet) DeepCopyInto ¶
func (in *MongodSpecNet) DeepCopyInto(out *MongodSpecNet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecOperationProfiling ¶
type MongodSpecOperationProfiling struct { Mode OperationProfilingMode `json:"mode,omitempty"` SlowOpThresholdMs int `json:"slowOpThresholdMs,omitempty"` RateLimit int `json:"rateLimit,omitempty"` }
func (*MongodSpecOperationProfiling) DeepCopy ¶
func (in *MongodSpecOperationProfiling) DeepCopy() *MongodSpecOperationProfiling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecOperationProfiling.
func (*MongodSpecOperationProfiling) DeepCopyInto ¶
func (in *MongodSpecOperationProfiling) DeepCopyInto(out *MongodSpecOperationProfiling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecReplication ¶
type MongodSpecReplication struct {
OplogSizeMB int `json:"oplogSizeMB,omitempty"`
}
func (*MongodSpecReplication) DeepCopy ¶
func (in *MongodSpecReplication) DeepCopy() *MongodSpecReplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecReplication.
func (*MongodSpecReplication) DeepCopyInto ¶
func (in *MongodSpecReplication) DeepCopyInto(out *MongodSpecReplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecSecurity ¶
type MongodSpecSecurity struct {
RedactClientLogData bool `json:"redactClientLogData,omitempty"`
}
func (*MongodSpecSecurity) DeepCopy ¶
func (in *MongodSpecSecurity) DeepCopy() *MongodSpecSecurity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecSecurity.
func (*MongodSpecSecurity) DeepCopyInto ¶
func (in *MongodSpecSecurity) DeepCopyInto(out *MongodSpecSecurity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecSetParameter ¶
type MongodSpecSetParameter struct { TTLMonitorSleepSecs int `json:"ttlMonitorSleepSecs,omitempty"` WiredTigerConcurrentReadTransactions int `json:"wiredTigerConcurrentReadTransactions,omitempty"` WiredTigerConcurrentWriteTransactions int `json:"wiredTigerConcurrentWriteTransactions,omitempty"` }
func (*MongodSpecSetParameter) DeepCopy ¶
func (in *MongodSpecSetParameter) DeepCopy() *MongodSpecSetParameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecSetParameter.
func (*MongodSpecSetParameter) DeepCopyInto ¶
func (in *MongodSpecSetParameter) DeepCopyInto(out *MongodSpecSetParameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecStorage ¶
type MongodSpecStorage struct { Engine StorageEngine `json:"engine,omitempty"` DirectoryPerDB bool `json:"directoryPerDB,omitempty"` SyncPeriodSecs int `json:"syncPeriodSecs,omitempty"` InMemory *MongodSpecInMemory `json:"inMemory,omitempty"` MMAPv1 *MongodSpecMMAPv1 `json:"mmapv1,omitempty"` WiredTiger *MongodSpecWiredTiger `json:"wiredTiger,omitempty"` }
func (*MongodSpecStorage) DeepCopy ¶
func (in *MongodSpecStorage) DeepCopy() *MongodSpecStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecStorage.
func (*MongodSpecStorage) DeepCopyInto ¶
func (in *MongodSpecStorage) DeepCopyInto(out *MongodSpecStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecWiredTiger ¶
type MongodSpecWiredTiger struct { CollectionConfig *MongodSpecWiredTigerCollectionConfig `json:"collectionConfig,omitempty"` EngineConfig *MongodSpecWiredTigerEngineConfig `json:"engineConfig,omitempty"` IndexConfig *MongodSpecWiredTigerIndexConfig `json:"indexConfig,omitempty"` }
func (*MongodSpecWiredTiger) DeepCopy ¶
func (in *MongodSpecWiredTiger) DeepCopy() *MongodSpecWiredTiger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecWiredTiger.
func (*MongodSpecWiredTiger) DeepCopyInto ¶
func (in *MongodSpecWiredTiger) DeepCopyInto(out *MongodSpecWiredTiger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecWiredTigerCollectionConfig ¶
type MongodSpecWiredTigerCollectionConfig struct {
BlockCompressor *WiredTigerCompressor `json:"blockCompressor,omitempty"`
}
func (*MongodSpecWiredTigerCollectionConfig) DeepCopy ¶
func (in *MongodSpecWiredTigerCollectionConfig) DeepCopy() *MongodSpecWiredTigerCollectionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecWiredTigerCollectionConfig.
func (*MongodSpecWiredTigerCollectionConfig) DeepCopyInto ¶
func (in *MongodSpecWiredTigerCollectionConfig) DeepCopyInto(out *MongodSpecWiredTigerCollectionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecWiredTigerEngineConfig ¶
type MongodSpecWiredTigerEngineConfig struct { CacheSizeRatio float64 `json:"cacheSizeRatio,omitempty"` DirectoryForIndexes bool `json:"directoryForIndexes,omitempty"` JournalCompressor *WiredTigerCompressor `json:"journalCompressor,omitempty"` }
func (*MongodSpecWiredTigerEngineConfig) DeepCopy ¶
func (in *MongodSpecWiredTigerEngineConfig) DeepCopy() *MongodSpecWiredTigerEngineConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecWiredTigerEngineConfig.
func (*MongodSpecWiredTigerEngineConfig) DeepCopyInto ¶
func (in *MongodSpecWiredTigerEngineConfig) DeepCopyInto(out *MongodSpecWiredTigerEngineConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodSpecWiredTigerIndexConfig ¶
type MongodSpecWiredTigerIndexConfig struct {
PrefixCompression bool `json:"prefixCompression,omitempty"`
}
func (*MongodSpecWiredTigerIndexConfig) DeepCopy ¶
func (in *MongodSpecWiredTigerIndexConfig) DeepCopy() *MongodSpecWiredTigerIndexConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodSpecWiredTigerIndexConfig.
func (*MongodSpecWiredTigerIndexConfig) DeepCopyInto ¶
func (in *MongodSpecWiredTigerIndexConfig) DeepCopyInto(out *MongodSpecWiredTigerIndexConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongosSpec ¶
type MongosSpec struct { *ResourcesSpec `json:"resources,omitempty"` Port int32 `json:"port,omitempty"` HostPort int32 `json:"hostPort,omitempty"` }
func (*MongosSpec) DeepCopy ¶
func (in *MongosSpec) DeepCopy() *MongosSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongosSpec.
func (*MongosSpec) DeepCopyInto ¶
func (in *MongosSpec) DeepCopyInto(out *MongosSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperationProfilingMode ¶
type OperationProfilingMode string
const ( OperationProfilingModeAll OperationProfilingMode = "all" OperationProfilingModeSlowOp OperationProfilingMode = "slowOp" )
type PerconaServerMongoDB ¶
type PerconaServerMongoDB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec PerconaServerMongoDBSpec `json:"spec"` Status PerconaServerMongoDBStatus `json:"status,omitempty"` }
func (*PerconaServerMongoDB) DeepCopy ¶
func (in *PerconaServerMongoDB) DeepCopy() *PerconaServerMongoDB
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaServerMongoDB.
func (*PerconaServerMongoDB) DeepCopyInto ¶
func (in *PerconaServerMongoDB) DeepCopyInto(out *PerconaServerMongoDB)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PerconaServerMongoDB) DeepCopyObject ¶
func (in *PerconaServerMongoDB) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PerconaServerMongoDBList ¶
type PerconaServerMongoDBList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []PerconaServerMongoDB `json:"items"` }
func (*PerconaServerMongoDBList) DeepCopy ¶
func (in *PerconaServerMongoDBList) DeepCopy() *PerconaServerMongoDBList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaServerMongoDBList.
func (*PerconaServerMongoDBList) DeepCopyInto ¶
func (in *PerconaServerMongoDBList) DeepCopyInto(out *PerconaServerMongoDBList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PerconaServerMongoDBList) DeepCopyObject ¶
func (in *PerconaServerMongoDBList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PerconaServerMongoDBSpec ¶
type PerconaServerMongoDBSpec struct { Platform *Platform `json:"platform,omitempty"` Version string `json:"version,omitempty"` RunUID int64 `json:"runUid,omitempty"` Mongod *MongodSpec `json:"mongod,omitempty"` Replsets []*ReplsetSpec `json:"replsets,omitempty"` Secrets *SecretsSpec `json:"secrets,omitempty"` Backup *BackupSpec `json:"backup,omitempty"` ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` }
func (*PerconaServerMongoDBSpec) DeepCopy ¶
func (in *PerconaServerMongoDBSpec) DeepCopy() *PerconaServerMongoDBSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaServerMongoDBSpec.
func (*PerconaServerMongoDBSpec) DeepCopyInto ¶
func (in *PerconaServerMongoDBSpec) DeepCopyInto(out *PerconaServerMongoDBSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerconaServerMongoDBStatus ¶
type PerconaServerMongoDBStatus struct { Backups []*BackupTaskStatus `json:"backups,omitempty"` Replsets []*ReplsetStatus `json:"replsets,omitempty"` }
func (*PerconaServerMongoDBStatus) DeepCopy ¶
func (in *PerconaServerMongoDBStatus) DeepCopy() *PerconaServerMongoDBStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaServerMongoDBStatus.
func (*PerconaServerMongoDBStatus) DeepCopyInto ¶
func (in *PerconaServerMongoDBStatus) DeepCopyInto(out *PerconaServerMongoDBStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplsetMemberStatus ¶
type ReplsetMemberStatus struct { Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` }
func (*ReplsetMemberStatus) DeepCopy ¶
func (in *ReplsetMemberStatus) DeepCopy() *ReplsetMemberStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplsetMemberStatus.
func (*ReplsetMemberStatus) DeepCopyInto ¶
func (in *ReplsetMemberStatus) DeepCopyInto(out *ReplsetMemberStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplsetSpec ¶
type ReplsetSpec struct { *ResourcesSpec `json:"resources,omitempty"` Name string `json:"name"` Size int32 `json:"size"` ClusterRole ClusterRole `json:"clusterRole,omitempty"` Arbiter *Arbiter `json:"arbiter,omitempty"` Expose *Expose `json:"expose,omitempty"` }
func (*ReplsetSpec) DeepCopy ¶
func (in *ReplsetSpec) DeepCopy() *ReplsetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplsetSpec.
func (*ReplsetSpec) DeepCopyInto ¶
func (in *ReplsetSpec) DeepCopyInto(out *ReplsetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplsetStatus ¶
type ReplsetStatus struct { Name string `json:"name,omitempty"` Pods []string `json:"pods,omitempty"` Members []*ReplsetMemberStatus `json:"members,omitempty"` ClusterRole ClusterRole `json:"clusterRole,omitempty"` Initialized bool `json:"initialized,omitempty"` }
func (*ReplsetStatus) DeepCopy ¶
func (in *ReplsetStatus) DeepCopy() *ReplsetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplsetStatus.
func (*ReplsetStatus) DeepCopyInto ¶
func (in *ReplsetStatus) DeepCopyInto(out *ReplsetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSpecRequirements ¶
type ResourceSpecRequirements struct { Cpu string `json:"cpu,omitempty"` Memory string `json:"memory,omitempty"` Storage string `json:"storage,omitempty"` }
func (*ResourceSpecRequirements) DeepCopy ¶
func (in *ResourceSpecRequirements) DeepCopy() *ResourceSpecRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpecRequirements.
func (*ResourceSpecRequirements) DeepCopyInto ¶
func (in *ResourceSpecRequirements) DeepCopyInto(out *ResourceSpecRequirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesSpec ¶
type ResourcesSpec struct { Limits *ResourceSpecRequirements `json:"limits,omitempty"` Requests *ResourceSpecRequirements `json:"requests,omitempty"` StorageClass string `json:"storageClass,omitempty"` }
func (*ResourcesSpec) DeepCopy ¶
func (in *ResourcesSpec) DeepCopy() *ResourcesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesSpec.
func (*ResourcesSpec) DeepCopyInto ¶
func (in *ResourcesSpec) DeepCopyInto(out *ResourcesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretsSpec ¶
func (*SecretsSpec) DeepCopy ¶
func (in *SecretsSpec) DeepCopy() *SecretsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsSpec.
func (*SecretsSpec) DeepCopyInto ¶
func (in *SecretsSpec) DeepCopyInto(out *SecretsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerVersion ¶
type ServerVersion struct { Platform Platform Info k8sversion.Info }
ServerVersion represents info about k8s / openshift server version
func (*ServerVersion) DeepCopy ¶
func (in *ServerVersion) DeepCopy() *ServerVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerVersion.
func (*ServerVersion) DeepCopyInto ¶
func (in *ServerVersion) DeepCopyInto(out *ServerVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageEngine ¶
type StorageEngine string
var ( StorageEngineWiredTiger StorageEngine = "wiredTiger" StorageEngineInMemory StorageEngine = "inMemory" StorageEngineMMAPv1 StorageEngine = "mmapv1" )
type WiredTigerCompressor ¶
type WiredTigerCompressor string
var ( WiredTigerCompressorNone WiredTigerCompressor = "none" WiredTigerCompressorSnappy WiredTigerCompressor = "snappy" WiredTigerCompressorZlib WiredTigerCompressor = "zlib" )