Documentation ¶
Index ¶
- type CA
- type CertificateAuthorities
- type ClientRequest
- type Credential
- type DeployedProduct
- type DeployedProductCredential
- type OpsManHTTPClient
- func (c OpsManHTTPClient) GetBOSHCredentials() (string, error)
- func (c OpsManHTTPClient) GetStagedProductProperties(product string) (map[string]ResponseProperty, error)
- func (c OpsManHTTPClient) ListCertificateAuthorities() ([]CA, error)
- func (c OpsManHTTPClient) ListDeployedProductCredentials(deployedProductGUID string, credentialRef string) (DeployedProductCredential, error)
- func (c OpsManHTTPClient) ListDeployedProducts() ([]DeployedProduct, error)
- type ResponseProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateAuthorities ¶
type CertificateAuthorities struct {
CAs []CA `json:"certificate_authorities"`
}
type ClientRequest ¶
type ClientRequest struct {
// contains filtered or unexported fields
}
func NewClientRequest ¶
func NewClientRequest( endpoint string, httpClient *httpclient.DefaultHTTPClient, ) ClientRequest
func (ClientRequest) Get ¶
func (r ClientRequest) Get(path string, response interface{}) error
type Credential ¶
type DeployedProduct ¶
type DeployedProductCredential ¶
type DeployedProductCredential struct {
Credential Credential `json:"credential"`
}
type OpsManHTTPClient ¶
type OpsManHTTPClient struct {
// contains filtered or unexported fields
}
func NewHTTPClient ¶
func NewHTTPClient( endpoint string, httpClient *httpclient.DefaultHTTPClient, ) OpsManHTTPClient
func (OpsManHTTPClient) GetBOSHCredentials ¶
func (c OpsManHTTPClient) GetBOSHCredentials() (string, error)
func (OpsManHTTPClient) GetStagedProductProperties ¶
func (c OpsManHTTPClient) GetStagedProductProperties(product string) (map[string]ResponseProperty, error)
func (OpsManHTTPClient) ListCertificateAuthorities ¶
func (c OpsManHTTPClient) ListCertificateAuthorities() ([]CA, error)
func (OpsManHTTPClient) ListDeployedProductCredentials ¶
func (c OpsManHTTPClient) ListDeployedProductCredentials(deployedProductGUID string, credentialRef string) (DeployedProductCredential, error)
func (OpsManHTTPClient) ListDeployedProducts ¶
func (c OpsManHTTPClient) ListDeployedProducts() ([]DeployedProduct, error)
Click to show internal directories.
Click to hide internal directories.