github

package
v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GhProvider

type GhProvider struct {
	SourceCodeProviderConfigs  v3.SourceCodeProviderConfigInterface
	SourceCodeCredentials      v3.SourceCodeCredentialInterface
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
	SourceCodeRepositories     v3.SourceCodeRepositoryInterface
	Pipelines                  v3.PipelineInterface
	PipelineExecutions         v3.PipelineExecutionInterface

	PipelineIndexer             cache.Indexer
	PipelineExecutionIndexer    cache.Indexer
	SourceCodeCredentialIndexer cache.Indexer
	SourceCodeRepositoryIndexer cache.Indexer

	AuthConfigs mv3.AuthConfigInterface
}

func (*GhProvider) ActionHandler

func (g *GhProvider) ActionHandler(actionName string, action *types.Action, request *types.APIContext) error

func (*GhProvider) CustomizeSchemas

func (g *GhProvider) CustomizeSchemas(schemas *types.Schemas)

func (*GhProvider) Formatter

func (g *GhProvider) Formatter(apiContext *types.APIContext, resource *types.RawResource)

func (*GhProvider) GetName

func (g *GhProvider) GetName() string

func (*GhProvider) GetProviderConfig

func (g *GhProvider) GetProviderConfig(projectID string) (interface{}, error)

func (*GhProvider) TransformToSourceCodeProvider

func (g *GhProvider) TransformToSourceCodeProvider(config map[string]interface{}) map[string]interface{}

Jump to

Keyboard shortcuts

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