Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { API APIClient // contains filtered or unexported fields }
Server struct defines the data fields in bitbucket-server object
func (*Server) Authenticate ¶
Authenticate checks the account ID and access tokens' validity for the kind defined
func (*Server) Credentials ¶
Credentials fetches amd returns the accountID and accessToken from environment variables
func (*Server) Repositories ¶
func (server *Server) Repositories(metadata bool) ([]common.Repository, error)
Repositories queries the API and returns a list of repositories mentioned by the kind
Click to show internal directories.
Click to hide internal directories.