1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add comment about RequireExactlyOne

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-11-08 10:22:41 -05:00
parent 1e497ddb6f
commit 74f337f9fd

View File

@ -102,7 +102,11 @@ export interface Ingress {
}[];
// extensions/v1beta1
backend?: IExtensionsBackend;
// networking.k8s.io/v1
/**
* The default backend which is exactly on of:
* - service
* - resource
*/
defaultBackend?: RequireExactlyOne<INetworkingBackend & {
resource: {
apiGroup: string;