Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PolicyChan chan tp.K8sKubeArmorHostPolicyEventWithIdentity ClusterIp string Clusterport string EtcdClient *etcd.EtcdClient )
Functions ¶
func GetIdentityFromContext ¶
func IsIdentityServing ¶
func UpdateETCDLabelToIdentitiesMaps ¶
func UpdateETCDLabelToIdentitiesMaps(identity uint16)
Types ¶
type CLIServer ¶
type CLIServer struct {
pb.HandleCliServer
}
Variables / Struct
func (*CLIServer) HandleCliRequest ¶
func (c *CLIServer) HandleCliRequest(ctx context.Context, request *pb.CliRequest) (*pb.ResponseStatus, error)
type KVMServer ¶
type KVMServer struct {
pb.UnimplementedKVMServer
}
func (*KVMServer) RegisterAgentIdentity ¶
func (*KVMServer) SendPolicy ¶
func (s *KVMServer) SendPolicy(stream pb.KVM_SendPolicyServer) error
type Server ¶
type Server struct { EtcdClient *etcd.EtcdClient // contains filtered or unexported fields }
Variables / Struct
func NewServerInit ¶
func NewServerInit(ipAddress, ClusterIpAddress, portVal string, Etcd *etcd.EtcdClient) *Server
func (*Server) InitServer ¶
func (s *Server) InitServer()
Click to show internal directories.
Click to hide internal directories.