Documentation
¶
Index ¶
- type Client
- func (a *Client) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)
- func (a *Client) GetResourceTypes(params *GetResourceTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourceTypesOK, error)
- func (a *Client) GetSwagger(params *GetSwaggerParams) (*GetSwaggerOK, error)
- func (a *Client) GetSwaggerUI(params *GetSwaggerUIParams) (*GetSwaggerUIOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreatePolicyBadRequest
- type CreatePolicyCreated
- type CreatePolicyForbidden
- type CreatePolicyInternalServerError
- type CreatePolicyParams
- func (o *CreatePolicyParams) SetContext(ctx context.Context)
- func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyParams) SetInput(input *models.CreatePolicyInput)
- func (o *CreatePolicyParams) SetProvider(provider string)
- func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
- func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
- func (o *CreatePolicyParams) WithInput(input *models.CreatePolicyInput) *CreatePolicyParams
- func (o *CreatePolicyParams) WithProvider(provider string) *CreatePolicyParams
- func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
- func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyReader
- type CreatePolicyUnauthorized
- type GetResourceTypesBadRequest
- type GetResourceTypesForbidden
- type GetResourceTypesInternalServerError
- type GetResourceTypesOK
- type GetResourceTypesParams
- func NewGetResourceTypesParams() *GetResourceTypesParams
- func NewGetResourceTypesParamsWithContext(ctx context.Context) *GetResourceTypesParams
- func NewGetResourceTypesParamsWithHTTPClient(client *http.Client) *GetResourceTypesParams
- func NewGetResourceTypesParamsWithTimeout(timeout time.Duration) *GetResourceTypesParams
- func (o *GetResourceTypesParams) SetBetaResources(betaResources *bool)
- func (o *GetResourceTypesParams) SetContext(ctx context.Context)
- func (o *GetResourceTypesParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceTypesParams) SetProvider(provider string)
- func (o *GetResourceTypesParams) SetRegion(region *string)
- func (o *GetResourceTypesParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceTypesParams) WithBetaResources(betaResources *bool) *GetResourceTypesParams
- func (o *GetResourceTypesParams) WithContext(ctx context.Context) *GetResourceTypesParams
- func (o *GetResourceTypesParams) WithHTTPClient(client *http.Client) *GetResourceTypesParams
- func (o *GetResourceTypesParams) WithProvider(provider string) *GetResourceTypesParams
- func (o *GetResourceTypesParams) WithRegion(region *string) *GetResourceTypesParams
- func (o *GetResourceTypesParams) WithTimeout(timeout time.Duration) *GetResourceTypesParams
- func (o *GetResourceTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceTypesReader
- type GetResourceTypesUnauthorized
- type GetSwaggerInternalServerError
- type GetSwaggerOK
- type GetSwaggerParams
- func (o *GetSwaggerParams) SetContext(ctx context.Context)
- func (o *GetSwaggerParams) SetHTTPClient(client *http.Client)
- func (o *GetSwaggerParams) SetTimeout(timeout time.Duration)
- func (o *GetSwaggerParams) WithContext(ctx context.Context) *GetSwaggerParams
- func (o *GetSwaggerParams) WithHTTPClient(client *http.Client) *GetSwaggerParams
- func (o *GetSwaggerParams) WithTimeout(timeout time.Duration) *GetSwaggerParams
- func (o *GetSwaggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSwaggerReader
- type GetSwaggerUIOK
- type GetSwaggerUIParams
- func (o *GetSwaggerUIParams) SetContext(ctx context.Context)
- func (o *GetSwaggerUIParams) SetHTTPClient(client *http.Client)
- func (o *GetSwaggerUIParams) SetTimeout(timeout time.Duration)
- func (o *GetSwaggerUIParams) WithContext(ctx context.Context) *GetSwaggerUIParams
- func (o *GetSwaggerUIParams) WithHTTPClient(client *http.Client) *GetSwaggerUIParams
- func (o *GetSwaggerUIParams) WithTimeout(timeout time.Duration) *GetSwaggerUIParams
- func (o *GetSwaggerUIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSwaggerUIReader
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 metadata API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new metadata API client.
func (*Client) CreatePolicy ¶
func (a *Client) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)
CreatePolicy returns the permissions required to survey and remediate resources
Returns the permissions required to survey and remediate resources.
func (*Client) GetResourceTypes ¶
func (a *Client) GetResourceTypes(params *GetResourceTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourceTypesOK, error)
GetResourceTypes lists the resource types supported by fugue
Lists the resource types supported by Fugue.
func (*Client) GetSwagger ¶
func (a *Client) GetSwagger(params *GetSwaggerParams) (*GetSwaggerOK, error)
GetSwagger returns the open API 2 0 specification for this API
Returns the OpenAPI 2.0 specification for this API.
func (*Client) GetSwaggerUI ¶
func (a *Client) GetSwaggerUI(params *GetSwaggerUIParams) (*GetSwaggerUIOK, error)
GetSwaggerUI returns a friendly user interface for the open API 2 0 specification for this API
Returns a friendly user interface for the OpenAPI 2.0 specification for this API.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreatePolicyBadRequest ¶
type CreatePolicyBadRequest struct {
Payload *models.BadRequestError
}
CreatePolicyBadRequest handles this case with default header values.
Bad request error.
func NewCreatePolicyBadRequest ¶
func NewCreatePolicyBadRequest() *CreatePolicyBadRequest
NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values
func (*CreatePolicyBadRequest) Error ¶
func (o *CreatePolicyBadRequest) Error() string
type CreatePolicyCreated ¶
type CreatePolicyCreated struct {
Payload *models.Permissions
}
CreatePolicyCreated handles this case with default header values.
Permissions for surveying and remediating the specified resource types.
func NewCreatePolicyCreated ¶
func NewCreatePolicyCreated() *CreatePolicyCreated
NewCreatePolicyCreated creates a CreatePolicyCreated with default headers values
func (*CreatePolicyCreated) Error ¶
func (o *CreatePolicyCreated) Error() string
type CreatePolicyForbidden ¶
type CreatePolicyForbidden struct {
Payload *models.AuthorizationError
}
CreatePolicyForbidden handles this case with default header values.
Authorization error.
func NewCreatePolicyForbidden ¶
func NewCreatePolicyForbidden() *CreatePolicyForbidden
NewCreatePolicyForbidden creates a CreatePolicyForbidden with default headers values
func (*CreatePolicyForbidden) Error ¶
func (o *CreatePolicyForbidden) Error() string
type CreatePolicyInternalServerError ¶
type CreatePolicyInternalServerError struct {
Payload *models.InternalServerError
}
CreatePolicyInternalServerError handles this case with default header values.
Internal server error.
func NewCreatePolicyInternalServerError ¶
func NewCreatePolicyInternalServerError() *CreatePolicyInternalServerError
NewCreatePolicyInternalServerError creates a CreatePolicyInternalServerError with default headers values
func (*CreatePolicyInternalServerError) Error ¶
func (o *CreatePolicyInternalServerError) Error() string
type CreatePolicyParams ¶
type CreatePolicyParams struct { /*Input List of resource types to be able to survey and remediate. */ Input *models.CreatePolicyInput /*Provider Name of the cloud provider. */ Provider string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePolicyParams contains all the parameters to send to the API endpoint for the create policy operation typically these are written to a http.Request
func NewCreatePolicyParams ¶
func NewCreatePolicyParams() *CreatePolicyParams
NewCreatePolicyParams creates a new CreatePolicyParams object with the default values initialized.
func NewCreatePolicyParamsWithContext ¶
func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams
NewCreatePolicyParamsWithContext creates a new CreatePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePolicyParamsWithHTTPClient ¶
func NewCreatePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyParams
NewCreatePolicyParamsWithHTTPClient creates a new CreatePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePolicyParamsWithTimeout ¶
func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams
NewCreatePolicyParamsWithTimeout creates a new CreatePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePolicyParams) SetContext ¶
func (o *CreatePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create policy params
func (*CreatePolicyParams) SetHTTPClient ¶
func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policy params
func (*CreatePolicyParams) SetInput ¶
func (o *CreatePolicyParams) SetInput(input *models.CreatePolicyInput)
SetInput adds the input to the create policy params
func (*CreatePolicyParams) SetProvider ¶
func (o *CreatePolicyParams) SetProvider(provider string)
SetProvider adds the provider to the create policy params
func (*CreatePolicyParams) SetTimeout ¶
func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) WithContext ¶
func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
WithContext adds the context to the create policy params
func (*CreatePolicyParams) WithHTTPClient ¶
func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
WithHTTPClient adds the HTTPClient to the create policy params
func (*CreatePolicyParams) WithInput ¶
func (o *CreatePolicyParams) WithInput(input *models.CreatePolicyInput) *CreatePolicyParams
WithInput adds the input to the create policy params
func (*CreatePolicyParams) WithProvider ¶
func (o *CreatePolicyParams) WithProvider(provider string) *CreatePolicyParams
WithProvider adds the provider to the create policy params
func (*CreatePolicyParams) WithTimeout ¶
func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
WithTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) WriteToRequest ¶
func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePolicyReader ¶
type CreatePolicyReader struct {
// contains filtered or unexported fields
}
CreatePolicyReader is a Reader for the CreatePolicy structure.
func (*CreatePolicyReader) ReadResponse ¶
func (o *CreatePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePolicyUnauthorized ¶
type CreatePolicyUnauthorized struct {
}CreatePolicyUnauthorized handles this case with default header values.
Authentication error.
func NewCreatePolicyUnauthorized ¶
func NewCreatePolicyUnauthorized() *CreatePolicyUnauthorized
NewCreatePolicyUnauthorized creates a CreatePolicyUnauthorized with default headers values
func (*CreatePolicyUnauthorized) Error ¶
func (o *CreatePolicyUnauthorized) Error() string
type GetResourceTypesBadRequest ¶ added in v0.3.0
type GetResourceTypesBadRequest struct {
Payload *models.BadRequestError
}
GetResourceTypesBadRequest handles this case with default header values.
Bad request error.
func NewGetResourceTypesBadRequest ¶ added in v0.3.0
func NewGetResourceTypesBadRequest() *GetResourceTypesBadRequest
NewGetResourceTypesBadRequest creates a GetResourceTypesBadRequest with default headers values
func (*GetResourceTypesBadRequest) Error ¶ added in v0.3.0
func (o *GetResourceTypesBadRequest) Error() string
type GetResourceTypesForbidden ¶ added in v0.3.0
type GetResourceTypesForbidden struct {
Payload *models.AuthorizationError
}
GetResourceTypesForbidden handles this case with default header values.
Authorization error.
func NewGetResourceTypesForbidden ¶ added in v0.3.0
func NewGetResourceTypesForbidden() *GetResourceTypesForbidden
NewGetResourceTypesForbidden creates a GetResourceTypesForbidden with default headers values
func (*GetResourceTypesForbidden) Error ¶ added in v0.3.0
func (o *GetResourceTypesForbidden) Error() string
type GetResourceTypesInternalServerError ¶
type GetResourceTypesInternalServerError struct {
Payload *models.InternalServerError
}
GetResourceTypesInternalServerError handles this case with default header values.
Internal server error.
func NewGetResourceTypesInternalServerError ¶
func NewGetResourceTypesInternalServerError() *GetResourceTypesInternalServerError
NewGetResourceTypesInternalServerError creates a GetResourceTypesInternalServerError with default headers values
func (*GetResourceTypesInternalServerError) Error ¶
func (o *GetResourceTypesInternalServerError) Error() string
type GetResourceTypesOK ¶
type GetResourceTypesOK struct {
Payload *models.ResourceTypeMetadata
}
GetResourceTypesOK handles this case with default header values.
List of supported resource types.
func NewGetResourceTypesOK ¶
func NewGetResourceTypesOK() *GetResourceTypesOK
NewGetResourceTypesOK creates a GetResourceTypesOK with default headers values
func (*GetResourceTypesOK) Error ¶
func (o *GetResourceTypesOK) Error() string
type GetResourceTypesParams ¶
type GetResourceTypesParams struct { /*BetaResources Indicates whether resource types in beta will be returned. */ BetaResources *bool /*Provider Name of the cloud provider. */ Provider string /*Region The AWS region for which to return resource types. Required if provider is aws or aws_govcloud. */ Region *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceTypesParams contains all the parameters to send to the API endpoint for the get resource types operation typically these are written to a http.Request
func NewGetResourceTypesParams ¶
func NewGetResourceTypesParams() *GetResourceTypesParams
NewGetResourceTypesParams creates a new GetResourceTypesParams object with the default values initialized.
func NewGetResourceTypesParamsWithContext ¶
func NewGetResourceTypesParamsWithContext(ctx context.Context) *GetResourceTypesParams
NewGetResourceTypesParamsWithContext creates a new GetResourceTypesParams object with the default values initialized, and the ability to set a context for a request
func NewGetResourceTypesParamsWithHTTPClient ¶
func NewGetResourceTypesParamsWithHTTPClient(client *http.Client) *GetResourceTypesParams
NewGetResourceTypesParamsWithHTTPClient creates a new GetResourceTypesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetResourceTypesParamsWithTimeout ¶
func NewGetResourceTypesParamsWithTimeout(timeout time.Duration) *GetResourceTypesParams
NewGetResourceTypesParamsWithTimeout creates a new GetResourceTypesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetResourceTypesParams) SetBetaResources ¶ added in v0.3.0
func (o *GetResourceTypesParams) SetBetaResources(betaResources *bool)
SetBetaResources adds the betaResources to the get resource types params
func (*GetResourceTypesParams) SetContext ¶
func (o *GetResourceTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource types params
func (*GetResourceTypesParams) SetHTTPClient ¶
func (o *GetResourceTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource types params
func (*GetResourceTypesParams) SetProvider ¶
func (o *GetResourceTypesParams) SetProvider(provider string)
SetProvider adds the provider to the get resource types params
func (*GetResourceTypesParams) SetRegion ¶
func (o *GetResourceTypesParams) SetRegion(region *string)
SetRegion adds the region to the get resource types params
func (*GetResourceTypesParams) SetTimeout ¶
func (o *GetResourceTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource types params
func (*GetResourceTypesParams) WithBetaResources ¶ added in v0.3.0
func (o *GetResourceTypesParams) WithBetaResources(betaResources *bool) *GetResourceTypesParams
WithBetaResources adds the betaResources to the get resource types params
func (*GetResourceTypesParams) WithContext ¶
func (o *GetResourceTypesParams) WithContext(ctx context.Context) *GetResourceTypesParams
WithContext adds the context to the get resource types params
func (*GetResourceTypesParams) WithHTTPClient ¶
func (o *GetResourceTypesParams) WithHTTPClient(client *http.Client) *GetResourceTypesParams
WithHTTPClient adds the HTTPClient to the get resource types params
func (*GetResourceTypesParams) WithProvider ¶
func (o *GetResourceTypesParams) WithProvider(provider string) *GetResourceTypesParams
WithProvider adds the provider to the get resource types params
func (*GetResourceTypesParams) WithRegion ¶
func (o *GetResourceTypesParams) WithRegion(region *string) *GetResourceTypesParams
WithRegion adds the region to the get resource types params
func (*GetResourceTypesParams) WithTimeout ¶
func (o *GetResourceTypesParams) WithTimeout(timeout time.Duration) *GetResourceTypesParams
WithTimeout adds the timeout to the get resource types params
func (*GetResourceTypesParams) WriteToRequest ¶
func (o *GetResourceTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceTypesReader ¶
type GetResourceTypesReader struct {
// contains filtered or unexported fields
}
GetResourceTypesReader is a Reader for the GetResourceTypes structure.
func (*GetResourceTypesReader) ReadResponse ¶
func (o *GetResourceTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceTypesUnauthorized ¶ added in v0.3.0
type GetResourceTypesUnauthorized struct {
}GetResourceTypesUnauthorized handles this case with default header values.
Authentication error.
func NewGetResourceTypesUnauthorized ¶ added in v0.3.0
func NewGetResourceTypesUnauthorized() *GetResourceTypesUnauthorized
NewGetResourceTypesUnauthorized creates a GetResourceTypesUnauthorized with default headers values
func (*GetResourceTypesUnauthorized) Error ¶ added in v0.3.0
func (o *GetResourceTypesUnauthorized) Error() string
type GetSwaggerInternalServerError ¶
type GetSwaggerInternalServerError struct {
Payload *models.InternalServerError
}
GetSwaggerInternalServerError handles this case with default header values.
Internal server error.
func NewGetSwaggerInternalServerError ¶
func NewGetSwaggerInternalServerError() *GetSwaggerInternalServerError
NewGetSwaggerInternalServerError creates a GetSwaggerInternalServerError with default headers values
func (*GetSwaggerInternalServerError) Error ¶
func (o *GetSwaggerInternalServerError) Error() string
type GetSwaggerOK ¶
type GetSwaggerOK struct {
Payload interface{}
}
GetSwaggerOK handles this case with default header values.
OpenAPI 2.0 specification.
func NewGetSwaggerOK ¶
func NewGetSwaggerOK() *GetSwaggerOK
NewGetSwaggerOK creates a GetSwaggerOK with default headers values
func (*GetSwaggerOK) Error ¶
func (o *GetSwaggerOK) Error() string
type GetSwaggerParams ¶
type GetSwaggerParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSwaggerParams contains all the parameters to send to the API endpoint for the get swagger operation typically these are written to a http.Request
func NewGetSwaggerParams ¶
func NewGetSwaggerParams() *GetSwaggerParams
NewGetSwaggerParams creates a new GetSwaggerParams object with the default values initialized.
func NewGetSwaggerParamsWithContext ¶
func NewGetSwaggerParamsWithContext(ctx context.Context) *GetSwaggerParams
NewGetSwaggerParamsWithContext creates a new GetSwaggerParams object with the default values initialized, and the ability to set a context for a request
func NewGetSwaggerParamsWithHTTPClient ¶
func NewGetSwaggerParamsWithHTTPClient(client *http.Client) *GetSwaggerParams
NewGetSwaggerParamsWithHTTPClient creates a new GetSwaggerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSwaggerParamsWithTimeout ¶
func NewGetSwaggerParamsWithTimeout(timeout time.Duration) *GetSwaggerParams
NewGetSwaggerParamsWithTimeout creates a new GetSwaggerParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSwaggerParams) SetContext ¶
func (o *GetSwaggerParams) SetContext(ctx context.Context)
SetContext adds the context to the get swagger params
func (*GetSwaggerParams) SetHTTPClient ¶
func (o *GetSwaggerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get swagger params
func (*GetSwaggerParams) SetTimeout ¶
func (o *GetSwaggerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get swagger params
func (*GetSwaggerParams) WithContext ¶
func (o *GetSwaggerParams) WithContext(ctx context.Context) *GetSwaggerParams
WithContext adds the context to the get swagger params
func (*GetSwaggerParams) WithHTTPClient ¶
func (o *GetSwaggerParams) WithHTTPClient(client *http.Client) *GetSwaggerParams
WithHTTPClient adds the HTTPClient to the get swagger params
func (*GetSwaggerParams) WithTimeout ¶
func (o *GetSwaggerParams) WithTimeout(timeout time.Duration) *GetSwaggerParams
WithTimeout adds the timeout to the get swagger params
func (*GetSwaggerParams) WriteToRequest ¶
func (o *GetSwaggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSwaggerReader ¶
type GetSwaggerReader struct {
// contains filtered or unexported fields
}
GetSwaggerReader is a Reader for the GetSwagger structure.
func (*GetSwaggerReader) ReadResponse ¶
func (o *GetSwaggerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSwaggerUIOK ¶
type GetSwaggerUIOK struct { AccessControlAllowHeaders string AccessControlAllowMethods string AccessControlAllowOrigin string ContentType string }
GetSwaggerUIOK handles this case with default header values.
The Swagger UI
func NewGetSwaggerUIOK ¶
func NewGetSwaggerUIOK() *GetSwaggerUIOK
NewGetSwaggerUIOK creates a GetSwaggerUIOK with default headers values
func (*GetSwaggerUIOK) Error ¶
func (o *GetSwaggerUIOK) Error() string
type GetSwaggerUIParams ¶
type GetSwaggerUIParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSwaggerUIParams contains all the parameters to send to the API endpoint for the get swagger UI operation typically these are written to a http.Request
func NewGetSwaggerUIParams ¶
func NewGetSwaggerUIParams() *GetSwaggerUIParams
NewGetSwaggerUIParams creates a new GetSwaggerUIParams object with the default values initialized.
func NewGetSwaggerUIParamsWithContext ¶
func NewGetSwaggerUIParamsWithContext(ctx context.Context) *GetSwaggerUIParams
NewGetSwaggerUIParamsWithContext creates a new GetSwaggerUIParams object with the default values initialized, and the ability to set a context for a request
func NewGetSwaggerUIParamsWithHTTPClient ¶
func NewGetSwaggerUIParamsWithHTTPClient(client *http.Client) *GetSwaggerUIParams
NewGetSwaggerUIParamsWithHTTPClient creates a new GetSwaggerUIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSwaggerUIParamsWithTimeout ¶
func NewGetSwaggerUIParamsWithTimeout(timeout time.Duration) *GetSwaggerUIParams
NewGetSwaggerUIParamsWithTimeout creates a new GetSwaggerUIParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSwaggerUIParams) SetContext ¶
func (o *GetSwaggerUIParams) SetContext(ctx context.Context)
SetContext adds the context to the get swagger UI params
func (*GetSwaggerUIParams) SetHTTPClient ¶
func (o *GetSwaggerUIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get swagger UI params
func (*GetSwaggerUIParams) SetTimeout ¶
func (o *GetSwaggerUIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get swagger UI params
func (*GetSwaggerUIParams) WithContext ¶
func (o *GetSwaggerUIParams) WithContext(ctx context.Context) *GetSwaggerUIParams
WithContext adds the context to the get swagger UI params
func (*GetSwaggerUIParams) WithHTTPClient ¶
func (o *GetSwaggerUIParams) WithHTTPClient(client *http.Client) *GetSwaggerUIParams
WithHTTPClient adds the HTTPClient to the get swagger UI params
func (*GetSwaggerUIParams) WithTimeout ¶
func (o *GetSwaggerUIParams) WithTimeout(timeout time.Duration) *GetSwaggerUIParams
WithTimeout adds the timeout to the get swagger UI params
func (*GetSwaggerUIParams) WriteToRequest ¶
func (o *GetSwaggerUIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSwaggerUIReader ¶
type GetSwaggerUIReader struct {
// contains filtered or unexported fields
}
GetSwaggerUIReader is a Reader for the GetSwaggerUI structure.
func (*GetSwaggerUIReader) ReadResponse ¶
func (o *GetSwaggerUIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.