webhook

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProviderName added in v0.14.3

func GetProviderName(url string) (string, error)

Types

type Interface

type Interface interface {
	Run(context.Context, *Options) (*response, error)
}

type Options

type Options struct {
	Run                      *params.Run
	IOStreams                *cli.IOStreams
	PACNamespace             string
	RepositoryURL            string
	RepositoryName           string
	RepositoryNamespace      string
	ProviderAPIURL           string
	ControllerURL            string
	PersonalAccessToken      string
	RepositoryCreateORUpdate bool
	SecretName               string
	ProviderSecretKey        string
}

func (*Options) Install

func (w *Options) Install(ctx context.Context, providerType string) error

Jump to

Keyboard shortcuts

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