Search
Preparing search index...
The search index is not available
@alphahorizonio/webnetes
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ResourceManager
Class ResourceManager<T>
Type parameters
T
:
IResource
<
any
>
Hierarchy
ResourceManager
Repository
Processors
Index
Properties
resources
Methods
add
Resource
find
Resource
remove
Resource
Properties
Protected
resources
resources
:
T
[]
= [] as T[]
Methods
Protected
add
Resource
add
Resource<R>
(
apiVersion
:
R
[
"apiVersion"
]
, kind
:
R
[
"kind"
]
, metadata
:
R
[
"metadata"
]
, spec
:
R
[
"spec"
]
)
:
Promise
<
void
>
Type parameters
R
:
T
Parameters
apiVersion:
R
[
"apiVersion"
]
kind:
R
[
"kind"
]
metadata:
R
[
"metadata"
]
spec:
R
[
"spec"
]
Returns
Promise
<
void
>
Protected
find
Resource
find
Resource<R>
(
apiVersion
:
R
[
"apiVersion"
]
, kind
:
R
[
"kind"
]
, label
:
R
[
"metadata"
]
[
"label"
]
)
:
Promise
<
R
>
Type parameters
R
:
T
Parameters
apiVersion:
R
[
"apiVersion"
]
kind:
R
[
"kind"
]
label:
R
[
"metadata"
]
[
"label"
]
Returns
Promise
<
R
>
Protected
remove
Resource
remove
Resource<R>
(
apiVersion
:
R
[
"apiVersion"
]
, kind
:
R
[
"kind"
]
, label
:
R
[
"metadata"
]
[
"label"
]
)
:
Promise
<
void
>
Type parameters
R
:
T
Parameters
apiVersion:
R
[
"apiVersion"
]
kind:
R
[
"kind"
]
label:
R
[
"metadata"
]
[
"label"
]
Returns
Promise
<
void
>
Globals
Resource
Manager
resources
add
Resource
find
Resource
remove
Resource
Generated using
TypeDoc