github

package
v0.9.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstallationToken

func GetInstallationToken(key *rsa.PrivateKey, aid string) (string, error)

Get github installation token.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func (*Generator) Generate

func (g *Generator) Generate(ctx context.Context, jsonSpec *apiextensions.JSON, kube client.Client, namespace string) (map[string][]byte, error)

type Github

type Github struct {
	HTTP       *http.Client
	Kube       client.Client
	Namespace  string
	URL        string
	InstallTkn string
}

Jump to

Keyboard shortcuts

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