gitea

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

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 gitea.

func NewClient

func NewClient(client client.Client, next providers.Provider) *Client

NewClient creates a new Gitea client.

func (*Client) CreateBranchProtection added in v0.4.1

func (c *Client) CreateBranchProtection(ctx context.Context, repository mpasv1alpha1.Repository) error

func (*Client) CreatePullRequest

func (c *Client) CreatePullRequest(ctx context.Context, branch string, sync deliveryv1alpha1.Sync, repository mpasv1alpha1.Repository) (int, error)

func (*Client) CreateRepository

func (c *Client) CreateRepository(ctx context.Context, obj mpasv1alpha1.Repository) error

Jump to

Keyboard shortcuts

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