MCPcopy Create free account

hub / github.com/kubernetes/kompose / functions

Functions586 in github.com/kubernetes/kompose

↓ 3 callersMethodConfigTmpfs
ConfigTmpfs configure the tmpfs.
pkg/transformer/kubernetes/kubernetes.go:813
↓ 3 callersFunctionConfigTopologySpreadConstraints
ConfigTopologySpreadConstraints configures the TopologySpreadConstraints.
pkg/transformer/kubernetes/kubernetes.go:1269
↓ 3 callersMethodConvert
(options ConvertOptions)
client/convert.go:11
↓ 3 callersFunctionCreateGitRemoteBranch
CreateGitRemoteBranch TODO: comment
pkg/testutils/git.go:55
↓ 3 callersMethodCreateSecrets
CreateSecrets create secrets
pkg/transformer/kubernetes/kubernetes.go:626
↓ 3 callersMethodCreateService
CreateService creates a k8s service
pkg/transformer/kubernetes/k8sutils.go:460
↓ 3 callersFunctionCreateSubdir
CreateSubdir TODO: comment
pkg/testutils/git.go:71
↓ 3 callersMethodCreateWorkloadAndConfigMapObjects
CreateWorkloadAndConfigMapObjects generates a Kubernetes artifact for each input type service
pkg/transformer/kubernetes/kubernetes.go:1313
↓ 3 callersFunctionDurationStrToSecondsInt
DurationStrToSecondsInt converts duration string to *int64 in seconds
pkg/transformer/kubernetes/k8sutils.go:943
↓ 3 callersFunctionGetContentFromFile
GetContentFromFile gets the content from the file..
pkg/transformer/kubernetes/k8sutils.go:971
↓ 3 callersFunctionHandleError
(result interface{}, err error)
examples/web/main.go:70
↓ 3 callersMethodID
ID returns an unique id for this port settings, to avoid conflict
pkg/kobject/kobject.go:220
↓ 3 callersMethodInitPodSpecWithConfigMap
InitPodSpecWithConfigMap creates the pod specification
pkg/transformer/kubernetes/kubernetes.go:135
↓ 3 callersMethodInitSvc
InitSvc initializes Kubernetes Service object The created service name will = ServiceConfig.Name, but the selector may be not. If this service is grou
pkg/transformer/kubernetes/kubernetes.go:204
↓ 3 callersMethodLen
Len returns the number of elements in the collection.
pkg/transformer/utils.go:326
↓ 3 callersFunctionR
(e)
docs/assets/js/popper.min.js:4
↓ 3 callersFunctionR
(a)
docs/assets/js/plugins.js:879
↓ 3 callersFunctionS
(a)
docs/assets/js/plugins.js:879
↓ 3 callersFunctionSetGitRemote
SetGitRemote TODO: comment
pkg/testutils/git.go:44
↓ 3 callersFunctionU
(e,t)
docs/assets/js/popper.min.js:4
↓ 3 callersMethodUpdateKubernetesObjects
UpdateKubernetesObjects loads configurations to k8s objects
pkg/transformer/kubernetes/k8sutils.go:549
↓ 3 callersFunctionallDeltasDivisableBy
(divisor)
docs/assets/js/plugins.js:666
↓ 3 callersFunctioncalculateHeight
($el)
docs/assets/js/jquery.accordion.js:109
↓ 3 callersFunctiong
(e)
docs/assets/js/popper.min.js:4
↓ 3 callersFunctiongb
()
docs/assets/js/jquery-2.1.1.js:2
↓ 3 callersFunctioni
(t,e)
docs/assets/js/bootstrap.min.js:6
↓ 3 callersFunctioninitConfigMapData
(configMap *api.ConfigMap, data map[string]string)
pkg/transformer/kubernetes/kubernetes.go:349
↓ 3 callersMethodinitDeploymentConfig
initDeploymentConfig initializes OpenShifts DeploymentConfig object
pkg/transformer/openshift/openshift.go:154
↓ 3 callersMethodinitRoute
(name string, service kobject.ServiceConfig, port int32)
pkg/transformer/openshift/openshift.go:224
↓ 3 callersFunctionl
(e,t)
docs/assets/js/popper.min.js:4
↓ 3 callersFunctionloadPorts
Convert Compose ports to kobject.Ports expose ports will be treated as TCP ports
pkg/loader/compose/compose.go:280
↓ 3 callersFunctionnewSimpleServiceConfig
()
pkg/transformer/kubernetes/kubernetes_test.go:78
↓ 3 callersFunctionnormalizeContainerNames
(svcName string)
pkg/loader/compose/utils.go:180
↓ 3 callersFunctionnormalizeNetworkNames
(netName string)
pkg/loader/compose/utils.go:193
↓ 3 callersFunctiono
(e)
docs/assets/js/popper.min.js:4
↓ 3 callersFunctionrb
(a,b,c)
docs/assets/js/jquery-2.1.1.js:2
↓ 3 callersFunctions
(a)
docs/assets/js/jquery-2.1.1.js:2
↓ 3 callersFunctionsetCache
(elems, overflowing, x)
docs/assets/js/plugins.js:543
↓ 3 callersFunctiontc
(a,b)
docs/assets/js/jquery-2.1.1.js:4
↓ 3 callersFunctionu
(e,o)
docs/assets/js/popper.min.js:4
↓ 3 callersFunctionvalidatePercentageMetric
validatePercentageMetric validates the CPU or memory metrics value ensuring that it falls within the acceptable range [1, 100].
pkg/transformer/kubernetes/k8sutils.go:1181
↓ 3 callersFunctionw
(e,t,i,r)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionAssignNamespaceToObjects
AssignNamespaceToObjects will add the namespace metadata to each object
pkg/transformer/utils.go:475
↓ 2 callersFunctionB
(e)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionBuildDockerImage
BuildDockerImage builds docker image
pkg/transformer/utils.go:358
↓ 2 callersMethodBuildImage
* BuildImage builds a Docker image via the Docker API or Docker CLI. Takes the source directory and image name and then builds the appropriate image.
pkg/utils/docker/build.go:46
↓ 2 callersFunctionCheckForHeadless
CheckForHeadless is helper function for tests. It checks if all Services in objects are Headless Services and if there is at least one such Services.
pkg/testutils/kubernetes.go:13
↓ 2 callersFunctionClient
Client connects to Docker client on host
pkg/utils/docker/client.go:26
↓ 2 callersMethodConfigEmptyVolumeSource
ConfigEmptyVolumeSource is helper function to create an EmptyDir api.VolumeSource either for Tmpfs or for emptyvolumes
pkg/transformer/kubernetes/kubernetes.go:1121
↓ 2 callersFunctionConfigEnvs
ConfigEnvs configures the environment variables.
pkg/transformer/kubernetes/kubernetes.go:1188
↓ 2 callersMethodConfigVolumes
ConfigVolumes configure the container volumes.
pkg/transformer/kubernetes/kubernetes.go:970
↓ 2 callersFunctionConvert
Convert transforms docker compose or dab file to k8s objects
pkg/app/app.go:209
↓ 2 callersMethodCreateHeadlessService
CreateHeadlessService creates a k8s headless service. This is used for docker-compose services without ports. For such services we can't create regula
pkg/transformer/kubernetes/k8sutils.go:486
↓ 2 callersMethodCreateLBService
CreateLBService creates a k8s Load Balancer Service
pkg/transformer/kubernetes/k8sutils.go:445
↓ 2 callersFunctionCreateNamespace
CreateNamespace creates a Kubernetes namespace, which can be used in both: Openshift and Kubernetes
pkg/transformer/utils.go:462
↓ 2 callersMethodCreatePVC
CreatePVC initializes PersistentVolumeClaim
pkg/transformer/kubernetes/kubernetes.go:658
↓ 2 callersFunctionD
(a,b)
docs/assets/js/jquery-2.1.1.js:2
↓ 2 callersFunctionExists
Exists returns true if a file path exists. Otherwise, returns false.
pkg/transformer/utils.go:44
↓ 2 callersFunctionF
(e,t,o)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionFb
(a,b)
docs/assets/js/jquery-2.1.1.js:3
↓ 2 callersFunctionFormatFileName
FormatFileName format file name
pkg/transformer/kubernetes/k8sutils.go:1004
↓ 2 callersFunctionG
()
docs/assets/js/plugins.js:879
↓ 2 callersMethodGet
Get is responsible for returning the pod spec of a particular pod
pkg/transformer/kubernetes/podspec.go:371
↓ 2 callersFunctionGetAbsBuildContext
GetAbsBuildContext returns build context relative to project root dir
pkg/transformer/openshift/utils.go:35
↓ 2 callersFunctionGetEnvsFromFile
GetEnvsFromFile get env vars from env_file
pkg/transformer/kubernetes/k8sutils.go:956
↓ 2 callersFunctionGetGitCurrentBranch
GetGitCurrentBranch gets current git branch name for the current git repo
pkg/transformer/openshift/utils.go:77
↓ 2 callersFunctionGetGitCurrentRemoteURL
GetGitCurrentRemoteURL gets current git remote URI for the current git repo
pkg/transformer/openshift/utils.go:58
↓ 2 callersFunctionGetImagePullPolicy
GetImagePullPolicy get image pull settings
pkg/transformer/kubernetes/k8sutils.go:861
↓ 2 callersFunctionGetRestartPolicy
GetRestartPolicy ...
pkg/transformer/kubernetes/k8sutils.go:877
↓ 2 callersFunctionHb
(a,b,c,d,e)
docs/assets/js/jquery-2.1.1.js:3
↓ 2 callersFunctionIb
(a,b,c)
docs/assets/js/jquery-2.1.1.js:3
↓ 2 callersMethodInitCJ
InitCJ initializes Kubernetes CronJob object
pkg/transformer/kubernetes/kubernetes.go:526
↓ 2 callersMethodInitConfigMapFromFile
InitConfigMapFromFile initializes a ConfigMap object
pkg/transformer/kubernetes/kubernetes.go:386
↓ 2 callersMethodInitPod
InitPod initializes Kubernetes Pod object
pkg/transformer/kubernetes/kubernetes.go:1395
↓ 2 callersFunctionJb
(a,b)
docs/assets/js/jquery-2.1.1.js:3
↓ 2 callersFunctionK
(e)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionKc
(a)
docs/assets/js/jquery-2.1.1.js:4
↓ 2 callersFunctionN
(t,o,i)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionO
(e)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionP
(a,b,c)
docs/assets/js/jquery-2.1.1.js:2
↓ 2 callersFunctionParseImage
ParseImage Using https://github.com/novln/docker-parser in order to parse the appropriate name and registry. 1. Return default registry when the regis
pkg/utils/docker/image.go:51
↓ 2 callersFunctionParseVols
ParseVols parse volumes
pkg/loader/compose/compose.go:922
↓ 2 callersMethodPortsExist
PortsExist checks if service has ports defined
pkg/transformer/kubernetes/k8sutils.go:424
↓ 2 callersFunctionPrint
Print either prints to stdout or to file/s
pkg/transformer/utils.go:282
↓ 2 callersFunctionPushDockerImageWithOpt
PushDockerImageWithOpt pushes docker image
pkg/transformer/utils.go:413
↓ 2 callersMethodRemoveDupObjects
RemoveDupObjects remove objects that are dups...eg. configmaps from env. since we know for sure that the duplication can only happen on ConfigMap, so
pkg/transformer/kubernetes/k8sutils.go:912
↓ 2 callersFunctionS
(e,t,o)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionSb
()
docs/assets/js/jquery-2.1.1.js:3
↓ 2 callersFunctionSetVolumeMountPaths
SetVolumeMountPaths method returns a set of volumes mount path
pkg/transformer/kubernetes/podspec.go:225
↓ 2 callersFunctionSetVolumeNames
SetVolumeNames method return a set of volume names
pkg/transformer/kubernetes/podspec.go:200
↓ 2 callersMethodSortServicesFirst
SortServicesFirst - the objects that we get can be in any order this keeps services first according to best practice kubernetes services should be cre
pkg/transformer/kubernetes/k8sutils.go:893
↓ 2 callersFunctionT
(a,b,c)
docs/assets/js/plugins.js:879
↓ 2 callersMethodUpdateController
UpdateController updates the given object with the given pod template update function and ObjectMeta update function
pkg/transformer/kubernetes/kubernetes.go:1740
↓ 2 callersFunctionValidateComposeFile
ValidateComposeFile validates the compose file provided for conversion
pkg/app/app.go:148
↓ 2 callersFunctionW
(e,t)
docs/assets/js/popper.min.js:4
↓ 2 callersFunctionWithSuppressWarnings
()
client/options.go:6
↓ 2 callersFunctionaddContainersFromSourceToTargetDeployment
addContainersFromSourceToTargetDeployment adds containers from the source deployment if current deployment name matches source deployment name
pkg/transformer/kubernetes/k8sutils.go:1335
↓ 2 callersFunctionaddContainersToTargetDeployment
addContainersToTargetDeployment takes - list of runtime objects - list of containers to append - deployment name to transfer appends the containers to
pkg/transformer/kubernetes/k8sutils.go:1350
↓ 2 callersFunctionbuildServiceImage
(opt kobject.ConvertOptions, service kobject.ServiceConfig, name string)
pkg/transformer/kubernetes/kubernetes.go:1440
↓ 2 callersFunctionc
()
docs/assets/js/popper.min.js:4
← previousnext →101–200 of 586, ranked by callers