Class: ClusterRoleBinding

    lib/k8s/clusterRoleBinding .ClusterRoleBinding

    Hierarchy

    Constructors

    constructor

    new ClusterRoleBinding(json)

    Parameters

    Name Type
    json KubeRoleBinding

    Inherited from

    RoleBinding . constructor

    Defined in

    lib/k8s/cluster.ts:76

    Properties

    apiEndpoint

    Static apiEndpoint: Object

    Type declaration

    Name Type
    delete (name: string) => Promise<any>
    get (name: string, cb: StreamResultsCb , errCb: StreamErrCb ) => Promise<() => void>
    isNamespaced boolean
    list (cb: StreamResultsCb , errCb: StreamErrCb ) => Promise<() => void>
    patch (body: OpPatch[], name: string) => Promise<any>
    post (body: KubeObjectInterface ) => Promise<any>
    put (body: KubeObjectInterface ) => Promise<any>

    Overrides

    RoleBinding . apiEndpoint

    Defined in

    lib/k8s/clusterRoleBinding.ts:5

    Accessors

    detailsRoute

    get detailsRoute(): string

    Returns

    string

    Defined in

    lib/k8s/clusterRoleBinding.ts:11


    roleRef

    get roleRef(): any

    Returns

    any

    Inherited from

    RoleBinding.roleRef

    Defined in

    lib/k8s/roleBinding.ts:21


    subjects

    get subjects(): any

    Returns

    any

    Inherited from

    RoleBinding.subjects

    Defined in

    lib/k8s/roleBinding.ts:25


    className

    Static get className(): string

    Returns

    string

    Overrides

    RoleBinding.className

    Defined in

    lib/k8s/clusterRoleBinding.ts:7

    Methods

    apiList

    Static apiList(onList): any

    Parameters

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

    Returns

    any

    Inherited from

    RoleBinding . 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

    RoleBinding . 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

    RoleBinding . 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

    RoleBinding . 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

    RoleBinding . useList

    Defined in

    lib/k8s/cluster.ts:72