converters

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2017 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert_Koki_APIService_to_Kube_APIService added in v0.4.0

func Convert_Koki_APIService_to_Kube_APIService(apiService *types.APIServiceWrapper) (*apiregistrationv1beta1.APIService, error)

func Convert_Koki_Binding_to_Kube_Binding added in v0.4.0

func Convert_Koki_Binding_to_Kube_Binding(kokiWrapper *types.BindingWrapper) (*v1.Binding, error)

func Convert_Koki_CRD_to_Kube added in v0.4.0

func Convert_Koki_CRD_to_Kube(kokiWrapper *types.CRDWrapper) (*apiext.CustomResourceDefinition, error)

func Convert_Koki_ClusterRole_to_Kube added in v0.4.0

func Convert_Koki_ClusterRole_to_Kube(wrapper *types.ClusterRoleWrapper) (*rbac.ClusterRole, error)

func Convert_Koki_ConfigMap_to_Kube_v1_ConfigMap added in v0.2.0

func Convert_Koki_ConfigMap_to_Kube_v1_ConfigMap(kokiConfigMapWrapper *types.ConfigMapWrapper) (*v1.ConfigMap, error)

func Convert_Koki_ControllerRevision_to_Kube added in v0.4.0

func Convert_Koki_ControllerRevision_to_Kube(kokiRev *types.ControllerRevisionWrapper) (interface{}, error)

func Convert_Koki_ControllerRevision_to_Kube_v1 added in v0.4.0

func Convert_Koki_ControllerRevision_to_Kube_v1(rev *types.ControllerRevisionWrapper) (*apps.ControllerRevision, error)

func Convert_Koki_CronJob_to_Kube_CronJob added in v0.2.0

func Convert_Koki_CronJob_to_Kube_CronJob(cronJob *types.CronJobWrapper) (interface{}, error)

func Convert_Koki_CronJob_to_Kube_batch_v1beta1_CronJob added in v0.2.0

func Convert_Koki_CronJob_to_Kube_batch_v1beta1_CronJob(kokiObj *types.CronJobWrapper) (batchv1beta1.CronJob, error)

func Convert_Koki_DaemonSet_to_Kube_DaemonSet added in v0.2.0

func Convert_Koki_DaemonSet_to_Kube_DaemonSet(daemonSet *types.DaemonSetWrapper) (interface{}, error)

func Convert_Koki_DaemonSet_to_Kube_apps_v1beta2_DaemonSet added in v0.2.0

func Convert_Koki_DaemonSet_to_Kube_apps_v1beta2_DaemonSet(daemonSet *types.DaemonSetWrapper) (*appsv1beta2.DaemonSet, error)

func Convert_Koki_Deployment_to_Kube_Deployment

func Convert_Koki_Deployment_to_Kube_Deployment(deployment *types.DeploymentWrapper) (interface{}, error)

func Convert_Koki_Deployment_to_Kube_apps_v1beta2_Deployment

func Convert_Koki_Deployment_to_Kube_apps_v1beta2_Deployment(deployment *types.DeploymentWrapper) (*appsv1beta2.Deployment, error)

func Convert_Koki_Endpoints_to_Kube_v1_Endpoints added in v0.3.0

func Convert_Koki_Endpoints_to_Kube_v1_Endpoints(endpoints *types.EndpointsWrapper) (*v1.Endpoints, error)

func Convert_Koki_Event_to_Kube added in v0.4.0

func Convert_Koki_Event_to_Kube(wrapper *types.EventWrapper) (*v1.Event, error)

func Convert_Koki_HPA_to_Kube added in v0.4.0

func Convert_Koki_HPA_to_Kube(wrapper *types.HorizontalPodAutoscalerWrapper) (*autoscaling.HorizontalPodAutoscaler, error)

func Convert_Koki_Ingress_to_Kube_Ingress added in v0.3.0

func Convert_Koki_Ingress_to_Kube_Ingress(ingress *types.IngressWrapper) (*v1beta1.Ingress, error)

func Convert_Koki_InitializerConfig_to_Kube_InitializerConfig added in v0.4.0

func Convert_Koki_InitializerConfig_to_Kube_InitializerConfig(initConfig *types.InitializerConfigWrapper) (*admissionregv1alpha1.InitializerConfiguration, error)

func Convert_Koki_Job_to_Kube_Job added in v0.2.0

func Convert_Koki_Job_to_Kube_Job(job *types.JobWrapper) (interface{}, error)

