Safe Haskell | None |
---|
Lenses for Ganeti config objects
Synopsis
- stringL :: Simple Iso ByteString String
- class TimeStampObject a => TimeStampObjectL a where
- mTimeL :: Lens' a ClockTime
- class UuidObject a => UuidObjectL a where
- uuidL :: Lens' a String
- class SerialNoObject a => SerialNoObjectL a where
- serialL :: Lens' a Int
- class TagsObject a => TagsObjectL a where
- apReservationsL :: Iso' AddressPool BitArray
- networkUuidL :: Lens' Network ByteString
- networkTagsL :: Lens' Network TagSet
- networkSerialL :: Lens' Network Int
- networkReservationsL :: Lens' Network (Maybe AddressPool)
- networkNetworkL :: Lens' Network Ip4Network
- networkNetwork6L :: Lens' Network (Maybe String)
- networkNameL :: Lens' Network NonEmptyString
- networkMtimeL :: Lens' Network ClockTime
- networkMacPrefixL :: Lens' Network (Maybe String)
- networkGatewayL :: Lens' Network (Maybe Ip4Address)
- networkGateway6L :: Lens' Network (Maybe String)
- networkExtReservationsL :: Lens' Network (Maybe AddressPool)
- networkCtimeL :: Lens' Network ClockTime
- nicUuidL :: Lens' PartialNic ByteString
- nicNicparamsL :: Lens' PartialNic PartialNicParams
- nicNetworkL :: Lens' PartialNic (Maybe String)
- nicNameL :: Lens' PartialNic (Maybe String)
- nicMacL :: Lens' PartialNic String
- nicIpL :: Lens' PartialNic (Maybe String)
- mmisMinSpecL :: Lens' MinMaxISpecs FilledISpecParams
- mmisMaxSpecL :: Lens' MinMaxISpecs FilledISpecParams
- ipolicyVcpuRatioPL :: Lens' PartialIPolicy (Maybe Double)
- ipolicyStdSpecPL :: Lens' PartialIPolicy (Maybe PartialISpecParams)
- ipolicySpindleRatioPL :: Lens' PartialIPolicy (Maybe Double)
- ipolicyMinMaxISpecsPL :: Lens' PartialIPolicy (Maybe [MinMaxISpecs])
- ipolicyDiskTemplatesPL :: Lens' PartialIPolicy (Maybe [DiskTemplate])
- ipolicyVcpuRatioL :: Lens' FilledIPolicy Double
- ipolicyStdSpecL :: Lens' FilledIPolicy FilledISpecParams
- ipolicySpindleRatioL :: Lens' FilledIPolicy Double
- ipolicyMinMaxISpecsL :: Lens' FilledIPolicy [MinMaxISpecs]
- ipolicyDiskTemplatesL :: Lens' FilledIPolicy [DiskTemplate]
- nodeVmCapableL :: Lens' Node Bool
- nodeUuidL :: Lens' Node ByteString
- nodeTagsL :: Lens' Node TagSet
- nodeSerialL :: Lens' Node Int
- nodeSecondaryIpL :: Lens' Node String
- nodePrimaryIpL :: Lens' Node String
- nodePoweredL :: Lens' Node Bool
- nodeOfflineL :: Lens' Node Bool
- nodeNdparamsL :: Lens' Node PartialNDParams
- nodeNameL :: Lens' Node String
- nodeMtimeL :: Lens' Node ClockTime
- nodeMasterCapableL :: Lens' Node Bool
- nodeMasterCandidateL :: Lens' Node Bool
- nodeHvStateStaticL :: Lens' Node HypervisorState
- nodeGroupL :: Lens' Node String
- nodeDrainedL :: Lens' Node Bool
- nodeDiskStateStaticL :: Lens' Node DiskState
- nodeCtimeL :: Lens' Node ClockTime
- groupUuidL :: Lens' NodeGroup ByteString
- groupTagsL :: Lens' NodeGroup TagSet
- groupSerialL :: Lens' NodeGroup Int
- groupNetworksL :: Lens' NodeGroup Networks
- groupNdparamsL :: Lens' NodeGroup PartialNDParams
- groupNameL :: Lens' NodeGroup String
- groupMtimeL :: Lens' NodeGroup ClockTime
- groupMembersL :: Lens' NodeGroup [String]
- groupIpolicyL :: Lens' NodeGroup PartialIPolicy
- groupHvStateStaticL :: Lens' NodeGroup HypervisorState
- groupDiskparamsL :: Lens' NodeGroup GroupDiskParams
- groupDiskStateStaticL :: Lens' NodeGroup DiskState
- groupCtimeL :: Lens' NodeGroup ClockTime
- groupAllocPolicyL :: Lens' NodeGroup AllocPolicy
- clusterZeroingImageL :: Lens' Cluster String
- clusterVolumeGroupNameL :: Lens' Cluster (Maybe String)
- clusterUuidL :: Lens' Cluster ByteString
- clusterUseExternalMipScriptL :: Lens' Cluster Bool
- clusterUidPoolL :: Lens' Cluster UidPool
- clusterTcpudpPortPoolL :: Lens' Cluster [Int]
- clusterTagsL :: Lens' Cluster TagSet
- clusterSshKeyTypeL :: Lens' Cluster SshKeyType
- clusterSshKeyBitsL :: Lens' Cluster Int
- clusterSharedFileStorageDirL :: Lens' Cluster String
- clusterSerialL :: Lens' Cluster Int
- clusterRsahostkeypubL :: Lens' Cluster String
- clusterReservedLvsL :: Lens' Cluster [String]
- clusterPrimaryIpFamilyL :: Lens' Cluster IpFamily
- clusterPreallocWipeDisksL :: Lens' Cluster Bool
- clusterOsparamsPrivateClusterL :: Lens' Cluster ClusterOsParamsPrivate
- clusterOsparamsL :: Lens' Cluster ClusterOsParams
- clusterOsHvpL :: Lens' Cluster OsHvParams
- clusterNicparamsL :: Lens' Cluster ClusterNicParams
- clusterNdparamsL :: Lens' Cluster FilledNDParams
- clusterMtimeL :: Lens' Cluster ClockTime
- clusterModifySshSetupL :: Lens' Cluster Bool
- clusterModifyEtcHostsL :: Lens' Cluster Bool
- clusterMaxTrackedJobsL :: Lens' Cluster Int
- clusterMaxRunningJobsL :: Lens' Cluster Int
- clusterMasterNodeL :: Lens' Cluster String
- clusterMasterNetmaskL :: Lens' Cluster Int
- clusterMasterNetdevL :: Lens' Cluster String
- clusterMasterIpL :: Lens' Cluster String
- clusterMaintainNodeHealthL :: Lens' Cluster Bool
- clusterMacPrefixL :: Lens' Cluster String
- clusterIpolicyL :: Lens' Cluster FilledIPolicy
- clusterInstanceCommunicationNetworkL :: Lens' Cluster String
- clusterInstallImageL :: Lens' Cluster String
- clusterHvparamsL :: Lens' Cluster ClusterHvParams
- clusterHvStateStaticL :: Lens' Cluster HypervisorState
- clusterHighestUsedPortL :: Lens' Cluster Int
- clusterHiddenOsL :: Lens' Cluster [String]
- clusterGlusterStorageDirL :: Lens' Cluster String
- clusterFileStorageDirL :: Lens' Cluster String
- clusterEnabledUserShutdownL :: Lens' Cluster Bool
- clusterEnabledHypervisorsL :: Lens' Cluster [Hypervisor]
- clusterEnabledDiskTemplatesL :: Lens' Cluster [DiskTemplate]
- clusterDsahostkeypubL :: Lens' Cluster (Maybe String)
- clusterDrbdUsermodeHelperL :: Lens' Cluster (Maybe String)
- clusterDiskparamsL :: Lens' Cluster GroupDiskParams
- clusterDiskStateStaticL :: Lens' Cluster DiskState
- clusterDefaultIallocatorParamsL :: Lens' Cluster IAllocatorParams
- clusterDefaultIallocatorL :: Lens' Cluster String
- clusterDataCollectorsL :: Lens' Cluster (Container DataCollectorConfig)
- clusterCtimeL :: Lens' Cluster ClockTime
- clusterCompressionToolsL :: Lens' Cluster [String]
- clusterClusterNameL :: Lens' Cluster String
- clusterCandidatePoolSizeL :: Lens' Cluster Int
- clusterCandidateCertsL :: Lens' Cluster CandidateCertificates
- clusterBlacklistedOsL :: Lens' Cluster [String]
- clusterBeparamsL :: Lens' Cluster ClusterBeParams
- configVersionL :: Lens' ConfigData Int
- configSerialL :: Lens' ConfigData Int
- configNodesL :: Lens' ConfigData (Container Node)
- configNodegroupsL :: Lens' ConfigData (Container NodeGroup)
- configNetworksL :: Lens' ConfigData (Container Network)
- configMtimeL :: Lens' ConfigData ClockTime
- configInstancesL :: Lens' ConfigData (Container Instance)
- configFiltersL :: Lens' ConfigData (Container FilterRule)
- configDisksL :: Lens' ConfigData (Container Disk)
- configCtimeL :: Lens' ConfigData ClockTime
- configClusterL :: Lens' ConfigData Cluster
Documentation
class TimeStampObject a => TimeStampObjectL a where Source #
Class of objects that have timestamps.
Instances
TimeStampObjectL Instance # | |
Defined in Ganeti.Objects.Lens | |
TimeStampObjectL Disk # | |
Defined in Ganeti.Objects.Lens | |
TimeStampObjectL Network # | |
Defined in Ganeti.Objects.Lens | |
TimeStampObjectL Node # | |
Defined in Ganeti.Objects.Lens | |
TimeStampObjectL NodeGroup # | |
Defined in Ganeti.Objects.Lens | |
TimeStampObjectL Cluster # | |
Defined in Ganeti.Objects.Lens | |
TimeStampObjectL ConfigData # | |
Defined in Ganeti.Objects.Lens mTimeL :: Lens' ConfigData ClockTime Source # |
class UuidObject a => UuidObjectL a where Source #
Class of objects that have an UUID.
Instances
UuidObjectL Instance # | |
Defined in Ganeti.Objects.Lens | |
UuidObjectL Disk # | |
Defined in Ganeti.Objects.Lens | |
UuidObjectL Network # | |
Defined in Ganeti.Objects.Lens | |
UuidObjectL Node # | |
Defined in Ganeti.Objects.Lens | |
UuidObjectL NodeGroup # | |
Defined in Ganeti.Objects.Lens | |
UuidObjectL Cluster # | |
Defined in Ganeti.Objects.Lens |
class SerialNoObject a => SerialNoObjectL a where Source #
Class of object that have a serial number.
Instances
SerialNoObjectL Instance # | |
Defined in Ganeti.Objects.Lens | |
SerialNoObjectL Disk # | |
Defined in Ganeti.Objects.Lens | |
SerialNoObjectL Network # | |
Defined in Ganeti.Objects.Lens | |
SerialNoObjectL Node # | |
Defined in Ganeti.Objects.Lens | |
SerialNoObjectL NodeGroup # | |
Defined in Ganeti.Objects.Lens | |
SerialNoObjectL Cluster # | |
Defined in Ganeti.Objects.Lens | |
SerialNoObjectL ConfigData # | |
Defined in Ganeti.Objects.Lens serialL :: Lens' ConfigData Int Source # |
class TagsObject a => TagsObjectL a where Source #
Class of objects that have tags.
Instances
apReservationsL :: Iso' AddressPool BitArray Source #
networkUuidL :: Lens' Network ByteString Source #
networkTagsL :: Lens' Network TagSet Source #
networkSerialL :: Lens' Network Int Source #
networkReservationsL :: Lens' Network (Maybe AddressPool) Source #
networkNetworkL :: Lens' Network Ip4Network Source #
networkNetwork6L :: Lens' Network (Maybe String) Source #
networkNameL :: Lens' Network NonEmptyString Source #
networkMtimeL :: Lens' Network ClockTime Source #
networkMacPrefixL :: Lens' Network (Maybe String) Source #
networkGatewayL :: Lens' Network (Maybe Ip4Address) Source #
networkGateway6L :: Lens' Network (Maybe String) Source #
networkExtReservationsL :: Lens' Network (Maybe AddressPool) Source #
networkCtimeL :: Lens' Network ClockTime Source #
nicUuidL :: Lens' PartialNic ByteString Source #
nicNicparamsL :: Lens' PartialNic PartialNicParams Source #
nicNetworkL :: Lens' PartialNic (Maybe String) Source #
nicNameL :: Lens' PartialNic (Maybe String) Source #
nicMacL :: Lens' PartialNic String Source #
nicIpL :: Lens' PartialNic (Maybe String) Source #
mmisMinSpecL :: Lens' MinMaxISpecs FilledISpecParams Source #
mmisMaxSpecL :: Lens' MinMaxISpecs FilledISpecParams Source #
ipolicyVcpuRatioPL :: Lens' PartialIPolicy (Maybe Double) Source #
ipolicyStdSpecPL :: Lens' PartialIPolicy (Maybe PartialISpecParams) Source #
ipolicySpindleRatioPL :: Lens' PartialIPolicy (Maybe Double) Source #
ipolicyMinMaxISpecsPL :: Lens' PartialIPolicy (Maybe [MinMaxISpecs]) Source #
ipolicyDiskTemplatesPL :: Lens' PartialIPolicy (Maybe [DiskTemplate]) Source #
ipolicyVcpuRatioL :: Lens' FilledIPolicy Double Source #
ipolicyStdSpecL :: Lens' FilledIPolicy FilledISpecParams Source #
ipolicySpindleRatioL :: Lens' FilledIPolicy Double Source #
ipolicyMinMaxISpecsL :: Lens' FilledIPolicy [MinMaxISpecs] Source #
ipolicyDiskTemplatesL :: Lens' FilledIPolicy [DiskTemplate] Source #
nodeVmCapableL :: Lens' Node Bool Source #
nodeSerialL :: Lens' Node Int Source #
nodeSecondaryIpL :: Lens' Node String Source #
nodePrimaryIpL :: Lens' Node String Source #
nodePoweredL :: Lens' Node Bool Source #
nodeOfflineL :: Lens' Node Bool Source #
nodeNdparamsL :: Lens' Node PartialNDParams Source #
nodeMtimeL :: Lens' Node ClockTime Source #
nodeMasterCapableL :: Lens' Node Bool Source #
nodeMasterCandidateL :: Lens' Node Bool Source #
nodeHvStateStaticL :: Lens' Node HypervisorState Source #
nodeGroupL :: Lens' Node String Source #
nodeDrainedL :: Lens' Node Bool Source #
nodeDiskStateStaticL :: Lens' Node DiskState Source #
nodeCtimeL :: Lens' Node ClockTime Source #
groupUuidL :: Lens' NodeGroup ByteString Source #
groupTagsL :: Lens' NodeGroup TagSet Source #
groupSerialL :: Lens' NodeGroup Int Source #
groupNetworksL :: Lens' NodeGroup Networks Source #
groupNdparamsL :: Lens' NodeGroup PartialNDParams Source #
groupNameL :: Lens' NodeGroup String Source #
groupMtimeL :: Lens' NodeGroup ClockTime Source #
groupMembersL :: Lens' NodeGroup [String] Source #
groupIpolicyL :: Lens' NodeGroup PartialIPolicy Source #
groupHvStateStaticL :: Lens' NodeGroup HypervisorState Source #
groupDiskparamsL :: Lens' NodeGroup GroupDiskParams Source #
groupDiskStateStaticL :: Lens' NodeGroup DiskState Source #
groupCtimeL :: Lens' NodeGroup ClockTime Source #
groupAllocPolicyL :: Lens' NodeGroup AllocPolicy Source #
clusterZeroingImageL :: Lens' Cluster String Source #
clusterVolumeGroupNameL :: Lens' Cluster (Maybe String) Source #
clusterUuidL :: Lens' Cluster ByteString Source #
clusterUseExternalMipScriptL :: Lens' Cluster Bool Source #
clusterUidPoolL :: Lens' Cluster UidPool Source #
clusterTcpudpPortPoolL :: Lens' Cluster [Int] Source #
clusterTagsL :: Lens' Cluster TagSet Source #
clusterSshKeyTypeL :: Lens' Cluster SshKeyType Source #
clusterSshKeyBitsL :: Lens' Cluster Int Source #
clusterSharedFileStorageDirL :: Lens' Cluster String Source #
clusterSerialL :: Lens' Cluster Int Source #
clusterRsahostkeypubL :: Lens' Cluster String Source #
clusterReservedLvsL :: Lens' Cluster [String] Source #
clusterPrimaryIpFamilyL :: Lens' Cluster IpFamily Source #
clusterPreallocWipeDisksL :: Lens' Cluster Bool Source #
clusterOsparamsL :: Lens' Cluster ClusterOsParams Source #
clusterOsHvpL :: Lens' Cluster OsHvParams Source #
clusterNicparamsL :: Lens' Cluster ClusterNicParams Source #
clusterNdparamsL :: Lens' Cluster FilledNDParams Source #
clusterMtimeL :: Lens' Cluster ClockTime Source #
clusterModifySshSetupL :: Lens' Cluster Bool Source #
clusterModifyEtcHostsL :: Lens' Cluster Bool Source #
clusterMaxTrackedJobsL :: Lens' Cluster Int Source #
clusterMaxRunningJobsL :: Lens' Cluster Int Source #
clusterMasterNodeL :: Lens' Cluster String Source #
clusterMasterNetmaskL :: Lens' Cluster Int Source #
clusterMasterNetdevL :: Lens' Cluster String Source #
clusterMasterIpL :: Lens' Cluster String Source #
clusterMaintainNodeHealthL :: Lens' Cluster Bool Source #
clusterMacPrefixL :: Lens' Cluster String Source #
clusterIpolicyL :: Lens' Cluster FilledIPolicy Source #
clusterInstanceCommunicationNetworkL :: Lens' Cluster String Source #
clusterInstallImageL :: Lens' Cluster String Source #
clusterHvparamsL :: Lens' Cluster ClusterHvParams Source #
clusterHvStateStaticL :: Lens' Cluster HypervisorState Source #
clusterHighestUsedPortL :: Lens' Cluster Int Source #
clusterHiddenOsL :: Lens' Cluster [String] Source #
clusterGlusterStorageDirL :: Lens' Cluster String Source #
clusterFileStorageDirL :: Lens' Cluster String Source #
clusterEnabledUserShutdownL :: Lens' Cluster Bool Source #
clusterEnabledHypervisorsL :: Lens' Cluster [Hypervisor] Source #
clusterEnabledDiskTemplatesL :: Lens' Cluster [DiskTemplate] Source #
clusterDsahostkeypubL :: Lens' Cluster (Maybe String) Source #
clusterDrbdUsermodeHelperL :: Lens' Cluster (Maybe String) Source #
clusterDiskparamsL :: Lens' Cluster GroupDiskParams Source #
clusterDiskStateStaticL :: Lens' Cluster DiskState Source #
clusterDefaultIallocatorL :: Lens' Cluster String Source #
clusterDataCollectorsL :: Lens' Cluster (Container DataCollectorConfig) Source #
clusterCtimeL :: Lens' Cluster ClockTime Source #
clusterCompressionToolsL :: Lens' Cluster [String] Source #
clusterClusterNameL :: Lens' Cluster String Source #
clusterCandidatePoolSizeL :: Lens' Cluster Int Source #
clusterBlacklistedOsL :: Lens' Cluster [String] Source #
clusterBeparamsL :: Lens' Cluster ClusterBeParams Source #
configVersionL :: Lens' ConfigData Int Source #
configSerialL :: Lens' ConfigData Int Source #
configNodesL :: Lens' ConfigData (Container Node) Source #
configNodegroupsL :: Lens' ConfigData (Container NodeGroup) Source #
configNetworksL :: Lens' ConfigData (Container Network) Source #
configMtimeL :: Lens' ConfigData ClockTime Source #
configInstancesL :: Lens' ConfigData (Container Instance) Source #
configFiltersL :: Lens' ConfigData (Container FilterRule) Source #
configDisksL :: Lens' ConfigData (Container Disk) Source #
configCtimeL :: Lens' ConfigData ClockTime Source #
configClusterL :: Lens' ConfigData Cluster Source #