server

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerPort = 6443
)

Variables

View Source
var HAServerTemplate string = `` /* 192-byte string literal not displayed */

Functions

func Ingress added in v0.3.0

func Ingress(ctx context.Context, cluster *v1alpha1.Cluster) networkingv1.Ingress

func IngressName added in v0.3.0

func IngressName(clusterName string) string

func Service added in v0.3.0

func Service(cluster *v1alpha1.Cluster) *v1.Service

func ServiceName added in v0.3.0

func ServiceName(clusterName string) string

Types

type Server

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

Server

func New

func New(cluster *v1alpha1.Cluster, client client.Client, token, mode string) *Server

func (*Server) Config added in v0.3.0

func (s *Server) Config(init bool, serviceIP string) (*v1.Secret, error)

func (*Server) StatefulServer

func (s *Server) StatefulServer(ctx context.Context) (*apps.StatefulSet, error)

func (*Server) StatefulServerService

func (s *Server) StatefulServerService() *v1.Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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