-
Notifications
You must be signed in to change notification settings - Fork 5
/
alias.go
86 lines (82 loc) · 3.19 KB
/
alias.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package k8s
import (
"github.com/forbearing/k8s/clusterrole"
"github.com/forbearing/k8s/clusterrolebinding"
"github.com/forbearing/k8s/configmap"
"github.com/forbearing/k8s/cronjob"
"github.com/forbearing/k8s/daemonset"
"github.com/forbearing/k8s/deployment"
"github.com/forbearing/k8s/ingress"
"github.com/forbearing/k8s/ingressclass"
"github.com/forbearing/k8s/job"
"github.com/forbearing/k8s/namespace"
"github.com/forbearing/k8s/networkpolicy"
"github.com/forbearing/k8s/node"
"github.com/forbearing/k8s/persistentvolume"
"github.com/forbearing/k8s/persistentvolumeclaim"
"github.com/forbearing/k8s/pod"
"github.com/forbearing/k8s/replicaset"
"github.com/forbearing/k8s/replicationcontroller"
"github.com/forbearing/k8s/role"
"github.com/forbearing/k8s/rolebinding"
"github.com/forbearing/k8s/secret"
"github.com/forbearing/k8s/service"
"github.com/forbearing/k8s/serviceaccount"
"github.com/forbearing/k8s/statefulset"
"github.com/forbearing/k8s/storageclass"
"github.com/forbearing/k8s/utils/signals"
)
type ClusterRoleHandler = clusterrole.Handler
type ClusterRoleBindingHandler = clusterrolebinding.Handler
type ConfigMapHandler = configmap.Handler
type CronJobHandler = cronjob.Handler
type DaemonSetHandler = daemonset.Handler
type DeploymentHandler = deployment.Handler
type IngressHandler = ingress.Handler
type IngressClassHandler = ingressclass.Handler
type JobHandler = job.Handler
type NamespaceHandler = namespace.Handler
type NetworkPolicyHandler = networkpolicy.Handler
type NodeHandler = node.Handler
type PersistentVolumeHandler = persistentvolume.Handler
type PersistentVolumeClaimHandler = persistentvolumeclaim.Handler
type PodHandler = pod.Handler
type ReplicaSetHandler = replicaset.Handler
type ReplicationControllerHandler = replicationcontroller.Handler
type RoleHandler = role.Handler
type RoleBindingHandler = rolebinding.Handler
type SecretHandler = secret.Handler
type ServiceHandler = service.Handler
type ServiceAccountHandler = serviceaccount.Handler
type StatefulSetHandler = statefulset.Handler
type StorageClassHandler = storageclass.Handler
var (
NewClusterRole = clusterrole.New
NewClusterRoleBinding = clusterrolebinding.New
NewConfigMap = configmap.New
NewCronJob = cronjob.New
NewDaemonSet = daemonset.New
NewDeployment = deployment.New
NewIngress = ingress.New
NewIngressClass = ingressclass.New
NewJob = job.New
NewNamespace = namespace.New
NewNetworkPolicy = networkpolicy.New
NewNode = node.New
NewPersistentVolume = persistentvolume.New
NewPersistentVolumeClaim = persistentvolumeclaim.New
NewPod = pod.New
NewReplicaSet = replicaset.New
NewReplicationController = replicationcontroller.New
NewRole = role.New
NewRoleBinding = rolebinding.New
NewSecret = secret.New
NewService = service.New
NewServiceAccount = serviceaccount.New
NewStatefulSet = statefulset.New
NewStorageClass = storageclass.New
)
var (
SetupSignalContext = signals.SetupSignalContext
SetupSignalChannel = signals.SetupSignalChannel
)