gateway

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name is the name of the compiled software.
	Name = "onex-gateway"

	ID, _ = os.Hostname()
)

Functions

This section is empty.

Types

type Config

type Config struct {
	GRPCOptions       *genericoptions.GRPCOptions
	HTTPOptions       *genericoptions.HTTPOptions
	TLSOptions        *genericoptions.TLSOptions
	UserCenterOptions *usercenter.UserCenterOptions
	MySQLOptions      *genericoptions.MySQLOptions
	RedisOptions      *genericoptions.RedisOptions
	EtcdOptions       *genericoptions.EtcdOptions
	JaegerOptions     *genericoptions.JaegerOptions
	ConsulOptions     *genericoptions.ConsulOptions

	// the rest config for the onex-apiserver
	Kubeconfig *rest.Config
}

Config defines the config for the apiserver.

func (*Config) Complete

func (cfg *Config) Complete() completedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type Server

type Server struct {
	SharedInformerFactory informers.SharedInformerFactory
	// contains filtered or unexported fields
}

// Server represents the server.

func (*Server) Run

func (s *Server) Run(stopCh <-chan struct{}) error

Run is a method of the Server struct that starts the server.

Directories

Path Synopsis
biz
Package biz is the place where you can implements more complex business logic.
Package biz is the place where you can implements more complex business logic.
miner
Package miner is a generated GoMock package.
Package miner is a generated GoMock package.
minerset
Package minerset is a generated GoMock package.
Package minerset is a generated GoMock package.
errors
Package store is a generated GoMock package.
Package store is a generated GoMock package.

Jump to

Keyboard shortcuts

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