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