Documentation ¶
Overview ¶
Package cloudproduct provides an abstraction layer to product specific functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ControllerHooksInterface ¶ added in v1.29.0
type ControllerHooksInterface interface { agonesv1.APIHooks // SyncPodPortsToGameServer runs after a Pod has been assigned to a Node and before we sync // Pod host ports to the GameServer status. SyncPodPortsToGameServer(*agonesv1.GameServer, *corev1.Pod) error // NewPortAllocator creates a PortAllocator. See gameservers.NewPortAllocator for parameters. NewPortAllocator(int32, int32, informers.SharedInformerFactory, externalversions.SharedInformerFactory) portallocator.Interface // WaitOnFreePorts WaitOnFreePorts() bool }
ControllerHooksInterface provides a generic interface that abstracts cloud product specific functionality for pkg/controller packages.
func NewFromFlag ¶ added in v1.30.0
func NewFromFlag(ctx context.Context, kc *kubernetes.Clientset) (ControllerHooksInterface, error)
NewFromFlag instantiates a new CloudProduct interface from the flags in BindFlags/BindEnv.
Directories ¶
Path | Synopsis |
---|---|
Package eviction implements a generic SetEviction interface for cloud products
|
Package eviction implements a generic SetEviction interface for cloud products |
Package generic provides the generic cloud provider.
|
Package generic provides the generic cloud provider. |
Package gke provides the GKE cloud product interfaces for GKE Standard and Autopilot
|
Package gke provides the GKE cloud product interfaces for GKE Standard and Autopilot |
Click to show internal directories.
Click to hide internal directories.