Class: ServiceAccount

    lib/k8s/serviceAccount .ServiceAccount

    Hierarchy

    • any

      ServiceAccount

    Constructors

    constructor

    new ServiceAccount(json)

    Parameters

    Name Type
    json KubeServiceAccount

    Inherited from

    makeKubeObject<KubeServiceAccount>(‘serviceAccount’).constructor

    Defined in

    lib/k8s/cluster.ts:76

    Properties

    apiEndpoint

    Static apiEndpoint: Object

    Index signature

    ▪ [other: string]: any

    Defined in

    lib/k8s/serviceAccount.ts:16


    className

    Static className: string

    Inherited from

    makeKubeObject<KubeServiceAccount>(‘serviceAccount’).className

    Defined in

    lib/k8s/cluster.ts:77

    Accessors

    secrets

    get secrets(): { apiVersion: string ; fieldPath: string ; kind: string ; name: string ; namespace: string ; uid: string }[]

    Returns

    { apiVersion: string ; fieldPath: string ; kind: string ; name: string ; namespace: string ; uid: string }[]

    Defined in

    lib/k8s/serviceAccount.ts:18

    Methods

    apiList

    Static apiList(onList): any

    Parameters

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

    Returns

    any

    Inherited from

    makeKubeObject<KubeServiceAccount>(‘serviceAccount’).apiList

    Defined in

    lib/k8s/cluster.ts:60


    getErrorMessage

    Static getErrorMessage(err?): null | string

    Parameters

    Name Type
    err? null | ApiError

    Returns

    null | string

    Inherited from

    makeKubeObject<KubeServiceAccount>(‘serviceAccount’).getErrorMessage

    Defined in

    lib/k8s/cluster.ts:75


    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<KubeServiceAccount>(‘serviceAccount’).useApiGet

    Defined in

    lib/k8s/cluster.ts:66


    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<KubeServiceAccount>(‘serviceAccount’).useApiList

    Defined in

    lib/k8s/cluster.ts:61


    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<KubeServiceAccount>(‘serviceAccount’).useList

    Defined in

    lib/k8s/cluster.ts:72