types

package
v0.0.0-...-37b8e2e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	OathInfo *GitLabOauthInfo
	OathEnv  *GitLabOathFormEnv
}

func NewConfig

func NewConfig() *Config

type GitLabOathFormEnv

type GitLabOathFormEnv struct {
	Url          *string `json:"url"`
	UserName     *string `json:"user_name"`
	Password     *string `json:"password"`
	PrivateToken *string `json:"private_token"`
	OauthToken   *string `json:"oauth_token"`
}

type GitLabOauthInfo

type GitLabOauthInfo struct {
	AccessToken  *string  `json:"access_token"  yaml:"access_token"  mapstructure:"access_token"`
	CreatedAt    *float64 `json:"created_at"    yaml:"created_at"    mapstructure:"created_at"`
	HostUrl      *string  `json:"host_url"      yaml:"host_url"      mapstructure:"host_url"`
	RefreshToken *string  `json:"refresh_token" yaml:"refresh_token" mapstructure:"refresh_token"`
	Scope        *string  `json:"scope"         yaml:"scope"         mapstructure:"scope"`
	TokenType    *string  `json:"token_type"    yaml:"token_type"    mapstructure:"token_type"`
	UserName     *string  `json:"user_name"     yaml:"user_name"     mapstructure:"user_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL