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