AddConstraint adds a Constraint to the Client. Must map to one of the previously-added Templates. Returns an error if the referenced Template does not exist, or the Constraint does not match the structure defined by the referenced Template.
(ctx context.Context, constraint *unstructured.Unstructured)
| 20 | // Returns an error if the referenced Template does not exist, or the |
| 21 | // Constraint does not match the structure defined by the referenced Template. |
| 22 | AddConstraint(ctx context.Context, constraint *unstructured.Unstructured) (*types.Responses, error) |
| 23 | |
| 24 | // AddData adds the state of the cluster. For use in referential Constraints. |
| 25 | AddData(ctx context.Context, data interface{}) (*types.Responses, error) |
no outgoing calls