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
}
Click to show internal directories.
Click to hide internal directories.