-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Repo Sync Bot
committed
Sep 1, 2020
1 parent
846a0a1
commit 7651a1a
Showing
17 changed files
with
1,355 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,19 @@ | ||
package v1 | ||
|
||
import ( | ||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
) | ||
|
||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
|
||
// +subresource-request | ||
type ClusterDomain struct { | ||
metav1.TypeMeta `json:",inline"` | ||
metav1.ObjectMeta `json:"metadata,omitempty"` | ||
|
||
// +optional | ||
Target string `json:"target,omitempty"` | ||
|
||
// +optional | ||
Domain string `json:"domain,omitempty"` | ||
} |
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 @@ | ||
package v1 | ||
|
||
import ( | ||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
) | ||
|
||
// +genclient | ||
// +genclient:nonNamespaced | ||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
|
||
// LoftUpgrade holds the upgrade information | ||
// +k8s:openapi-gen=true | ||
// +resource:path=loftupgrades,rest=LoftUpgradeREST | ||
type LoftUpgrade struct { | ||
metav1.TypeMeta `json:",inline"` | ||
metav1.ObjectMeta `json:"metadata,omitempty"` | ||
|
||
Spec LoftUpgradeSpec `json:"spec,omitempty"` | ||
Status LoftUpgradeStatus `json:"status,omitempty"` | ||
} | ||
|
||
type LoftUpgradeSpec struct { | ||
// If specified, updated the release in the given namespace | ||
// +optional | ||
Namespace string `json:"namespace,omitempty"` | ||
|
||
// If specified, uses this as release name | ||
// +optional | ||
Release string `json:"release,omitempty"` | ||
|
||
// +optional | ||
Version string `json:"version,omitempty"` | ||
} | ||
|
||
type LoftUpgradeStatus struct { | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.