Documentation ¶
Index ¶
- type Client
- func (c *Client) GetContainers(projectName string) ([]*dockertypes.Container, error)
- func (c *Client) GetProject(name string) (*projectv1.Project, error)
- func (c *Client) GetProjects() ([]*projectv1.Project, error)
- func (c *Client) GetRepositories() ([]*repositoryv1.Repository, error)
- func (c *Client) GetRepository(name string) (*repositoryv1.Repository, error)
- func (c *Client) Reconcile() error
- func (c *Client) StreamContainerLogs(containerId string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetContainers ¶
func (c *Client) GetContainers(projectName string) ([]*dockertypes.Container, error)
func (*Client) GetRepositories ¶
func (c *Client) GetRepositories() ([]*repositoryv1.Repository, error)
func (*Client) GetRepository ¶
func (c *Client) GetRepository(name string) (*repositoryv1.Repository, error)
func (*Client) StreamContainerLogs ¶
type Config ¶
type Config struct { RecoonHost string `json:"recoonHost"` ServerCert string `json:"serverCert"` ClientCert string `json:"clientCert"` ClientKey string `json:"clientKey"` }
func GenerateConfig ¶
func LoadConfig ¶
func (*Config) GetClientCert ¶
func (c *Config) GetClientCert() tls.Certificate
func (*Config) GetServerCert ¶
Click to show internal directories.
Click to hide internal directories.