 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ReadinessProbeConfig
- type Server
- func (s *Server) GetLogLevel(ctx context.Context, _ *pbSharedV1.Empty) (*pb.LogLevelConfig, error)
- func (s *Server) GetVersion(ctx context.Context, _ *pbSharedV1.Empty) (*pb.Version, error)
- func (s *Server) Run() error
- func (s *Server) SetLogLevel(ctx context.Context, cfg *pb.LogLevelConfig) (*pbSharedV1.Empty, error)
 
- type ServerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadinessProbeConfig ¶
type ReadinessProbeConfig struct {
	Enabled bool
	Probe   *probe.ReadyProbe
}
    type Server ¶
type Server struct {
	pb.UnimplementedOperatorServer
	// contains filtered or unexported fields
}
    func NewServer ¶
func NewServer(cli typedCore.CoreV1Interface, cfg ServerConfig) (*Server, error)
NewServer creates and configure a new Server
func (*Server) GetLogLevel ¶
func (s *Server) GetLogLevel(ctx context.Context, _ *pbSharedV1.Empty) (*pb.LogLevelConfig, error)
func (*Server) GetVersion ¶
func (*Server) SetLogLevel ¶
func (s *Server) SetLogLevel(ctx context.Context, cfg *pb.LogLevelConfig) (*pbSharedV1.Empty, error)
type ServerConfig ¶
type ServerConfig struct {
	Namespace                  string
	ServerName                 string
	ServerAltNames             []string
	HTTPAddress                string
	GRPCAddress                string
	TLSSecretName              string
	JWTSecretName              string
	JWTKeySecretName           string
	LivelinessProbe            *probe.LivenessProbe
	ProbeDeployment            ReadinessProbeConfig
	ProbeDeploymentReplication ReadinessProbeConfig
	ProbeStorage               ReadinessProbeConfig
}
    ServerConfig settings for the Server
 Click to show internal directories. 
   Click to hide internal directories.