Documentation ¶
Overview ¶
Package containerd is the core proxy logic for ctrdac.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
ProxyServer is the type of the main proxy server code
func NewProxyServer ¶
func NewProxyServer(config common.ProxyServerConfig) ProxyServer
NewProxyServer creates a new ctrdac proxy server with the given configuration
func (ProxyServer) GetConfig ¶
func (pl ProxyServer) GetConfig() common.ProxyServerConfig
GetConfig returns the full configuration of the ctrdac proxy server
func (ProxyServer) PopulateUserInfo ¶
func (pl ProxyServer) PopulateUserInfo(ctx context.Context, authzReq *k8sac.AdmissionRequest) error
PopulateUserInfo calls the same method on the underlying listener to get the UserInfo structure of the AdmissionRequest filled
func (*ProxyServer) Serve ¶
func (pl *ProxyServer) Serve() error
Serve starts serving or returns an error
Click to show internal directories.
Click to hide internal directories.