security

package
v0.0.0-...-97dd610 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	StopChan chan os.Signal

	Options     *config.Options
	CertStorage cert2.Storage

	ConnectionStorage     *connection.Storage
	AuthenticationHandler authentication.Handler
	AuthorizationHandler  authorization.Handler

	KubeClient k8s.Client

	CertificateServer *v1alpha1.AuthorityServiceImpl
	ObserveServer     *v1alpha1.RuleServiceImpl
	PlainServer       *grpc.Server
	SecureServer      *grpc.Server

	WebhookServer *webhook.Webhook
	JavaInjector  *patch.JavaSdk
	Elec          election.LeaderElection
}

func NewServer

func NewServer(options *config.Options) *Server

func (*Server) Init

func (s *Server) Init()

func (*Server) LoadAuthorityCert

func (s *Server) LoadAuthorityCert()

func (*Server) LoadRootCert

func (s *Server) LoadRootCert()

func (*Server) RefreshAuthorityCert

func (s *Server) RefreshAuthorityCert()

func (*Server) ScheduleRefreshAuthorityCert

func (s *Server) ScheduleRefreshAuthorityCert()

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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