MCPcopy Create free account

hub / github.com/PacktWorkshops/Kubernetes-Workshop / functions

Functions33 in github.com/PacktWorkshops/Kubernetes-Workshop

↓ 2 callersFunctionserve
This is not a production ready code.
Chapter16/Activity16.01/Go/main.go:73
↓ 2 callersFunctionserve
This is not a production ready code.
Chapter16/Activity16.02/Go/main.go:73
↓ 1 callersFunctionFibonacciLoop
Taken from: https://www.thepolyglotdeveloper.com/2016/12/fibonacci-sequence-printed-golang/
Chapter15/Exercise15.02/with_autoscaler/main.go:74
↓ 1 callersFunctionbuildString
buildString build a long string with a length of `n`.
Chapter01/memconsumer/main.go:22
↓ 1 callersFunctioncheckAndRemovePods
(podlifecycleconfig *v1.PodLifecycleConfig, podclientset *kubernetes.Clientset)
Chapter19/Activity19.01/controller/main.go:139
↓ 1 callersFunctioncheckAndRemovePodsPeriodically
(signal chan struct{}, podclientset *kubernetes.Clientset, podlifecycleconfig *v1.PodLifecycleConfig)
Chapter19/Activity19.01/controller/main.go:115
FunctionKind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
Chapter19/Activity19.01/controller/pkg/apis/podlifecycleconfig/v1/register.go:19
FunctionMutateCustomAnnotation
** 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
FunctionMutateCustomAnnotation
** 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
FunctionResource
(resource string)
Chapter19/Activity19.01/controller/pkg/apis/podlifecycleconfig/v1/register.go:34
FunctionValidateTeamAnnotation
** 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
FunctionValidateTeamAnnotation
** 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
FunctionaddKnownTypes
addKnownTypes adds our types to the API scheme by registering PodLifecycleConfig and PodLifecycleConfigList
Chapter19/Activity19.01/controller/pkg/apis/podlifecycleconfig/v1/register.go:40
FunctionchangeNumberOfReplicasToZero
(podlifecycleconfig *v1.PodLifecycleConfig, podclientset *kubernetes.Clientset)
Chapter19/Activity19.01/controller/main.go:129
Functionhandler
(w http.ResponseWriter, r *http.Request)
Chapter01/Activity1.01/pageview-modified/main.go:25
Functionhandler
(w http.ResponseWriter, r *http.Request)
Chapter01/Activity1.01/pageview/main.go:16
Functionhandler
(w http.ResponseWriter, r *http.Request)
Chapter01/Exercise1.01/main.go:14
Functioninit
()
Chapter01/Activity1.01/pageview-modified/main.go:14
Functionmain
()
Chapter14/Exercise14.01/with_mysql/main.go:23
Functionmain
()
Chapter15/Exercise15.02/with_autoscaler/main.go:23
Functionmain
()
Chapter12/Exercise12.03/without_redis/main.go:10
Functionmain
()
Chapter12/Exercise12.04/with_redis/main.go:15
Functionmain
()
Chapter01/Activity1.01/pageview-modified/main.go:20
Functionmain
()
Chapter01/Activity1.01/pageview/main.go:11
Functionmain
()
Chapter01/memconsumer/main.go:9
Functionmain
()
Chapter01/Exercise1.01/main.go:9
Functionmain
()
Chapter16/Activity16.01/Go/main.go:36
Functionmain
()
Chapter16/Activity16.02/Go/main.go:36
Functionmain
()
Chapter19/Activity19.01/controller/main.go:38
MethodserveMutatingRequest
(w http.ResponseWriter, r *http.Request)
Chapter16/Activity16.01/Go/main.go:64
MethodserveMutatingRequest
(w http.ResponseWriter, r *http.Request)
Chapter16/Activity16.02/Go/main.go:64
MethodserveValidationRequest
(w http.ResponseWriter, r *http.Request)
Chapter16/Activity16.01/Go/main.go:68
MethodserveValidationRequest
(w http.ResponseWriter, r *http.Request)
Chapter16/Activity16.02/Go/main.go:68