Documentation
¶
Index ¶
- func CurrentOrgName() (string, error)
- func DaggerCloudTransport(ctx context.Context, token string) (http.RoundTripper, error)
- func GetDaggerCloudAuth(ctx context.Context, token string) (string, error)
- func Login(ctx context.Context, out io.Writer) error
- func Logout() error
- func ParseDaggerToken(s string) (daggerToken, bool)
- func SetCurrentOrg(org *Org) error
- func Token(ctx context.Context) (*oauth2.Token, error)
- func TokenSource(ctx context.Context) (oauth2.TokenSource, error)
- type Org
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentOrgName ¶ added in v0.18.17
func DaggerCloudTransport ¶ added in v0.18.17
func GetDaggerCloudAuth ¶ added in v0.18.17
func Login ¶
Login logs the user in and stores the credentials for later use. Interactive messages are printed to w.
func ParseDaggerToken ¶ added in v0.18.17
func SetCurrentOrg ¶ added in v0.11.5
func TokenSource ¶
func TokenSource(ctx context.Context) (oauth2.TokenSource, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.