Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data AdmissionReviewRequest = AdmissionReviewRequest {
- apiVersion :: Text
- kind :: Text
- request :: AdmissionRequest
- data AdmissionReviewResponse = AdmissionReviewResponse {
- apiVersion :: Text
- kind :: Text
- response :: AdmissionResponse
- admissionReviewResponse :: AdmissionResponse -> AdmissionReviewResponse
- data AdmissionRequest = AdmissionRequest {
- uid :: UID
- kind :: GroupVersionKind
- resource :: GroupVersionResource
- subResource :: Maybe Text
- requestKind :: Maybe GroupVersionKind
- requestResource :: Maybe GroupVersionResource
- requestSubResource :: Maybe Text
- name :: Maybe Text
- namespace :: Maybe Text
- operation :: Operation
- userInfo :: UserInfo
- object :: Maybe Value
- oldObject :: Maybe Value
- dryRun :: Maybe Bool
- options :: Maybe Value
- data AdmissionResponse = AdmissionResponse {}
- newtype UID = UID Text
- data Operation
- data UserInfo = UserInfo {}
- data GroupVersionKind = GroupVersionKind {}
- data GroupVersionResource = GroupVersionResource {}
- data RawExtension = RawExtension {}
- data Status = Status {
- typeMeta :: TypeMeta
- listMeta :: Maybe ListMeta
- status :: Maybe StatusStatus
- message :: Maybe Text
- reason :: Maybe StatusReason
- details :: Maybe StatusDetails
- code :: Maybe Integer
- data ListMeta = ListMeta {
- selfLink :: Maybe Text
- resourceVersion :: Maybe Text
- continue :: Text
- remainingItemCount :: Maybe Integer
- data StatusStatus
- data StatusReason
- data StatusDetails = StatusDetails {
- name :: Maybe Text
- group :: Maybe Text
- kind :: Maybe Text
- uid :: Maybe UID
- causes :: Maybe [StatusCause]
- retryAfterSeconds :: Maybe Integer
- data StatusCause = StatusCause {}
- data CauseType
- data TypeMeta = TypeMeta {
- kind :: Maybe Text
- apiVersion :: Maybe Text
- data PatchType = JSONPatch
- data PatchOperation = PatchOperation {}
- newtype Patch = Patch [PatchOperation]
- data PatchOp
- lowerFirst :: String -> String
Documentation
data AdmissionReviewRequest Source #
This is the type of the request that arrives for the admission webhook see https://godoc.org/k8s.io/api/admission/v1beta1#AdmissionReview
AdmissionReviewRequest | |
|
Instances
Show AdmissionReviewRequest Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> AdmissionReviewRequest -> ShowS show :: AdmissionReviewRequest -> String showList :: [AdmissionReviewRequest] -> ShowS | |
Generic AdmissionReviewRequest Source # | |
Defined in Kubernetes.Webhook.Types type Rep AdmissionReviewRequest :: Type -> Type from :: AdmissionReviewRequest -> Rep AdmissionReviewRequest x to :: Rep AdmissionReviewRequest x -> AdmissionReviewRequest | |
ToJSON AdmissionReviewRequest Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: AdmissionReviewRequest -> Value # toEncoding :: AdmissionReviewRequest -> Encoding # toJSONList :: [AdmissionReviewRequest] -> Value # | |
FromJSON AdmissionReviewRequest Source # | |
Defined in Kubernetes.Webhook.Types | |
type Rep AdmissionReviewRequest Source # | |
Defined in Kubernetes.Webhook.Types type Rep AdmissionReviewRequest = D1 (MetaData "AdmissionReviewRequest" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "AdmissionReviewRequest" PrefixI True) (S1 (MetaSel (Just "apiVersion") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "kind") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "request") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 AdmissionRequest)))) |
data AdmissionReviewResponse Source #
This is the type of the response returned to the admission webhook see https://godoc.org/k8s.io/api/admission/v1beta1#AdmissionReview
AdmissionReviewResponse | |
|
Instances
Show AdmissionReviewResponse Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> AdmissionReviewResponse -> ShowS show :: AdmissionReviewResponse -> String showList :: [AdmissionReviewResponse] -> ShowS | |
Generic AdmissionReviewResponse Source # | |
Defined in Kubernetes.Webhook.Types type Rep AdmissionReviewResponse :: Type -> Type from :: AdmissionReviewResponse -> Rep AdmissionReviewResponse x to :: Rep AdmissionReviewResponse x -> AdmissionReviewResponse | |
ToJSON AdmissionReviewResponse Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON AdmissionReviewResponse Source # | |
Defined in Kubernetes.Webhook.Types | |
type Rep AdmissionReviewResponse Source # | |
Defined in Kubernetes.Webhook.Types type Rep AdmissionReviewResponse = D1 (MetaData "AdmissionReviewResponse" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "AdmissionReviewResponse" PrefixI True) (S1 (MetaSel (Just "apiVersion") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "kind") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "response") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 AdmissionResponse)))) |
data AdmissionRequest Source #
AdmissionRequest | |
|
Instances
Show AdmissionRequest Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> AdmissionRequest -> ShowS show :: AdmissionRequest -> String showList :: [AdmissionRequest] -> ShowS | |
Generic AdmissionRequest Source # | |
Defined in Kubernetes.Webhook.Types type Rep AdmissionRequest :: Type -> Type from :: AdmissionRequest -> Rep AdmissionRequest x to :: Rep AdmissionRequest x -> AdmissionRequest | |
ToJSON AdmissionRequest Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: AdmissionRequest -> Value # toEncoding :: AdmissionRequest -> Encoding # toJSONList :: [AdmissionRequest] -> Value # toEncodingList :: [AdmissionRequest] -> Encoding # | |
FromJSON AdmissionRequest Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser AdmissionRequest # parseJSONList :: Value -> Parser [AdmissionRequest] # | |
type Rep AdmissionRequest Source # | |
Defined in Kubernetes.Webhook.Types type Rep AdmissionRequest = D1 (MetaData "AdmissionRequest" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "AdmissionRequest" PrefixI True) (((S1 (MetaSel (Just "uid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 UID) :*: (S1 (MetaSel (Just "kind") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 GroupVersionKind) :*: S1 (MetaSel (Just "resource") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 GroupVersionResource))) :*: ((S1 (MetaSel (Just "subResource") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "requestKind") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe GroupVersionKind))) :*: (S1 (MetaSel (Just "requestResource") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe GroupVersionResource)) :*: S1 (MetaSel (Just "requestSubResource") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 (MetaSel (Just "name") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "namespace") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "operation") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Operation) :*: S1 (MetaSel (Just "userInfo") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 UserInfo))) :*: ((S1 (MetaSel (Just "object") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Value)) :*: S1 (MetaSel (Just "oldObject") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Value))) :*: (S1 (MetaSel (Just "dryRun") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "options") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Value))))))) |
data AdmissionResponse Source #
AdmissionResponse describes an admission response. see: https://godoc.org/k8s.io/api/admission/v1beta1#AdmissionResponse
AdmissionResponse | |
|
Instances
Show AdmissionResponse Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> AdmissionResponse -> ShowS show :: AdmissionResponse -> String showList :: [AdmissionResponse] -> ShowS | |
Generic AdmissionResponse Source # | |
Defined in Kubernetes.Webhook.Types type Rep AdmissionResponse :: Type -> Type from :: AdmissionResponse -> Rep AdmissionResponse x to :: Rep AdmissionResponse x -> AdmissionResponse | |
ToJSON AdmissionResponse Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: AdmissionResponse -> Value # toEncoding :: AdmissionResponse -> Encoding # toJSONList :: [AdmissionResponse] -> Value # toEncodingList :: [AdmissionResponse] -> Encoding # | |
FromJSON AdmissionResponse Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser AdmissionResponse # parseJSONList :: Value -> Parser [AdmissionResponse] # | |
type Rep AdmissionResponse Source # | |
Defined in Kubernetes.Webhook.Types type Rep AdmissionResponse = D1 (MetaData "AdmissionResponse" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "AdmissionResponse" PrefixI True) ((S1 (MetaSel (Just "uid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 UID) :*: (S1 (MetaSel (Just "allowed") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "status") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Status)))) :*: (S1 (MetaSel (Just "patch") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Patch)) :*: (S1 (MetaSel (Just "patchType") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe PatchType)) :*: S1 (MetaSel (Just "auditAnnotations") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))))))) |
UID is a type that holds unique ID values, including UUIDs. Because we don't ONLY use UUIDs, this is an alias to string Being a type captures intent and helps make sure that UIDs and names do not get conflated.
UID Text |
Instances
Show UID Source # | |
Generic UID Source # | |
ToJSON UID Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON UID Source # | |
type Rep UID Source # | |
Defined in Kubernetes.Webhook.Types type Rep UID = D1 (MetaData "UID" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" True) (C1 (MetaCons "UID" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |
Operation is the type of resource operation being checked for admission control
Instances
Show Operation Source # | |
Generic Operation Source # | |
ToJSON Operation Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON Operation Source # | |
type Rep Operation Source # | |
Defined in Kubernetes.Webhook.Types type Rep Operation = D1 (MetaData "Operation" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) ((C1 (MetaCons "Create" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Update" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Delete" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Connect" PrefixI False) (U1 :: Type -> Type))) |
UserInfo holds the information about the user needed to implement the user.Info interface.
UserInfo | |
|
Instances
Show UserInfo Source # | |
Generic UserInfo Source # | |
ToJSON UserInfo Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON UserInfo Source # | |
type Rep UserInfo Source # | |
Defined in Kubernetes.Webhook.Types type Rep UserInfo = D1 (MetaData "UserInfo" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "UserInfo" PrefixI True) ((S1 (MetaSel (Just "username") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "uid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "groups") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "extra") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe (HashMap Text [Text])))))) |
data GroupVersionKind Source #
GroupVersionKind unambiguously identifies a kind.
Instances
Show GroupVersionKind Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> GroupVersionKind -> ShowS show :: GroupVersionKind -> String showList :: [GroupVersionKind] -> ShowS | |
Generic GroupVersionKind Source # | |
Defined in Kubernetes.Webhook.Types type Rep GroupVersionKind :: Type -> Type from :: GroupVersionKind -> Rep GroupVersionKind x to :: Rep GroupVersionKind x -> GroupVersionKind | |
ToJSON GroupVersionKind Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: GroupVersionKind -> Value # toEncoding :: GroupVersionKind -> Encoding # toJSONList :: [GroupVersionKind] -> Value # toEncodingList :: [GroupVersionKind] -> Encoding # | |
FromJSON GroupVersionKind Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser GroupVersionKind # parseJSONList :: Value -> Parser [GroupVersionKind] # | |
type Rep GroupVersionKind Source # | |
Defined in Kubernetes.Webhook.Types type Rep GroupVersionKind = D1 (MetaData "GroupVersionKind" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "GroupVersionKind" PrefixI True) (S1 (MetaSel (Just "group") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "version") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "kind") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))) |
data GroupVersionResource Source #
GroupVersionResource unambiguously identifies a resource.
Instances
Show GroupVersionResource Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> GroupVersionResource -> ShowS show :: GroupVersionResource -> String showList :: [GroupVersionResource] -> ShowS | |
Generic GroupVersionResource Source # | |
Defined in Kubernetes.Webhook.Types type Rep GroupVersionResource :: Type -> Type from :: GroupVersionResource -> Rep GroupVersionResource x to :: Rep GroupVersionResource x -> GroupVersionResource | |
ToJSON GroupVersionResource Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: GroupVersionResource -> Value # toEncoding :: GroupVersionResource -> Encoding # toJSONList :: [GroupVersionResource] -> Value # toEncodingList :: [GroupVersionResource] -> Encoding # | |
FromJSON GroupVersionResource Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser GroupVersionResource # parseJSONList :: Value -> Parser [GroupVersionResource] # | |
type Rep GroupVersionResource Source # | |
Defined in Kubernetes.Webhook.Types type Rep GroupVersionResource = D1 (MetaData "GroupVersionResource" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "GroupVersionResource" PrefixI True) (S1 (MetaSel (Just "group") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "version") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "resource") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))) |
data RawExtension Source #
RawExtension is used to hold extensions in external versions.
Instances
Show RawExtension Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> RawExtension -> ShowS show :: RawExtension -> String showList :: [RawExtension] -> ShowS | |
Generic RawExtension Source # | |
Defined in Kubernetes.Webhook.Types type Rep RawExtension :: Type -> Type from :: RawExtension -> Rep RawExtension x to :: Rep RawExtension x -> RawExtension | |
ToJSON RawExtension Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: RawExtension -> Value # toEncoding :: RawExtension -> Encoding # toJSONList :: [RawExtension] -> Value # toEncodingList :: [RawExtension] -> Encoding # | |
FromJSON RawExtension Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser RawExtension # parseJSONList :: Value -> Parser [RawExtension] # | |
type Rep RawExtension Source # | |
Defined in Kubernetes.Webhook.Types type Rep RawExtension = D1 (MetaData "RawExtension" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "RawExtension" PrefixI True) (S1 (MetaSel (Just "raw") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "object") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Value))) |
Status is a return value for calls that don't return other objects.
Status | |
|
Instances
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Kubernetes.Webhook.Types type Rep Status = D1 (MetaData "Status" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "Status" PrefixI True) ((S1 (MetaSel (Just "typeMeta") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 TypeMeta) :*: (S1 (MetaSel (Just "listMeta") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe ListMeta)) :*: S1 (MetaSel (Just "status") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe StatusStatus)))) :*: ((S1 (MetaSel (Just "message") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "reason") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe StatusReason))) :*: (S1 (MetaSel (Just "details") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe StatusDetails)) :*: S1 (MetaSel (Just "code") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Integer)))))) |
ListMeta | |
|
Instances
Show ListMeta Source # | |
Generic ListMeta Source # | |
ToJSON ListMeta Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON ListMeta Source # | |
type Rep ListMeta Source # | |
Defined in Kubernetes.Webhook.Types type Rep ListMeta = D1 (MetaData "ListMeta" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "ListMeta" PrefixI True) ((S1 (MetaSel (Just "selfLink") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "resourceVersion") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "continue") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "remainingItemCount") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Integer))))) |
data StatusStatus Source #
Instances
data StatusReason Source #
StatusReason is an enumeration of possible failure causes. Each StatusReason must map to a single HTTP status code, but multiple reasons may map to the same HTTP status code. https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#StatusReason
Instances
Show StatusReason Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> StatusReason -> ShowS show :: StatusReason -> String showList :: [StatusReason] -> ShowS | |
Generic StatusReason Source # | |
Defined in Kubernetes.Webhook.Types type Rep StatusReason :: Type -> Type from :: StatusReason -> Rep StatusReason x to :: Rep StatusReason x -> StatusReason | |
ToJSON StatusReason Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: StatusReason -> Value # toEncoding :: StatusReason -> Encoding # toJSONList :: [StatusReason] -> Value # toEncodingList :: [StatusReason] -> Encoding # | |
FromJSON StatusReason Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser StatusReason # parseJSONList :: Value -> Parser [StatusReason] # | |
type Rep StatusReason Source # | |
Defined in Kubernetes.Webhook.Types type Rep StatusReason = D1 (MetaData "StatusReason" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) ((((C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unauthorized" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Forbidden" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NotFound" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "AlreadyExists" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Conflict" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Gone" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Invalid" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ServerTimeout" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "Timeout" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TooManyRequests" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "BadRequest" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "MethodNotAllowed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NotAcceptable" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "RequestEntityTooLarge" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UnsupportedMediaType" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "InternalError" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Expired" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ServiceUnavailable" PrefixI False) (U1 :: Type -> Type)))))) |
data StatusDetails Source #
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
StatusDetails | |
|
Instances
Show StatusDetails Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> StatusDetails -> ShowS show :: StatusDetails -> String showList :: [StatusDetails] -> ShowS | |
Generic StatusDetails Source # | |
Defined in Kubernetes.Webhook.Types type Rep StatusDetails :: Type -> Type from :: StatusDetails -> Rep StatusDetails x to :: Rep StatusDetails x -> StatusDetails | |
ToJSON StatusDetails Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: StatusDetails -> Value # toEncoding :: StatusDetails -> Encoding # toJSONList :: [StatusDetails] -> Value # toEncodingList :: [StatusDetails] -> Encoding # | |
FromJSON StatusDetails Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser StatusDetails # parseJSONList :: Value -> Parser [StatusDetails] # | |
type Rep StatusDetails Source # | |
Defined in Kubernetes.Webhook.Types type Rep StatusDetails = D1 (MetaData "StatusDetails" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "StatusDetails" PrefixI True) ((S1 (MetaSel (Just "name") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "group") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "kind") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "uid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe UID)) :*: (S1 (MetaSel (Just "causes") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe [StatusCause])) :*: S1 (MetaSel (Just "retryAfterSeconds") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Integer)))))) |
data StatusCause Source #
StatusCause | |
|
Instances
Show StatusCause Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> StatusCause -> ShowS show :: StatusCause -> String showList :: [StatusCause] -> ShowS | |
Generic StatusCause Source # | |
Defined in Kubernetes.Webhook.Types type Rep StatusCause :: Type -> Type from :: StatusCause -> Rep StatusCause x to :: Rep StatusCause x -> StatusCause | |
ToJSON StatusCause Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: StatusCause -> Value # toEncoding :: StatusCause -> Encoding # toJSONList :: [StatusCause] -> Value # toEncodingList :: [StatusCause] -> Encoding # | |
FromJSON StatusCause Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser StatusCause # parseJSONList :: Value -> Parser [StatusCause] # | |
type Rep StatusCause Source # | |
Defined in Kubernetes.Webhook.Types type Rep StatusCause = D1 (MetaData "StatusCause" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "StatusCause" PrefixI True) (S1 (MetaSel (Just "reason") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe CauseType)) :*: (S1 (MetaSel (Just "message") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "field") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text))))) |
CauseType is a machine readable value providing more detail about what occurred in a status response. An operation may have multiple causes for a status (whether Failure or Success).
FieldValueNotFound | |
FieldValueRequired | |
FieldValueDuplicate | |
FieldValueInvalid | |
FieldValueNotSupported | |
UnexpectedServerResponse | |
FieldManagerConflict |
Instances
Show CauseType Source # | |
Generic CauseType Source # | |
ToJSON CauseType Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON CauseType Source # | |
type Rep CauseType Source # | |
Defined in Kubernetes.Webhook.Types type Rep CauseType = D1 (MetaData "CauseType" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) ((C1 (MetaCons "FieldValueNotFound" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "FieldValueRequired" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FieldValueDuplicate" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "FieldValueInvalid" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FieldValueNotSupported" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "UnexpectedServerResponse" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FieldManagerConflict" PrefixI False) (U1 :: Type -> Type)))) |
TypeMeta | |
|
Instances
Show TypeMeta Source # | |
Generic TypeMeta Source # | |
ToJSON TypeMeta Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON TypeMeta Source # | |
type Rep TypeMeta Source # | |
Defined in Kubernetes.Webhook.Types type Rep TypeMeta = D1 (MetaData "TypeMeta" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "TypeMeta" PrefixI True) (S1 (MetaSel (Just "kind") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "apiVersion") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)))) |
data PatchOperation Source #
Instances
Show PatchOperation Source # | |
Defined in Kubernetes.Webhook.Types showsPrec :: Int -> PatchOperation -> ShowS show :: PatchOperation -> String showList :: [PatchOperation] -> ShowS | |
Generic PatchOperation Source # | |
Defined in Kubernetes.Webhook.Types type Rep PatchOperation :: Type -> Type from :: PatchOperation -> Rep PatchOperation x to :: Rep PatchOperation x -> PatchOperation | |
ToJSON PatchOperation Source # | |
Defined in Kubernetes.Webhook.Types toJSON :: PatchOperation -> Value # toEncoding :: PatchOperation -> Encoding # toJSONList :: [PatchOperation] -> Value # toEncodingList :: [PatchOperation] -> Encoding # | |
FromJSON PatchOperation Source # | |
Defined in Kubernetes.Webhook.Types parseJSON :: Value -> Parser PatchOperation # parseJSONList :: Value -> Parser [PatchOperation] # | |
type Rep PatchOperation Source # | |
Defined in Kubernetes.Webhook.Types type Rep PatchOperation = D1 (MetaData "PatchOperation" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) (C1 (MetaCons "PatchOperation" PrefixI True) ((S1 (MetaSel (Just "op") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 PatchOp) :*: S1 (MetaSel (Just "path") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "from") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "value") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Value))))) |
Patch type as per RFC-6902 See http://jsonpatch.com for documentation
Instances
Show Patch Source # | |
Generic Patch Source # | |
ToJSON Patch Source # | The Patch needs to be base64-encoded |
Defined in Kubernetes.Webhook.Types | |
FromJSON Patch Source # | |
type Rep Patch Source # | |
Defined in Kubernetes.Webhook.Types type Rep Patch = D1 (MetaData "Patch" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" True) (C1 (MetaCons "Patch" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [PatchOperation]))) |
Instances
Show PatchOp Source # | |
Generic PatchOp Source # | |
ToJSON PatchOp Source # | |
Defined in Kubernetes.Webhook.Types | |
FromJSON PatchOp Source # | |
type Rep PatchOp Source # | |
Defined in Kubernetes.Webhook.Types type Rep PatchOp = D1 (MetaData "PatchOp" "Kubernetes.Webhook.Types" "kubernetes-webhook-haskell-0.2.0.1-inplace" False) ((C1 (MetaCons "Add" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Copy" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Move" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Remove" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Replace" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Test" PrefixI False) (U1 :: Type -> Type)))) |
lowerFirst :: String -> String Source #