Documentation ¶
Index ¶
- type InventoryClient
- func (c *InventoryClient) DELETE_with_authentication(url string) (*http.Response, error)
- func (c *InventoryClient) GET(url string) (*http.Response, error)
- func (c *InventoryClient) GET_with_authentication(url string) (*http.Response, error)
- func (c *InventoryClient) GET_with_basic_authentication(url, username, password string) (*http.Response, error)
- func (c *InventoryClient) GetHTTPClient() *http.Client
- func (c *InventoryClient) NewRequest(method, url string, reader io.Reader) (*http.Request, error)
- func (c *InventoryClient) POST_file_with_authentication(url, path string) (*http.Response, error)
- func (c *InventoryClient) POST_json(url string, data interface{}) (*http.Response, error)
- func (c *InventoryClient) POST_json_with_authentication(url string, data interface{}) (*http.Response, error)
- func (c *InventoryClient) PUT_json_with_authentication(url string, data interface{}) (*http.Response, error)
- type ServerEndpoints
- func (s *ServerEndpoints) ApiServer() string
- func (s *ServerEndpoints) AuthMethods(baseUrl string) string
- func (s *ServerEndpoints) DeleteDeploymentState(project, environment, deployment string) string
- func (s *ServerEndpoints) DownloadRelease(project, name, version string) string
- func (s *ServerEndpoints) ListApplications(project string) string
- func (s *ServerEndpoints) ListProjects() string
- func (s *ServerEndpoints) NextReleaseVersion(project, name, prefix string) string
- func (s *ServerEndpoints) PreviousReleaseQuery(project, name, version string) string
- func (s *ServerEndpoints) ProjectEnvironmentState(project, environment string) string
- func (s *ServerEndpoints) ProjectNameQuery(project, name string) string
- func (s *ServerEndpoints) ProjectQuery(project string) string
- func (s *ServerEndpoints) ProjectReleaseQuery(project, name, version string) string
- func (s *ServerEndpoints) RegisterPackage(project string) string
- func (s *ServerEndpoints) ReleaseQuery(project, name, version string) string
- func (s *ServerEndpoints) UpdateDeploymentState(project, environment, deployment string) string
- func (s *ServerEndpoints) UploadRelease(project, name, version string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InventoryClient ¶
type InventoryClient struct { EscapeToken string BasicAuthUsername string BasicAuthPassword string InsecureSkipVerify bool }
func NewRemoteClient ¶
func NewRemoteClient(escapeToken, basicAuthUsername, basicAuthPassword string, insecureSkipVerify bool) *InventoryClient
func (*InventoryClient) DELETE_with_authentication ¶
func (c *InventoryClient) DELETE_with_authentication(url string) (*http.Response, error)
func (*InventoryClient) GET_with_authentication ¶
func (c *InventoryClient) GET_with_authentication(url string) (*http.Response, error)
func (*InventoryClient) GET_with_basic_authentication ¶
func (c *InventoryClient) GET_with_basic_authentication(url, username, password string) (*http.Response, error)
This function is only used to check credentials (for LoginWithBasicAuth in the inventory).
func (*InventoryClient) GetHTTPClient ¶
func (c *InventoryClient) GetHTTPClient() *http.Client
func (*InventoryClient) NewRequest ¶
func (*InventoryClient) POST_file_with_authentication ¶
func (c *InventoryClient) POST_file_with_authentication(url, path string) (*http.Response, error)
func (*InventoryClient) POST_json ¶
func (c *InventoryClient) POST_json(url string, data interface{}) (*http.Response, error)
func (*InventoryClient) POST_json_with_authentication ¶
func (c *InventoryClient) POST_json_with_authentication(url string, data interface{}) (*http.Response, error)
func (*InventoryClient) PUT_json_with_authentication ¶
func (c *InventoryClient) PUT_json_with_authentication(url string, data interface{}) (*http.Response, error)
type ServerEndpoints ¶
type ServerEndpoints struct {
// contains filtered or unexported fields
}
func NewServerEndpoints ¶
func NewServerEndpoints(apiServer string) *ServerEndpoints
func (*ServerEndpoints) ApiServer ¶
func (s *ServerEndpoints) ApiServer() string
func (*ServerEndpoints) AuthMethods ¶
func (s *ServerEndpoints) AuthMethods(baseUrl string) string
func (*ServerEndpoints) DeleteDeploymentState ¶
func (s *ServerEndpoints) DeleteDeploymentState(project, environment, deployment string) string
func (*ServerEndpoints) DownloadRelease ¶
func (s *ServerEndpoints) DownloadRelease(project, name, version string) string
func (*ServerEndpoints) ListApplications ¶
func (s *ServerEndpoints) ListApplications(project string) string
func (*ServerEndpoints) ListProjects ¶
func (s *ServerEndpoints) ListProjects() string
func (*ServerEndpoints) NextReleaseVersion ¶
func (s *ServerEndpoints) NextReleaseVersion(project, name, prefix string) string
func (*ServerEndpoints) PreviousReleaseQuery ¶
func (s *ServerEndpoints) PreviousReleaseQuery(project, name, version string) string
func (*ServerEndpoints) ProjectEnvironmentState ¶
func (s *ServerEndpoints) ProjectEnvironmentState(project, environment string) string
func (*ServerEndpoints) ProjectNameQuery ¶
func (s *ServerEndpoints) ProjectNameQuery(project, name string) string
func (*ServerEndpoints) ProjectQuery ¶
func (s *ServerEndpoints) ProjectQuery(project string) string
func (*ServerEndpoints) ProjectReleaseQuery ¶
func (s *ServerEndpoints) ProjectReleaseQuery(project, name, version string) string
func (*ServerEndpoints) RegisterPackage ¶
func (s *ServerEndpoints) RegisterPackage(project string) string
func (*ServerEndpoints) ReleaseQuery ¶
func (s *ServerEndpoints) ReleaseQuery(project, name, version string) string
func (*ServerEndpoints) UpdateDeploymentState ¶
func (s *ServerEndpoints) UpdateDeploymentState(project, environment, deployment string) string
func (*ServerEndpoints) UploadRelease ¶
func (s *ServerEndpoints) UploadRelease(project, name, version string) string
Click to show internal directories.
Click to hide internal directories.