Class: DaemonSet

    lib/k8s/daemonSet .DaemonSet

    Hierarchy

    • any

      DaemonSet

    Constructors

    constructor

    new DaemonSet(json)

    Parameters

    Name Type
    json KubeDaemonSet

    Inherited from

    makeKubeObject<KubeDaemonSet>(‘DaemonSet’).constructor

    Defined in

    lib/k8s/cluster.ts:301

    Properties

    apiEndpoint

    Static apiEndpoint: Object

    Index signature

    ▪ [other: string]: any

    Type declaration

    Name Type
    scale? { get: (namespace: string, name: string) => Promise<any> ; put: (body: { metadata: KubeMetadata ; spec: { replicas: number } }) => Promise<any> }
    scale.get (namespace: string, name: string) => Promise<any>
    scale.put (body: { metadata: KubeMetadata ; spec: { replicas: number } }) => Promise<any>

    Defined in

    lib/k8s/daemonSet.ts:32


    className

    Static className: string

    Inherited from

    makeKubeObject<KubeDaemonSet>(‘DaemonSet’).className

    Defined in

    lib/k8s/cluster.ts:302

    Accessors

    spec

    get spec(): any

    Returns

    any

    Defined in

    lib/k8s/daemonSet.ts:34


    status

    get status(): any

    Returns

    any

    Defined in

    lib/k8s/daemonSet.ts:38

    Methods

    getContainers

    getContainers(): KubeContainer []

    Returns

    KubeContainer []

    Defined in

    lib/k8s/daemonSet.ts:42


    getNodeSelectors

    getNodeSelectors(): string[]

    Returns

    string[]

    Defined in

    lib/k8s/daemonSet.ts:46


    apiList

    Static apiList(onList): any

    Parameters

    Name Type
    onList (arg: any[]) => void

    Returns

    any

    Inherited from

    makeKubeObject<KubeDaemonSet>(‘DaemonSet’).apiList

    Defined in

    lib/k8s/cluster.ts:281


    getAuthorization

    Static Optional getAuthorization(arg, resourceAttrs?): any

    Parameters

    Name Type
    arg string
    resourceAttrs? AuthRequestResourceAttrs

    Returns

    any

    Inherited from

    makeKubeObject<KubeDaemonSet>(‘DaemonSet’).getAuthorization

    Defined in

    lib/k8s/cluster.ts:304


    getErrorMessage

    Static getErrorMessage(err?): null | string

    Parameters

    Name Type
    err? null | ApiError

    Returns

    null | string

    Inherited from

    makeKubeObject<KubeDaemonSet>(‘DaemonSet’).getErrorMessage

    Defined in

    lib/k8s/cluster.ts:300


    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<KubeDaemonSet>(‘DaemonSet’).useApiGet

    Defined in

    lib/k8s/cluster.ts:287


    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<KubeDaemonSet>(‘DaemonSet’).useApiList

    Defined in

    lib/k8s/cluster.ts:282


    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<KubeDaemonSet>(‘DaemonSet’).useGet

    Defined in

    lib/k8s/cluster.ts:296


    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<KubeDaemonSet>(‘DaemonSet’).useList

    Defined in

    lib/k8s/cluster.ts:293