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:
parent
1e497ddb6f
commit
74f337f9fd
@ -102,7 +102,11 @@ export interface Ingress {
|
|||||||
}[];
|
}[];
|
||||||
// extensions/v1beta1
|
// extensions/v1beta1
|
||||||
backend?: IExtensionsBackend;
|
backend?: IExtensionsBackend;
|
||||||
// networking.k8s.io/v1
|
/**
|
||||||
|
* The default backend which is exactly on of:
|
||||||
|
* - service
|
||||||
|
* - resource
|
||||||
|
*/
|
||||||
defaultBackend?: RequireExactlyOne<INetworkingBackend & {
|
defaultBackend?: RequireExactlyOne<INetworkingBackend & {
|
||||||
resource: {
|
resource: {
|
||||||
apiGroup: string;
|
apiGroup: string;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user