MCPcopy Create free account

hub / github.com/kubernetes/kompose / functions

Functions586 in github.com/kubernetes/kompose

↓ 2 callersFunctioncheckConstraints
(t *testing.T, caseName string, output, expected map[string]string)
pkg/loader/compose/compose_test.go:639
↓ 2 callersFunctioncheckIsEmptyDir
checkIsEmptyDir checks if filepath is empty
pkg/transformer/kubernetes/k8sutils.go:1269
↓ 2 callersFunctioncloseAccordion
($accordion, $content)
docs/assets/js/jquery.accordion.js:162
↓ 2 callersFunctionconfigConstrains
(constrains map[string]string, operator api.NodeSelectorOperator)
pkg/transformer/kubernetes/kubernetes.go:1295
↓ 2 callersMethodconfigKubeServiceAndIngressForService
(service kobject.ServiceConfig, name string, objects *[]runtime.Object)
pkg/transformer/kubernetes/kubernetes.go:1494
↓ 2 callersMethodconfigNetworkPolicyForService
(service kobject.ServiceConfig, name string, objects *[]runtime.Object)
pkg/transformer/kubernetes/kubernetes.go:1528
↓ 2 callersFunctioncontainWindowsPath
containWindowsPath check whether it contains windows path. windows path's separator is "\"
pkg/transformer/utils.go:202
↓ 2 callersFunctionconvertDockerLabel
Convert docker label to k8s label
pkg/loader/compose/compose.go:240
↓ 2 callersFunctionconvertToVersion
Convert object to versioned object if groupVersion is empty (metav1.GroupVersion{}), use version from original object (obj)
pkg/transformer/kubernetes/k8sutils.go:400
↓ 2 callersMethodcreateDaemonSet
(options ConvertOptions)
client/convert.go:157
↓ 2 callersMethodcreateDeployment
(options ConvertOptions)
client/convert.go:150
↓ 2 callersMethodcreateDeploymentConfig
(options ConvertOptions)
client/convert.go:206
↓ 2 callersFunctioncreateHPAResources
createHPAResources creates a HorizontalPodAutoscaler (HPA) resource It sets the number of replicas in the service to 0 because the number of replicas
pkg/transformer/kubernetes/k8sutils.go:1130
↓ 2 callersMethodcreateReplicationController
(options ConvertOptions)
client/convert.go:164
↓ 2 callersFunctiond
()
docs/assets/js/jquery.validate.min.js:4
↓ 2 callersFunctiond
(e,t)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionequalStringMaps
(map1 map[string]string, map2 map[string]string)
pkg/transformer/kubernetes/kubernetes_test.go:161
↓ 2 callersFunctionf
(f,g,h,i,k)
docs/assets/js/jquery-2.1.1.js:2
↓ 2 callersFunctionfillInitContainers
fillInitContainers looks for an initContainer resources and its passed as labels if there is no image, it does not fill the initContainer https://kube
pkg/transformer/kubernetes/k8sutils.go:1074
↓ 2 callersMethodfixNetworkModeToService
fixNetworkModeToService is responsible for adjusting the network mode of services in docker compose (services:) generate a mapping of deployments base
pkg/transformer/kubernetes/k8sutils.go:1316
↓ 2 callersFunctiongetErrorMessage
(key)
docs/assets/js/validator.js:165
↓ 2 callersFunctiongetHpaMetricSpec
getHpaMetricSpec returns a list of metric specs for the HPA resource Target type is hardcoded to hpa.UtilizationMetricType Each MetricSpec specifies t
pkg/transformer/kubernetes/k8sutils.go:1206
↓ 2 callersFunctiongetResourceHpaValues
getResourceHpaValues retrieves the min/max replicas and CPU/memory utilization values control if maxReplicas is less than minReplicas
pkg/transformer/kubernetes/k8sutils.go:1159
↓ 2 callersFunctionhandleServiceType
(ServiceType string)
pkg/loader/compose/utils.go:154
↓ 2 callersFunctioni
()
docs/assets/js/jquery-2.1.1.js:3
↓ 2 callersFunctioninitBuildConfig
(name string, service kobject.ServiceConfig, repo string, branch string)
pkg/transformer/openshift/openshift.go:95
↓ 2 callersMethodinitSvcObject
(name string, service kobject.ServiceConfig, ports []api.ServicePort)
pkg/transformer/kubernetes/k8sutils.go:428
↓ 2 callersFunctionisConfigFile
isConfigFile checks if the given filePath should be used as a configMap if dir is not empty, withindir are treated as cofigmaps if it's configMap, mou
pkg/transformer/kubernetes/k8sutils.go:1238
↓ 2 callersFunctionisContentOverflowing
(el)
docs/assets/js/plugins.js:584
↓ 2 callersFunctionisLocal
(url)
docs/assets/js/live.js:50
↓ 2 callersFunctionj
(l)
docs/assets/js/jquery-2.1.1.js:2
↓ 2 callersFunctionk
(a)
docs/assets/js/jquery.validate.min.js:4
↓ 2 callersFunctionkb
(a,b)
docs/assets/js/jquery-2.1.1.js:2
↓ 2 callersFunctionl
(a)
docs/assets/js/jquery.validate.min.js:4
↓ 2 callersFunctionloadPlacement
(placement types.Placement)
pkg/loader/compose/compose.go:193
↓ 2 callersFunctionloadVolumes
Convert the Compose volumes to []string (the old way) TODO: Check to see if it's a "bind" or "volume". Ignore for now. TODO: Refactor it similar to lo
pkg/loader/compose/compose.go:259
↓ 2 callersFunctionmarshal
marshal object runtime.Object and return byte array
pkg/transformer/kubernetes/k8sutils.go:305
↓ 2 callersFunctionmergeContainersIntoDestinationDeployment
mergeContainersIntoDestinationDeployment takes a list of deployment mappings and a list of runtime objects and merges containers from source deploymen
pkg/transformer/kubernetes/k8sutils.go:1327
↓ 2 callersFunctiono
(t,e,r)
docs/assets/js/plugins.js:901
↓ 2 callersFunctionoverflowAutoOrScroll
(el)
docs/assets/js/plugins.js:595
↓ 2 callersFunctionoverflowNotHidden
(el)
docs/assets/js/plugins.js:589
↓ 2 callersFunctionoverflowingAncestor
(el)
docs/assets/js/plugins.js:561
↓ 2 callersFunctionparseContainerCommandsFromStr
parseContainerCommandsFromStr parses a string containing comma-separated commands returns a slice of strings or a single command example: [ "bundle",
pkg/transformer/kubernetes/k8sutils.go:1098
↓ 2 callersFunctionparseEnvFiles
(composeServiceConfig *types.ServiceConfig, serviceConfig *kobject.ServiceConfig)
pkg/loader/compose/compose.go:694
↓ 2 callersFunctionparseHealthCheck
* Convert the HealthCheckConfig as designed by Docker to a Kubernetes-compatible format. */
pkg/loader/compose/compose.go:394
↓ 2 callersFunctionparseHealthCheckReadiness
* Convert the HealthCheckConfig as designed by Docker to a Kubernetes-compatible format. */
pkg/loader/compose/compose.go:322
↓ 2 callersFunctionparseKomposeLabels
parseKomposeLabels parse kompose labels, also do some validation
pkg/loader/compose/compose.go:738
↓ 2 callersFunctionpulse_
* Viscous fluid with a pulse for part and decay for the rest. * - Applies a fixed force over an interval (a damped acceleration), and * - Lets the
docs/assets/js/plugins.js:730
↓ 2 callersFunctionrc
(a)
docs/assets/js/jquery-2.1.1.js:4
↓ 2 callersFunctionrefreshHeight
($accordion)
docs/assets/js/jquery.accordion.js:150
↓ 2 callersFunctionremoveDeploymentTransfered
removeDeploymentTransfered iterates over a list of DeploymentMapping and removes each deployment that marked in deploymentMappings
pkg/transformer/kubernetes/k8sutils.go:1383
↓ 2 callersFunctionremoveEmptyInterfaces
remove empty map[string]interface{} strings from the object Note: this function uses recursion, use it only objects created by the unmarshalled json.
pkg/transformer/kubernetes/k8sutils.go:322
↓ 2 callersFunctionremoveFromSlice
removeFromSlice removes a specific object from a slice of runtime objects and returns the updated slice
pkg/transformer/kubernetes/k8sutils.go:1402
↓ 2 callersFunctionremoveTargetDeployment
removeTargetDeployment iterates over a list of runtime objects and removes the target deployment from the list
pkg/transformer/kubernetes/k8sutils.go:1391
↓ 2 callersFunctions
(e)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionsc
(a,b,c,d)
docs/assets/js/jquery-2.1.1.js:4
↓ 2 callersFunctionscheduleClearCache
()
docs/assets/js/plugins.js:536
↓ 2 callersFunctionscrollArray
* Pushes scroll actions to the scrolling queue.
docs/assets/js/plugins.js:210
↓ 2 callersFunctionsearchNetworkModeToService
searchNetworkModeToService iterates over services and checking their network mode service: its separates over process of transferring containers, it d
pkg/transformer/kubernetes/k8sutils.go:1363
↓ 2 callersFunctionsetVolumeAccessMode
setVolumeAccessMode sets the access mode for a volume based on the mode string current types: ReadOnly RO and ReadOnlyMany ROX can be mounted in read-
pkg/transformer/kubernetes/k8sutils.go:1296
↓ 2 callersFunctiontoggleTransition
($el, remove)
docs/assets/js/jquery.accordion.js:95
↓ 2 callersFunctionupdateParentHeight
($parentAccordion, $currentAccordion, qty, operation)
docs/assets/js/jquery.accordion.js:119
↓ 2 callersFunctionuseSubPathMount
useSubPathMount check if a configmap should be mounted as subpath in this situation, this configmap will only contains 1 key in data
pkg/transformer/kubernetes/kubernetes.go:339
↓ 2 callersFunctionv
(e,t,o,i,n)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionx
(e,t,o)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionyb
(a,b)
docs/assets/js/jquery-2.1.1.js:3
↓ 1 callersFunctionAddContainer
AddContainer method is responsible for adding a new container to a k8s Pod.
pkg/transformer/kubernetes/podspec.go:26
↓ 1 callersFunctionB
()
docs/assets/js/plugins.js:879
↓ 1 callersFunctionBc
(a,b,c,d)
docs/assets/js/jquery-2.1.1.js:4
↓ 1 callersFunctionC
(e,t,o)
docs/assets/js/popper.min.js:4
↓ 1 callersFunctionCheckForHealthCheckLivenessAndReadiness
CheckForHealthCheckLivenessAndReadiness check if has liveness and readiness in healthcheck configured.
pkg/testutils/kubernetes.go:31
↓ 1 callersMethodCheckUnsupportedKey
CheckUnsupportedKey checks if given komposeObject contains keys that are not supported by this transformer. list of all unsupported keys are stored in
pkg/transformer/kubernetes/kubernetes.go:79
↓ 1 callersMethodConfigConfigMapVolumeSource
ConfigConfigMapVolumeSource config a configmap to use as volume source
pkg/transformer/kubernetes/kubernetes.go:1136
↓ 1 callersMethodConfigHostPathVolumeSource
ConfigHostPathVolumeSource is a helper function to create a HostPath api.VolumeSource
pkg/transformer/kubernetes/kubernetes.go:1162
↓ 1 callersMethodConfigLBServicePorts
ConfigLBServicePorts method configure the ports of the k8s Load Balancer Service
pkg/transformer/kubernetes/kubernetes.go:722
↓ 1 callersMethodConfigPVCVolumeSource
ConfigPVCVolumeSource is helper function to create an api.VolumeSource with a PVC
pkg/transformer/kubernetes/kubernetes.go:1178
↓ 1 callersMethodConfigSecretVolumes
ConfigSecretVolumes config volumes from secret. Link: https://docs.docker.com/compose/compose-file/#secrets In kubernetes' Secret resource, it has a d
pkg/transformer/kubernetes/kubernetes.go:848
↓ 1 callersMethodConfigServicePorts
ConfigServicePorts configure the container service ports.
pkg/transformer/kubernetes/kubernetes.go:751
↓ 1 callersMethodCreateNetworkPolicy
CreateNetworkPolicy initializes Network policy
pkg/transformer/kubernetes/kubernetes.go:1412
↓ 1 callersFunctionCreateOutFile
CreateOutFile creates the file to write to if --out is specified
pkg/transformer/utils.go:50
↓ 1 callersFunctionCreateTarball
* CreateTarball creates a tarball for source and dumps it to target path Function modified and added from https://github.com/mholt/archiver/blob/mast
pkg/utils/archive/tar.go:32
↓ 1 callersFunctionD
(e,t,o,i)
docs/assets/js/popper.min.js:4
↓ 1 callersFunctionDomainName
DomainName configure the domain name of a pod
pkg/transformer/kubernetes/podspec.go:300
↓ 1 callersFunctionE
(e)
docs/assets/js/popper.min.js:4
↓ 1 callersFunctionExecute
Execute executes the root level command. It returns an error if any.
cmd/root.go:104
↓ 1 callersFunctionFormatContainerName
FormatContainerName format Container name
pkg/transformer/kubernetes/k8sutils.go:1015
↓ 1 callersFunctionG
(e,t,o,i)
docs/assets/js/popper.min.js:4
↓ 1 callersFunctionG
(a)
docs/assets/js/jquery-2.1.1.js:2
↓ 1 callersFunctionGb
(a,b,c)
docs/assets/js/jquery-2.1.1.js:3
↓ 1 callersFunctionGenerate
Generate the appropriate autocompletion file
cmd/completion.go:39
↓ 1 callersMethodGetConfigMapKeyFromMeta
GetConfigMapKeyFromMeta ... given a source name ,find the file and extract the filename which will be act as ConfigMap key return "" if not found
pkg/kobject/kobject.go:248
↓ 1 callersFunctionGetContainerArgs
GetContainerArgs update the interpolation of env variables if exists. example: [curl, $PROTOCOL://$DOMAIN] => [curl, $(PROTOCOL)://$(DOMAIN)]
pkg/transformer/kubernetes/k8sutils.go:1036
↓ 1 callersFunctionGetFileName
GetFileName extracts the file name from a given file path or file name. If the input fileName contains a "/", it retrieves the substring after the las
pkg/transformer/kubernetes/k8sutils.go:1050
↓ 1 callersMethodGetKubernetesUpdateStrategy
GetKubernetesUpdateStrategy from compose update_config 1. only apply to Deployment, but the check is not happened here 2. only support `parallelism` a
pkg/kobject/kobject.go:285
↓ 1 callersFunctionGetLoader
GetLoader returns loader for given format
pkg/loader/loader.go:33
↓ 1 callersMethodGetOSUpdateStrategy
GetOSUpdateStrategy ...
pkg/kobject/kobject.go:312
↓ 1 callersFunctionH
(e,t,o,i)
docs/assets/js/popper.min.js:4
↓ 1 callersFunctionHasGitBinary
HasGitBinary checks if the 'git' binary is available on the system
pkg/transformer/openshift/utils.go:52
↓ 1 callersFunctionHostName
HostName configure the host name of a pod
pkg/transformer/kubernetes/podspec.go:290
↓ 1 callersFunctionImagePullPolicy
ImagePullPolicy Configure the image pull policy
pkg/transformer/kubernetes/podspec.go:266
← previousnext →201–300 of 586, ranked by callers