Class: ReplicaSet
Extends
any
Constructors
new ReplicaSet()
new ReplicaSet(json: KubeReplicaSet): ReplicaSet
Parameters
Parameter | Type |
---|---|
json | KubeReplicaSet |
Returns
Inherited from
makeKubeObject<KubeReplicaSet>('ReplicaSet').constructor
Defined in
Properties
Property | Modifier | Type | Inherited from | Defined in |
---|---|---|---|---|
apiEndpoint | static | ApiWithNamespaceClient <KubeObjectInterface > | - | src/lib/k8s/replicaSet.ts:34 |
apiList | static | (onList : (arg : any []) => void , onError ?: (err : ApiError ) => void , opts ?: ApiListSingleNamespaceOptions ) => any | makeKubeObject<KubeReplicaSet>('ReplicaSet').apiList | src/lib/k8s/cluster.ts:311 |
className | static | string | makeKubeObject<KubeReplicaSet>('ReplicaSet').className | src/lib/k8s/cluster.ts:338 |
getAuthorization? | static | (arg : string , resourceAttrs ?: AuthRequestResourceAttrs ) => any | makeKubeObject<KubeReplicaSet>('ReplicaSet').getAuthorization | src/lib/k8s/cluster.ts:340 |
getErrorMessage | static | (err ?: null | ApiError ) => null | string | makeKubeObject<KubeReplicaSet>('ReplicaSet').getErrorMessage | src/lib/k8s/cluster.ts:336 |
useApiGet | static | (onGet : (...args : any ) => void , name : string , namespace ?: string , onError ?: (err : ApiError ) => void ) => void | makeKubeObject<KubeReplicaSet>('ReplicaSet').useApiGet | src/lib/k8s/cluster.ts:321 |
useApiList | static | (onList : (arg : any []) => void , onError ?: (err : ApiError ) => void , opts ?: ApiListOptions ) => any | makeKubeObject<KubeReplicaSet>('ReplicaSet').useApiList | src/lib/k8s/cluster.ts:316 |
useGet | static | (name : string , namespace ?: string , opts ?: object ) => [any , null | ApiError ] & QueryResponse <any , ApiError > | makeKubeObject<KubeReplicaSet>('ReplicaSet').useGet | src/lib/k8s/cluster.ts:328 |
Accessors
spec
get spec(): object
Returns
object
minReadySeconds
minReadySeconds: number;
replicas
replicas: number;
selector
selector: LabelSelector;
template
template: object;
template.metadata?
optional metadata: KubeMetadata;
template.spec
spec: KubePodSpec;
Defined in
status
get status(): object
Returns
object
availableReplicas
availableReplicas: number;
conditions
conditions: Omit<KubeCondition, "lastProbeTime" | "lastUpdateTime">[];
fullyLabeledReplicas
fullyLabeledReplicas: number;
observedGeneration
observedGeneration: number;
readyReplicas
readyReplicas: number;
replicas
replicas: number;
Defined in
Methods
getContainers()
getContainers(): KubeContainer[]
Returns
Defined in
getMatchLabelsList()
getMatchLabelsList(): string[]
Returns
string
[]
Defined in
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<KubeReplicaSet>('ReplicaSet').useList