organization_config_repositories

package
v1.0.64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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

CreateConfigRepositoryConfig Create Service Catalog config files in the Config Repository.

func (*Client) DeleteConfigRepository

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

Code gets the status code for the create config repository config default response

func (*CreateConfigRepositoryConfigDefault) Error

func (*CreateConfigRepositoryConfigDefault) GetPayload

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 (*CreateConfigRepositoryConfigForbidden) GetPayload

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

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

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 (*CreateConfigRepositoryConfigNotFound) GetPayload

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

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

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

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

WithContext adds the context to the create config repository config params

func (*CreateConfigRepositoryConfigParams) WithHTTPClient

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

WithTimeout adds the timeout to the create config repository config params

func (*CreateConfigRepositoryConfigParams) WriteToRequest

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 (*CreateConfigRepositoryConfigUnprocessableEntity) GetPayload

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

Code gets the status code for the create config repository default response

func (*CreateConfigRepositoryDefault) Error

func (*CreateConfigRepositoryDefault) GetPayload

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

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 (*CreateConfigRepositoryNotFound) GetPayload

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

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

func (*CreateConfigRepositoryOKBody) Validate

func (o *CreateConfigRepositoryOKBody) Validate(formats strfmt.Registry) error

Validate validates this create config repository o k body

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

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

WithBody adds the body to the create config repository params

func (*CreateConfigRepositoryParams) WithContext

WithContext adds the context to the create config repository params

func (*CreateConfigRepositoryParams) WithHTTPClient

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

WithTimeout adds the timeout to the create config repository params

func (*CreateConfigRepositoryParams) WriteToRequest

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 (*CreateConfigRepositoryUnprocessableEntity) GetPayload

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

Code gets the status code for the delete config repository default response

func (*DeleteConfigRepositoryDefault) Error

func (*DeleteConfigRepositoryDefault) GetPayload

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

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

WithContext adds the context to the delete config repository params

func (*DeleteConfigRepositoryParams) WithHTTPClient

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

WithTimeout adds the timeout to the delete config repository params

func (*DeleteConfigRepositoryParams) WriteToRequest

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

Code gets the status code for the get config repositories default response

func (*GetConfigRepositoriesDefault) Error

func (*GetConfigRepositoriesDefault) GetPayload

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 (*GetConfigRepositoriesForbidden) GetPayload

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

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

func (*GetConfigRepositoriesOKBody) Validate

func (o *GetConfigRepositoriesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get config repositories o k body

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

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

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

WithPageSize adds the pageSize to the get config repositories params

func (*GetConfigRepositoriesParams) WithTimeout

WithTimeout adds the timeout to the get config repositories params

func (*GetConfigRepositoriesParams) WriteToRequest

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 (*GetConfigRepositoriesUnprocessableEntity) GetPayload

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 (*GetConfigRepositoryDefault) GetPayload

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 (*GetConfigRepositoryForbidden) GetPayload

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

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

func (*GetConfigRepositoryOKBody) Validate

func (o *GetConfigRepositoryOKBody) Validate(formats strfmt.Registry) error

Validate validates this get config repository o k body

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

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

WithTimeout adds the timeout to the get config repository params

func (*GetConfigRepositoryParams) WriteToRequest

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 (*GetConfigRepositoryUnprocessableEntity) GetPayload

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

Code gets the status code for the update config repository default response

func (*UpdateConfigRepositoryDefault) Error

func (*UpdateConfigRepositoryDefault) GetPayload

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

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 (*UpdateConfigRepositoryNotFound) GetPayload

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

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

func (*UpdateConfigRepositoryOKBody) Validate

func (o *UpdateConfigRepositoryOKBody) Validate(formats strfmt.Registry) error

Validate validates this update config repository o k body

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

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

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

WithContext adds the context to the update config repository params

func (*UpdateConfigRepositoryParams) WithHTTPClient

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

WithTimeout adds the timeout to the update config repository params

func (*UpdateConfigRepositoryParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL