Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressOption ¶ added in v0.1.2
type IngressOption func(gs *agonesv1.GameServer, ingress *networkingv1.Ingress) error
func WithCustomAnnotations ¶ added in v0.1.3
func WithCustomAnnotations() IngressOption
func WithIngressRule ¶ added in v0.1.2
func WithIngressRule(mode gameserver.IngressRoutingMode) IngressOption
func WithTLS ¶ added in v0.1.2
func WithTLS(mode gameserver.IngressRoutingMode) IngressOption
func WithTLSCertIssuer ¶ added in v0.1.2
func WithTLSCertIssuer(issuerName string) IngressOption
type IngressReconciler ¶
type IngressReconciler struct {
// contains filtered or unexported fields
}
func NewIngressReconciler ¶
func NewIngressReconciler(store IngressStore, recorder *record.EventRecorder) *IngressReconciler
func (*IngressReconciler) Reconcile ¶
func (r *IngressReconciler) Reconcile(ctx context.Context, gs *agonesv1.GameServer) (*networkingv1.Ingress, error)
type IngressStore ¶ added in v0.1.7
type IngressStore interface { CreateIngress(ctx context.Context, ingress *networkingv1.Ingress, options metav1.CreateOptions) (*networkingv1.Ingress, error) GetIngress(name, namespace string) (*networkingv1.Ingress, error) }
type Reconciler ¶
type Reconciler struct { Obj runtime.Object client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
Reconciler handles events when resources are reconciled. The interval is configured on the Manager's level.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
TODO: Evaluate is Reconcile should be made an argument for the Controller. Reconcile can be used for general uses cases where control over very specific events matter. Right now it is just a STDOUT output. Reconcile is called on every reconcile event. It does not differ between add, update, delete. Its function is purely informative and events are handled back to the broadcaster specific event handlers.
type ServiceReconciler ¶
type ServiceReconciler struct {
// contains filtered or unexported fields
}
func NewServiceReconciler ¶
func NewServiceReconciler(store ServiceStore, recorder *record.EventRecorder) *ServiceReconciler
func (*ServiceReconciler) Reconcile ¶
func (r *ServiceReconciler) Reconcile(ctx context.Context, gs *agonesv1.GameServer) (*corev1.Service, error)
Click to show internal directories.
Click to hide internal directories.