ghatypes

package
v0.0.0-...-c8eb8dd Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrSecretNotFound represents the specified secret does not exist
	ErrSecretNotFound = xerrors.Errorf("secret is not found")

	// ErrKeyNotFound represents the specified key does not exist in the secret
	ErrKeyNotFound = xerrors.Errorf("key is not found in the secret")
)

Functions

This section is empty.

Types

type GitHubAppInterface

type GitHubAppInterface interface {
	// GetURL returns https://github.com or GHE url
	GetURL() string
	// GetAppID returns app id for GitHub App
	GetAppID() int64
	// GetPrivateKey returns the raw private key for GitHub App
	GetPrivateKey(ctx context.Context, c client.Client) ([]byte, error)
}

GitHubAppInterface is an interface for GitHub App

Jump to

Keyboard shortcuts

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