Versions in this module Expand all Collapse all v0 v0.1.1 Feb 2, 2024 v0.1.0 Jan 8, 2024 Changes in this version + const Namespace + func GetToken(ctx context.Context, opts TokenOptions, cacher cache.Cache) (*token.Token, error) + func Serve(ctx context.Context, mux *http.ServeMux, opts server.ServeOptions) error + type Client struct + ClientID string + ClientSecret string + Resource string + Socket string + Tenant string + func (cli *Client) AddFlags(flags *pflag.FlagSet) + func (cli *Client) GetToken(ctx context.Context) (*token.Token, error) + func (cli *Client) GetTokenByHTTP(ctx context.Context, httpc *http.Client) (*token.Token, error) + type TokenOptions struct + ClientID string + ClientSecret string + Resource string + Tenant string + func (o *TokenOptions) Key() string + func (o *TokenOptions) Validate() error