client

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeGHSourceClient added in v0.4.0

func NewFakeGHSourceClient(ghSourceParams *types.GHSourceParams, ghSource *v1alpha1.GitHubSource) types.GHSourceClient

func NewFakeGHSourceParams added in v0.4.0

func NewFakeGHSourceParams() *types.GHSourceParams

func NewGHSourceClient added in v0.2.0

func NewGHSourceClient(ghSourceParams *types.GHSourceParams, restConfig *rest.Config, namespace string) types.GHSourceClient

Types

type GitHubSourceBuilder added in v0.2.0

type GitHubSourceBuilder struct {
	// contains filtered or unexported fields
}

GitHubSourceBuilder is for building the source

func NewGitHubSourceBuilder added in v0.2.0

func NewGitHubSourceBuilder(name string) *GitHubSourceBuilder

NewGitHubSourceBuilder for building ApiServer source object

func (*GitHubSourceBuilder) APIURL added in v0.3.0

func (b *GitHubSourceBuilder) APIURL(apiURL string) *GitHubSourceBuilder

APIURL to set the value of the GitHub APIURL

func (*GitHubSourceBuilder) AccessToken added in v0.3.0

func (b *GitHubSourceBuilder) AccessToken(accessToken string) *GitHubSourceBuilder

AccessToken the access-token to use for this GitHub source

func (*GitHubSourceBuilder) Build added in v0.2.0

Build the GitHubSource object

func (*GitHubSourceBuilder) OrgRepo added in v0.3.0

func (b *GitHubSourceBuilder) OrgRepo(org, repo string) *GitHubSourceBuilder

OrgRepo sets the org/owner and repository

func (*GitHubSourceBuilder) SecretToken added in v0.3.0

func (b *GitHubSourceBuilder) SecretToken(secretToken string) *GitHubSourceBuilder

SecretToken the secret-token to use for this GitHub source

func (*GitHubSourceBuilder) Sink added in v0.2.0

Sink or destination of the source

Jump to

Keyboard shortcuts

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