Versions in this module Expand all Collapse all v0 v0.2.0 Jul 20, 2018 Changes in this version + const Projects + const RoleAssignments + type Config struct + Address string + CertFile string + KeyFile string + KeystoneCA string + KeystoneURL string + Kubeconfig string + PolicyConfigMapName string + PolicyFile string + SyncConfigFile string + SyncConfigMapName string + func NewConfig() *Config + func (c *Config) AddFlags(fs *pflag.FlagSet) + func (c *Config) ValidateFlags() error + type KeystoneAuth struct + func NewKeystoneAuth(c *Config) (*KeystoneAuth, error) + func (k *KeystoneAuth) Handler(w http.ResponseWriter, r *http.Request) + func (k *KeystoneAuth) Run() + type Syncer struct v0.1.0 May 16, 2018 Changes in this version + const TypeGroup + const TypeProject + const TypeRole + const TypeUser + func GetToken(options gophercloud.AuthOptions) (*tokens3.Token, error) + type Authenticator struct + func NewKeystoneAuthenticator(authURL string, caFile string) (*Authenticator, error) + func (a *Authenticator) AuthenticateToken(token string) (user.Info, bool, error) + type Authorizer struct + func NewKeystoneAuthorizer(authURL string, caFile string, policyFile string) (*Authorizer, error) + func (a *Authorizer) Authorize(attributes authorizer.Attributes) (authorized authorizer.Decision, reason string, err error)