Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitbucketHook ¶
type BitbucketHook struct {
Id string
}
type Caller ¶ added in v1.2.0
Caller is the part of a git client that says who is asking. It is the whole input an identity provider gets: enough to identify the caller, and nothing with which to act on their behalf.
type Client ¶
type Client interface {
InjectStaticCertificate(domain string, data []byte) error
GetCertificate(domain string) (*tls.Certificate, error)
GetStaticCertificate(domain string) (*tls.Certificate, error)
GetRawCertificate(domain string) ([]byte, error)
GetRawStaticCertificate(domain string) ([]byte, error)
RegisterDomain(fqdn, projectID string) (*DomainRegistration, error)
Hooks() Hooks
Projects() Projects
Repositories() Repositories
Stats() Stats // TODO: rename State
Peers(...peerCore.ID) Client
Close()
}
type DomainRegistration ¶ added in v1.1.9
type GithubHook ¶
func (*GithubHook) Bitbucket ¶
func (h *GithubHook) Bitbucket() (*BitbucketHook, error)
func (*GithubHook) Github ¶
func (h *GithubHook) Github() (*GithubHook, error)
type GithubRepositories ¶
type GithubRepository ¶
type GithubRepository interface {
Repository
PrivateKey() string
Project() string
}
type Hook ¶
type Hook interface {
Github() (*GithubHook, error)
Bitbucket() (*BitbucketHook, error)
}
type Project ¶
type Project struct {
Client
Id string
Name string
Provider string
Git struct {
Config Repository
Code Repository
}
}
type Repositories ¶
type Repositories interface {
Github() GithubRepositories
}
type Repository ¶
Click to show internal directories.
Click to hide internal directories.