func Convert_Koki_LimitRange_to_Kube added in v0.4.0

func Convert_Koki_LimitRange_to_Kube(wrapper *types.LimitRangeWrapper) (*v1.LimitRange, error)

func Convert_Koki_Namespace_to_Kube_Namespace added in v0.4.0

func Convert_Koki_Namespace_to_Kube_Namespace(kokiWrapper *types.NamespaceWrapper) (*v1.Namespace, error)

func Convert_Koki_PVC_to_Kube_PVC added in v0.2.0

func Convert_Koki_PVC_to_Kube_PVC(pvc *types.PersistentVolumeClaimWrapper) (interface{}, error)

func Convert_Koki_PersistentVolume_to_Kube_v1_PersistentVolume

func Convert_Koki_PersistentVolume_to_Kube_v1_PersistentVolume(pv *types.PersistentVolumeWrapper) (*v1.PersistentVolume, error)

func Convert_Koki_PodDisruptionBudget_to_Kube_PodDisruptionBudget added in v0.4.0

func Convert_Koki_PodDisruptionBudget_to_Kube_PodDisruptionBudget(podDisruptionBudget *types.PodDisruptionBudgetWrapper) (*policyv1beta1.PodDisruptionBudget, error)

func Convert_Koki_PodPreset_to_Kube_PodPreset added in v0.4.0

func Convert_Koki_PodPreset_to_Kube_PodPreset(podPreset *types.PodPresetWrapper) (*settingsv1alpha1.PodPreset, error)

func Convert_Koki_PodSecurityPolicy_to_Kube_PodSecurityPolicy added in v0.4.0

func Convert_Koki_PodSecurityPolicy_to_Kube_PodSecurityPolicy(podSecurityPolicy *types.PodSecurityPolicyWrapper) (*exts.PodSecurityPolicy, error)

func Convert_Koki_Pod_to_Kube_v1_Pod

func Convert_Koki_Pod_to_Kube_v1_Pod(pod *types.PodWrapper) (*v1.Pod, error)

func Convert_Koki_PriorityClass_to_Kube_PriorityClass added in v0.4.0

func Convert_Koki_PriorityClass_to_Kube_PriorityClass(priorityClass *types.PriorityClassWrapper) (*schedulingv1alpha1.PriorityClass, error)

func Convert_Koki_ReplicaSet_to_Kube_ReplicaSet

func Convert_Koki_ReplicaSet_to_Kube_ReplicaSet(rs *types.ReplicaSetWrapper) (interface{}, error)

func Convert_Koki_ReplicaSet_to_Kube_v1beta2_ReplicaSet

func Convert_Koki_ReplicaSet_to_Kube_v1beta2_ReplicaSet(rs *types.ReplicaSetWrapper) (*appsv1beta2.ReplicaSet, error)

func Convert_Koki_ReplicationController_to_Kube_v1_ReplicationController

func Convert_Koki_ReplicationController_to_Kube_v1_ReplicationController(rc *types.ReplicationControllerWrapper) (*v1.ReplicationController, error)

func Convert_Koki_Secret_to_Kube_v1_Secret added in v0.2.0

func Convert_Koki_Secret_to_Kube_v1_Secret(kokiSecretWrapper *types.SecretWrapper) (*v1.Secret, error)

func Convert_Koki_Service_To_Kube_v1_Service

func Convert_Koki_Service_To_Kube_v1_Service(service *types.ServiceWrapper) (*v1.Service, error)

func Convert_Koki_StatefulSet_to_Kube_StatefulSet added in v0.2.0

func Convert_Koki_StatefulSet_to_Kube_StatefulSet(statefulSet *types.StatefulSetWrapper) (interface{}, error)

func Convert_Koki_StatefulSet_to_Kube_apps_v1beta2_StatefulSet added in v0.2.0

func Convert_Koki_StatefulSet_to_Kube_apps_v1beta2_StatefulSet(statefulSet *types.StatefulSetWrapper) (*appsv1beta2.StatefulSet, error)

func Convert_Koki_StorageClass_to_Kube_StorageClass added in v0.2.0

func Convert_Koki_StorageClass_to_Kube_StorageClass(storageClass *types.StorageClassWrapper) (interface{}, error)

func Convert_Koki_StorageClass_to_Kube_storage_v1_StorageClass added in v0.2.0

func Convert_Koki_StorageClass_to_Kube_storage_v1_StorageClass(storageClass *types.StorageClassWrapper) (*storagev1.StorageClass, error)

