@meshery/schemas 0.8.124 → 0.8.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +1470 -280
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1470 -280
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +6193 -1148
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +6193 -1148
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +133 -17
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +133 -17
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +916 -1088
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +916 -1088
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +5459 -4527
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +5459 -4527
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +52 -68
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +52 -68
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +958 -1130
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +958 -1130
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +5744 -4812
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +5744 -4812
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +52 -68
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +52 -68
- package/dist/index.js +186 -86
- package/dist/index.mjs +186 -86
- package/dist/mesheryApi.d.mts +342 -412
- package/dist/mesheryApi.d.ts +342 -412
- package/package.json +1 -1
package/dist/mesheryApi.d.mts
CHANGED
|
@@ -521,31 +521,12 @@ type PostEvaluateApiResponse = {
|
|
|
521
521
|
};
|
|
522
522
|
/** List of relationships between components */
|
|
523
523
|
relationships: {
|
|
524
|
-
/**
|
|
525
|
-
id
|
|
524
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
525
|
+
id: string;
|
|
526
526
|
/** Specifies the version of the schema used for the relationship definition. */
|
|
527
527
|
schemaVersion: string;
|
|
528
528
|
/** A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
|
|
529
529
|
version: string;
|
|
530
|
-
/** Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
|
|
531
|
-
model: {
|
|
532
|
-
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
533
|
-
id: string;
|
|
534
|
-
/** The unique name for the model within the scope of a registrant. */
|
|
535
|
-
name: string;
|
|
536
|
-
/** Version of the model definition. */
|
|
537
|
-
version: string;
|
|
538
|
-
/** Human-readable name for the model. */
|
|
539
|
-
displayName: string;
|
|
540
|
-
/** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
|
|
541
|
-
model: {
|
|
542
|
-
/** Version of the model as defined by the registrant. */
|
|
543
|
-
version: string;
|
|
544
|
-
};
|
|
545
|
-
registrant: {
|
|
546
|
-
kind: string;
|
|
547
|
-
};
|
|
548
|
-
};
|
|
549
530
|
/** Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships. */
|
|
550
531
|
kind: "hierarchical" | "edge" | "sibling";
|
|
551
532
|
/** Classification of relationships. Used to group relationships similar in nature. */
|
|
@@ -553,9 +534,7 @@ type PostEvaluateApiResponse = {
|
|
|
553
534
|
/** Most granular unit of relationship classification. The combination of Kind, Type and SubType together uniquely identify a Relationship. */
|
|
554
535
|
subType: string;
|
|
555
536
|
/** Status of the relationship. */
|
|
556
|
-
status?: "
|
|
557
|
-
/** Optional. Assigns the policy to be used for the evaluation of the relationship. Deprecation Notice: In the future, this property is either to be removed or to it is to be an array of optional policy $refs. */
|
|
558
|
-
evaluationQuery?: string;
|
|
537
|
+
status?: "enabled" | "ignored" | "deleted" | "approved" | "pending";
|
|
559
538
|
/** Capabilities associated with the relationship. */
|
|
560
539
|
capabilities?: {
|
|
561
540
|
/** Specifies the version of the schema to which the capability definition conforms. */
|
|
@@ -565,15 +544,15 @@ type PostEvaluateApiResponse = {
|
|
|
565
544
|
/** Name of the capability in human-readible format. */
|
|
566
545
|
displayName: string;
|
|
567
546
|
/** A written representation of the purpose and characteristics of the capability. */
|
|
568
|
-
description
|
|
547
|
+
description: string;
|
|
569
548
|
/** Top-level categorization of the capability */
|
|
570
549
|
kind: "action" | "mutate" | "view" | "interaction";
|
|
571
550
|
/** Classification of capabilities. Used to group capabilities similar in nature. */
|
|
572
551
|
type: string;
|
|
573
552
|
/** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
|
|
574
|
-
subType
|
|
553
|
+
subType: string;
|
|
575
554
|
/** Key that backs the capability. */
|
|
576
|
-
key
|
|
555
|
+
key: string;
|
|
577
556
|
/** State of the entity in which the capability is applicable. */
|
|
578
557
|
entityState: ("declaration" | "instance")[];
|
|
579
558
|
/** Status of the capability */
|
|
@@ -587,9 +566,8 @@ type PostEvaluateApiResponse = {
|
|
|
587
566
|
metadata?: {
|
|
588
567
|
/** Characterization of the meaning of the relationship and its relevance to both Meshery and entities under management. */
|
|
589
568
|
description?: string;
|
|
590
|
-
/**
|
|
591
|
-
|
|
592
|
-
styles?: ({
|
|
569
|
+
/** Visualization styles for a relationship */
|
|
570
|
+
styles?: {
|
|
593
571
|
/** Primary color of the component used for UI representation. */
|
|
594
572
|
primaryColor: string;
|
|
595
573
|
/** Secondary color of the entity used for UI representation. */
|
|
@@ -600,7 +578,7 @@ type PostEvaluateApiResponse = {
|
|
|
600
578
|
svgColor: string;
|
|
601
579
|
/** Complete SVG of the entity used for UI representation, often inclusive of background. */
|
|
602
580
|
svgComplete?: string;
|
|
603
|
-
/** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g.
|
|
581
|
+
/** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
|
|
604
582
|
color?: string;
|
|
605
583
|
/** The opacity of the label text, including its outline. */
|
|
606
584
|
"text-opacity"?: number;
|
|
@@ -618,81 +596,98 @@ type PostEvaluateApiResponse = {
|
|
|
618
596
|
opacity?: number;
|
|
619
597
|
/** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
|
|
620
598
|
"z-index"?: number;
|
|
621
|
-
/** The text to display for an element
|
|
599
|
+
/** The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
|
|
622
600
|
label?: string;
|
|
623
|
-
} & {
|
|
624
601
|
/** The animation to use for the edge. Can be like 'marching-ants' , 'blink' , 'moving-gradient',etc . */
|
|
625
602
|
"edge-animation"?: string;
|
|
626
603
|
/** The curving method used to separate two or more edges between two nodes; may be haystack (very fast, bundled straight edges for which loops and compounds are unsupported), straight (straight edges with all arrows supported), bezier (bundled curved edges), unbundled-bezier (curved edges for use with manual control points), segments (a series of straight lines), taxi (right-angled lines, hierarchically bundled). Note that haystack edges work best with ellipse, rectangle, or similar nodes. Smaller node shapes, like triangle, will not be as aesthetically pleasing. Also note that edge endpoint arrows are unsupported for haystack edges. */
|
|
627
|
-
"curve-style"?: "
|
|
628
|
-
/** The colour of the edge
|
|
604
|
+
"curve-style"?: "haystack" | "straight" | "bezier" | "unbundled-bezier" | "segments" | "taxi";
|
|
605
|
+
/** The colour of the edge's line. Colours may be specified by name (e.g. red), hex (e.g. */
|
|
629
606
|
"line-color"?: string;
|
|
630
|
-
/** The style of the edge
|
|
607
|
+
/** The style of the edge's line. */
|
|
631
608
|
"line-style"?: "solid" | "dotted" | "dashed";
|
|
632
|
-
/** The cap style of the edge
|
|
609
|
+
/** The cap style of the edge's line; may be butt (default), round, or square. The cap may or may not be visible, depending on the shape of the node and the relative size of the node and edge. Caps other than butt extend beyond the specified endpoint of the edge. */
|
|
633
610
|
"line-cap"?: "butt" | "round" | "square";
|
|
634
|
-
/** The opacity of the edge
|
|
611
|
+
/** The opacity of the edge's line and arrow. Useful if you wish to have a separate opacity for the edge label versus the edge line. Note that the opacity value of the edge element affects the effective opacity of its line and label subcomponents. */
|
|
635
612
|
"line-opacity"?: number;
|
|
636
|
-
/** The colour of the edge
|
|
613
|
+
/** The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
|
|
637
614
|
"target-arrow-color"?: string;
|
|
638
|
-
/** The shape of the edge
|
|
615
|
+
/** The shape of the edge's source arrow */
|
|
639
616
|
"target-arrow-shape"?: "triangle" | "triangle-tee" | "circle-triangle" | "triangle-cross" | "triangle-backcurve" | "vee" | "tee" | "square" | "circle" | "diamond" | "chevron" | "none";
|
|
640
|
-
/** The fill state of the edge
|
|
617
|
+
/** The fill state of the edge's source arrow */
|
|
641
618
|
"target-arrow-fill"?: "filled" | "hollow";
|
|
642
|
-
/** The colour of the edge
|
|
619
|
+
/** The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
|
|
643
620
|
"mid-target-arrow-color"?: string;
|
|
644
|
-
/** The shape of the edge
|
|
621
|
+
/** The shape of the edge's source arrow */
|
|
645
622
|
"mid-target-arrow-shape"?: "triangle" | "triangle-tee" | "circle-triangle" | "triangle-cross" | "triangle-backcurve" | "vee" | "tee" | "square" | "circle" | "diamond" | "chevron" | "none";
|
|
646
|
-
/** The fill state of the edge
|
|
623
|
+
/** The fill state of the edge's source arrow */
|
|
647
624
|
"mid-target-arrow-fill"?: "filled" | "hollow";
|
|
648
625
|
/** Scaling for the arrow size. */
|
|
649
626
|
"arrow-scale"?: number;
|
|
650
|
-
/** The text to display for an edge
|
|
627
|
+
/** The text to display for an edge's source label. Can give a path, e.g. data(id) will label with the elements id */
|
|
651
628
|
"source-label"?: string;
|
|
652
|
-
/** The text to display for an edge
|
|
629
|
+
/** The text to display for an edge's target label. Can give a path, e.g. data(id) will label with the elements id */
|
|
653
630
|
"target-label"?: string;
|
|
654
|
-
}) | {
|
|
655
|
-
/** Primary color of the component used for UI representation. */
|
|
656
|
-
primaryColor: string;
|
|
657
|
-
/** Secondary color of the entity used for UI representation. */
|
|
658
|
-
secondaryColor?: string;
|
|
659
|
-
/** White SVG of the entity used for UI representation on dark background. */
|
|
660
|
-
svgWhite: string;
|
|
661
|
-
/** Colored SVG of the entity used for UI representation on light background. */
|
|
662
|
-
svgColor: string;
|
|
663
|
-
/** Complete SVG of the entity used for UI representation, often inclusive of background. */
|
|
664
|
-
svgComplete?: string;
|
|
665
|
-
/** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
|
|
666
|
-
color?: string;
|
|
667
|
-
/** The opacity of the label text, including its outline. */
|
|
668
|
-
"text-opacity"?: number;
|
|
669
|
-
/** A comma-separated list of font names to use on the label text. */
|
|
670
|
-
"font-family"?: string;
|
|
671
|
-
/** The size of the label text. */
|
|
672
|
-
"font-size"?: string;
|
|
673
|
-
/** A CSS font style to be applied to the label text. */
|
|
674
|
-
"font-style"?: string;
|
|
675
|
-
/** A CSS font weight to be applied to the label text. */
|
|
676
|
-
"font-weight"?: string;
|
|
677
|
-
/** A transformation to apply to the label text */
|
|
678
|
-
"text-transform"?: "none" | "uppercase" | "lowercase";
|
|
679
|
-
/** The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.See https://js.cytoscape.org/#style/visibility */
|
|
680
|
-
opacity?: number;
|
|
681
|
-
/** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
|
|
682
|
-
"z-index"?: number;
|
|
683
|
-
/** The text to display for an element’s label. Can give a path, e.g. data(id) will label with the elements id */
|
|
684
|
-
label?: string;
|
|
685
631
|
};
|
|
632
|
+
/** Indicates whether the relationship should be treated as a logical representation only */
|
|
633
|
+
isAnnotation?: boolean;
|
|
686
634
|
[key: string]: any;
|
|
687
635
|
};
|
|
636
|
+
/** Model Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
|
|
637
|
+
model: {
|
|
638
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
639
|
+
id: string;
|
|
640
|
+
/** The unique name for the model within the scope of a registrant. */
|
|
641
|
+
name: string;
|
|
642
|
+
/** Version of the model definition. */
|
|
643
|
+
version: string;
|
|
644
|
+
/** Human-readable name for the model. */
|
|
645
|
+
displayName: string;
|
|
646
|
+
/** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
|
|
647
|
+
model: {
|
|
648
|
+
/** Version of the model as defined by the registrant. */
|
|
649
|
+
version: string;
|
|
650
|
+
};
|
|
651
|
+
registrant: {
|
|
652
|
+
kind: string;
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
656
|
+
modelId?: string;
|
|
657
|
+
/** Optional. Assigns the policy to be used for the evaluation of the relationship. Deprecation Notice: In the future, this property is either to be removed or to it is to be an array of optional policy $refs. */
|
|
658
|
+
evaluationQuery?: string;
|
|
688
659
|
/** Selectors are organized as an array, with each item containing a distinct set of selectors that share a common functionality. This structure allows for flexibility in defining relationships, even when different components are involved. */
|
|
689
660
|
selectors?: {
|
|
690
|
-
/**
|
|
691
|
-
|
|
661
|
+
/** Selectors used to define relationships which are allowed. */
|
|
662
|
+
allow: {
|
|
692
663
|
/** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
|
|
693
664
|
from: {
|
|
665
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
666
|
+
id?: string;
|
|
694
667
|
kind?: string;
|
|
695
|
-
/**
|
|
668
|
+
/** Match configuration for selector */
|
|
669
|
+
match?: {
|
|
670
|
+
refs?: string[][];
|
|
671
|
+
from?: {
|
|
672
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
673
|
+
id?: string;
|
|
674
|
+
kind: string;
|
|
675
|
+
/** JSON ref to value from where patch should be applied. */
|
|
676
|
+
mutatorRef?: string[][];
|
|
677
|
+
mutatedRef?: string[][];
|
|
678
|
+
}[];
|
|
679
|
+
to?: {
|
|
680
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
681
|
+
id?: string;
|
|
682
|
+
kind: string;
|
|
683
|
+
/** JSON ref to value from where patch should be applied. */
|
|
684
|
+
mutatorRef?: string[][];
|
|
685
|
+
mutatedRef?: string[][];
|
|
686
|
+
}[];
|
|
687
|
+
};
|
|
688
|
+
/** Match strategy matrix for the selector */
|
|
689
|
+
match_strategy_matrix?: string[][];
|
|
690
|
+
/** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
|
|
696
691
|
model?: {
|
|
697
692
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
698
693
|
id: string;
|
|
@@ -711,53 +706,53 @@ type PostEvaluateApiResponse = {
|
|
|
711
706
|
kind: string;
|
|
712
707
|
};
|
|
713
708
|
};
|
|
714
|
-
/**
|
|
715
|
-
id?: string;
|
|
716
|
-
match?: string[][] | {
|
|
717
|
-
from?: ({
|
|
718
|
-
kind?: string;
|
|
719
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
720
|
-
id?: string;
|
|
721
|
-
} & ({
|
|
722
|
-
/** JSON ref to value from where patch should be applied. */
|
|
723
|
-
mutatorRef?: string[][];
|
|
724
|
-
} | {
|
|
725
|
-
mutatedRef?: string[][];
|
|
726
|
-
}))[];
|
|
727
|
-
to?: ({
|
|
728
|
-
kind?: string;
|
|
729
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
730
|
-
id?: string;
|
|
731
|
-
} & ({
|
|
732
|
-
/** JSON ref to value from where patch should be applied. */
|
|
733
|
-
mutatorRef?: string[][];
|
|
734
|
-
} | {
|
|
735
|
-
mutatedRef?: string[][];
|
|
736
|
-
}))[];
|
|
737
|
-
};
|
|
709
|
+
/** Patch configuration for the selector */
|
|
738
710
|
patch?: {
|
|
739
711
|
/** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
|
|
740
712
|
|
|
741
713
|
add: Inserts a value into an array or adds a member to an object.
|
|
742
714
|
replace: Replaces a value.
|
|
743
715
|
merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
|
|
744
|
-
strategic:specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
716
|
+
strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
745
717
|
remove: Removes a value.
|
|
746
718
|
copy: Copies a value from one location to another.
|
|
747
719
|
move: Moves a value from one location to another.
|
|
748
|
-
test: Tests that a value at the target location is equal to a specified value.
|
|
720
|
+
test: Tests that a value at the target location is equal to a specified value.
|
|
721
|
+
*/
|
|
749
722
|
patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
|
|
750
|
-
} & ({
|
|
751
723
|
/** JSON ref to value from where patch should be applied. */
|
|
752
724
|
mutatorRef?: string[][];
|
|
753
|
-
} | {
|
|
754
725
|
mutatedRef?: string[][];
|
|
755
|
-
}
|
|
726
|
+
};
|
|
756
727
|
}[];
|
|
757
728
|
/** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
|
|
758
729
|
to: {
|
|
730
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
731
|
+
id?: string;
|
|
759
732
|
kind?: string;
|
|
760
|
-
/**
|
|
733
|
+
/** Match configuration for selector */
|
|
734
|
+
match?: {
|
|
735
|
+
refs?: string[][];
|
|
736
|
+
from?: {
|
|
737
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
738
|
+
id?: string;
|
|
739
|
+
kind: string;
|
|
740
|
+
/** JSON ref to value from where patch should be applied. */
|
|
741
|
+
mutatorRef?: string[][];
|
|
742
|
+
mutatedRef?: string[][];
|
|
743
|
+
}[];
|
|
744
|
+
to?: {
|
|
745
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
746
|
+
id?: string;
|
|
747
|
+
kind: string;
|
|
748
|
+
/** JSON ref to value from where patch should be applied. */
|
|
749
|
+
mutatorRef?: string[][];
|
|
750
|
+
mutatedRef?: string[][];
|
|
751
|
+
}[];
|
|
752
|
+
};
|
|
753
|
+
/** Match strategy matrix for the selector */
|
|
754
|
+
match_strategy_matrix?: string[][];
|
|
755
|
+
/** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
|
|
761
756
|
model?: {
|
|
762
757
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
763
758
|
id: string;
|
|
@@ -776,58 +771,56 @@ type PostEvaluateApiResponse = {
|
|
|
776
771
|
kind: string;
|
|
777
772
|
};
|
|
778
773
|
};
|
|
779
|
-
/**
|
|
780
|
-
id?: string;
|
|
781
|
-
match?: string[][] | {
|
|
782
|
-
from?: ({
|
|
783
|
-
kind?: string;
|
|
784
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
785
|
-
id?: string;
|
|
786
|
-
} & ({
|
|
787
|
-
/** JSON ref to value from where patch should be applied. */
|
|
788
|
-
mutatorRef?: string[][];
|
|
789
|
-
} | {
|
|
790
|
-
mutatedRef?: string[][];
|
|
791
|
-
}))[];
|
|
792
|
-
to?: ({
|
|
793
|
-
kind?: string;
|
|
794
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
795
|
-
id?: string;
|
|
796
|
-
} & ({
|
|
797
|
-
/** JSON ref to value from where patch should be applied. */
|
|
798
|
-
mutatorRef?: string[][];
|
|
799
|
-
} | {
|
|
800
|
-
mutatedRef?: string[][];
|
|
801
|
-
}))[];
|
|
802
|
-
};
|
|
774
|
+
/** Patch configuration for the selector */
|
|
803
775
|
patch?: {
|
|
804
776
|
/** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
|
|
805
777
|
|
|
806
778
|
add: Inserts a value into an array or adds a member to an object.
|
|
807
779
|
replace: Replaces a value.
|
|
808
780
|
merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
|
|
809
|
-
strategic:specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
781
|
+
strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
810
782
|
remove: Removes a value.
|
|
811
783
|
copy: Copies a value from one location to another.
|
|
812
784
|
move: Moves a value from one location to another.
|
|
813
|
-
test: Tests that a value at the target location is equal to a specified value.
|
|
785
|
+
test: Tests that a value at the target location is equal to a specified value.
|
|
786
|
+
*/
|
|
814
787
|
patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
|
|
815
|
-
} & ({
|
|
816
788
|
/** JSON ref to value from where patch should be applied. */
|
|
817
789
|
mutatorRef?: string[][];
|
|
818
|
-
} | {
|
|
819
790
|
mutatedRef?: string[][];
|
|
820
|
-
}
|
|
791
|
+
};
|
|
821
792
|
}[];
|
|
822
793
|
};
|
|
823
|
-
/**
|
|
824
|
-
|
|
794
|
+
/** Optional selectors used to define relationships which should not be created / is restricted. */
|
|
795
|
+
deny?: {
|
|
825
796
|
/** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
|
|
826
797
|
from: {
|
|
798
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
799
|
+
id?: string;
|
|
827
800
|
kind?: string;
|
|
828
|
-
/**
|
|
801
|
+
/** Match configuration for selector */
|
|
802
|
+
match?: {
|
|
803
|
+
refs?: string[][];
|
|
804
|
+
from?: {
|
|
805
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
806
|
+
id?: string;
|
|
807
|
+
kind: string;
|
|
808
|
+
/** JSON ref to value from where patch should be applied. */
|
|
809
|
+
mutatorRef?: string[][];
|
|
810
|
+
mutatedRef?: string[][];
|
|
811
|
+
}[];
|
|
812
|
+
to?: {
|
|
813
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
814
|
+
id?: string;
|
|
815
|
+
kind: string;
|
|
816
|
+
/** JSON ref to value from where patch should be applied. */
|
|
817
|
+
mutatorRef?: string[][];
|
|
818
|
+
mutatedRef?: string[][];
|
|
819
|
+
}[];
|
|
820
|
+
};
|
|
821
|
+
/** Match strategy matrix for the selector */
|
|
829
822
|
match_strategy_matrix?: string[][];
|
|
830
|
-
/**
|
|
823
|
+
/** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
|
|
831
824
|
model?: {
|
|
832
825
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
833
826
|
id: string;
|
|
@@ -846,53 +839,53 @@ type PostEvaluateApiResponse = {
|
|
|
846
839
|
kind: string;
|
|
847
840
|
};
|
|
848
841
|
};
|
|
849
|
-
/**
|
|
850
|
-
id?: string;
|
|
851
|
-
match?: string[][] | {
|
|
852
|
-
from?: ({
|
|
853
|
-
kind?: string;
|
|
854
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
855
|
-
id?: string;
|
|
856
|
-
} & ({
|
|
857
|
-
/** JSON ref to value from where patch should be applied. */
|
|
858
|
-
mutatorRef?: string[][];
|
|
859
|
-
} | {
|
|
860
|
-
mutatedRef?: string[][];
|
|
861
|
-
}))[];
|
|
862
|
-
to?: ({
|
|
863
|
-
kind?: string;
|
|
864
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
865
|
-
id?: string;
|
|
866
|
-
} & ({
|
|
867
|
-
/** JSON ref to value from where patch should be applied. */
|
|
868
|
-
mutatorRef?: string[][];
|
|
869
|
-
} | {
|
|
870
|
-
mutatedRef?: string[][];
|
|
871
|
-
}))[];
|
|
872
|
-
};
|
|
842
|
+
/** Patch configuration for the selector */
|
|
873
843
|
patch?: {
|
|
874
844
|
/** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
|
|
875
845
|
|
|
876
846
|
add: Inserts a value into an array or adds a member to an object.
|
|
877
847
|
replace: Replaces a value.
|
|
878
848
|
merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
|
|
879
|
-
strategic:specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
849
|
+
strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
880
850
|
remove: Removes a value.
|
|
881
851
|
copy: Copies a value from one location to another.
|
|
882
852
|
move: Moves a value from one location to another.
|
|
883
|
-
test: Tests that a value at the target location is equal to a specified value.
|
|
853
|
+
test: Tests that a value at the target location is equal to a specified value.
|
|
854
|
+
*/
|
|
884
855
|
patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
|
|
885
|
-
} & ({
|
|
886
856
|
/** JSON ref to value from where patch should be applied. */
|
|
887
857
|
mutatorRef?: string[][];
|
|
888
|
-
} | {
|
|
889
858
|
mutatedRef?: string[][];
|
|
890
|
-
}
|
|
859
|
+
};
|
|
891
860
|
}[];
|
|
892
861
|
/** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
|
|
893
862
|
to: {
|
|
863
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
864
|
+
id?: string;
|
|
894
865
|
kind?: string;
|
|
895
|
-
/**
|
|
866
|
+
/** Match configuration for selector */
|
|
867
|
+
match?: {
|
|
868
|
+
refs?: string[][];
|
|
869
|
+
from?: {
|
|
870
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
871
|
+
id?: string;
|
|
872
|
+
kind: string;
|
|
873
|
+
/** JSON ref to value from where patch should be applied. */
|
|
874
|
+
mutatorRef?: string[][];
|
|
875
|
+
mutatedRef?: string[][];
|
|
876
|
+
}[];
|
|
877
|
+
to?: {
|
|
878
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
879
|
+
id?: string;
|
|
880
|
+
kind: string;
|
|
881
|
+
/** JSON ref to value from where patch should be applied. */
|
|
882
|
+
mutatorRef?: string[][];
|
|
883
|
+
mutatedRef?: string[][];
|
|
884
|
+
}[];
|
|
885
|
+
};
|
|
886
|
+
/** Match strategy matrix for the selector */
|
|
887
|
+
match_strategy_matrix?: string[][];
|
|
888
|
+
/** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
|
|
896
889
|
model?: {
|
|
897
890
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
898
891
|
id: string;
|
|
@@ -911,55 +904,27 @@ type PostEvaluateApiResponse = {
|
|
|
911
904
|
kind: string;
|
|
912
905
|
};
|
|
913
906
|
};
|
|
914
|
-
/**
|
|
915
|
-
id?: string;
|
|
916
|
-
match?: string[][] | {
|
|
917
|
-
from?: ({
|
|
918
|
-
kind?: string;
|
|
919
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
920
|
-
id?: string;
|
|
921
|
-
} & ({
|
|
922
|
-
/** JSON ref to value from where patch should be applied. */
|
|
923
|
-
mutatorRef?: string[][];
|
|
924
|
-
} | {
|
|
925
|
-
mutatedRef?: string[][];
|
|
926
|
-
}))[];
|
|
927
|
-
to?: ({
|
|
928
|
-
kind?: string;
|
|
929
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
930
|
-
id?: string;
|
|
931
|
-
} & ({
|
|
932
|
-
/** JSON ref to value from where patch should be applied. */
|
|
933
|
-
mutatorRef?: string[][];
|
|
934
|
-
} | {
|
|
935
|
-
mutatedRef?: string[][];
|
|
936
|
-
}))[];
|
|
937
|
-
};
|
|
907
|
+
/** Patch configuration for the selector */
|
|
938
908
|
patch?: {
|
|
939
909
|
/** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
|
|
940
910
|
|
|
941
911
|
add: Inserts a value into an array or adds a member to an object.
|
|
942
912
|
replace: Replaces a value.
|
|
943
913
|
merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
|
|
944
|
-
strategic:specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
914
|
+
strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
945
915
|
remove: Removes a value.
|
|
946
916
|
copy: Copies a value from one location to another.
|
|
947
917
|
move: Moves a value from one location to another.
|
|
948
|
-
test: Tests that a value at the target location is equal to a specified value.
|
|
918
|
+
test: Tests that a value at the target location is equal to a specified value.
|
|
919
|
+
*/
|
|
949
920
|
patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
|
|
950
|
-
} & ({
|
|
951
921
|
/** JSON ref to value from where patch should be applied. */
|
|
952
922
|
mutatorRef?: string[][];
|
|
953
|
-
} | {
|
|
954
923
|
mutatedRef?: string[][];
|
|
955
|
-
}
|
|
924
|
+
};
|
|
956
925
|
}[];
|
|
957
926
|
};
|
|
958
927
|
}[];
|
|
959
|
-
/** Timestamp when the resource was created. */
|
|
960
|
-
created_at?: string;
|
|
961
|
-
/** Timestamp when the resource was updated. */
|
|
962
|
-
updated_at?: string;
|
|
963
928
|
}[];
|
|
964
929
|
};
|
|
965
930
|
/** Hash of the input parameters and configuration used for this evaluation. Useful for identifying duplicate evaluations or caching results. */
|
|
@@ -1380,31 +1345,12 @@ type PostEvaluateApiArg = {
|
|
|
1380
1345
|
};
|
|
1381
1346
|
/** List of relationships between components */
|
|
1382
1347
|
relationships: {
|
|
1383
|
-
/**
|
|
1384
|
-
id
|
|
1348
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1349
|
+
id: string;
|
|
1385
1350
|
/** Specifies the version of the schema used for the relationship definition. */
|
|
1386
1351
|
schemaVersion: string;
|
|
1387
1352
|
/** A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
|
|
1388
1353
|
version: string;
|
|
1389
|
-
/** Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
|
|
1390
|
-
model: {
|
|
1391
|
-
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1392
|
-
id: string;
|
|
1393
|
-
/** The unique name for the model within the scope of a registrant. */
|
|
1394
|
-
name: string;
|
|
1395
|
-
/** Version of the model definition. */
|
|
1396
|
-
version: string;
|
|
1397
|
-
/** Human-readable name for the model. */
|
|
1398
|
-
displayName: string;
|
|
1399
|
-
/** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
|
|
1400
|
-
model: {
|
|
1401
|
-
/** Version of the model as defined by the registrant. */
|
|
1402
|
-
version: string;
|
|
1403
|
-
};
|
|
1404
|
-
registrant: {
|
|
1405
|
-
kind: string;
|
|
1406
|
-
};
|
|
1407
|
-
};
|
|
1408
1354
|
/** Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships. */
|
|
1409
1355
|
kind: "hierarchical" | "edge" | "sibling";
|
|
1410
1356
|
/** Classification of relationships. Used to group relationships similar in nature. */
|
|
@@ -1412,9 +1358,7 @@ type PostEvaluateApiArg = {
|
|
|
1412
1358
|
/** Most granular unit of relationship classification. The combination of Kind, Type and SubType together uniquely identify a Relationship. */
|
|
1413
1359
|
subType: string;
|
|
1414
1360
|
/** Status of the relationship. */
|
|
1415
|
-
status?: "
|
|
1416
|
-
/** Optional. Assigns the policy to be used for the evaluation of the relationship. Deprecation Notice: In the future, this property is either to be removed or to it is to be an array of optional policy $refs. */
|
|
1417
|
-
evaluationQuery?: string;
|
|
1361
|
+
status?: "enabled" | "ignored" | "deleted" | "approved" | "pending";
|
|
1418
1362
|
/** Capabilities associated with the relationship. */
|
|
1419
1363
|
capabilities?: {
|
|
1420
1364
|
/** Specifies the version of the schema to which the capability definition conforms. */
|
|
@@ -1424,15 +1368,15 @@ type PostEvaluateApiArg = {
|
|
|
1424
1368
|
/** Name of the capability in human-readible format. */
|
|
1425
1369
|
displayName: string;
|
|
1426
1370
|
/** A written representation of the purpose and characteristics of the capability. */
|
|
1427
|
-
description
|
|
1371
|
+
description: string;
|
|
1428
1372
|
/** Top-level categorization of the capability */
|
|
1429
1373
|
kind: "action" | "mutate" | "view" | "interaction";
|
|
1430
1374
|
/** Classification of capabilities. Used to group capabilities similar in nature. */
|
|
1431
1375
|
type: string;
|
|
1432
1376
|
/** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
|
|
1433
|
-
subType
|
|
1377
|
+
subType: string;
|
|
1434
1378
|
/** Key that backs the capability. */
|
|
1435
|
-
key
|
|
1379
|
+
key: string;
|
|
1436
1380
|
/** State of the entity in which the capability is applicable. */
|
|
1437
1381
|
entityState: ("declaration" | "instance")[];
|
|
1438
1382
|
/** Status of the capability */
|
|
@@ -1446,9 +1390,8 @@ type PostEvaluateApiArg = {
|
|
|
1446
1390
|
metadata?: {
|
|
1447
1391
|
/** Characterization of the meaning of the relationship and its relevance to both Meshery and entities under management. */
|
|
1448
1392
|
description?: string;
|
|
1449
|
-
/**
|
|
1450
|
-
|
|
1451
|
-
styles?: ({
|
|
1393
|
+
/** Visualization styles for a relationship */
|
|
1394
|
+
styles?: {
|
|
1452
1395
|
/** Primary color of the component used for UI representation. */
|
|
1453
1396
|
primaryColor: string;
|
|
1454
1397
|
/** Secondary color of the entity used for UI representation. */
|
|
@@ -1459,7 +1402,7 @@ type PostEvaluateApiArg = {
|
|
|
1459
1402
|
svgColor: string;
|
|
1460
1403
|
/** Complete SVG of the entity used for UI representation, often inclusive of background. */
|
|
1461
1404
|
svgComplete?: string;
|
|
1462
|
-
/** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g.
|
|
1405
|
+
/** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
|
|
1463
1406
|
color?: string;
|
|
1464
1407
|
/** The opacity of the label text, including its outline. */
|
|
1465
1408
|
"text-opacity"?: number;
|
|
@@ -1477,81 +1420,98 @@ type PostEvaluateApiArg = {
|
|
|
1477
1420
|
opacity?: number;
|
|
1478
1421
|
/** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
|
|
1479
1422
|
"z-index"?: number;
|
|
1480
|
-
/** The text to display for an element
|
|
1423
|
+
/** The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
|
|
1481
1424
|
label?: string;
|
|
1482
|
-
} & {
|
|
1483
1425
|
/** The animation to use for the edge. Can be like 'marching-ants' , 'blink' , 'moving-gradient',etc . */
|
|
1484
1426
|
"edge-animation"?: string;
|
|
1485
1427
|
/** The curving method used to separate two or more edges between two nodes; may be haystack (very fast, bundled straight edges for which loops and compounds are unsupported), straight (straight edges with all arrows supported), bezier (bundled curved edges), unbundled-bezier (curved edges for use with manual control points), segments (a series of straight lines), taxi (right-angled lines, hierarchically bundled). Note that haystack edges work best with ellipse, rectangle, or similar nodes. Smaller node shapes, like triangle, will not be as aesthetically pleasing. Also note that edge endpoint arrows are unsupported for haystack edges. */
|
|
1486
|
-
"curve-style"?: "
|
|
1487
|
-
/** The colour of the edge
|
|
1428
|
+
"curve-style"?: "haystack" | "straight" | "bezier" | "unbundled-bezier" | "segments" | "taxi";
|
|
1429
|
+
/** The colour of the edge's line. Colours may be specified by name (e.g. red), hex (e.g. */
|
|
1488
1430
|
"line-color"?: string;
|
|
1489
|
-
/** The style of the edge
|
|
1431
|
+
/** The style of the edge's line. */
|
|
1490
1432
|
"line-style"?: "solid" | "dotted" | "dashed";
|
|
1491
|
-
/** The cap style of the edge
|
|
1433
|
+
/** The cap style of the edge's line; may be butt (default), round, or square. The cap may or may not be visible, depending on the shape of the node and the relative size of the node and edge. Caps other than butt extend beyond the specified endpoint of the edge. */
|
|
1492
1434
|
"line-cap"?: "butt" | "round" | "square";
|
|
1493
|
-
/** The opacity of the edge
|
|
1435
|
+
/** The opacity of the edge's line and arrow. Useful if you wish to have a separate opacity for the edge label versus the edge line. Note that the opacity value of the edge element affects the effective opacity of its line and label subcomponents. */
|
|
1494
1436
|
"line-opacity"?: number;
|
|
1495
|
-
/** The colour of the edge
|
|
1437
|
+
/** The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
|
|
1496
1438
|
"target-arrow-color"?: string;
|
|
1497
|
-
/** The shape of the edge
|
|
1439
|
+
/** The shape of the edge's source arrow */
|
|
1498
1440
|
"target-arrow-shape"?: "triangle" | "triangle-tee" | "circle-triangle" | "triangle-cross" | "triangle-backcurve" | "vee" | "tee" | "square" | "circle" | "diamond" | "chevron" | "none";
|
|
1499
|
-
/** The fill state of the edge
|
|
1441
|
+
/** The fill state of the edge's source arrow */
|
|
1500
1442
|
"target-arrow-fill"?: "filled" | "hollow";
|
|
1501
|
-
/** The colour of the edge
|
|
1443
|
+
/** The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
|
|
1502
1444
|
"mid-target-arrow-color"?: string;
|
|
1503
|
-
/** The shape of the edge
|
|
1445
|
+
/** The shape of the edge's source arrow */
|
|
1504
1446
|
"mid-target-arrow-shape"?: "triangle" | "triangle-tee" | "circle-triangle" | "triangle-cross" | "triangle-backcurve" | "vee" | "tee" | "square" | "circle" | "diamond" | "chevron" | "none";
|
|
1505
|
-
/** The fill state of the edge
|
|
1447
|
+
/** The fill state of the edge's source arrow */
|
|
1506
1448
|
"mid-target-arrow-fill"?: "filled" | "hollow";
|
|
1507
1449
|
/** Scaling for the arrow size. */
|
|
1508
1450
|
"arrow-scale"?: number;
|
|
1509
|
-
/** The text to display for an edge
|
|
1451
|
+
/** The text to display for an edge's source label. Can give a path, e.g. data(id) will label with the elements id */
|
|
1510
1452
|
"source-label"?: string;
|
|
1511
|
-
/** The text to display for an edge
|
|
1453
|
+
/** The text to display for an edge's target label. Can give a path, e.g. data(id) will label with the elements id */
|
|
1512
1454
|
"target-label"?: string;
|
|
1513
|
-
}) | {
|
|
1514
|
-
/** Primary color of the component used for UI representation. */
|
|
1515
|
-
primaryColor: string;
|
|
1516
|
-
/** Secondary color of the entity used for UI representation. */
|
|
1517
|
-
secondaryColor?: string;
|
|
1518
|
-
/** White SVG of the entity used for UI representation on dark background. */
|
|
1519
|
-
svgWhite: string;
|
|
1520
|
-
/** Colored SVG of the entity used for UI representation on light background. */
|
|
1521
|
-
svgColor: string;
|
|
1522
|
-
/** Complete SVG of the entity used for UI representation, often inclusive of background. */
|
|
1523
|
-
svgComplete?: string;
|
|
1524
|
-
/** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
|
|
1525
|
-
color?: string;
|
|
1526
|
-
/** The opacity of the label text, including its outline. */
|
|
1527
|
-
"text-opacity"?: number;
|
|
1528
|
-
/** A comma-separated list of font names to use on the label text. */
|
|
1529
|
-
"font-family"?: string;
|
|
1530
|
-
/** The size of the label text. */
|
|
1531
|
-
"font-size"?: string;
|
|
1532
|
-
/** A CSS font style to be applied to the label text. */
|
|
1533
|
-
"font-style"?: string;
|
|
1534
|
-
/** A CSS font weight to be applied to the label text. */
|
|
1535
|
-
"font-weight"?: string;
|
|
1536
|
-
/** A transformation to apply to the label text */
|
|
1537
|
-
"text-transform"?: "none" | "uppercase" | "lowercase";
|
|
1538
|
-
/** The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.See https://js.cytoscape.org/#style/visibility */
|
|
1539
|
-
opacity?: number;
|
|
1540
|
-
/** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
|
|
1541
|
-
"z-index"?: number;
|
|
1542
|
-
/** The text to display for an element’s label. Can give a path, e.g. data(id) will label with the elements id */
|
|
1543
|
-
label?: string;
|
|
1544
1455
|
};
|
|
1456
|
+
/** Indicates whether the relationship should be treated as a logical representation only */
|
|
1457
|
+
isAnnotation?: boolean;
|
|
1545
1458
|
[key: string]: any;
|
|
1546
1459
|
};
|
|
1460
|
+
/** Model Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
|
|
1461
|
+
model: {
|
|
1462
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1463
|
+
id: string;
|
|
1464
|
+
/** The unique name for the model within the scope of a registrant. */
|
|
1465
|
+
name: string;
|
|
1466
|
+
/** Version of the model definition. */
|
|
1467
|
+
version: string;
|
|
1468
|
+
/** Human-readable name for the model. */
|
|
1469
|
+
displayName: string;
|
|
1470
|
+
/** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
|
|
1471
|
+
model: {
|
|
1472
|
+
/** Version of the model as defined by the registrant. */
|
|
1473
|
+
version: string;
|
|
1474
|
+
};
|
|
1475
|
+
registrant: {
|
|
1476
|
+
kind: string;
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
1479
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1480
|
+
modelId?: string;
|
|
1481
|
+
/** Optional. Assigns the policy to be used for the evaluation of the relationship. Deprecation Notice: In the future, this property is either to be removed or to it is to be an array of optional policy $refs. */
|
|
1482
|
+
evaluationQuery?: string;
|
|
1547
1483
|
/** Selectors are organized as an array, with each item containing a distinct set of selectors that share a common functionality. This structure allows for flexibility in defining relationships, even when different components are involved. */
|
|
1548
1484
|
selectors?: {
|
|
1549
|
-
/**
|
|
1550
|
-
|
|
1485
|
+
/** Selectors used to define relationships which are allowed. */
|
|
1486
|
+
allow: {
|
|
1551
1487
|
/** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
|
|
1552
1488
|
from: {
|
|
1489
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1490
|
+
id?: string;
|
|
1553
1491
|
kind?: string;
|
|
1554
|
-
/**
|
|
1492
|
+
/** Match configuration for selector */
|
|
1493
|
+
match?: {
|
|
1494
|
+
refs?: string[][];
|
|
1495
|
+
from?: {
|
|
1496
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1497
|
+
id?: string;
|
|
1498
|
+
kind: string;
|
|
1499
|
+
/** JSON ref to value from where patch should be applied. */
|
|
1500
|
+
mutatorRef?: string[][];
|
|
1501
|
+
mutatedRef?: string[][];
|
|
1502
|
+
}[];
|
|
1503
|
+
to?: {
|
|
1504
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1505
|
+
id?: string;
|
|
1506
|
+
kind: string;
|
|
1507
|
+
/** JSON ref to value from where patch should be applied. */
|
|
1508
|
+
mutatorRef?: string[][];
|
|
1509
|
+
mutatedRef?: string[][];
|
|
1510
|
+
}[];
|
|
1511
|
+
};
|
|
1512
|
+
/** Match strategy matrix for the selector */
|
|
1513
|
+
match_strategy_matrix?: string[][];
|
|
1514
|
+
/** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
|
|
1555
1515
|
model?: {
|
|
1556
1516
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1557
1517
|
id: string;
|
|
@@ -1570,53 +1530,53 @@ type PostEvaluateApiArg = {
|
|
|
1570
1530
|
kind: string;
|
|
1571
1531
|
};
|
|
1572
1532
|
};
|
|
1573
|
-
/**
|
|
1574
|
-
id?: string;
|
|
1575
|
-
match?: string[][] | {
|
|
1576
|
-
from?: ({
|
|
1577
|
-
kind?: string;
|
|
1578
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
1579
|
-
id?: string;
|
|
1580
|
-
} & ({
|
|
1581
|
-
/** JSON ref to value from where patch should be applied. */
|
|
1582
|
-
mutatorRef?: string[][];
|
|
1583
|
-
} | {
|
|
1584
|
-
mutatedRef?: string[][];
|
|
1585
|
-
}))[];
|
|
1586
|
-
to?: ({
|
|
1587
|
-
kind?: string;
|
|
1588
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
1589
|
-
id?: string;
|
|
1590
|
-
} & ({
|
|
1591
|
-
/** JSON ref to value from where patch should be applied. */
|
|
1592
|
-
mutatorRef?: string[][];
|
|
1593
|
-
} | {
|
|
1594
|
-
mutatedRef?: string[][];
|
|
1595
|
-
}))[];
|
|
1596
|
-
};
|
|
1533
|
+
/** Patch configuration for the selector */
|
|
1597
1534
|
patch?: {
|
|
1598
1535
|
/** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
|
|
1599
1536
|
|
|
1600
1537
|
add: Inserts a value into an array or adds a member to an object.
|
|
1601
1538
|
replace: Replaces a value.
|
|
1602
1539
|
merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
|
|
1603
|
-
strategic:specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
1540
|
+
strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
1604
1541
|
remove: Removes a value.
|
|
1605
1542
|
copy: Copies a value from one location to another.
|
|
1606
1543
|
move: Moves a value from one location to another.
|
|
1607
|
-
test: Tests that a value at the target location is equal to a specified value.
|
|
1544
|
+
test: Tests that a value at the target location is equal to a specified value.
|
|
1545
|
+
*/
|
|
1608
1546
|
patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
|
|
1609
|
-
} & ({
|
|
1610
1547
|
/** JSON ref to value from where patch should be applied. */
|
|
1611
1548
|
mutatorRef?: string[][];
|
|
1612
|
-
} | {
|
|
1613
1549
|
mutatedRef?: string[][];
|
|
1614
|
-
}
|
|
1550
|
+
};
|
|
1615
1551
|
}[];
|
|
1616
1552
|
/** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
|
|
1617
1553
|
to: {
|
|
1554
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1555
|
+
id?: string;
|
|
1618
1556
|
kind?: string;
|
|
1619
|
-
/**
|
|
1557
|
+
/** Match configuration for selector */
|
|
1558
|
+
match?: {
|
|
1559
|
+
refs?: string[][];
|
|
1560
|
+
from?: {
|
|
1561
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1562
|
+
id?: string;
|
|
1563
|
+
kind: string;
|
|
1564
|
+
/** JSON ref to value from where patch should be applied. */
|
|
1565
|
+
mutatorRef?: string[][];
|
|
1566
|
+
mutatedRef?: string[][];
|
|
1567
|
+
}[];
|
|
1568
|
+
to?: {
|
|
1569
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1570
|
+
id?: string;
|
|
1571
|
+
kind: string;
|
|
1572
|
+
/** JSON ref to value from where patch should be applied. */
|
|
1573
|
+
mutatorRef?: string[][];
|
|
1574
|
+
mutatedRef?: string[][];
|
|
1575
|
+
}[];
|
|
1576
|
+
};
|
|
1577
|
+
/** Match strategy matrix for the selector */
|
|
1578
|
+
match_strategy_matrix?: string[][];
|
|
1579
|
+
/** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
|
|
1620
1580
|
model?: {
|
|
1621
1581
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1622
1582
|
id: string;
|
|
@@ -1635,58 +1595,56 @@ type PostEvaluateApiArg = {
|
|
|
1635
1595
|
kind: string;
|
|
1636
1596
|
};
|
|
1637
1597
|
};
|
|
1638
|
-
/**
|
|
1639
|
-
id?: string;
|
|
1640
|
-
match?: string[][] | {
|
|
1641
|
-
from?: ({
|
|
1642
|
-
kind?: string;
|
|
1643
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
1644
|
-
id?: string;
|
|
1645
|
-
} & ({
|
|
1646
|
-
/** JSON ref to value from where patch should be applied. */
|
|
1647
|
-
mutatorRef?: string[][];
|
|
1648
|
-
} | {
|
|
1649
|
-
mutatedRef?: string[][];
|
|
1650
|
-
}))[];
|
|
1651
|
-
to?: ({
|
|
1652
|
-
kind?: string;
|
|
1653
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
1654
|
-
id?: string;
|
|
1655
|
-
} & ({
|
|
1656
|
-
/** JSON ref to value from where patch should be applied. */
|
|
1657
|
-
mutatorRef?: string[][];
|
|
1658
|
-
} | {
|
|
1659
|
-
mutatedRef?: string[][];
|
|
1660
|
-
}))[];
|
|
1661
|
-
};
|
|
1598
|
+
/** Patch configuration for the selector */
|
|
1662
1599
|
patch?: {
|
|
1663
1600
|
/** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
|
|
1664
1601
|
|
|
1665
1602
|
add: Inserts a value into an array or adds a member to an object.
|
|
1666
1603
|
replace: Replaces a value.
|
|
1667
1604
|
merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
|
|
1668
|
-
strategic:specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
1605
|
+
strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
1669
1606
|
remove: Removes a value.
|
|
1670
1607
|
copy: Copies a value from one location to another.
|
|
1671
1608
|
move: Moves a value from one location to another.
|
|
1672
|
-
test: Tests that a value at the target location is equal to a specified value.
|
|
1609
|
+
test: Tests that a value at the target location is equal to a specified value.
|
|
1610
|
+
*/
|
|
1673
1611
|
patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
|
|
1674
|
-
} & ({
|
|
1675
1612
|
/** JSON ref to value from where patch should be applied. */
|
|
1676
1613
|
mutatorRef?: string[][];
|
|
1677
|
-
} | {
|
|
1678
1614
|
mutatedRef?: string[][];
|
|
1679
|
-
}
|
|
1615
|
+
};
|
|
1680
1616
|
}[];
|
|
1681
1617
|
};
|
|
1682
|
-
/**
|
|
1683
|
-
|
|
1618
|
+
/** Optional selectors used to define relationships which should not be created / is restricted. */
|
|
1619
|
+
deny?: {
|
|
1684
1620
|
/** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
|
|
1685
1621
|
from: {
|
|
1622
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1623
|
+
id?: string;
|
|
1686
1624
|
kind?: string;
|
|
1687
|
-
/**
|
|
1625
|
+
/** Match configuration for selector */
|
|
1626
|
+
match?: {
|
|
1627
|
+
refs?: string[][];
|
|
1628
|
+
from?: {
|
|
1629
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1630
|
+
id?: string;
|
|
1631
|
+
kind: string;
|
|
1632
|
+
/** JSON ref to value from where patch should be applied. */
|
|
1633
|
+
mutatorRef?: string[][];
|
|
1634
|
+
mutatedRef?: string[][];
|
|
1635
|
+
}[];
|
|
1636
|
+
to?: {
|
|
1637
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1638
|
+
id?: string;
|
|
1639
|
+
kind: string;
|
|
1640
|
+
/** JSON ref to value from where patch should be applied. */
|
|
1641
|
+
mutatorRef?: string[][];
|
|
1642
|
+
mutatedRef?: string[][];
|
|
1643
|
+
}[];
|
|
1644
|
+
};
|
|
1645
|
+
/** Match strategy matrix for the selector */
|
|
1688
1646
|
match_strategy_matrix?: string[][];
|
|
1689
|
-
/**
|
|
1647
|
+
/** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
|
|
1690
1648
|
model?: {
|
|
1691
1649
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1692
1650
|
id: string;
|
|
@@ -1705,53 +1663,53 @@ type PostEvaluateApiArg = {
|
|
|
1705
1663
|
kind: string;
|
|
1706
1664
|
};
|
|
1707
1665
|
};
|
|
1708
|
-
/**
|
|
1709
|
-
id?: string;
|
|
1710
|
-
match?: string[][] | {
|
|
1711
|
-
from?: ({
|
|
1712
|
-
kind?: string;
|
|
1713
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
1714
|
-
id?: string;
|
|
1715
|
-
} & ({
|
|
1716
|
-
/** JSON ref to value from where patch should be applied. */
|
|
1717
|
-
mutatorRef?: string[][];
|
|
1718
|
-
} | {
|
|
1719
|
-
mutatedRef?: string[][];
|
|
1720
|
-
}))[];
|
|
1721
|
-
to?: ({
|
|
1722
|
-
kind?: string;
|
|
1723
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
1724
|
-
id?: string;
|
|
1725
|
-
} & ({
|
|
1726
|
-
/** JSON ref to value from where patch should be applied. */
|
|
1727
|
-
mutatorRef?: string[][];
|
|
1728
|
-
} | {
|
|
1729
|
-
mutatedRef?: string[][];
|
|
1730
|
-
}))[];
|
|
1731
|
-
};
|
|
1666
|
+
/** Patch configuration for the selector */
|
|
1732
1667
|
patch?: {
|
|
1733
1668
|
/** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
|
|
1734
1669
|
|
|
1735
1670
|
add: Inserts a value into an array or adds a member to an object.
|
|
1736
1671
|
replace: Replaces a value.
|
|
1737
1672
|
merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
|
|
1738
|
-
strategic:specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
1673
|
+
strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
1739
1674
|
remove: Removes a value.
|
|
1740
1675
|
copy: Copies a value from one location to another.
|
|
1741
1676
|
move: Moves a value from one location to another.
|
|
1742
|
-
test: Tests that a value at the target location is equal to a specified value.
|
|
1677
|
+
test: Tests that a value at the target location is equal to a specified value.
|
|
1678
|
+
*/
|
|
1743
1679
|
patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
|
|
1744
|
-
} & ({
|
|
1745
1680
|
/** JSON ref to value from where patch should be applied. */
|
|
1746
1681
|
mutatorRef?: string[][];
|
|
1747
|
-
} | {
|
|
1748
1682
|
mutatedRef?: string[][];
|
|
1749
|
-
}
|
|
1683
|
+
};
|
|
1750
1684
|
}[];
|
|
1751
1685
|
/** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
|
|
1752
1686
|
to: {
|
|
1687
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1688
|
+
id?: string;
|
|
1753
1689
|
kind?: string;
|
|
1754
|
-
/**
|
|
1690
|
+
/** Match configuration for selector */
|
|
1691
|
+
match?: {
|
|
1692
|
+
refs?: string[][];
|
|
1693
|
+
from?: {
|
|
1694
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1695
|
+
id?: string;
|
|
1696
|
+
kind: string;
|
|
1697
|
+
/** JSON ref to value from where patch should be applied. */
|
|
1698
|
+
mutatorRef?: string[][];
|
|
1699
|
+
mutatedRef?: string[][];
|
|
1700
|
+
}[];
|
|
1701
|
+
to?: {
|
|
1702
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1703
|
+
id?: string;
|
|
1704
|
+
kind: string;
|
|
1705
|
+
/** JSON ref to value from where patch should be applied. */
|
|
1706
|
+
mutatorRef?: string[][];
|
|
1707
|
+
mutatedRef?: string[][];
|
|
1708
|
+
}[];
|
|
1709
|
+
};
|
|
1710
|
+
/** Match strategy matrix for the selector */
|
|
1711
|
+
match_strategy_matrix?: string[][];
|
|
1712
|
+
/** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
|
|
1755
1713
|
model?: {
|
|
1756
1714
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1757
1715
|
id: string;
|
|
@@ -1770,55 +1728,27 @@ type PostEvaluateApiArg = {
|
|
|
1770
1728
|
kind: string;
|
|
1771
1729
|
};
|
|
1772
1730
|
};
|
|
1773
|
-
/**
|
|
1774
|
-
id?: string;
|
|
1775
|
-
match?: string[][] | {
|
|
1776
|
-
from?: ({
|
|
1777
|
-
kind?: string;
|
|
1778
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
1779
|
-
id?: string;
|
|
1780
|
-
} & ({
|
|
1781
|
-
/** JSON ref to value from where patch should be applied. */
|
|
1782
|
-
mutatorRef?: string[][];
|
|
1783
|
-
} | {
|
|
1784
|
-
mutatedRef?: string[][];
|
|
1785
|
-
}))[];
|
|
1786
|
-
to?: ({
|
|
1787
|
-
kind?: string;
|
|
1788
|
-
/** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
|
|
1789
|
-
id?: string;
|
|
1790
|
-
} & ({
|
|
1791
|
-
/** JSON ref to value from where patch should be applied. */
|
|
1792
|
-
mutatorRef?: string[][];
|
|
1793
|
-
} | {
|
|
1794
|
-
mutatedRef?: string[][];
|
|
1795
|
-
}))[];
|
|
1796
|
-
};
|
|
1731
|
+
/** Patch configuration for the selector */
|
|
1797
1732
|
patch?: {
|
|
1798
1733
|
/** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
|
|
1799
1734
|
|
|
1800
1735
|
add: Inserts a value into an array or adds a member to an object.
|
|
1801
1736
|
replace: Replaces a value.
|
|
1802
1737
|
merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
|
|
1803
|
-
strategic:specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
1738
|
+
strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
|
|
1804
1739
|
remove: Removes a value.
|
|
1805
1740
|
copy: Copies a value from one location to another.
|
|
1806
1741
|
move: Moves a value from one location to another.
|
|
1807
|
-
test: Tests that a value at the target location is equal to a specified value.
|
|
1742
|
+
test: Tests that a value at the target location is equal to a specified value.
|
|
1743
|
+
*/
|
|
1808
1744
|
patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
|
|
1809
|
-
} & ({
|
|
1810
1745
|
/** JSON ref to value from where patch should be applied. */
|
|
1811
1746
|
mutatorRef?: string[][];
|
|
1812
|
-
} | {
|
|
1813
1747
|
mutatedRef?: string[][];
|
|
1814
|
-
}
|
|
1748
|
+
};
|
|
1815
1749
|
}[];
|
|
1816
1750
|
};
|
|
1817
1751
|
}[];
|
|
1818
|
-
/** Timestamp when the resource was created. */
|
|
1819
|
-
created_at?: string;
|
|
1820
|
-
/** Timestamp when the resource was updated. */
|
|
1821
|
-
updated_at?: string;
|
|
1822
1752
|
}[];
|
|
1823
1753
|
};
|
|
1824
1754
|
options?: {
|