Class: MutatingWebhookConfiguration
lib/k8s/mutatingWebhookConfiguration .MutatingWebhookConfiguration
Hierarchy
-
any
↳
MutatingWebhookConfiguration
Constructors
constructor
• new MutatingWebhookConfiguration(json
)
Parameters
Name | Type |
---|---|
json |
KubeMutatingWebhookConfiguration
|
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).constructor
Defined in
Properties
apiEndpoint
▪ Static
apiEndpoint: Object
Type declaration
Name | Type |
---|---|
delete |
(name : string , queryParams? :
QueryParameters
) => Promise <any > |
get |
(name : string , cb :
StreamResultsCb
, errCb :
StreamErrCb
, queryParams? :
QueryParameters
) => Promise <() => void > |
isNamespaced |
boolean |
list |
(cb :
StreamResultsCb
, errCb :
StreamErrCb
, queryParams? :
QueryParameters
) => Promise <() => void > |
patch |
(body : OpPatch [], name : string , queryParams? :
QueryParameters
) => Promise <any > |
post |
(body :
KubeObjectInterface
, queryParams? :
QueryParameters
) => Promise <any > |
put |
(body :
KubeObjectInterface
, queryParams? :
QueryParameters
) => Promise <any > |
Defined in
lib/k8s/mutatingWebhookConfiguration.ts:48
className
▪ Static
className: string
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).className
Defined in
Accessors
webhooks
• get
webhooks(): { admissionReviewVersions
: string
[] ; clientConfig
:
KubeWebhookClientConfig
; failurePolicy?
: string
; matchPolicy?
: string
; name
: string
; namespaceSelector?
: { matchExpressions
: undefined
| { key
: string
; operator
: string
; values
: string
[] }[] ; matchLabels
: undefined
| { [key: string]
: string
; } } ; objectSelector?
: { matchExpressions
: undefined
| { key
: string
; operator
: string
; values
: string
[] }[] ; matchLabels
: undefined
| { [key: string]
: string
; } } ; reinvocationPolicy?
: string
; rules?
:
KubeRuleWithOperations
[] ; sideEffects?
: string
; timeoutSeconds?
: number
}[]
Returns
{ admissionReviewVersions
: string
[] ; clientConfig
:
KubeWebhookClientConfig
; failurePolicy?
: string
; matchPolicy?
: string
; name
: string
; namespaceSelector?
: { matchExpressions
: undefined
| { key
: string
; operator
: string
; values
: string
[] }[] ; matchLabels
: undefined
| { [key: string]
: string
; } } ; objectSelector?
: { matchExpressions
: undefined
| { key
: string
; operator
: string
; values
: string
[] }[] ; matchLabels
: undefined
| { [key: string]
: string
; } } ; reinvocationPolicy?
: string
; rules?
:
KubeRuleWithOperations
[] ; sideEffects?
: string
; timeoutSeconds?
: number
}[]
Defined in
lib/k8s/mutatingWebhookConfiguration.ts:54
Methods
apiList
▸ Static
apiList(onList
): any
Parameters
Name | Type |
---|---|
onList |
(arg : any []) => void |
Returns
any
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).apiList
Defined in
getAuthorization
▸ Static
Optional
getAuthorization(arg
, resourceAttrs?
): any
Parameters
Name | Type |
---|---|
arg |
string |
resourceAttrs? |
AuthRequestResourceAttrs
|
Returns
any
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).getAuthorization
Defined in
getErrorMessage
▸ Static
getErrorMessage(err?
): null
| string
Parameters
Name | Type |
---|---|
err? |
null |
ApiError
|
Returns
null
| string
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).getErrorMessage
Defined in
useApiGet
▸ Static
useApiGet(onGet
, name
, namespace?
, onError?
): void
Parameters
Name | Type |
---|---|
onGet |
(…args : any ) => void |
name |
string |
namespace? |
string |
onError? |
(err :
ApiError
) => void |
Returns
void
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).useApiGet
Defined in
useApiList
▸ Static
useApiList(onList
, onError?
, opts?
): any
Parameters
Name | Type |
---|---|
onList |
(arg : any []) => void |
onError? |
(err :
ApiError
) => void |
opts? |
ApiListOptions
|
Returns
any
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).useApiList
Defined in
useGet
▸ Static
useGet(name
, namespace?
): [any
, null
|
ApiError
, (item
: any
) => void
, (err
: null
|
ApiError
) => void
]
Parameters
Name | Type |
---|---|
name |
string |
namespace? |
string |
Returns
[any
, null
|
ApiError
, (item
: any
) => void
, (err
: null
|
ApiError
) => void
]
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).useGet
Defined in
useList
▸ Static
useList(opts?
): [any
[], null
|
ApiError
, (items
: any
[]) => void
, (err
: null
|
ApiError
) => void
]
Parameters
Name | Type |
---|---|
opts? |
ApiListOptions
|
Returns
[any
[], null
|
ApiError
, (items
: any
[]) => void
, (err
: null
|
ApiError
) => void
]
Inherited from
makeKubeObject<KubeMutatingWebhookConfiguration>( ‘MutatingWebhookConfiguration’ ).useList