import { LabelClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/mod.ts";
Provides a client for interacting with labels.
Constructors
Initializes a new instance of the LabelClient class.
Methods
getAllLabels(): Promise<LabelModel[]>
Gets all of the labels for a repository with a name that matches the LabelClient.repoName.
Gets the given page of labels where the size of each page is the given qtyPerPage, for a repository with a name that matches the repoName.
labelExists(label: string): Promise<boolean>
Returns a value indicating whether or not given label exists in a repository that matches the LabelClient.repoName.