ganeti

Safe HaskellNone

Ganeti.Objects.Lens

Description

Lenses for Ganeti config objects

Synopsis

Documentation

stringL :: Simple Iso ByteString String Source #

Isomorphism between Strings and bytestrings

class TimeStampObject a => TimeStampObjectL a where Source #

Class of objects that have timestamps.

Methods

mTimeL :: Lens' a ClockTime Source #

Instances
TimeStampObjectL Instance # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

mTimeL :: Lens' Instance ClockTime Source #

TimeStampObjectL Disk # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

mTimeL :: Lens' Disk ClockTime Source #

TimeStampObjectL Network # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

mTimeL :: Lens' Network ClockTime Source #

TimeStampObjectL Node # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

mTimeL :: Lens' Node ClockTime Source #

TimeStampObjectL NodeGroup # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

mTimeL :: Lens' NodeGroup ClockTime Source #

TimeStampObjectL Cluster # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

mTimeL :: Lens' Cluster ClockTime Source #

TimeStampObjectL ConfigData # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

mTimeL :: Lens' ConfigData ClockTime Source #

class UuidObject a => UuidObjectL a where Source #

Class of objects that have an UUID.

Methods

uuidL :: Lens' a String Source #

Instances
UuidObjectL Instance # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

uuidL :: Lens' Instance String Source #

UuidObjectL Disk # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

uuidL :: Lens' Disk String Source #

UuidObjectL Network # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

uuidL :: Lens' Network String Source #

UuidObjectL Node # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

uuidL :: Lens' Node String Source #

UuidObjectL NodeGroup # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

uuidL :: Lens' NodeGroup String Source #

UuidObjectL Cluster # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

uuidL :: Lens' Cluster String Source #

class SerialNoObject a => SerialNoObjectL a where Source #

Class of object that have a serial number.

Methods

serialL :: Lens' a Int Source #

Instances
SerialNoObjectL Instance # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

serialL :: Lens' Instance Int Source #

SerialNoObjectL Disk # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

serialL :: Lens' Disk Int Source #

SerialNoObjectL Network # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

serialL :: Lens' Network Int Source #

SerialNoObjectL Node # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

serialL :: Lens' Node Int Source #

SerialNoObjectL NodeGroup # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

serialL :: Lens' NodeGroup Int Source #

SerialNoObjectL Cluster # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

serialL :: Lens' Cluster Int Source #

SerialNoObjectL ConfigData # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

serialL :: Lens' ConfigData Int Source #

class TagsObject a => TagsObjectL a where Source #

Class of objects that have tags.

Methods

tagsL :: Lens' a TagSet Source #

Instances
TagsObjectL Instance # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

tagsL :: Lens' Instance TagSet Source #

TagsObjectL Network # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

tagsL :: Lens' Network TagSet Source #

TagsObjectL Node # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

tagsL :: Lens' Node TagSet Source #

TagsObjectL NodeGroup # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

tagsL :: Lens' NodeGroup TagSet Source #

TagsObjectL Cluster # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

tagsL :: Lens' Cluster TagSet Source #

networkUuidL :: Lens' Network ByteString Source #

networkNetwork6L :: Lens' Network (Maybe String) Source #

networkMtimeL :: Lens' Network ClockTime Source #

networkMacPrefixL :: Lens' Network (Maybe String) Source #

networkGateway6L :: Lens' Network (Maybe String) Source #

networkCtimeL :: Lens' Network ClockTime Source #

nicUuidL :: Lens' PartialNic ByteString Source #

nicNetworkL :: Lens' PartialNic (Maybe String) Source #

nicNameL :: Lens' PartialNic (Maybe String) Source #

nicMacL :: Lens' PartialNic String Source #

nicIpL :: Lens' PartialNic (Maybe String) Source #

ipolicyVcpuRatioPL :: Lens' PartialIPolicy (Maybe Double) Source #

nodeVmCapableL :: Lens' Node Bool Source #

nodeUuidL :: Lens' Node ByteString 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 #

nodeNameL :: Lens' Node String Source #

nodeMtimeL :: Lens' Node ClockTime 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 #

groupNetworksL :: Lens' NodeGroup Networks Source #

groupNameL :: Lens' NodeGroup String Source #

groupMtimeL :: Lens' NodeGroup ClockTime Source #

groupMembersL :: Lens' NodeGroup [String] Source #

groupHvStateStaticL :: Lens' NodeGroup HypervisorState Source #

groupCtimeL :: Lens' NodeGroup ClockTime Source #

clusterVolumeGroupNameL :: Lens' Cluster (Maybe String) Source #

clusterUuidL :: Lens' Cluster ByteString Source #

clusterMtimeL :: Lens' Cluster ClockTime Source #

clusterHvStateStaticL :: Lens' Cluster HypervisorState Source #

clusterHiddenOsL :: Lens' Cluster [String] Source #

clusterDsahostkeypubL :: Lens' Cluster (Maybe String) Source #

clusterDrbdUsermodeHelperL :: Lens' Cluster (Maybe String) Source #

clusterCtimeL :: Lens' Cluster ClockTime Source #

clusterCandidateCertsL :: Lens' Cluster CandidateCertificates Source #

configMtimeL :: Lens' ConfigData ClockTime Source #

configCtimeL :: Lens' ConfigData ClockTime Source #