Documentation
¶
Index ¶
- type Client
- func (g *Client) CreateFeature(ctx context.Context, repos, source, target string) error
- func (g *Client) CreatePR(ctx context.Context, repos, source, target string) (*Info, error)
- func (g *Client) GetPR(ctx context.Context, repos, source, target string) ([]*Info, error)
- func (g *Client) Merge(ctx context.Context, repos string, num int32) error
- func (g *Client) MergePR(ctx context.Context, repos string, source, target string) error
- type Config
- type Git
- type Info
- type Opt
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
}
func (*Client) CreateFeature ¶
type Git ¶
type Git interface {
CreateFeature(ctx context.Context, repos, source, target string) error
CreatePR(ctx context.Context, repos, source, target string) (*Info, error)
GetPR(ctx context.Context, repos, source, target string) ([]*Info, error)
Merge(ctx context.Context, repos string, num int32) error
MergePR(ctx context.Context, repos string, source, target string) error
}
func NewGiteeClient ¶
Click to show internal directories.
Click to hide internal directories.