This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 184
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 #38 from Shopify/types
types: Create internal types instead of using kubernetes types
- Loading branch information
Showing
9 changed files
with
86 additions
and
70 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,28 @@ | ||
package cmd | ||
|
||
import ( | ||
v1beta1 "k8s.io/api/apps/v1beta1" | ||
apiv1 "k8s.io/api/core/v1" | ||
extensionsv1beta1 "k8s.io/api/extensions/v1beta1" | ||
networking "k8s.io/api/networking/v1" | ||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
) | ||
|
||
type Pod = apiv1.Pod | ||
type ReplicationController = apiv1.ReplicationController | ||
type DaemonSet = extensionsv1beta1.DaemonSet | ||
type Deployment = v1beta1.Deployment | ||
type StatefulSet = v1beta1.StatefulSet | ||
type NetworkPolicy = networking.NetworkPolicy | ||
|
||
type PodList = apiv1.PodList | ||
type ReplicationControllerList = apiv1.ReplicationControllerList | ||
type DaemonSetList = extensionsv1beta1.DaemonSetList | ||
type DeploymentList = v1beta1.DeploymentList | ||
type StatefulSetList = v1beta1.StatefulSetList | ||
type NamespaceList = apiv1.NamespaceList | ||
type NetworkPolicyList = networking.NetworkPolicyList | ||
|
||
type Capability = apiv1.Capability | ||
type Container = apiv1.Container | ||
type ListOptions = metav1.ListOptions |
Oops, something went wrong.