This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #912 from ZupIT/butler-operator-health-status
Butler operator health status
- Loading branch information
Showing
18 changed files
with
671 additions
and
476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { VirtualServiceSpec, DestinationRuleSpec } from './params.interface' | ||
|
||
type PartialVirtualServiceSpec = Pick<VirtualServiceSpec, 'kind' | 'metadata'> | ||
type PartialDestinationRuleSpec = Pick<DestinationRuleSpec, 'kind' | 'metadata'> | ||
export type SpecsUnion = PartialVirtualServiceSpec | PartialDestinationRuleSpec | ||
|
||
|
||
export interface PartialRouteHookParams { | ||
parent: { | ||
spec: { | ||
circles: { | ||
components: { | ||
name: string | ||
tag: string | ||
}[] | ||
default: boolean | ||
id: string | ||
}[] | ||
} | ||
} | ||
children: PartialRouteChildren | ||
} | ||
|
||
interface PartialRouteChildren { | ||
'VirtualService.networking.istio.io/v1beta1': PartialChildVirtualServiceSpec, | ||
'DestinationRule.networking.istio.io/v1beta1': PartialChildDestinationRuleSpec | ||
} | ||
|
||
|
||
interface PartialChildVirtualServiceSpec { | ||
[key: string]: PartialVirtualServiceSpec | ||
} | ||
|
||
interface PartialChildDestinationRuleSpec { | ||
[key: string]: PartialDestinationRuleSpec | ||
} |
Oops, something went wrong.