serving

module
v0.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: Apache-2.0

README

Knative Serving

go.dev reference Go Report Card Releases LICENSE Slack Status

Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers. Serving is easy to get started with and scales to support advanced scenarios.

The Knative Serving project provides middleware primitives that enable:

  • Rapid deployment of serverless containers
  • Automatic scaling up and down to zero
  • Routing and network programming for Istio components
  • Point-in-time snapshots of deployed code and configurations

For documentation on using Knative Serving, see the serving section of the Knative documentation site.

For documentation on the Knative Serving specification, see the docs folder of this repository.

If you are interested in contributing, see CONTRIBUTING.md and DEVELOPMENT.md.

Directories

Path Synopsis
cmd
activator command
autoscaler command
Multitenant autoscaler executable.
Multitenant autoscaler executable.
autoscaler-hpa command
controller command
default-domain command
networking
networking/certmanager command
networking/nscert command
queue command
webhook command
pkg
activator
activator/config
activator/handler
activator/net
Package net contains the Activator components that govern Activator's request throttling, routing, and reflect the cluster network state.
Package net contains the Activator components that govern Activator's request throttling, routing, and reflect the cluster network state.
activator/testing
activator/util
apis
+k8s:deepcopy-gen=package
+k8s:deepcopy-gen=package
apis/autoscaling
apis/autoscaling/v1alpha1
+k8s:deepcopy-gen=package +groupName=autoscaling.internal.knative.dev
+k8s:deepcopy-gen=package +groupName=autoscaling.internal.knative.dev
apis/config
Package config holds the typed objects that define the schemas for ConfigMap objects that pertain to our API objects.
Package config holds the typed objects that define the schemas for ConfigMap objects that pertain to our API objects.
apis/networking
apis/networking/v1alpha1
+k8s:deepcopy-gen=package +groupName=networking.internal.knative.dev
+k8s:deepcopy-gen=package +groupName=networking.internal.knative.dev
apis/serving
apis/serving/v1
+k8s:deepcopy-gen=package +groupName=serving.knative.dev Copyright 2020 The Knative Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
+k8s:deepcopy-gen=package +groupName=serving.knative.dev Copyright 2020 The Knative Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
apis/serving/v1alpha1
+k8s:deepcopy-gen=package +groupName=serving.knative.dev
+k8s:deepcopy-gen=package +groupName=serving.knative.dev
apis/serving/v1beta1
+k8s:deepcopy-gen=package +groupName=serving.knative.dev
+k8s:deepcopy-gen=package +groupName=serving.knative.dev
autoscaler
Package autoscaler calculates the number of pods necessary for the desired level of concurrency per pod (stableConcurrencyPerPod).
Package autoscaler calculates the number of pods necessary for the desired level of concurrency per pod (stableConcurrencyPerPod).
autoscaler/aggregation
autoscaler/config
Package config contains the config for the autoscaler
Package config contains the config for the autoscaler
autoscaler/fake
autoscaler/metrics
autoscaler/scaling
autoscaler/statserver
Package statserver provides a WebSocket server which receives autoscaler statistics, typically from queue proxy sidecar containers, and sends them to a channel.
Package statserver provides a WebSocket server which receives autoscaler statistics, typically from queue proxy sidecar containers, and sends them to a channel.
client/certmanager/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/certmanager/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/certmanager/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/certmanager/clientset/versioned/typed/acme/v1alpha2
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/certmanager/clientset/versioned/typed/acme/v1alpha2/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/certmanager/clientset/versioned/typed/certmanager/v1alpha2
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/certmanager/clientset/versioned/typed/certmanager/v1alpha2/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/certmanager/informers/externalversions
client/certmanager/informers/externalversions/acme
client/certmanager/informers/externalversions/acme/v1alpha2
client/certmanager/informers/externalversions/certmanager
client/certmanager/informers/externalversions/certmanager/v1alpha2
client/certmanager/informers/externalversions/internalinterfaces
client/certmanager/injection/client
client/certmanager/injection/client/fake
client/certmanager/injection/informers/acme/v1alpha2/challenge
client/certmanager/injection/informers/acme/v1alpha2/challenge/fake
client/certmanager/injection/informers/acme/v1alpha2/order
client/certmanager/injection/informers/acme/v1alpha2/order/fake
client/certmanager/injection/informers/certmanager/v1alpha2/certificate
client/certmanager/injection/informers/certmanager/v1alpha2/certificate/fake
client/certmanager/injection/informers/certmanager/v1alpha2/certificaterequest
client/certmanager/injection/informers/certmanager/v1alpha2/certificaterequest/fake
client/certmanager/injection/informers/certmanager/v1alpha2/clusterissuer
client/certmanager/injection/informers/certmanager/v1alpha2/clusterissuer/fake
client/certmanager/injection/informers/certmanager/v1alpha2/issuer
client/certmanager/injection/informers/certmanager/v1alpha2/issuer/fake
client/certmanager/injection/informers/factory
client/certmanager/injection/informers/factory/fake
client/certmanager/listers/acme/v1alpha2
client/certmanager/listers/certmanager/v1alpha2
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/autoscaling/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/autoscaling/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/networking/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/networking/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/serving/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/serving/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/serving/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/serving/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/serving/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/serving/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/informers/externalversions
client/informers/externalversions/autoscaling
client/informers/externalversions/autoscaling/v1alpha1
client/informers/externalversions/internalinterfaces
client/informers/externalversions/networking
client/informers/externalversions/networking/v1alpha1
client/informers/externalversions/serving
client/informers/externalversions/serving/v1
client/informers/externalversions/serving/v1alpha1
client/informers/externalversions/serving/v1beta1
client/injection/client
client/injection/client/fake
client/injection/ducks/autoscaling/v1alpha1/podscalable
client/injection/ducks/autoscaling/v1alpha1/podscalable/fake
client/injection/informers/autoscaling/v1alpha1/metric
client/injection/informers/autoscaling/v1alpha1/metric/fake
client/injection/informers/autoscaling/v1alpha1/podautoscaler
client/injection/informers/autoscaling/v1alpha1/podautoscaler/fake
client/injection/informers/factory
client/injection/informers/factory/fake
client/injection/informers/networking/v1alpha1/certificate
client/injection/informers/networking/v1alpha1/certificate/fake
client/injection/informers/networking/v1alpha1/ingress
client/injection/informers/networking/v1alpha1/ingress/fake
client/injection/informers/networking/v1alpha1/serverlessservice
client/injection/informers/networking/v1alpha1/serverlessservice/fake
client/injection/informers/serving/v1/configuration
client/injection/informers/serving/v1/configuration/fake
client/injection/informers/serving/v1/revision
client/injection/informers/serving/v1/revision/fake
client/injection/informers/serving/v1/route
client/injection/informers/serving/v1/route/fake
client/injection/informers/serving/v1/service
client/injection/informers/serving/v1/service/fake
client/injection/informers/serving/v1alpha1/configuration
client/injection/informers/serving/v1alpha1/configuration/fake
client/injection/informers/serving/v1alpha1/revision
client/injection/informers/serving/v1alpha1/revision/fake
client/injection/informers/serving/v1alpha1/route
client/injection/informers/serving/v1alpha1/route/fake
client/injection/informers/serving/v1alpha1/service
client/injection/informers/serving/v1alpha1/service/fake
client/injection/informers/serving/v1beta1/configuration
client/injection/informers/serving/v1beta1/configuration/fake
client/injection/informers/serving/v1beta1/revision
client/injection/informers/serving/v1beta1/revision/fake
client/injection/informers/serving/v1beta1/route
client/injection/informers/serving/v1beta1/route/fake
client/injection/informers/serving/v1beta1/service
client/injection/informers/serving/v1beta1/service/fake
client/injection/reconciler/autoscaling/v1alpha1/metric
client/injection/reconciler/autoscaling/v1alpha1/metric/stub
client/injection/reconciler/autoscaling/v1alpha1/podautoscaler
client/injection/reconciler/autoscaling/v1alpha1/podautoscaler/stub
client/injection/reconciler/networking/v1alpha1/certificate
client/injection/reconciler/networking/v1alpha1/certificate/stub
client/injection/reconciler/networking/v1alpha1/ingress
client/injection/reconciler/networking/v1alpha1/ingress/stub
client/injection/reconciler/networking/v1alpha1/serverlessservice
client/injection/reconciler/networking/v1alpha1/serverlessservice/stub
client/injection/reconciler/serving/v1/configuration
client/injection/reconciler/serving/v1/configuration/stub
client/injection/reconciler/serving/v1/revision
client/injection/reconciler/serving/v1/revision/stub
client/injection/reconciler/serving/v1/route
client/injection/reconciler/serving/v1/route/stub
client/injection/reconciler/serving/v1/service
client/injection/reconciler/serving/v1/service/stub
client/injection/reconciler/serving/v1alpha1/configuration
client/injection/reconciler/serving/v1alpha1/configuration/stub
client/istio/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/istio/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/istio/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/istio/clientset/versioned/typed/networking/v1alpha3
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/istio/clientset/versioned/typed/networking/v1alpha3/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/istio/informers/externalversions
client/istio/informers/externalversions/internalinterfaces
client/istio/informers/externalversions/networking
client/istio/informers/externalversions/networking/v1alpha3
client/istio/injection/client
client/istio/injection/client/fake
client/istio/injection/informers/factory
client/istio/injection/informers/factory/fake
client/istio/injection/informers/networking/v1alpha3/destinationrule
client/istio/injection/informers/networking/v1alpha3/destinationrule/fake
client/istio/injection/informers/networking/v1alpha3/envoyfilter
client/istio/injection/informers/networking/v1alpha3/envoyfilter/fake
client/istio/injection/informers/networking/v1alpha3/gateway
client/istio/injection/informers/networking/v1alpha3/gateway/fake
client/istio/injection/informers/networking/v1alpha3/serviceentry
client/istio/injection/informers/networking/v1alpha3/serviceentry/fake
client/istio/injection/informers/networking/v1alpha3/sidecar
client/istio/injection/informers/networking/v1alpha3/sidecar/fake
client/istio/injection/informers/networking/v1alpha3/virtualservice
client/istio/injection/informers/networking/v1alpha3/virtualservice/fake
client/istio/listers/networking/v1alpha3
client/listers/autoscaling/v1alpha1
client/listers/networking/v1alpha1
client/listers/serving/v1
client/listers/serving/v1alpha1
client/listers/serving/v1beta1
deployment
gc
+k8s:deepcopy-gen=package Package gc holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
+k8s:deepcopy-gen=package Package gc holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
http
leaderelection
logging
metrics
network
+k8s:deepcopy-gen=package Package network holds the typed objects that define the schemas for configuring the knative/serving networking layer.
+k8s:deepcopy-gen=package Package network holds the typed objects that define the schemas for configuring the knative/serving networking layer.
network/ingress
Package ingress holds utilities related to the implementation of ingress controllers.
Package ingress holds utilities related to the implementation of ingress controllers.
network/status
pool
Package pool contains a simple threadpool implementation that accepts work in the form of `func() error` function.
Package pool contains a simple threadpool implementation that accepts work in the form of `func() error` function.
queue
Package queue provides components for the queue-proxy binary.
Package queue provides components for the queue-proxy binary.
queue/health
queue/readiness
reconciler
Package reconciler defines implementations of the Reconciler interface defined at github.com/knative/pkg/controller.Reconciler.
Package reconciler defines implementations of the Reconciler interface defined at github.com/knative/pkg/controller.Reconciler.
reconciler/accessor
reconciler/accessor/core
reconciler/accessor/networking
reconciler/autoscaling
reconciler/autoscaling/config
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Autoscaling controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Autoscaling controller depends.
reconciler/autoscaling/hpa
reconciler/autoscaling/hpa/resources
reconciler/autoscaling/kpa
Package kpa implements a kubernetes controller which tracks revisions and notifies a callback interface.
Package kpa implements a kubernetes controller which tracks revisions and notifies a callback interface.
reconciler/autoscaling/kpa/resources
reconciler/autoscaling/resources
Package resources contains methods for manipulating K8s resources shared between different PA implementations.
Package resources contains methods for manipulating K8s resources shared between different PA implementations.
reconciler/autoscaling/resources/names
Package names contains methods for manipulating K8s resources' names shared between different PA implementations.
Package names contains methods for manipulating K8s resources' names shared between different PA implementations.
reconciler/certificate
reconciler/certificate/config
+k8s:deepcopy-gen=package Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Certificate controller depends.
+k8s:deepcopy-gen=package Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Certificate controller depends.
reconciler/certificate/resources
reconciler/configuration
reconciler/configuration/resources
Package resources holds simple functions for synthesizing child resources from a Configuration resource and any relevant Configuration controller configuration.
Package resources holds simple functions for synthesizing child resources from a Configuration resource and any relevant Configuration controller configuration.
reconciler/gc
reconciler/gc/config
+k8s:deepcopy-gen=package Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Configuration controller depends.
+k8s:deepcopy-gen=package Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Configuration controller depends.
reconciler/labeler
Package labeler holds the logic that applies Route labels to Configurations to implement knative/serving#226.
Package labeler holds the logic that applies Route labels to Configurations to implement knative/serving#226.
reconciler/metric
reconciler/nscert
reconciler/nscert/config
reconciler/nscert/resources
reconciler/nscert/resources/names
reconciler/revision
reconciler/revision/config
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Revision controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Revision controller depends.
reconciler/revision/resources
Package resources holds simple functions for synthesizing child resources from a Revision resource and any relevant Revision controller configuration.
Package resources holds simple functions for synthesizing child resources from a Revision resource and any relevant Revision controller configuration.
reconciler/revision/resources/names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.
reconciler/route
Package route implements a kubernetes controller which tracks Route resource and reconcile Ingress as its child resource.
Package route implements a kubernetes controller which tracks Route resource and reconcile Ingress as its child resource.
reconciler/route/config
+k8s:deepcopy-gen=package Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
+k8s:deepcopy-gen=package Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
reconciler/route/domains
Package domains holds simple functions for generating domains.
Package domains holds simple functions for generating domains.
reconciler/route/resources
Package resources holds simple functions for synthesizing child resources from a Route resource and any relevant Route controller configuration.
Package resources holds simple functions for synthesizing child resources from a Route resource and any relevant Route controller configuration.
reconciler/route/resources/labels
Package labels holds simple functions for working with ObjectMeta labels.
Package labels holds simple functions for working with ObjectMeta labels.
reconciler/route/resources/names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.
reconciler/route/traffic
reconciler/route/visibility
reconciler/serverlessservice
reconciler/serverlessservice/resources
reconciler/service
reconciler/service/resources
Package resources holds simple functions for synthesizing child resources from a Service resource and any relevant Service controller configuration.
Package resources holds simple functions for synthesizing child resources from a Service resource and any relevant Service controller configuration.
reconciler/service/resources/names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.
reconciler/testing/v1
reconciler/testing/v1alpha1
resources
Package resources contains various utilities for dealing with Kubernetes resources.
Package resources contains various utilities for dealing with Kubernetes resources.
testing
testing/v1
testing/v1alpha1
testing/v1beta1
test
apicoverage/image command
apicoverage/image/common
apicoverage/image/rules
apicoverage/image/webhook
apicoverage/tools command
conformance/api/v1
conformance/api/v1alpha1
conformance/api/v1beta1
conformance/certificate
conformance/ingress
conformance/runtime
e2e
e2e/autotls/config
e2e/autotls/config/disablenscert command
e2e/autotls/config/dnscleanup command
e2e/autotls/config/dnssetup command
ha
performance
performance/benchmarks/dataplane-probe/continuous command
performance/benchmarks/deployment-probe/continuous command
performance/benchmarks/load-test/continuous command
performance/benchmarks/scale-from-zero/continuous command
performance/metrics
test_images/autoscale command
test_images/failing command
test_images/flaky command
test_images/grpc-ping command
test_images/grpc-ping/proto
test_images/hellovolume command
test_images/helloworld command
test_images/httpproxy command
test_images/observed-concurrency command
test_images/pizzaplanetv1 command
test_images/pizzaplanetv2 command
test_images/runtime command
test_images/runtime/handlers
test_images/singlethreaded command
The singlethreaded program
The singlethreaded program
test_images/timeout command
test_images/wsserver command
test_images/wsserver-hostname command
types
upgrade
v1
v1alpha1
v1beta1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL