Versions in this module Expand all Collapse all v2 v2.3.1 Apr 26, 2024 v2.3.0 Apr 19, 2024 v2.2.0 Feb 23, 2024 Changes in this version + const GerritProvider + const GitHubProvider + const GitLabProvider + const GiteeEEProvider + const GiteeProvider + const OtherProvider + type Client struct + func New() *Client + func (c *Client) GetCodeHost(id int) (*CodeHost, error) + func (c *Client) GetCodeHostByAddressAndOwner(address, owner, source string) (*CodeHost, error) + func (c *Client) GetEmailHost() (*Email, error) + func (c *Client) GetLDAPConnector(id string) (*Connector, error) + func (c *Client) GetRawCodeHost(id int) (*CodeHost, error) + func (c *Client) ListCodeHostsInternal() ([]*CodeHost, error) + func (c *Client) ListConnectorsInternal() ([]*Connector, error) + func (c *Client) UpdateCodeHost(id int, codehost *CodeHost) error + type CodeHost struct + AccessKey string + AccessToken string + Address string + Alias string + AuthType types.AuthType + EnableProxy bool + ID int + Namespace string + Password string + PrivateAccessToken string + RefreshToken string + Region string + SSHKey string + SecretKey string + Type string + UpdatedAt int64 + Username string + func GetCodeHostInfo(opt *Option) (*CodeHost, error) + type Connector struct + Config interface{} + ID string + Name string + Type string + type Email struct + Name string + Password string + Port int + UserName string + type Option struct + Address string + CodeHostType string + Namespace string v2.2.0-20240131 Feb 9, 2024 Other modules containing this package github.com/koderover/zadig