Documentation ¶
Index ¶
- func New(ctx context.Context, node peer.Node) (auth.Client, error)
- type Client
- func (c *Client) Close()
- func (c *Client) GetCertificate(domain string) ([]byte, error)
- func (c *Client) GetStaticCertificate(domain string) (*tls.Certificate, error)
- func (c *Client) Hooks() iface.Hooks
- func (c *Client) InjectKey(domain string, data []byte) error
- func (c *Client) InjectStaticCertificate(domain string, data []byte) error
- func (c *Client) Peers(pids ...peerCore.ID) auth.Client
- func (c *Client) Projects() iface.Projects
- func (c *Client) Repositories() iface.Repositories
- func (c *Client) Stats() iface.Stats
- type GithubRepositories
- type GithubRepository
- type Hooks
- type Projects
- type Repositories
- type RepositoryCommon
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCertificate ¶
Getting from /acme
func (*Client) GetStaticCertificate ¶
func (c *Client) GetStaticCertificate(domain string) (*tls.Certificate, error)
Getting from /static
func (*Client) InjectStaticCertificate ¶
Injecting to /static
func (*Client) Repositories ¶
func (c *Client) Repositories() iface.Repositories
type GithubRepositories ¶
type GithubRepositories Repositories
func (*GithubRepositories) Get ¶
func (r *GithubRepositories) Get(id int) (iface.GithubRepository, error)
func (*GithubRepositories) List ¶
func (r *GithubRepositories) List() ([]string, error)
func (*GithubRepositories) New ¶
func (r *GithubRepositories) New(obj map[string]interface{}) (iface.GithubRepository, error)
type GithubRepository ¶
type GithubRepository struct { RepositoryCommon Key string }
func (*GithubRepository) PrivateKey ¶
func (r *GithubRepository) PrivateKey() string
func (*GithubRepository) Project ¶
func (r *GithubRepository) Project() string
type Repositories ¶
type Repositories Client
func (*Repositories) Github ¶
func (r *Repositories) Github() iface.GithubRepositories
type RepositoryCommon ¶
func (RepositoryCommon) Id ¶
func (r RepositoryCommon) Id() int
Click to show internal directories.
Click to hide internal directories.