Class: IngressClass

    lib/k8s/ingressClass .IngressClass

    Hierarchy

    • any

      IngressClass

    Constructors

    constructor

    new IngressClass(json)

    Parameters

    Name Type
    json KubeIngressClass

    Inherited from

    makeKubeObject<KubeIngressClass>(‘ingressClass’).constructor

    Defined in

    lib/k8s/cluster.ts:301

    Properties

    apiEndpoint

    Static apiEndpoint: Object

    Type declaration

    Name Type
    apiInfo { group: string ; resource: string ; version: string }[]
    delete (name: string, queryParams?: QueryParameters ) => Promise<any>
    get (name: string, cb: StreamResultsCb , errCb: StreamErrCb , queryParams?: QueryParameters ) => Promise<() => void>
    isNamespaced boolean
    list (cb: StreamResultsCb , errCb: StreamErrCb , queryParams?: QueryParameters ) => Promise<() => void>
    patch (body: OpPatch[], name: string, queryParams?: QueryParameters ) => Promise<any>
    post (body: KubeObjectInterface , queryParams?: QueryParameters ) => Promise<any>
    put (body: KubeObjectInterface , queryParams?: QueryParameters ) => Promise<any>

    Defined in

    lib/k8s/ingressClass.ts:12


    className

    Static className: string

    Inherited from

    makeKubeObject<KubeIngressClass>(‘ingressClass’).className

    Defined in

    lib/k8s/cluster.ts:302

    Accessors

    isDefault

    get isDefault(): boolean

    Returns

    boolean

    Defined in

    lib/k8s/ingressClass.ts:18


    spec

    get spec(): Object

    Returns

    Object

    Name Type
    controller string

    Defined in

    lib/k8s/ingressClass.ts:14


    listRoute

    Static get listRoute(): string

    Returns

    string

    Defined in

    lib/k8s/ingressClass.ts:26


    pluralName

    Static get pluralName(): string

    Returns

    string

    Defined in

    lib/k8s/ingressClass.ts:30

    Methods

    apiList

    Static apiList(onList): any

    Parameters

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

    Returns

    any

    Inherited from

    makeKubeObject<KubeIngressClass>(‘ingressClass’).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<KubeIngressClass>(‘ingressClass’).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<KubeIngressClass>(‘ingressClass’).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<KubeIngressClass>(‘ingressClass’).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<KubeIngressClass>(‘ingressClass’).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<KubeIngressClass>(‘ingressClass’).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<KubeIngressClass>(‘ingressClass’).useList

    Defined in

    lib/k8s/cluster.ts:293