@kubernetes-models/argo-rollouts
Version:
28 lines (27 loc) • 807 B
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
export interface IOAuth2Config {
/**
* OAuth2 client ID
*/
"clientId"?: string;
/**
* OAuth2 client secret
*/
"clientSecret"?: string;
/**
* OAuth2 scopes
*/
"scopes"?: Array<string>;
/**
* OAuth2 provider token URL
*/
"tokenUrl"?: string;
}
export declare class OAuth2Config extends Model<IOAuth2Config> implements IOAuth2Config {
"clientId"?: string;
"clientSecret"?: string;
"scopes"?: Array<string>;
"tokenUrl"?: string;
constructor(data?: ModelData<IOAuth2Config>);
}
export type { IOAuth2Config as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config, OAuth2Config as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config };