remote

package
v0.26.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

func (c *InventoryClient) GET(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 (c *InventoryClient) NewRequest(method, url string, reader io.Reader) (*http.Request, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL