project

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: CC0-1.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddProjectCheckoutKeyBadRequest

type AddProjectCheckoutKeyBadRequest struct {
	Payload *models.Errored
}

AddProjectCheckoutKeyBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewAddProjectCheckoutKeyBadRequest

func NewAddProjectCheckoutKeyBadRequest() *AddProjectCheckoutKeyBadRequest

NewAddProjectCheckoutKeyBadRequest creates a AddProjectCheckoutKeyBadRequest with default headers values

func (*AddProjectCheckoutKeyBadRequest) Error

func (*AddProjectCheckoutKeyBadRequest) GetPayload

func (*AddProjectCheckoutKeyBadRequest) IsClientError

func (o *AddProjectCheckoutKeyBadRequest) IsClientError() bool

IsClientError returns true when this add project checkout key bad request response has a 4xx status code

func (*AddProjectCheckoutKeyBadRequest) IsCode

func (o *AddProjectCheckoutKeyBadRequest) IsCode(code int) bool

IsCode returns true when this add project checkout key bad request response a status code equal to that given

func (*AddProjectCheckoutKeyBadRequest) IsRedirect

func (o *AddProjectCheckoutKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this add project checkout key bad request response has a 3xx status code

func (*AddProjectCheckoutKeyBadRequest) IsServerError

func (o *AddProjectCheckoutKeyBadRequest) IsServerError() bool

IsServerError returns true when this add project checkout key bad request response has a 5xx status code

func (*AddProjectCheckoutKeyBadRequest) IsSuccess

func (o *AddProjectCheckoutKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this add project checkout key bad request response has a 2xx status code

func (*AddProjectCheckoutKeyBadRequest) String

type AddProjectCheckoutKeyCreated

type AddProjectCheckoutKeyCreated struct {
	Payload *models.ProjectCheckoutKeyInfo
}

AddProjectCheckoutKeyCreated describes a response with status code 201, with default header values.

Successfully added

func NewAddProjectCheckoutKeyCreated

func NewAddProjectCheckoutKeyCreated() *AddProjectCheckoutKeyCreated

NewAddProjectCheckoutKeyCreated creates a AddProjectCheckoutKeyCreated with default headers values

func (*AddProjectCheckoutKeyCreated) Error

func (*AddProjectCheckoutKeyCreated) GetPayload

func (*AddProjectCheckoutKeyCreated) IsClientError

func (o *AddProjectCheckoutKeyCreated) IsClientError() bool

IsClientError returns true when this add project checkout key created response has a 4xx status code

func (*AddProjectCheckoutKeyCreated) IsCode

func (o *AddProjectCheckoutKeyCreated) IsCode(code int) bool

IsCode returns true when this add project checkout key created response a status code equal to that given

func (*AddProjectCheckoutKeyCreated) IsRedirect

func (o *AddProjectCheckoutKeyCreated) IsRedirect() bool

IsRedirect returns true when this add project checkout key created response has a 3xx status code

func (*AddProjectCheckoutKeyCreated) IsServerError

func (o *AddProjectCheckoutKeyCreated) IsServerError() bool

IsServerError returns true when this add project checkout key created response has a 5xx status code

func (*AddProjectCheckoutKeyCreated) IsSuccess

func (o *AddProjectCheckoutKeyCreated) IsSuccess() bool

IsSuccess returns true when this add project checkout key created response has a 2xx status code

func (*AddProjectCheckoutKeyCreated) String

type AddProjectCheckoutKeyNotFound added in v0.2.5

type AddProjectCheckoutKeyNotFound struct {
	Payload *models.Errored
}

AddProjectCheckoutKeyNotFound describes a response with status code 404, with default header values.

Not Found

func NewAddProjectCheckoutKeyNotFound added in v0.2.5

func NewAddProjectCheckoutKeyNotFound() *AddProjectCheckoutKeyNotFound

NewAddProjectCheckoutKeyNotFound creates a AddProjectCheckoutKeyNotFound with default headers values

func (*AddProjectCheckoutKeyNotFound) Error added in v0.2.5

func (*AddProjectCheckoutKeyNotFound) GetPayload added in v0.2.5

func (o *AddProjectCheckoutKeyNotFound) GetPayload() *models.Errored

func (*AddProjectCheckoutKeyNotFound) IsClientError added in v0.2.5

func (o *AddProjectCheckoutKeyNotFound) IsClientError() bool

IsClientError returns true when this add project checkout key not found response has a 4xx status code

func (*AddProjectCheckoutKeyNotFound) IsCode added in v0.2.5

func (o *AddProjectCheckoutKeyNotFound) IsCode(code int) bool

IsCode returns true when this add project checkout key not found response a status code equal to that given

func (*AddProjectCheckoutKeyNotFound) IsRedirect added in v0.2.5

func (o *AddProjectCheckoutKeyNotFound) IsRedirect() bool

IsRedirect returns true when this add project checkout key not found response has a 3xx status code

func (*AddProjectCheckoutKeyNotFound) IsServerError added in v0.2.5

func (o *AddProjectCheckoutKeyNotFound) IsServerError() bool

IsServerError returns true when this add project checkout key not found response has a 5xx status code

func (*AddProjectCheckoutKeyNotFound) IsSuccess added in v0.2.5

func (o *AddProjectCheckoutKeyNotFound) IsSuccess() bool

IsSuccess returns true when this add project checkout key not found response has a 2xx status code

func (*AddProjectCheckoutKeyNotFound) String added in v0.2.5

type AddProjectCheckoutKeyParams

type AddProjectCheckoutKeyParams struct {

	/* Body.

	   checkout key information (payload)
	*/
	Body *models.ProjectCheckoutKeyPayload

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddProjectCheckoutKeyParams contains all the parameters to send to the API endpoint

for the add project checkout key operation.

Typically these are written to a http.Request.

func NewAddProjectCheckoutKeyParams

func NewAddProjectCheckoutKeyParams() *AddProjectCheckoutKeyParams

NewAddProjectCheckoutKeyParams creates a new AddProjectCheckoutKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddProjectCheckoutKeyParamsWithContext

func NewAddProjectCheckoutKeyParamsWithContext(ctx context.Context) *AddProjectCheckoutKeyParams

NewAddProjectCheckoutKeyParamsWithContext creates a new AddProjectCheckoutKeyParams object with the ability to set a context for a request.

func NewAddProjectCheckoutKeyParamsWithHTTPClient

func NewAddProjectCheckoutKeyParamsWithHTTPClient(client *http.Client) *AddProjectCheckoutKeyParams

NewAddProjectCheckoutKeyParamsWithHTTPClient creates a new AddProjectCheckoutKeyParams object with the ability to set a custom HTTPClient for a request.

func NewAddProjectCheckoutKeyParamsWithTimeout

func NewAddProjectCheckoutKeyParamsWithTimeout(timeout time.Duration) *AddProjectCheckoutKeyParams

NewAddProjectCheckoutKeyParamsWithTimeout creates a new AddProjectCheckoutKeyParams object with the ability to set a timeout on a request.

func (*AddProjectCheckoutKeyParams) SetBody

SetBody adds the body to the add project checkout key params

func (*AddProjectCheckoutKeyParams) SetContext

func (o *AddProjectCheckoutKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the add project checkout key params

func (*AddProjectCheckoutKeyParams) SetDefaults

func (o *AddProjectCheckoutKeyParams) SetDefaults()

SetDefaults hydrates default values in the add project checkout key params (not the query body).

All values with no default are reset to their zero value.

func (*AddProjectCheckoutKeyParams) SetHTTPClient

func (o *AddProjectCheckoutKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add project checkout key params

func (*AddProjectCheckoutKeyParams) SetProjectSlug

func (o *AddProjectCheckoutKeyParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the add project checkout key params

func (*AddProjectCheckoutKeyParams) SetTimeout

func (o *AddProjectCheckoutKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add project checkout key params

func (*AddProjectCheckoutKeyParams) WithBody

WithBody adds the body to the add project checkout key params

func (*AddProjectCheckoutKeyParams) WithContext

WithContext adds the context to the add project checkout key params

func (*AddProjectCheckoutKeyParams) WithDefaults

WithDefaults hydrates default values in the add project checkout key params (not the query body).

All values with no default are reset to their zero value.

func (*AddProjectCheckoutKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add project checkout key params

func (*AddProjectCheckoutKeyParams) WithProjectSlug

func (o *AddProjectCheckoutKeyParams) WithProjectSlug(projectSlug string) *AddProjectCheckoutKeyParams

WithProjectSlug adds the projectSlug to the add project checkout key params

func (*AddProjectCheckoutKeyParams) WithTimeout

WithTimeout adds the timeout to the add project checkout key params

func (*AddProjectCheckoutKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddProjectCheckoutKeyReader

type AddProjectCheckoutKeyReader struct {
	// contains filtered or unexported fields
}

AddProjectCheckoutKeyReader is a Reader for the AddProjectCheckoutKey structure.

func (*AddProjectCheckoutKeyReader) ReadResponse

func (o *AddProjectCheckoutKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddProjectEnvVarBadRequest

type AddProjectEnvVarBadRequest struct {
	Payload *models.Errored
}

AddProjectEnvVarBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewAddProjectEnvVarBadRequest

func NewAddProjectEnvVarBadRequest() *AddProjectEnvVarBadRequest

NewAddProjectEnvVarBadRequest creates a AddProjectEnvVarBadRequest with default headers values

func (*AddProjectEnvVarBadRequest) Error

func (*AddProjectEnvVarBadRequest) GetPayload

func (o *AddProjectEnvVarBadRequest) GetPayload() *models.Errored

func (*AddProjectEnvVarBadRequest) IsClientError

func (o *AddProjectEnvVarBadRequest) IsClientError() bool

IsClientError returns true when this add project env var bad request response has a 4xx status code

func (*AddProjectEnvVarBadRequest) IsCode

func (o *AddProjectEnvVarBadRequest) IsCode(code int) bool

IsCode returns true when this add project env var bad request response a status code equal to that given

func (*AddProjectEnvVarBadRequest) IsRedirect

func (o *AddProjectEnvVarBadRequest) IsRedirect() bool

IsRedirect returns true when this add project env var bad request response has a 3xx status code

func (*AddProjectEnvVarBadRequest) IsServerError

func (o *AddProjectEnvVarBadRequest) IsServerError() bool

IsServerError returns true when this add project env var bad request response has a 5xx status code

func (*AddProjectEnvVarBadRequest) IsSuccess

func (o *AddProjectEnvVarBadRequest) IsSuccess() bool

IsSuccess returns true when this add project env var bad request response has a 2xx status code

func (*AddProjectEnvVarBadRequest) String

func (o *AddProjectEnvVarBadRequest) String() string

type AddProjectEnvVarCreated

type AddProjectEnvVarCreated struct {
	Payload *models.ProjectEnvVarInfo
}

AddProjectEnvVarCreated describes a response with status code 201, with default header values.

Successfully added

func NewAddProjectEnvVarCreated

func NewAddProjectEnvVarCreated() *AddProjectEnvVarCreated

NewAddProjectEnvVarCreated creates a AddProjectEnvVarCreated with default headers values

func (*AddProjectEnvVarCreated) Error

func (o *AddProjectEnvVarCreated) Error() string

func (*AddProjectEnvVarCreated) GetPayload

func (*AddProjectEnvVarCreated) IsClientError

func (o *AddProjectEnvVarCreated) IsClientError() bool

IsClientError returns true when this add project env var created response has a 4xx status code

func (*AddProjectEnvVarCreated) IsCode

func (o *AddProjectEnvVarCreated) IsCode(code int) bool

IsCode returns true when this add project env var created response a status code equal to that given

func (*AddProjectEnvVarCreated) IsRedirect

func (o *AddProjectEnvVarCreated) IsRedirect() bool

IsRedirect returns true when this add project env var created response has a 3xx status code

func (*AddProjectEnvVarCreated) IsServerError

func (o *AddProjectEnvVarCreated) IsServerError() bool

IsServerError returns true when this add project env var created response has a 5xx status code

func (*AddProjectEnvVarCreated) IsSuccess

func (o *AddProjectEnvVarCreated) IsSuccess() bool

IsSuccess returns true when this add project env var created response has a 2xx status code

func (*AddProjectEnvVarCreated) String

func (o *AddProjectEnvVarCreated) String() string

type AddProjectEnvVarNotFound added in v0.2.5

type AddProjectEnvVarNotFound struct {
	Payload *models.Errored
}

AddProjectEnvVarNotFound describes a response with status code 404, with default header values.

Not Found

func NewAddProjectEnvVarNotFound added in v0.2.5

func NewAddProjectEnvVarNotFound() *AddProjectEnvVarNotFound

NewAddProjectEnvVarNotFound creates a AddProjectEnvVarNotFound with default headers values

func (*AddProjectEnvVarNotFound) Error added in v0.2.5

func (o *AddProjectEnvVarNotFound) Error() string

func (*AddProjectEnvVarNotFound) GetPayload added in v0.2.5

func (o *AddProjectEnvVarNotFound) GetPayload() *models.Errored

func (*AddProjectEnvVarNotFound) IsClientError added in v0.2.5

func (o *AddProjectEnvVarNotFound) IsClientError() bool

IsClientError returns true when this add project env var not found response has a 4xx status code

func (*AddProjectEnvVarNotFound) IsCode added in v0.2.5

func (o *AddProjectEnvVarNotFound) IsCode(code int) bool

IsCode returns true when this add project env var not found response a status code equal to that given

func (*AddProjectEnvVarNotFound) IsRedirect added in v0.2.5

func (o *AddProjectEnvVarNotFound) IsRedirect() bool

IsRedirect returns true when this add project env var not found response has a 3xx status code

func (*AddProjectEnvVarNotFound) IsServerError added in v0.2.5

func (o *AddProjectEnvVarNotFound) IsServerError() bool

IsServerError returns true when this add project env var not found response has a 5xx status code

func (*AddProjectEnvVarNotFound) IsSuccess added in v0.2.5

func (o *AddProjectEnvVarNotFound) IsSuccess() bool

IsSuccess returns true when this add project env var not found response has a 2xx status code

func (*AddProjectEnvVarNotFound) String added in v0.2.5

func (o *AddProjectEnvVarNotFound) String() string

type AddProjectEnvVarParams

type AddProjectEnvVarParams struct {

	/* Body.

	   Environment variable information (payload)
	*/
	Body *models.ProjectEnvVarPayload

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddProjectEnvVarParams contains all the parameters to send to the API endpoint

for the add project env var operation.

Typically these are written to a http.Request.

func NewAddProjectEnvVarParams

func NewAddProjectEnvVarParams() *AddProjectEnvVarParams

NewAddProjectEnvVarParams creates a new AddProjectEnvVarParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddProjectEnvVarParamsWithContext

func NewAddProjectEnvVarParamsWithContext(ctx context.Context) *AddProjectEnvVarParams

NewAddProjectEnvVarParamsWithContext creates a new AddProjectEnvVarParams object with the ability to set a context for a request.

func NewAddProjectEnvVarParamsWithHTTPClient

func NewAddProjectEnvVarParamsWithHTTPClient(client *http.Client) *AddProjectEnvVarParams

NewAddProjectEnvVarParamsWithHTTPClient creates a new AddProjectEnvVarParams object with the ability to set a custom HTTPClient for a request.

func NewAddProjectEnvVarParamsWithTimeout

func NewAddProjectEnvVarParamsWithTimeout(timeout time.Duration) *AddProjectEnvVarParams

NewAddProjectEnvVarParamsWithTimeout creates a new AddProjectEnvVarParams object with the ability to set a timeout on a request.

func (*AddProjectEnvVarParams) SetBody

SetBody adds the body to the add project env var params

func (*AddProjectEnvVarParams) SetContext

func (o *AddProjectEnvVarParams) SetContext(ctx context.Context)

SetContext adds the context to the add project env var params

func (*AddProjectEnvVarParams) SetDefaults

func (o *AddProjectEnvVarParams) SetDefaults()

SetDefaults hydrates default values in the add project env var params (not the query body).

All values with no default are reset to their zero value.

func (*AddProjectEnvVarParams) SetHTTPClient

func (o *AddProjectEnvVarParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add project env var params

func (*AddProjectEnvVarParams) SetProjectSlug

func (o *AddProjectEnvVarParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the add project env var params

func (*AddProjectEnvVarParams) SetTimeout

func (o *AddProjectEnvVarParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add project env var params

func (*AddProjectEnvVarParams) WithBody

WithBody adds the body to the add project env var params

func (*AddProjectEnvVarParams) WithContext

WithContext adds the context to the add project env var params

func (*AddProjectEnvVarParams) WithDefaults

WithDefaults hydrates default values in the add project env var params (not the query body).

All values with no default are reset to their zero value.

func (*AddProjectEnvVarParams) WithHTTPClient

func (o *AddProjectEnvVarParams) WithHTTPClient(client *http.Client) *AddProjectEnvVarParams

WithHTTPClient adds the HTTPClient to the add project env var params

func (*AddProjectEnvVarParams) WithProjectSlug

func (o *AddProjectEnvVarParams) WithProjectSlug(projectSlug string) *AddProjectEnvVarParams

WithProjectSlug adds the projectSlug to the add project env var params

func (*AddProjectEnvVarParams) WithTimeout

WithTimeout adds the timeout to the add project env var params

func (*AddProjectEnvVarParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddProjectEnvVarReader

type AddProjectEnvVarReader struct {
	// contains filtered or unexported fields
}

AddProjectEnvVarReader is a Reader for the AddProjectEnvVar structure.

func (*AddProjectEnvVarReader) ReadResponse

func (o *AddProjectEnvVarReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for project API

func (*Client) AddProjectCheckoutKey

func (a *Client) AddProjectCheckoutKey(params *AddProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProjectCheckoutKeyCreated, error)

AddProjectCheckoutKey creates a project checkout key

func (*Client) AddProjectEnvVar

func (a *Client) AddProjectEnvVar(params *AddProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProjectEnvVarCreated, error)

AddProjectEnvVar creates a project environment variable

func (*Client) DeleteProjectCheckoutKey

func (a *Client) DeleteProjectCheckoutKey(params *DeleteProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectCheckoutKeyOK, error)

DeleteProjectCheckoutKey deletes a project checkout key

func (*Client) DeleteProjectEnvVar

func (a *Client) DeleteProjectEnvVar(params *DeleteProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectEnvVarOK, error)

DeleteProjectEnvVar deletes a project environment variable

func (*Client) GetProject

func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)

GetProject gets a project

func (*Client) GetProjectCheckoutKey

func (a *Client) GetProjectCheckoutKey(params *GetProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectCheckoutKeyOK, error)

GetProjectCheckoutKey lists project checkout keys

Returns all checkout keys for this project.

func (*Client) GetProjectEnvVar

func (a *Client) GetProjectEnvVar(params *GetProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectEnvVarOK, error)

GetProjectEnvVar gets project environment variable

Returns a environment variable for this project.

func (*Client) ListProjectCheckoutKeys

func (a *Client) ListProjectCheckoutKeys(params *ListProjectCheckoutKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectCheckoutKeysOK, error)

ListProjectCheckoutKeys lists checkout keys

Returns all checkout keys for this project.

func (*Client) ListProjectEnvVars

func (a *Client) ListProjectEnvVars(params *ListProjectEnvVarsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectEnvVarsOK, error)

ListProjectEnvVars lists project environment variables

Returns all environment variables for this project.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddProjectCheckoutKey(params *AddProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProjectCheckoutKeyCreated, error)

	AddProjectEnvVar(params *AddProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProjectEnvVarCreated, error)

	DeleteProjectCheckoutKey(params *DeleteProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectCheckoutKeyOK, error)

	DeleteProjectEnvVar(params *DeleteProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectEnvVarOK, error)

	GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)

	GetProjectCheckoutKey(params *GetProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectCheckoutKeyOK, error)

	GetProjectEnvVar(params *GetProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectEnvVarOK, error)

	ListProjectCheckoutKeys(params *ListProjectCheckoutKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectCheckoutKeysOK, error)

	ListProjectEnvVars(params *ListProjectEnvVarsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectEnvVarsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new project API client.

type DeleteProjectCheckoutKeyBadRequest

type DeleteProjectCheckoutKeyBadRequest struct {
	Payload *models.Errored
}

DeleteProjectCheckoutKeyBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewDeleteProjectCheckoutKeyBadRequest

func NewDeleteProjectCheckoutKeyBadRequest() *DeleteProjectCheckoutKeyBadRequest

NewDeleteProjectCheckoutKeyBadRequest creates a DeleteProjectCheckoutKeyBadRequest with default headers values

func (*DeleteProjectCheckoutKeyBadRequest) Error

func (*DeleteProjectCheckoutKeyBadRequest) GetPayload

func (*DeleteProjectCheckoutKeyBadRequest) IsClientError

func (o *DeleteProjectCheckoutKeyBadRequest) IsClientError() bool

IsClientError returns true when this delete project checkout key bad request response has a 4xx status code

func (*DeleteProjectCheckoutKeyBadRequest) IsCode

IsCode returns true when this delete project checkout key bad request response a status code equal to that given

func (*DeleteProjectCheckoutKeyBadRequest) IsRedirect

func (o *DeleteProjectCheckoutKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this delete project checkout key bad request response has a 3xx status code

func (*DeleteProjectCheckoutKeyBadRequest) IsServerError

func (o *DeleteProjectCheckoutKeyBadRequest) IsServerError() bool

IsServerError returns true when this delete project checkout key bad request response has a 5xx status code

func (*DeleteProjectCheckoutKeyBadRequest) IsSuccess

IsSuccess returns true when this delete project checkout key bad request response has a 2xx status code

func (*DeleteProjectCheckoutKeyBadRequest) String

type DeleteProjectCheckoutKeyNotFound added in v0.2.5

type DeleteProjectCheckoutKeyNotFound struct {
	Payload *models.Errored
}

DeleteProjectCheckoutKeyNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteProjectCheckoutKeyNotFound added in v0.2.5

func NewDeleteProjectCheckoutKeyNotFound() *DeleteProjectCheckoutKeyNotFound

NewDeleteProjectCheckoutKeyNotFound creates a DeleteProjectCheckoutKeyNotFound with default headers values

func (*DeleteProjectCheckoutKeyNotFound) Error added in v0.2.5

func (*DeleteProjectCheckoutKeyNotFound) GetPayload added in v0.2.5

func (*DeleteProjectCheckoutKeyNotFound) IsClientError added in v0.2.5

func (o *DeleteProjectCheckoutKeyNotFound) IsClientError() bool

IsClientError returns true when this delete project checkout key not found response has a 4xx status code

func (*DeleteProjectCheckoutKeyNotFound) IsCode added in v0.2.5

func (o *DeleteProjectCheckoutKeyNotFound) IsCode(code int) bool

IsCode returns true when this delete project checkout key not found response a status code equal to that given

func (*DeleteProjectCheckoutKeyNotFound) IsRedirect added in v0.2.5

func (o *DeleteProjectCheckoutKeyNotFound) IsRedirect() bool

IsRedirect returns true when this delete project checkout key not found response has a 3xx status code

func (*DeleteProjectCheckoutKeyNotFound) IsServerError added in v0.2.5

func (o *DeleteProjectCheckoutKeyNotFound) IsServerError() bool

IsServerError returns true when this delete project checkout key not found response has a 5xx status code

func (*DeleteProjectCheckoutKeyNotFound) IsSuccess added in v0.2.5

func (o *DeleteProjectCheckoutKeyNotFound) IsSuccess() bool

IsSuccess returns true when this delete project checkout key not found response has a 2xx status code

func (*DeleteProjectCheckoutKeyNotFound) String added in v0.2.5

type DeleteProjectCheckoutKeyOK

type DeleteProjectCheckoutKeyOK struct {
	Payload *models.Deleted
}

DeleteProjectCheckoutKeyOK describes a response with status code 200, with default header values.

DeleteProjectCheckoutKeyOK delete project checkout key o k

func NewDeleteProjectCheckoutKeyOK

func NewDeleteProjectCheckoutKeyOK() *DeleteProjectCheckoutKeyOK

NewDeleteProjectCheckoutKeyOK creates a DeleteProjectCheckoutKeyOK with default headers values

func (*DeleteProjectCheckoutKeyOK) Error

func (*DeleteProjectCheckoutKeyOK) GetPayload

func (o *DeleteProjectCheckoutKeyOK) GetPayload() *models.Deleted

func (*DeleteProjectCheckoutKeyOK) IsClientError

func (o *DeleteProjectCheckoutKeyOK) IsClientError() bool

IsClientError returns true when this delete project checkout key o k response has a 4xx status code

func (*DeleteProjectCheckoutKeyOK) IsCode

func (o *DeleteProjectCheckoutKeyOK) IsCode(code int) bool

IsCode returns true when this delete project checkout key o k response a status code equal to that given

func (*DeleteProjectCheckoutKeyOK) IsRedirect

func (o *DeleteProjectCheckoutKeyOK) IsRedirect() bool

IsRedirect returns true when this delete project checkout key o k response has a 3xx status code

func (*DeleteProjectCheckoutKeyOK) IsServerError

func (o *DeleteProjectCheckoutKeyOK) IsServerError() bool

IsServerError returns true when this delete project checkout key o k response has a 5xx status code

func (*DeleteProjectCheckoutKeyOK) IsSuccess

func (o *DeleteProjectCheckoutKeyOK) IsSuccess() bool

IsSuccess returns true when this delete project checkout key o k response has a 2xx status code

func (*DeleteProjectCheckoutKeyOK) String

func (o *DeleteProjectCheckoutKeyOK) String() string

type DeleteProjectCheckoutKeyParams

type DeleteProjectCheckoutKeyParams struct {

	/* Fingerprint.

	   An SSH key fingerprint
	*/
	Fingerprint string

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteProjectCheckoutKeyParams contains all the parameters to send to the API endpoint

for the delete project checkout key operation.

Typically these are written to a http.Request.

func NewDeleteProjectCheckoutKeyParams

func NewDeleteProjectCheckoutKeyParams() *DeleteProjectCheckoutKeyParams

NewDeleteProjectCheckoutKeyParams creates a new DeleteProjectCheckoutKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectCheckoutKeyParamsWithContext

func NewDeleteProjectCheckoutKeyParamsWithContext(ctx context.Context) *DeleteProjectCheckoutKeyParams

NewDeleteProjectCheckoutKeyParamsWithContext creates a new DeleteProjectCheckoutKeyParams object with the ability to set a context for a request.

func NewDeleteProjectCheckoutKeyParamsWithHTTPClient

func NewDeleteProjectCheckoutKeyParamsWithHTTPClient(client *http.Client) *DeleteProjectCheckoutKeyParams

NewDeleteProjectCheckoutKeyParamsWithHTTPClient creates a new DeleteProjectCheckoutKeyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectCheckoutKeyParamsWithTimeout

func NewDeleteProjectCheckoutKeyParamsWithTimeout(timeout time.Duration) *DeleteProjectCheckoutKeyParams

NewDeleteProjectCheckoutKeyParamsWithTimeout creates a new DeleteProjectCheckoutKeyParams object with the ability to set a timeout on a request.

func (*DeleteProjectCheckoutKeyParams) SetContext

func (o *DeleteProjectCheckoutKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) SetDefaults

func (o *DeleteProjectCheckoutKeyParams) SetDefaults()

SetDefaults hydrates default values in the delete project checkout key params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectCheckoutKeyParams) SetFingerprint

func (o *DeleteProjectCheckoutKeyParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) SetHTTPClient

func (o *DeleteProjectCheckoutKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) SetProjectSlug

func (o *DeleteProjectCheckoutKeyParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) SetTimeout

func (o *DeleteProjectCheckoutKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) WithContext

WithContext adds the context to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) WithDefaults

WithDefaults hydrates default values in the delete project checkout key params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectCheckoutKeyParams) WithFingerprint

func (o *DeleteProjectCheckoutKeyParams) WithFingerprint(fingerprint string) *DeleteProjectCheckoutKeyParams

WithFingerprint adds the fingerprint to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) WithProjectSlug

func (o *DeleteProjectCheckoutKeyParams) WithProjectSlug(projectSlug string) *DeleteProjectCheckoutKeyParams

WithProjectSlug adds the projectSlug to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) WithTimeout

WithTimeout adds the timeout to the delete project checkout key params

func (*DeleteProjectCheckoutKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectCheckoutKeyReader

type DeleteProjectCheckoutKeyReader struct {
	// contains filtered or unexported fields
}

DeleteProjectCheckoutKeyReader is a Reader for the DeleteProjectCheckoutKey structure.

func (*DeleteProjectCheckoutKeyReader) ReadResponse

func (o *DeleteProjectCheckoutKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteProjectEnvVarBadRequest

type DeleteProjectEnvVarBadRequest struct {
	Payload *models.Errored
}

DeleteProjectEnvVarBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewDeleteProjectEnvVarBadRequest

func NewDeleteProjectEnvVarBadRequest() *DeleteProjectEnvVarBadRequest

NewDeleteProjectEnvVarBadRequest creates a DeleteProjectEnvVarBadRequest with default headers values

func (*DeleteProjectEnvVarBadRequest) Error

func (*DeleteProjectEnvVarBadRequest) GetPayload

func (o *DeleteProjectEnvVarBadRequest) GetPayload() *models.Errored

func (*DeleteProjectEnvVarBadRequest) IsClientError

func (o *DeleteProjectEnvVarBadRequest) IsClientError() bool

IsClientError returns true when this delete project env var bad request response has a 4xx status code

func (*DeleteProjectEnvVarBadRequest) IsCode

func (o *DeleteProjectEnvVarBadRequest) IsCode(code int) bool

IsCode returns true when this delete project env var bad request response a status code equal to that given

func (*DeleteProjectEnvVarBadRequest) IsRedirect

func (o *DeleteProjectEnvVarBadRequest) IsRedirect() bool

IsRedirect returns true when this delete project env var bad request response has a 3xx status code

func (*DeleteProjectEnvVarBadRequest) IsServerError

func (o *DeleteProjectEnvVarBadRequest) IsServerError() bool

IsServerError returns true when this delete project env var bad request response has a 5xx status code

func (*DeleteProjectEnvVarBadRequest) IsSuccess

func (o *DeleteProjectEnvVarBadRequest) IsSuccess() bool

IsSuccess returns true when this delete project env var bad request response has a 2xx status code

func (*DeleteProjectEnvVarBadRequest) String

type DeleteProjectEnvVarNotFound added in v0.2.5

type DeleteProjectEnvVarNotFound struct {
	Payload *models.Errored
}

DeleteProjectEnvVarNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteProjectEnvVarNotFound added in v0.2.5

func NewDeleteProjectEnvVarNotFound() *DeleteProjectEnvVarNotFound

NewDeleteProjectEnvVarNotFound creates a DeleteProjectEnvVarNotFound with default headers values

func (*DeleteProjectEnvVarNotFound) Error added in v0.2.5

func (*DeleteProjectEnvVarNotFound) GetPayload added in v0.2.5

func (o *DeleteProjectEnvVarNotFound) GetPayload() *models.Errored

func (*DeleteProjectEnvVarNotFound) IsClientError added in v0.2.5

func (o *DeleteProjectEnvVarNotFound) IsClientError() bool

IsClientError returns true when this delete project env var not found response has a 4xx status code

func (*DeleteProjectEnvVarNotFound) IsCode added in v0.2.5

func (o *DeleteProjectEnvVarNotFound) IsCode(code int) bool

IsCode returns true when this delete project env var not found response a status code equal to that given

func (*DeleteProjectEnvVarNotFound) IsRedirect added in v0.2.5

func (o *DeleteProjectEnvVarNotFound) IsRedirect() bool

IsRedirect returns true when this delete project env var not found response has a 3xx status code

func (*DeleteProjectEnvVarNotFound) IsServerError added in v0.2.5

func (o *DeleteProjectEnvVarNotFound) IsServerError() bool

IsServerError returns true when this delete project env var not found response has a 5xx status code

func (*DeleteProjectEnvVarNotFound) IsSuccess added in v0.2.5

func (o *DeleteProjectEnvVarNotFound) IsSuccess() bool

IsSuccess returns true when this delete project env var not found response has a 2xx status code

func (*DeleteProjectEnvVarNotFound) String added in v0.2.5

func (o *DeleteProjectEnvVarNotFound) String() string

type DeleteProjectEnvVarOK

type DeleteProjectEnvVarOK struct {
	Payload *models.Deleted
}

DeleteProjectEnvVarOK describes a response with status code 200, with default header values.

DeleteProjectEnvVarOK delete project env var o k

func NewDeleteProjectEnvVarOK

func NewDeleteProjectEnvVarOK() *DeleteProjectEnvVarOK

NewDeleteProjectEnvVarOK creates a DeleteProjectEnvVarOK with default headers values

func (*DeleteProjectEnvVarOK) Error

func (o *DeleteProjectEnvVarOK) Error() string

func (*DeleteProjectEnvVarOK) GetPayload

func (o *DeleteProjectEnvVarOK) GetPayload() *models.Deleted

func (*DeleteProjectEnvVarOK) IsClientError

func (o *DeleteProjectEnvVarOK) IsClientError() bool

IsClientError returns true when this delete project env var o k response has a 4xx status code

func (*DeleteProjectEnvVarOK) IsCode

func (o *DeleteProjectEnvVarOK) IsCode(code int) bool

IsCode returns true when this delete project env var o k response a status code equal to that given

func (*DeleteProjectEnvVarOK) IsRedirect

func (o *DeleteProjectEnvVarOK) IsRedirect() bool

IsRedirect returns true when this delete project env var o k response has a 3xx status code

func (*DeleteProjectEnvVarOK) IsServerError

func (o *DeleteProjectEnvVarOK) IsServerError() bool

IsServerError returns true when this delete project env var o k response has a 5xx status code

func (*DeleteProjectEnvVarOK) IsSuccess

func (o *DeleteProjectEnvVarOK) IsSuccess() bool

IsSuccess returns true when this delete project env var o k response has a 2xx status code

func (*DeleteProjectEnvVarOK) String

func (o *DeleteProjectEnvVarOK) String() string

type DeleteProjectEnvVarParams

type DeleteProjectEnvVarParams struct {

	/* Name.

	   The name of the environment variable.
	*/
	Name string

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteProjectEnvVarParams contains all the parameters to send to the API endpoint

for the delete project env var operation.

Typically these are written to a http.Request.

func NewDeleteProjectEnvVarParams

func NewDeleteProjectEnvVarParams() *DeleteProjectEnvVarParams

NewDeleteProjectEnvVarParams creates a new DeleteProjectEnvVarParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectEnvVarParamsWithContext

func NewDeleteProjectEnvVarParamsWithContext(ctx context.Context) *DeleteProjectEnvVarParams

NewDeleteProjectEnvVarParamsWithContext creates a new DeleteProjectEnvVarParams object with the ability to set a context for a request.

func NewDeleteProjectEnvVarParamsWithHTTPClient

func NewDeleteProjectEnvVarParamsWithHTTPClient(client *http.Client) *DeleteProjectEnvVarParams

NewDeleteProjectEnvVarParamsWithHTTPClient creates a new DeleteProjectEnvVarParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectEnvVarParamsWithTimeout

func NewDeleteProjectEnvVarParamsWithTimeout(timeout time.Duration) *DeleteProjectEnvVarParams

NewDeleteProjectEnvVarParamsWithTimeout creates a new DeleteProjectEnvVarParams object with the ability to set a timeout on a request.

func (*DeleteProjectEnvVarParams) SetContext

func (o *DeleteProjectEnvVarParams) SetContext(ctx context.Context)

SetContext adds the context to the delete project env var params

func (*DeleteProjectEnvVarParams) SetDefaults

func (o *DeleteProjectEnvVarParams) SetDefaults()

SetDefaults hydrates default values in the delete project env var params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectEnvVarParams) SetHTTPClient

func (o *DeleteProjectEnvVarParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete project env var params

func (*DeleteProjectEnvVarParams) SetName

func (o *DeleteProjectEnvVarParams) SetName(name string)

SetName adds the name to the delete project env var params

func (*DeleteProjectEnvVarParams) SetProjectSlug

func (o *DeleteProjectEnvVarParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the delete project env var params

func (*DeleteProjectEnvVarParams) SetTimeout

func (o *DeleteProjectEnvVarParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete project env var params

func (*DeleteProjectEnvVarParams) WithContext

WithContext adds the context to the delete project env var params

func (*DeleteProjectEnvVarParams) WithDefaults

WithDefaults hydrates default values in the delete project env var params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectEnvVarParams) WithHTTPClient

func (o *DeleteProjectEnvVarParams) WithHTTPClient(client *http.Client) *DeleteProjectEnvVarParams

WithHTTPClient adds the HTTPClient to the delete project env var params

func (*DeleteProjectEnvVarParams) WithName

WithName adds the name to the delete project env var params

func (*DeleteProjectEnvVarParams) WithProjectSlug

func (o *DeleteProjectEnvVarParams) WithProjectSlug(projectSlug string) *DeleteProjectEnvVarParams

WithProjectSlug adds the projectSlug to the delete project env var params

func (*DeleteProjectEnvVarParams) WithTimeout

WithTimeout adds the timeout to the delete project env var params

func (*DeleteProjectEnvVarParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectEnvVarReader

type DeleteProjectEnvVarReader struct {
	// contains filtered or unexported fields
}

DeleteProjectEnvVarReader is a Reader for the DeleteProjectEnvVar structure.

func (*DeleteProjectEnvVarReader) ReadResponse

func (o *DeleteProjectEnvVarReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetProjectBadRequest

type GetProjectBadRequest struct {
	Payload *models.Errored
}

GetProjectBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewGetProjectBadRequest

func NewGetProjectBadRequest() *GetProjectBadRequest

NewGetProjectBadRequest creates a GetProjectBadRequest with default headers values

func (*GetProjectBadRequest) Error

func (o *GetProjectBadRequest) Error() string

func (*GetProjectBadRequest) GetPayload

func (o *GetProjectBadRequest) GetPayload() *models.Errored

func (*GetProjectBadRequest) IsClientError

func (o *GetProjectBadRequest) IsClientError() bool

IsClientError returns true when this get project bad request response has a 4xx status code

func (*GetProjectBadRequest) IsCode

func (o *GetProjectBadRequest) IsCode(code int) bool

IsCode returns true when this get project bad request response a status code equal to that given

func (*GetProjectBadRequest) IsRedirect

func (o *GetProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this get project bad request response has a 3xx status code

func (*GetProjectBadRequest) IsServerError

func (o *GetProjectBadRequest) IsServerError() bool

IsServerError returns true when this get project bad request response has a 5xx status code

func (*GetProjectBadRequest) IsSuccess

func (o *GetProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this get project bad request response has a 2xx status code

func (*GetProjectBadRequest) String

func (o *GetProjectBadRequest) String() string

type GetProjectCheckoutKeyBadRequest

type GetProjectCheckoutKeyBadRequest struct {
	Payload *models.Errored
}

GetProjectCheckoutKeyBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewGetProjectCheckoutKeyBadRequest

func NewGetProjectCheckoutKeyBadRequest() *GetProjectCheckoutKeyBadRequest

NewGetProjectCheckoutKeyBadRequest creates a GetProjectCheckoutKeyBadRequest with default headers values

func (*GetProjectCheckoutKeyBadRequest) Error

func (*GetProjectCheckoutKeyBadRequest) GetPayload

func (*GetProjectCheckoutKeyBadRequest) IsClientError

func (o *GetProjectCheckoutKeyBadRequest) IsClientError() bool

IsClientError returns true when this get project checkout key bad request response has a 4xx status code

func (*GetProjectCheckoutKeyBadRequest) IsCode

func (o *GetProjectCheckoutKeyBadRequest) IsCode(code int) bool

IsCode returns true when this get project checkout key bad request response a status code equal to that given

func (*GetProjectCheckoutKeyBadRequest) IsRedirect

func (o *GetProjectCheckoutKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this get project checkout key bad request response has a 3xx status code

func (*GetProjectCheckoutKeyBadRequest) IsServerError

func (o *GetProjectCheckoutKeyBadRequest) IsServerError() bool

IsServerError returns true when this get project checkout key bad request response has a 5xx status code

func (*GetProjectCheckoutKeyBadRequest) IsSuccess

func (o *GetProjectCheckoutKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this get project checkout key bad request response has a 2xx status code

func (*GetProjectCheckoutKeyBadRequest) String

type GetProjectCheckoutKeyNotFound added in v0.2.5

type GetProjectCheckoutKeyNotFound struct {
	Payload *models.Errored
}

GetProjectCheckoutKeyNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetProjectCheckoutKeyNotFound added in v0.2.5

func NewGetProjectCheckoutKeyNotFound() *GetProjectCheckoutKeyNotFound

NewGetProjectCheckoutKeyNotFound creates a GetProjectCheckoutKeyNotFound with default headers values

func (*GetProjectCheckoutKeyNotFound) Error added in v0.2.5

func (*GetProjectCheckoutKeyNotFound) GetPayload added in v0.2.5

func (o *GetProjectCheckoutKeyNotFound) GetPayload() *models.Errored

func (*GetProjectCheckoutKeyNotFound) IsClientError added in v0.2.5

func (o *GetProjectCheckoutKeyNotFound) IsClientError() bool

IsClientError returns true when this get project checkout key not found response has a 4xx status code

func (*GetProjectCheckoutKeyNotFound) IsCode added in v0.2.5

func (o *GetProjectCheckoutKeyNotFound) IsCode(code int) bool

IsCode returns true when this get project checkout key not found response a status code equal to that given

func (*GetProjectCheckoutKeyNotFound) IsRedirect added in v0.2.5

func (o *GetProjectCheckoutKeyNotFound) IsRedirect() bool

IsRedirect returns true when this get project checkout key not found response has a 3xx status code

func (*GetProjectCheckoutKeyNotFound) IsServerError added in v0.2.5

func (o *GetProjectCheckoutKeyNotFound) IsServerError() bool

IsServerError returns true when this get project checkout key not found response has a 5xx status code

func (*GetProjectCheckoutKeyNotFound) IsSuccess added in v0.2.5

func (o *GetProjectCheckoutKeyNotFound) IsSuccess() bool

IsSuccess returns true when this get project checkout key not found response has a 2xx status code

func (*GetProjectCheckoutKeyNotFound) String added in v0.2.5

type GetProjectCheckoutKeyOK

type GetProjectCheckoutKeyOK struct {
	Payload *models.ProjectCheckoutKeyInfo
}

GetProjectCheckoutKeyOK describes a response with status code 200, with default header values.

A project's checkout key

func NewGetProjectCheckoutKeyOK

func NewGetProjectCheckoutKeyOK() *GetProjectCheckoutKeyOK

NewGetProjectCheckoutKeyOK creates a GetProjectCheckoutKeyOK with default headers values

func (*GetProjectCheckoutKeyOK) Error

func (o *GetProjectCheckoutKeyOK) Error() string

func (*GetProjectCheckoutKeyOK) GetPayload

func (*GetProjectCheckoutKeyOK) IsClientError

func (o *GetProjectCheckoutKeyOK) IsClientError() bool

IsClientError returns true when this get project checkout key o k response has a 4xx status code

func (*GetProjectCheckoutKeyOK) IsCode

func (o *GetProjectCheckoutKeyOK) IsCode(code int) bool

IsCode returns true when this get project checkout key o k response a status code equal to that given

func (*GetProjectCheckoutKeyOK) IsRedirect

func (o *GetProjectCheckoutKeyOK) IsRedirect() bool

IsRedirect returns true when this get project checkout key o k response has a 3xx status code

func (*GetProjectCheckoutKeyOK) IsServerError

func (o *GetProjectCheckoutKeyOK) IsServerError() bool

IsServerError returns true when this get project checkout key o k response has a 5xx status code

func (*GetProjectCheckoutKeyOK) IsSuccess

func (o *GetProjectCheckoutKeyOK) IsSuccess() bool

IsSuccess returns true when this get project checkout key o k response has a 2xx status code

func (*GetProjectCheckoutKeyOK) String

func (o *GetProjectCheckoutKeyOK) String() string

type GetProjectCheckoutKeyParams

type GetProjectCheckoutKeyParams struct {

	/* Fingerprint.

	   An SSH key fingerprint
	*/
	Fingerprint string

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetProjectCheckoutKeyParams contains all the parameters to send to the API endpoint

for the get project checkout key operation.

Typically these are written to a http.Request.

func NewGetProjectCheckoutKeyParams

func NewGetProjectCheckoutKeyParams() *GetProjectCheckoutKeyParams

NewGetProjectCheckoutKeyParams creates a new GetProjectCheckoutKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectCheckoutKeyParamsWithContext

func NewGetProjectCheckoutKeyParamsWithContext(ctx context.Context) *GetProjectCheckoutKeyParams

NewGetProjectCheckoutKeyParamsWithContext creates a new GetProjectCheckoutKeyParams object with the ability to set a context for a request.

func NewGetProjectCheckoutKeyParamsWithHTTPClient

func NewGetProjectCheckoutKeyParamsWithHTTPClient(client *http.Client) *GetProjectCheckoutKeyParams

NewGetProjectCheckoutKeyParamsWithHTTPClient creates a new GetProjectCheckoutKeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectCheckoutKeyParamsWithTimeout

func NewGetProjectCheckoutKeyParamsWithTimeout(timeout time.Duration) *GetProjectCheckoutKeyParams

NewGetProjectCheckoutKeyParamsWithTimeout creates a new GetProjectCheckoutKeyParams object with the ability to set a timeout on a request.

func (*GetProjectCheckoutKeyParams) SetContext

func (o *GetProjectCheckoutKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get project checkout key params

func (*GetProjectCheckoutKeyParams) SetDefaults

func (o *GetProjectCheckoutKeyParams) SetDefaults()

SetDefaults hydrates default values in the get project checkout key params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectCheckoutKeyParams) SetFingerprint

func (o *GetProjectCheckoutKeyParams) SetFingerprint(fingerprint string)

SetFingerprint adds the fingerprint to the get project checkout key params

func (*GetProjectCheckoutKeyParams) SetHTTPClient

func (o *GetProjectCheckoutKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get project checkout key params

func (*GetProjectCheckoutKeyParams) SetProjectSlug

func (o *GetProjectCheckoutKeyParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get project checkout key params

func (*GetProjectCheckoutKeyParams) SetTimeout

func (o *GetProjectCheckoutKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get project checkout key params

func (*GetProjectCheckoutKeyParams) WithContext

WithContext adds the context to the get project checkout key params

func (*GetProjectCheckoutKeyParams) WithDefaults

WithDefaults hydrates default values in the get project checkout key params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectCheckoutKeyParams) WithFingerprint

func (o *GetProjectCheckoutKeyParams) WithFingerprint(fingerprint string) *GetProjectCheckoutKeyParams

WithFingerprint adds the fingerprint to the get project checkout key params

func (*GetProjectCheckoutKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get project checkout key params

func (*GetProjectCheckoutKeyParams) WithProjectSlug

func (o *GetProjectCheckoutKeyParams) WithProjectSlug(projectSlug string) *GetProjectCheckoutKeyParams

WithProjectSlug adds the projectSlug to the get project checkout key params

func (*GetProjectCheckoutKeyParams) WithTimeout

WithTimeout adds the timeout to the get project checkout key params

func (*GetProjectCheckoutKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectCheckoutKeyReader

type GetProjectCheckoutKeyReader struct {
	// contains filtered or unexported fields
}

GetProjectCheckoutKeyReader is a Reader for the GetProjectCheckoutKey structure.

func (*GetProjectCheckoutKeyReader) ReadResponse

func (o *GetProjectCheckoutKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetProjectEnvVarBadRequest

type GetProjectEnvVarBadRequest struct {
	Payload *models.Errored
}

GetProjectEnvVarBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewGetProjectEnvVarBadRequest

func NewGetProjectEnvVarBadRequest() *GetProjectEnvVarBadRequest

NewGetProjectEnvVarBadRequest creates a GetProjectEnvVarBadRequest with default headers values

func (*GetProjectEnvVarBadRequest) Error

func (*GetProjectEnvVarBadRequest) GetPayload

func (o *GetProjectEnvVarBadRequest) GetPayload() *models.Errored

func (*GetProjectEnvVarBadRequest) IsClientError

func (o *GetProjectEnvVarBadRequest) IsClientError() bool

IsClientError returns true when this get project env var bad request response has a 4xx status code

func (*GetProjectEnvVarBadRequest) IsCode

func (o *GetProjectEnvVarBadRequest) IsCode(code int) bool

IsCode returns true when this get project env var bad request response a status code equal to that given

func (*GetProjectEnvVarBadRequest) IsRedirect

func (o *GetProjectEnvVarBadRequest) IsRedirect() bool

IsRedirect returns true when this get project env var bad request response has a 3xx status code

func (*GetProjectEnvVarBadRequest) IsServerError

func (o *GetProjectEnvVarBadRequest) IsServerError() bool

IsServerError returns true when this get project env var bad request response has a 5xx status code

func (*GetProjectEnvVarBadRequest) IsSuccess

func (o *GetProjectEnvVarBadRequest) IsSuccess() bool

IsSuccess returns true when this get project env var bad request response has a 2xx status code

func (*GetProjectEnvVarBadRequest) String

func (o *GetProjectEnvVarBadRequest) String() string

type GetProjectEnvVarNotFound added in v0.2.5

type GetProjectEnvVarNotFound struct {
	Payload *models.Errored
}

GetProjectEnvVarNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetProjectEnvVarNotFound added in v0.2.5

func NewGetProjectEnvVarNotFound() *GetProjectEnvVarNotFound

NewGetProjectEnvVarNotFound creates a GetProjectEnvVarNotFound with default headers values

func (*GetProjectEnvVarNotFound) Error added in v0.2.5

func (o *GetProjectEnvVarNotFound) Error() string

func (*GetProjectEnvVarNotFound) GetPayload added in v0.2.5

func (o *GetProjectEnvVarNotFound) GetPayload() *models.Errored

func (*GetProjectEnvVarNotFound) IsClientError added in v0.2.5

func (o *GetProjectEnvVarNotFound) IsClientError() bool

IsClientError returns true when this get project env var not found response has a 4xx status code

func (*GetProjectEnvVarNotFound) IsCode added in v0.2.5

func (o *GetProjectEnvVarNotFound) IsCode(code int) bool

IsCode returns true when this get project env var not found response a status code equal to that given

func (*GetProjectEnvVarNotFound) IsRedirect added in v0.2.5

func (o *GetProjectEnvVarNotFound) IsRedirect() bool

IsRedirect returns true when this get project env var not found response has a 3xx status code

func (*GetProjectEnvVarNotFound) IsServerError added in v0.2.5

func (o *GetProjectEnvVarNotFound) IsServerError() bool

IsServerError returns true when this get project env var not found response has a 5xx status code

func (*GetProjectEnvVarNotFound) IsSuccess added in v0.2.5

func (o *GetProjectEnvVarNotFound) IsSuccess() bool

IsSuccess returns true when this get project env var not found response has a 2xx status code

func (*GetProjectEnvVarNotFound) String added in v0.2.5

func (o *GetProjectEnvVarNotFound) String() string

type GetProjectEnvVarOK

type GetProjectEnvVarOK struct {
	Payload *models.ProjectEnvVarInfo
}

GetProjectEnvVarOK describes a response with status code 200, with default header values.

A project environment variable.

func NewGetProjectEnvVarOK

func NewGetProjectEnvVarOK() *GetProjectEnvVarOK

NewGetProjectEnvVarOK creates a GetProjectEnvVarOK with default headers values

func (*GetProjectEnvVarOK) Error

func (o *GetProjectEnvVarOK) Error() string

func (*GetProjectEnvVarOK) GetPayload

func (o *GetProjectEnvVarOK) GetPayload() *models.ProjectEnvVarInfo

func (*GetProjectEnvVarOK) IsClientError

func (o *GetProjectEnvVarOK) IsClientError() bool

IsClientError returns true when this get project env var o k response has a 4xx status code

func (*GetProjectEnvVarOK) IsCode

func (o *GetProjectEnvVarOK) IsCode(code int) bool

IsCode returns true when this get project env var o k response a status code equal to that given

func (*GetProjectEnvVarOK) IsRedirect

func (o *GetProjectEnvVarOK) IsRedirect() bool

IsRedirect returns true when this get project env var o k response has a 3xx status code

func (*GetProjectEnvVarOK) IsServerError

func (o *GetProjectEnvVarOK) IsServerError() bool

IsServerError returns true when this get project env var o k response has a 5xx status code

func (*GetProjectEnvVarOK) IsSuccess

func (o *GetProjectEnvVarOK) IsSuccess() bool

IsSuccess returns true when this get project env var o k response has a 2xx status code

func (*GetProjectEnvVarOK) String

func (o *GetProjectEnvVarOK) String() string

type GetProjectEnvVarParams

type GetProjectEnvVarParams struct {

	/* Name.

	   The name of the environment variable.
	*/
	Name string

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetProjectEnvVarParams contains all the parameters to send to the API endpoint

for the get project env var operation.

Typically these are written to a http.Request.

func NewGetProjectEnvVarParams

func NewGetProjectEnvVarParams() *GetProjectEnvVarParams

NewGetProjectEnvVarParams creates a new GetProjectEnvVarParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectEnvVarParamsWithContext

func NewGetProjectEnvVarParamsWithContext(ctx context.Context) *GetProjectEnvVarParams

NewGetProjectEnvVarParamsWithContext creates a new GetProjectEnvVarParams object with the ability to set a context for a request.

func NewGetProjectEnvVarParamsWithHTTPClient

func NewGetProjectEnvVarParamsWithHTTPClient(client *http.Client) *GetProjectEnvVarParams

NewGetProjectEnvVarParamsWithHTTPClient creates a new GetProjectEnvVarParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectEnvVarParamsWithTimeout

func NewGetProjectEnvVarParamsWithTimeout(timeout time.Duration) *GetProjectEnvVarParams

NewGetProjectEnvVarParamsWithTimeout creates a new GetProjectEnvVarParams object with the ability to set a timeout on a request.

func (*GetProjectEnvVarParams) SetContext

func (o *GetProjectEnvVarParams) SetContext(ctx context.Context)

SetContext adds the context to the get project env var params

func (*GetProjectEnvVarParams) SetDefaults

func (o *GetProjectEnvVarParams) SetDefaults()

SetDefaults hydrates default values in the get project env var params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectEnvVarParams) SetHTTPClient

func (o *GetProjectEnvVarParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get project env var params

func (*GetProjectEnvVarParams) SetName

func (o *GetProjectEnvVarParams) SetName(name string)

SetName adds the name to the get project env var params

func (*GetProjectEnvVarParams) SetProjectSlug

func (o *GetProjectEnvVarParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get project env var params

func (*GetProjectEnvVarParams) SetTimeout

func (o *GetProjectEnvVarParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get project env var params

func (*GetProjectEnvVarParams) WithContext

WithContext adds the context to the get project env var params

func (*GetProjectEnvVarParams) WithDefaults

WithDefaults hydrates default values in the get project env var params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectEnvVarParams) WithHTTPClient

func (o *GetProjectEnvVarParams) WithHTTPClient(client *http.Client) *GetProjectEnvVarParams

WithHTTPClient adds the HTTPClient to the get project env var params

func (*GetProjectEnvVarParams) WithName

WithName adds the name to the get project env var params

func (*GetProjectEnvVarParams) WithProjectSlug

func (o *GetProjectEnvVarParams) WithProjectSlug(projectSlug string) *GetProjectEnvVarParams

WithProjectSlug adds the projectSlug to the get project env var params

func (*GetProjectEnvVarParams) WithTimeout

WithTimeout adds the timeout to the get project env var params

func (*GetProjectEnvVarParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectEnvVarReader

type GetProjectEnvVarReader struct {
	// contains filtered or unexported fields
}

GetProjectEnvVarReader is a Reader for the GetProjectEnvVar structure.

func (*GetProjectEnvVarReader) ReadResponse

func (o *GetProjectEnvVarReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetProjectNotFound added in v0.2.5

type GetProjectNotFound struct {
	Payload *models.Errored
}

GetProjectNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetProjectNotFound added in v0.2.5

func NewGetProjectNotFound() *GetProjectNotFound

NewGetProjectNotFound creates a GetProjectNotFound with default headers values

func (*GetProjectNotFound) Error added in v0.2.5

func (o *GetProjectNotFound) Error() string

func (*GetProjectNotFound) GetPayload added in v0.2.5

func (o *GetProjectNotFound) GetPayload() *models.Errored

func (*GetProjectNotFound) IsClientError added in v0.2.5

func (o *GetProjectNotFound) IsClientError() bool

IsClientError returns true when this get project not found response has a 4xx status code

func (*GetProjectNotFound) IsCode added in v0.2.5

func (o *GetProjectNotFound) IsCode(code int) bool

IsCode returns true when this get project not found response a status code equal to that given

func (*GetProjectNotFound) IsRedirect added in v0.2.5

func (o *GetProjectNotFound) IsRedirect() bool

IsRedirect returns true when this get project not found response has a 3xx status code

func (*GetProjectNotFound) IsServerError added in v0.2.5

func (o *GetProjectNotFound) IsServerError() bool

IsServerError returns true when this get project not found response has a 5xx status code

func (*GetProjectNotFound) IsSuccess added in v0.2.5

func (o *GetProjectNotFound) IsSuccess() bool

IsSuccess returns true when this get project not found response has a 2xx status code

func (*GetProjectNotFound) String added in v0.2.5

func (o *GetProjectNotFound) String() string

type GetProjectOK

type GetProjectOK struct {
	Payload *models.ProjectInfo
}

GetProjectOK describes a response with status code 200, with default header values.

Project information

func NewGetProjectOK

func NewGetProjectOK() *GetProjectOK

NewGetProjectOK creates a GetProjectOK with default headers values

func (*GetProjectOK) Error

func (o *GetProjectOK) Error() string

func (*GetProjectOK) GetPayload

func (o *GetProjectOK) GetPayload() *models.ProjectInfo

func (*GetProjectOK) IsClientError

func (o *GetProjectOK) IsClientError() bool

IsClientError returns true when this get project o k response has a 4xx status code

func (*GetProjectOK) IsCode

func (o *GetProjectOK) IsCode(code int) bool

IsCode returns true when this get project o k response a status code equal to that given

func (*GetProjectOK) IsRedirect

func (o *GetProjectOK) IsRedirect() bool

IsRedirect returns true when this get project o k response has a 3xx status code

func (*GetProjectOK) IsServerError

func (o *GetProjectOK) IsServerError() bool

IsServerError returns true when this get project o k response has a 5xx status code

func (*GetProjectOK) IsSuccess

func (o *GetProjectOK) IsSuccess() bool

IsSuccess returns true when this get project o k response has a 2xx status code

func (*GetProjectOK) String

func (o *GetProjectOK) String() string

type GetProjectParams

type GetProjectParams struct {

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetProjectParams contains all the parameters to send to the API endpoint

for the get project operation.

Typically these are written to a http.Request.

func NewGetProjectParams

func NewGetProjectParams() *GetProjectParams

NewGetProjectParams creates a new GetProjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectParamsWithContext

func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams

NewGetProjectParamsWithContext creates a new GetProjectParams object with the ability to set a context for a request.

func NewGetProjectParamsWithHTTPClient

func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams

NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectParamsWithTimeout

func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams

NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the ability to set a timeout on a request.

func (*GetProjectParams) SetContext

func (o *GetProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the get project params

func (*GetProjectParams) SetDefaults

func (o *GetProjectParams) SetDefaults()

SetDefaults hydrates default values in the get project params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectParams) SetHTTPClient

func (o *GetProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get project params

func (*GetProjectParams) SetProjectSlug

func (o *GetProjectParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get project params

func (*GetProjectParams) SetTimeout

func (o *GetProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get project params

func (*GetProjectParams) WithContext

func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams

WithContext adds the context to the get project params

func (*GetProjectParams) WithDefaults

func (o *GetProjectParams) WithDefaults() *GetProjectParams

WithDefaults hydrates default values in the get project params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectParams) WithHTTPClient

func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams

WithHTTPClient adds the HTTPClient to the get project params

func (*GetProjectParams) WithProjectSlug

func (o *GetProjectParams) WithProjectSlug(projectSlug string) *GetProjectParams

WithProjectSlug adds the projectSlug to the get project params

func (*GetProjectParams) WithTimeout

func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams

WithTimeout adds the timeout to the get project params

func (*GetProjectParams) WriteToRequest

func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetProjectReader

type GetProjectReader struct {
	// contains filtered or unexported fields
}

GetProjectReader is a Reader for the GetProject structure.

func (*GetProjectReader) ReadResponse

func (o *GetProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListProjectCheckoutKeysBadRequest

type ListProjectCheckoutKeysBadRequest struct {
	Payload *models.Errored
}

ListProjectCheckoutKeysBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewListProjectCheckoutKeysBadRequest

func NewListProjectCheckoutKeysBadRequest() *ListProjectCheckoutKeysBadRequest

NewListProjectCheckoutKeysBadRequest creates a ListProjectCheckoutKeysBadRequest with default headers values

func (*ListProjectCheckoutKeysBadRequest) Error

func (*ListProjectCheckoutKeysBadRequest) GetPayload

func (*ListProjectCheckoutKeysBadRequest) IsClientError

func (o *ListProjectCheckoutKeysBadRequest) IsClientError() bool

IsClientError returns true when this list project checkout keys bad request response has a 4xx status code

func (*ListProjectCheckoutKeysBadRequest) IsCode

func (o *ListProjectCheckoutKeysBadRequest) IsCode(code int) bool

IsCode returns true when this list project checkout keys bad request response a status code equal to that given

func (*ListProjectCheckoutKeysBadRequest) IsRedirect

func (o *ListProjectCheckoutKeysBadRequest) IsRedirect() bool

IsRedirect returns true when this list project checkout keys bad request response has a 3xx status code

func (*ListProjectCheckoutKeysBadRequest) IsServerError

func (o *ListProjectCheckoutKeysBadRequest) IsServerError() bool

IsServerError returns true when this list project checkout keys bad request response has a 5xx status code

func (*ListProjectCheckoutKeysBadRequest) IsSuccess

func (o *ListProjectCheckoutKeysBadRequest) IsSuccess() bool

IsSuccess returns true when this list project checkout keys bad request response has a 2xx status code

func (*ListProjectCheckoutKeysBadRequest) String

type ListProjectCheckoutKeysNotFound added in v0.2.5

type ListProjectCheckoutKeysNotFound struct {
	Payload *models.Errored
}

ListProjectCheckoutKeysNotFound describes a response with status code 404, with default header values.

Not Found

func NewListProjectCheckoutKeysNotFound added in v0.2.5

func NewListProjectCheckoutKeysNotFound() *ListProjectCheckoutKeysNotFound

NewListProjectCheckoutKeysNotFound creates a ListProjectCheckoutKeysNotFound with default headers values

func (*ListProjectCheckoutKeysNotFound) Error added in v0.2.5

func (*ListProjectCheckoutKeysNotFound) GetPayload added in v0.2.5

func (*ListProjectCheckoutKeysNotFound) IsClientError added in v0.2.5

func (o *ListProjectCheckoutKeysNotFound) IsClientError() bool

IsClientError returns true when this list project checkout keys not found response has a 4xx status code

func (*ListProjectCheckoutKeysNotFound) IsCode added in v0.2.5

func (o *ListProjectCheckoutKeysNotFound) IsCode(code int) bool

IsCode returns true when this list project checkout keys not found response a status code equal to that given

func (*ListProjectCheckoutKeysNotFound) IsRedirect added in v0.2.5

func (o *ListProjectCheckoutKeysNotFound) IsRedirect() bool

IsRedirect returns true when this list project checkout keys not found response has a 3xx status code

func (*ListProjectCheckoutKeysNotFound) IsServerError added in v0.2.5

func (o *ListProjectCheckoutKeysNotFound) IsServerError() bool

IsServerError returns true when this list project checkout keys not found response has a 5xx status code

func (*ListProjectCheckoutKeysNotFound) IsSuccess added in v0.2.5

func (o *ListProjectCheckoutKeysNotFound) IsSuccess() bool

IsSuccess returns true when this list project checkout keys not found response has a 2xx status code

func (*ListProjectCheckoutKeysNotFound) String added in v0.2.5

type ListProjectCheckoutKeysOK

type ListProjectCheckoutKeysOK struct {
	Payload *models.ProjectCheckoutKeysInfo
}

ListProjectCheckoutKeysOK describes a response with status code 200, with default header values.

A sequence of project checkout keys

func NewListProjectCheckoutKeysOK

func NewListProjectCheckoutKeysOK() *ListProjectCheckoutKeysOK

NewListProjectCheckoutKeysOK creates a ListProjectCheckoutKeysOK with default headers values

func (*ListProjectCheckoutKeysOK) Error

func (o *ListProjectCheckoutKeysOK) Error() string

func (*ListProjectCheckoutKeysOK) GetPayload

func (*ListProjectCheckoutKeysOK) IsClientError

func (o *ListProjectCheckoutKeysOK) IsClientError() bool

IsClientError returns true when this list project checkout keys o k response has a 4xx status code

func (*ListProjectCheckoutKeysOK) IsCode

func (o *ListProjectCheckoutKeysOK) IsCode(code int) bool

IsCode returns true when this list project checkout keys o k response a status code equal to that given

func (*ListProjectCheckoutKeysOK) IsRedirect

func (o *ListProjectCheckoutKeysOK) IsRedirect() bool

IsRedirect returns true when this list project checkout keys o k response has a 3xx status code

func (*ListProjectCheckoutKeysOK) IsServerError

func (o *ListProjectCheckoutKeysOK) IsServerError() bool

IsServerError returns true when this list project checkout keys o k response has a 5xx status code

func (*ListProjectCheckoutKeysOK) IsSuccess

func (o *ListProjectCheckoutKeysOK) IsSuccess() bool

IsSuccess returns true when this list project checkout keys o k response has a 2xx status code

func (*ListProjectCheckoutKeysOK) String

func (o *ListProjectCheckoutKeysOK) String() string

type ListProjectCheckoutKeysParams

type ListProjectCheckoutKeysParams struct {

	/* PageToken.

	   A token to retrieve the next page of results.
	*/
	PageToken string

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectCheckoutKeysParams contains all the parameters to send to the API endpoint

for the list project checkout keys operation.

Typically these are written to a http.Request.

func NewListProjectCheckoutKeysParams

func NewListProjectCheckoutKeysParams() *ListProjectCheckoutKeysParams

NewListProjectCheckoutKeysParams creates a new ListProjectCheckoutKeysParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProjectCheckoutKeysParamsWithContext

func NewListProjectCheckoutKeysParamsWithContext(ctx context.Context) *ListProjectCheckoutKeysParams

NewListProjectCheckoutKeysParamsWithContext creates a new ListProjectCheckoutKeysParams object with the ability to set a context for a request.

func NewListProjectCheckoutKeysParamsWithHTTPClient

func NewListProjectCheckoutKeysParamsWithHTTPClient(client *http.Client) *ListProjectCheckoutKeysParams

NewListProjectCheckoutKeysParamsWithHTTPClient creates a new ListProjectCheckoutKeysParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectCheckoutKeysParamsWithTimeout

func NewListProjectCheckoutKeysParamsWithTimeout(timeout time.Duration) *ListProjectCheckoutKeysParams

NewListProjectCheckoutKeysParamsWithTimeout creates a new ListProjectCheckoutKeysParams object with the ability to set a timeout on a request.

func (*ListProjectCheckoutKeysParams) SetContext

func (o *ListProjectCheckoutKeysParams) SetContext(ctx context.Context)

SetContext adds the context to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) SetDefaults

func (o *ListProjectCheckoutKeysParams) SetDefaults()

SetDefaults hydrates default values in the list project checkout keys params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectCheckoutKeysParams) SetHTTPClient

func (o *ListProjectCheckoutKeysParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) SetPageToken

func (o *ListProjectCheckoutKeysParams) SetPageToken(pageToken string)

SetPageToken adds the pageToken to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) SetProjectSlug

func (o *ListProjectCheckoutKeysParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) SetTimeout

func (o *ListProjectCheckoutKeysParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) WithContext

WithContext adds the context to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) WithDefaults

WithDefaults hydrates default values in the list project checkout keys params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectCheckoutKeysParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) WithPageToken

WithPageToken adds the pageToken to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) WithProjectSlug

func (o *ListProjectCheckoutKeysParams) WithProjectSlug(projectSlug string) *ListProjectCheckoutKeysParams

WithProjectSlug adds the projectSlug to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) WithTimeout

WithTimeout adds the timeout to the list project checkout keys params

func (*ListProjectCheckoutKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProjectCheckoutKeysReader

type ListProjectCheckoutKeysReader struct {
	// contains filtered or unexported fields
}

ListProjectCheckoutKeysReader is a Reader for the ListProjectCheckoutKeys structure.

func (*ListProjectCheckoutKeysReader) ReadResponse

func (o *ListProjectCheckoutKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListProjectEnvVarsBadRequest

type ListProjectEnvVarsBadRequest struct {
	Payload *models.Errored
}

ListProjectEnvVarsBadRequest describes a response with status code 400, with default header values.

Invalid input

func NewListProjectEnvVarsBadRequest

func NewListProjectEnvVarsBadRequest() *ListProjectEnvVarsBadRequest

NewListProjectEnvVarsBadRequest creates a ListProjectEnvVarsBadRequest with default headers values

func (*ListProjectEnvVarsBadRequest) Error

func (*ListProjectEnvVarsBadRequest) GetPayload

func (o *ListProjectEnvVarsBadRequest) GetPayload() *models.Errored

func (*ListProjectEnvVarsBadRequest) IsClientError

func (o *ListProjectEnvVarsBadRequest) IsClientError() bool

IsClientError returns true when this list project env vars bad request response has a 4xx status code

func (*ListProjectEnvVarsBadRequest) IsCode

func (o *ListProjectEnvVarsBadRequest) IsCode(code int) bool

IsCode returns true when this list project env vars bad request response a status code equal to that given

func (*ListProjectEnvVarsBadRequest) IsRedirect

func (o *ListProjectEnvVarsBadRequest) IsRedirect() bool

IsRedirect returns true when this list project env vars bad request response has a 3xx status code

func (*ListProjectEnvVarsBadRequest) IsServerError

func (o *ListProjectEnvVarsBadRequest) IsServerError() bool

IsServerError returns true when this list project env vars bad request response has a 5xx status code

func (*ListProjectEnvVarsBadRequest) IsSuccess

func (o *ListProjectEnvVarsBadRequest) IsSuccess() bool

IsSuccess returns true when this list project env vars bad request response has a 2xx status code

func (*ListProjectEnvVarsBadRequest) String

type ListProjectEnvVarsNotFound added in v0.2.5

type ListProjectEnvVarsNotFound struct {
	Payload *models.Errored
}

ListProjectEnvVarsNotFound describes a response with status code 404, with default header values.

Not Found

func NewListProjectEnvVarsNotFound added in v0.2.5

func NewListProjectEnvVarsNotFound() *ListProjectEnvVarsNotFound

NewListProjectEnvVarsNotFound creates a ListProjectEnvVarsNotFound with default headers values

func (*ListProjectEnvVarsNotFound) Error added in v0.2.5

func (*ListProjectEnvVarsNotFound) GetPayload added in v0.2.5

func (o *ListProjectEnvVarsNotFound) GetPayload() *models.Errored

func (*ListProjectEnvVarsNotFound) IsClientError added in v0.2.5

func (o *ListProjectEnvVarsNotFound) IsClientError() bool

IsClientError returns true when this list project env vars not found response has a 4xx status code

func (*ListProjectEnvVarsNotFound) IsCode added in v0.2.5

func (o *ListProjectEnvVarsNotFound) IsCode(code int) bool

IsCode returns true when this list project env vars not found response a status code equal to that given

func (*ListProjectEnvVarsNotFound) IsRedirect added in v0.2.5

func (o *ListProjectEnvVarsNotFound) IsRedirect() bool

IsRedirect returns true when this list project env vars not found response has a 3xx status code

func (*ListProjectEnvVarsNotFound) IsServerError added in v0.2.5

func (o *ListProjectEnvVarsNotFound) IsServerError() bool

IsServerError returns true when this list project env vars not found response has a 5xx status code

func (*ListProjectEnvVarsNotFound) IsSuccess added in v0.2.5

func (o *ListProjectEnvVarsNotFound) IsSuccess() bool

IsSuccess returns true when this list project env vars not found response has a 2xx status code

func (*ListProjectEnvVarsNotFound) String added in v0.2.5

func (o *ListProjectEnvVarsNotFound) String() string

type ListProjectEnvVarsOK

type ListProjectEnvVarsOK struct {
	Payload *models.ProjectEnvVarsInfo
}

ListProjectEnvVarsOK describes a response with status code 200, with default header values.

A sequence of project environment variables

func NewListProjectEnvVarsOK

func NewListProjectEnvVarsOK() *ListProjectEnvVarsOK

NewListProjectEnvVarsOK creates a ListProjectEnvVarsOK with default headers values

func (*ListProjectEnvVarsOK) Error

func (o *ListProjectEnvVarsOK) Error() string

func (*ListProjectEnvVarsOK) GetPayload

func (*ListProjectEnvVarsOK) IsClientError

func (o *ListProjectEnvVarsOK) IsClientError() bool

IsClientError returns true when this list project env vars o k response has a 4xx status code

func (*ListProjectEnvVarsOK) IsCode

func (o *ListProjectEnvVarsOK) IsCode(code int) bool

IsCode returns true when this list project env vars o k response a status code equal to that given

func (*ListProjectEnvVarsOK) IsRedirect

func (o *ListProjectEnvVarsOK) IsRedirect() bool

IsRedirect returns true when this list project env vars o k response has a 3xx status code

func (*ListProjectEnvVarsOK) IsServerError

func (o *ListProjectEnvVarsOK) IsServerError() bool

IsServerError returns true when this list project env vars o k response has a 5xx status code

func (*ListProjectEnvVarsOK) IsSuccess

func (o *ListProjectEnvVarsOK) IsSuccess() bool

IsSuccess returns true when this list project env vars o k response has a 2xx status code

func (*ListProjectEnvVarsOK) String

func (o *ListProjectEnvVarsOK) String() string

type ListProjectEnvVarsParams

type ListProjectEnvVarsParams struct {

	/* PageToken.

	   A token to retrieve the next page of results.

	   Default: "project"
	*/
	PageToken string

	/* ProjectSlug.

	     Project slug in the form vcs-slug/org-name/repo-name.
	The / characters may be URL-escaped.
	Example: gh/CircleCI-Public/api-preview-docs

	*/
	ProjectSlug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectEnvVarsParams contains all the parameters to send to the API endpoint

for the list project env vars operation.

Typically these are written to a http.Request.

func NewListProjectEnvVarsParams

func NewListProjectEnvVarsParams() *ListProjectEnvVarsParams

NewListProjectEnvVarsParams creates a new ListProjectEnvVarsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProjectEnvVarsParamsWithContext

func NewListProjectEnvVarsParamsWithContext(ctx context.Context) *ListProjectEnvVarsParams

NewListProjectEnvVarsParamsWithContext creates a new ListProjectEnvVarsParams object with the ability to set a context for a request.

func NewListProjectEnvVarsParamsWithHTTPClient

func NewListProjectEnvVarsParamsWithHTTPClient(client *http.Client) *ListProjectEnvVarsParams

NewListProjectEnvVarsParamsWithHTTPClient creates a new ListProjectEnvVarsParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectEnvVarsParamsWithTimeout

func NewListProjectEnvVarsParamsWithTimeout(timeout time.Duration) *ListProjectEnvVarsParams

NewListProjectEnvVarsParamsWithTimeout creates a new ListProjectEnvVarsParams object with the ability to set a timeout on a request.

func (*ListProjectEnvVarsParams) SetContext

func (o *ListProjectEnvVarsParams) SetContext(ctx context.Context)

SetContext adds the context to the list project env vars params

func (*ListProjectEnvVarsParams) SetDefaults

func (o *ListProjectEnvVarsParams) SetDefaults()

SetDefaults hydrates default values in the list project env vars params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectEnvVarsParams) SetHTTPClient

func (o *ListProjectEnvVarsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list project env vars params

func (*ListProjectEnvVarsParams) SetPageToken

func (o *ListProjectEnvVarsParams) SetPageToken(pageToken string)

SetPageToken adds the pageToken to the list project env vars params

func (*ListProjectEnvVarsParams) SetProjectSlug

func (o *ListProjectEnvVarsParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the list project env vars params

func (*ListProjectEnvVarsParams) SetTimeout

func (o *ListProjectEnvVarsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list project env vars params

func (*ListProjectEnvVarsParams) WithContext

WithContext adds the context to the list project env vars params

func (*ListProjectEnvVarsParams) WithDefaults

WithDefaults hydrates default values in the list project env vars params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectEnvVarsParams) WithHTTPClient

func (o *ListProjectEnvVarsParams) WithHTTPClient(client *http.Client) *ListProjectEnvVarsParams

WithHTTPClient adds the HTTPClient to the list project env vars params

func (*ListProjectEnvVarsParams) WithPageToken

func (o *ListProjectEnvVarsParams) WithPageToken(pageToken string) *ListProjectEnvVarsParams

WithPageToken adds the pageToken to the list project env vars params

func (*ListProjectEnvVarsParams) WithProjectSlug

func (o *ListProjectEnvVarsParams) WithProjectSlug(projectSlug string) *ListProjectEnvVarsParams

WithProjectSlug adds the projectSlug to the list project env vars params

func (*ListProjectEnvVarsParams) WithTimeout

WithTimeout adds the timeout to the list project env vars params

func (*ListProjectEnvVarsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProjectEnvVarsReader

type ListProjectEnvVarsReader struct {
	// contains filtered or unexported fields
}

ListProjectEnvVarsReader is a Reader for the ListProjectEnvVars structure.

func (*ListProjectEnvVarsReader) ReadResponse

func (o *ListProjectEnvVarsReader) 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