Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttrBag ¶
func GetAttrBag(attrs map[string]interface{}, identityAttr, identityAttrDomain string) mixerpb.CompressedAttributes
GetAttrBag creates Attributes proto.
Types ¶
type Args ¶
type Args struct { MixerServerAddr string ConfigStoreURL string ConfigStore2URL string ConfigDefaultNamespace string ConfigIdentityAttribute string ConfigIdentityAttributeDomain string }
Args includes the required args to initialize Mixer server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an in-memory Mixer service.
func NewServer ¶
func NewServer(args *Args, info map[string]template.Info, adapters []adapter.InfoFn) (*Server, error)
NewServer creates a Server instance.
func (*Server) CreateClient ¶
func (s *Server) CreateClient() (mixerpb.MixerClient, *grpc.ClientConn, error)
CreateClient returns a Mixer Grpc client.
Click to show internal directories.
Click to hide internal directories.