Documentation
¶
Index ¶
- type Client
- func (c *Client) DeployProject(project *Project, params *DeployProjectInput) (*DeployProjectResponse, error)
- func (c *Client) GetProjectByTitle(projectTitle string) (*Project, error)
- func (c *Client) GetProjects() (*Projects, error)
- func (c *Client) Login(params *LoginData) (*LoginResponse, error)
- func (c *Client) PullProject(project *Project) (*PullProjectResponse, error)
- type Config
- type DeployProjectInput
- type DeployProjectResponse
- type LoginData
- type LoginResponse
- type Project
- type Projects
- type PullProjectResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // HttpClient is client to use HttpClient *http.Client // contains filtered or unexported fields }
func NewHttpClient ¶
func (*Client) DeployProject ¶
func (c *Client) DeployProject(project *Project, params *DeployProjectInput) (*DeployProjectResponse, error)
func (*Client) GetProjectByTitle ¶
func (*Client) GetProjects ¶
func (*Client) PullProject ¶
func (c *Client) PullProject(project *Project) (*PullProjectResponse, error)
type DeployProjectInput ¶
type DeployProjectInput struct {
Operation string `json:"operation"`
}
type DeployProjectResponse ¶
type LoginResponse ¶
type Project ¶
type Project struct { Title string `json:"title"` Description string `json:"description"` Created string `json:"created"` Code string `json:"projekt_code"` Status string `json:"status"` // NodeHost is hostname of node running application it can be used for further actions on project NodeHost string `json:"node"` }
type PullProjectResponse ¶
type PullProjectResponse struct {
Success bool `json:"success"`
}
Click to show internal directories.
Click to hide internal directories.