python

package
v0.2.0-rc.21 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectPythonBuildSystem

func DetectPythonBuildSystem(projectDir string) string

DetectPythonBuildSystem returns the build system used in the project

func DetectPythonProject

func DetectPythonProject(projectDir string) bool

DetectPythonProject checks if the target directory contains a supported python project

Types

type BuildActionStruct

type BuildActionStruct struct{}

Action implementation

func (BuildActionStruct) Check

Check will evaluate if this action can be executed for the specified project

func (BuildActionStruct) Execute

func (action BuildActionStruct) Execute(ctx api.ActionExecutionContext)

Execute will run the action

func (BuildActionStruct) GetDetails

GetDetails returns information about this action

type CheckActionStruct

type CheckActionStruct struct{}

Action implementation

func (CheckActionStruct) Check

Check if this package can handle the current environment

func (CheckActionStruct) Execute

func (action CheckActionStruct) Execute(ctx api.ActionExecutionContext)

Check if this package can handle the current environment

func (CheckActionStruct) GetDetails

GetDetails returns information about this action

type RunActionStruct

type RunActionStruct struct{}

Action implementation

func (RunActionStruct) Check

func (action RunActionStruct) Check(ctx api.ActionExecutionContext) bool

Check if this package can handle the current environment

func (RunActionStruct) Execute

func (action RunActionStruct) Execute(ctx api.ActionExecutionContext)

Check if this package can handle the current environment

func (RunActionStruct) GetDetails

GetDetails returns information about this action

Jump to

Keyboard shortcuts

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