Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktWorkshops/Kubernetes-Workshop
/ functions
Functions
33 in github.com/PacktWorkshops/Kubernetes-Workshop
⨍
Functions
33
◇
Types & classes
9
↓ 2 callers
Function
serve
This is not a production ready code.
Chapter16/Activity16.01/Go/main.go:73
↓ 2 callers
Function
serve
This is not a production ready code.
Chapter16/Activity16.02/Go/main.go:73
↓ 1 callers
Function
FibonacciLoop
Taken from: https://www.thepolyglotdeveloper.com/2016/12/fibonacci-sequence-printed-golang/
Chapter15/Exercise15.02/with_autoscaler/main.go:74
↓ 1 callers
Function
buildString
buildString build a long string with a length of `n`.
Chapter01/memconsumer/main.go:22
↓ 1 callers
Function
checkAndRemovePods
(podlifecycleconfig *v1.PodLifecycleConfig, podclientset *kubernetes.Clientset)
Chapter19/Activity19.01/controller/main.go:139
↓ 1 callers
Function
checkAndRemovePodsPeriodically
(signal chan struct{}, podclientset *kubernetes.Clientset, podlifecycleconfig *v1.PodLifecycleConfig)
Chapter19/Activity19.01/controller/main.go:115
Function
Kind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
Chapter19/Activity19.01/controller/pkg/apis/podlifecycleconfig/v1/register.go:19
Function
MutateCustomAnnotation
** This method checks inserts a kubernetes annoation to the pod specification. The annotation name is podModified and value is true This function gene
Chapter16/Activity16.01/Go/mutatingcontroller.go:20
Function
MutateCustomAnnotation
** This method checks inserts a kubernetes annoation to the pod specification. The annotation name is podModified and value is true This function gene
Chapter16/Activity16.02/Go/mutatingcontroller.go:20
Function
Resource
(resource string)
Chapter19/Activity19.01/controller/pkg/apis/podlifecycleconfig/v1/register.go:34
Function
ValidateTeamAnnotation
** This method checks if a particular teamName label is available in the pod spec. This function generates the response for the API call made by Kub
Chapter16/Activity16.01/Go/validatecontroller.go:17
Function
ValidateTeamAnnotation
** This method checks if a particular teamName label is available in the pod spec. This function generates the response for the API call made by Kub
Chapter16/Activity16.02/Go/validatecontroller.go:17
Function
addKnownTypes
addKnownTypes adds our types to the API scheme by registering PodLifecycleConfig and PodLifecycleConfigList
Chapter19/Activity19.01/controller/pkg/apis/podlifecycleconfig/v1/register.go:40
Function
changeNumberOfReplicasToZero
(podlifecycleconfig *v1.PodLifecycleConfig, podclientset *kubernetes.Clientset)
Chapter19/Activity19.01/controller/main.go:129
Function
handler
(w http.ResponseWriter, r *http.Request)
Chapter01/Activity1.01/pageview-modified/main.go:25
Function
handler
(w http.ResponseWriter, r *http.Request)
Chapter01/Activity1.01/pageview/main.go:16
Function
handler
(w http.ResponseWriter, r *http.Request)
Chapter01/Exercise1.01/main.go:14
Function
init
()
Chapter01/Activity1.01/pageview-modified/main.go:14
Function
main
()
Chapter14/Exercise14.01/with_mysql/main.go:23
Function
main
()
Chapter15/Exercise15.02/with_autoscaler/main.go:23
Function
main
()
Chapter12/Exercise12.03/without_redis/main.go:10
Function
main
()
Chapter12/Exercise12.04/with_redis/main.go:15
Function
main
()
Chapter01/Activity1.01/pageview-modified/main.go:20
Function
main
()
Chapter01/Activity1.01/pageview/main.go:11
Function
main
()
Chapter01/memconsumer/main.go:9
Function
main
()
Chapter01/Exercise1.01/main.go:9
Function
main
()
Chapter16/Activity16.01/Go/main.go:36
Function
main
()
Chapter16/Activity16.02/Go/main.go:36
Function
main
()
Chapter19/Activity19.01/controller/main.go:38
Method
serveMutatingRequest
(w http.ResponseWriter, r *http.Request)
Chapter16/Activity16.01/Go/main.go:64
Method
serveMutatingRequest
(w http.ResponseWriter, r *http.Request)
Chapter16/Activity16.02/Go/main.go:64
Method
serveValidationRequest
(w http.ResponseWriter, r *http.Request)
Chapter16/Activity16.01/Go/main.go:68
Method
serveValidationRequest
(w http.ResponseWriter, r *http.Request)
Chapter16/Activity16.02/Go/main.go:68