Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateGithubEndpoint(params *CreateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateGithubEndpointOK, error)
- func (a *Client) DeleteGithubEndpoint(params *DeleteGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) GetGithubEndpoint(params *GetGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGithubEndpointOK, error)
- func (a *Client) ListGithubEndpoints(params *ListGithubEndpointsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGithubEndpointsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGithubEndpoint(params *UpdateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateGithubEndpointOK, error)
- type ClientOption
- type ClientService
- 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.GithubEndpoint
- 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 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 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.GithubEndpoint
- 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 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.GithubEndpoints
- 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 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.GithubEndpoint
- 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) CreateGithubEndpoint ¶
func (a *Client) CreateGithubEndpoint(params *CreateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGithubEndpointOK, error)
CreateGithubEndpoint creates a git hub endpoint
func (*Client) DeleteGithubEndpoint ¶
func (a *Client) DeleteGithubEndpoint(params *DeleteGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteGithubEndpoint deletes a git hub 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) 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) 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 { CreateGithubEndpoint(params *CreateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGithubEndpointOK, error) DeleteGithubEndpoint(params *DeleteGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error GetGithubEndpoint(params *GetGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGithubEndpointOK, error) ListGithubEndpoints(params *ListGithubEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGithubEndpointsOK, 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 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.GithubEndpoint
}
CreateGithubEndpointOK describes a response with status code 200, with default header values.
GithubEndpoint
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.GithubEndpoint
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 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 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.GithubEndpoint
}
GetGithubEndpointOK describes a response with status code 200, with default header values.
GithubEndpoint
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.GithubEndpoint
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 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.GithubEndpoints
}
ListGithubEndpointsOK describes a response with status code 200, with default header values.
GithubEndpoints
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.GithubEndpoints
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 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.GithubEndpoint
}
UpdateGithubEndpointOK describes a response with status code 200, with default header values.
GithubEndpoint
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.GithubEndpoint
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_github_endpoint_parameters.go
- create_github_endpoint_responses.go
- delete_github_endpoint_parameters.go
- delete_github_endpoint_responses.go
- endpoints_client.go
- get_github_endpoint_parameters.go
- get_github_endpoint_responses.go
- list_github_endpoints_parameters.go
- list_github_endpoints_responses.go
- update_github_endpoint_parameters.go
- update_github_endpoint_responses.go