server

package
v0.2.2-rc4 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerPort        = 6443
	EphermalNodesType = "ephermal"
	DynamicNodesType  = "dynamic"
)

Variables

This section is empty.

Functions

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) Ingress

func (s *Server) Ingress(ctx context.Context, client client.Client) (*networkingv1.Ingress, error)

func (*Server) Service

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

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