github

package
v0.0.0-...-cd58cc6 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Copyright (c) 2020 white duck Gesellschaft für Softwareentwicklung mbH

This code is licensed under MIT license (see LICENSE for details)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inputs

type Inputs struct {
	Credentials        *auth.SDKAuth `env:"INPUT_CREDS"`
	Template           template      `env:"INPUT_TEMPLATELOCATION"`
	Parameters         parameters    `env:"INPUT_PARAMETERS"`
	OverrideParameters parameters    `env:"INPUT_OVERRIDEPARAMETERS"`
	ResourceGroupName  string        `env:"INPUT_RESOURCEGROUPNAME"`
	ManagementGroupId  string        `env:"INPUT_MANAGEMENTGROUPID"`
	DeploymentName     string        `env:"INPUT_DEPLOYMENTNAME"`
	DeploymentMode     string        `env:"INPUT_DEPLOYMENTMODE"`
	Timeout            time.Duration `env:"INPUT_TIMEOUT" envDefault:"20m"`
}

Inputs represents our custom inputs for the action

type Options

type Options struct {
	actions.GitHub
	Inputs
}

Options is a combined struct of all inputs

func LoadOptions

func LoadOptions() (Options, error)

LoadOptions parses the environment vars and reads github options and our custom inputs

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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