Documentation ¶
Index ¶
- type AddProjectCheckoutKeyBadRequest
- func (o *AddProjectCheckoutKeyBadRequest) Error() string
- func (o *AddProjectCheckoutKeyBadRequest) GetPayload() *models.Errored
- func (o *AddProjectCheckoutKeyBadRequest) IsClientError() bool
- func (o *AddProjectCheckoutKeyBadRequest) IsCode(code int) bool
- func (o *AddProjectCheckoutKeyBadRequest) IsRedirect() bool
- func (o *AddProjectCheckoutKeyBadRequest) IsServerError() bool
- func (o *AddProjectCheckoutKeyBadRequest) IsSuccess() bool
- func (o *AddProjectCheckoutKeyBadRequest) String() string
- type AddProjectCheckoutKeyCreated
- func (o *AddProjectCheckoutKeyCreated) Error() string
- func (o *AddProjectCheckoutKeyCreated) GetPayload() *models.ProjectCheckoutKeyInfo
- func (o *AddProjectCheckoutKeyCreated) IsClientError() bool
- func (o *AddProjectCheckoutKeyCreated) IsCode(code int) bool
- func (o *AddProjectCheckoutKeyCreated) IsRedirect() bool
- func (o *AddProjectCheckoutKeyCreated) IsServerError() bool
- func (o *AddProjectCheckoutKeyCreated) IsSuccess() bool
- func (o *AddProjectCheckoutKeyCreated) String() string
- type AddProjectCheckoutKeyNotFound
- func (o *AddProjectCheckoutKeyNotFound) Error() string
- func (o *AddProjectCheckoutKeyNotFound) GetPayload() *models.Errored
- func (o *AddProjectCheckoutKeyNotFound) IsClientError() bool
- func (o *AddProjectCheckoutKeyNotFound) IsCode(code int) bool
- func (o *AddProjectCheckoutKeyNotFound) IsRedirect() bool
- func (o *AddProjectCheckoutKeyNotFound) IsServerError() bool
- func (o *AddProjectCheckoutKeyNotFound) IsSuccess() bool
- func (o *AddProjectCheckoutKeyNotFound) String() string
- type AddProjectCheckoutKeyParams
- func NewAddProjectCheckoutKeyParams() *AddProjectCheckoutKeyParams
- func NewAddProjectCheckoutKeyParamsWithContext(ctx context.Context) *AddProjectCheckoutKeyParams
- func NewAddProjectCheckoutKeyParamsWithHTTPClient(client *http.Client) *AddProjectCheckoutKeyParams
- func NewAddProjectCheckoutKeyParamsWithTimeout(timeout time.Duration) *AddProjectCheckoutKeyParams
- func (o *AddProjectCheckoutKeyParams) SetBody(body *models.ProjectCheckoutKeyPayload)
- func (o *AddProjectCheckoutKeyParams) SetContext(ctx context.Context)
- func (o *AddProjectCheckoutKeyParams) SetDefaults()
- func (o *AddProjectCheckoutKeyParams) SetHTTPClient(client *http.Client)
- func (o *AddProjectCheckoutKeyParams) SetProjectSlug(projectSlug string)
- func (o *AddProjectCheckoutKeyParams) SetTimeout(timeout time.Duration)
- func (o *AddProjectCheckoutKeyParams) WithBody(body *models.ProjectCheckoutKeyPayload) *AddProjectCheckoutKeyParams
- func (o *AddProjectCheckoutKeyParams) WithContext(ctx context.Context) *AddProjectCheckoutKeyParams
- func (o *AddProjectCheckoutKeyParams) WithDefaults() *AddProjectCheckoutKeyParams
- func (o *AddProjectCheckoutKeyParams) WithHTTPClient(client *http.Client) *AddProjectCheckoutKeyParams
- func (o *AddProjectCheckoutKeyParams) WithProjectSlug(projectSlug string) *AddProjectCheckoutKeyParams
- func (o *AddProjectCheckoutKeyParams) WithTimeout(timeout time.Duration) *AddProjectCheckoutKeyParams
- func (o *AddProjectCheckoutKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProjectCheckoutKeyReader
- type AddProjectEnvVarBadRequest
- func (o *AddProjectEnvVarBadRequest) Error() string
- func (o *AddProjectEnvVarBadRequest) GetPayload() *models.Errored
- func (o *AddProjectEnvVarBadRequest) IsClientError() bool
- func (o *AddProjectEnvVarBadRequest) IsCode(code int) bool
- func (o *AddProjectEnvVarBadRequest) IsRedirect() bool
- func (o *AddProjectEnvVarBadRequest) IsServerError() bool
- func (o *AddProjectEnvVarBadRequest) IsSuccess() bool
- func (o *AddProjectEnvVarBadRequest) String() string
- type AddProjectEnvVarCreated
- func (o *AddProjectEnvVarCreated) Error() string
- func (o *AddProjectEnvVarCreated) GetPayload() *models.ProjectEnvVarInfo
- func (o *AddProjectEnvVarCreated) IsClientError() bool
- func (o *AddProjectEnvVarCreated) IsCode(code int) bool
- func (o *AddProjectEnvVarCreated) IsRedirect() bool
- func (o *AddProjectEnvVarCreated) IsServerError() bool
- func (o *AddProjectEnvVarCreated) IsSuccess() bool
- func (o *AddProjectEnvVarCreated) String() string
- type AddProjectEnvVarNotFound
- func (o *AddProjectEnvVarNotFound) Error() string
- func (o *AddProjectEnvVarNotFound) GetPayload() *models.Errored
- func (o *AddProjectEnvVarNotFound) IsClientError() bool
- func (o *AddProjectEnvVarNotFound) IsCode(code int) bool
- func (o *AddProjectEnvVarNotFound) IsRedirect() bool
- func (o *AddProjectEnvVarNotFound) IsServerError() bool
- func (o *AddProjectEnvVarNotFound) IsSuccess() bool
- func (o *AddProjectEnvVarNotFound) String() string
- type AddProjectEnvVarParams
- func NewAddProjectEnvVarParams() *AddProjectEnvVarParams
- func NewAddProjectEnvVarParamsWithContext(ctx context.Context) *AddProjectEnvVarParams
- func NewAddProjectEnvVarParamsWithHTTPClient(client *http.Client) *AddProjectEnvVarParams
- func NewAddProjectEnvVarParamsWithTimeout(timeout time.Duration) *AddProjectEnvVarParams
- func (o *AddProjectEnvVarParams) SetBody(body *models.ProjectEnvVarPayload)
- func (o *AddProjectEnvVarParams) SetContext(ctx context.Context)
- func (o *AddProjectEnvVarParams) SetDefaults()
- func (o *AddProjectEnvVarParams) SetHTTPClient(client *http.Client)
- func (o *AddProjectEnvVarParams) SetProjectSlug(projectSlug string)
- func (o *AddProjectEnvVarParams) SetTimeout(timeout time.Duration)
- func (o *AddProjectEnvVarParams) WithBody(body *models.ProjectEnvVarPayload) *AddProjectEnvVarParams
- func (o *AddProjectEnvVarParams) WithContext(ctx context.Context) *AddProjectEnvVarParams
- func (o *AddProjectEnvVarParams) WithDefaults() *AddProjectEnvVarParams
- func (o *AddProjectEnvVarParams) WithHTTPClient(client *http.Client) *AddProjectEnvVarParams
- func (o *AddProjectEnvVarParams) WithProjectSlug(projectSlug string) *AddProjectEnvVarParams
- func (o *AddProjectEnvVarParams) WithTimeout(timeout time.Duration) *AddProjectEnvVarParams
- func (o *AddProjectEnvVarParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProjectEnvVarReader
- type Client
- func (a *Client) AddProjectCheckoutKey(params *AddProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddProjectCheckoutKeyCreated, error)
- func (a *Client) AddProjectEnvVar(params *AddProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddProjectEnvVarCreated, error)
- func (a *Client) DeleteProjectCheckoutKey(params *DeleteProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectCheckoutKeyOK, error)
- func (a *Client) DeleteProjectEnvVar(params *DeleteProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectEnvVarOK, error)
- func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectOK, error)
- func (a *Client) GetProjectCheckoutKey(params *GetProjectCheckoutKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectCheckoutKeyOK, error)
- func (a *Client) GetProjectEnvVar(params *GetProjectEnvVarParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectEnvVarOK, error)
- func (a *Client) ListProjectCheckoutKeys(params *ListProjectCheckoutKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectCheckoutKeysOK, error)
- func (a *Client) ListProjectEnvVars(params *ListProjectEnvVarsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectEnvVarsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteProjectCheckoutKeyBadRequest
- func (o *DeleteProjectCheckoutKeyBadRequest) Error() string
- func (o *DeleteProjectCheckoutKeyBadRequest) GetPayload() *models.Errored
- func (o *DeleteProjectCheckoutKeyBadRequest) IsClientError() bool
- func (o *DeleteProjectCheckoutKeyBadRequest) IsCode(code int) bool
- func (o *DeleteProjectCheckoutKeyBadRequest) IsRedirect() bool
- func (o *DeleteProjectCheckoutKeyBadRequest) IsServerError() bool
- func (o *DeleteProjectCheckoutKeyBadRequest) IsSuccess() bool
- func (o *DeleteProjectCheckoutKeyBadRequest) String() string
- type DeleteProjectCheckoutKeyNotFound
- func (o *DeleteProjectCheckoutKeyNotFound) Error() string
- func (o *DeleteProjectCheckoutKeyNotFound) GetPayload() *models.Errored
- func (o *DeleteProjectCheckoutKeyNotFound) IsClientError() bool
- func (o *DeleteProjectCheckoutKeyNotFound) IsCode(code int) bool
- func (o *DeleteProjectCheckoutKeyNotFound) IsRedirect() bool
- func (o *DeleteProjectCheckoutKeyNotFound) IsServerError() bool
- func (o *DeleteProjectCheckoutKeyNotFound) IsSuccess() bool
- func (o *DeleteProjectCheckoutKeyNotFound) String() string
- type DeleteProjectCheckoutKeyOK
- func (o *DeleteProjectCheckoutKeyOK) Error() string
- func (o *DeleteProjectCheckoutKeyOK) GetPayload() *models.Deleted
- func (o *DeleteProjectCheckoutKeyOK) IsClientError() bool
- func (o *DeleteProjectCheckoutKeyOK) IsCode(code int) bool
- func (o *DeleteProjectCheckoutKeyOK) IsRedirect() bool
- func (o *DeleteProjectCheckoutKeyOK) IsServerError() bool
- func (o *DeleteProjectCheckoutKeyOK) IsSuccess() bool
- func (o *DeleteProjectCheckoutKeyOK) String() string
- type DeleteProjectCheckoutKeyParams
- func NewDeleteProjectCheckoutKeyParams() *DeleteProjectCheckoutKeyParams
- func NewDeleteProjectCheckoutKeyParamsWithContext(ctx context.Context) *DeleteProjectCheckoutKeyParams
- func NewDeleteProjectCheckoutKeyParamsWithHTTPClient(client *http.Client) *DeleteProjectCheckoutKeyParams
- func NewDeleteProjectCheckoutKeyParamsWithTimeout(timeout time.Duration) *DeleteProjectCheckoutKeyParams
- func (o *DeleteProjectCheckoutKeyParams) SetContext(ctx context.Context)
- func (o *DeleteProjectCheckoutKeyParams) SetDefaults()
- func (o *DeleteProjectCheckoutKeyParams) SetFingerprint(fingerprint string)
- func (o *DeleteProjectCheckoutKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectCheckoutKeyParams) SetProjectSlug(projectSlug string)
- func (o *DeleteProjectCheckoutKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectCheckoutKeyParams) WithContext(ctx context.Context) *DeleteProjectCheckoutKeyParams
- func (o *DeleteProjectCheckoutKeyParams) WithDefaults() *DeleteProjectCheckoutKeyParams
- func (o *DeleteProjectCheckoutKeyParams) WithFingerprint(fingerprint string) *DeleteProjectCheckoutKeyParams
- func (o *DeleteProjectCheckoutKeyParams) WithHTTPClient(client *http.Client) *DeleteProjectCheckoutKeyParams
- func (o *DeleteProjectCheckoutKeyParams) WithProjectSlug(projectSlug string) *DeleteProjectCheckoutKeyParams
- func (o *DeleteProjectCheckoutKeyParams) WithTimeout(timeout time.Duration) *DeleteProjectCheckoutKeyParams
- func (o *DeleteProjectCheckoutKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectCheckoutKeyReader
- type DeleteProjectEnvVarBadRequest
- func (o *DeleteProjectEnvVarBadRequest) Error() string
- func (o *DeleteProjectEnvVarBadRequest) GetPayload() *models.Errored
- func (o *DeleteProjectEnvVarBadRequest) IsClientError() bool
- func (o *DeleteProjectEnvVarBadRequest) IsCode(code int) bool
- func (o *DeleteProjectEnvVarBadRequest) IsRedirect() bool
- func (o *DeleteProjectEnvVarBadRequest) IsServerError() bool
- func (o *DeleteProjectEnvVarBadRequest) IsSuccess() bool
- func (o *DeleteProjectEnvVarBadRequest) String() string
- type DeleteProjectEnvVarNotFound
- func (o *DeleteProjectEnvVarNotFound) Error() string
- func (o *DeleteProjectEnvVarNotFound) GetPayload() *models.Errored
- func (o *DeleteProjectEnvVarNotFound) IsClientError() bool
- func (o *DeleteProjectEnvVarNotFound) IsCode(code int) bool
- func (o *DeleteProjectEnvVarNotFound) IsRedirect() bool
- func (o *DeleteProjectEnvVarNotFound) IsServerError() bool
- func (o *DeleteProjectEnvVarNotFound) IsSuccess() bool
- func (o *DeleteProjectEnvVarNotFound) String() string
- type DeleteProjectEnvVarOK
- func (o *DeleteProjectEnvVarOK) Error() string
- func (o *DeleteProjectEnvVarOK) GetPayload() *models.Deleted
- func (o *DeleteProjectEnvVarOK) IsClientError() bool
- func (o *DeleteProjectEnvVarOK) IsCode(code int) bool
- func (o *DeleteProjectEnvVarOK) IsRedirect() bool
- func (o *DeleteProjectEnvVarOK) IsServerError() bool
- func (o *DeleteProjectEnvVarOK) IsSuccess() bool
- func (o *DeleteProjectEnvVarOK) String() string
- type DeleteProjectEnvVarParams
- func NewDeleteProjectEnvVarParams() *DeleteProjectEnvVarParams
- func NewDeleteProjectEnvVarParamsWithContext(ctx context.Context) *DeleteProjectEnvVarParams
- func NewDeleteProjectEnvVarParamsWithHTTPClient(client *http.Client) *DeleteProjectEnvVarParams
- func NewDeleteProjectEnvVarParamsWithTimeout(timeout time.Duration) *DeleteProjectEnvVarParams
- func (o *DeleteProjectEnvVarParams) SetContext(ctx context.Context)
- func (o *DeleteProjectEnvVarParams) SetDefaults()
- func (o *DeleteProjectEnvVarParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectEnvVarParams) SetName(name string)
- func (o *DeleteProjectEnvVarParams) SetProjectSlug(projectSlug string)
- func (o *DeleteProjectEnvVarParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectEnvVarParams) WithContext(ctx context.Context) *DeleteProjectEnvVarParams
- func (o *DeleteProjectEnvVarParams) WithDefaults() *DeleteProjectEnvVarParams
- func (o *DeleteProjectEnvVarParams) WithHTTPClient(client *http.Client) *DeleteProjectEnvVarParams
- func (o *DeleteProjectEnvVarParams) WithName(name string) *DeleteProjectEnvVarParams
- func (o *DeleteProjectEnvVarParams) WithProjectSlug(projectSlug string) *DeleteProjectEnvVarParams
- func (o *DeleteProjectEnvVarParams) WithTimeout(timeout time.Duration) *DeleteProjectEnvVarParams
- func (o *DeleteProjectEnvVarParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectEnvVarReader
- type GetProjectBadRequest
- func (o *GetProjectBadRequest) Error() string
- func (o *GetProjectBadRequest) GetPayload() *models.Errored
- func (o *GetProjectBadRequest) IsClientError() bool
- func (o *GetProjectBadRequest) IsCode(code int) bool
- func (o *GetProjectBadRequest) IsRedirect() bool
- func (o *GetProjectBadRequest) IsServerError() bool
- func (o *GetProjectBadRequest) IsSuccess() bool
- func (o *GetProjectBadRequest) String() string
- type GetProjectCheckoutKeyBadRequest
- func (o *GetProjectCheckoutKeyBadRequest) Error() string
- func (o *GetProjectCheckoutKeyBadRequest) GetPayload() *models.Errored
- func (o *GetProjectCheckoutKeyBadRequest) IsClientError() bool
- func (o *GetProjectCheckoutKeyBadRequest) IsCode(code int) bool
- func (o *GetProjectCheckoutKeyBadRequest) IsRedirect() bool
- func (o *GetProjectCheckoutKeyBadRequest) IsServerError() bool
- func (o *GetProjectCheckoutKeyBadRequest) IsSuccess() bool
- func (o *GetProjectCheckoutKeyBadRequest) String() string
- type GetProjectCheckoutKeyNotFound
- func (o *GetProjectCheckoutKeyNotFound) Error() string
- func (o *GetProjectCheckoutKeyNotFound) GetPayload() *models.Errored
- func (o *GetProjectCheckoutKeyNotFound) IsClientError() bool
- func (o *GetProjectCheckoutKeyNotFound) IsCode(code int) bool
- func (o *GetProjectCheckoutKeyNotFound) IsRedirect() bool
- func (o *GetProjectCheckoutKeyNotFound) IsServerError() bool
- func (o *GetProjectCheckoutKeyNotFound) IsSuccess() bool
- func (o *GetProjectCheckoutKeyNotFound) String() string
- type GetProjectCheckoutKeyOK
- func (o *GetProjectCheckoutKeyOK) Error() string
- func (o *GetProjectCheckoutKeyOK) GetPayload() *models.ProjectCheckoutKeyInfo
- func (o *GetProjectCheckoutKeyOK) IsClientError() bool
- func (o *GetProjectCheckoutKeyOK) IsCode(code int) bool
- func (o *GetProjectCheckoutKeyOK) IsRedirect() bool
- func (o *GetProjectCheckoutKeyOK) IsServerError() bool
- func (o *GetProjectCheckoutKeyOK) IsSuccess() bool
- func (o *GetProjectCheckoutKeyOK) String() string
- type GetProjectCheckoutKeyParams
- func NewGetProjectCheckoutKeyParams() *GetProjectCheckoutKeyParams
- func NewGetProjectCheckoutKeyParamsWithContext(ctx context.Context) *GetProjectCheckoutKeyParams
- func NewGetProjectCheckoutKeyParamsWithHTTPClient(client *http.Client) *GetProjectCheckoutKeyParams
- func NewGetProjectCheckoutKeyParamsWithTimeout(timeout time.Duration) *GetProjectCheckoutKeyParams
- func (o *GetProjectCheckoutKeyParams) SetContext(ctx context.Context)
- func (o *GetProjectCheckoutKeyParams) SetDefaults()
- func (o *GetProjectCheckoutKeyParams) SetFingerprint(fingerprint string)
- func (o *GetProjectCheckoutKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectCheckoutKeyParams) SetProjectSlug(projectSlug string)
- func (o *GetProjectCheckoutKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectCheckoutKeyParams) WithContext(ctx context.Context) *GetProjectCheckoutKeyParams
- func (o *GetProjectCheckoutKeyParams) WithDefaults() *GetProjectCheckoutKeyParams
- func (o *GetProjectCheckoutKeyParams) WithFingerprint(fingerprint string) *GetProjectCheckoutKeyParams
- func (o *GetProjectCheckoutKeyParams) WithHTTPClient(client *http.Client) *GetProjectCheckoutKeyParams
- func (o *GetProjectCheckoutKeyParams) WithProjectSlug(projectSlug string) *GetProjectCheckoutKeyParams
- func (o *GetProjectCheckoutKeyParams) WithTimeout(timeout time.Duration) *GetProjectCheckoutKeyParams
- func (o *GetProjectCheckoutKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectCheckoutKeyReader
- type GetProjectEnvVarBadRequest
- func (o *GetProjectEnvVarBadRequest) Error() string
- func (o *GetProjectEnvVarBadRequest) GetPayload() *models.Errored
- func (o *GetProjectEnvVarBadRequest) IsClientError() bool
- func (o *GetProjectEnvVarBadRequest) IsCode(code int) bool
- func (o *GetProjectEnvVarBadRequest) IsRedirect() bool
- func (o *GetProjectEnvVarBadRequest) IsServerError() bool
- func (o *GetProjectEnvVarBadRequest) IsSuccess() bool
- func (o *GetProjectEnvVarBadRequest) String() string
- type GetProjectEnvVarNotFound
- func (o *GetProjectEnvVarNotFound) Error() string
- func (o *GetProjectEnvVarNotFound) GetPayload() *models.Errored
- func (o *GetProjectEnvVarNotFound) IsClientError() bool
- func (o *GetProjectEnvVarNotFound) IsCode(code int) bool
- func (o *GetProjectEnvVarNotFound) IsRedirect() bool
- func (o *GetProjectEnvVarNotFound) IsServerError() bool
- func (o *GetProjectEnvVarNotFound) IsSuccess() bool
- func (o *GetProjectEnvVarNotFound) String() string
- type GetProjectEnvVarOK
- func (o *GetProjectEnvVarOK) Error() string
- func (o *GetProjectEnvVarOK) GetPayload() *models.ProjectEnvVarInfo
- func (o *GetProjectEnvVarOK) IsClientError() bool
- func (o *GetProjectEnvVarOK) IsCode(code int) bool
- func (o *GetProjectEnvVarOK) IsRedirect() bool
- func (o *GetProjectEnvVarOK) IsServerError() bool
- func (o *GetProjectEnvVarOK) IsSuccess() bool
- func (o *GetProjectEnvVarOK) String() string
- type GetProjectEnvVarParams
- func NewGetProjectEnvVarParams() *GetProjectEnvVarParams
- func NewGetProjectEnvVarParamsWithContext(ctx context.Context) *GetProjectEnvVarParams
- func NewGetProjectEnvVarParamsWithHTTPClient(client *http.Client) *GetProjectEnvVarParams
- func NewGetProjectEnvVarParamsWithTimeout(timeout time.Duration) *GetProjectEnvVarParams
- func (o *GetProjectEnvVarParams) SetContext(ctx context.Context)
- func (o *GetProjectEnvVarParams) SetDefaults()
- func (o *GetProjectEnvVarParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectEnvVarParams) SetName(name string)
- func (o *GetProjectEnvVarParams) SetProjectSlug(projectSlug string)
- func (o *GetProjectEnvVarParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectEnvVarParams) WithContext(ctx context.Context) *GetProjectEnvVarParams
- func (o *GetProjectEnvVarParams) WithDefaults() *GetProjectEnvVarParams
- func (o *GetProjectEnvVarParams) WithHTTPClient(client *http.Client) *GetProjectEnvVarParams
- func (o *GetProjectEnvVarParams) WithName(name string) *GetProjectEnvVarParams
- func (o *GetProjectEnvVarParams) WithProjectSlug(projectSlug string) *GetProjectEnvVarParams
- func (o *GetProjectEnvVarParams) WithTimeout(timeout time.Duration) *GetProjectEnvVarParams
- func (o *GetProjectEnvVarParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectEnvVarReader
- type GetProjectNotFound
- func (o *GetProjectNotFound) Error() string
- func (o *GetProjectNotFound) GetPayload() *models.Errored
- func (o *GetProjectNotFound) IsClientError() bool
- func (o *GetProjectNotFound) IsCode(code int) bool
- func (o *GetProjectNotFound) IsRedirect() bool
- func (o *GetProjectNotFound) IsServerError() bool
- func (o *GetProjectNotFound) IsSuccess() bool
- func (o *GetProjectNotFound) String() string
- type GetProjectOK
- func (o *GetProjectOK) Error() string
- func (o *GetProjectOK) GetPayload() *models.ProjectInfo
- func (o *GetProjectOK) IsClientError() bool
- func (o *GetProjectOK) IsCode(code int) bool
- func (o *GetProjectOK) IsRedirect() bool
- func (o *GetProjectOK) IsServerError() bool
- func (o *GetProjectOK) IsSuccess() bool
- func (o *GetProjectOK) String() string
- type GetProjectParams
- func (o *GetProjectParams) SetContext(ctx context.Context)
- func (o *GetProjectParams) SetDefaults()
- func (o *GetProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectParams) SetProjectSlug(projectSlug string)
- func (o *GetProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
- func (o *GetProjectParams) WithDefaults() *GetProjectParams
- func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
- func (o *GetProjectParams) WithProjectSlug(projectSlug string) *GetProjectParams
- func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
- func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectReader
- type ListProjectCheckoutKeysBadRequest
- func (o *ListProjectCheckoutKeysBadRequest) Error() string
- func (o *ListProjectCheckoutKeysBadRequest) GetPayload() *models.Errored
- func (o *ListProjectCheckoutKeysBadRequest) IsClientError() bool
- func (o *ListProjectCheckoutKeysBadRequest) IsCode(code int) bool
- func (o *ListProjectCheckoutKeysBadRequest) IsRedirect() bool
- func (o *ListProjectCheckoutKeysBadRequest) IsServerError() bool
- func (o *ListProjectCheckoutKeysBadRequest) IsSuccess() bool
- func (o *ListProjectCheckoutKeysBadRequest) String() string
- type ListProjectCheckoutKeysNotFound
- func (o *ListProjectCheckoutKeysNotFound) Error() string
- func (o *ListProjectCheckoutKeysNotFound) GetPayload() *models.Errored
- func (o *ListProjectCheckoutKeysNotFound) IsClientError() bool
- func (o *ListProjectCheckoutKeysNotFound) IsCode(code int) bool
- func (o *ListProjectCheckoutKeysNotFound) IsRedirect() bool
- func (o *ListProjectCheckoutKeysNotFound) IsServerError() bool
- func (o *ListProjectCheckoutKeysNotFound) IsSuccess() bool
- func (o *ListProjectCheckoutKeysNotFound) String() string
- type ListProjectCheckoutKeysOK
- func (o *ListProjectCheckoutKeysOK) Error() string
- func (o *ListProjectCheckoutKeysOK) GetPayload() *models.ProjectCheckoutKeysInfo
- func (o *ListProjectCheckoutKeysOK) IsClientError() bool
- func (o *ListProjectCheckoutKeysOK) IsCode(code int) bool
- func (o *ListProjectCheckoutKeysOK) IsRedirect() bool
- func (o *ListProjectCheckoutKeysOK) IsServerError() bool
- func (o *ListProjectCheckoutKeysOK) IsSuccess() bool
- func (o *ListProjectCheckoutKeysOK) String() string
- type ListProjectCheckoutKeysParams
- func NewListProjectCheckoutKeysParams() *ListProjectCheckoutKeysParams
- func NewListProjectCheckoutKeysParamsWithContext(ctx context.Context) *ListProjectCheckoutKeysParams
- func NewListProjectCheckoutKeysParamsWithHTTPClient(client *http.Client) *ListProjectCheckoutKeysParams
- func NewListProjectCheckoutKeysParamsWithTimeout(timeout time.Duration) *ListProjectCheckoutKeysParams
- func (o *ListProjectCheckoutKeysParams) SetContext(ctx context.Context)
- func (o *ListProjectCheckoutKeysParams) SetDefaults()
- func (o *ListProjectCheckoutKeysParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectCheckoutKeysParams) SetPageToken(pageToken string)
- func (o *ListProjectCheckoutKeysParams) SetProjectSlug(projectSlug string)
- func (o *ListProjectCheckoutKeysParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectCheckoutKeysParams) WithContext(ctx context.Context) *ListProjectCheckoutKeysParams
- func (o *ListProjectCheckoutKeysParams) WithDefaults() *ListProjectCheckoutKeysParams
- func (o *ListProjectCheckoutKeysParams) WithHTTPClient(client *http.Client) *ListProjectCheckoutKeysParams
- func (o *ListProjectCheckoutKeysParams) WithPageToken(pageToken string) *ListProjectCheckoutKeysParams
- func (o *ListProjectCheckoutKeysParams) WithProjectSlug(projectSlug string) *ListProjectCheckoutKeysParams
- func (o *ListProjectCheckoutKeysParams) WithTimeout(timeout time.Duration) *ListProjectCheckoutKeysParams
- func (o *ListProjectCheckoutKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectCheckoutKeysReader
- type ListProjectEnvVarsBadRequest
- func (o *ListProjectEnvVarsBadRequest) Error() string
- func (o *ListProjectEnvVarsBadRequest) GetPayload() *models.Errored
- func (o *ListProjectEnvVarsBadRequest) IsClientError() bool
- func (o *ListProjectEnvVarsBadRequest) IsCode(code int) bool
- func (o *ListProjectEnvVarsBadRequest) IsRedirect() bool
- func (o *ListProjectEnvVarsBadRequest) IsServerError() bool
- func (o *ListProjectEnvVarsBadRequest) IsSuccess() bool
- func (o *ListProjectEnvVarsBadRequest) String() string
- type ListProjectEnvVarsNotFound
- func (o *ListProjectEnvVarsNotFound) Error() string
- func (o *ListProjectEnvVarsNotFound) GetPayload() *models.Errored
- func (o *ListProjectEnvVarsNotFound) IsClientError() bool
- func (o *ListProjectEnvVarsNotFound) IsCode(code int) bool
- func (o *ListProjectEnvVarsNotFound) IsRedirect() bool
- func (o *ListProjectEnvVarsNotFound) IsServerError() bool
- func (o *ListProjectEnvVarsNotFound) IsSuccess() bool
- func (o *ListProjectEnvVarsNotFound) String() string
- type ListProjectEnvVarsOK
- func (o *ListProjectEnvVarsOK) Error() string
- func (o *ListProjectEnvVarsOK) GetPayload() *models.ProjectEnvVarsInfo
- func (o *ListProjectEnvVarsOK) IsClientError() bool
- func (o *ListProjectEnvVarsOK) IsCode(code int) bool
- func (o *ListProjectEnvVarsOK) IsRedirect() bool
- func (o *ListProjectEnvVarsOK) IsServerError() bool
- func (o *ListProjectEnvVarsOK) IsSuccess() bool
- func (o *ListProjectEnvVarsOK) String() string
- type ListProjectEnvVarsParams
- func NewListProjectEnvVarsParams() *ListProjectEnvVarsParams
- func NewListProjectEnvVarsParamsWithContext(ctx context.Context) *ListProjectEnvVarsParams
- func NewListProjectEnvVarsParamsWithHTTPClient(client *http.Client) *ListProjectEnvVarsParams
- func NewListProjectEnvVarsParamsWithTimeout(timeout time.Duration) *ListProjectEnvVarsParams
- func (o *ListProjectEnvVarsParams) SetContext(ctx context.Context)
- func (o *ListProjectEnvVarsParams) SetDefaults()
- func (o *ListProjectEnvVarsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectEnvVarsParams) SetPageToken(pageToken string)
- func (o *ListProjectEnvVarsParams) SetProjectSlug(projectSlug string)
- func (o *ListProjectEnvVarsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectEnvVarsParams) WithContext(ctx context.Context) *ListProjectEnvVarsParams
- func (o *ListProjectEnvVarsParams) WithDefaults() *ListProjectEnvVarsParams
- func (o *ListProjectEnvVarsParams) WithHTTPClient(client *http.Client) *ListProjectEnvVarsParams
- func (o *ListProjectEnvVarsParams) WithPageToken(pageToken string) *ListProjectEnvVarsParams
- func (o *ListProjectEnvVarsParams) WithProjectSlug(projectSlug string) *ListProjectEnvVarsParams
- func (o *ListProjectEnvVarsParams) WithTimeout(timeout time.Duration) *ListProjectEnvVarsParams
- func (o *ListProjectEnvVarsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectEnvVarsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddProjectCheckoutKeyBadRequest ¶
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 (o *AddProjectCheckoutKeyBadRequest) Error() string
func (*AddProjectCheckoutKeyBadRequest) GetPayload ¶
func (o *AddProjectCheckoutKeyBadRequest) GetPayload() *models.Errored
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 ¶
func (o *AddProjectCheckoutKeyBadRequest) String() 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 (o *AddProjectCheckoutKeyCreated) Error() string
func (*AddProjectCheckoutKeyCreated) GetPayload ¶
func (o *AddProjectCheckoutKeyCreated) GetPayload() *models.ProjectCheckoutKeyInfo
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 ¶
func (o *AddProjectCheckoutKeyCreated) String() string
type AddProjectCheckoutKeyNotFound ¶ added in v0.2.5
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 (o *AddProjectCheckoutKeyNotFound) Error() string
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
func (o *AddProjectCheckoutKeyNotFound) String() string
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 ¶
func (o *AddProjectCheckoutKeyParams) SetBody(body *models.ProjectCheckoutKeyPayload)
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 ¶
func (o *AddProjectCheckoutKeyParams) WithBody(body *models.ProjectCheckoutKeyPayload) *AddProjectCheckoutKeyParams
WithBody adds the body to the add project checkout key params
func (*AddProjectCheckoutKeyParams) WithContext ¶
func (o *AddProjectCheckoutKeyParams) WithContext(ctx context.Context) *AddProjectCheckoutKeyParams
WithContext adds the context to the add project checkout key params
func (*AddProjectCheckoutKeyParams) WithDefaults ¶
func (o *AddProjectCheckoutKeyParams) WithDefaults() *AddProjectCheckoutKeyParams
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 ¶
func (o *AddProjectCheckoutKeyParams) WithHTTPClient(client *http.Client) *AddProjectCheckoutKeyParams
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 ¶
func (o *AddProjectCheckoutKeyParams) WithTimeout(timeout time.Duration) *AddProjectCheckoutKeyParams
WithTimeout adds the timeout to the add project checkout key params
func (*AddProjectCheckoutKeyParams) WriteToRequest ¶
func (o *AddProjectCheckoutKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *AddProjectEnvVarBadRequest) Error() string
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 (o *AddProjectEnvVarCreated) GetPayload() *models.ProjectEnvVarInfo
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
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 ¶
func (o *AddProjectEnvVarParams) SetBody(body *models.ProjectEnvVarPayload)
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 ¶
func (o *AddProjectEnvVarParams) WithBody(body *models.ProjectEnvVarPayload) *AddProjectEnvVarParams
WithBody adds the body to the add project env var params
func (*AddProjectEnvVarParams) WithContext ¶
func (o *AddProjectEnvVarParams) WithContext(ctx context.Context) *AddProjectEnvVarParams
WithContext adds the context to the add project env var params
func (*AddProjectEnvVarParams) WithDefaults ¶
func (o *AddProjectEnvVarParams) WithDefaults() *AddProjectEnvVarParams
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 ¶
func (o *AddProjectEnvVarParams) WithTimeout(timeout time.Duration) *AddProjectEnvVarParams
WithTimeout adds the timeout to the add project env var params
func (*AddProjectEnvVarParams) WriteToRequest ¶
func (o *AddProjectEnvVarParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *DeleteProjectCheckoutKeyBadRequest) Error() string
func (*DeleteProjectCheckoutKeyBadRequest) GetPayload ¶
func (o *DeleteProjectCheckoutKeyBadRequest) GetPayload() *models.Errored
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 ¶
func (o *DeleteProjectCheckoutKeyBadRequest) IsCode(code int) bool
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 ¶
func (o *DeleteProjectCheckoutKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this delete project checkout key bad request response has a 2xx status code
func (*DeleteProjectCheckoutKeyBadRequest) String ¶
func (o *DeleteProjectCheckoutKeyBadRequest) String() string
type DeleteProjectCheckoutKeyNotFound ¶ added in v0.2.5
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 (o *DeleteProjectCheckoutKeyNotFound) Error() string
func (*DeleteProjectCheckoutKeyNotFound) GetPayload ¶ added in v0.2.5
func (o *DeleteProjectCheckoutKeyNotFound) GetPayload() *models.Errored
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
func (o *DeleteProjectCheckoutKeyNotFound) String() string
type DeleteProjectCheckoutKeyOK ¶
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 (o *DeleteProjectCheckoutKeyOK) Error() string
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 ¶
func (o *DeleteProjectCheckoutKeyParams) WithContext(ctx context.Context) *DeleteProjectCheckoutKeyParams
WithContext adds the context to the delete project checkout key params
func (*DeleteProjectCheckoutKeyParams) WithDefaults ¶
func (o *DeleteProjectCheckoutKeyParams) WithDefaults() *DeleteProjectCheckoutKeyParams
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 ¶
func (o *DeleteProjectCheckoutKeyParams) WithHTTPClient(client *http.Client) *DeleteProjectCheckoutKeyParams
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 ¶
func (o *DeleteProjectCheckoutKeyParams) WithTimeout(timeout time.Duration) *DeleteProjectCheckoutKeyParams
WithTimeout adds the timeout to the delete project checkout key params
func (*DeleteProjectCheckoutKeyParams) WriteToRequest ¶
func (o *DeleteProjectCheckoutKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *DeleteProjectEnvVarBadRequest) Error() string
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 ¶
func (o *DeleteProjectEnvVarBadRequest) String() string
type DeleteProjectEnvVarNotFound ¶ added in v0.2.5
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 (o *DeleteProjectEnvVarNotFound) Error() string
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 ¶
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 ¶
func (o *DeleteProjectEnvVarParams) WithContext(ctx context.Context) *DeleteProjectEnvVarParams
WithContext adds the context to the delete project env var params
func (*DeleteProjectEnvVarParams) WithDefaults ¶
func (o *DeleteProjectEnvVarParams) WithDefaults() *DeleteProjectEnvVarParams
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 ¶
func (o *DeleteProjectEnvVarParams) WithName(name string) *DeleteProjectEnvVarParams
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 ¶
func (o *DeleteProjectEnvVarParams) WithTimeout(timeout time.Duration) *DeleteProjectEnvVarParams
WithTimeout adds the timeout to the delete project env var params
func (*DeleteProjectEnvVarParams) WriteToRequest ¶
func (o *DeleteProjectEnvVarParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
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 (o *GetProjectCheckoutKeyBadRequest) Error() string
func (*GetProjectCheckoutKeyBadRequest) GetPayload ¶
func (o *GetProjectCheckoutKeyBadRequest) GetPayload() *models.Errored
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 ¶
func (o *GetProjectCheckoutKeyBadRequest) String() string
type GetProjectCheckoutKeyNotFound ¶ added in v0.2.5
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 (o *GetProjectCheckoutKeyNotFound) Error() string
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
func (o *GetProjectCheckoutKeyNotFound) String() string
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 (o *GetProjectCheckoutKeyOK) GetPayload() *models.ProjectCheckoutKeyInfo
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 ¶
func (o *GetProjectCheckoutKeyParams) WithContext(ctx context.Context) *GetProjectCheckoutKeyParams
WithContext adds the context to the get project checkout key params
func (*GetProjectCheckoutKeyParams) WithDefaults ¶
func (o *GetProjectCheckoutKeyParams) WithDefaults() *GetProjectCheckoutKeyParams
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 ¶
func (o *GetProjectCheckoutKeyParams) WithHTTPClient(client *http.Client) *GetProjectCheckoutKeyParams
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 ¶
func (o *GetProjectCheckoutKeyParams) WithTimeout(timeout time.Duration) *GetProjectCheckoutKeyParams
WithTimeout adds the timeout to the get project checkout key params
func (*GetProjectCheckoutKeyParams) WriteToRequest ¶
func (o *GetProjectCheckoutKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetProjectEnvVarBadRequest) Error() string
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
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 ¶
func (o *GetProjectEnvVarParams) WithContext(ctx context.Context) *GetProjectEnvVarParams
WithContext adds the context to the get project env var params
func (*GetProjectEnvVarParams) WithDefaults ¶
func (o *GetProjectEnvVarParams) WithDefaults() *GetProjectEnvVarParams
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 ¶
func (o *GetProjectEnvVarParams) WithName(name string) *GetProjectEnvVarParams
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 ¶
func (o *GetProjectEnvVarParams) WithTimeout(timeout time.Duration) *GetProjectEnvVarParams
WithTimeout adds the timeout to the get project env var params
func (*GetProjectEnvVarParams) WriteToRequest ¶
func (o *GetProjectEnvVarParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
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 (o *ListProjectCheckoutKeysBadRequest) Error() string
func (*ListProjectCheckoutKeysBadRequest) GetPayload ¶
func (o *ListProjectCheckoutKeysBadRequest) GetPayload() *models.Errored
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 ¶
func (o *ListProjectCheckoutKeysBadRequest) String() string
type ListProjectCheckoutKeysNotFound ¶ added in v0.2.5
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 (o *ListProjectCheckoutKeysNotFound) Error() string
func (*ListProjectCheckoutKeysNotFound) GetPayload ¶ added in v0.2.5
func (o *ListProjectCheckoutKeysNotFound) GetPayload() *models.Errored
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
func (o *ListProjectCheckoutKeysNotFound) String() string
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 (o *ListProjectCheckoutKeysOK) GetPayload() *models.ProjectCheckoutKeysInfo
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 ¶
func (o *ListProjectCheckoutKeysParams) WithContext(ctx context.Context) *ListProjectCheckoutKeysParams
WithContext adds the context to the list project checkout keys params
func (*ListProjectCheckoutKeysParams) WithDefaults ¶
func (o *ListProjectCheckoutKeysParams) WithDefaults() *ListProjectCheckoutKeysParams
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 ¶
func (o *ListProjectCheckoutKeysParams) WithHTTPClient(client *http.Client) *ListProjectCheckoutKeysParams
WithHTTPClient adds the HTTPClient to the list project checkout keys params
func (*ListProjectCheckoutKeysParams) WithPageToken ¶
func (o *ListProjectCheckoutKeysParams) WithPageToken(pageToken string) *ListProjectCheckoutKeysParams
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 ¶
func (o *ListProjectCheckoutKeysParams) WithTimeout(timeout time.Duration) *ListProjectCheckoutKeysParams
WithTimeout adds the timeout to the list project checkout keys params
func (*ListProjectCheckoutKeysParams) WriteToRequest ¶
func (o *ListProjectCheckoutKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *ListProjectEnvVarsBadRequest) Error() string
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 ¶
func (o *ListProjectEnvVarsBadRequest) String() string
type ListProjectEnvVarsNotFound ¶ added in v0.2.5
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 (o *ListProjectEnvVarsNotFound) Error() string
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 (o *ListProjectEnvVarsOK) GetPayload() *models.ProjectEnvVarsInfo
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 ¶
func (o *ListProjectEnvVarsParams) WithContext(ctx context.Context) *ListProjectEnvVarsParams
WithContext adds the context to the list project env vars params
func (*ListProjectEnvVarsParams) WithDefaults ¶
func (o *ListProjectEnvVarsParams) WithDefaults() *ListProjectEnvVarsParams
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 ¶
func (o *ListProjectEnvVarsParams) WithTimeout(timeout time.Duration) *ListProjectEnvVarsParams
WithTimeout adds the timeout to the list project env vars params
func (*ListProjectEnvVarsParams) WriteToRequest ¶
func (o *ListProjectEnvVarsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- add_project_checkout_key_parameters.go
- add_project_checkout_key_responses.go
- add_project_env_var_parameters.go
- add_project_env_var_responses.go
- delete_project_checkout_key_parameters.go
- delete_project_checkout_key_responses.go
- delete_project_env_var_parameters.go
- delete_project_env_var_responses.go
- get_project_checkout_key_parameters.go
- get_project_checkout_key_responses.go
- get_project_env_var_parameters.go
- get_project_env_var_responses.go
- get_project_parameters.go
- get_project_responses.go
- list_project_checkout_keys_parameters.go
- list_project_checkout_keys_responses.go
- list_project_env_vars_parameters.go
- list_project_env_vars_responses.go
- project_client.go