Class: Event

    lib/k8s/event .Event

    Hierarchy

    • any

      Event

    Constructors

    constructor

    new Event(json)

    Parameters

    Name Type
    json KubeEvent

    Inherited from

    makeKubeObject<KubeEvent>(‘Event’).constructor

    Defined in

    lib/k8s/cluster.ts:76

    Properties

    apiEndpoint

    Static apiEndpoint: Object

    Index signature

    ▪ [other: string]: any

    Defined in

    lib/k8s/event.ts:23


    className

    Static className: string

    Inherited from

    makeKubeObject<KubeEvent>(‘Event’).className

    Defined in

    lib/k8s/cluster.ts:77

    Accessors

    involvedObject

    get involvedObject(): any

    Returns

    any

    Defined in

    lib/k8s/event.ts:33


    involvedObjectInstance

    get involvedObjectInstance(): any

    Returns

    any

    Defined in

    lib/k8s/event.ts:49


    message

    get message(): any

    Returns

    any

    Defined in

    lib/k8s/event.ts:45


    reason

    get reason(): any

    Returns

    any

    Defined in

    lib/k8s/event.ts:41


    spec

    get spec(): any

    Returns

    any

    Defined in

    lib/k8s/event.ts:25


    status

    get status(): any

    Returns

    any

    Defined in

    lib/k8s/event.ts:29


    type

    get type(): any

    Returns

    any

    Defined in

    lib/k8s/event.ts:37

    Methods

    apiList

    Static apiList(onList): any

    Parameters

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

    Returns

    any

    Inherited from

    makeKubeObject<KubeEvent>(‘Event’).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<KubeEvent>(‘Event’).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<KubeEvent>(‘Event’).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<KubeEvent>(‘Event’).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<KubeEvent>(‘Event’).useList

    Defined in

    lib/k8s/cluster.ts:72