Class: ClusterRole
Extends
any
Constructors
new ClusterRole()
new ClusterRole(json: KubeRole): ClusterRole
Parameters
Parameter | Type |
---|---|
json | KubeRole |
Returns
Inherited from
makeKubeObject<KubeRole>('role').constructor
Defined in
Properties
Property | Modifier | Type | Inherited from | Defined in |
---|---|---|---|---|
apiEndpoint | static | ApiClient <KubeObjectInterface > | - | src/lib/k8s/clusterRole.ts:6 |
apiList | static | (onList : (arg : any []) => void , onError ?: (err : ApiError ) => void , opts ?: ApiListSingleNamespaceOptions ) => any | makeKubeObject<KubeRole>('role').apiList | src/lib/k8s/cluster.ts:311 |
getAuthorization? | static | (arg : string , resourceAttrs ?: AuthRequestResourceAttrs ) => any | makeKubeObject<KubeRole>('role').getAuthorization | src/lib/k8s/cluster.ts:340 |
getErrorMessage | static | (err ?: null | ApiError ) => null | string | makeKubeObject<KubeRole>('role').getErrorMessage | src/lib/k8s/cluster.ts:336 |
useApiGet | static | (onGet : (...args : any ) => void , name : string , namespace ?: string , onError ?: (err : ApiError ) => void ) => void | makeKubeObject<KubeRole>('role').useApiGet | src/lib/k8s/cluster.ts:321 |
useApiList | static | (onList : (arg : any []) => void , onError ?: (err : ApiError ) => void , opts ?: ApiListOptions ) => any | makeKubeObject<KubeRole>('role').useApiList | src/lib/k8s/cluster.ts:316 |
useGet | static | (name : string , namespace ?: string , opts ?: object ) => [any , null | ApiError ] & QueryResponse <any , ApiError > | makeKubeObject<KubeRole>('role').useGet | src/lib/k8s/cluster.ts:328 |
Accessors
detailsRoute
get detailsRoute(): string
Returns
string
Defined in
rules
get rules(): any
Returns
any
Defined in
className
get static className(): string
Returns
string
Overrides
makeKubeObject<KubeRole>('role').className
Defined in
Methods
useList()
static useList(options?: ApiListOptions): [null | any[], null | ApiError] & QueryListResponse<KubeList<any>, any, ApiError>
Parameters
Parameter | Type |
---|---|
options ? | ApiListOptions |
Returns
[null
| any
[], null
| ApiError
] & QueryListResponse
<KubeList
<any
>, any
, ApiError
>
Inherited from
makeKubeObject<KubeRole>('role').useList