func Convert_Kube_APIService_to_Koki_APIService added in v0.4.0

func Convert_Kube_APIService_to_Koki_APIService(kubeAPIService *apiregistrationv1beta1.APIService) (*types.APIServiceWrapper, error)

func Convert_Kube_Binding_to_Koki_Binding added in v0.4.0

func Convert_Kube_Binding_to_Koki_Binding(kubeBinding *v1.Binding) (*types.BindingWrapper, error)

func Convert_Kube_CRD_to_Koki added in v0.4.0

func Convert_Kube_CRD_to_Koki(kube *apiext.CustomResourceDefinition) (*types.CRDWrapper, error)

func Convert_Kube_ClusterRole_to_Koki added in v0.4.0

func Convert_Kube_ClusterRole_to_Koki(kube *rbac.ClusterRole) (*types.ClusterRoleWrapper, error)

func Convert_Kube_ControllerRevision_to_Koki added in v0.4.0

func Convert_Kube_ControllerRevision_to_Koki(kubeRev runtime.Object) (*types.ControllerRevisionWrapper, error)

func Convert_Kube_CronJob_to_Koki_CronJob added in v0.2.0

func Convert_Kube_CronJob_to_Koki_CronJob(kubeCronJob runtime.Object) (*types.CronJobWrapper, error)

func Convert_Kube_DaemonSet_to_Koki_DaemonSet added in v0.2.0

func Convert_Kube_DaemonSet_to_Koki_DaemonSet(kubeDaemonSet runtime.Object) (*types.DaemonSetWrapper, error)

func Convert_Kube_Deployment_to_Koki_Deployment

func Convert_Kube_Deployment_to_Koki_Deployment(kubeDeployment runtime.Object) (*types.DeploymentWrapper, error)

func Convert_Kube_Event_to_Koki added in v0.4.0

func Convert_Kube_Event_to_Koki(kube *v1.Event) (*types.EventWrapper, error)

func Convert_Kube_HPA_to_Koki added in v0.4.0

func Convert_Kube_Ingress_to_Koki_Ingress added in v0.3.0

func Convert_Kube_Ingress_to_Koki_Ingress(kubeIngress *v1beta1.Ingress) (*types.IngressWrapper, error)

func Convert_Kube_InitializerConfig_to_Koki_InitializerConfig added in v0.4.0

func Convert_Kube_InitializerConfig_to_Koki_InitializerConfig(kubeInitConfig *admissionregv1alpha1.InitializerConfiguration) (*types.InitializerConfigWrapper, error)

func Convert_Kube_Job_to_Koki_Job added in v0.2.0

func Convert_Kube_Job_to_Koki_Job(kubeJob *batchv1.Job) (*types.JobWrapper, error)

func Convert_Kube_LimitRange_to_Koki added in v0.4.0

func Convert_Kube_LimitRange_to_Koki(kube *v1.LimitRange) (*types.LimitRangeWrapper, error)

func Convert_Kube_Namespace_to_Koki_Namespace added in v0.4.0

func Convert_Kube_Namespace_to_Koki_Namespace(kubeNamespace *v1.Namespace) (*types.NamespaceWrapper, error)

func Convert_Kube_PVC_to_Koki_PVC added in v0.2.0

func Convert_Kube_PVC_to_Koki_PVC(kubePVC *v1.PersistentVolumeClaim) (*types.PersistentVolumeClaimWrapper, error)

func Convert_Kube_PodDisruptionBudget_to_Koki_PodDisruptionBudget added in v0.4.0

func Convert_Kube_PodDisruptionBudget_to_Koki_PodDisruptionBudget(kubePDB *policyv1beta1.PodDisruptionBudget) (*types.PodDisruptionBudgetWrapper, error)

func Convert_Kube_PodPreset_to_Koki_PodPreset added in v0.4.0

func Convert_Kube_PodPreset_to_Koki_PodPreset(kubePodPreset *settingsv1alpha1.PodPreset) (*types.PodPresetWrapper, error)

func Convert_Kube_PodSecurityPolicy_to_Koki_PodSecurityPolicy added in v0.4.0

func Convert_Kube_PodSecurityPolicy_to_Koki_PodSecurityPolicy(kubePodSecurityPolicy *exts.PodSecurityPolicy) (*types.PodSecurityPolicyWrapper, error)

func Convert_Kube_PriorityClass_to_Koki_PriorityClass added in v0.4.0

