types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GHCommandFactory added in v0.2.0

type GHCommandFactory interface {
	sourcetypes.CommandFactory

	GHSourceFactory() GHSourceFactory
}

type GHFlagsFactory added in v0.2.0

type GHFlagsFactory interface {
	sourcetypes.FlagsFactory

	GHSourceFactory() GHSourceFactory
}

type GHRunEFactory added in v0.2.0

type GHRunEFactory interface {
	sourcetypes.RunEFactory

	GHSourceFactory() GHSourceFactory
	GHSourceClient(namespace string) GHSourceClient
}

type GHSourceClient added in v0.2.0

type GHSourceClient interface {
	sourcetypes.KnSourceClient
	GHSourceParams() *GHSourceParams

	CreateGHSource(ghSource *v1alpha1.GitHubSource) (*v1alpha1.GitHubSource, error)
	DeleteGHSource(name string) error
}

type GHSourceFactory added in v0.2.0

type GHSourceFactory interface {
	sourcetypes.KnSourceFactory

	GHSourceParams() *GHSourceParams
	GHSourceClient() GHSourceClient

	CreateGHSourceParams() *GHSourceParams
	CreateGHSourceClient(namespace string) GHSourceClient
}

type GHSourceParams added in v0.2.0

type GHSourceParams struct {
	KnSourceParams *sourcetypes.KnSourceParams

	Org  string
	Repo string

	SecretToken string
	AccessToken string
}

Jump to

Keyboard shortcuts

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