Documentation
¶
Index ¶
- type CertificateRecord
- type Client
- func (c *Client) CreateCertificate(req *CreateCertificateRequest) (*CreateCertificateResponse, error)
- func (c *Client) CreateCertificateWithContext(ctx context.Context, req *CreateCertificateRequest) (*CreateCertificateResponse, error)
- func (c *Client) ListCertificates(req *ListCertificatesRequest) (*ListCertificatesResponse, error)
- func (c *Client) ListCertificatesWithContext(ctx context.Context, req *ListCertificatesRequest) (*ListCertificatesResponse, error)
- func (c *Client) ListListeners(req *ListListenersRequest) (*ListListenersResponse, error)
- func (c *Client) ListListenersWithContext(ctx context.Context, req *ListListenersRequest) (*ListListenersResponse, error)
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) ShowListener(req *ShowListenerRequest) (*ShowListenerResponse, error)
- func (c *Client) ShowListenerWithContext(ctx context.Context, req *ShowListenerRequest) (*ShowListenerResponse, error)
- func (c *Client) UpdateListener(req *UpdateListenerRequest) (*UpdateListenerResponse, error)
- func (c *Client) UpdateListenerWithContext(ctx context.Context, req *UpdateListenerRequest) (*UpdateListenerResponse, error)
- type CreateCertificateRequest
- type CreateCertificateResponse
- type ListCertificatesRequest
- type ListCertificatesResponse
- type ListListenersRequest
- type ListListenersResponse
- type ListenerRecord
- type ShowListenerRequest
- type ShowListenerResponse
- type UpdateListenerRequest
- type UpdateListenerResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateRecord ¶
type CertificateRecord struct {
ID string `json:"ID"`
RegionID string `json:"regionID"`
AzName string `json:"azName"`
ProjectID string `json:"projectID"`
Name string `json:"name"`
Description string `json:"description"`
Type string `json:"type"`
Certificate string `json:"certificate"`
PrivateKey string `json:"privateKey"`
Status string `json:"status"`
CreatedTime string `json:"createdTime"`
UpdatedTime string `json:"updatedTime"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateCertificate ¶
func (c *Client) CreateCertificate(req *CreateCertificateRequest) (*CreateCertificateResponse, error)
func (*Client) CreateCertificateWithContext ¶
func (c *Client) CreateCertificateWithContext(ctx context.Context, req *CreateCertificateRequest) (*CreateCertificateResponse, error)
func (*Client) ListCertificates ¶
func (c *Client) ListCertificates(req *ListCertificatesRequest) (*ListCertificatesResponse, error)
func (*Client) ListCertificatesWithContext ¶
func (c *Client) ListCertificatesWithContext(ctx context.Context, req *ListCertificatesRequest) (*ListCertificatesResponse, error)
func (*Client) ListListeners ¶
func (c *Client) ListListeners(req *ListListenersRequest) (*ListListenersResponse, error)
func (*Client) ListListenersWithContext ¶
func (c *Client) ListListenersWithContext(ctx context.Context, req *ListListenersRequest) (*ListListenersResponse, error)
func (*Client) ShowListener ¶
func (c *Client) ShowListener(req *ShowListenerRequest) (*ShowListenerResponse, error)
func (*Client) ShowListenerWithContext ¶
func (c *Client) ShowListenerWithContext(ctx context.Context, req *ShowListenerRequest) (*ShowListenerResponse, error)
func (*Client) UpdateListener ¶
func (c *Client) UpdateListener(req *UpdateListenerRequest) (*UpdateListenerResponse, error)
func (*Client) UpdateListenerWithContext ¶
func (c *Client) UpdateListenerWithContext(ctx context.Context, req *UpdateListenerRequest) (*UpdateListenerResponse, error)
type CreateCertificateRequest ¶
type CreateCertificateRequest struct {
ClientToken *string `json:"clientToken,omitempty"`
RegionID *string `json:"regionID,omitempty"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Type *string `json:"type,omitempty"`
Certificate *string `json:"certificate,omitempty"`
PrivateKey *string `json:"privateKey,omitempty"`
}
type CreateCertificateResponse ¶
type CreateCertificateResponse struct {
ReturnObj *struct {
ID string `json:"id"`
} `json:"returnObj,omitempty"`
// contains filtered or unexported fields
}
func (*CreateCertificateResponse) GetDescription ¶
func (r *CreateCertificateResponse) GetDescription() string
func (*CreateCertificateResponse) GetMessage ¶
func (r *CreateCertificateResponse) GetMessage() string
func (*CreateCertificateResponse) GetStatusCode ¶
func (r *CreateCertificateResponse) GetStatusCode() string
type ListCertificatesRequest ¶
type ListCertificatesRequest struct {
ClientToken *string `json:"clientToken,omitempty" url:"clientToken,omitempty"`
RegionID *string `json:"regionID,omitempty" url:"regionID,omitempty"`
IDs *string `json:"IDs,omitempty" url:"IDs,omitempty"`
Name *string `json:"name,omitempty" url:"name,omitempty"`
Type *string `json:"type,omitempty" url:"type,omitempty"`
}
type ListCertificatesResponse ¶
type ListCertificatesResponse struct {
ReturnObj []*CertificateRecord `json:"returnObj,omitempty"`
// contains filtered or unexported fields
}
func (*ListCertificatesResponse) GetDescription ¶
func (r *ListCertificatesResponse) GetDescription() string
func (*ListCertificatesResponse) GetMessage ¶
func (r *ListCertificatesResponse) GetMessage() string
func (*ListCertificatesResponse) GetStatusCode ¶
func (r *ListCertificatesResponse) GetStatusCode() string
type ListListenersRequest ¶
type ListListenersRequest struct {
ClientToken *string `json:"clientToken,omitempty" url:"clientToken,omitempty"`
RegionID *string `json:"regionID,omitempty" url:"regionID,omitempty"`
ProjectID *string `json:"projectID,omitempty" url:"projectID,omitempty"`
IDs *string `json:"IDs,omitempty" url:"IDs,omitempty"`
Name *string `json:"name,omitempty" url:"name,omitempty"`
LoadBalancerID *string `json:"loadBalancerID,omitempty" url:"loadBalancerID,omitempty"`
AccessControlID *string `json:"accessControlID,omitempty" url:"accessControlID,omitempty"`
}
type ListListenersResponse ¶
type ListListenersResponse struct {
ReturnObj []*ListenerRecord `json:"returnObj,omitempty"`
// contains filtered or unexported fields
}
func (*ListListenersResponse) GetDescription ¶
func (r *ListListenersResponse) GetDescription() string
func (*ListListenersResponse) GetMessage ¶
func (r *ListListenersResponse) GetMessage() string
func (*ListListenersResponse) GetStatusCode ¶
func (r *ListListenersResponse) GetStatusCode() string
type ListenerRecord ¶
type ListenerRecord struct {
ID string `json:"ID"`
RegionID string `json:"regionID"`
AzName string `json:"azName"`
ProjectID string `json:"projectID"`
Name string `json:"name"`
Description string `json:"description"`
LoadBalancerID string `json:"loadBalancerID"`
Protocol string `json:"protocol"`
ProtocolPort int32 `json:"protocolPort"`
CertificateID string `json:"certificateID,omitempty"`
CaEnabled bool `json:"caEnabled"`
ClientCertificateID string `json:"clientCertificateID,omitempty"`
Status string `json:"status"`
CreatedTime string `json:"createdTime"`
UpdatedTime string `json:"updatedTime"`
}
type ShowListenerRequest ¶
type ShowListenerResponse ¶
type ShowListenerResponse struct {
ReturnObj []*ListenerRecord `json:"returnObj,omitempty"`
// contains filtered or unexported fields
}
func (*ShowListenerResponse) GetDescription ¶
func (r *ShowListenerResponse) GetDescription() string
func (*ShowListenerResponse) GetMessage ¶
func (r *ShowListenerResponse) GetMessage() string
func (*ShowListenerResponse) GetStatusCode ¶
func (r *ShowListenerResponse) GetStatusCode() string
type UpdateListenerRequest ¶
type UpdateListenerRequest struct {
ClientToken *string `json:"clientToken,omitempty"`
RegionID *string `json:"regionID,omitempty"`
ListenerID *string `json:"listenerID,omitempty"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
CertificateID *string `json:"certificateID,omitempty"`
CaEnabled *bool `json:"caEnabled,omitempty"`
ClientCertificateID *string `json:"clientCertificateID,omitempty"`
}
type UpdateListenerResponse ¶
type UpdateListenerResponse struct {
ReturnObj []*ListenerRecord `json:"returnObj,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateListenerResponse) GetDescription ¶
func (r *UpdateListenerResponse) GetDescription() string
func (*UpdateListenerResponse) GetMessage ¶
func (r *UpdateListenerResponse) GetMessage() string
func (*UpdateListenerResponse) GetStatusCode ¶
func (r *UpdateListenerResponse) GetStatusCode() string
Click to show internal directories.
Click to hide internal directories.