Documentation
¶
Overview ¶
Package forgejo talks to the target Forgejo instance: it triggers repository migrations and ensures the destination owner exists.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a thin client for the target Forgejo REST API.
func New ¶
New builds a target client. The baseURL is the instance root, e.g. https://codefloe.com.
func (*Client) EnsureOrg ¶
EnsureOrg makes sure the destination owner exists, creating an organization when it does not already exist as an org or user.
Click to show internal directories.
Click to hide internal directories.