endpoints

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*CreateGithubEndpointDefault) GetPayload

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 (*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

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

WithBody adds the body to the create github endpoint params

func (*CreateGithubEndpointParams) WithContext

WithContext adds the context to the create github endpoint params

func (*CreateGithubEndpointParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create github endpoint params

func (*CreateGithubEndpointParams) WithTimeout

WithTimeout adds the timeout to the create github endpoint params

func (*CreateGithubEndpointParams) WriteToRequest

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

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

WithContext adds the context to the delete github endpoint params

func (*DeleteGithubEndpointParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete github endpoint params

func (*DeleteGithubEndpointParams) WithName

WithName adds the name to the delete github endpoint params

func (*DeleteGithubEndpointParams) WithTimeout

WithTimeout adds the timeout to the delete github endpoint params

func (*DeleteGithubEndpointParams) WriteToRequest

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 (*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 (*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

WithContext adds the context to the get github endpoint params

func (*GetGithubEndpointParams) WithDefaults

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

WithName adds the name to the get github endpoint params

func (*GetGithubEndpointParams) WithTimeout

WithTimeout adds the timeout to the get github endpoint params

func (*GetGithubEndpointParams) WriteToRequest

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

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 (*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

WithContext adds the context to the list github endpoints params

func (*ListGithubEndpointsParams) WithDefaults

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

WithTimeout adds the timeout to the list github endpoints params

func (*ListGithubEndpointsParams) WriteToRequest

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

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 (*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

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

WithBody adds the body to the update github endpoint params

func (*UpdateGithubEndpointParams) WithContext

WithContext adds the context to the update github endpoint params

func (*UpdateGithubEndpointParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update github endpoint params

func (*UpdateGithubEndpointParams) WithName

WithName adds the name to the update github endpoint params

func (*UpdateGithubEndpointParams) WithTimeout

WithTimeout adds the timeout to the update github endpoint params

func (*UpdateGithubEndpointParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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