Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetResourceChangesBadRequest
- type GetResourceChangesInternalServerError
- type GetResourceChangesNotFound
- type GetResourceChangesOK
- type GetResourceChangesParams
- func NewGetResourceChangesParams() *GetResourceChangesParams
- func NewGetResourceChangesParamsWithContext(ctx context.Context) *GetResourceChangesParams
- func NewGetResourceChangesParamsWithHTTPClient(client *http.Client) *GetResourceChangesParams
- func NewGetResourceChangesParamsWithTimeout(timeout time.Duration) *GetResourceChangesParams
- func (o *GetResourceChangesParams) SetAction(action *string)
- func (o *GetResourceChangesParams) SetContext(ctx context.Context)
- func (o *GetResourceChangesParams) SetDefaults()
- func (o *GetResourceChangesParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceChangesParams) SetLimit(limit *int32)
- func (o *GetResourceChangesParams) SetResourceID(resourceID *string)
- func (o *GetResourceChangesParams) SetResourceType(resourceType *string)
- func (o *GetResourceChangesParams) SetStartRevision(startRevision *string)
- func (o *GetResourceChangesParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceChangesParams) WithAction(action *string) *GetResourceChangesParams
- func (o *GetResourceChangesParams) WithContext(ctx context.Context) *GetResourceChangesParams
- func (o *GetResourceChangesParams) WithDefaults() *GetResourceChangesParams
- func (o *GetResourceChangesParams) WithHTTPClient(client *http.Client) *GetResourceChangesParams
- func (o *GetResourceChangesParams) WithLimit(limit *int32) *GetResourceChangesParams
- func (o *GetResourceChangesParams) WithResourceID(resourceID *string) *GetResourceChangesParams
- func (o *GetResourceChangesParams) WithResourceType(resourceType *string) *GetResourceChangesParams
- func (o *GetResourceChangesParams) WithStartRevision(startRevision *string) *GetResourceChangesParams
- func (o *GetResourceChangesParams) WithTimeout(timeout time.Duration) *GetResourceChangesParams
- func (o *GetResourceChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceChangesReader
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 resource change API
func (*Client) GetResourceChanges ¶
func (a *Client) GetResourceChanges(params *GetResourceChangesParams, opts ...ClientOption) (*GetResourceChangesOK, error)
GetResourceChanges get resource changes API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetResourceChanges(params *GetResourceChangesParams, opts ...ClientOption) (*GetResourceChangesOK, 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 resource change API client.
type GetResourceChangesBadRequest ¶
GetResourceChangesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetResourceChangesBadRequest ¶
func NewGetResourceChangesBadRequest() *GetResourceChangesBadRequest
NewGetResourceChangesBadRequest creates a GetResourceChangesBadRequest with default headers values
func (*GetResourceChangesBadRequest) Error ¶
func (o *GetResourceChangesBadRequest) Error() string
func (*GetResourceChangesBadRequest) GetPayload ¶
func (o *GetResourceChangesBadRequest) GetPayload() *models.ErrorBody
type GetResourceChangesInternalServerError ¶
GetResourceChangesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetResourceChangesInternalServerError ¶
func NewGetResourceChangesInternalServerError() *GetResourceChangesInternalServerError
NewGetResourceChangesInternalServerError creates a GetResourceChangesInternalServerError with default headers values
func (*GetResourceChangesInternalServerError) Error ¶
func (o *GetResourceChangesInternalServerError) Error() string
func (*GetResourceChangesInternalServerError) GetPayload ¶
func (o *GetResourceChangesInternalServerError) GetPayload() *models.ErrorBody
type GetResourceChangesNotFound ¶
GetResourceChangesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetResourceChangesNotFound ¶
func NewGetResourceChangesNotFound() *GetResourceChangesNotFound
NewGetResourceChangesNotFound creates a GetResourceChangesNotFound with default headers values
func (*GetResourceChangesNotFound) Error ¶
func (o *GetResourceChangesNotFound) Error() string
func (*GetResourceChangesNotFound) GetPayload ¶
func (o *GetResourceChangesNotFound) GetPayload() *models.ErrorBody
type GetResourceChangesOK ¶
type GetResourceChangesOK struct {
Payload *models.ResourceChangeResponse
}
GetResourceChangesOK describes a response with status code 200, with default header values.
GetResourceChangesOK get resource changes o k
func NewGetResourceChangesOK ¶
func NewGetResourceChangesOK() *GetResourceChangesOK
NewGetResourceChangesOK creates a GetResourceChangesOK with default headers values
func (*GetResourceChangesOK) Error ¶
func (o *GetResourceChangesOK) Error() string
func (*GetResourceChangesOK) GetPayload ¶
func (o *GetResourceChangesOK) GetPayload() *models.ResourceChangeResponse
type GetResourceChangesParams ¶
type GetResourceChangesParams struct { // Action. Action *string // Limit. // // Format: int32 Limit *int32 // ResourceID. ResourceID *string // ResourceType. ResourceType *string // StartRevision. StartRevision *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceChangesParams contains all the parameters to send to the API endpoint
for the get resource changes operation. Typically these are written to a http.Request.
func NewGetResourceChangesParams ¶
func NewGetResourceChangesParams() *GetResourceChangesParams
NewGetResourceChangesParams creates a new GetResourceChangesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetResourceChangesParamsWithContext ¶
func NewGetResourceChangesParamsWithContext(ctx context.Context) *GetResourceChangesParams
NewGetResourceChangesParamsWithContext creates a new GetResourceChangesParams object with the ability to set a context for a request.
func NewGetResourceChangesParamsWithHTTPClient ¶
func NewGetResourceChangesParamsWithHTTPClient(client *http.Client) *GetResourceChangesParams
NewGetResourceChangesParamsWithHTTPClient creates a new GetResourceChangesParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceChangesParamsWithTimeout ¶
func NewGetResourceChangesParamsWithTimeout(timeout time.Duration) *GetResourceChangesParams
NewGetResourceChangesParamsWithTimeout creates a new GetResourceChangesParams object with the ability to set a timeout on a request.
func (*GetResourceChangesParams) SetAction ¶
func (o *GetResourceChangesParams) SetAction(action *string)
SetAction adds the action to the get resource changes params
func (*GetResourceChangesParams) SetContext ¶
func (o *GetResourceChangesParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource changes params
func (*GetResourceChangesParams) SetDefaults ¶
func (o *GetResourceChangesParams) SetDefaults()
SetDefaults hydrates default values in the get resource changes params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceChangesParams) SetHTTPClient ¶
func (o *GetResourceChangesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource changes params
func (*GetResourceChangesParams) SetLimit ¶
func (o *GetResourceChangesParams) SetLimit(limit *int32)
SetLimit adds the limit to the get resource changes params
func (*GetResourceChangesParams) SetResourceID ¶
func (o *GetResourceChangesParams) SetResourceID(resourceID *string)
SetResourceID adds the resourceId to the get resource changes params
func (*GetResourceChangesParams) SetResourceType ¶
func (o *GetResourceChangesParams) SetResourceType(resourceType *string)
SetResourceType adds the resourceType to the get resource changes params
func (*GetResourceChangesParams) SetStartRevision ¶
func (o *GetResourceChangesParams) SetStartRevision(startRevision *string)
SetStartRevision adds the startRevision to the get resource changes params
func (*GetResourceChangesParams) SetTimeout ¶
func (o *GetResourceChangesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource changes params
func (*GetResourceChangesParams) WithAction ¶
func (o *GetResourceChangesParams) WithAction(action *string) *GetResourceChangesParams
WithAction adds the action to the get resource changes params
func (*GetResourceChangesParams) WithContext ¶
func (o *GetResourceChangesParams) WithContext(ctx context.Context) *GetResourceChangesParams
WithContext adds the context to the get resource changes params
func (*GetResourceChangesParams) WithDefaults ¶
func (o *GetResourceChangesParams) WithDefaults() *GetResourceChangesParams
WithDefaults hydrates default values in the get resource changes params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceChangesParams) WithHTTPClient ¶
func (o *GetResourceChangesParams) WithHTTPClient(client *http.Client) *GetResourceChangesParams
WithHTTPClient adds the HTTPClient to the get resource changes params
func (*GetResourceChangesParams) WithLimit ¶
func (o *GetResourceChangesParams) WithLimit(limit *int32) *GetResourceChangesParams
WithLimit adds the limit to the get resource changes params
func (*GetResourceChangesParams) WithResourceID ¶
func (o *GetResourceChangesParams) WithResourceID(resourceID *string) *GetResourceChangesParams
WithResourceID adds the resourceID to the get resource changes params
func (*GetResourceChangesParams) WithResourceType ¶
func (o *GetResourceChangesParams) WithResourceType(resourceType *string) *GetResourceChangesParams
WithResourceType adds the resourceType to the get resource changes params
func (*GetResourceChangesParams) WithStartRevision ¶
func (o *GetResourceChangesParams) WithStartRevision(startRevision *string) *GetResourceChangesParams
WithStartRevision adds the startRevision to the get resource changes params
func (*GetResourceChangesParams) WithTimeout ¶
func (o *GetResourceChangesParams) WithTimeout(timeout time.Duration) *GetResourceChangesParams
WithTimeout adds the timeout to the get resource changes params
func (*GetResourceChangesParams) WriteToRequest ¶
func (o *GetResourceChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceChangesReader ¶
type GetResourceChangesReader struct {
// contains filtered or unexported fields
}
GetResourceChangesReader is a Reader for the GetResourceChanges structure.
func (*GetResourceChangesReader) ReadResponse ¶
func (o *GetResourceChangesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.