-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
- Loading branch information
1 parent
6c91795
commit 11fe12f
Showing
25 changed files
with
1,399 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package v1alpha1 | ||
|
||
import ( | ||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
) | ||
|
||
// Update represents a set of resources that should be updated. | ||
// If a resource does not exist in the cluster it will fail. | ||
type Update struct { | ||
// Timeout for the operation. Overrides the global timeout set in the Configuration. | ||
// +optional | ||
Timeout *metav1.Duration `json:"timeout,omitempty"` | ||
|
||
// Bindings defines additional binding key/values. | ||
// +optional | ||
Bindings []Binding `json:"bindings,omitempty"` | ||
|
||
// Outputs defines output bindings. | ||
// +optional | ||
Outputs []Output `json:"outputs,omitempty"` | ||
|
||
// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). | ||
// +optional | ||
Cluster string `json:"cluster,omitempty"` | ||
|
||
// FileRefOrResource provides a reference to the file containing the resources to be created. | ||
FileRefOrResource `json:",inline"` | ||
|
||
// Template determines whether resources should be considered for templating. | ||
// +optional | ||
Template *bool `json:"template,omitempty"` | ||
|
||
// DryRun determines whether the file should be applied in dry run mode. | ||
// +optional | ||
DryRun *bool `json:"dryRun,omitempty"` | ||
|
||
// Expect defines a list of matched checks to validate the operation outcome. | ||
// +optional | ||
Expect []Expectation `json:"expect,omitempty"` | ||
} |
Oops, something went wrong.