Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCertificates(params *GetCertificatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCertificatesOK, error)
- func (a *Client) PostUpdateCertificates(params *PostUpdateCertificatesParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateCertificatesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetCertificatesBadRequest
- type GetCertificatesForbidden
- type GetCertificatesGone
- type GetCertificatesInternalServerError
- type GetCertificatesMethodNotAllowed
- type GetCertificatesNotFound
- type GetCertificatesOK
- type GetCertificatesOKBody
- type GetCertificatesParams
- func NewGetCertificatesParams() *GetCertificatesParams
- func NewGetCertificatesParamsWithContext(ctx context.Context) *GetCertificatesParams
- func NewGetCertificatesParamsWithHTTPClient(client *http.Client) *GetCertificatesParams
- func NewGetCertificatesParamsWithTimeout(timeout time.Duration) *GetCertificatesParams
- func (o *GetCertificatesParams) SetCertificateID(certificateID *string)
- func (o *GetCertificatesParams) SetContext(ctx context.Context)
- func (o *GetCertificatesParams) SetHTTPClient(client *http.Client)
- func (o *GetCertificatesParams) SetTimeout(timeout time.Duration)
- func (o *GetCertificatesParams) WithCertificateID(certificateID *string) *GetCertificatesParams
- func (o *GetCertificatesParams) WithContext(ctx context.Context) *GetCertificatesParams
- func (o *GetCertificatesParams) WithHTTPClient(client *http.Client) *GetCertificatesParams
- func (o *GetCertificatesParams) WithTimeout(timeout time.Duration) *GetCertificatesParams
- func (o *GetCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCertificatesReader
- type GetCertificatesServiceUnavailable
- type GetCertificatesUnauthorized
- type PostUpdateCertificatesBadRequest
- type PostUpdateCertificatesForbidden
- type PostUpdateCertificatesGone
- type PostUpdateCertificatesInternalServerError
- type PostUpdateCertificatesMethodNotAllowed
- type PostUpdateCertificatesNotFound
- type PostUpdateCertificatesOK
- type PostUpdateCertificatesOKBody
- type PostUpdateCertificatesParams
- func NewPostUpdateCertificatesParams() *PostUpdateCertificatesParams
- func NewPostUpdateCertificatesParamsWithContext(ctx context.Context) *PostUpdateCertificatesParams
- func NewPostUpdateCertificatesParamsWithHTTPClient(client *http.Client) *PostUpdateCertificatesParams
- func NewPostUpdateCertificatesParamsWithTimeout(timeout time.Duration) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) SetContentCommitmentUsage(contentCommitmentUsage *string)
- func (o *PostUpdateCertificatesParams) SetContext(ctx context.Context)
- func (o *PostUpdateCertificatesParams) SetCrlSignUsage(crlSignUsage *string)
- func (o *PostUpdateCertificatesParams) SetDNS(dns *string)
- func (o *PostUpdateCertificatesParams) SetDataEnciphermentUsage(dataEnciphermentUsage *string)
- func (o *PostUpdateCertificatesParams) SetDecipherOnlyUsage(decipherOnlyUsage *string)
- func (o *PostUpdateCertificatesParams) SetDigitalSignatureUsage(digitalSignatureUsage *string)
- func (o *PostUpdateCertificatesParams) SetEncipherOnlyUsage(encipherOnlyUsage *string)
- func (o *PostUpdateCertificatesParams) SetEndPointID(endPointID *string)
- func (o *PostUpdateCertificatesParams) SetEndPointType(endPointType *string)
- func (o *PostUpdateCertificatesParams) SetExtendedKeyUsage(extendedKeyUsage *string)
- func (o *PostUpdateCertificatesParams) SetGroups(groups *string)
- func (o *PostUpdateCertificatesParams) SetHTTPClient(client *http.Client)
- func (o *PostUpdateCertificatesParams) SetIssuedBy(issuedBy *string)
- func (o *PostUpdateCertificatesParams) SetIssuedTo(issuedTo *string)
- func (o *PostUpdateCertificatesParams) SetKeyAgreementUsage(keyAgreementUsage *string)
- func (o *PostUpdateCertificatesParams) SetKeyCertSignUsage(keyCertSignUsage *string)
- func (o *PostUpdateCertificatesParams) SetKeyEnciphermentUsage(keyEnciphermentUsage *string)
- func (o *PostUpdateCertificatesParams) SetSerialNumber(serialNumber *string)
- func (o *PostUpdateCertificatesParams) SetSignatureAlgorithm(signatureAlgorithm *string)
- func (o *PostUpdateCertificatesParams) SetSignatureHash(signatureHash *string)
- func (o *PostUpdateCertificatesParams) SetSubject(subject *string)
- func (o *PostUpdateCertificatesParams) SetTimeout(timeout time.Duration)
- func (o *PostUpdateCertificatesParams) SetValidFrom(validFrom *string)
- func (o *PostUpdateCertificatesParams) SetValidTo(validTo *string)
- func (o *PostUpdateCertificatesParams) SetVendor(vendor *string)
- func (o *PostUpdateCertificatesParams) SetVersion(version *string)
- func (o *PostUpdateCertificatesParams) WithContentCommitmentUsage(contentCommitmentUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithContext(ctx context.Context) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithCrlSignUsage(crlSignUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithDNS(dns *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithDataEnciphermentUsage(dataEnciphermentUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithDecipherOnlyUsage(decipherOnlyUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithDigitalSignatureUsage(digitalSignatureUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithEncipherOnlyUsage(encipherOnlyUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithEndPointID(endPointID *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithEndPointType(endPointType *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithExtendedKeyUsage(extendedKeyUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithGroups(groups *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithHTTPClient(client *http.Client) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithIssuedBy(issuedBy *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithIssuedTo(issuedTo *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithKeyAgreementUsage(keyAgreementUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithKeyCertSignUsage(keyCertSignUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithKeyEnciphermentUsage(keyEnciphermentUsage *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithSerialNumber(serialNumber *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithSignatureAlgorithm(signatureAlgorithm *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithSignatureHash(signatureHash *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithSubject(subject *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithTimeout(timeout time.Duration) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithValidFrom(validFrom *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithValidTo(validTo *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithVendor(vendor *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WithVersion(version *string) *PostUpdateCertificatesParams
- func (o *PostUpdateCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUpdateCertificatesReader
- type PostUpdateCertificatesServiceUnavailable
- type PostUpdateCertificatesUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for certificates API
func (*Client) GetCertificates ¶
func (a *Client) GetCertificates(params *GetCertificatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCertificatesOK, error)
GetCertificates gets certificates
This API is used to return the certificates you have added or discovered in Device42.
func (*Client) PostUpdateCertificates ¶
func (a *Client) PostUpdateCertificates(params *PostUpdateCertificatesParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateCertificatesOK, error)
PostUpdateCertificates creates update certificates
This API is used to update or add new certificates in bulk. Note: If you enter the DNS for the certificate, that is the only required field. Otherwise issued_to, valid_from, valid_to, and subject are required.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetCertificates(params *GetCertificatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCertificatesOK, error) PostUpdateCertificates(params *PostUpdateCertificatesParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateCertificatesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new certificates API client.
type GetCertificatesBadRequest ¶
type GetCertificatesBadRequest struct { }
GetCertificatesBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetCertificatesBadRequest ¶
func NewGetCertificatesBadRequest() *GetCertificatesBadRequest
NewGetCertificatesBadRequest creates a GetCertificatesBadRequest with default headers values
func (*GetCertificatesBadRequest) Error ¶
func (o *GetCertificatesBadRequest) Error() string
type GetCertificatesForbidden ¶
type GetCertificatesForbidden struct { }
GetCertificatesForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetCertificatesForbidden ¶
func NewGetCertificatesForbidden() *GetCertificatesForbidden
NewGetCertificatesForbidden creates a GetCertificatesForbidden with default headers values
func (*GetCertificatesForbidden) Error ¶
func (o *GetCertificatesForbidden) Error() string
type GetCertificatesGone ¶
type GetCertificatesGone struct { }
GetCertificatesGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetCertificatesGone ¶
func NewGetCertificatesGone() *GetCertificatesGone
NewGetCertificatesGone creates a GetCertificatesGone with default headers values
func (*GetCertificatesGone) Error ¶
func (o *GetCertificatesGone) Error() string
type GetCertificatesInternalServerError ¶
type GetCertificatesInternalServerError struct { }
GetCertificatesInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewGetCertificatesInternalServerError ¶
func NewGetCertificatesInternalServerError() *GetCertificatesInternalServerError
NewGetCertificatesInternalServerError creates a GetCertificatesInternalServerError with default headers values
func (*GetCertificatesInternalServerError) Error ¶
func (o *GetCertificatesInternalServerError) Error() string
type GetCertificatesMethodNotAllowed ¶
type GetCertificatesMethodNotAllowed struct { }
GetCertificatesMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetCertificatesMethodNotAllowed ¶
func NewGetCertificatesMethodNotAllowed() *GetCertificatesMethodNotAllowed
NewGetCertificatesMethodNotAllowed creates a GetCertificatesMethodNotAllowed with default headers values
func (*GetCertificatesMethodNotAllowed) Error ¶
func (o *GetCertificatesMethodNotAllowed) Error() string
type GetCertificatesNotFound ¶
type GetCertificatesNotFound struct { }
GetCertificatesNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetCertificatesNotFound ¶
func NewGetCertificatesNotFound() *GetCertificatesNotFound
NewGetCertificatesNotFound creates a GetCertificatesNotFound with default headers values
func (*GetCertificatesNotFound) Error ¶
func (o *GetCertificatesNotFound) Error() string
type GetCertificatesOK ¶
type GetCertificatesOK struct {
Payload *GetCertificatesOKBody
}
GetCertificatesOK handles this case with default header values.
The above command returns results like this:
func NewGetCertificatesOK ¶
func NewGetCertificatesOK() *GetCertificatesOK
NewGetCertificatesOK creates a GetCertificatesOK with default headers values
func (*GetCertificatesOK) Error ¶
func (o *GetCertificatesOK) Error() string
func (*GetCertificatesOK) GetPayload ¶
func (o *GetCertificatesOK) GetPayload() *GetCertificatesOKBody
type GetCertificatesOKBody ¶
type GetCertificatesOKBody struct { // certificate details CertificateDetails []*models.GetCertificates `json:"certificate_details"` // total count TotalCount interface{} `json:"total_count,omitempty"` }
GetCertificatesOKBody get certificates o k body swagger:model GetCertificatesOKBody
func (*GetCertificatesOKBody) MarshalBinary ¶
func (o *GetCertificatesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCertificatesOKBody) UnmarshalBinary ¶
func (o *GetCertificatesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCertificatesParams ¶
type GetCertificatesParams struct { /*CertificateID ID of the certificate */ CertificateID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCertificatesParams contains all the parameters to send to the API endpoint for the get certificates operation typically these are written to a http.Request
func NewGetCertificatesParams ¶
func NewGetCertificatesParams() *GetCertificatesParams
NewGetCertificatesParams creates a new GetCertificatesParams object with the default values initialized.
func NewGetCertificatesParamsWithContext ¶
func NewGetCertificatesParamsWithContext(ctx context.Context) *GetCertificatesParams
NewGetCertificatesParamsWithContext creates a new GetCertificatesParams object with the default values initialized, and the ability to set a context for a request
func NewGetCertificatesParamsWithHTTPClient ¶
func NewGetCertificatesParamsWithHTTPClient(client *http.Client) *GetCertificatesParams
NewGetCertificatesParamsWithHTTPClient creates a new GetCertificatesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCertificatesParamsWithTimeout ¶
func NewGetCertificatesParamsWithTimeout(timeout time.Duration) *GetCertificatesParams
NewGetCertificatesParamsWithTimeout creates a new GetCertificatesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCertificatesParams) SetCertificateID ¶
func (o *GetCertificatesParams) SetCertificateID(certificateID *string)
SetCertificateID adds the certificateId to the get certificates params
func (*GetCertificatesParams) SetContext ¶
func (o *GetCertificatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get certificates params
func (*GetCertificatesParams) SetHTTPClient ¶
func (o *GetCertificatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get certificates params
func (*GetCertificatesParams) SetTimeout ¶
func (o *GetCertificatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get certificates params
func (*GetCertificatesParams) WithCertificateID ¶
func (o *GetCertificatesParams) WithCertificateID(certificateID *string) *GetCertificatesParams
WithCertificateID adds the certificateID to the get certificates params
func (*GetCertificatesParams) WithContext ¶
func (o *GetCertificatesParams) WithContext(ctx context.Context) *GetCertificatesParams
WithContext adds the context to the get certificates params
func (*GetCertificatesParams) WithHTTPClient ¶
func (o *GetCertificatesParams) WithHTTPClient(client *http.Client) *GetCertificatesParams
WithHTTPClient adds the HTTPClient to the get certificates params
func (*GetCertificatesParams) WithTimeout ¶
func (o *GetCertificatesParams) WithTimeout(timeout time.Duration) *GetCertificatesParams
WithTimeout adds the timeout to the get certificates params
func (*GetCertificatesParams) WriteToRequest ¶
func (o *GetCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCertificatesReader ¶
type GetCertificatesReader struct {
// contains filtered or unexported fields
}
GetCertificatesReader is a Reader for the GetCertificates structure.
func (*GetCertificatesReader) ReadResponse ¶
func (o *GetCertificatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCertificatesServiceUnavailable ¶
type GetCertificatesServiceUnavailable struct { }
GetCertificatesServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetCertificatesServiceUnavailable ¶
func NewGetCertificatesServiceUnavailable() *GetCertificatesServiceUnavailable
NewGetCertificatesServiceUnavailable creates a GetCertificatesServiceUnavailable with default headers values
func (*GetCertificatesServiceUnavailable) Error ¶
func (o *GetCertificatesServiceUnavailable) Error() string
type GetCertificatesUnauthorized ¶
type GetCertificatesUnauthorized struct { }
GetCertificatesUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetCertificatesUnauthorized ¶
func NewGetCertificatesUnauthorized() *GetCertificatesUnauthorized
NewGetCertificatesUnauthorized creates a GetCertificatesUnauthorized with default headers values
func (*GetCertificatesUnauthorized) Error ¶
func (o *GetCertificatesUnauthorized) Error() string
type PostUpdateCertificatesBadRequest ¶
type PostUpdateCertificatesBadRequest struct { }
PostUpdateCertificatesBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostUpdateCertificatesBadRequest ¶
func NewPostUpdateCertificatesBadRequest() *PostUpdateCertificatesBadRequest
NewPostUpdateCertificatesBadRequest creates a PostUpdateCertificatesBadRequest with default headers values
func (*PostUpdateCertificatesBadRequest) Error ¶
func (o *PostUpdateCertificatesBadRequest) Error() string
type PostUpdateCertificatesForbidden ¶
type PostUpdateCertificatesForbidden struct { }
PostUpdateCertificatesForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostUpdateCertificatesForbidden ¶
func NewPostUpdateCertificatesForbidden() *PostUpdateCertificatesForbidden
NewPostUpdateCertificatesForbidden creates a PostUpdateCertificatesForbidden with default headers values
func (*PostUpdateCertificatesForbidden) Error ¶
func (o *PostUpdateCertificatesForbidden) Error() string
type PostUpdateCertificatesGone ¶
type PostUpdateCertificatesGone struct { }
PostUpdateCertificatesGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostUpdateCertificatesGone ¶
func NewPostUpdateCertificatesGone() *PostUpdateCertificatesGone
NewPostUpdateCertificatesGone creates a PostUpdateCertificatesGone with default headers values
func (*PostUpdateCertificatesGone) Error ¶
func (o *PostUpdateCertificatesGone) Error() string
type PostUpdateCertificatesInternalServerError ¶
type PostUpdateCertificatesInternalServerError struct { }
PostUpdateCertificatesInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewPostUpdateCertificatesInternalServerError ¶
func NewPostUpdateCertificatesInternalServerError() *PostUpdateCertificatesInternalServerError
NewPostUpdateCertificatesInternalServerError creates a PostUpdateCertificatesInternalServerError with default headers values
func (*PostUpdateCertificatesInternalServerError) Error ¶
func (o *PostUpdateCertificatesInternalServerError) Error() string
type PostUpdateCertificatesMethodNotAllowed ¶
type PostUpdateCertificatesMethodNotAllowed struct { }
PostUpdateCertificatesMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostUpdateCertificatesMethodNotAllowed ¶
func NewPostUpdateCertificatesMethodNotAllowed() *PostUpdateCertificatesMethodNotAllowed
NewPostUpdateCertificatesMethodNotAllowed creates a PostUpdateCertificatesMethodNotAllowed with default headers values
func (*PostUpdateCertificatesMethodNotAllowed) Error ¶
func (o *PostUpdateCertificatesMethodNotAllowed) Error() string
type PostUpdateCertificatesNotFound ¶
type PostUpdateCertificatesNotFound struct { }
PostUpdateCertificatesNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostUpdateCertificatesNotFound ¶
func NewPostUpdateCertificatesNotFound() *PostUpdateCertificatesNotFound
NewPostUpdateCertificatesNotFound creates a PostUpdateCertificatesNotFound with default headers values
func (*PostUpdateCertificatesNotFound) Error ¶
func (o *PostUpdateCertificatesNotFound) Error() string
type PostUpdateCertificatesOK ¶
type PostUpdateCertificatesOK struct {
Payload *PostUpdateCertificatesOKBody
}
PostUpdateCertificatesOK handles this case with default header values.
The above command returns results like this:
func NewPostUpdateCertificatesOK ¶
func NewPostUpdateCertificatesOK() *PostUpdateCertificatesOK
NewPostUpdateCertificatesOK creates a PostUpdateCertificatesOK with default headers values
func (*PostUpdateCertificatesOK) Error ¶
func (o *PostUpdateCertificatesOK) Error() string
func (*PostUpdateCertificatesOK) GetPayload ¶
func (o *PostUpdateCertificatesOK) GetPayload() *PostUpdateCertificatesOKBody
type PostUpdateCertificatesOKBody ¶
type PostUpdateCertificatesOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostUpdateCertificatesOKBody post update certificates o k body swagger:model PostUpdateCertificatesOKBody
func (*PostUpdateCertificatesOKBody) MarshalBinary ¶
func (o *PostUpdateCertificatesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostUpdateCertificatesOKBody) UnmarshalBinary ¶
func (o *PostUpdateCertificatesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostUpdateCertificatesParams ¶
type PostUpdateCertificatesParams struct { /*ContentCommitmentUsage*/ ContentCommitmentUsage *string /*CrlSignUsage True when the subject public key is used for verifying signatures on certificate revocation lists. */ CrlSignUsage *string /*DataEnciphermentUsage True when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher. */ DataEnciphermentUsage *string /*DecipherOnlyUsage When the decipherOnly bit is asserted and the keyAgreement bit is also set, the subject public key may be used only for deciphering data while performing key agreement. */ DecipherOnlyUsage *string /*DigitalSignatureUsage True when the subject public key is used for verifying digital signatures */ DigitalSignatureUsage *string /*DNS dns address of the site certificate is issued for. If entered, is the only required field */ DNS *string /*EncipherOnlyUsage When the encipherOnly bit is asserted and the keyAgreement bit is also set, the subject public key may be used only for enciphering data while performing key agreement. */ EncipherOnlyUsage *string /*EndPointID*/ EndPointID *string /*EndPointType*/ EndPointType *string /*ExtendedKeyUsage Indicates the purpose of the public key contained in the certificate. It contains a list of OIDs, each of which indicates an allowed use. */ ExtendedKeyUsage *string /*Groups Use only if Multitenancy is on. List of groups separated by commas. Each group has name followed by colon followed by yes or no for change_permission, eg. CorpUS:yes, CorpNY:no. */ Groups *string /*IssuedBy The entity issuing the certificate */ IssuedBy *string /*IssuedTo Entity certificate is issued to, required if no dns value */ IssuedTo *string /*KeyAgreementUsage True when the subject public key is used for key agreement. */ KeyAgreementUsage *string /*KeyCertSignUsage True when the subject public key is used for verifying signatures on public key certificates. */ KeyCertSignUsage *string /*KeyEnciphermentUsage True when the subject public key is used for enciphering private or secret keys */ KeyEnciphermentUsage *string /*SerialNumber Used to uniquely identify the certificate */ SerialNumber *string /*SignatureAlgorithm The algorithm used to create the signature. */ SignatureAlgorithm *string /*SignatureHash The actual signature to verify that it came from the issuer */ SignatureHash *string /*Subject The person, or entity identified. Required if no dns value */ Subject *string /*ValidFrom The start date of the certificate, required if no dns value. YYYY-MM-DD format */ ValidFrom *string /*ValidTo The expiration date of the certificate, required if no dns value. YYYY-MM-DD format */ ValidTo *string /*Vendor The name of the vendor that provided this certificate */ Vendor *string /*Version The version of the encoded certificate */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostUpdateCertificatesParams contains all the parameters to send to the API endpoint for the post update certificates operation typically these are written to a http.Request
func NewPostUpdateCertificatesParams ¶
func NewPostUpdateCertificatesParams() *PostUpdateCertificatesParams
NewPostUpdateCertificatesParams creates a new PostUpdateCertificatesParams object with the default values initialized.
func NewPostUpdateCertificatesParamsWithContext ¶
func NewPostUpdateCertificatesParamsWithContext(ctx context.Context) *PostUpdateCertificatesParams
NewPostUpdateCertificatesParamsWithContext creates a new PostUpdateCertificatesParams object with the default values initialized, and the ability to set a context for a request
func NewPostUpdateCertificatesParamsWithHTTPClient ¶
func NewPostUpdateCertificatesParamsWithHTTPClient(client *http.Client) *PostUpdateCertificatesParams
NewPostUpdateCertificatesParamsWithHTTPClient creates a new PostUpdateCertificatesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostUpdateCertificatesParamsWithTimeout ¶
func NewPostUpdateCertificatesParamsWithTimeout(timeout time.Duration) *PostUpdateCertificatesParams
NewPostUpdateCertificatesParamsWithTimeout creates a new PostUpdateCertificatesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostUpdateCertificatesParams) SetContentCommitmentUsage ¶
func (o *PostUpdateCertificatesParams) SetContentCommitmentUsage(contentCommitmentUsage *string)
SetContentCommitmentUsage adds the contentCommitmentUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetContext ¶
func (o *PostUpdateCertificatesParams) SetContext(ctx context.Context)
SetContext adds the context to the post update certificates params
func (*PostUpdateCertificatesParams) SetCrlSignUsage ¶
func (o *PostUpdateCertificatesParams) SetCrlSignUsage(crlSignUsage *string)
SetCrlSignUsage adds the crlSignUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetDNS ¶
func (o *PostUpdateCertificatesParams) SetDNS(dns *string)
SetDNS adds the dns to the post update certificates params
func (*PostUpdateCertificatesParams) SetDataEnciphermentUsage ¶
func (o *PostUpdateCertificatesParams) SetDataEnciphermentUsage(dataEnciphermentUsage *string)
SetDataEnciphermentUsage adds the dataEnciphermentUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetDecipherOnlyUsage ¶
func (o *PostUpdateCertificatesParams) SetDecipherOnlyUsage(decipherOnlyUsage *string)
SetDecipherOnlyUsage adds the decipherOnlyUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetDigitalSignatureUsage ¶
func (o *PostUpdateCertificatesParams) SetDigitalSignatureUsage(digitalSignatureUsage *string)
SetDigitalSignatureUsage adds the digitalSignatureUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetEncipherOnlyUsage ¶
func (o *PostUpdateCertificatesParams) SetEncipherOnlyUsage(encipherOnlyUsage *string)
SetEncipherOnlyUsage adds the encipherOnlyUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetEndPointID ¶
func (o *PostUpdateCertificatesParams) SetEndPointID(endPointID *string)
SetEndPointID adds the endPointId to the post update certificates params
func (*PostUpdateCertificatesParams) SetEndPointType ¶
func (o *PostUpdateCertificatesParams) SetEndPointType(endPointType *string)
SetEndPointType adds the endPointType to the post update certificates params
func (*PostUpdateCertificatesParams) SetExtendedKeyUsage ¶
func (o *PostUpdateCertificatesParams) SetExtendedKeyUsage(extendedKeyUsage *string)
SetExtendedKeyUsage adds the extendedKeyUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetGroups ¶
func (o *PostUpdateCertificatesParams) SetGroups(groups *string)
SetGroups adds the groups to the post update certificates params
func (*PostUpdateCertificatesParams) SetHTTPClient ¶
func (o *PostUpdateCertificatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post update certificates params
func (*PostUpdateCertificatesParams) SetIssuedBy ¶
func (o *PostUpdateCertificatesParams) SetIssuedBy(issuedBy *string)
SetIssuedBy adds the issuedBy to the post update certificates params
func (*PostUpdateCertificatesParams) SetIssuedTo ¶
func (o *PostUpdateCertificatesParams) SetIssuedTo(issuedTo *string)
SetIssuedTo adds the issuedTo to the post update certificates params
func (*PostUpdateCertificatesParams) SetKeyAgreementUsage ¶
func (o *PostUpdateCertificatesParams) SetKeyAgreementUsage(keyAgreementUsage *string)
SetKeyAgreementUsage adds the keyAgreementUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetKeyCertSignUsage ¶
func (o *PostUpdateCertificatesParams) SetKeyCertSignUsage(keyCertSignUsage *string)
SetKeyCertSignUsage adds the keyCertSignUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetKeyEnciphermentUsage ¶
func (o *PostUpdateCertificatesParams) SetKeyEnciphermentUsage(keyEnciphermentUsage *string)
SetKeyEnciphermentUsage adds the keyEnciphermentUsage to the post update certificates params
func (*PostUpdateCertificatesParams) SetSerialNumber ¶
func (o *PostUpdateCertificatesParams) SetSerialNumber(serialNumber *string)
SetSerialNumber adds the serialNumber to the post update certificates params
func (*PostUpdateCertificatesParams) SetSignatureAlgorithm ¶
func (o *PostUpdateCertificatesParams) SetSignatureAlgorithm(signatureAlgorithm *string)
SetSignatureAlgorithm adds the signatureAlgorithm to the post update certificates params
func (*PostUpdateCertificatesParams) SetSignatureHash ¶
func (o *PostUpdateCertificatesParams) SetSignatureHash(signatureHash *string)
SetSignatureHash adds the signatureHash to the post update certificates params
func (*PostUpdateCertificatesParams) SetSubject ¶
func (o *PostUpdateCertificatesParams) SetSubject(subject *string)
SetSubject adds the subject to the post update certificates params
func (*PostUpdateCertificatesParams) SetTimeout ¶
func (o *PostUpdateCertificatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post update certificates params
func (*PostUpdateCertificatesParams) SetValidFrom ¶
func (o *PostUpdateCertificatesParams) SetValidFrom(validFrom *string)
SetValidFrom adds the validFrom to the post update certificates params
func (*PostUpdateCertificatesParams) SetValidTo ¶
func (o *PostUpdateCertificatesParams) SetValidTo(validTo *string)
SetValidTo adds the validTo to the post update certificates params
func (*PostUpdateCertificatesParams) SetVendor ¶
func (o *PostUpdateCertificatesParams) SetVendor(vendor *string)
SetVendor adds the vendor to the post update certificates params
func (*PostUpdateCertificatesParams) SetVersion ¶
func (o *PostUpdateCertificatesParams) SetVersion(version *string)
SetVersion adds the version to the post update certificates params
func (*PostUpdateCertificatesParams) WithContentCommitmentUsage ¶
func (o *PostUpdateCertificatesParams) WithContentCommitmentUsage(contentCommitmentUsage *string) *PostUpdateCertificatesParams
WithContentCommitmentUsage adds the contentCommitmentUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithContext ¶
func (o *PostUpdateCertificatesParams) WithContext(ctx context.Context) *PostUpdateCertificatesParams
WithContext adds the context to the post update certificates params
func (*PostUpdateCertificatesParams) WithCrlSignUsage ¶
func (o *PostUpdateCertificatesParams) WithCrlSignUsage(crlSignUsage *string) *PostUpdateCertificatesParams
WithCrlSignUsage adds the crlSignUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithDNS ¶
func (o *PostUpdateCertificatesParams) WithDNS(dns *string) *PostUpdateCertificatesParams
WithDNS adds the dns to the post update certificates params
func (*PostUpdateCertificatesParams) WithDataEnciphermentUsage ¶
func (o *PostUpdateCertificatesParams) WithDataEnciphermentUsage(dataEnciphermentUsage *string) *PostUpdateCertificatesParams
WithDataEnciphermentUsage adds the dataEnciphermentUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithDecipherOnlyUsage ¶
func (o *PostUpdateCertificatesParams) WithDecipherOnlyUsage(decipherOnlyUsage *string) *PostUpdateCertificatesParams
WithDecipherOnlyUsage adds the decipherOnlyUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithDigitalSignatureUsage ¶
func (o *PostUpdateCertificatesParams) WithDigitalSignatureUsage(digitalSignatureUsage *string) *PostUpdateCertificatesParams
WithDigitalSignatureUsage adds the digitalSignatureUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithEncipherOnlyUsage ¶
func (o *PostUpdateCertificatesParams) WithEncipherOnlyUsage(encipherOnlyUsage *string) *PostUpdateCertificatesParams
WithEncipherOnlyUsage adds the encipherOnlyUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithEndPointID ¶
func (o *PostUpdateCertificatesParams) WithEndPointID(endPointID *string) *PostUpdateCertificatesParams
WithEndPointID adds the endPointID to the post update certificates params
func (*PostUpdateCertificatesParams) WithEndPointType ¶
func (o *PostUpdateCertificatesParams) WithEndPointType(endPointType *string) *PostUpdateCertificatesParams
WithEndPointType adds the endPointType to the post update certificates params
func (*PostUpdateCertificatesParams) WithExtendedKeyUsage ¶
func (o *PostUpdateCertificatesParams) WithExtendedKeyUsage(extendedKeyUsage *string) *PostUpdateCertificatesParams
WithExtendedKeyUsage adds the extendedKeyUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithGroups ¶
func (o *PostUpdateCertificatesParams) WithGroups(groups *string) *PostUpdateCertificatesParams
WithGroups adds the groups to the post update certificates params
func (*PostUpdateCertificatesParams) WithHTTPClient ¶
func (o *PostUpdateCertificatesParams) WithHTTPClient(client *http.Client) *PostUpdateCertificatesParams
WithHTTPClient adds the HTTPClient to the post update certificates params
func (*PostUpdateCertificatesParams) WithIssuedBy ¶
func (o *PostUpdateCertificatesParams) WithIssuedBy(issuedBy *string) *PostUpdateCertificatesParams
WithIssuedBy adds the issuedBy to the post update certificates params
func (*PostUpdateCertificatesParams) WithIssuedTo ¶
func (o *PostUpdateCertificatesParams) WithIssuedTo(issuedTo *string) *PostUpdateCertificatesParams
WithIssuedTo adds the issuedTo to the post update certificates params
func (*PostUpdateCertificatesParams) WithKeyAgreementUsage ¶
func (o *PostUpdateCertificatesParams) WithKeyAgreementUsage(keyAgreementUsage *string) *PostUpdateCertificatesParams
WithKeyAgreementUsage adds the keyAgreementUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithKeyCertSignUsage ¶
func (o *PostUpdateCertificatesParams) WithKeyCertSignUsage(keyCertSignUsage *string) *PostUpdateCertificatesParams
WithKeyCertSignUsage adds the keyCertSignUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithKeyEnciphermentUsage ¶
func (o *PostUpdateCertificatesParams) WithKeyEnciphermentUsage(keyEnciphermentUsage *string) *PostUpdateCertificatesParams
WithKeyEnciphermentUsage adds the keyEnciphermentUsage to the post update certificates params
func (*PostUpdateCertificatesParams) WithSerialNumber ¶
func (o *PostUpdateCertificatesParams) WithSerialNumber(serialNumber *string) *PostUpdateCertificatesParams
WithSerialNumber adds the serialNumber to the post update certificates params
func (*PostUpdateCertificatesParams) WithSignatureAlgorithm ¶
func (o *PostUpdateCertificatesParams) WithSignatureAlgorithm(signatureAlgorithm *string) *PostUpdateCertificatesParams
WithSignatureAlgorithm adds the signatureAlgorithm to the post update certificates params
func (*PostUpdateCertificatesParams) WithSignatureHash ¶
func (o *PostUpdateCertificatesParams) WithSignatureHash(signatureHash *string) *PostUpdateCertificatesParams
WithSignatureHash adds the signatureHash to the post update certificates params
func (*PostUpdateCertificatesParams) WithSubject ¶
func (o *PostUpdateCertificatesParams) WithSubject(subject *string) *PostUpdateCertificatesParams
WithSubject adds the subject to the post update certificates params
func (*PostUpdateCertificatesParams) WithTimeout ¶
func (o *PostUpdateCertificatesParams) WithTimeout(timeout time.Duration) *PostUpdateCertificatesParams
WithTimeout adds the timeout to the post update certificates params
func (*PostUpdateCertificatesParams) WithValidFrom ¶
func (o *PostUpdateCertificatesParams) WithValidFrom(validFrom *string) *PostUpdateCertificatesParams
WithValidFrom adds the validFrom to the post update certificates params
func (*PostUpdateCertificatesParams) WithValidTo ¶
func (o *PostUpdateCertificatesParams) WithValidTo(validTo *string) *PostUpdateCertificatesParams
WithValidTo adds the validTo to the post update certificates params
func (*PostUpdateCertificatesParams) WithVendor ¶
func (o *PostUpdateCertificatesParams) WithVendor(vendor *string) *PostUpdateCertificatesParams
WithVendor adds the vendor to the post update certificates params
func (*PostUpdateCertificatesParams) WithVersion ¶
func (o *PostUpdateCertificatesParams) WithVersion(version *string) *PostUpdateCertificatesParams
WithVersion adds the version to the post update certificates params
func (*PostUpdateCertificatesParams) WriteToRequest ¶
func (o *PostUpdateCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostUpdateCertificatesReader ¶
type PostUpdateCertificatesReader struct {
// contains filtered or unexported fields
}
PostUpdateCertificatesReader is a Reader for the PostUpdateCertificates structure.
func (*PostUpdateCertificatesReader) ReadResponse ¶
func (o *PostUpdateCertificatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUpdateCertificatesServiceUnavailable ¶
type PostUpdateCertificatesServiceUnavailable struct { }
PostUpdateCertificatesServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostUpdateCertificatesServiceUnavailable ¶
func NewPostUpdateCertificatesServiceUnavailable() *PostUpdateCertificatesServiceUnavailable
NewPostUpdateCertificatesServiceUnavailable creates a PostUpdateCertificatesServiceUnavailable with default headers values
func (*PostUpdateCertificatesServiceUnavailable) Error ¶
func (o *PostUpdateCertificatesServiceUnavailable) Error() string
type PostUpdateCertificatesUnauthorized ¶
type PostUpdateCertificatesUnauthorized struct { }
PostUpdateCertificatesUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostUpdateCertificatesUnauthorized ¶
func NewPostUpdateCertificatesUnauthorized() *PostUpdateCertificatesUnauthorized
NewPostUpdateCertificatesUnauthorized creates a PostUpdateCertificatesUnauthorized with default headers values
func (*PostUpdateCertificatesUnauthorized) Error ¶
func (o *PostUpdateCertificatesUnauthorized) Error() string