Documentation ¶
Index ¶
- type Client
- type ResolveBadRequest
- type ResolveBatchBadRequest
- type ResolveBatchInternalServerError
- type ResolveBatchNoContent
- type ResolveBatchOK
- type ResolveBatchParams
- func (o *ResolveBatchParams) SetAccount(account *string)
- func (o *ResolveBatchParams) SetContext(ctx context.Context)
- func (o *ResolveBatchParams) SetEnvironment(environment *string)
- func (o *ResolveBatchParams) SetFrom(from *string)
- func (o *ResolveBatchParams) SetHTTPClient(client *http.Client)
- func (o *ResolveBatchParams) SetPage(page *int32)
- func (o *ResolveBatchParams) SetRegion(region *string)
- func (o *ResolveBatchParams) SetTimeout(timeout time.Duration)
- func (o *ResolveBatchParams) SetTo(to *string)
- func (o *ResolveBatchParams) WithAccount(account *string) *ResolveBatchParams
- func (o *ResolveBatchParams) WithContext(ctx context.Context) *ResolveBatchParams
- func (o *ResolveBatchParams) WithEnvironment(environment *string) *ResolveBatchParams
- func (o *ResolveBatchParams) WithFrom(from *string) *ResolveBatchParams
- func (o *ResolveBatchParams) WithHTTPClient(client *http.Client) *ResolveBatchParams
- func (o *ResolveBatchParams) WithPage(page *int32) *ResolveBatchParams
- func (o *ResolveBatchParams) WithRegion(region *string) *ResolveBatchParams
- func (o *ResolveBatchParams) WithTimeout(timeout time.Duration) *ResolveBatchParams
- func (o *ResolveBatchParams) WithTo(to *string) *ResolveBatchParams
- func (o *ResolveBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResolveBatchReader
- type ResolveInternalServerError
- type ResolveNotFound
- type ResolveOK
- type ResolveParams
- func (o *ResolveParams) SetAccount(account *string)
- func (o *ResolveParams) SetContext(ctx context.Context)
- func (o *ResolveParams) SetEnvironment(environment *string)
- func (o *ResolveParams) SetHTTPClient(client *http.Client)
- func (o *ResolveParams) SetLabel(label *string)
- func (o *ResolveParams) SetRegion(region *string)
- func (o *ResolveParams) SetService(service *string)
- func (o *ResolveParams) SetTimeout(timeout time.Duration)
- func (o *ResolveParams) WithAccount(account *string) *ResolveParams
- func (o *ResolveParams) WithContext(ctx context.Context) *ResolveParams
- func (o *ResolveParams) WithEnvironment(environment *string) *ResolveParams
- func (o *ResolveParams) WithHTTPClient(client *http.Client) *ResolveParams
- func (o *ResolveParams) WithLabel(label *string) *ResolveParams
- func (o *ResolveParams) WithRegion(region *string) *ResolveParams
- func (o *ResolveParams) WithService(service *string) *ResolveParams
- func (o *ResolveParams) WithTimeout(timeout time.Duration) *ResolveParams
- func (o *ResolveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResolveReader
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 resolve API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new resolve API client.
func (*Client) Resolve ¶
func (a *Client) Resolve(params *ResolveParams) (*ResolveOK, error)
Resolve resolves
Resolve a given location set into a set of matching Mapping names to their associated release details expanded.
func (*Client) ResolveBatch ¶
func (a *Client) ResolveBatch(params *ResolveBatchParams) (*ResolveBatchOK, *ResolveBatchNoContent, error)
ResolveBatch resolves batch
Resolve a given location set into a set of matching Mapping names to their associated release details expanded.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ResolveBadRequest ¶
type ResolveBadRequest struct {
Payload *models.ErrorResponse
}
ResolveBadRequest handles this case with default header values.
Bad request
func NewResolveBadRequest ¶
func NewResolveBadRequest() *ResolveBadRequest
NewResolveBadRequest creates a ResolveBadRequest with default headers values
func (*ResolveBadRequest) Error ¶
func (o *ResolveBadRequest) Error() string
type ResolveBatchBadRequest ¶
type ResolveBatchBadRequest struct {
Payload *models.ErrorResponse
}
ResolveBatchBadRequest handles this case with default header values.
Bad request
func NewResolveBatchBadRequest ¶
func NewResolveBatchBadRequest() *ResolveBatchBadRequest
NewResolveBatchBadRequest creates a ResolveBatchBadRequest with default headers values
func (*ResolveBatchBadRequest) Error ¶
func (o *ResolveBatchBadRequest) Error() string
type ResolveBatchInternalServerError ¶
type ResolveBatchInternalServerError struct {
Payload *models.ErrorResponse
}
ResolveBatchInternalServerError handles this case with default header values.
Unknown error has occurred
func NewResolveBatchInternalServerError ¶
func NewResolveBatchInternalServerError() *ResolveBatchInternalServerError
NewResolveBatchInternalServerError creates a ResolveBatchInternalServerError with default headers values
func (*ResolveBatchInternalServerError) Error ¶
func (o *ResolveBatchInternalServerError) Error() string
type ResolveBatchNoContent ¶
type ResolveBatchNoContent struct {
Payload *models.ErrorResponse
}
ResolveBatchNoContent handles this case with default header values.
No results for the given request
func NewResolveBatchNoContent ¶
func NewResolveBatchNoContent() *ResolveBatchNoContent
NewResolveBatchNoContent creates a ResolveBatchNoContent with default headers values
func (*ResolveBatchNoContent) Error ¶
func (o *ResolveBatchNoContent) Error() string
type ResolveBatchOK ¶
type ResolveBatchOK struct {
Payload *models.BatchResolutionResponseType
}
ResolveBatchOK handles this case with default header values.
A map of resolved release groups for each service found for the given location set.
func NewResolveBatchOK ¶
func NewResolveBatchOK() *ResolveBatchOK
NewResolveBatchOK creates a ResolveBatchOK with default headers values
func (*ResolveBatchOK) Error ¶
func (o *ResolveBatchOK) Error() string
type ResolveBatchParams ¶
type ResolveBatchParams struct { /*Account*/ Account *string /*Environment*/ Environment *string /*From*/ From *string /*Page*/ Page *int32 /*Region*/ Region *string /*To*/ To *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResolveBatchParams contains all the parameters to send to the API endpoint for the resolve batch operation typically these are written to a http.Request
func NewResolveBatchParams ¶
func NewResolveBatchParams() *ResolveBatchParams
NewResolveBatchParams creates a new ResolveBatchParams object with the default values initialized.
func NewResolveBatchParamsWithContext ¶
func NewResolveBatchParamsWithContext(ctx context.Context) *ResolveBatchParams
NewResolveBatchParamsWithContext creates a new ResolveBatchParams object with the default values initialized, and the ability to set a context for a request
func NewResolveBatchParamsWithHTTPClient ¶
func NewResolveBatchParamsWithHTTPClient(client *http.Client) *ResolveBatchParams
NewResolveBatchParamsWithHTTPClient creates a new ResolveBatchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResolveBatchParamsWithTimeout ¶
func NewResolveBatchParamsWithTimeout(timeout time.Duration) *ResolveBatchParams
NewResolveBatchParamsWithTimeout creates a new ResolveBatchParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResolveBatchParams) SetAccount ¶
func (o *ResolveBatchParams) SetAccount(account *string)
SetAccount adds the account to the resolve batch params
func (*ResolveBatchParams) SetContext ¶
func (o *ResolveBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the resolve batch params
func (*ResolveBatchParams) SetEnvironment ¶
func (o *ResolveBatchParams) SetEnvironment(environment *string)
SetEnvironment adds the environment to the resolve batch params
func (*ResolveBatchParams) SetFrom ¶
func (o *ResolveBatchParams) SetFrom(from *string)
SetFrom adds the from to the resolve batch params
func (*ResolveBatchParams) SetHTTPClient ¶
func (o *ResolveBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resolve batch params
func (*ResolveBatchParams) SetPage ¶
func (o *ResolveBatchParams) SetPage(page *int32)
SetPage adds the page to the resolve batch params
func (*ResolveBatchParams) SetRegion ¶
func (o *ResolveBatchParams) SetRegion(region *string)
SetRegion adds the region to the resolve batch params
func (*ResolveBatchParams) SetTimeout ¶
func (o *ResolveBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resolve batch params
func (*ResolveBatchParams) SetTo ¶
func (o *ResolveBatchParams) SetTo(to *string)
SetTo adds the to to the resolve batch params
func (*ResolveBatchParams) WithAccount ¶
func (o *ResolveBatchParams) WithAccount(account *string) *ResolveBatchParams
WithAccount adds the account to the resolve batch params
func (*ResolveBatchParams) WithContext ¶
func (o *ResolveBatchParams) WithContext(ctx context.Context) *ResolveBatchParams
WithContext adds the context to the resolve batch params
func (*ResolveBatchParams) WithEnvironment ¶
func (o *ResolveBatchParams) WithEnvironment(environment *string) *ResolveBatchParams
WithEnvironment adds the environment to the resolve batch params
func (*ResolveBatchParams) WithFrom ¶
func (o *ResolveBatchParams) WithFrom(from *string) *ResolveBatchParams
WithFrom adds the from to the resolve batch params
func (*ResolveBatchParams) WithHTTPClient ¶
func (o *ResolveBatchParams) WithHTTPClient(client *http.Client) *ResolveBatchParams
WithHTTPClient adds the HTTPClient to the resolve batch params
func (*ResolveBatchParams) WithPage ¶
func (o *ResolveBatchParams) WithPage(page *int32) *ResolveBatchParams
WithPage adds the page to the resolve batch params
func (*ResolveBatchParams) WithRegion ¶
func (o *ResolveBatchParams) WithRegion(region *string) *ResolveBatchParams
WithRegion adds the region to the resolve batch params
func (*ResolveBatchParams) WithTimeout ¶
func (o *ResolveBatchParams) WithTimeout(timeout time.Duration) *ResolveBatchParams
WithTimeout adds the timeout to the resolve batch params
func (*ResolveBatchParams) WithTo ¶
func (o *ResolveBatchParams) WithTo(to *string) *ResolveBatchParams
WithTo adds the to to the resolve batch params
func (*ResolveBatchParams) WriteToRequest ¶
func (o *ResolveBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResolveBatchReader ¶
type ResolveBatchReader struct {
// contains filtered or unexported fields
}
ResolveBatchReader is a Reader for the ResolveBatch structure.
func (*ResolveBatchReader) ReadResponse ¶
func (o *ResolveBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResolveInternalServerError ¶
type ResolveInternalServerError struct {
Payload *models.ErrorResponse
}
ResolveInternalServerError handles this case with default header values.
Unknown error has occurred
func NewResolveInternalServerError ¶
func NewResolveInternalServerError() *ResolveInternalServerError
NewResolveInternalServerError creates a ResolveInternalServerError with default headers values
func (*ResolveInternalServerError) Error ¶
func (o *ResolveInternalServerError) Error() string
type ResolveNotFound ¶
type ResolveNotFound struct { }
ResolveNotFound handles this case with default header values.
Cannot resolve the mappings for the given service and location set.
func NewResolveNotFound ¶
func NewResolveNotFound() *ResolveNotFound
NewResolveNotFound creates a ResolveNotFound with default headers values
func (*ResolveNotFound) Error ¶
func (o *ResolveNotFound) Error() string
type ResolveOK ¶
type ResolveOK struct {
Payload *models.ResolutionResponseType
}
ResolveOK handles this case with default header values.
A map of resolved release groups found for the given service and location set.
func NewResolveOK ¶
func NewResolveOK() *ResolveOK
NewResolveOK creates a ResolveOK with default headers values
type ResolveParams ¶
type ResolveParams struct { /*Account*/ Account *string /*Environment*/ Environment *string /*Label*/ Label *string /*Region*/ Region *string /*Service*/ Service *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResolveParams contains all the parameters to send to the API endpoint for the resolve operation typically these are written to a http.Request
func NewResolveParams ¶
func NewResolveParams() *ResolveParams
NewResolveParams creates a new ResolveParams object with the default values initialized.
func NewResolveParamsWithContext ¶
func NewResolveParamsWithContext(ctx context.Context) *ResolveParams
NewResolveParamsWithContext creates a new ResolveParams object with the default values initialized, and the ability to set a context for a request
func NewResolveParamsWithHTTPClient ¶
func NewResolveParamsWithHTTPClient(client *http.Client) *ResolveParams
NewResolveParamsWithHTTPClient creates a new ResolveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResolveParamsWithTimeout ¶
func NewResolveParamsWithTimeout(timeout time.Duration) *ResolveParams
NewResolveParamsWithTimeout creates a new ResolveParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResolveParams) SetAccount ¶
func (o *ResolveParams) SetAccount(account *string)
SetAccount adds the account to the resolve params
func (*ResolveParams) SetContext ¶
func (o *ResolveParams) SetContext(ctx context.Context)
SetContext adds the context to the resolve params
func (*ResolveParams) SetEnvironment ¶
func (o *ResolveParams) SetEnvironment(environment *string)
SetEnvironment adds the environment to the resolve params
func (*ResolveParams) SetHTTPClient ¶
func (o *ResolveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resolve params
func (*ResolveParams) SetLabel ¶
func (o *ResolveParams) SetLabel(label *string)
SetLabel adds the label to the resolve params
func (*ResolveParams) SetRegion ¶
func (o *ResolveParams) SetRegion(region *string)
SetRegion adds the region to the resolve params
func (*ResolveParams) SetService ¶
func (o *ResolveParams) SetService(service *string)
SetService adds the service to the resolve params
func (*ResolveParams) SetTimeout ¶
func (o *ResolveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resolve params
func (*ResolveParams) WithAccount ¶
func (o *ResolveParams) WithAccount(account *string) *ResolveParams
WithAccount adds the account to the resolve params
func (*ResolveParams) WithContext ¶
func (o *ResolveParams) WithContext(ctx context.Context) *ResolveParams
WithContext adds the context to the resolve params
func (*ResolveParams) WithEnvironment ¶
func (o *ResolveParams) WithEnvironment(environment *string) *ResolveParams
WithEnvironment adds the environment to the resolve params
func (*ResolveParams) WithHTTPClient ¶
func (o *ResolveParams) WithHTTPClient(client *http.Client) *ResolveParams
WithHTTPClient adds the HTTPClient to the resolve params
func (*ResolveParams) WithLabel ¶
func (o *ResolveParams) WithLabel(label *string) *ResolveParams
WithLabel adds the label to the resolve params
func (*ResolveParams) WithRegion ¶
func (o *ResolveParams) WithRegion(region *string) *ResolveParams
WithRegion adds the region to the resolve params
func (*ResolveParams) WithService ¶
func (o *ResolveParams) WithService(service *string) *ResolveParams
WithService adds the service to the resolve params
func (*ResolveParams) WithTimeout ¶
func (o *ResolveParams) WithTimeout(timeout time.Duration) *ResolveParams
WithTimeout adds the timeout to the resolve params
func (*ResolveParams) WriteToRequest ¶
func (o *ResolveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResolveReader ¶
type ResolveReader struct {
// contains filtered or unexported fields
}
ResolveReader is a Reader for the Resolve structure.
func (*ResolveReader) ReadResponse ¶
func (o *ResolveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.