serving

module
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0

README

Knative Serving

go.dev reference Go Report Card Releases LICENSE Slack Status

Knative Serving builds on Kubernetes and Istio to support deploying and serving of serverless applications and functions. 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
autoscaler
Multitenant autoscaler executable.
Multitenant autoscaler executable.
pkg
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.
apis
+k8s:deepcopy-gen=package
+k8s:deepcopy-gen=package
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/v1alpha1
+k8s:deepcopy-gen=package +groupName=networking.internal.knative.dev
+k8s:deepcopy-gen=package +groupName=networking.internal.knative.dev
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/config
Package config contains the config for the autoscaler
Package config contains the config for the autoscaler
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/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/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.
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.
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.
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.
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/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/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/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/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/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/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/ingress
Package ingress implements a kubernetes controller which tracks Ingress resource and reconcile VirtualService as its child resource.
Package ingress implements a kubernetes controller which tracks Ingress resource and reconcile VirtualService as its child resource.
reconciler/ingress/config
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Ingress controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Ingress controller depends.
reconciler/ingress/resources
Package resources holds simple functions for synthesizing child resources from an Ingress resource and any relevant Ingress controller configuration.
Package resources holds simple functions for synthesizing child resources from an Ingress resource and any relevant Ingress controller configuration.
reconciler/ingress/resources/names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.
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/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/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.
resources
Package resources contains various utilities for dealing with Kubernetes resources.
Package resources contains various utilities for dealing with Kubernetes resources.
e2e
test_images/singlethreaded
The singlethreaded program
The singlethreaded program
v1

Jump to

Keyboard shortcuts

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