action

package
v0.0.0-...-8ddd45f Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandlers

func NewHandlers(env *Environment) *actions.Handlers

Types

type ConfigProcessor

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

func NewConfigProcessor

func NewConfigProcessor(org string, minter token.Minter, storer token.Storer) *ConfigProcessor

func (*ConfigProcessor) ProcessConfig

func (c *ConfigProcessor) ProcessConfig(ctx context.Context, dir string) error

type Environment

type Environment struct {
	actions.Environment

	AppID            int64  `env:"INPUT_APP_ID"`
	AppPrivateKeyPEM string `env:"INPUT_APP_PRIVATE_KEY"`
	InstallationID   int64  `env:"INPUT_INSTALLATION_ID"`
}

func (*Environment) NewTokensClient

func (e *Environment) NewTokensClient() (*token.TokensClient, error)

Jump to

Keyboard shortcuts

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