Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/cloud-builders
/ functions
Functions
340 in github.com/GoogleCloudPlatform/cloud-builders
⨍
Functions
340
◇
Types & classes
72
↳
Endpoints
1
↓ 1 callers
Function
CreateServiceObject
CreateServiceObject creates a Service object with the given name with service type LoadBalancer.
gke-deploy/core/resource/resource.go:368
↓ 1 callers
Function
DeploySummary
DeploySummary returns a string representation of a summary of a list of objects' deploy statuses.
gke-deploy/core/resource/resource.go:377
↓ 1 callers
Method
Digest
Digest returns the sha256 of this image's manifest.
gke-deploy/testservices/remote.go:30
↓ 1 callers
Method
Fetch
Fetch is the main entry point into Fetcher. Based on configuration, it pulls source from GCS into the destination directory.
gcs-fetcher/pkg/fetcher/fetcher.go:944
↓ 1 callers
Function
GetDeployedObject
GetDeployedObject gets an object deployed to the current context's cluster.
gke-deploy/core/cluster/cluster.go:38
↓ 1 callers
Function
HasObject
HasObject returns true if there exists an object in objs that matches the provided kind and name.
gke-deploy/core/resource/resource.go:320
↓ 1 callers
Function
Name
Name gets an image's name from a Reference. e.g., If the string representation of the Reference is "gcr.io/my-project/my-image:1.0.0", this returns "g
gke-deploy/core/image/image.go:15
↓ 1 callers
Function
NewCommand
NewCommand creates the `gke-deploy` top-level command.
gke-deploy/cmd/root.go:53
↓ 1 callers
Function
NewGcloud
NewGcloud returns a new Gcloud object.
gke-deploy/services/gcloud.go:43
↓ 1 callers
Function
NewGcloudGoClient
NewGcloudGoClient returns a new Gcloud object.
gke-deploy/services/gcloud.go:53
↓ 1 callers
Function
NewGsutil
NewGsutil returns a new Gsutil object
gke-deploy/services/gsutil.go:17
↓ 1 callers
Function
NewKubectl
NewKubectl returns a new Kubectl object.
gke-deploy/services/kubectl.go:18
↓ 1 callers
Function
NewOS
NewOS returns a new OS object.
gke-deploy/services/os.go:13
↓ 1 callers
Function
NewRemote
NewRemote returns a new Remote object.
gke-deploy/services/remote.go:18
↓ 1 callers
Function
ParseBucketObject
ParseBucketObject parses a URI into the bucket and object name it points to. It supports URIs in either of these forms: - https://storage.googleapis.
gcs-fetcher/pkg/common/common.go:47
↓ 1 callers
Function
UpdateMatchingContainerImage
UpdateMatchingContainerImage updates all objects that have container images matching the provided image name with the provided replacement string.
gke-deploy/core/resource/resource.go:227
↓ 1 callers
Function
UpdateNamespace
UpdateNamespace updates all objects to change its namespace to the provided namespace. Objects that do not have a namespace field will also be updated
gke-deploy/core/resource/resource.go:291
↓ 1 callers
Function
UseGsutil
UseGsutil returns true if the config or suggestedOutput or expandedOutput has a prefix of gs://. This indicates whether to pull the config from GCS or
gke-deploy/cmd/common/common.go:111
↓ 1 callers
Function
apply
(_ *cobra.Command, options *options)
gke-deploy/cmd/apply/apply.go:75
↓ 1 callers
Function
copyDir
(srcdir, destdir string, info os.FileInfo)
gke-deploy/testservices/gsutil.go:61
↓ 1 callers
Function
copyFile
(src, dst string)
gke-deploy/testservices/gsutil.go:31
↓ 1 callers
Method
copyWithTimeout
copyWithTimeout calls GcsService to move the files. The call will time out if it takes too long.
gke-deploy/core/gcs/gcs.go:70
↓ 1 callers
Function
crdIsInstalled
crdIsInstalled returns true if a CRD <crd> is installed in the current context's cluster, else false.
gke-deploy/core/crd/crd.go:33
↓ 1 callers
Function
daemonSetIsReady
daemonSetIsReady returns true if a deployed object with kind "DaemonSet" is ready. This returns true if the following bullets are true: * status.obser
gke-deploy/core/resource/ready.go:43
↓ 1 callers
Function
deploySummaryExtraInfo
(obj *Object)
gke-deploy/core/resource/resource.go:459
↓ 1 callers
Function
deploymentIsReady
deploymentIsReady returns true if a deployed object with kind "Deployment" is ready. This returns true if the following bullets are true: * status.obs
gke-deploy/core/resource/ready.go:99
↓ 1 callers
Function
getK8sClusterConfigs
getK8sClusterConfigs uses the go client libraries to authenticate against the cluster and generate the kubeconfig file instead of the gcloud CLI.
gke-deploy/services/gcloud.go:97
↓ 1 callers
Method
gkeLinks
(clusterProject string)
gke-deploy/deployer/deployer.go:563
↓ 1 callers
Function
hasYamlOrYmlSuffix
(filename string)
gke-deploy/core/resource/resource.go:719
↓ 1 callers
Function
isAlreadyExists
(err error)
gcs-fetcher/pkg/uploader/uploader.go:152
↓ 1 callers
Function
newImageWithDigest
(t *testing.T, image string)
gke-deploy/core/image/image_test.go:119
↓ 1 callers
Function
persistentVolumeClaimIsReady
persistentVolumeClaimIsReady returns true if a deployed object with kind "PersistentVolumeClaim" is ready. This returns true if the following bullets
gke-deploy/core/resource/ready.go:210
↓ 1 callers
Function
podDisruptionBudgetIsReady
podDisruptionBudget returns true if a deployed object with kind "PodDisruptionBudget" is ready. This returns true if the following bullets are true: *
gke-deploy/core/resource/ready.go:283
↓ 1 callers
Function
podIsReady
podIsReady returns true if a deployed object with kind "Pod" is ready. This returns true if the following bullets are true: * status.conditions contai
gke-deploy/core/resource/ready.go:227
↓ 1 callers
Function
prepare
(_ *cobra.Command, options *options)
gke-deploy/cmd/prepare/prepare.go:85
↓ 1 callers
Method
recordSuccess
(j job, started time.Time, size sizeBytes, finalname string, report *jobReport)
gcs-fetcher/pkg/fetcher/fetcher.go:211
↓ 1 callers
Function
replicaSetIsReady
replicaSetIsReady returns true if a deployed object with kind "ReplicaSet" is ready. This returns true if the following bullets are true: * status.obs
gke-deploy/core/resource/ready.go:324
↓ 1 callers
Function
replicationControllerIsReady
replicationControllerIsReady returns true if a deployed object with kind "ReplicaSet" is ready. This returns true if the following bullets are true: *
gke-deploy/core/resource/ready.go:416
↓ 1 callers
Function
run
(_ *cobra.Command, options *options)
gke-deploy/cmd/run/run.go:103
↓ 1 callers
Function
runCommandWithStdinRedirection
(ctx context.Context, printCommand bool, name, input string, args ...string)
gke-deploy/services/exec.go:15
↓ 1 callers
Function
serviceExternalName
(obj *Object)
gke-deploy/core/resource/resource.go:536
↓ 1 callers
Function
serviceIPs
(obj *Object)
gke-deploy/core/resource/resource.go:484
↓ 1 callers
Function
serviceIsReady
serviceIsReady returns true if a deployed object with kind "Service" is ready. This returns true if the following bullets are true: * Any of the follo
gke-deploy/core/resource/ready.go:476
↓ 1 callers
Function
statefulSetIsReady
statefulSetIsReady returns true if a deployed object with kind "Service" is ready. This returns true if the following bullets are true: * status.obser
gke-deploy/core/resource/ready.go:526
↓ 1 callers
Method
timeout
timeout returns the GCS timeout that will be used to call GcsService.
gke-deploy/core/gcs/gcs.go:82
↓ 1 callers
Method
writeManifest
(ctx context.Context)
gcs-fetcher/pkg/uploader/uploader.go:159
Method
Apply
Apply calls `kubectl apply -f <filename> -n <namespace>`.
gke-deploy/testservices/kubectl.go:22
Method
Apply
Apply calls `kubectl apply -f <filename> n <namespace>`.
gke-deploy/services/kubectl.go:29
Method
ApplyFromString
ApplyFromString calls `kubectl apply -f - -n <namespace> < ${configString}`.
gke-deploy/testservices/kubectl.go:40
Method
ApplyFromString
ApplyFromString calls `kubectl apply -f - -n <namespace> < ${configString}`.
gke-deploy/services/kubectl.go:44
Method
BuildWebHost
(string[] args)
dotnet/examples/TestApp-2.1/Program.cs:20
Method
BuildWebHost
(string[] args)
dotnet/examples/TestApp-2.0/Program.cs:20
Method
Chmod
(name string, mode os.FileMode)
gcs-fetcher/pkg/fetcher/fetcher_test.go:164
Method
Chmod
(name string, mode os.FileMode)
gcs-fetcher/cmd/gcs-fetcher/main.go:144
Method
ConfigGetValue
ConfigGetValue calls `gcloud config get-value <property>` and returns stdout.
gke-deploy/testservices/gcloud.go:26
Method
ConfigGetValue
ConfigGetValue calls `gcloud config get-value <property>` and returns stdout.
gke-deploy/services/gcloud.go:87
Method
Configure
This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
dotnet/examples/TestApp-2.1/Startup.cs:30
Method
Configure
This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
dotnet/examples/TestApp-2.0/Startup.cs:30
Method
ConfigureServices
This method gets called by the runtime. Use this method to add services to the container.
dotnet/examples/TestApp-2.1/Startup.cs:24
Method
ConfigureServices
This method gets called by the runtime. Use this method to add services to the container.
dotnet/examples/TestApp-2.0/Startup.cs:24
Method
ContainerClustersGetCredentials
ContainerClustersGetCredentials calls `gcloud container clusters get-credentials <clusterName> --zone=<clusterLocation> --project=<clusterProject>`.
gke-deploy/testservices/gcloud.go:16
Method
ContainerClustersGetCredentials
(ctx context.Context, clusterName, clusterLocation, clusterProject string)
gke-deploy/services/gcloud.go:59
Method
ContainerClustersGetCredentialsGoClient
ContainerClustersGetCredentialsGoClient calls `gcloud container clusters get-credentials <clusterName> --zone=<clusterLocation> --project=<clusterProj
gke-deploy/testservices/gcloud.go:21
Method
ContainerClustersGetCredentialsGoClient
ContainerClustersGetCredentialsGoClient uses the go client libraries to get cluster credentials and generate the kubeconfig file for kubectl. The kube
gke-deploy/services/gcloud.go:68
Function
Copy
Copy simulates the gcloud storage cp.
gke-deploy/testservices/gsutil.go:85
Method
Copy
(ctx context.Context, src, dst string, recursive bool)
gke-deploy/testservices/gsutil.go:20
Method
Copy
Copy calls `gsutil cp -r <source_url> <destination_url>
gke-deploy/services/gsutil.go:25
Method
Create
(name string)
gcs-fetcher/pkg/fetcher/fetcher_test.go:172
Method
Create
(name string)
gcs-fetcher/cmd/gcs-fetcher/main.go:148
Function
CreateDeployer
CreateDeployer creates a Deployer with initialized clients.
gke-deploy/cmd/common/common.go:76
Method
Delete
DELETE api/values/5
dotnet/examples/TestApp-2.1/Controllers/ValuesController.cs:39
Method
Delete
DELETE api/values/5
dotnet/examples/TestApp-2.0/Controllers/ValuesController.cs:39
Function
EncodeToYAMLString
EncodeToYAMLString encodes an object from *Object to a string.
gke-deploy/core/resource/resource.go:54
Method
EvalSymlinks
(path string)
gcs-fetcher/cmd/gcs-uploader/main.go:102
Function
Execute
Execute executes the `gke-deploy` top-level command.
gke-deploy/cmd/root.go:70
Function
ExpandedOutputPath
ExpandedOutputPath takes a root output directory and returns the path where expanded configs should be stored.
gke-deploy/cmd/common/common.go:97
Function
GcloudInPath
GcloudInPath returns true if the `gcloud` command is in this machine's PATH.
gke-deploy/cmd/common/common.go:102
Method
Get
Get calls `kubectl get <kind> <name> -n <namespace> --output=<format>`.
gke-deploy/testservices/kubectl.go:58
Method
Get
Get calls `kubectl get <kind> <name> -n <namespace> --output=<format>`.
gke-deploy/services/kubectl.go:59
Method
Get
GET api/values
dotnet/examples/TestApp-2.1/Controllers/ValuesController.cs:13
Method
Get
GET api/values
dotnet/examples/TestApp-2.0/Controllers/ValuesController.cs:13
Method
Image
Image gets a remote image from a reference.
gke-deploy/testservices/remote.go:17
Method
Image
Image gets a remote image from a reference.
gke-deploy/services/remote.go:23
Method
Main
(string[] args)
dotnet/examples/TestApp-2.1/Program.cs:15
Method
Main
(string[] args)
dotnet/examples/TestApp-2.0/Program.cs:15
Method
MkdirAll
MkdirAll creates a directory dirname, including all parent directories if they do not exist.
gke-deploy/testservices/os.go:82
Method
MkdirAll
MkdirAll creates a directory dirname, including all parent directories if they do not exist.
gke-deploy/services/os.go:44
Method
MkdirAll
(path string, perm os.FileMode)
gcs-fetcher/pkg/fetcher/fetcher_test.go:181
Method
MkdirAll
(path string, perm os.FileMode)
gcs-fetcher/cmd/gcs-fetcher/main.go:152
Function
New
New returns a new Uploader.
gcs-fetcher/pkg/uploader/uploader.go:61
Function
NewApplyCommand
NewApplyCommand creates the `gke-deploy apply` subcommand.
gke-deploy/cmd/apply/apply.go:47
Function
NewClients
NewClients returns a new Clients object with default services.
gke-deploy/services/clients.go:57
Function
NewPrepareCommand
NewPrepareCommand creates the `gke-deploy prepare` subcommand.
gke-deploy/cmd/prepare/prepare.go:53
Method
NewReader
(context context.Context, bucket, object string)
gcs-fetcher/pkg/fetcher/fetcher_test.go:108
Method
NewReader
(ctx context.Context, bucket, object string)
gcs-fetcher/cmd/gcs-fetcher/main.go:133
Function
NewRunCommand
NewRunCommand creates the `gke-deploy run` subcommand.
gke-deploy/cmd/run/run.go:66
Method
NewWriter
(ctx context.Context, bucket, object string)
gcs-fetcher/cmd/gcs-uploader/main.go:93
Method
Open
(name string)
gcs-fetcher/pkg/fetcher/fetcher_test.go:189
Method
Open
(name string)
gcs-fetcher/cmd/gcs-fetcher/main.go:156
Method
Post
POST api/values
dotnet/examples/TestApp-2.1/Controllers/ValuesController.cs:27
← previous
next →
101–200 of 340, ranked by callers