Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthRequest ¶
type ResourceActions ¶
type ResourceActions []*token.ResourceActions
type RunningContext ¶
type ShareWebContext ¶
type ShareWebContext struct { }
type TokenAuth ¶
type TokenAuth struct { Issuer string Service string Expiration int64 // contains filtered or unexported fields }
func (*TokenAuth) CreateToken ¶
func (t *TokenAuth) CreateToken(ar *AuthRequest) (string, error)
https://github.com/docker/distribution/blob/master/docs/spec/auth/token.md#example
func (*TokenAuth) LoadCertAndKey ¶
Click to show internal directories.
Click to hide internal directories.