Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateGiteaEndpoint(params *CreateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateGiteaEndpointOK, error)
- func (a *Client) CreateGithubEndpoint(params *CreateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateGithubEndpointOK, error)
- func (a *Client) DeleteGiteaEndpoint(params *DeleteGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) DeleteGithubEndpoint(params *DeleteGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) GetGiteaEndpoint(params *GetGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGiteaEndpointOK, error)
- func (a *Client) GetGithubEndpoint(params *GetGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGithubEndpointOK, error)
- func (a *Client) ListGiteaEndpoints(params *ListGiteaEndpointsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGiteaEndpointsOK, error)
- func (a *Client) ListGithubEndpoints(params *ListGithubEndpointsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGithubEndpointsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGiteaEndpoint(params *UpdateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateGiteaEndpointOK, error)
- func (a *Client) UpdateGithubEndpoint(params *UpdateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateGithubEndpointOK, error)
- type ClientOption
- type ClientService
- type CreateGiteaEndpointDefault
- func (o *CreateGiteaEndpointDefault) Code() int
- func (o *CreateGiteaEndpointDefault) Error() string
- func (o *CreateGiteaEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *CreateGiteaEndpointDefault) IsClientError() bool
- func (o *CreateGiteaEndpointDefault) IsCode(code int) bool
- func (o *CreateGiteaEndpointDefault) IsRedirect() bool
- func (o *CreateGiteaEndpointDefault) IsServerError() bool
- func (o *CreateGiteaEndpointDefault) IsSuccess() bool
- func (o *CreateGiteaEndpointDefault) String() string
- type CreateGiteaEndpointOK
- func (o *CreateGiteaEndpointOK) Code() int
- func (o *CreateGiteaEndpointOK) Error() string
- func (o *CreateGiteaEndpointOK) GetPayload() garm_params.ForgeEndpoint
- func (o *CreateGiteaEndpointOK) IsClientError() bool
- func (o *CreateGiteaEndpointOK) IsCode(code int) bool
- func (o *CreateGiteaEndpointOK) IsRedirect() bool
- func (o *CreateGiteaEndpointOK) IsServerError() bool
- func (o *CreateGiteaEndpointOK) IsSuccess() bool
- func (o *CreateGiteaEndpointOK) String() string
- type CreateGiteaEndpointParams
- func NewCreateGiteaEndpointParams() *CreateGiteaEndpointParams
- func NewCreateGiteaEndpointParamsWithContext(ctx context.Context) *CreateGiteaEndpointParams
- func NewCreateGiteaEndpointParamsWithHTTPClient(client *http.Client) *CreateGiteaEndpointParams
- func NewCreateGiteaEndpointParamsWithTimeout(timeout time.Duration) *CreateGiteaEndpointParams
- func (o *CreateGiteaEndpointParams) SetBody(body garm_params.CreateGiteaEndpointParams)
- func (o *CreateGiteaEndpointParams) SetContext(ctx context.Context)
- func (o *CreateGiteaEndpointParams) SetDefaults()
- func (o *CreateGiteaEndpointParams) SetHTTPClient(client *http.Client)
- func (o *CreateGiteaEndpointParams) SetTimeout(timeout time.Duration)
- func (o *CreateGiteaEndpointParams) WithBody(body garm_params.CreateGiteaEndpointParams) *CreateGiteaEndpointParams
- func (o *CreateGiteaEndpointParams) WithContext(ctx context.Context) *CreateGiteaEndpointParams
- func (o *CreateGiteaEndpointParams) WithDefaults() *CreateGiteaEndpointParams
- func (o *CreateGiteaEndpointParams) WithHTTPClient(client *http.Client) *CreateGiteaEndpointParams
- func (o *CreateGiteaEndpointParams) WithTimeout(timeout time.Duration) *CreateGiteaEndpointParams
- func (o *CreateGiteaEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGiteaEndpointReader
- type CreateGithubEndpointDefault
- func (o *CreateGithubEndpointDefault) Code() int
- func (o *CreateGithubEndpointDefault) Error() string
- func (o *CreateGithubEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *CreateGithubEndpointDefault) IsClientError() bool
- func (o *CreateGithubEndpointDefault) IsCode(code int) bool
- func (o *CreateGithubEndpointDefault) IsRedirect() bool
- func (o *CreateGithubEndpointDefault) IsServerError() bool
- func (o *CreateGithubEndpointDefault) IsSuccess() bool
- func (o *CreateGithubEndpointDefault) String() string
- type CreateGithubEndpointOK
- func (o *CreateGithubEndpointOK) Code() int
- func (o *CreateGithubEndpointOK) Error() string
- func (o *CreateGithubEndpointOK) GetPayload() garm_params.ForgeEndpoint
- func (o *CreateGithubEndpointOK) IsClientError() bool
- func (o *CreateGithubEndpointOK) IsCode(code int) bool
- func (o *CreateGithubEndpointOK) IsRedirect() bool
- func (o *CreateGithubEndpointOK) IsServerError() bool
- func (o *CreateGithubEndpointOK) IsSuccess() bool
- func (o *CreateGithubEndpointOK) String() string
- type CreateGithubEndpointParams
- func NewCreateGithubEndpointParams() *CreateGithubEndpointParams
- func NewCreateGithubEndpointParamsWithContext(ctx context.Context) *CreateGithubEndpointParams
- func NewCreateGithubEndpointParamsWithHTTPClient(client *http.Client) *CreateGithubEndpointParams
- func NewCreateGithubEndpointParamsWithTimeout(timeout time.Duration) *CreateGithubEndpointParams
- func (o *CreateGithubEndpointParams) SetBody(body garm_params.CreateGithubEndpointParams)
- func (o *CreateGithubEndpointParams) SetContext(ctx context.Context)
- func (o *CreateGithubEndpointParams) SetDefaults()
- func (o *CreateGithubEndpointParams) SetHTTPClient(client *http.Client)
- func (o *CreateGithubEndpointParams) SetTimeout(timeout time.Duration)
- func (o *CreateGithubEndpointParams) WithBody(body garm_params.CreateGithubEndpointParams) *CreateGithubEndpointParams
- func (o *CreateGithubEndpointParams) WithContext(ctx context.Context) *CreateGithubEndpointParams
- func (o *CreateGithubEndpointParams) WithDefaults() *CreateGithubEndpointParams
- func (o *CreateGithubEndpointParams) WithHTTPClient(client *http.Client) *CreateGithubEndpointParams
- func (o *CreateGithubEndpointParams) WithTimeout(timeout time.Duration) *CreateGithubEndpointParams
- func (o *CreateGithubEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGithubEndpointReader
- type DeleteGiteaEndpointDefault
- func (o *DeleteGiteaEndpointDefault) Code() int
- func (o *DeleteGiteaEndpointDefault) Error() string
- func (o *DeleteGiteaEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *DeleteGiteaEndpointDefault) IsClientError() bool
- func (o *DeleteGiteaEndpointDefault) IsCode(code int) bool
- func (o *DeleteGiteaEndpointDefault) IsRedirect() bool
- func (o *DeleteGiteaEndpointDefault) IsServerError() bool
- func (o *DeleteGiteaEndpointDefault) IsSuccess() bool
- func (o *DeleteGiteaEndpointDefault) String() string
- type DeleteGiteaEndpointParams
- func NewDeleteGiteaEndpointParams() *DeleteGiteaEndpointParams
- func NewDeleteGiteaEndpointParamsWithContext(ctx context.Context) *DeleteGiteaEndpointParams
- func NewDeleteGiteaEndpointParamsWithHTTPClient(client *http.Client) *DeleteGiteaEndpointParams
- func NewDeleteGiteaEndpointParamsWithTimeout(timeout time.Duration) *DeleteGiteaEndpointParams
- func (o *DeleteGiteaEndpointParams) SetContext(ctx context.Context)
- func (o *DeleteGiteaEndpointParams) SetDefaults()
- func (o *DeleteGiteaEndpointParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGiteaEndpointParams) SetName(name string)
- func (o *DeleteGiteaEndpointParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGiteaEndpointParams) WithContext(ctx context.Context) *DeleteGiteaEndpointParams
- func (o *DeleteGiteaEndpointParams) WithDefaults() *DeleteGiteaEndpointParams
- func (o *DeleteGiteaEndpointParams) WithHTTPClient(client *http.Client) *DeleteGiteaEndpointParams
- func (o *DeleteGiteaEndpointParams) WithName(name string) *DeleteGiteaEndpointParams
- func (o *DeleteGiteaEndpointParams) WithTimeout(timeout time.Duration) *DeleteGiteaEndpointParams
- func (o *DeleteGiteaEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGiteaEndpointReader
- type DeleteGithubEndpointDefault
- func (o *DeleteGithubEndpointDefault) Code() int
- func (o *DeleteGithubEndpointDefault) Error() string
- func (o *DeleteGithubEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *DeleteGithubEndpointDefault) IsClientError() bool
- func (o *DeleteGithubEndpointDefault) IsCode(code int) bool
- func (o *DeleteGithubEndpointDefault) IsRedirect() bool
- func (o *DeleteGithubEndpointDefault) IsServerError() bool
- func (o *DeleteGithubEndpointDefault) IsSuccess() bool
- func (o *DeleteGithubEndpointDefault) String() string
- type DeleteGithubEndpointParams
- func NewDeleteGithubEndpointParams() *DeleteGithubEndpointParams
- func NewDeleteGithubEndpointParamsWithContext(ctx context.Context) *DeleteGithubEndpointParams
- func NewDeleteGithubEndpointParamsWithHTTPClient(client *http.Client) *DeleteGithubEndpointParams
- func NewDeleteGithubEndpointParamsWithTimeout(timeout time.Duration) *DeleteGithubEndpointParams
- func (o *DeleteGithubEndpointParams) SetContext(ctx context.Context)
- func (o *DeleteGithubEndpointParams) SetDefaults()
- func (o *DeleteGithubEndpointParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGithubEndpointParams) SetName(name string)
- func (o *DeleteGithubEndpointParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGithubEndpointParams) WithContext(ctx context.Context) *DeleteGithubEndpointParams
- func (o *DeleteGithubEndpointParams) WithDefaults() *DeleteGithubEndpointParams
- func (o *DeleteGithubEndpointParams) WithHTTPClient(client *http.Client) *DeleteGithubEndpointParams
- func (o *DeleteGithubEndpointParams) WithName(name string) *DeleteGithubEndpointParams
- func (o *DeleteGithubEndpointParams) WithTimeout(timeout time.Duration) *DeleteGithubEndpointParams
- func (o *DeleteGithubEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGithubEndpointReader
- type GetGiteaEndpointDefault
- func (o *GetGiteaEndpointDefault) Code() int
- func (o *GetGiteaEndpointDefault) Error() string
- func (o *GetGiteaEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetGiteaEndpointDefault) IsClientError() bool
- func (o *GetGiteaEndpointDefault) IsCode(code int) bool
- func (o *GetGiteaEndpointDefault) IsRedirect() bool
- func (o *GetGiteaEndpointDefault) IsServerError() bool
- func (o *GetGiteaEndpointDefault) IsSuccess() bool
- func (o *GetGiteaEndpointDefault) String() string
- type GetGiteaEndpointOK
- func (o *GetGiteaEndpointOK) Code() int
- func (o *GetGiteaEndpointOK) Error() string
- func (o *GetGiteaEndpointOK) GetPayload() garm_params.ForgeEndpoint
- func (o *GetGiteaEndpointOK) IsClientError() bool
- func (o *GetGiteaEndpointOK) IsCode(code int) bool
- func (o *GetGiteaEndpointOK) IsRedirect() bool
- func (o *GetGiteaEndpointOK) IsServerError() bool
- func (o *GetGiteaEndpointOK) IsSuccess() bool
- func (o *GetGiteaEndpointOK) String() string
- type GetGiteaEndpointParams
- func NewGetGiteaEndpointParams() *GetGiteaEndpointParams
- func NewGetGiteaEndpointParamsWithContext(ctx context.Context) *GetGiteaEndpointParams
- func NewGetGiteaEndpointParamsWithHTTPClient(client *http.Client) *GetGiteaEndpointParams
- func NewGetGiteaEndpointParamsWithTimeout(timeout time.Duration) *GetGiteaEndpointParams
- func (o *GetGiteaEndpointParams) SetContext(ctx context.Context)
- func (o *GetGiteaEndpointParams) SetDefaults()
- func (o *GetGiteaEndpointParams) SetHTTPClient(client *http.Client)
- func (o *GetGiteaEndpointParams) SetName(name string)
- func (o *GetGiteaEndpointParams) SetTimeout(timeout time.Duration)
- func (o *GetGiteaEndpointParams) WithContext(ctx context.Context) *GetGiteaEndpointParams
- func (o *GetGiteaEndpointParams) WithDefaults() *GetGiteaEndpointParams
- func (o *GetGiteaEndpointParams) WithHTTPClient(client *http.Client) *GetGiteaEndpointParams
- func (o *GetGiteaEndpointParams) WithName(name string) *GetGiteaEndpointParams
- func (o *GetGiteaEndpointParams) WithTimeout(timeout time.Duration) *GetGiteaEndpointParams
- func (o *GetGiteaEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGiteaEndpointReader
- type GetGithubEndpointDefault
- func (o *GetGithubEndpointDefault) Code() int
- func (o *GetGithubEndpointDefault) Error() string
- func (o *GetGithubEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetGithubEndpointDefault) IsClientError() bool
- func (o *GetGithubEndpointDefault) IsCode(code int) bool
- func (o *GetGithubEndpointDefault) IsRedirect() bool
- func (o *GetGithubEndpointDefault) IsServerError() bool
- func (o *GetGithubEndpointDefault) IsSuccess() bool
- func (o *GetGithubEndpointDefault) String() string
- type GetGithubEndpointOK
- func (o *GetGithubEndpointOK) Code() int
- func (o *GetGithubEndpointOK) Error() string
- func (o *GetGithubEndpointOK) GetPayload() garm_params.ForgeEndpoint
- func (o *GetGithubEndpointOK) IsClientError() bool
- func (o *GetGithubEndpointOK) IsCode(code int) bool
- func (o *GetGithubEndpointOK) IsRedirect() bool
- func (o *GetGithubEndpointOK) IsServerError() bool
- func (o *GetGithubEndpointOK) IsSuccess() bool
- func (o *GetGithubEndpointOK) String() string
- type GetGithubEndpointParams
- func NewGetGithubEndpointParams() *GetGithubEndpointParams
- func NewGetGithubEndpointParamsWithContext(ctx context.Context) *GetGithubEndpointParams
- func NewGetGithubEndpointParamsWithHTTPClient(client *http.Client) *GetGithubEndpointParams
- func NewGetGithubEndpointParamsWithTimeout(timeout time.Duration) *GetGithubEndpointParams
- func (o *GetGithubEndpointParams) SetContext(ctx context.Context)
- func (o *GetGithubEndpointParams) SetDefaults()
- func (o *GetGithubEndpointParams) SetHTTPClient(client *http.Client)
- func (o *GetGithubEndpointParams) SetName(name string)
- func (o *GetGithubEndpointParams) SetTimeout(timeout time.Duration)
- func (o *GetGithubEndpointParams) WithContext(ctx context.Context) *GetGithubEndpointParams
- func (o *GetGithubEndpointParams) WithDefaults() *GetGithubEndpointParams
- func (o *GetGithubEndpointParams) WithHTTPClient(client *http.Client) *GetGithubEndpointParams
- func (o *GetGithubEndpointParams) WithName(name string) *GetGithubEndpointParams
- func (o *GetGithubEndpointParams) WithTimeout(timeout time.Duration) *GetGithubEndpointParams
- func (o *GetGithubEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGithubEndpointReader
- type ListGiteaEndpointsDefault
- func (o *ListGiteaEndpointsDefault) Code() int
- func (o *ListGiteaEndpointsDefault) Error() string
- func (o *ListGiteaEndpointsDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListGiteaEndpointsDefault) IsClientError() bool
- func (o *ListGiteaEndpointsDefault) IsCode(code int) bool
- func (o *ListGiteaEndpointsDefault) IsRedirect() bool
- func (o *ListGiteaEndpointsDefault) IsServerError() bool
- func (o *ListGiteaEndpointsDefault) IsSuccess() bool
- func (o *ListGiteaEndpointsDefault) String() string
- type ListGiteaEndpointsOK
- func (o *ListGiteaEndpointsOK) Code() int
- func (o *ListGiteaEndpointsOK) Error() string
- func (o *ListGiteaEndpointsOK) GetPayload() garm_params.ForgeEndpoints
- func (o *ListGiteaEndpointsOK) IsClientError() bool
- func (o *ListGiteaEndpointsOK) IsCode(code int) bool
- func (o *ListGiteaEndpointsOK) IsRedirect() bool
- func (o *ListGiteaEndpointsOK) IsServerError() bool
- func (o *ListGiteaEndpointsOK) IsSuccess() bool
- func (o *ListGiteaEndpointsOK) String() string
- type ListGiteaEndpointsParams
- func NewListGiteaEndpointsParams() *ListGiteaEndpointsParams
- func NewListGiteaEndpointsParamsWithContext(ctx context.Context) *ListGiteaEndpointsParams
- func NewListGiteaEndpointsParamsWithHTTPClient(client *http.Client) *ListGiteaEndpointsParams
- func NewListGiteaEndpointsParamsWithTimeout(timeout time.Duration) *ListGiteaEndpointsParams
- func (o *ListGiteaEndpointsParams) SetContext(ctx context.Context)
- func (o *ListGiteaEndpointsParams) SetDefaults()
- func (o *ListGiteaEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *ListGiteaEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *ListGiteaEndpointsParams) WithContext(ctx context.Context) *ListGiteaEndpointsParams
- func (o *ListGiteaEndpointsParams) WithDefaults() *ListGiteaEndpointsParams
- func (o *ListGiteaEndpointsParams) WithHTTPClient(client *http.Client) *ListGiteaEndpointsParams
- func (o *ListGiteaEndpointsParams) WithTimeout(timeout time.Duration) *ListGiteaEndpointsParams
- func (o *ListGiteaEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGiteaEndpointsReader
- type ListGithubEndpointsDefault
- func (o *ListGithubEndpointsDefault) Code() int
- func (o *ListGithubEndpointsDefault) Error() string
- func (o *ListGithubEndpointsDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListGithubEndpointsDefault) IsClientError() bool
- func (o *ListGithubEndpointsDefault) IsCode(code int) bool
- func (o *ListGithubEndpointsDefault) IsRedirect() bool
- func (o *ListGithubEndpointsDefault) IsServerError() bool
- func (o *ListGithubEndpointsDefault) IsSuccess() bool
- func (o *ListGithubEndpointsDefault) String() string
- type ListGithubEndpointsOK
- func (o *ListGithubEndpointsOK) Code() int
- func (o *ListGithubEndpointsOK) Error() string
- func (o *ListGithubEndpointsOK) GetPayload() garm_params.ForgeEndpoints
- func (o *ListGithubEndpointsOK) IsClientError() bool
- func (o *ListGithubEndpointsOK) IsCode(code int) bool
- func (o *ListGithubEndpointsOK) IsRedirect() bool
- func (o *ListGithubEndpointsOK) IsServerError() bool
- func (o *ListGithubEndpointsOK) IsSuccess() bool
- func (o *ListGithubEndpointsOK) String() string
- type ListGithubEndpointsParams
- func NewListGithubEndpointsParams() *ListGithubEndpointsParams
- func NewListGithubEndpointsParamsWithContext(ctx context.Context) *ListGithubEndpointsParams
- func NewListGithubEndpointsParamsWithHTTPClient(client *http.Client) *ListGithubEndpointsParams
- func NewListGithubEndpointsParamsWithTimeout(timeout time.Duration) *ListGithubEndpointsParams
- func (o *ListGithubEndpointsParams) SetContext(ctx context.Context)
- func (o *ListGithubEndpointsParams) SetDefaults()
- func (o *ListGithubEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *ListGithubEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *ListGithubEndpointsParams) WithContext(ctx context.Context) *ListGithubEndpointsParams
- func (o *ListGithubEndpointsParams) WithDefaults() *ListGithubEndpointsParams
- func (o *ListGithubEndpointsParams) WithHTTPClient(client *http.Client) *ListGithubEndpointsParams
- func (o *ListGithubEndpointsParams) WithTimeout(timeout time.Duration) *ListGithubEndpointsParams
- func (o *ListGithubEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGithubEndpointsReader
- type UpdateGiteaEndpointDefault
- func (o *UpdateGiteaEndpointDefault) Code() int
- func (o *UpdateGiteaEndpointDefault) Error() string
- func (o *UpdateGiteaEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UpdateGiteaEndpointDefault) IsClientError() bool
- func (o *UpdateGiteaEndpointDefault) IsCode(code int) bool
- func (o *UpdateGiteaEndpointDefault) IsRedirect() bool
- func (o *UpdateGiteaEndpointDefault) IsServerError() bool
- func (o *UpdateGiteaEndpointDefault) IsSuccess() bool
- func (o *UpdateGiteaEndpointDefault) String() string
- type UpdateGiteaEndpointOK
- func (o *UpdateGiteaEndpointOK) Code() int
- func (o *UpdateGiteaEndpointOK) Error() string
- func (o *UpdateGiteaEndpointOK) GetPayload() garm_params.ForgeEndpoint
- func (o *UpdateGiteaEndpointOK) IsClientError() bool
- func (o *UpdateGiteaEndpointOK) IsCode(code int) bool
- func (o *UpdateGiteaEndpointOK) IsRedirect() bool
- func (o *UpdateGiteaEndpointOK) IsServerError() bool
- func (o *UpdateGiteaEndpointOK) IsSuccess() bool
- func (o *UpdateGiteaEndpointOK) String() string
- type UpdateGiteaEndpointParams
- func NewUpdateGiteaEndpointParams() *UpdateGiteaEndpointParams
- func NewUpdateGiteaEndpointParamsWithContext(ctx context.Context) *UpdateGiteaEndpointParams
- func NewUpdateGiteaEndpointParamsWithHTTPClient(client *http.Client) *UpdateGiteaEndpointParams
- func NewUpdateGiteaEndpointParamsWithTimeout(timeout time.Duration) *UpdateGiteaEndpointParams
- func (o *UpdateGiteaEndpointParams) SetBody(body garm_params.UpdateGiteaEndpointParams)
- func (o *UpdateGiteaEndpointParams) SetContext(ctx context.Context)
- func (o *UpdateGiteaEndpointParams) SetDefaults()
- func (o *UpdateGiteaEndpointParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGiteaEndpointParams) SetName(name string)
- func (o *UpdateGiteaEndpointParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGiteaEndpointParams) WithBody(body garm_params.UpdateGiteaEndpointParams) *UpdateGiteaEndpointParams
- func (o *UpdateGiteaEndpointParams) WithContext(ctx context.Context) *UpdateGiteaEndpointParams
- func (o *UpdateGiteaEndpointParams) WithDefaults() *UpdateGiteaEndpointParams
- func (o *UpdateGiteaEndpointParams) WithHTTPClient(client *http.Client) *UpdateGiteaEndpointParams
- func (o *UpdateGiteaEndpointParams) WithName(name string) *UpdateGiteaEndpointParams
- func (o *UpdateGiteaEndpointParams) WithTimeout(timeout time.Duration) *UpdateGiteaEndpointParams
- func (o *UpdateGiteaEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGiteaEndpointReader
- type UpdateGithubEndpointDefault
- func (o *UpdateGithubEndpointDefault) Code() int
- func (o *UpdateGithubEndpointDefault) Error() string
- func (o *UpdateGithubEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UpdateGithubEndpointDefault) IsClientError() bool
- func (o *UpdateGithubEndpointDefault) IsCode(code int) bool
- func (o *UpdateGithubEndpointDefault) IsRedirect() bool
- func (o *UpdateGithubEndpointDefault) IsServerError() bool
- func (o *UpdateGithubEndpointDefault) IsSuccess() bool
- func (o *UpdateGithubEndpointDefault) String() string
- type UpdateGithubEndpointOK
- func (o *UpdateGithubEndpointOK) Code() int
- func (o *UpdateGithubEndpointOK) Error() string
- func (o *UpdateGithubEndpointOK) GetPayload() garm_params.ForgeEndpoint
- func (o *UpdateGithubEndpointOK) IsClientError() bool
- func (o *UpdateGithubEndpointOK) IsCode(code int) bool
- func (o *UpdateGithubEndpointOK) IsRedirect() bool
- func (o *UpdateGithubEndpointOK) IsServerError() bool
- func (o *UpdateGithubEndpointOK) IsSuccess() bool
- func (o *UpdateGithubEndpointOK) String() string
- type UpdateGithubEndpointParams
- func NewUpdateGithubEndpointParams() *UpdateGithubEndpointParams
- func NewUpdateGithubEndpointParamsWithContext(ctx context.Context) *UpdateGithubEndpointParams
- func NewUpdateGithubEndpointParamsWithHTTPClient(client *http.Client) *UpdateGithubEndpointParams
- func NewUpdateGithubEndpointParamsWithTimeout(timeout time.Duration) *UpdateGithubEndpointParams
- func (o *UpdateGithubEndpointParams) SetBody(body garm_params.UpdateGithubEndpointParams)
- func (o *UpdateGithubEndpointParams) SetContext(ctx context.Context)
- func (o *UpdateGithubEndpointParams) SetDefaults()
- func (o *UpdateGithubEndpointParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGithubEndpointParams) SetName(name string)
- func (o *UpdateGithubEndpointParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGithubEndpointParams) WithBody(body garm_params.UpdateGithubEndpointParams) *UpdateGithubEndpointParams
- func (o *UpdateGithubEndpointParams) WithContext(ctx context.Context) *UpdateGithubEndpointParams
- func (o *UpdateGithubEndpointParams) WithDefaults() *UpdateGithubEndpointParams
- func (o *UpdateGithubEndpointParams) WithHTTPClient(client *http.Client) *UpdateGithubEndpointParams
- func (o *UpdateGithubEndpointParams) WithName(name string) *UpdateGithubEndpointParams
- func (o *UpdateGithubEndpointParams) WithTimeout(timeout time.Duration) *UpdateGithubEndpointParams
- func (o *UpdateGithubEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGithubEndpointReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for endpoints API
func (*Client) CreateGiteaEndpoint ¶
func (a *Client) CreateGiteaEndpoint(params *CreateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGiteaEndpointOK, error)
CreateGiteaEndpoint creates a gitea endpoint
func (*Client) CreateGithubEndpoint ¶
func (a *Client) CreateGithubEndpoint(params *CreateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGithubEndpointOK, error)
CreateGithubEndpoint creates a git hub endpoint
func (*Client) DeleteGiteaEndpoint ¶
func (a *Client) DeleteGiteaEndpoint(params *DeleteGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteGiteaEndpoint deletes a gitea endpoint
func (*Client) DeleteGithubEndpoint ¶
func (a *Client) DeleteGithubEndpoint(params *DeleteGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteGithubEndpoint deletes a git hub endpoint
func (*Client) GetGiteaEndpoint ¶
func (a *Client) GetGiteaEndpoint(params *GetGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGiteaEndpointOK, error)
GetGiteaEndpoint gets a gitea endpoint
func (*Client) GetGithubEndpoint ¶
func (a *Client) GetGithubEndpoint(params *GetGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGithubEndpointOK, error)
GetGithubEndpoint gets a git hub endpoint
func (*Client) ListGiteaEndpoints ¶
func (a *Client) ListGiteaEndpoints(params *ListGiteaEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGiteaEndpointsOK, error)
ListGiteaEndpoints lists all gitea endpoints
func (*Client) ListGithubEndpoints ¶
func (a *Client) ListGithubEndpoints(params *ListGithubEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGithubEndpointsOK, error)
ListGithubEndpoints lists all git hub endpoints
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateGiteaEndpoint ¶
func (a *Client) UpdateGiteaEndpoint(params *UpdateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGiteaEndpointOK, error)
UpdateGiteaEndpoint updates a gitea endpoint
func (*Client) UpdateGithubEndpoint ¶
func (a *Client) UpdateGithubEndpoint(params *UpdateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGithubEndpointOK, error)
UpdateGithubEndpoint updates a git hub endpoint
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
CreateGiteaEndpoint(params *CreateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGiteaEndpointOK, error)
CreateGithubEndpoint(params *CreateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGithubEndpointOK, error)
DeleteGiteaEndpoint(params *DeleteGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteGithubEndpoint(params *DeleteGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
GetGiteaEndpoint(params *GetGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGiteaEndpointOK, error)
GetGithubEndpoint(params *GetGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGithubEndpointOK, error)
ListGiteaEndpoints(params *ListGiteaEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGiteaEndpointsOK, error)
ListGithubEndpoints(params *ListGithubEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGithubEndpointsOK, error)
UpdateGiteaEndpoint(params *UpdateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGiteaEndpointOK, error)
UpdateGithubEndpoint(params *UpdateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGithubEndpointOK, 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 endpoints API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new endpoints API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new endpoints API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateGiteaEndpointDefault ¶
type CreateGiteaEndpointDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
CreateGiteaEndpointDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewCreateGiteaEndpointDefault ¶
func NewCreateGiteaEndpointDefault(code int) *CreateGiteaEndpointDefault
NewCreateGiteaEndpointDefault creates a CreateGiteaEndpointDefault with default headers values
func (*CreateGiteaEndpointDefault) Code ¶
func (o *CreateGiteaEndpointDefault) Code() int
Code gets the status code for the create gitea endpoint default response
func (*CreateGiteaEndpointDefault) Error ¶
func (o *CreateGiteaEndpointDefault) Error() string
func (*CreateGiteaEndpointDefault) GetPayload ¶
func (o *CreateGiteaEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
func (*CreateGiteaEndpointDefault) IsClientError ¶
func (o *CreateGiteaEndpointDefault) IsClientError() bool
IsClientError returns true when this create gitea endpoint default response has a 4xx status code
func (*CreateGiteaEndpointDefault) IsCode ¶
func (o *CreateGiteaEndpointDefault) IsCode(code int) bool
IsCode returns true when this create gitea endpoint default response a status code equal to that given
func (*CreateGiteaEndpointDefault) IsRedirect ¶
func (o *CreateGiteaEndpointDefault) IsRedirect() bool
IsRedirect returns true when this create gitea endpoint default response has a 3xx status code
func (*CreateGiteaEndpointDefault) IsServerError ¶
func (o *CreateGiteaEndpointDefault) IsServerError() bool
IsServerError returns true when this create gitea endpoint default response has a 5xx status code
func (*CreateGiteaEndpointDefault) IsSuccess ¶
func (o *CreateGiteaEndpointDefault) IsSuccess() bool
IsSuccess returns true when this create gitea endpoint default response has a 2xx status code
func (*CreateGiteaEndpointDefault) String ¶
func (o *CreateGiteaEndpointDefault) String() string
type CreateGiteaEndpointOK ¶
type CreateGiteaEndpointOK struct {
Payload garm_params.ForgeEndpoint
}
CreateGiteaEndpointOK describes a response with status code 200, with default header values.
ForgeEndpoint
func NewCreateGiteaEndpointOK ¶
func NewCreateGiteaEndpointOK() *CreateGiteaEndpointOK
NewCreateGiteaEndpointOK creates a CreateGiteaEndpointOK with default headers values
func (*CreateGiteaEndpointOK) Code ¶
func (o *CreateGiteaEndpointOK) Code() int
Code gets the status code for the create gitea endpoint o k response
func (*CreateGiteaEndpointOK) Error ¶
func (o *CreateGiteaEndpointOK) Error() string
func (*CreateGiteaEndpointOK) GetPayload ¶
func (o *CreateGiteaEndpointOK) GetPayload() garm_params.ForgeEndpoint
func (*CreateGiteaEndpointOK) IsClientError ¶
func (o *CreateGiteaEndpointOK) IsClientError() bool
IsClientError returns true when this create gitea endpoint o k response has a 4xx status code
func (*CreateGiteaEndpointOK) IsCode ¶
func (o *CreateGiteaEndpointOK) IsCode(code int) bool
IsCode returns true when this create gitea endpoint o k response a status code equal to that given
func (*CreateGiteaEndpointOK) IsRedirect ¶
func (o *CreateGiteaEndpointOK) IsRedirect() bool
IsRedirect returns true when this create gitea endpoint o k response has a 3xx status code
func (*CreateGiteaEndpointOK) IsServerError ¶
func (o *CreateGiteaEndpointOK) IsServerError() bool
IsServerError returns true when this create gitea endpoint o k response has a 5xx status code
func (*CreateGiteaEndpointOK) IsSuccess ¶
func (o *CreateGiteaEndpointOK) IsSuccess() bool
IsSuccess returns true when this create gitea endpoint o k response has a 2xx status code
func (*CreateGiteaEndpointOK) String ¶
func (o *CreateGiteaEndpointOK) String() string
type CreateGiteaEndpointParams ¶
type CreateGiteaEndpointParams struct {
/* Body.
Parameters used when creating a Gitea endpoint.
*/
Body garm_params.CreateGiteaEndpointParams
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateGiteaEndpointParams contains all the parameters to send to the API endpoint
for the create gitea endpoint operation. Typically these are written to a http.Request.
func NewCreateGiteaEndpointParams ¶
func NewCreateGiteaEndpointParams() *CreateGiteaEndpointParams
NewCreateGiteaEndpointParams creates a new CreateGiteaEndpointParams 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 NewCreateGiteaEndpointParamsWithContext ¶
func NewCreateGiteaEndpointParamsWithContext(ctx context.Context) *CreateGiteaEndpointParams
NewCreateGiteaEndpointParamsWithContext creates a new CreateGiteaEndpointParams object with the ability to set a context for a request.
func NewCreateGiteaEndpointParamsWithHTTPClient ¶
func NewCreateGiteaEndpointParamsWithHTTPClient(client *http.Client) *CreateGiteaEndpointParams
NewCreateGiteaEndpointParamsWithHTTPClient creates a new CreateGiteaEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewCreateGiteaEndpointParamsWithTimeout ¶
func NewCreateGiteaEndpointParamsWithTimeout(timeout time.Duration) *CreateGiteaEndpointParams
NewCreateGiteaEndpointParamsWithTimeout creates a new CreateGiteaEndpointParams object with the ability to set a timeout on a request.
func (*CreateGiteaEndpointParams) SetBody ¶
func (o *CreateGiteaEndpointParams) SetBody(body garm_params.CreateGiteaEndpointParams)
SetBody adds the body to the create gitea endpoint params
func (*CreateGiteaEndpointParams) SetContext ¶
func (o *CreateGiteaEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the create gitea endpoint params
func (*CreateGiteaEndpointParams) SetDefaults ¶
func (o *CreateGiteaEndpointParams) SetDefaults()
SetDefaults hydrates default values in the create gitea endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGiteaEndpointParams) SetHTTPClient ¶
func (o *CreateGiteaEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create gitea endpoint params
func (*CreateGiteaEndpointParams) SetTimeout ¶
func (o *CreateGiteaEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create gitea endpoint params
func (*CreateGiteaEndpointParams) WithBody ¶
func (o *CreateGiteaEndpointParams) WithBody(body garm_params.CreateGiteaEndpointParams) *CreateGiteaEndpointParams
WithBody adds the body to the create gitea endpoint params
func (*CreateGiteaEndpointParams) WithContext ¶
func (o *CreateGiteaEndpointParams) WithContext(ctx context.Context) *CreateGiteaEndpointParams
WithContext adds the context to the create gitea endpoint params
func (*CreateGiteaEndpointParams) WithDefaults ¶
func (o *CreateGiteaEndpointParams) WithDefaults() *CreateGiteaEndpointParams
WithDefaults hydrates default values in the create gitea endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGiteaEndpointParams) WithHTTPClient ¶
func (o *CreateGiteaEndpointParams) WithHTTPClient(client *http.Client) *CreateGiteaEndpointParams
WithHTTPClient adds the HTTPClient to the create gitea endpoint params
func (*CreateGiteaEndpointParams) WithTimeout ¶
func (o *CreateGiteaEndpointParams) WithTimeout(timeout time.Duration) *CreateGiteaEndpointParams
WithTimeout adds the timeout to the create gitea endpoint params
func (*CreateGiteaEndpointParams) WriteToRequest ¶
func (o *CreateGiteaEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGiteaEndpointReader ¶
type CreateGiteaEndpointReader struct {
// contains filtered or unexported fields
}
CreateGiteaEndpointReader is a Reader for the CreateGiteaEndpoint structure.
func (*CreateGiteaEndpointReader) ReadResponse ¶
func (o *CreateGiteaEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateGithubEndpointDefault ¶
type CreateGithubEndpointDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
CreateGithubEndpointDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewCreateGithubEndpointDefault ¶
func NewCreateGithubEndpointDefault(code int) *CreateGithubEndpointDefault
NewCreateGithubEndpointDefault creates a CreateGithubEndpointDefault with default headers values
func (*CreateGithubEndpointDefault) Code ¶
func (o *CreateGithubEndpointDefault) Code() int
Code gets the status code for the create github endpoint default response
func (*CreateGithubEndpointDefault) Error ¶
func (o *CreateGithubEndpointDefault) Error() string
func (*CreateGithubEndpointDefault) GetPayload ¶
func (o *CreateGithubEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
func (*CreateGithubEndpointDefault) IsClientError ¶
func (o *CreateGithubEndpointDefault) IsClientError() bool
IsClientError returns true when this create github endpoint default response has a 4xx status code
func (*CreateGithubEndpointDefault) IsCode ¶
func (o *CreateGithubEndpointDefault) IsCode(code int) bool
IsCode returns true when this create github endpoint default response a status code equal to that given
func (*CreateGithubEndpointDefault) IsRedirect ¶
func (o *CreateGithubEndpointDefault) IsRedirect() bool
IsRedirect returns true when this create github endpoint default response has a 3xx status code
func (*CreateGithubEndpointDefault) IsServerError ¶
func (o *CreateGithubEndpointDefault) IsServerError() bool
IsServerError returns true when this create github endpoint default response has a 5xx status code
func (*CreateGithubEndpointDefault) IsSuccess ¶
func (o *CreateGithubEndpointDefault) IsSuccess() bool
IsSuccess returns true when this create github endpoint default response has a 2xx status code
func (*CreateGithubEndpointDefault) String ¶
func (o *CreateGithubEndpointDefault) String() string
type CreateGithubEndpointOK ¶
type CreateGithubEndpointOK struct {
Payload garm_params.ForgeEndpoint
}
CreateGithubEndpointOK describes a response with status code 200, with default header values.
ForgeEndpoint
func NewCreateGithubEndpointOK ¶
func NewCreateGithubEndpointOK() *CreateGithubEndpointOK
NewCreateGithubEndpointOK creates a CreateGithubEndpointOK with default headers values
func (*CreateGithubEndpointOK) Code ¶
func (o *CreateGithubEndpointOK) Code() int
Code gets the status code for the create github endpoint o k response
func (*CreateGithubEndpointOK) Error ¶
func (o *CreateGithubEndpointOK) Error() string
func (*CreateGithubEndpointOK) GetPayload ¶
func (o *CreateGithubEndpointOK) GetPayload() garm_params.ForgeEndpoint
func (*CreateGithubEndpointOK) IsClientError ¶
func (o *CreateGithubEndpointOK) IsClientError() bool
IsClientError returns true when this create github endpoint o k response has a 4xx status code
func (*CreateGithubEndpointOK) IsCode ¶
func (o *CreateGithubEndpointOK) IsCode(code int) bool
IsCode returns true when this create github endpoint o k response a status code equal to that given
func (*CreateGithubEndpointOK) IsRedirect ¶
func (o *CreateGithubEndpointOK) IsRedirect() bool
IsRedirect returns true when this create github endpoint o k response has a 3xx status code
func (*CreateGithubEndpointOK) IsServerError ¶
func (o *CreateGithubEndpointOK) IsServerError() bool
IsServerError returns true when this create github endpoint o k response has a 5xx status code
func (*CreateGithubEndpointOK) IsSuccess ¶
func (o *CreateGithubEndpointOK) IsSuccess() bool
IsSuccess returns true when this create github endpoint o k response has a 2xx status code
func (*CreateGithubEndpointOK) String ¶
func (o *CreateGithubEndpointOK) String() string
type CreateGithubEndpointParams ¶
type CreateGithubEndpointParams struct {
/* Body.
Parameters used when creating a GitHub endpoint.
*/
Body garm_params.CreateGithubEndpointParams
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateGithubEndpointParams contains all the parameters to send to the API endpoint
for the create github endpoint operation. Typically these are written to a http.Request.
func NewCreateGithubEndpointParams ¶
func NewCreateGithubEndpointParams() *CreateGithubEndpointParams
NewCreateGithubEndpointParams creates a new CreateGithubEndpointParams 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 NewCreateGithubEndpointParamsWithContext ¶
func NewCreateGithubEndpointParamsWithContext(ctx context.Context) *CreateGithubEndpointParams
NewCreateGithubEndpointParamsWithContext creates a new CreateGithubEndpointParams object with the ability to set a context for a request.
func NewCreateGithubEndpointParamsWithHTTPClient ¶
func NewCreateGithubEndpointParamsWithHTTPClient(client *http.Client) *CreateGithubEndpointParams
NewCreateGithubEndpointParamsWithHTTPClient creates a new CreateGithubEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewCreateGithubEndpointParamsWithTimeout ¶
func NewCreateGithubEndpointParamsWithTimeout(timeout time.Duration) *CreateGithubEndpointParams
NewCreateGithubEndpointParamsWithTimeout creates a new CreateGithubEndpointParams object with the ability to set a timeout on a request.
func (*CreateGithubEndpointParams) SetBody ¶
func (o *CreateGithubEndpointParams) SetBody(body garm_params.CreateGithubEndpointParams)
SetBody adds the body to the create github endpoint params
func (*CreateGithubEndpointParams) SetContext ¶
func (o *CreateGithubEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the create github endpoint params
func (*CreateGithubEndpointParams) SetDefaults ¶
func (o *CreateGithubEndpointParams) SetDefaults()
SetDefaults hydrates default values in the create github endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGithubEndpointParams) SetHTTPClient ¶
func (o *CreateGithubEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create github endpoint params
func (*CreateGithubEndpointParams) SetTimeout ¶
func (o *CreateGithubEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create github endpoint params
func (*CreateGithubEndpointParams) WithBody ¶
func (o *CreateGithubEndpointParams) WithBody(body garm_params.CreateGithubEndpointParams) *CreateGithubEndpointParams
WithBody adds the body to the create github endpoint params
func (*CreateGithubEndpointParams) WithContext ¶
func (o *CreateGithubEndpointParams) WithContext(ctx context.Context) *CreateGithubEndpointParams
WithContext adds the context to the create github endpoint params
func (*CreateGithubEndpointParams) WithDefaults ¶
func (o *CreateGithubEndpointParams) WithDefaults() *CreateGithubEndpointParams
WithDefaults hydrates default values in the create github endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGithubEndpointParams) WithHTTPClient ¶
func (o *CreateGithubEndpointParams) WithHTTPClient(client *http.Client) *CreateGithubEndpointParams
WithHTTPClient adds the HTTPClient to the create github endpoint params
func (*CreateGithubEndpointParams) WithTimeout ¶
func (o *CreateGithubEndpointParams) WithTimeout(timeout time.Duration) *CreateGithubEndpointParams
WithTimeout adds the timeout to the create github endpoint params
func (*CreateGithubEndpointParams) WriteToRequest ¶
func (o *CreateGithubEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGithubEndpointReader ¶
type CreateGithubEndpointReader struct {
// contains filtered or unexported fields
}
CreateGithubEndpointReader is a Reader for the CreateGithubEndpoint structure.
func (*CreateGithubEndpointReader) ReadResponse ¶
func (o *CreateGithubEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGiteaEndpointDefault ¶
type DeleteGiteaEndpointDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
DeleteGiteaEndpointDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewDeleteGiteaEndpointDefault ¶
func NewDeleteGiteaEndpointDefault(code int) *DeleteGiteaEndpointDefault
NewDeleteGiteaEndpointDefault creates a DeleteGiteaEndpointDefault with default headers values
func (*DeleteGiteaEndpointDefault) Code ¶
func (o *DeleteGiteaEndpointDefault) Code() int
Code gets the status code for the delete gitea endpoint default response
func (*DeleteGiteaEndpointDefault) Error ¶
func (o *DeleteGiteaEndpointDefault) Error() string
func (*DeleteGiteaEndpointDefault) GetPayload ¶
func (o *DeleteGiteaEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
func (*DeleteGiteaEndpointDefault) IsClientError ¶
func (o *DeleteGiteaEndpointDefault) IsClientError() bool
IsClientError returns true when this delete gitea endpoint default response has a 4xx status code
func (*DeleteGiteaEndpointDefault) IsCode ¶
func (o *DeleteGiteaEndpointDefault) IsCode(code int) bool
IsCode returns true when this delete gitea endpoint default response a status code equal to that given
func (*DeleteGiteaEndpointDefault) IsRedirect ¶
func (o *DeleteGiteaEndpointDefault) IsRedirect() bool
IsRedirect returns true when this delete gitea endpoint default response has a 3xx status code
func (*DeleteGiteaEndpointDefault) IsServerError ¶
func (o *DeleteGiteaEndpointDefault) IsServerError() bool
IsServerError returns true when this delete gitea endpoint default response has a 5xx status code
func (*DeleteGiteaEndpointDefault) IsSuccess ¶
func (o *DeleteGiteaEndpointDefault) IsSuccess() bool
IsSuccess returns true when this delete gitea endpoint default response has a 2xx status code
func (*DeleteGiteaEndpointDefault) String ¶
func (o *DeleteGiteaEndpointDefault) String() string
type DeleteGiteaEndpointParams ¶
type DeleteGiteaEndpointParams struct {
/* Name.
The name of the Gitea endpoint.
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteGiteaEndpointParams contains all the parameters to send to the API endpoint
for the delete gitea endpoint operation. Typically these are written to a http.Request.
func NewDeleteGiteaEndpointParams ¶
func NewDeleteGiteaEndpointParams() *DeleteGiteaEndpointParams
NewDeleteGiteaEndpointParams creates a new DeleteGiteaEndpointParams 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 NewDeleteGiteaEndpointParamsWithContext ¶
func NewDeleteGiteaEndpointParamsWithContext(ctx context.Context) *DeleteGiteaEndpointParams
NewDeleteGiteaEndpointParamsWithContext creates a new DeleteGiteaEndpointParams object with the ability to set a context for a request.
func NewDeleteGiteaEndpointParamsWithHTTPClient ¶
func NewDeleteGiteaEndpointParamsWithHTTPClient(client *http.Client) *DeleteGiteaEndpointParams
NewDeleteGiteaEndpointParamsWithHTTPClient creates a new DeleteGiteaEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteGiteaEndpointParamsWithTimeout ¶
func NewDeleteGiteaEndpointParamsWithTimeout(timeout time.Duration) *DeleteGiteaEndpointParams
NewDeleteGiteaEndpointParamsWithTimeout creates a new DeleteGiteaEndpointParams object with the ability to set a timeout on a request.
func (*DeleteGiteaEndpointParams) SetContext ¶
func (o *DeleteGiteaEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the delete gitea endpoint params
func (*DeleteGiteaEndpointParams) SetDefaults ¶
func (o *DeleteGiteaEndpointParams) SetDefaults()
SetDefaults hydrates default values in the delete gitea endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGiteaEndpointParams) SetHTTPClient ¶
func (o *DeleteGiteaEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete gitea endpoint params
func (*DeleteGiteaEndpointParams) SetName ¶
func (o *DeleteGiteaEndpointParams) SetName(name string)
SetName adds the name to the delete gitea endpoint params
func (*DeleteGiteaEndpointParams) SetTimeout ¶
func (o *DeleteGiteaEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete gitea endpoint params
func (*DeleteGiteaEndpointParams) WithContext ¶
func (o *DeleteGiteaEndpointParams) WithContext(ctx context.Context) *DeleteGiteaEndpointParams
WithContext adds the context to the delete gitea endpoint params
func (*DeleteGiteaEndpointParams) WithDefaults ¶
func (o *DeleteGiteaEndpointParams) WithDefaults() *DeleteGiteaEndpointParams
WithDefaults hydrates default values in the delete gitea endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGiteaEndpointParams) WithHTTPClient ¶
func (o *DeleteGiteaEndpointParams) WithHTTPClient(client *http.Client) *DeleteGiteaEndpointParams
WithHTTPClient adds the HTTPClient to the delete gitea endpoint params
func (*DeleteGiteaEndpointParams) WithName ¶
func (o *DeleteGiteaEndpointParams) WithName(name string) *DeleteGiteaEndpointParams
WithName adds the name to the delete gitea endpoint params
func (*DeleteGiteaEndpointParams) WithTimeout ¶
func (o *DeleteGiteaEndpointParams) WithTimeout(timeout time.Duration) *DeleteGiteaEndpointParams
WithTimeout adds the timeout to the delete gitea endpoint params
func (*DeleteGiteaEndpointParams) WriteToRequest ¶
func (o *DeleteGiteaEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGiteaEndpointReader ¶
type DeleteGiteaEndpointReader struct {
// contains filtered or unexported fields
}
DeleteGiteaEndpointReader is a Reader for the DeleteGiteaEndpoint structure.
func (*DeleteGiteaEndpointReader) ReadResponse ¶
func (o *DeleteGiteaEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGithubEndpointDefault ¶
type DeleteGithubEndpointDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
DeleteGithubEndpointDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewDeleteGithubEndpointDefault ¶
func NewDeleteGithubEndpointDefault(code int) *DeleteGithubEndpointDefault
NewDeleteGithubEndpointDefault creates a DeleteGithubEndpointDefault with default headers values
func (*DeleteGithubEndpointDefault) Code ¶
func (o *DeleteGithubEndpointDefault) Code() int
Code gets the status code for the delete github endpoint default response
func (*DeleteGithubEndpointDefault) Error ¶
func (o *DeleteGithubEndpointDefault) Error() string
func (*DeleteGithubEndpointDefault) GetPayload ¶
func (o *DeleteGithubEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
func (*DeleteGithubEndpointDefault) IsClientError ¶
func (o *DeleteGithubEndpointDefault) IsClientError() bool
IsClientError returns true when this delete github endpoint default response has a 4xx status code
func (*DeleteGithubEndpointDefault) IsCode ¶
func (o *DeleteGithubEndpointDefault) IsCode(code int) bool
IsCode returns true when this delete github endpoint default response a status code equal to that given
func (*DeleteGithubEndpointDefault) IsRedirect ¶
func (o *DeleteGithubEndpointDefault) IsRedirect() bool
IsRedirect returns true when this delete github endpoint default response has a 3xx status code
func (*DeleteGithubEndpointDefault) IsServerError ¶
func (o *DeleteGithubEndpointDefault) IsServerError() bool
IsServerError returns true when this delete github endpoint default response has a 5xx status code
func (*DeleteGithubEndpointDefault) IsSuccess ¶
func (o *DeleteGithubEndpointDefault) IsSuccess() bool
IsSuccess returns true when this delete github endpoint default response has a 2xx status code
func (*DeleteGithubEndpointDefault) String ¶
func (o *DeleteGithubEndpointDefault) String() string
type DeleteGithubEndpointParams ¶
type DeleteGithubEndpointParams struct {
/* Name.
The name of the GitHub endpoint.
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteGithubEndpointParams contains all the parameters to send to the API endpoint
for the delete github endpoint operation. Typically these are written to a http.Request.
func NewDeleteGithubEndpointParams ¶
func NewDeleteGithubEndpointParams() *DeleteGithubEndpointParams
NewDeleteGithubEndpointParams creates a new DeleteGithubEndpointParams 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 NewDeleteGithubEndpointParamsWithContext ¶
func NewDeleteGithubEndpointParamsWithContext(ctx context.Context) *DeleteGithubEndpointParams
NewDeleteGithubEndpointParamsWithContext creates a new DeleteGithubEndpointParams object with the ability to set a context for a request.
func NewDeleteGithubEndpointParamsWithHTTPClient ¶
func NewDeleteGithubEndpointParamsWithHTTPClient(client *http.Client) *DeleteGithubEndpointParams
NewDeleteGithubEndpointParamsWithHTTPClient creates a new DeleteGithubEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteGithubEndpointParamsWithTimeout ¶
func NewDeleteGithubEndpointParamsWithTimeout(timeout time.Duration) *DeleteGithubEndpointParams
NewDeleteGithubEndpointParamsWithTimeout creates a new DeleteGithubEndpointParams object with the ability to set a timeout on a request.
func (*DeleteGithubEndpointParams) SetContext ¶
func (o *DeleteGithubEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the delete github endpoint params
func (*DeleteGithubEndpointParams) SetDefaults ¶
func (o *DeleteGithubEndpointParams) SetDefaults()
SetDefaults hydrates default values in the delete github endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGithubEndpointParams) SetHTTPClient ¶
func (o *DeleteGithubEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete github endpoint params
func (*DeleteGithubEndpointParams) SetName ¶
func (o *DeleteGithubEndpointParams) SetName(name string)
SetName adds the name to the delete github endpoint params
func (*DeleteGithubEndpointParams) SetTimeout ¶
func (o *DeleteGithubEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete github endpoint params
func (*DeleteGithubEndpointParams) WithContext ¶
func (o *DeleteGithubEndpointParams) WithContext(ctx context.Context) *DeleteGithubEndpointParams
WithContext adds the context to the delete github endpoint params
func (*DeleteGithubEndpointParams) WithDefaults ¶
func (o *DeleteGithubEndpointParams) WithDefaults() *DeleteGithubEndpointParams
WithDefaults hydrates default values in the delete github endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGithubEndpointParams) WithHTTPClient ¶
func (o *DeleteGithubEndpointParams) WithHTTPClient(client *http.Client) *DeleteGithubEndpointParams
WithHTTPClient adds the HTTPClient to the delete github endpoint params
func (*DeleteGithubEndpointParams) WithName ¶
func (o *DeleteGithubEndpointParams) WithName(name string) *DeleteGithubEndpointParams
WithName adds the name to the delete github endpoint params
func (*DeleteGithubEndpointParams) WithTimeout ¶
func (o *DeleteGithubEndpointParams) WithTimeout(timeout time.Duration) *DeleteGithubEndpointParams
WithTimeout adds the timeout to the delete github endpoint params
func (*DeleteGithubEndpointParams) WriteToRequest ¶
func (o *DeleteGithubEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGithubEndpointReader ¶
type DeleteGithubEndpointReader struct {
// contains filtered or unexported fields
}
DeleteGithubEndpointReader is a Reader for the DeleteGithubEndpoint structure.
func (*DeleteGithubEndpointReader) ReadResponse ¶
func (o *DeleteGithubEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGiteaEndpointDefault ¶
type GetGiteaEndpointDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
GetGiteaEndpointDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewGetGiteaEndpointDefault ¶
func NewGetGiteaEndpointDefault(code int) *GetGiteaEndpointDefault
NewGetGiteaEndpointDefault creates a GetGiteaEndpointDefault with default headers values
func (*GetGiteaEndpointDefault) Code ¶
func (o *GetGiteaEndpointDefault) Code() int
Code gets the status code for the get gitea endpoint default response
func (*GetGiteaEndpointDefault) Error ¶
func (o *GetGiteaEndpointDefault) Error() string
func (*GetGiteaEndpointDefault) GetPayload ¶
func (o *GetGiteaEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
func (*GetGiteaEndpointDefault) IsClientError ¶
func (o *GetGiteaEndpointDefault) IsClientError() bool
IsClientError returns true when this get gitea endpoint default response has a 4xx status code
func (*GetGiteaEndpointDefault) IsCode ¶
func (o *GetGiteaEndpointDefault) IsCode(code int) bool
IsCode returns true when this get gitea endpoint default response a status code equal to that given
func (*GetGiteaEndpointDefault) IsRedirect ¶
func (o *GetGiteaEndpointDefault) IsRedirect() bool
IsRedirect returns true when this get gitea endpoint default response has a 3xx status code
func (*GetGiteaEndpointDefault) IsServerError ¶
func (o *GetGiteaEndpointDefault) IsServerError() bool
IsServerError returns true when this get gitea endpoint default response has a 5xx status code
func (*GetGiteaEndpointDefault) IsSuccess ¶
func (o *GetGiteaEndpointDefault) IsSuccess() bool
IsSuccess returns true when this get gitea endpoint default response has a 2xx status code
func (*GetGiteaEndpointDefault) String ¶
func (o *GetGiteaEndpointDefault) String() string
type GetGiteaEndpointOK ¶
type GetGiteaEndpointOK struct {
Payload garm_params.ForgeEndpoint
}
GetGiteaEndpointOK describes a response with status code 200, with default header values.
ForgeEndpoint
func NewGetGiteaEndpointOK ¶
func NewGetGiteaEndpointOK() *GetGiteaEndpointOK
NewGetGiteaEndpointOK creates a GetGiteaEndpointOK with default headers values
func (*GetGiteaEndpointOK) Code ¶
func (o *GetGiteaEndpointOK) Code() int
Code gets the status code for the get gitea endpoint o k response
func (*GetGiteaEndpointOK) Error ¶
func (o *GetGiteaEndpointOK) Error() string
func (*GetGiteaEndpointOK) GetPayload ¶
func (o *GetGiteaEndpointOK) GetPayload() garm_params.ForgeEndpoint
func (*GetGiteaEndpointOK) IsClientError ¶
func (o *GetGiteaEndpointOK) IsClientError() bool
IsClientError returns true when this get gitea endpoint o k response has a 4xx status code
func (*GetGiteaEndpointOK) IsCode ¶
func (o *GetGiteaEndpointOK) IsCode(code int) bool
IsCode returns true when this get gitea endpoint o k response a status code equal to that given
func (*GetGiteaEndpointOK) IsRedirect ¶
func (o *GetGiteaEndpointOK) IsRedirect() bool
IsRedirect returns true when this get gitea endpoint o k response has a 3xx status code
func (*GetGiteaEndpointOK) IsServerError ¶
func (o *GetGiteaEndpointOK) IsServerError() bool
IsServerError returns true when this get gitea endpoint o k response has a 5xx status code
func (*GetGiteaEndpointOK) IsSuccess ¶
func (o *GetGiteaEndpointOK) IsSuccess() bool
IsSuccess returns true when this get gitea endpoint o k response has a 2xx status code
func (*GetGiteaEndpointOK) String ¶
func (o *GetGiteaEndpointOK) String() string
type GetGiteaEndpointParams ¶
type GetGiteaEndpointParams struct {
/* Name.
The name of the Gitea endpoint.
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGiteaEndpointParams contains all the parameters to send to the API endpoint
for the get gitea endpoint operation. Typically these are written to a http.Request.
func NewGetGiteaEndpointParams ¶
func NewGetGiteaEndpointParams() *GetGiteaEndpointParams
NewGetGiteaEndpointParams creates a new GetGiteaEndpointParams 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 NewGetGiteaEndpointParamsWithContext ¶
func NewGetGiteaEndpointParamsWithContext(ctx context.Context) *GetGiteaEndpointParams
NewGetGiteaEndpointParamsWithContext creates a new GetGiteaEndpointParams object with the ability to set a context for a request.
func NewGetGiteaEndpointParamsWithHTTPClient ¶
func NewGetGiteaEndpointParamsWithHTTPClient(client *http.Client) *GetGiteaEndpointParams
NewGetGiteaEndpointParamsWithHTTPClient creates a new GetGiteaEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewGetGiteaEndpointParamsWithTimeout ¶
func NewGetGiteaEndpointParamsWithTimeout(timeout time.Duration) *GetGiteaEndpointParams
NewGetGiteaEndpointParamsWithTimeout creates a new GetGiteaEndpointParams object with the ability to set a timeout on a request.
func (*GetGiteaEndpointParams) SetContext ¶
func (o *GetGiteaEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the get gitea endpoint params
func (*GetGiteaEndpointParams) SetDefaults ¶
func (o *GetGiteaEndpointParams) SetDefaults()
SetDefaults hydrates default values in the get gitea endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*GetGiteaEndpointParams) SetHTTPClient ¶
func (o *GetGiteaEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gitea endpoint params
func (*GetGiteaEndpointParams) SetName ¶
func (o *GetGiteaEndpointParams) SetName(name string)
SetName adds the name to the get gitea endpoint params
func (*GetGiteaEndpointParams) SetTimeout ¶
func (o *GetGiteaEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gitea endpoint params
func (*GetGiteaEndpointParams) WithContext ¶
func (o *GetGiteaEndpointParams) WithContext(ctx context.Context) *GetGiteaEndpointParams
WithContext adds the context to the get gitea endpoint params
func (*GetGiteaEndpointParams) WithDefaults ¶
func (o *GetGiteaEndpointParams) WithDefaults() *GetGiteaEndpointParams
WithDefaults hydrates default values in the get gitea endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*GetGiteaEndpointParams) WithHTTPClient ¶
func (o *GetGiteaEndpointParams) WithHTTPClient(client *http.Client) *GetGiteaEndpointParams
WithHTTPClient adds the HTTPClient to the get gitea endpoint params
func (*GetGiteaEndpointParams) WithName ¶
func (o *GetGiteaEndpointParams) WithName(name string) *GetGiteaEndpointParams
WithName adds the name to the get gitea endpoint params
func (*GetGiteaEndpointParams) WithTimeout ¶
func (o *GetGiteaEndpointParams) WithTimeout(timeout time.Duration) *GetGiteaEndpointParams
WithTimeout adds the timeout to the get gitea endpoint params
func (*GetGiteaEndpointParams) WriteToRequest ¶
func (o *GetGiteaEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGiteaEndpointReader ¶
type GetGiteaEndpointReader struct {
// contains filtered or unexported fields
}
GetGiteaEndpointReader is a Reader for the GetGiteaEndpoint structure.
func (*GetGiteaEndpointReader) ReadResponse ¶
func (o *GetGiteaEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGithubEndpointDefault ¶
type GetGithubEndpointDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
GetGithubEndpointDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewGetGithubEndpointDefault ¶
func NewGetGithubEndpointDefault(code int) *GetGithubEndpointDefault
NewGetGithubEndpointDefault creates a GetGithubEndpointDefault with default headers values
func (*GetGithubEndpointDefault) Code ¶
func (o *GetGithubEndpointDefault) Code() int
Code gets the status code for the get github endpoint default response
func (*GetGithubEndpointDefault) Error ¶
func (o *GetGithubEndpointDefault) Error() string
func (*GetGithubEndpointDefault) GetPayload ¶
func (o *GetGithubEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
func (*GetGithubEndpointDefault) IsClientError ¶
func (o *GetGithubEndpointDefault) IsClientError() bool
IsClientError returns true when this get github endpoint default response has a 4xx status code
func (*GetGithubEndpointDefault) IsCode ¶
func (o *GetGithubEndpointDefault) IsCode(code int) bool
IsCode returns true when this get github endpoint default response a status code equal to that given
func (*GetGithubEndpointDefault) IsRedirect ¶
func (o *GetGithubEndpointDefault) IsRedirect() bool
IsRedirect returns true when this get github endpoint default response has a 3xx status code
func (*GetGithubEndpointDefault) IsServerError ¶
func (o *GetGithubEndpointDefault) IsServerError() bool
IsServerError returns true when this get github endpoint default response has a 5xx status code
func (*GetGithubEndpointDefault) IsSuccess ¶
func (o *GetGithubEndpointDefault) IsSuccess() bool
IsSuccess returns true when this get github endpoint default response has a 2xx status code
func (*GetGithubEndpointDefault) String ¶
func (o *GetGithubEndpointDefault) String() string
type GetGithubEndpointOK ¶
type GetGithubEndpointOK struct {
Payload garm_params.ForgeEndpoint
}
GetGithubEndpointOK describes a response with status code 200, with default header values.
ForgeEndpoint
func NewGetGithubEndpointOK ¶
func NewGetGithubEndpointOK() *GetGithubEndpointOK
NewGetGithubEndpointOK creates a GetGithubEndpointOK with default headers values
func (*GetGithubEndpointOK) Code ¶
func (o *GetGithubEndpointOK) Code() int
Code gets the status code for the get github endpoint o k response
func (*GetGithubEndpointOK) Error ¶
func (o *GetGithubEndpointOK) Error() string
func (*GetGithubEndpointOK) GetPayload ¶
func (o *GetGithubEndpointOK) GetPayload() garm_params.ForgeEndpoint
func (*GetGithubEndpointOK) IsClientError ¶
func (o *GetGithubEndpointOK) IsClientError() bool
IsClientError returns true when this get github endpoint o k response has a 4xx status code
func (*GetGithubEndpointOK) IsCode ¶
func (o *GetGithubEndpointOK) IsCode(code int) bool
IsCode returns true when this get github endpoint o k response a status code equal to that given
func (*GetGithubEndpointOK) IsRedirect ¶
func (o *GetGithubEndpointOK) IsRedirect() bool
IsRedirect returns true when this get github endpoint o k response has a 3xx status code
func (*GetGithubEndpointOK) IsServerError ¶
func (o *GetGithubEndpointOK) IsServerError() bool
IsServerError returns true when this get github endpoint o k response has a 5xx status code
func (*GetGithubEndpointOK) IsSuccess ¶
func (o *GetGithubEndpointOK) IsSuccess() bool
IsSuccess returns true when this get github endpoint o k response has a 2xx status code
func (*GetGithubEndpointOK) String ¶
func (o *GetGithubEndpointOK) String() string
type GetGithubEndpointParams ¶
type GetGithubEndpointParams struct {
/* Name.
The name of the GitHub endpoint.
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGithubEndpointParams contains all the parameters to send to the API endpoint
for the get github endpoint operation. Typically these are written to a http.Request.
func NewGetGithubEndpointParams ¶
func NewGetGithubEndpointParams() *GetGithubEndpointParams
NewGetGithubEndpointParams creates a new GetGithubEndpointParams 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 NewGetGithubEndpointParamsWithContext ¶
func NewGetGithubEndpointParamsWithContext(ctx context.Context) *GetGithubEndpointParams
NewGetGithubEndpointParamsWithContext creates a new GetGithubEndpointParams object with the ability to set a context for a request.
func NewGetGithubEndpointParamsWithHTTPClient ¶
func NewGetGithubEndpointParamsWithHTTPClient(client *http.Client) *GetGithubEndpointParams
NewGetGithubEndpointParamsWithHTTPClient creates a new GetGithubEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewGetGithubEndpointParamsWithTimeout ¶
func NewGetGithubEndpointParamsWithTimeout(timeout time.Duration) *GetGithubEndpointParams
NewGetGithubEndpointParamsWithTimeout creates a new GetGithubEndpointParams object with the ability to set a timeout on a request.
func (*GetGithubEndpointParams) SetContext ¶
func (o *GetGithubEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the get github endpoint params
func (*GetGithubEndpointParams) SetDefaults ¶
func (o *GetGithubEndpointParams) SetDefaults()
SetDefaults hydrates default values in the get github endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*GetGithubEndpointParams) SetHTTPClient ¶
func (o *GetGithubEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get github endpoint params
func (*GetGithubEndpointParams) SetName ¶
func (o *GetGithubEndpointParams) SetName(name string)
SetName adds the name to the get github endpoint params
func (*GetGithubEndpointParams) SetTimeout ¶
func (o *GetGithubEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get github endpoint params
func (*GetGithubEndpointParams) WithContext ¶
func (o *GetGithubEndpointParams) WithContext(ctx context.Context) *GetGithubEndpointParams
WithContext adds the context to the get github endpoint params
func (*GetGithubEndpointParams) WithDefaults ¶
func (o *GetGithubEndpointParams) WithDefaults() *GetGithubEndpointParams
WithDefaults hydrates default values in the get github endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*GetGithubEndpointParams) WithHTTPClient ¶
func (o *GetGithubEndpointParams) WithHTTPClient(client *http.Client) *GetGithubEndpointParams
WithHTTPClient adds the HTTPClient to the get github endpoint params
func (*GetGithubEndpointParams) WithName ¶
func (o *GetGithubEndpointParams) WithName(name string) *GetGithubEndpointParams
WithName adds the name to the get github endpoint params
func (*GetGithubEndpointParams) WithTimeout ¶
func (o *GetGithubEndpointParams) WithTimeout(timeout time.Duration) *GetGithubEndpointParams
WithTimeout adds the timeout to the get github endpoint params
func (*GetGithubEndpointParams) WriteToRequest ¶
func (o *GetGithubEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGithubEndpointReader ¶
type GetGithubEndpointReader struct {
// contains filtered or unexported fields
}
GetGithubEndpointReader is a Reader for the GetGithubEndpoint structure.
func (*GetGithubEndpointReader) ReadResponse ¶
func (o *GetGithubEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListGiteaEndpointsDefault ¶
type ListGiteaEndpointsDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
ListGiteaEndpointsDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewListGiteaEndpointsDefault ¶
func NewListGiteaEndpointsDefault(code int) *ListGiteaEndpointsDefault
NewListGiteaEndpointsDefault creates a ListGiteaEndpointsDefault with default headers values
func (*ListGiteaEndpointsDefault) Code ¶
func (o *ListGiteaEndpointsDefault) Code() int
Code gets the status code for the list gitea endpoints default response
func (*ListGiteaEndpointsDefault) Error ¶
func (o *ListGiteaEndpointsDefault) Error() string
func (*ListGiteaEndpointsDefault) GetPayload ¶
func (o *ListGiteaEndpointsDefault) GetPayload() apiserver_params.APIErrorResponse
func (*ListGiteaEndpointsDefault) IsClientError ¶
func (o *ListGiteaEndpointsDefault) IsClientError() bool
IsClientError returns true when this list gitea endpoints default response has a 4xx status code
func (*ListGiteaEndpointsDefault) IsCode ¶
func (o *ListGiteaEndpointsDefault) IsCode(code int) bool
IsCode returns true when this list gitea endpoints default response a status code equal to that given
func (*ListGiteaEndpointsDefault) IsRedirect ¶
func (o *ListGiteaEndpointsDefault) IsRedirect() bool
IsRedirect returns true when this list gitea endpoints default response has a 3xx status code
func (*ListGiteaEndpointsDefault) IsServerError ¶
func (o *ListGiteaEndpointsDefault) IsServerError() bool
IsServerError returns true when this list gitea endpoints default response has a 5xx status code
func (*ListGiteaEndpointsDefault) IsSuccess ¶
func (o *ListGiteaEndpointsDefault) IsSuccess() bool
IsSuccess returns true when this list gitea endpoints default response has a 2xx status code
func (*ListGiteaEndpointsDefault) String ¶
func (o *ListGiteaEndpointsDefault) String() string
type ListGiteaEndpointsOK ¶
type ListGiteaEndpointsOK struct {
Payload garm_params.ForgeEndpoints
}
ListGiteaEndpointsOK describes a response with status code 200, with default header values.
ForgeEndpoints
func NewListGiteaEndpointsOK ¶
func NewListGiteaEndpointsOK() *ListGiteaEndpointsOK
NewListGiteaEndpointsOK creates a ListGiteaEndpointsOK with default headers values
func (*ListGiteaEndpointsOK) Code ¶
func (o *ListGiteaEndpointsOK) Code() int
Code gets the status code for the list gitea endpoints o k response
func (*ListGiteaEndpointsOK) Error ¶
func (o *ListGiteaEndpointsOK) Error() string
func (*ListGiteaEndpointsOK) GetPayload ¶
func (o *ListGiteaEndpointsOK) GetPayload() garm_params.ForgeEndpoints
func (*ListGiteaEndpointsOK) IsClientError ¶
func (o *ListGiteaEndpointsOK) IsClientError() bool
IsClientError returns true when this list gitea endpoints o k response has a 4xx status code
func (*ListGiteaEndpointsOK) IsCode ¶
func (o *ListGiteaEndpointsOK) IsCode(code int) bool
IsCode returns true when this list gitea endpoints o k response a status code equal to that given
func (*ListGiteaEndpointsOK) IsRedirect ¶
func (o *ListGiteaEndpointsOK) IsRedirect() bool
IsRedirect returns true when this list gitea endpoints o k response has a 3xx status code
func (*ListGiteaEndpointsOK) IsServerError ¶
func (o *ListGiteaEndpointsOK) IsServerError() bool
IsServerError returns true when this list gitea endpoints o k response has a 5xx status code
func (*ListGiteaEndpointsOK) IsSuccess ¶
func (o *ListGiteaEndpointsOK) IsSuccess() bool
IsSuccess returns true when this list gitea endpoints o k response has a 2xx status code
func (*ListGiteaEndpointsOK) String ¶
func (o *ListGiteaEndpointsOK) String() string
type ListGiteaEndpointsParams ¶
type ListGiteaEndpointsParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListGiteaEndpointsParams contains all the parameters to send to the API endpoint
for the list gitea endpoints operation. Typically these are written to a http.Request.
func NewListGiteaEndpointsParams ¶
func NewListGiteaEndpointsParams() *ListGiteaEndpointsParams
NewListGiteaEndpointsParams creates a new ListGiteaEndpointsParams 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 NewListGiteaEndpointsParamsWithContext ¶
func NewListGiteaEndpointsParamsWithContext(ctx context.Context) *ListGiteaEndpointsParams
NewListGiteaEndpointsParamsWithContext creates a new ListGiteaEndpointsParams object with the ability to set a context for a request.
func NewListGiteaEndpointsParamsWithHTTPClient ¶
func NewListGiteaEndpointsParamsWithHTTPClient(client *http.Client) *ListGiteaEndpointsParams
NewListGiteaEndpointsParamsWithHTTPClient creates a new ListGiteaEndpointsParams object with the ability to set a custom HTTPClient for a request.
func NewListGiteaEndpointsParamsWithTimeout ¶
func NewListGiteaEndpointsParamsWithTimeout(timeout time.Duration) *ListGiteaEndpointsParams
NewListGiteaEndpointsParamsWithTimeout creates a new ListGiteaEndpointsParams object with the ability to set a timeout on a request.
func (*ListGiteaEndpointsParams) SetContext ¶
func (o *ListGiteaEndpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the list gitea endpoints params
func (*ListGiteaEndpointsParams) SetDefaults ¶
func (o *ListGiteaEndpointsParams) SetDefaults()
SetDefaults hydrates default values in the list gitea endpoints params (not the query body).
All values with no default are reset to their zero value.
func (*ListGiteaEndpointsParams) SetHTTPClient ¶
func (o *ListGiteaEndpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list gitea endpoints params
func (*ListGiteaEndpointsParams) SetTimeout ¶
func (o *ListGiteaEndpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list gitea endpoints params
func (*ListGiteaEndpointsParams) WithContext ¶
func (o *ListGiteaEndpointsParams) WithContext(ctx context.Context) *ListGiteaEndpointsParams
WithContext adds the context to the list gitea endpoints params
func (*ListGiteaEndpointsParams) WithDefaults ¶
func (o *ListGiteaEndpointsParams) WithDefaults() *ListGiteaEndpointsParams
WithDefaults hydrates default values in the list gitea endpoints params (not the query body).
All values with no default are reset to their zero value.
func (*ListGiteaEndpointsParams) WithHTTPClient ¶
func (o *ListGiteaEndpointsParams) WithHTTPClient(client *http.Client) *ListGiteaEndpointsParams
WithHTTPClient adds the HTTPClient to the list gitea endpoints params
func (*ListGiteaEndpointsParams) WithTimeout ¶
func (o *ListGiteaEndpointsParams) WithTimeout(timeout time.Duration) *ListGiteaEndpointsParams
WithTimeout adds the timeout to the list gitea endpoints params
func (*ListGiteaEndpointsParams) WriteToRequest ¶
func (o *ListGiteaEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGiteaEndpointsReader ¶
type ListGiteaEndpointsReader struct {
// contains filtered or unexported fields
}
ListGiteaEndpointsReader is a Reader for the ListGiteaEndpoints structure.
func (*ListGiteaEndpointsReader) ReadResponse ¶
func (o *ListGiteaEndpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListGithubEndpointsDefault ¶
type ListGithubEndpointsDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
ListGithubEndpointsDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewListGithubEndpointsDefault ¶
func NewListGithubEndpointsDefault(code int) *ListGithubEndpointsDefault
NewListGithubEndpointsDefault creates a ListGithubEndpointsDefault with default headers values
func (*ListGithubEndpointsDefault) Code ¶
func (o *ListGithubEndpointsDefault) Code() int
Code gets the status code for the list github endpoints default response
func (*ListGithubEndpointsDefault) Error ¶
func (o *ListGithubEndpointsDefault) Error() string
func (*ListGithubEndpointsDefault) GetPayload ¶
func (o *ListGithubEndpointsDefault) GetPayload() apiserver_params.APIErrorResponse
func (*ListGithubEndpointsDefault) IsClientError ¶
func (o *ListGithubEndpointsDefault) IsClientError() bool
IsClientError returns true when this list github endpoints default response has a 4xx status code
func (*ListGithubEndpointsDefault) IsCode ¶
func (o *ListGithubEndpointsDefault) IsCode(code int) bool
IsCode returns true when this list github endpoints default response a status code equal to that given
func (*ListGithubEndpointsDefault) IsRedirect ¶
func (o *ListGithubEndpointsDefault) IsRedirect() bool
IsRedirect returns true when this list github endpoints default response has a 3xx status code
func (*ListGithubEndpointsDefault) IsServerError ¶
func (o *ListGithubEndpointsDefault) IsServerError() bool
IsServerError returns true when this list github endpoints default response has a 5xx status code
func (*ListGithubEndpointsDefault) IsSuccess ¶
func (o *ListGithubEndpointsDefault) IsSuccess() bool
IsSuccess returns true when this list github endpoints default response has a 2xx status code
func (*ListGithubEndpointsDefault) String ¶
func (o *ListGithubEndpointsDefault) String() string
type ListGithubEndpointsOK ¶
type ListGithubEndpointsOK struct {
Payload garm_params.ForgeEndpoints
}
ListGithubEndpointsOK describes a response with status code 200, with default header values.
ForgeEndpoints
func NewListGithubEndpointsOK ¶
func NewListGithubEndpointsOK() *ListGithubEndpointsOK
NewListGithubEndpointsOK creates a ListGithubEndpointsOK with default headers values
func (*ListGithubEndpointsOK) Code ¶
func (o *ListGithubEndpointsOK) Code() int
Code gets the status code for the list github endpoints o k response
func (*ListGithubEndpointsOK) Error ¶
func (o *ListGithubEndpointsOK) Error() string
func (*ListGithubEndpointsOK) GetPayload ¶
func (o *ListGithubEndpointsOK) GetPayload() garm_params.ForgeEndpoints
func (*ListGithubEndpointsOK) IsClientError ¶
func (o *ListGithubEndpointsOK) IsClientError() bool
IsClientError returns true when this list github endpoints o k response has a 4xx status code
func (*ListGithubEndpointsOK) IsCode ¶
func (o *ListGithubEndpointsOK) IsCode(code int) bool
IsCode returns true when this list github endpoints o k response a status code equal to that given
func (*ListGithubEndpointsOK) IsRedirect ¶
func (o *ListGithubEndpointsOK) IsRedirect() bool
IsRedirect returns true when this list github endpoints o k response has a 3xx status code
func (*ListGithubEndpointsOK) IsServerError ¶
func (o *ListGithubEndpointsOK) IsServerError() bool
IsServerError returns true when this list github endpoints o k response has a 5xx status code
func (*ListGithubEndpointsOK) IsSuccess ¶
func (o *ListGithubEndpointsOK) IsSuccess() bool
IsSuccess returns true when this list github endpoints o k response has a 2xx status code
func (*ListGithubEndpointsOK) String ¶
func (o *ListGithubEndpointsOK) String() string
type ListGithubEndpointsParams ¶
type ListGithubEndpointsParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListGithubEndpointsParams contains all the parameters to send to the API endpoint
for the list github endpoints operation. Typically these are written to a http.Request.
func NewListGithubEndpointsParams ¶
func NewListGithubEndpointsParams() *ListGithubEndpointsParams
NewListGithubEndpointsParams creates a new ListGithubEndpointsParams 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 NewListGithubEndpointsParamsWithContext ¶
func NewListGithubEndpointsParamsWithContext(ctx context.Context) *ListGithubEndpointsParams
NewListGithubEndpointsParamsWithContext creates a new ListGithubEndpointsParams object with the ability to set a context for a request.
func NewListGithubEndpointsParamsWithHTTPClient ¶
func NewListGithubEndpointsParamsWithHTTPClient(client *http.Client) *ListGithubEndpointsParams
NewListGithubEndpointsParamsWithHTTPClient creates a new ListGithubEndpointsParams object with the ability to set a custom HTTPClient for a request.
func NewListGithubEndpointsParamsWithTimeout ¶
func NewListGithubEndpointsParamsWithTimeout(timeout time.Duration) *ListGithubEndpointsParams
NewListGithubEndpointsParamsWithTimeout creates a new ListGithubEndpointsParams object with the ability to set a timeout on a request.
func (*ListGithubEndpointsParams) SetContext ¶
func (o *ListGithubEndpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the list github endpoints params
func (*ListGithubEndpointsParams) SetDefaults ¶
func (o *ListGithubEndpointsParams) SetDefaults()
SetDefaults hydrates default values in the list github endpoints params (not the query body).
All values with no default are reset to their zero value.
func (*ListGithubEndpointsParams) SetHTTPClient ¶
func (o *ListGithubEndpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list github endpoints params
func (*ListGithubEndpointsParams) SetTimeout ¶
func (o *ListGithubEndpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list github endpoints params
func (*ListGithubEndpointsParams) WithContext ¶
func (o *ListGithubEndpointsParams) WithContext(ctx context.Context) *ListGithubEndpointsParams
WithContext adds the context to the list github endpoints params
func (*ListGithubEndpointsParams) WithDefaults ¶
func (o *ListGithubEndpointsParams) WithDefaults() *ListGithubEndpointsParams
WithDefaults hydrates default values in the list github endpoints params (not the query body).
All values with no default are reset to their zero value.
func (*ListGithubEndpointsParams) WithHTTPClient ¶
func (o *ListGithubEndpointsParams) WithHTTPClient(client *http.Client) *ListGithubEndpointsParams
WithHTTPClient adds the HTTPClient to the list github endpoints params
func (*ListGithubEndpointsParams) WithTimeout ¶
func (o *ListGithubEndpointsParams) WithTimeout(timeout time.Duration) *ListGithubEndpointsParams
WithTimeout adds the timeout to the list github endpoints params
func (*ListGithubEndpointsParams) WriteToRequest ¶
func (o *ListGithubEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGithubEndpointsReader ¶
type ListGithubEndpointsReader struct {
// contains filtered or unexported fields
}
ListGithubEndpointsReader is a Reader for the ListGithubEndpoints structure.
func (*ListGithubEndpointsReader) ReadResponse ¶
func (o *ListGithubEndpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGiteaEndpointDefault ¶
type UpdateGiteaEndpointDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
UpdateGiteaEndpointDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewUpdateGiteaEndpointDefault ¶
func NewUpdateGiteaEndpointDefault(code int) *UpdateGiteaEndpointDefault
NewUpdateGiteaEndpointDefault creates a UpdateGiteaEndpointDefault with default headers values
func (*UpdateGiteaEndpointDefault) Code ¶
func (o *UpdateGiteaEndpointDefault) Code() int
Code gets the status code for the update gitea endpoint default response
func (*UpdateGiteaEndpointDefault) Error ¶
func (o *UpdateGiteaEndpointDefault) Error() string
func (*UpdateGiteaEndpointDefault) GetPayload ¶
func (o *UpdateGiteaEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
func (*UpdateGiteaEndpointDefault) IsClientError ¶
func (o *UpdateGiteaEndpointDefault) IsClientError() bool
IsClientError returns true when this update gitea endpoint default response has a 4xx status code
func (*UpdateGiteaEndpointDefault) IsCode ¶
func (o *UpdateGiteaEndpointDefault) IsCode(code int) bool
IsCode returns true when this update gitea endpoint default response a status code equal to that given
func (*UpdateGiteaEndpointDefault) IsRedirect ¶
func (o *UpdateGiteaEndpointDefault) IsRedirect() bool
IsRedirect returns true when this update gitea endpoint default response has a 3xx status code
func (*UpdateGiteaEndpointDefault) IsServerError ¶
func (o *UpdateGiteaEndpointDefault) IsServerError() bool
IsServerError returns true when this update gitea endpoint default response has a 5xx status code
func (*UpdateGiteaEndpointDefault) IsSuccess ¶
func (o *UpdateGiteaEndpointDefault) IsSuccess() bool
IsSuccess returns true when this update gitea endpoint default response has a 2xx status code
func (*UpdateGiteaEndpointDefault) String ¶
func (o *UpdateGiteaEndpointDefault) String() string
type UpdateGiteaEndpointOK ¶
type UpdateGiteaEndpointOK struct {
Payload garm_params.ForgeEndpoint
}
UpdateGiteaEndpointOK describes a response with status code 200, with default header values.
ForgeEndpoint
func NewUpdateGiteaEndpointOK ¶
func NewUpdateGiteaEndpointOK() *UpdateGiteaEndpointOK
NewUpdateGiteaEndpointOK creates a UpdateGiteaEndpointOK with default headers values
func (*UpdateGiteaEndpointOK) Code ¶
func (o *UpdateGiteaEndpointOK) Code() int
Code gets the status code for the update gitea endpoint o k response
func (*UpdateGiteaEndpointOK) Error ¶
func (o *UpdateGiteaEndpointOK) Error() string
func (*UpdateGiteaEndpointOK) GetPayload ¶
func (o *UpdateGiteaEndpointOK) GetPayload() garm_params.ForgeEndpoint
func (*UpdateGiteaEndpointOK) IsClientError ¶
func (o *UpdateGiteaEndpointOK) IsClientError() bool
IsClientError returns true when this update gitea endpoint o k response has a 4xx status code
func (*UpdateGiteaEndpointOK) IsCode ¶
func (o *UpdateGiteaEndpointOK) IsCode(code int) bool
IsCode returns true when this update gitea endpoint o k response a status code equal to that given
func (*UpdateGiteaEndpointOK) IsRedirect ¶
func (o *UpdateGiteaEndpointOK) IsRedirect() bool
IsRedirect returns true when this update gitea endpoint o k response has a 3xx status code
func (*UpdateGiteaEndpointOK) IsServerError ¶
func (o *UpdateGiteaEndpointOK) IsServerError() bool
IsServerError returns true when this update gitea endpoint o k response has a 5xx status code
func (*UpdateGiteaEndpointOK) IsSuccess ¶
func (o *UpdateGiteaEndpointOK) IsSuccess() bool
IsSuccess returns true when this update gitea endpoint o k response has a 2xx status code
func (*UpdateGiteaEndpointOK) String ¶
func (o *UpdateGiteaEndpointOK) String() string
type UpdateGiteaEndpointParams ¶
type UpdateGiteaEndpointParams struct {
/* Body.
Parameters used when updating a Gitea endpoint.
*/
Body garm_params.UpdateGiteaEndpointParams
/* Name.
The name of the Gitea endpoint.
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateGiteaEndpointParams contains all the parameters to send to the API endpoint
for the update gitea endpoint operation. Typically these are written to a http.Request.
func NewUpdateGiteaEndpointParams ¶
func NewUpdateGiteaEndpointParams() *UpdateGiteaEndpointParams
NewUpdateGiteaEndpointParams creates a new UpdateGiteaEndpointParams 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 NewUpdateGiteaEndpointParamsWithContext ¶
func NewUpdateGiteaEndpointParamsWithContext(ctx context.Context) *UpdateGiteaEndpointParams
NewUpdateGiteaEndpointParamsWithContext creates a new UpdateGiteaEndpointParams object with the ability to set a context for a request.
func NewUpdateGiteaEndpointParamsWithHTTPClient ¶
func NewUpdateGiteaEndpointParamsWithHTTPClient(client *http.Client) *UpdateGiteaEndpointParams
NewUpdateGiteaEndpointParamsWithHTTPClient creates a new UpdateGiteaEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGiteaEndpointParamsWithTimeout ¶
func NewUpdateGiteaEndpointParamsWithTimeout(timeout time.Duration) *UpdateGiteaEndpointParams
NewUpdateGiteaEndpointParamsWithTimeout creates a new UpdateGiteaEndpointParams object with the ability to set a timeout on a request.
func (*UpdateGiteaEndpointParams) SetBody ¶
func (o *UpdateGiteaEndpointParams) SetBody(body garm_params.UpdateGiteaEndpointParams)
SetBody adds the body to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) SetContext ¶
func (o *UpdateGiteaEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) SetDefaults ¶
func (o *UpdateGiteaEndpointParams) SetDefaults()
SetDefaults hydrates default values in the update gitea endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGiteaEndpointParams) SetHTTPClient ¶
func (o *UpdateGiteaEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) SetName ¶
func (o *UpdateGiteaEndpointParams) SetName(name string)
SetName adds the name to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) SetTimeout ¶
func (o *UpdateGiteaEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) WithBody ¶
func (o *UpdateGiteaEndpointParams) WithBody(body garm_params.UpdateGiteaEndpointParams) *UpdateGiteaEndpointParams
WithBody adds the body to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) WithContext ¶
func (o *UpdateGiteaEndpointParams) WithContext(ctx context.Context) *UpdateGiteaEndpointParams
WithContext adds the context to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) WithDefaults ¶
func (o *UpdateGiteaEndpointParams) WithDefaults() *UpdateGiteaEndpointParams
WithDefaults hydrates default values in the update gitea endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGiteaEndpointParams) WithHTTPClient ¶
func (o *UpdateGiteaEndpointParams) WithHTTPClient(client *http.Client) *UpdateGiteaEndpointParams
WithHTTPClient adds the HTTPClient to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) WithName ¶
func (o *UpdateGiteaEndpointParams) WithName(name string) *UpdateGiteaEndpointParams
WithName adds the name to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) WithTimeout ¶
func (o *UpdateGiteaEndpointParams) WithTimeout(timeout time.Duration) *UpdateGiteaEndpointParams
WithTimeout adds the timeout to the update gitea endpoint params
func (*UpdateGiteaEndpointParams) WriteToRequest ¶
func (o *UpdateGiteaEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGiteaEndpointReader ¶
type UpdateGiteaEndpointReader struct {
// contains filtered or unexported fields
}
UpdateGiteaEndpointReader is a Reader for the UpdateGiteaEndpoint structure.
func (*UpdateGiteaEndpointReader) ReadResponse ¶
func (o *UpdateGiteaEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGithubEndpointDefault ¶
type UpdateGithubEndpointDefault struct {
Payload apiserver_params.APIErrorResponse
// contains filtered or unexported fields
}
UpdateGithubEndpointDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewUpdateGithubEndpointDefault ¶
func NewUpdateGithubEndpointDefault(code int) *UpdateGithubEndpointDefault
NewUpdateGithubEndpointDefault creates a UpdateGithubEndpointDefault with default headers values
func (*UpdateGithubEndpointDefault) Code ¶
func (o *UpdateGithubEndpointDefault) Code() int
Code gets the status code for the update github endpoint default response
func (*UpdateGithubEndpointDefault) Error ¶
func (o *UpdateGithubEndpointDefault) Error() string
func (*UpdateGithubEndpointDefault) GetPayload ¶
func (o *UpdateGithubEndpointDefault) GetPayload() apiserver_params.APIErrorResponse
func (*UpdateGithubEndpointDefault) IsClientError ¶
func (o *UpdateGithubEndpointDefault) IsClientError() bool
IsClientError returns true when this update github endpoint default response has a 4xx status code
func (*UpdateGithubEndpointDefault) IsCode ¶
func (o *UpdateGithubEndpointDefault) IsCode(code int) bool
IsCode returns true when this update github endpoint default response a status code equal to that given
func (*UpdateGithubEndpointDefault) IsRedirect ¶
func (o *UpdateGithubEndpointDefault) IsRedirect() bool
IsRedirect returns true when this update github endpoint default response has a 3xx status code
func (*UpdateGithubEndpointDefault) IsServerError ¶
func (o *UpdateGithubEndpointDefault) IsServerError() bool
IsServerError returns true when this update github endpoint default response has a 5xx status code
func (*UpdateGithubEndpointDefault) IsSuccess ¶
func (o *UpdateGithubEndpointDefault) IsSuccess() bool
IsSuccess returns true when this update github endpoint default response has a 2xx status code
func (*UpdateGithubEndpointDefault) String ¶
func (o *UpdateGithubEndpointDefault) String() string
type UpdateGithubEndpointOK ¶
type UpdateGithubEndpointOK struct {
Payload garm_params.ForgeEndpoint
}
UpdateGithubEndpointOK describes a response with status code 200, with default header values.
ForgeEndpoint
func NewUpdateGithubEndpointOK ¶
func NewUpdateGithubEndpointOK() *UpdateGithubEndpointOK
NewUpdateGithubEndpointOK creates a UpdateGithubEndpointOK with default headers values
func (*UpdateGithubEndpointOK) Code ¶
func (o *UpdateGithubEndpointOK) Code() int
Code gets the status code for the update github endpoint o k response
func (*UpdateGithubEndpointOK) Error ¶
func (o *UpdateGithubEndpointOK) Error() string
func (*UpdateGithubEndpointOK) GetPayload ¶
func (o *UpdateGithubEndpointOK) GetPayload() garm_params.ForgeEndpoint
func (*UpdateGithubEndpointOK) IsClientError ¶
func (o *UpdateGithubEndpointOK) IsClientError() bool
IsClientError returns true when this update github endpoint o k response has a 4xx status code
func (*UpdateGithubEndpointOK) IsCode ¶
func (o *UpdateGithubEndpointOK) IsCode(code int) bool
IsCode returns true when this update github endpoint o k response a status code equal to that given
func (*UpdateGithubEndpointOK) IsRedirect ¶
func (o *UpdateGithubEndpointOK) IsRedirect() bool
IsRedirect returns true when this update github endpoint o k response has a 3xx status code
func (*UpdateGithubEndpointOK) IsServerError ¶
func (o *UpdateGithubEndpointOK) IsServerError() bool
IsServerError returns true when this update github endpoint o k response has a 5xx status code
func (*UpdateGithubEndpointOK) IsSuccess ¶
func (o *UpdateGithubEndpointOK) IsSuccess() bool
IsSuccess returns true when this update github endpoint o k response has a 2xx status code
func (*UpdateGithubEndpointOK) String ¶
func (o *UpdateGithubEndpointOK) String() string
type UpdateGithubEndpointParams ¶
type UpdateGithubEndpointParams struct {
/* Body.
Parameters used when updating a GitHub endpoint.
*/
Body garm_params.UpdateGithubEndpointParams
/* Name.
The name of the GitHub endpoint.
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateGithubEndpointParams contains all the parameters to send to the API endpoint
for the update github endpoint operation. Typically these are written to a http.Request.
func NewUpdateGithubEndpointParams ¶
func NewUpdateGithubEndpointParams() *UpdateGithubEndpointParams
NewUpdateGithubEndpointParams creates a new UpdateGithubEndpointParams 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 NewUpdateGithubEndpointParamsWithContext ¶
func NewUpdateGithubEndpointParamsWithContext(ctx context.Context) *UpdateGithubEndpointParams
NewUpdateGithubEndpointParamsWithContext creates a new UpdateGithubEndpointParams object with the ability to set a context for a request.
func NewUpdateGithubEndpointParamsWithHTTPClient ¶
func NewUpdateGithubEndpointParamsWithHTTPClient(client *http.Client) *UpdateGithubEndpointParams
NewUpdateGithubEndpointParamsWithHTTPClient creates a new UpdateGithubEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGithubEndpointParamsWithTimeout ¶
func NewUpdateGithubEndpointParamsWithTimeout(timeout time.Duration) *UpdateGithubEndpointParams
NewUpdateGithubEndpointParamsWithTimeout creates a new UpdateGithubEndpointParams object with the ability to set a timeout on a request.
func (*UpdateGithubEndpointParams) SetBody ¶
func (o *UpdateGithubEndpointParams) SetBody(body garm_params.UpdateGithubEndpointParams)
SetBody adds the body to the update github endpoint params
func (*UpdateGithubEndpointParams) SetContext ¶
func (o *UpdateGithubEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the update github endpoint params
func (*UpdateGithubEndpointParams) SetDefaults ¶
func (o *UpdateGithubEndpointParams) SetDefaults()
SetDefaults hydrates default values in the update github endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGithubEndpointParams) SetHTTPClient ¶
func (o *UpdateGithubEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update github endpoint params
func (*UpdateGithubEndpointParams) SetName ¶
func (o *UpdateGithubEndpointParams) SetName(name string)
SetName adds the name to the update github endpoint params
func (*UpdateGithubEndpointParams) SetTimeout ¶
func (o *UpdateGithubEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update github endpoint params
func (*UpdateGithubEndpointParams) WithBody ¶
func (o *UpdateGithubEndpointParams) WithBody(body garm_params.UpdateGithubEndpointParams) *UpdateGithubEndpointParams
WithBody adds the body to the update github endpoint params
func (*UpdateGithubEndpointParams) WithContext ¶
func (o *UpdateGithubEndpointParams) WithContext(ctx context.Context) *UpdateGithubEndpointParams
WithContext adds the context to the update github endpoint params
func (*UpdateGithubEndpointParams) WithDefaults ¶
func (o *UpdateGithubEndpointParams) WithDefaults() *UpdateGithubEndpointParams
WithDefaults hydrates default values in the update github endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGithubEndpointParams) WithHTTPClient ¶
func (o *UpdateGithubEndpointParams) WithHTTPClient(client *http.Client) *UpdateGithubEndpointParams
WithHTTPClient adds the HTTPClient to the update github endpoint params
func (*UpdateGithubEndpointParams) WithName ¶
func (o *UpdateGithubEndpointParams) WithName(name string) *UpdateGithubEndpointParams
WithName adds the name to the update github endpoint params
func (*UpdateGithubEndpointParams) WithTimeout ¶
func (o *UpdateGithubEndpointParams) WithTimeout(timeout time.Duration) *UpdateGithubEndpointParams
WithTimeout adds the timeout to the update github endpoint params
func (*UpdateGithubEndpointParams) WriteToRequest ¶
func (o *UpdateGithubEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGithubEndpointReader ¶
type UpdateGithubEndpointReader struct {
// contains filtered or unexported fields
}
UpdateGithubEndpointReader is a Reader for the UpdateGithubEndpoint structure.
func (*UpdateGithubEndpointReader) ReadResponse ¶
func (o *UpdateGithubEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_gitea_endpoint_parameters.go
- create_gitea_endpoint_responses.go
- create_github_endpoint_parameters.go
- create_github_endpoint_responses.go
- delete_gitea_endpoint_parameters.go
- delete_gitea_endpoint_responses.go
- delete_github_endpoint_parameters.go
- delete_github_endpoint_responses.go
- endpoints_client.go
- get_gitea_endpoint_parameters.go
- get_gitea_endpoint_responses.go
- get_github_endpoint_parameters.go
- get_github_endpoint_responses.go
- list_gitea_endpoints_parameters.go
- list_gitea_endpoints_responses.go
- list_github_endpoints_parameters.go
- list_github_endpoints_responses.go
- update_gitea_endpoint_parameters.go
- update_gitea_endpoint_responses.go
- update_github_endpoint_parameters.go
- update_github_endpoint_responses.go