func Convert_Kube_PriorityClass_to_Koki_PriorityClass(kubePriorityClass *schedulingv1alpha1.PriorityClass) (*types.PriorityClassWrapper, error)

func Convert_Kube_ReplicaSet_to_Koki_ReplicaSet

func Convert_Kube_ReplicaSet_to_Koki_ReplicaSet(kubeRS runtime.Object) (*types.ReplicaSetWrapper, error)

func Convert_Kube_StatefulSet_to_Koki_StatefulSet added in v0.2.0

func Convert_Kube_StatefulSet_to_Koki_StatefulSet(kubeStatefulSet runtime.Object) (*types.StatefulSetWrapper, error)

func Convert_Kube_StorageClass_to_Koki_StorageClass added in v0.2.0

func Convert_Kube_StorageClass_to_Koki_StorageClass(kubeStorageClass runtime.Object) (*types.StorageClassWrapper, error)

func Convert_Kube_batch_v1beta1_CronJob_to_Koki_CronJob added in v0.2.0

func Convert_Kube_batch_v1beta1_CronJob_to_Koki_CronJob(kubeCronJob *batchv1beta1.CronJob) (*types.CronJobWrapper, error)

func Convert_Kube_storage_v1_StorageClass_to_Koki_StorageClass added in v0.2.0

func Convert_Kube_storage_v1_StorageClass_to_Koki_StorageClass(kubeStorageClass *storagev1.StorageClass) (*types.StorageClassWrapper, error)

func Convert_Kube_v1_ConfigMap_to_Koki_ConfigMap added in v0.2.0

func Convert_Kube_v1_ConfigMap_to_Koki_ConfigMap(kubeConfigMap *v1.ConfigMap) (*types.ConfigMapWrapper, error)

func Convert_Kube_v1_ControllerRevision_to_Koki added in v0.4.0

func Convert_Kube_v1_ControllerRevision_to_Koki(kubeRev *apps.ControllerRevision) (*types.ControllerRevisionWrapper, error)

func Convert_Kube_v1_Endpoints_to_Koki_Endpoints added in v0.3.0

func Convert_Kube_v1_Endpoints_to_Koki_Endpoints(kubeEndpoints *v1.Endpoints) (*types.EndpointsWrapper, error)

func Convert_Kube_v1_PersistentVolume_to_Koki_PersistentVolume

func Convert_Kube_v1_PersistentVolume_to_Koki_PersistentVolume(kubePV *v1.PersistentVolume) (*types.PersistentVolumeWrapper, error)

func Convert_Kube_v1_Pod_to_Koki_Pod

func Convert_Kube_v1_Pod_to_Koki_Pod(pod *v1.Pod) (*types.PodWrapper, error)

func Convert_Kube_v1_ReplicationController_to_Koki_ReplicationController

func Convert_Kube_v1_ReplicationController_to_Koki_ReplicationController(kubeRC *v1.ReplicationController) (*types.ReplicationControllerWrapper, error)

func Convert_Kube_v1_Secret_to_Koki_Secret added in v0.2.0

func Convert_Kube_v1_Secret_to_Koki_Secret(kubeSecret *v1.Secret) (*types.SecretWrapper, error)

func Convert_Kube_v1_Service_to_Koki_Service

func Convert_Kube_v1_Service_to_Koki_Service(kubeService *v1.Service) (*types.ServiceWrapper, error)

func Convert_Kube_v1beta2_DaemonSet_to_Koki_DaemonSet added in v0.2.0

func Convert_Kube_v1beta2_DaemonSet_to_Koki_DaemonSet(kubeDaemonSet *appsv1beta2.DaemonSet) (*types.DaemonSetWrapper, error)

func Convert_Kube_v1beta2_Deployment_to_Koki_Deployment

func Convert_Kube_v1beta2_Deployment_to_Koki_Deployment(kubeDeployment *appsv1beta2.Deployment) (*types.DeploymentWrapper, error)

func Convert_Kube_v1beta2_ReplicaSet_to_Koki_ReplicaSet

func Convert_Kube_v1beta2_ReplicaSet_to_Koki_ReplicaSet(kubeRS *appsv1beta2.ReplicaSet) (*types.ReplicaSetWrapper, error)

func Convert_Kube_v1beta2_StatefulSet_to_Koki_StatefulSet added in v0.2.0

func Convert_Kube_v1beta2_StatefulSet_to_Koki_StatefulSet(kubeStatefulSet *appsv1beta2.StatefulSet) (*types.StatefulSetWrapper, error)

Types

This section is empty.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL