github

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 13 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 github.

func NewClient

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

NewClient creates a new GitHub client.

func (*Client) CreateBranchProtection added in v0.4.1

func (c *Client) CreateBranchProtection(ctx context.Context, obj 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