types

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 3 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
}

GHCommandFactory the GitHub source command factory interface

type GHFlagsFactory added in v0.2.0

type GHFlagsFactory interface {
	sourcetypes.FlagsFactory

	GHSourceFactory() GHSourceFactory
}

GHFlagsFactory the GitHub source flags factory interface

type GHRunEFactory added in v0.2.0

type GHRunEFactory interface {
	sourcetypes.RunEFactory

	GHSourceFactory() GHSourceFactory
	GHSourceClient(restConfig *rest.Config, namespace string) GHSourceClient
}

GHRunEFactory the GitHub source RunE factory interface

type GHSourceClient added in v0.2.0

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

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

GHSourceClient the GitHub source client interface

type GHSourceFactory added in v0.2.0

type GHSourceFactory interface {
	sourcetypes.KnSourceFactory

	GHSourceParams() *GHSourceParams
	GHSourceClient() GHSourceClient

	CreateGHSourceParams() *GHSourceParams
	CreateGHSourceClient(restConfig *rest.Config, namespace string) GHSourceClient
}

GHSourceFactory the GitHub source factory interface

type GHSourceParams added in v0.2.0

type GHSourceParams struct {
	KnSourceParams *sourcetypes.KnSourceParams

	Org  string
	Repo string

	APIURL      string
	SecretToken string
	AccessToken string
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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