Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateConfigRepository(params *CreateConfigRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigRepositoryOK, error)
- func (a *Client) CreateConfigRepositoryConfig(params *CreateConfigRepositoryConfigParams, ...) (*CreateConfigRepositoryConfigNoContent, error)
- func (a *Client) DeleteConfigRepository(params *DeleteConfigRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigRepositoryNoContent, error)
- func (a *Client) GetConfigRepositories(params *GetConfigRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigRepositoriesOK, error)
- func (a *Client) GetConfigRepository(params *GetConfigRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigRepositoryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConfigRepository(params *UpdateConfigRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigRepositoryOK, error)
- type CreateConfigRepositoryConfigDefault
- type CreateConfigRepositoryConfigForbidden
- type CreateConfigRepositoryConfigLengthRequired
- type CreateConfigRepositoryConfigNoContent
- type CreateConfigRepositoryConfigNotFound
- type CreateConfigRepositoryConfigParams
- func NewCreateConfigRepositoryConfigParams() *CreateConfigRepositoryConfigParams
- func NewCreateConfigRepositoryConfigParamsWithContext(ctx context.Context) *CreateConfigRepositoryConfigParams
- func NewCreateConfigRepositoryConfigParamsWithHTTPClient(client *http.Client) *CreateConfigRepositoryConfigParams
- func NewCreateConfigRepositoryConfigParamsWithTimeout(timeout time.Duration) *CreateConfigRepositoryConfigParams
- func (o *CreateConfigRepositoryConfigParams) SetBody(body *models.SCConfig)
- func (o *CreateConfigRepositoryConfigParams) SetConfigRepositoryCanonical(configRepositoryCanonical string)
- func (o *CreateConfigRepositoryConfigParams) SetContext(ctx context.Context)
- func (o *CreateConfigRepositoryConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateConfigRepositoryConfigParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateConfigRepositoryConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateConfigRepositoryConfigParams) WithBody(body *models.SCConfig) *CreateConfigRepositoryConfigParams
- func (o *CreateConfigRepositoryConfigParams) WithConfigRepositoryCanonical(configRepositoryCanonical string) *CreateConfigRepositoryConfigParams
- func (o *CreateConfigRepositoryConfigParams) WithContext(ctx context.Context) *CreateConfigRepositoryConfigParams
- func (o *CreateConfigRepositoryConfigParams) WithHTTPClient(client *http.Client) *CreateConfigRepositoryConfigParams
- func (o *CreateConfigRepositoryConfigParams) WithOrganizationCanonical(organizationCanonical string) *CreateConfigRepositoryConfigParams
- func (o *CreateConfigRepositoryConfigParams) WithTimeout(timeout time.Duration) *CreateConfigRepositoryConfigParams
- func (o *CreateConfigRepositoryConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConfigRepositoryConfigReader
- type CreateConfigRepositoryConfigUnprocessableEntity
- type CreateConfigRepositoryDefault
- type CreateConfigRepositoryLengthRequired
- type CreateConfigRepositoryNotFound
- type CreateConfigRepositoryOK
- type CreateConfigRepositoryOKBody
- type CreateConfigRepositoryParams
- func NewCreateConfigRepositoryParams() *CreateConfigRepositoryParams
- func NewCreateConfigRepositoryParamsWithContext(ctx context.Context) *CreateConfigRepositoryParams
- func NewCreateConfigRepositoryParamsWithHTTPClient(client *http.Client) *CreateConfigRepositoryParams
- func NewCreateConfigRepositoryParamsWithTimeout(timeout time.Duration) *CreateConfigRepositoryParams
- func (o *CreateConfigRepositoryParams) SetBody(body *models.NewConfigRepository)
- func (o *CreateConfigRepositoryParams) SetContext(ctx context.Context)
- func (o *CreateConfigRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *CreateConfigRepositoryParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateConfigRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *CreateConfigRepositoryParams) WithBody(body *models.NewConfigRepository) *CreateConfigRepositoryParams
- func (o *CreateConfigRepositoryParams) WithContext(ctx context.Context) *CreateConfigRepositoryParams
- func (o *CreateConfigRepositoryParams) WithHTTPClient(client *http.Client) *CreateConfigRepositoryParams
- func (o *CreateConfigRepositoryParams) WithOrganizationCanonical(organizationCanonical string) *CreateConfigRepositoryParams
- func (o *CreateConfigRepositoryParams) WithTimeout(timeout time.Duration) *CreateConfigRepositoryParams
- func (o *CreateConfigRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConfigRepositoryReader
- type CreateConfigRepositoryUnprocessableEntity
- type DeleteConfigRepositoryDefault
- type DeleteConfigRepositoryNoContent
- type DeleteConfigRepositoryParams
- func NewDeleteConfigRepositoryParams() *DeleteConfigRepositoryParams
- func NewDeleteConfigRepositoryParamsWithContext(ctx context.Context) *DeleteConfigRepositoryParams
- func NewDeleteConfigRepositoryParamsWithHTTPClient(client *http.Client) *DeleteConfigRepositoryParams
- func NewDeleteConfigRepositoryParamsWithTimeout(timeout time.Duration) *DeleteConfigRepositoryParams
- func (o *DeleteConfigRepositoryParams) SetConfigRepositoryCanonical(configRepositoryCanonical string)
- func (o *DeleteConfigRepositoryParams) SetContext(ctx context.Context)
- func (o *DeleteConfigRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConfigRepositoryParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteConfigRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConfigRepositoryParams) WithConfigRepositoryCanonical(configRepositoryCanonical string) *DeleteConfigRepositoryParams
- func (o *DeleteConfigRepositoryParams) WithContext(ctx context.Context) *DeleteConfigRepositoryParams
- func (o *DeleteConfigRepositoryParams) WithHTTPClient(client *http.Client) *DeleteConfigRepositoryParams
- func (o *DeleteConfigRepositoryParams) WithOrganizationCanonical(organizationCanonical string) *DeleteConfigRepositoryParams
- func (o *DeleteConfigRepositoryParams) WithTimeout(timeout time.Duration) *DeleteConfigRepositoryParams
- func (o *DeleteConfigRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfigRepositoryReader
- type GetConfigRepositoriesDefault
- type GetConfigRepositoriesForbidden
- type GetConfigRepositoriesOK
- type GetConfigRepositoriesOKBody
- type GetConfigRepositoriesParams
- func NewGetConfigRepositoriesParams() *GetConfigRepositoriesParams
- func NewGetConfigRepositoriesParamsWithContext(ctx context.Context) *GetConfigRepositoriesParams
- func NewGetConfigRepositoriesParamsWithHTTPClient(client *http.Client) *GetConfigRepositoriesParams
- func NewGetConfigRepositoriesParamsWithTimeout(timeout time.Duration) *GetConfigRepositoriesParams
- func (o *GetConfigRepositoriesParams) SetContext(ctx context.Context)
- func (o *GetConfigRepositoriesParams) SetDefault(defaultVar *bool)
- func (o *GetConfigRepositoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigRepositoriesParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetConfigRepositoriesParams) SetPageIndex(pageIndex *uint32)
- func (o *GetConfigRepositoriesParams) SetPageSize(pageSize *uint32)
- func (o *GetConfigRepositoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigRepositoriesParams) WithContext(ctx context.Context) *GetConfigRepositoriesParams
- func (o *GetConfigRepositoriesParams) WithDefault(defaultVar *bool) *GetConfigRepositoriesParams
- func (o *GetConfigRepositoriesParams) WithHTTPClient(client *http.Client) *GetConfigRepositoriesParams
- func (o *GetConfigRepositoriesParams) WithOrganizationCanonical(organizationCanonical string) *GetConfigRepositoriesParams
- func (o *GetConfigRepositoriesParams) WithPageIndex(pageIndex *uint32) *GetConfigRepositoriesParams
- func (o *GetConfigRepositoriesParams) WithPageSize(pageSize *uint32) *GetConfigRepositoriesParams
- func (o *GetConfigRepositoriesParams) WithTimeout(timeout time.Duration) *GetConfigRepositoriesParams
- func (o *GetConfigRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigRepositoriesReader
- type GetConfigRepositoriesUnprocessableEntity
- type GetConfigRepositoryDefault
- type GetConfigRepositoryForbidden
- type GetConfigRepositoryOK
- type GetConfigRepositoryOKBody
- type GetConfigRepositoryParams
- func NewGetConfigRepositoryParams() *GetConfigRepositoryParams
- func NewGetConfigRepositoryParamsWithContext(ctx context.Context) *GetConfigRepositoryParams
- func NewGetConfigRepositoryParamsWithHTTPClient(client *http.Client) *GetConfigRepositoryParams
- func NewGetConfigRepositoryParamsWithTimeout(timeout time.Duration) *GetConfigRepositoryParams
- func (o *GetConfigRepositoryParams) SetConfigRepositoryCanonical(configRepositoryCanonical string)
- func (o *GetConfigRepositoryParams) SetContext(ctx context.Context)
- func (o *GetConfigRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigRepositoryParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetConfigRepositoryParams) SetPageIndex(pageIndex *uint32)
- func (o *GetConfigRepositoryParams) SetPageSize(pageSize *uint32)
- func (o *GetConfigRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigRepositoryParams) WithConfigRepositoryCanonical(configRepositoryCanonical string) *GetConfigRepositoryParams
- func (o *GetConfigRepositoryParams) WithContext(ctx context.Context) *GetConfigRepositoryParams
- func (o *GetConfigRepositoryParams) WithHTTPClient(client *http.Client) *GetConfigRepositoryParams
- func (o *GetConfigRepositoryParams) WithOrganizationCanonical(organizationCanonical string) *GetConfigRepositoryParams
- func (o *GetConfigRepositoryParams) WithPageIndex(pageIndex *uint32) *GetConfigRepositoryParams
- func (o *GetConfigRepositoryParams) WithPageSize(pageSize *uint32) *GetConfigRepositoryParams
- func (o *GetConfigRepositoryParams) WithTimeout(timeout time.Duration) *GetConfigRepositoryParams
- func (o *GetConfigRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigRepositoryReader
- type GetConfigRepositoryUnprocessableEntity
- type UpdateConfigRepositoryDefault
- type UpdateConfigRepositoryLengthRequired
- type UpdateConfigRepositoryNotFound
- type UpdateConfigRepositoryOK
- type UpdateConfigRepositoryOKBody
- type UpdateConfigRepositoryParams
- func NewUpdateConfigRepositoryParams() *UpdateConfigRepositoryParams
- func NewUpdateConfigRepositoryParamsWithContext(ctx context.Context) *UpdateConfigRepositoryParams
- func NewUpdateConfigRepositoryParamsWithHTTPClient(client *http.Client) *UpdateConfigRepositoryParams
- func NewUpdateConfigRepositoryParamsWithTimeout(timeout time.Duration) *UpdateConfigRepositoryParams
- func (o *UpdateConfigRepositoryParams) SetBody(body *models.UpdateConfigRepository)
- func (o *UpdateConfigRepositoryParams) SetConfigRepositoryCanonical(configRepositoryCanonical string)
- func (o *UpdateConfigRepositoryParams) SetContext(ctx context.Context)
- func (o *UpdateConfigRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConfigRepositoryParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateConfigRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConfigRepositoryParams) WithBody(body *models.UpdateConfigRepository) *UpdateConfigRepositoryParams
- func (o *UpdateConfigRepositoryParams) WithConfigRepositoryCanonical(configRepositoryCanonical string) *UpdateConfigRepositoryParams
- func (o *UpdateConfigRepositoryParams) WithContext(ctx context.Context) *UpdateConfigRepositoryParams
- func (o *UpdateConfigRepositoryParams) WithHTTPClient(client *http.Client) *UpdateConfigRepositoryParams
- func (o *UpdateConfigRepositoryParams) WithOrganizationCanonical(organizationCanonical string) *UpdateConfigRepositoryParams
- func (o *UpdateConfigRepositoryParams) WithTimeout(timeout time.Duration) *UpdateConfigRepositoryParams
- func (o *UpdateConfigRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConfigRepositoryReader
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 organization config repositories API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new organization config repositories API client.
func (*Client) CreateConfigRepository ¶
func (a *Client) CreateConfigRepository(params *CreateConfigRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigRepositoryOK, error)
CreateConfigRepository Creates a config repository
func (*Client) CreateConfigRepositoryConfig ¶
func (a *Client) CreateConfigRepositoryConfig(params *CreateConfigRepositoryConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigRepositoryConfigNoContent, error)
CreateConfigRepositoryConfig Create Service Catalog config files in the Config Repository.
func (*Client) DeleteConfigRepository ¶
func (a *Client) DeleteConfigRepository(params *DeleteConfigRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigRepositoryNoContent, error)
DeleteConfigRepository delete a Config Repositories
func (*Client) GetConfigRepositories ¶
func (a *Client) GetConfigRepositories(params *GetConfigRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigRepositoriesOK, error)
GetConfigRepositories Return all the config repositories
func (*Client) GetConfigRepository ¶
func (a *Client) GetConfigRepository(params *GetConfigRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigRepositoryOK, error)
GetConfigRepository Return the Config Repository
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateConfigRepository ¶
func (a *Client) UpdateConfigRepository(params *UpdateConfigRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigRepositoryOK, error)
UpdateConfigRepository Update a config repository
type CreateConfigRepositoryConfigDefault ¶
type CreateConfigRepositoryConfigDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
CreateConfigRepositoryConfigDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateConfigRepositoryConfigDefault ¶
func NewCreateConfigRepositoryConfigDefault(code int) *CreateConfigRepositoryConfigDefault
NewCreateConfigRepositoryConfigDefault creates a CreateConfigRepositoryConfigDefault with default headers values
func (*CreateConfigRepositoryConfigDefault) Code ¶
func (o *CreateConfigRepositoryConfigDefault) Code() int
Code gets the status code for the create config repository config default response
func (*CreateConfigRepositoryConfigDefault) Error ¶
func (o *CreateConfigRepositoryConfigDefault) Error() string
func (*CreateConfigRepositoryConfigDefault) GetPayload ¶
func (o *CreateConfigRepositoryConfigDefault) GetPayload() *models.ErrorPayload
type CreateConfigRepositoryConfigForbidden ¶
type CreateConfigRepositoryConfigForbidden struct {
Payload *models.ErrorPayload
}
CreateConfigRepositoryConfigForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewCreateConfigRepositoryConfigForbidden ¶
func NewCreateConfigRepositoryConfigForbidden() *CreateConfigRepositoryConfigForbidden
NewCreateConfigRepositoryConfigForbidden creates a CreateConfigRepositoryConfigForbidden with default headers values
func (*CreateConfigRepositoryConfigForbidden) Error ¶
func (o *CreateConfigRepositoryConfigForbidden) Error() string
func (*CreateConfigRepositoryConfigForbidden) GetPayload ¶
func (o *CreateConfigRepositoryConfigForbidden) GetPayload() *models.ErrorPayload
type CreateConfigRepositoryConfigLengthRequired ¶
type CreateConfigRepositoryConfigLengthRequired struct { }
CreateConfigRepositoryConfigLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewCreateConfigRepositoryConfigLengthRequired ¶
func NewCreateConfigRepositoryConfigLengthRequired() *CreateConfigRepositoryConfigLengthRequired
NewCreateConfigRepositoryConfigLengthRequired creates a CreateConfigRepositoryConfigLengthRequired with default headers values
func (*CreateConfigRepositoryConfigLengthRequired) Error ¶
func (o *CreateConfigRepositoryConfigLengthRequired) Error() string
type CreateConfigRepositoryConfigNoContent ¶
type CreateConfigRepositoryConfigNoContent struct { }
CreateConfigRepositoryConfigNoContent handles this case with default header values.
SC config files have been created successfully
func NewCreateConfigRepositoryConfigNoContent ¶
func NewCreateConfigRepositoryConfigNoContent() *CreateConfigRepositoryConfigNoContent
NewCreateConfigRepositoryConfigNoContent creates a CreateConfigRepositoryConfigNoContent with default headers values
func (*CreateConfigRepositoryConfigNoContent) Error ¶
func (o *CreateConfigRepositoryConfigNoContent) Error() string
type CreateConfigRepositoryConfigNotFound ¶
type CreateConfigRepositoryConfigNotFound struct {
Payload *models.ErrorPayload
}
CreateConfigRepositoryConfigNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewCreateConfigRepositoryConfigNotFound ¶
func NewCreateConfigRepositoryConfigNotFound() *CreateConfigRepositoryConfigNotFound
NewCreateConfigRepositoryConfigNotFound creates a CreateConfigRepositoryConfigNotFound with default headers values
func (*CreateConfigRepositoryConfigNotFound) Error ¶
func (o *CreateConfigRepositoryConfigNotFound) Error() string
func (*CreateConfigRepositoryConfigNotFound) GetPayload ¶
func (o *CreateConfigRepositoryConfigNotFound) GetPayload() *models.ErrorPayload
type CreateConfigRepositoryConfigParams ¶
type CreateConfigRepositoryConfigParams struct { /*Body The body contains Service Catalog's config files and paths where they'll be created in the Config Repository. */ Body *models.SCConfig /*ConfigRepositoryCanonical Organization Config Repositories canonical */ ConfigRepositoryCanonical string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConfigRepositoryConfigParams contains all the parameters to send to the API endpoint for the create config repository config operation typically these are written to a http.Request
func NewCreateConfigRepositoryConfigParams ¶
func NewCreateConfigRepositoryConfigParams() *CreateConfigRepositoryConfigParams
NewCreateConfigRepositoryConfigParams creates a new CreateConfigRepositoryConfigParams object with the default values initialized.
func NewCreateConfigRepositoryConfigParamsWithContext ¶
func NewCreateConfigRepositoryConfigParamsWithContext(ctx context.Context) *CreateConfigRepositoryConfigParams
NewCreateConfigRepositoryConfigParamsWithContext creates a new CreateConfigRepositoryConfigParams object with the default values initialized, and the ability to set a context for a request
func NewCreateConfigRepositoryConfigParamsWithHTTPClient ¶
func NewCreateConfigRepositoryConfigParamsWithHTTPClient(client *http.Client) *CreateConfigRepositoryConfigParams
NewCreateConfigRepositoryConfigParamsWithHTTPClient creates a new CreateConfigRepositoryConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateConfigRepositoryConfigParamsWithTimeout ¶
func NewCreateConfigRepositoryConfigParamsWithTimeout(timeout time.Duration) *CreateConfigRepositoryConfigParams
NewCreateConfigRepositoryConfigParamsWithTimeout creates a new CreateConfigRepositoryConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateConfigRepositoryConfigParams) SetBody ¶
func (o *CreateConfigRepositoryConfigParams) SetBody(body *models.SCConfig)
SetBody adds the body to the create config repository config params
func (*CreateConfigRepositoryConfigParams) SetConfigRepositoryCanonical ¶ added in v1.0.58
func (o *CreateConfigRepositoryConfigParams) SetConfigRepositoryCanonical(configRepositoryCanonical string)
SetConfigRepositoryCanonical adds the configRepositoryCanonical to the create config repository config params
func (*CreateConfigRepositoryConfigParams) SetContext ¶
func (o *CreateConfigRepositoryConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create config repository config params
func (*CreateConfigRepositoryConfigParams) SetHTTPClient ¶
func (o *CreateConfigRepositoryConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create config repository config params
func (*CreateConfigRepositoryConfigParams) SetOrganizationCanonical ¶
func (o *CreateConfigRepositoryConfigParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the create config repository config params
func (*CreateConfigRepositoryConfigParams) SetTimeout ¶
func (o *CreateConfigRepositoryConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create config repository config params
func (*CreateConfigRepositoryConfigParams) WithBody ¶
func (o *CreateConfigRepositoryConfigParams) WithBody(body *models.SCConfig) *CreateConfigRepositoryConfigParams
WithBody adds the body to the create config repository config params
func (*CreateConfigRepositoryConfigParams) WithConfigRepositoryCanonical ¶ added in v1.0.58
func (o *CreateConfigRepositoryConfigParams) WithConfigRepositoryCanonical(configRepositoryCanonical string) *CreateConfigRepositoryConfigParams
WithConfigRepositoryCanonical adds the configRepositoryCanonical to the create config repository config params
func (*CreateConfigRepositoryConfigParams) WithContext ¶
func (o *CreateConfigRepositoryConfigParams) WithContext(ctx context.Context) *CreateConfigRepositoryConfigParams
WithContext adds the context to the create config repository config params
func (*CreateConfigRepositoryConfigParams) WithHTTPClient ¶
func (o *CreateConfigRepositoryConfigParams) WithHTTPClient(client *http.Client) *CreateConfigRepositoryConfigParams
WithHTTPClient adds the HTTPClient to the create config repository config params
func (*CreateConfigRepositoryConfigParams) WithOrganizationCanonical ¶
func (o *CreateConfigRepositoryConfigParams) WithOrganizationCanonical(organizationCanonical string) *CreateConfigRepositoryConfigParams
WithOrganizationCanonical adds the organizationCanonical to the create config repository config params
func (*CreateConfigRepositoryConfigParams) WithTimeout ¶
func (o *CreateConfigRepositoryConfigParams) WithTimeout(timeout time.Duration) *CreateConfigRepositoryConfigParams
WithTimeout adds the timeout to the create config repository config params
func (*CreateConfigRepositoryConfigParams) WriteToRequest ¶
func (o *CreateConfigRepositoryConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConfigRepositoryConfigReader ¶
type CreateConfigRepositoryConfigReader struct {
// contains filtered or unexported fields
}
CreateConfigRepositoryConfigReader is a Reader for the CreateConfigRepositoryConfig structure.
func (*CreateConfigRepositoryConfigReader) ReadResponse ¶
func (o *CreateConfigRepositoryConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConfigRepositoryConfigUnprocessableEntity ¶
type CreateConfigRepositoryConfigUnprocessableEntity struct {
Payload *models.ErrorPayload
}
CreateConfigRepositoryConfigUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewCreateConfigRepositoryConfigUnprocessableEntity ¶
func NewCreateConfigRepositoryConfigUnprocessableEntity() *CreateConfigRepositoryConfigUnprocessableEntity
NewCreateConfigRepositoryConfigUnprocessableEntity creates a CreateConfigRepositoryConfigUnprocessableEntity with default headers values
func (*CreateConfigRepositoryConfigUnprocessableEntity) Error ¶
func (o *CreateConfigRepositoryConfigUnprocessableEntity) Error() string
func (*CreateConfigRepositoryConfigUnprocessableEntity) GetPayload ¶
func (o *CreateConfigRepositoryConfigUnprocessableEntity) GetPayload() *models.ErrorPayload
type CreateConfigRepositoryDefault ¶
type CreateConfigRepositoryDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
CreateConfigRepositoryDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateConfigRepositoryDefault ¶
func NewCreateConfigRepositoryDefault(code int) *CreateConfigRepositoryDefault
NewCreateConfigRepositoryDefault creates a CreateConfigRepositoryDefault with default headers values
func (*CreateConfigRepositoryDefault) Code ¶
func (o *CreateConfigRepositoryDefault) Code() int
Code gets the status code for the create config repository default response
func (*CreateConfigRepositoryDefault) Error ¶
func (o *CreateConfigRepositoryDefault) Error() string
func (*CreateConfigRepositoryDefault) GetPayload ¶
func (o *CreateConfigRepositoryDefault) GetPayload() *models.ErrorPayload
type CreateConfigRepositoryLengthRequired ¶
type CreateConfigRepositoryLengthRequired struct { }
CreateConfigRepositoryLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewCreateConfigRepositoryLengthRequired ¶
func NewCreateConfigRepositoryLengthRequired() *CreateConfigRepositoryLengthRequired
NewCreateConfigRepositoryLengthRequired creates a CreateConfigRepositoryLengthRequired with default headers values
func (*CreateConfigRepositoryLengthRequired) Error ¶
func (o *CreateConfigRepositoryLengthRequired) Error() string
type CreateConfigRepositoryNotFound ¶
type CreateConfigRepositoryNotFound struct {
Payload *models.ErrorPayload
}
CreateConfigRepositoryNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewCreateConfigRepositoryNotFound ¶
func NewCreateConfigRepositoryNotFound() *CreateConfigRepositoryNotFound
NewCreateConfigRepositoryNotFound creates a CreateConfigRepositoryNotFound with default headers values
func (*CreateConfigRepositoryNotFound) Error ¶
func (o *CreateConfigRepositoryNotFound) Error() string
func (*CreateConfigRepositoryNotFound) GetPayload ¶
func (o *CreateConfigRepositoryNotFound) GetPayload() *models.ErrorPayload
type CreateConfigRepositoryOK ¶
type CreateConfigRepositoryOK struct {
Payload *CreateConfigRepositoryOKBody
}
CreateConfigRepositoryOK handles this case with default header values.
Success creation
func NewCreateConfigRepositoryOK ¶
func NewCreateConfigRepositoryOK() *CreateConfigRepositoryOK
NewCreateConfigRepositoryOK creates a CreateConfigRepositoryOK with default headers values
func (*CreateConfigRepositoryOK) Error ¶
func (o *CreateConfigRepositoryOK) Error() string
func (*CreateConfigRepositoryOK) GetPayload ¶
func (o *CreateConfigRepositoryOK) GetPayload() *CreateConfigRepositoryOKBody
type CreateConfigRepositoryOKBody ¶
type CreateConfigRepositoryOKBody struct { // data // Required: true Data *models.ConfigRepository `json:"data"` }
CreateConfigRepositoryOKBody create config repository o k body swagger:model CreateConfigRepositoryOKBody
func (*CreateConfigRepositoryOKBody) MarshalBinary ¶
func (o *CreateConfigRepositoryOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateConfigRepositoryOKBody) UnmarshalBinary ¶
func (o *CreateConfigRepositoryOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateConfigRepositoryParams ¶
type CreateConfigRepositoryParams struct { /*Body The information of the config repository to create. */ Body *models.NewConfigRepository /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConfigRepositoryParams contains all the parameters to send to the API endpoint for the create config repository operation typically these are written to a http.Request
func NewCreateConfigRepositoryParams ¶
func NewCreateConfigRepositoryParams() *CreateConfigRepositoryParams
NewCreateConfigRepositoryParams creates a new CreateConfigRepositoryParams object with the default values initialized.
func NewCreateConfigRepositoryParamsWithContext ¶
func NewCreateConfigRepositoryParamsWithContext(ctx context.Context) *CreateConfigRepositoryParams
NewCreateConfigRepositoryParamsWithContext creates a new CreateConfigRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewCreateConfigRepositoryParamsWithHTTPClient ¶
func NewCreateConfigRepositoryParamsWithHTTPClient(client *http.Client) *CreateConfigRepositoryParams
NewCreateConfigRepositoryParamsWithHTTPClient creates a new CreateConfigRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateConfigRepositoryParamsWithTimeout ¶
func NewCreateConfigRepositoryParamsWithTimeout(timeout time.Duration) *CreateConfigRepositoryParams
NewCreateConfigRepositoryParamsWithTimeout creates a new CreateConfigRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateConfigRepositoryParams) SetBody ¶
func (o *CreateConfigRepositoryParams) SetBody(body *models.NewConfigRepository)
SetBody adds the body to the create config repository params
func (*CreateConfigRepositoryParams) SetContext ¶
func (o *CreateConfigRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the create config repository params
func (*CreateConfigRepositoryParams) SetHTTPClient ¶
func (o *CreateConfigRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create config repository params
func (*CreateConfigRepositoryParams) SetOrganizationCanonical ¶
func (o *CreateConfigRepositoryParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the create config repository params
func (*CreateConfigRepositoryParams) SetTimeout ¶
func (o *CreateConfigRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create config repository params
func (*CreateConfigRepositoryParams) WithBody ¶
func (o *CreateConfigRepositoryParams) WithBody(body *models.NewConfigRepository) *CreateConfigRepositoryParams
WithBody adds the body to the create config repository params
func (*CreateConfigRepositoryParams) WithContext ¶
func (o *CreateConfigRepositoryParams) WithContext(ctx context.Context) *CreateConfigRepositoryParams
WithContext adds the context to the create config repository params
func (*CreateConfigRepositoryParams) WithHTTPClient ¶
func (o *CreateConfigRepositoryParams) WithHTTPClient(client *http.Client) *CreateConfigRepositoryParams
WithHTTPClient adds the HTTPClient to the create config repository params
func (*CreateConfigRepositoryParams) WithOrganizationCanonical ¶
func (o *CreateConfigRepositoryParams) WithOrganizationCanonical(organizationCanonical string) *CreateConfigRepositoryParams
WithOrganizationCanonical adds the organizationCanonical to the create config repository params
func (*CreateConfigRepositoryParams) WithTimeout ¶
func (o *CreateConfigRepositoryParams) WithTimeout(timeout time.Duration) *CreateConfigRepositoryParams
WithTimeout adds the timeout to the create config repository params
func (*CreateConfigRepositoryParams) WriteToRequest ¶
func (o *CreateConfigRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConfigRepositoryReader ¶
type CreateConfigRepositoryReader struct {
// contains filtered or unexported fields
}
CreateConfigRepositoryReader is a Reader for the CreateConfigRepository structure.
func (*CreateConfigRepositoryReader) ReadResponse ¶
func (o *CreateConfigRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConfigRepositoryUnprocessableEntity ¶
type CreateConfigRepositoryUnprocessableEntity struct {
Payload *models.ErrorPayload
}
CreateConfigRepositoryUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewCreateConfigRepositoryUnprocessableEntity ¶
func NewCreateConfigRepositoryUnprocessableEntity() *CreateConfigRepositoryUnprocessableEntity
NewCreateConfigRepositoryUnprocessableEntity creates a CreateConfigRepositoryUnprocessableEntity with default headers values
func (*CreateConfigRepositoryUnprocessableEntity) Error ¶
func (o *CreateConfigRepositoryUnprocessableEntity) Error() string
func (*CreateConfigRepositoryUnprocessableEntity) GetPayload ¶
func (o *CreateConfigRepositoryUnprocessableEntity) GetPayload() *models.ErrorPayload
type DeleteConfigRepositoryDefault ¶
type DeleteConfigRepositoryDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
DeleteConfigRepositoryDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteConfigRepositoryDefault ¶
func NewDeleteConfigRepositoryDefault(code int) *DeleteConfigRepositoryDefault
NewDeleteConfigRepositoryDefault creates a DeleteConfigRepositoryDefault with default headers values
func (*DeleteConfigRepositoryDefault) Code ¶
func (o *DeleteConfigRepositoryDefault) Code() int
Code gets the status code for the delete config repository default response
func (*DeleteConfigRepositoryDefault) Error ¶
func (o *DeleteConfigRepositoryDefault) Error() string
func (*DeleteConfigRepositoryDefault) GetPayload ¶
func (o *DeleteConfigRepositoryDefault) GetPayload() *models.ErrorPayload
type DeleteConfigRepositoryNoContent ¶
type DeleteConfigRepositoryNoContent struct { }
DeleteConfigRepositoryNoContent handles this case with default header values.
Organization Config repository has been deleted
func NewDeleteConfigRepositoryNoContent ¶
func NewDeleteConfigRepositoryNoContent() *DeleteConfigRepositoryNoContent
NewDeleteConfigRepositoryNoContent creates a DeleteConfigRepositoryNoContent with default headers values
func (*DeleteConfigRepositoryNoContent) Error ¶
func (o *DeleteConfigRepositoryNoContent) Error() string
type DeleteConfigRepositoryParams ¶
type DeleteConfigRepositoryParams struct { /*ConfigRepositoryCanonical Organization Config Repositories canonical */ ConfigRepositoryCanonical string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConfigRepositoryParams contains all the parameters to send to the API endpoint for the delete config repository operation typically these are written to a http.Request
func NewDeleteConfigRepositoryParams ¶
func NewDeleteConfigRepositoryParams() *DeleteConfigRepositoryParams
NewDeleteConfigRepositoryParams creates a new DeleteConfigRepositoryParams object with the default values initialized.
func NewDeleteConfigRepositoryParamsWithContext ¶
func NewDeleteConfigRepositoryParamsWithContext(ctx context.Context) *DeleteConfigRepositoryParams
NewDeleteConfigRepositoryParamsWithContext creates a new DeleteConfigRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteConfigRepositoryParamsWithHTTPClient ¶
func NewDeleteConfigRepositoryParamsWithHTTPClient(client *http.Client) *DeleteConfigRepositoryParams
NewDeleteConfigRepositoryParamsWithHTTPClient creates a new DeleteConfigRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteConfigRepositoryParamsWithTimeout ¶
func NewDeleteConfigRepositoryParamsWithTimeout(timeout time.Duration) *DeleteConfigRepositoryParams
NewDeleteConfigRepositoryParamsWithTimeout creates a new DeleteConfigRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteConfigRepositoryParams) SetConfigRepositoryCanonical ¶ added in v1.0.58
func (o *DeleteConfigRepositoryParams) SetConfigRepositoryCanonical(configRepositoryCanonical string)
SetConfigRepositoryCanonical adds the configRepositoryCanonical to the delete config repository params
func (*DeleteConfigRepositoryParams) SetContext ¶
func (o *DeleteConfigRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config repository params
func (*DeleteConfigRepositoryParams) SetHTTPClient ¶
func (o *DeleteConfigRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config repository params
func (*DeleteConfigRepositoryParams) SetOrganizationCanonical ¶
func (o *DeleteConfigRepositoryParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the delete config repository params
func (*DeleteConfigRepositoryParams) SetTimeout ¶
func (o *DeleteConfigRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config repository params
func (*DeleteConfigRepositoryParams) WithConfigRepositoryCanonical ¶ added in v1.0.58
func (o *DeleteConfigRepositoryParams) WithConfigRepositoryCanonical(configRepositoryCanonical string) *DeleteConfigRepositoryParams
WithConfigRepositoryCanonical adds the configRepositoryCanonical to the delete config repository params
func (*DeleteConfigRepositoryParams) WithContext ¶
func (o *DeleteConfigRepositoryParams) WithContext(ctx context.Context) *DeleteConfigRepositoryParams
WithContext adds the context to the delete config repository params
func (*DeleteConfigRepositoryParams) WithHTTPClient ¶
func (o *DeleteConfigRepositoryParams) WithHTTPClient(client *http.Client) *DeleteConfigRepositoryParams
WithHTTPClient adds the HTTPClient to the delete config repository params
func (*DeleteConfigRepositoryParams) WithOrganizationCanonical ¶
func (o *DeleteConfigRepositoryParams) WithOrganizationCanonical(organizationCanonical string) *DeleteConfigRepositoryParams
WithOrganizationCanonical adds the organizationCanonical to the delete config repository params
func (*DeleteConfigRepositoryParams) WithTimeout ¶
func (o *DeleteConfigRepositoryParams) WithTimeout(timeout time.Duration) *DeleteConfigRepositoryParams
WithTimeout adds the timeout to the delete config repository params
func (*DeleteConfigRepositoryParams) WriteToRequest ¶
func (o *DeleteConfigRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigRepositoryReader ¶
type DeleteConfigRepositoryReader struct {
// contains filtered or unexported fields
}
DeleteConfigRepositoryReader is a Reader for the DeleteConfigRepository structure.
func (*DeleteConfigRepositoryReader) ReadResponse ¶
func (o *DeleteConfigRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigRepositoriesDefault ¶
type GetConfigRepositoriesDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
GetConfigRepositoriesDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetConfigRepositoriesDefault ¶
func NewGetConfigRepositoriesDefault(code int) *GetConfigRepositoriesDefault
NewGetConfigRepositoriesDefault creates a GetConfigRepositoriesDefault with default headers values
func (*GetConfigRepositoriesDefault) Code ¶
func (o *GetConfigRepositoriesDefault) Code() int
Code gets the status code for the get config repositories default response
func (*GetConfigRepositoriesDefault) Error ¶
func (o *GetConfigRepositoriesDefault) Error() string
func (*GetConfigRepositoriesDefault) GetPayload ¶
func (o *GetConfigRepositoriesDefault) GetPayload() *models.ErrorPayload
type GetConfigRepositoriesForbidden ¶
type GetConfigRepositoriesForbidden struct {
Payload *models.ErrorPayload
}
GetConfigRepositoriesForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetConfigRepositoriesForbidden ¶
func NewGetConfigRepositoriesForbidden() *GetConfigRepositoriesForbidden
NewGetConfigRepositoriesForbidden creates a GetConfigRepositoriesForbidden with default headers values
func (*GetConfigRepositoriesForbidden) Error ¶
func (o *GetConfigRepositoriesForbidden) Error() string
func (*GetConfigRepositoriesForbidden) GetPayload ¶
func (o *GetConfigRepositoriesForbidden) GetPayload() *models.ErrorPayload
type GetConfigRepositoriesOK ¶
type GetConfigRepositoriesOK struct {
Payload *GetConfigRepositoriesOKBody
}
GetConfigRepositoriesOK handles this case with default header values.
List of the config repositories.
func NewGetConfigRepositoriesOK ¶
func NewGetConfigRepositoriesOK() *GetConfigRepositoriesOK
NewGetConfigRepositoriesOK creates a GetConfigRepositoriesOK with default headers values
func (*GetConfigRepositoriesOK) Error ¶
func (o *GetConfigRepositoriesOK) Error() string
func (*GetConfigRepositoriesOK) GetPayload ¶
func (o *GetConfigRepositoriesOK) GetPayload() *GetConfigRepositoriesOKBody
type GetConfigRepositoriesOKBody ¶
type GetConfigRepositoriesOKBody struct { // data // Required: true Data []*models.ConfigRepository `json:"data"` }
GetConfigRepositoriesOKBody get config repositories o k body swagger:model GetConfigRepositoriesOKBody
func (*GetConfigRepositoriesOKBody) MarshalBinary ¶
func (o *GetConfigRepositoriesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetConfigRepositoriesOKBody) UnmarshalBinary ¶
func (o *GetConfigRepositoriesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetConfigRepositoriesParams ¶
type GetConfigRepositoriesParams struct { /*Default Value describing whether to return default */ Default *bool /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*PageIndex The page number to request. The first page is 1. */ PageIndex *uint32 /*PageSize The number of items at most which the response can have. */ PageSize *uint32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigRepositoriesParams contains all the parameters to send to the API endpoint for the get config repositories operation typically these are written to a http.Request
func NewGetConfigRepositoriesParams ¶
func NewGetConfigRepositoriesParams() *GetConfigRepositoriesParams
NewGetConfigRepositoriesParams creates a new GetConfigRepositoriesParams object with the default values initialized.
func NewGetConfigRepositoriesParamsWithContext ¶
func NewGetConfigRepositoriesParamsWithContext(ctx context.Context) *GetConfigRepositoriesParams
NewGetConfigRepositoriesParamsWithContext creates a new GetConfigRepositoriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetConfigRepositoriesParamsWithHTTPClient ¶
func NewGetConfigRepositoriesParamsWithHTTPClient(client *http.Client) *GetConfigRepositoriesParams
NewGetConfigRepositoriesParamsWithHTTPClient creates a new GetConfigRepositoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConfigRepositoriesParamsWithTimeout ¶
func NewGetConfigRepositoriesParamsWithTimeout(timeout time.Duration) *GetConfigRepositoriesParams
NewGetConfigRepositoriesParamsWithTimeout creates a new GetConfigRepositoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConfigRepositoriesParams) SetContext ¶
func (o *GetConfigRepositoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get config repositories params
func (*GetConfigRepositoriesParams) SetDefault ¶
func (o *GetConfigRepositoriesParams) SetDefault(defaultVar *bool)
SetDefault adds the default to the get config repositories params
func (*GetConfigRepositoriesParams) SetHTTPClient ¶
func (o *GetConfigRepositoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config repositories params
func (*GetConfigRepositoriesParams) SetOrganizationCanonical ¶
func (o *GetConfigRepositoriesParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get config repositories params
func (*GetConfigRepositoriesParams) SetPageIndex ¶
func (o *GetConfigRepositoriesParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the get config repositories params
func (*GetConfigRepositoriesParams) SetPageSize ¶
func (o *GetConfigRepositoriesParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the get config repositories params
func (*GetConfigRepositoriesParams) SetTimeout ¶
func (o *GetConfigRepositoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config repositories params
func (*GetConfigRepositoriesParams) WithContext ¶
func (o *GetConfigRepositoriesParams) WithContext(ctx context.Context) *GetConfigRepositoriesParams
WithContext adds the context to the get config repositories params
func (*GetConfigRepositoriesParams) WithDefault ¶
func (o *GetConfigRepositoriesParams) WithDefault(defaultVar *bool) *GetConfigRepositoriesParams
WithDefault adds the defaultVar to the get config repositories params
func (*GetConfigRepositoriesParams) WithHTTPClient ¶
func (o *GetConfigRepositoriesParams) WithHTTPClient(client *http.Client) *GetConfigRepositoriesParams
WithHTTPClient adds the HTTPClient to the get config repositories params
func (*GetConfigRepositoriesParams) WithOrganizationCanonical ¶
func (o *GetConfigRepositoriesParams) WithOrganizationCanonical(organizationCanonical string) *GetConfigRepositoriesParams
WithOrganizationCanonical adds the organizationCanonical to the get config repositories params
func (*GetConfigRepositoriesParams) WithPageIndex ¶
func (o *GetConfigRepositoriesParams) WithPageIndex(pageIndex *uint32) *GetConfigRepositoriesParams
WithPageIndex adds the pageIndex to the get config repositories params
func (*GetConfigRepositoriesParams) WithPageSize ¶
func (o *GetConfigRepositoriesParams) WithPageSize(pageSize *uint32) *GetConfigRepositoriesParams
WithPageSize adds the pageSize to the get config repositories params
func (*GetConfigRepositoriesParams) WithTimeout ¶
func (o *GetConfigRepositoriesParams) WithTimeout(timeout time.Duration) *GetConfigRepositoriesParams
WithTimeout adds the timeout to the get config repositories params
func (*GetConfigRepositoriesParams) WriteToRequest ¶
func (o *GetConfigRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigRepositoriesReader ¶
type GetConfigRepositoriesReader struct {
// contains filtered or unexported fields
}
GetConfigRepositoriesReader is a Reader for the GetConfigRepositories structure.
func (*GetConfigRepositoriesReader) ReadResponse ¶
func (o *GetConfigRepositoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigRepositoriesUnprocessableEntity ¶
type GetConfigRepositoriesUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetConfigRepositoriesUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetConfigRepositoriesUnprocessableEntity ¶
func NewGetConfigRepositoriesUnprocessableEntity() *GetConfigRepositoriesUnprocessableEntity
NewGetConfigRepositoriesUnprocessableEntity creates a GetConfigRepositoriesUnprocessableEntity with default headers values
func (*GetConfigRepositoriesUnprocessableEntity) Error ¶
func (o *GetConfigRepositoriesUnprocessableEntity) Error() string
func (*GetConfigRepositoriesUnprocessableEntity) GetPayload ¶
func (o *GetConfigRepositoriesUnprocessableEntity) GetPayload() *models.ErrorPayload
type GetConfigRepositoryDefault ¶
type GetConfigRepositoryDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
GetConfigRepositoryDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetConfigRepositoryDefault ¶
func NewGetConfigRepositoryDefault(code int) *GetConfigRepositoryDefault
NewGetConfigRepositoryDefault creates a GetConfigRepositoryDefault with default headers values
func (*GetConfigRepositoryDefault) Code ¶
func (o *GetConfigRepositoryDefault) Code() int
Code gets the status code for the get config repository default response
func (*GetConfigRepositoryDefault) Error ¶
func (o *GetConfigRepositoryDefault) Error() string
func (*GetConfigRepositoryDefault) GetPayload ¶
func (o *GetConfigRepositoryDefault) GetPayload() *models.ErrorPayload
type GetConfigRepositoryForbidden ¶
type GetConfigRepositoryForbidden struct {
Payload *models.ErrorPayload
}
GetConfigRepositoryForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetConfigRepositoryForbidden ¶
func NewGetConfigRepositoryForbidden() *GetConfigRepositoryForbidden
NewGetConfigRepositoryForbidden creates a GetConfigRepositoryForbidden with default headers values
func (*GetConfigRepositoryForbidden) Error ¶
func (o *GetConfigRepositoryForbidden) Error() string
func (*GetConfigRepositoryForbidden) GetPayload ¶
func (o *GetConfigRepositoryForbidden) GetPayload() *models.ErrorPayload
type GetConfigRepositoryOK ¶
type GetConfigRepositoryOK struct {
Payload *GetConfigRepositoryOKBody
}
GetConfigRepositoryOK handles this case with default header values.
Organization Config Repository.
func NewGetConfigRepositoryOK ¶
func NewGetConfigRepositoryOK() *GetConfigRepositoryOK
NewGetConfigRepositoryOK creates a GetConfigRepositoryOK with default headers values
func (*GetConfigRepositoryOK) Error ¶
func (o *GetConfigRepositoryOK) Error() string
func (*GetConfigRepositoryOK) GetPayload ¶
func (o *GetConfigRepositoryOK) GetPayload() *GetConfigRepositoryOKBody
type GetConfigRepositoryOKBody ¶
type GetConfigRepositoryOKBody struct { // data // Required: true Data *models.ConfigRepository `json:"data"` }
GetConfigRepositoryOKBody get config repository o k body swagger:model GetConfigRepositoryOKBody
func (*GetConfigRepositoryOKBody) MarshalBinary ¶
func (o *GetConfigRepositoryOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetConfigRepositoryOKBody) UnmarshalBinary ¶
func (o *GetConfigRepositoryOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetConfigRepositoryParams ¶
type GetConfigRepositoryParams struct { /*ConfigRepositoryCanonical Organization Config Repositories canonical */ ConfigRepositoryCanonical string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*PageIndex The page number to request. The first page is 1. */ PageIndex *uint32 /*PageSize The number of items at most which the response can have. */ PageSize *uint32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigRepositoryParams contains all the parameters to send to the API endpoint for the get config repository operation typically these are written to a http.Request
func NewGetConfigRepositoryParams ¶
func NewGetConfigRepositoryParams() *GetConfigRepositoryParams
NewGetConfigRepositoryParams creates a new GetConfigRepositoryParams object with the default values initialized.
func NewGetConfigRepositoryParamsWithContext ¶
func NewGetConfigRepositoryParamsWithContext(ctx context.Context) *GetConfigRepositoryParams
NewGetConfigRepositoryParamsWithContext creates a new GetConfigRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetConfigRepositoryParamsWithHTTPClient ¶
func NewGetConfigRepositoryParamsWithHTTPClient(client *http.Client) *GetConfigRepositoryParams
NewGetConfigRepositoryParamsWithHTTPClient creates a new GetConfigRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConfigRepositoryParamsWithTimeout ¶
func NewGetConfigRepositoryParamsWithTimeout(timeout time.Duration) *GetConfigRepositoryParams
NewGetConfigRepositoryParamsWithTimeout creates a new GetConfigRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConfigRepositoryParams) SetConfigRepositoryCanonical ¶ added in v1.0.58
func (o *GetConfigRepositoryParams) SetConfigRepositoryCanonical(configRepositoryCanonical string)
SetConfigRepositoryCanonical adds the configRepositoryCanonical to the get config repository params
func (*GetConfigRepositoryParams) SetContext ¶
func (o *GetConfigRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get config repository params
func (*GetConfigRepositoryParams) SetHTTPClient ¶
func (o *GetConfigRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config repository params
func (*GetConfigRepositoryParams) SetOrganizationCanonical ¶
func (o *GetConfigRepositoryParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get config repository params
func (*GetConfigRepositoryParams) SetPageIndex ¶
func (o *GetConfigRepositoryParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the get config repository params
func (*GetConfigRepositoryParams) SetPageSize ¶
func (o *GetConfigRepositoryParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the get config repository params
func (*GetConfigRepositoryParams) SetTimeout ¶
func (o *GetConfigRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config repository params
func (*GetConfigRepositoryParams) WithConfigRepositoryCanonical ¶ added in v1.0.58
func (o *GetConfigRepositoryParams) WithConfigRepositoryCanonical(configRepositoryCanonical string) *GetConfigRepositoryParams
WithConfigRepositoryCanonical adds the configRepositoryCanonical to the get config repository params
func (*GetConfigRepositoryParams) WithContext ¶
func (o *GetConfigRepositoryParams) WithContext(ctx context.Context) *GetConfigRepositoryParams
WithContext adds the context to the get config repository params
func (*GetConfigRepositoryParams) WithHTTPClient ¶
func (o *GetConfigRepositoryParams) WithHTTPClient(client *http.Client) *GetConfigRepositoryParams
WithHTTPClient adds the HTTPClient to the get config repository params
func (*GetConfigRepositoryParams) WithOrganizationCanonical ¶
func (o *GetConfigRepositoryParams) WithOrganizationCanonical(organizationCanonical string) *GetConfigRepositoryParams
WithOrganizationCanonical adds the organizationCanonical to the get config repository params
func (*GetConfigRepositoryParams) WithPageIndex ¶
func (o *GetConfigRepositoryParams) WithPageIndex(pageIndex *uint32) *GetConfigRepositoryParams
WithPageIndex adds the pageIndex to the get config repository params
func (*GetConfigRepositoryParams) WithPageSize ¶
func (o *GetConfigRepositoryParams) WithPageSize(pageSize *uint32) *GetConfigRepositoryParams
WithPageSize adds the pageSize to the get config repository params
func (*GetConfigRepositoryParams) WithTimeout ¶
func (o *GetConfigRepositoryParams) WithTimeout(timeout time.Duration) *GetConfigRepositoryParams
WithTimeout adds the timeout to the get config repository params
func (*GetConfigRepositoryParams) WriteToRequest ¶
func (o *GetConfigRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigRepositoryReader ¶
type GetConfigRepositoryReader struct {
// contains filtered or unexported fields
}
GetConfigRepositoryReader is a Reader for the GetConfigRepository structure.
func (*GetConfigRepositoryReader) ReadResponse ¶
func (o *GetConfigRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigRepositoryUnprocessableEntity ¶
type GetConfigRepositoryUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetConfigRepositoryUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetConfigRepositoryUnprocessableEntity ¶
func NewGetConfigRepositoryUnprocessableEntity() *GetConfigRepositoryUnprocessableEntity
NewGetConfigRepositoryUnprocessableEntity creates a GetConfigRepositoryUnprocessableEntity with default headers values
func (*GetConfigRepositoryUnprocessableEntity) Error ¶
func (o *GetConfigRepositoryUnprocessableEntity) Error() string
func (*GetConfigRepositoryUnprocessableEntity) GetPayload ¶
func (o *GetConfigRepositoryUnprocessableEntity) GetPayload() *models.ErrorPayload
type UpdateConfigRepositoryDefault ¶
type UpdateConfigRepositoryDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
UpdateConfigRepositoryDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateConfigRepositoryDefault ¶
func NewUpdateConfigRepositoryDefault(code int) *UpdateConfigRepositoryDefault
NewUpdateConfigRepositoryDefault creates a UpdateConfigRepositoryDefault with default headers values
func (*UpdateConfigRepositoryDefault) Code ¶
func (o *UpdateConfigRepositoryDefault) Code() int
Code gets the status code for the update config repository default response
func (*UpdateConfigRepositoryDefault) Error ¶
func (o *UpdateConfigRepositoryDefault) Error() string
func (*UpdateConfigRepositoryDefault) GetPayload ¶
func (o *UpdateConfigRepositoryDefault) GetPayload() *models.ErrorPayload
type UpdateConfigRepositoryLengthRequired ¶
type UpdateConfigRepositoryLengthRequired struct { }
UpdateConfigRepositoryLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewUpdateConfigRepositoryLengthRequired ¶
func NewUpdateConfigRepositoryLengthRequired() *UpdateConfigRepositoryLengthRequired
NewUpdateConfigRepositoryLengthRequired creates a UpdateConfigRepositoryLengthRequired with default headers values
func (*UpdateConfigRepositoryLengthRequired) Error ¶
func (o *UpdateConfigRepositoryLengthRequired) Error() string
type UpdateConfigRepositoryNotFound ¶
type UpdateConfigRepositoryNotFound struct {
Payload *models.ErrorPayload
}
UpdateConfigRepositoryNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewUpdateConfigRepositoryNotFound ¶
func NewUpdateConfigRepositoryNotFound() *UpdateConfigRepositoryNotFound
NewUpdateConfigRepositoryNotFound creates a UpdateConfigRepositoryNotFound with default headers values
func (*UpdateConfigRepositoryNotFound) Error ¶
func (o *UpdateConfigRepositoryNotFound) Error() string
func (*UpdateConfigRepositoryNotFound) GetPayload ¶
func (o *UpdateConfigRepositoryNotFound) GetPayload() *models.ErrorPayload
type UpdateConfigRepositoryOK ¶
type UpdateConfigRepositoryOK struct {
Payload *UpdateConfigRepositoryOKBody
}
UpdateConfigRepositoryOK handles this case with default header values.
Success creation
func NewUpdateConfigRepositoryOK ¶
func NewUpdateConfigRepositoryOK() *UpdateConfigRepositoryOK
NewUpdateConfigRepositoryOK creates a UpdateConfigRepositoryOK with default headers values
func (*UpdateConfigRepositoryOK) Error ¶
func (o *UpdateConfigRepositoryOK) Error() string
func (*UpdateConfigRepositoryOK) GetPayload ¶
func (o *UpdateConfigRepositoryOK) GetPayload() *UpdateConfigRepositoryOKBody
type UpdateConfigRepositoryOKBody ¶
type UpdateConfigRepositoryOKBody struct { // data // Required: true Data *models.ConfigRepository `json:"data"` }
UpdateConfigRepositoryOKBody update config repository o k body swagger:model UpdateConfigRepositoryOKBody
func (*UpdateConfigRepositoryOKBody) MarshalBinary ¶
func (o *UpdateConfigRepositoryOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateConfigRepositoryOKBody) UnmarshalBinary ¶
func (o *UpdateConfigRepositoryOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateConfigRepositoryParams ¶
type UpdateConfigRepositoryParams struct { /*Body The information of the config repository to create. */ Body *models.UpdateConfigRepository /*ConfigRepositoryCanonical Organization Config Repositories canonical */ ConfigRepositoryCanonical string /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateConfigRepositoryParams contains all the parameters to send to the API endpoint for the update config repository operation typically these are written to a http.Request
func NewUpdateConfigRepositoryParams ¶
func NewUpdateConfigRepositoryParams() *UpdateConfigRepositoryParams
NewUpdateConfigRepositoryParams creates a new UpdateConfigRepositoryParams object with the default values initialized.
func NewUpdateConfigRepositoryParamsWithContext ¶
func NewUpdateConfigRepositoryParamsWithContext(ctx context.Context) *UpdateConfigRepositoryParams
NewUpdateConfigRepositoryParamsWithContext creates a new UpdateConfigRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateConfigRepositoryParamsWithHTTPClient ¶
func NewUpdateConfigRepositoryParamsWithHTTPClient(client *http.Client) *UpdateConfigRepositoryParams
NewUpdateConfigRepositoryParamsWithHTTPClient creates a new UpdateConfigRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateConfigRepositoryParamsWithTimeout ¶
func NewUpdateConfigRepositoryParamsWithTimeout(timeout time.Duration) *UpdateConfigRepositoryParams
NewUpdateConfigRepositoryParamsWithTimeout creates a new UpdateConfigRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateConfigRepositoryParams) SetBody ¶
func (o *UpdateConfigRepositoryParams) SetBody(body *models.UpdateConfigRepository)
SetBody adds the body to the update config repository params
func (*UpdateConfigRepositoryParams) SetConfigRepositoryCanonical ¶ added in v1.0.58
func (o *UpdateConfigRepositoryParams) SetConfigRepositoryCanonical(configRepositoryCanonical string)
SetConfigRepositoryCanonical adds the configRepositoryCanonical to the update config repository params
func (*UpdateConfigRepositoryParams) SetContext ¶
func (o *UpdateConfigRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the update config repository params
func (*UpdateConfigRepositoryParams) SetHTTPClient ¶
func (o *UpdateConfigRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update config repository params
func (*UpdateConfigRepositoryParams) SetOrganizationCanonical ¶
func (o *UpdateConfigRepositoryParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the update config repository params
func (*UpdateConfigRepositoryParams) SetTimeout ¶
func (o *UpdateConfigRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update config repository params
func (*UpdateConfigRepositoryParams) WithBody ¶
func (o *UpdateConfigRepositoryParams) WithBody(body *models.UpdateConfigRepository) *UpdateConfigRepositoryParams
WithBody adds the body to the update config repository params
func (*UpdateConfigRepositoryParams) WithConfigRepositoryCanonical ¶ added in v1.0.58
func (o *UpdateConfigRepositoryParams) WithConfigRepositoryCanonical(configRepositoryCanonical string) *UpdateConfigRepositoryParams
WithConfigRepositoryCanonical adds the configRepositoryCanonical to the update config repository params
func (*UpdateConfigRepositoryParams) WithContext ¶
func (o *UpdateConfigRepositoryParams) WithContext(ctx context.Context) *UpdateConfigRepositoryParams
WithContext adds the context to the update config repository params
func (*UpdateConfigRepositoryParams) WithHTTPClient ¶
func (o *UpdateConfigRepositoryParams) WithHTTPClient(client *http.Client) *UpdateConfigRepositoryParams
WithHTTPClient adds the HTTPClient to the update config repository params
func (*UpdateConfigRepositoryParams) WithOrganizationCanonical ¶
func (o *UpdateConfigRepositoryParams) WithOrganizationCanonical(organizationCanonical string) *UpdateConfigRepositoryParams
WithOrganizationCanonical adds the organizationCanonical to the update config repository params
func (*UpdateConfigRepositoryParams) WithTimeout ¶
func (o *UpdateConfigRepositoryParams) WithTimeout(timeout time.Duration) *UpdateConfigRepositoryParams
WithTimeout adds the timeout to the update config repository params
func (*UpdateConfigRepositoryParams) WriteToRequest ¶
func (o *UpdateConfigRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfigRepositoryReader ¶
type UpdateConfigRepositoryReader struct {
// contains filtered or unexported fields
}
UpdateConfigRepositoryReader is a Reader for the UpdateConfigRepository structure.
func (*UpdateConfigRepositoryReader) ReadResponse ¶
func (o *UpdateConfigRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_config_repository_config_parameters.go
- create_config_repository_config_responses.go
- create_config_repository_parameters.go
- create_config_repository_responses.go
- delete_config_repository_parameters.go
- delete_config_repository_responses.go
- get_config_repositories_parameters.go
- get_config_repositories_responses.go
- get_config_repository_parameters.go
- get_config_repository_responses.go
- organization_config_repositories_client.go
- update_config_repository_parameters.go
- update_config_repository_responses.go