stores

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgonesStore added in v0.2.1

type AgonesStore struct {
	*versioned.Clientset
	v1.GameServerInformer
}

func NewAgonesStore added in v0.2.1

func NewAgonesStore(ctx context.Context, config *rest.Config, resyncPeriod time.Duration) (*AgonesStore, error)

func (*AgonesStore) GetGameServer added in v0.2.1

func (s *AgonesStore) GetGameServer(ctx context.Context, name, namespace string) (*agonesv1.GameServer, error)

func (*AgonesStore) HasSynced added in v0.2.1

func (s *AgonesStore) HasSynced(ctx context.Context) error

func (*AgonesStore) UpdateGameServer added in v0.2.1

func (s *AgonesStore) UpdateGameServer(ctx context.Context, gs *agonesv1.GameServer) (*agonesv1.GameServer, error)

type Store

type Store struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore(ctx context.Context, client kubernetes.Interface) (*Store, error)

func (Store) CreateIngress

func (s Store) CreateIngress(ctx context.Context, ingress *networkingv1.Ingress, options metav1.CreateOptions) (*networkingv1.Ingress, error)

func (Store) CreateService

func (s Store) CreateService(ctx context.Context, service *corev1.Service, options metav1.CreateOptions) (*corev1.Service, error)

func (Store) GetIngress

func (s Store) GetIngress(name, namespace string) (*networkingv1.Ingress, error)

func (Store) GetService

func (s Store) GetService(name, namespace string) (*corev1.Service, error)

func (*Store) HasSynced

func (s *Store) HasSynced(ctx context.Context) error

Jump to

Keyboard shortcuts

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