haskell-kubernetes-0.5.0: Haskell bindings to the Kubernetes API (via swagger-codegen)

Safe HaskellNone
LanguageHaskell2010

Kubernetes.Model.V1.Lifecycle

Synopsis

Documentation

data Lifecycle #

Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

Constructors

Lifecycle 

Instances

Eq Lifecycle # 
Show Lifecycle # 
Generic Lifecycle # 

Associated Types

type Rep Lifecycle :: * -> * #

Arbitrary Lifecycle # 
ToJSON Lifecycle # 
FromJSON Lifecycle # 
type Rep Lifecycle # 
type Rep Lifecycle = D1 (MetaData "Lifecycle" "Kubernetes.Model.V1.Lifecycle" "haskell-kubernetes-0.5.0-GxXiAZGRooLGeU0BCXYigL" False) (C1 (MetaCons "Lifecycle" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_postStart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Handler))) (S1 (MetaSel (Just Symbol "_preStop") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Handler)))))

mkLifecycle :: Lifecycle #

Use this method to build a Lifecycle