github_control_service

package
v0.77.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

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 github control service API

func (*Client) GithubControlServiceIssuePick

func (a *Client) GithubControlServiceIssuePick(params *GithubControlServiceIssuePickParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServiceIssuePickOK, error)

GithubControlServiceIssuePick github control service issue pick API

func (*Client) GithubControlServiceLogin

func (a *Client) GithubControlServiceLogin(params *GithubControlServiceLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServiceLoginOK, error)

GithubControlServiceLogin creates namespaces creates an h c p github namespaces and start billing for it

func (*Client) GithubControlServiceOAuthCallback

func (a *Client) GithubControlServiceOAuthCallback(params *GithubControlServiceOAuthCallbackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServiceOAuthCallbackOK, error)

GithubControlServiceOAuthCallback gets namespace returns the namespace for the h c p organization project combo this automatically creates the namespace if it doesn t yet exist

func (*Client) GithubControlServicePickInstallation

func (a *Client) GithubControlServicePickInstallation(params *GithubControlServicePickInstallationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServicePickInstallationOK, error)

GithubControlServicePickInstallation github control service pick installation API

func (*Client) GithubControlServicePickRepo

func (a *Client) GithubControlServicePickRepo(params *GithubControlServicePickRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServicePickRepoOK, error)

GithubControlServicePickRepo github control service pick repo API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GithubControlServiceIssuePick(params *GithubControlServiceIssuePickParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServiceIssuePickOK, error)

	GithubControlServiceLogin(params *GithubControlServiceLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServiceLoginOK, error)

	GithubControlServiceOAuthCallback(params *GithubControlServiceOAuthCallbackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServiceOAuthCallbackOK, error)

	GithubControlServicePickInstallation(params *GithubControlServicePickInstallationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServicePickInstallationOK, error)

	GithubControlServicePickRepo(params *GithubControlServicePickRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GithubControlServicePickRepoOK, 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 github control service API client.

type GithubControlServiceIssuePickDefault

type GithubControlServiceIssuePickDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GithubControlServiceIssuePickDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGithubControlServiceIssuePickDefault

func NewGithubControlServiceIssuePickDefault(code int) *GithubControlServiceIssuePickDefault

NewGithubControlServiceIssuePickDefault creates a GithubControlServiceIssuePickDefault with default headers values

func (*GithubControlServiceIssuePickDefault) Code

Code gets the status code for the github control service issue pick default response

func (*GithubControlServiceIssuePickDefault) Error

func (*GithubControlServiceIssuePickDefault) GetPayload

func (*GithubControlServiceIssuePickDefault) IsClientError

func (o *GithubControlServiceIssuePickDefault) IsClientError() bool

IsClientError returns true when this github control service issue pick default response has a 4xx status code

func (*GithubControlServiceIssuePickDefault) IsCode

IsCode returns true when this github control service issue pick default response a status code equal to that given

func (*GithubControlServiceIssuePickDefault) IsRedirect

IsRedirect returns true when this github control service issue pick default response has a 3xx status code

func (*GithubControlServiceIssuePickDefault) IsServerError

func (o *GithubControlServiceIssuePickDefault) IsServerError() bool

IsServerError returns true when this github control service issue pick default response has a 5xx status code

func (*GithubControlServiceIssuePickDefault) IsSuccess

IsSuccess returns true when this github control service issue pick default response has a 2xx status code

func (*GithubControlServiceIssuePickDefault) String

type GithubControlServiceIssuePickOK

type GithubControlServiceIssuePickOK struct {
	Payload *models.HashicorpCloudWaypointIssuePickResponse
}

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

A successful response.

func NewGithubControlServiceIssuePickOK

func NewGithubControlServiceIssuePickOK() *GithubControlServiceIssuePickOK

NewGithubControlServiceIssuePickOK creates a GithubControlServiceIssuePickOK with default headers values

func (*GithubControlServiceIssuePickOK) Code

Code gets the status code for the github control service issue pick o k response

func (*GithubControlServiceIssuePickOK) Error

func (*GithubControlServiceIssuePickOK) GetPayload

func (*GithubControlServiceIssuePickOK) IsClientError

func (o *GithubControlServiceIssuePickOK) IsClientError() bool

IsClientError returns true when this github control service issue pick o k response has a 4xx status code

func (*GithubControlServiceIssuePickOK) IsCode

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

IsCode returns true when this github control service issue pick o k response a status code equal to that given

func (*GithubControlServiceIssuePickOK) IsRedirect

func (o *GithubControlServiceIssuePickOK) IsRedirect() bool

IsRedirect returns true when this github control service issue pick o k response has a 3xx status code

func (*GithubControlServiceIssuePickOK) IsServerError

func (o *GithubControlServiceIssuePickOK) IsServerError() bool

IsServerError returns true when this github control service issue pick o k response has a 5xx status code

func (*GithubControlServiceIssuePickOK) IsSuccess

func (o *GithubControlServiceIssuePickOK) IsSuccess() bool

IsSuccess returns true when this github control service issue pick o k response has a 2xx status code

func (*GithubControlServiceIssuePickOK) String

type GithubControlServiceIssuePickParams

type GithubControlServiceIssuePickParams struct {

	// InstallationID.
	//
	// Format: int64
	InstallationID *string

	// RepoFullName.
	RepoFullName *string

	// SessionID.
	SessionID *string

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

GithubControlServiceIssuePickParams contains all the parameters to send to the API endpoint

for the github control service issue pick operation.

Typically these are written to a http.Request.

func NewGithubControlServiceIssuePickParams

func NewGithubControlServiceIssuePickParams() *GithubControlServiceIssuePickParams

NewGithubControlServiceIssuePickParams creates a new GithubControlServiceIssuePickParams 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 NewGithubControlServiceIssuePickParamsWithContext

func NewGithubControlServiceIssuePickParamsWithContext(ctx context.Context) *GithubControlServiceIssuePickParams

NewGithubControlServiceIssuePickParamsWithContext creates a new GithubControlServiceIssuePickParams object with the ability to set a context for a request.

func NewGithubControlServiceIssuePickParamsWithHTTPClient

func NewGithubControlServiceIssuePickParamsWithHTTPClient(client *http.Client) *GithubControlServiceIssuePickParams

NewGithubControlServiceIssuePickParamsWithHTTPClient creates a new GithubControlServiceIssuePickParams object with the ability to set a custom HTTPClient for a request.

func NewGithubControlServiceIssuePickParamsWithTimeout

func NewGithubControlServiceIssuePickParamsWithTimeout(timeout time.Duration) *GithubControlServiceIssuePickParams

NewGithubControlServiceIssuePickParamsWithTimeout creates a new GithubControlServiceIssuePickParams object with the ability to set a timeout on a request.

func (*GithubControlServiceIssuePickParams) SetContext

SetContext adds the context to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) SetDefaults

func (o *GithubControlServiceIssuePickParams) SetDefaults()

SetDefaults hydrates default values in the github control service issue pick params (not the query body).

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

func (*GithubControlServiceIssuePickParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) SetInstallationID

func (o *GithubControlServiceIssuePickParams) SetInstallationID(installationID *string)

SetInstallationID adds the installationId to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) SetRepoFullName

func (o *GithubControlServiceIssuePickParams) SetRepoFullName(repoFullName *string)

SetRepoFullName adds the repoFullName to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) SetSessionID

func (o *GithubControlServiceIssuePickParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) SetTimeout

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

SetTimeout adds the timeout to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) WithContext

WithContext adds the context to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) WithDefaults

WithDefaults hydrates default values in the github control service issue pick params (not the query body).

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

func (*GithubControlServiceIssuePickParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) WithInstallationID

func (o *GithubControlServiceIssuePickParams) WithInstallationID(installationID *string) *GithubControlServiceIssuePickParams

WithInstallationID adds the installationID to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) WithRepoFullName

WithRepoFullName adds the repoFullName to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) WithSessionID

WithSessionID adds the sessionID to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) WithTimeout

WithTimeout adds the timeout to the github control service issue pick params

func (*GithubControlServiceIssuePickParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GithubControlServiceIssuePickReader

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

GithubControlServiceIssuePickReader is a Reader for the GithubControlServiceIssuePick structure.

func (*GithubControlServiceIssuePickReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GithubControlServiceLoginDefault

type GithubControlServiceLoginDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GithubControlServiceLoginDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGithubControlServiceLoginDefault

func NewGithubControlServiceLoginDefault(code int) *GithubControlServiceLoginDefault

NewGithubControlServiceLoginDefault creates a GithubControlServiceLoginDefault with default headers values

func (*GithubControlServiceLoginDefault) Code

Code gets the status code for the github control service login default response

func (*GithubControlServiceLoginDefault) Error

func (*GithubControlServiceLoginDefault) GetPayload

func (*GithubControlServiceLoginDefault) IsClientError

func (o *GithubControlServiceLoginDefault) IsClientError() bool

IsClientError returns true when this github control service login default response has a 4xx status code

func (*GithubControlServiceLoginDefault) IsCode

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

IsCode returns true when this github control service login default response a status code equal to that given

func (*GithubControlServiceLoginDefault) IsRedirect

func (o *GithubControlServiceLoginDefault) IsRedirect() bool

IsRedirect returns true when this github control service login default response has a 3xx status code

func (*GithubControlServiceLoginDefault) IsServerError

func (o *GithubControlServiceLoginDefault) IsServerError() bool

IsServerError returns true when this github control service login default response has a 5xx status code

func (*GithubControlServiceLoginDefault) IsSuccess

func (o *GithubControlServiceLoginDefault) IsSuccess() bool

IsSuccess returns true when this github control service login default response has a 2xx status code

func (*GithubControlServiceLoginDefault) String

type GithubControlServiceLoginOK

type GithubControlServiceLoginOK struct {
	Payload *models.HashicorpCloudWaypointLoginResponse
}

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

A successful response.

func NewGithubControlServiceLoginOK

func NewGithubControlServiceLoginOK() *GithubControlServiceLoginOK

NewGithubControlServiceLoginOK creates a GithubControlServiceLoginOK with default headers values

func (*GithubControlServiceLoginOK) Code

func (o *GithubControlServiceLoginOK) Code() int

Code gets the status code for the github control service login o k response

func (*GithubControlServiceLoginOK) Error

func (*GithubControlServiceLoginOK) GetPayload

func (*GithubControlServiceLoginOK) IsClientError

func (o *GithubControlServiceLoginOK) IsClientError() bool

IsClientError returns true when this github control service login o k response has a 4xx status code

func (*GithubControlServiceLoginOK) IsCode

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

IsCode returns true when this github control service login o k response a status code equal to that given

func (*GithubControlServiceLoginOK) IsRedirect

func (o *GithubControlServiceLoginOK) IsRedirect() bool

IsRedirect returns true when this github control service login o k response has a 3xx status code

func (*GithubControlServiceLoginOK) IsServerError

func (o *GithubControlServiceLoginOK) IsServerError() bool

IsServerError returns true when this github control service login o k response has a 5xx status code

func (*GithubControlServiceLoginOK) IsSuccess

func (o *GithubControlServiceLoginOK) IsSuccess() bool

IsSuccess returns true when this github control service login o k response has a 2xx status code

func (*GithubControlServiceLoginOK) String

func (o *GithubControlServiceLoginOK) String() string

type GithubControlServiceLoginParams

type GithubControlServiceLoginParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GithubControlServiceLoginParams contains all the parameters to send to the API endpoint

for the github control service login operation.

Typically these are written to a http.Request.

func NewGithubControlServiceLoginParams

func NewGithubControlServiceLoginParams() *GithubControlServiceLoginParams

NewGithubControlServiceLoginParams creates a new GithubControlServiceLoginParams 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 NewGithubControlServiceLoginParamsWithContext

func NewGithubControlServiceLoginParamsWithContext(ctx context.Context) *GithubControlServiceLoginParams

NewGithubControlServiceLoginParamsWithContext creates a new GithubControlServiceLoginParams object with the ability to set a context for a request.

func NewGithubControlServiceLoginParamsWithHTTPClient

func NewGithubControlServiceLoginParamsWithHTTPClient(client *http.Client) *GithubControlServiceLoginParams

NewGithubControlServiceLoginParamsWithHTTPClient creates a new GithubControlServiceLoginParams object with the ability to set a custom HTTPClient for a request.

func NewGithubControlServiceLoginParamsWithTimeout

func NewGithubControlServiceLoginParamsWithTimeout(timeout time.Duration) *GithubControlServiceLoginParams

NewGithubControlServiceLoginParamsWithTimeout creates a new GithubControlServiceLoginParams object with the ability to set a timeout on a request.

func (*GithubControlServiceLoginParams) SetContext

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

SetContext adds the context to the github control service login params

func (*GithubControlServiceLoginParams) SetDefaults

func (o *GithubControlServiceLoginParams) SetDefaults()

SetDefaults hydrates default values in the github control service login params (not the query body).

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

func (*GithubControlServiceLoginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the github control service login params

func (*GithubControlServiceLoginParams) SetTimeout

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

SetTimeout adds the timeout to the github control service login params

func (*GithubControlServiceLoginParams) WithContext

WithContext adds the context to the github control service login params

func (*GithubControlServiceLoginParams) WithDefaults

WithDefaults hydrates default values in the github control service login params (not the query body).

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

func (*GithubControlServiceLoginParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the github control service login params

func (*GithubControlServiceLoginParams) WithTimeout

WithTimeout adds the timeout to the github control service login params

func (*GithubControlServiceLoginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GithubControlServiceLoginReader

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

GithubControlServiceLoginReader is a Reader for the GithubControlServiceLogin structure.

func (*GithubControlServiceLoginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GithubControlServiceOAuthCallbackDefault

type GithubControlServiceOAuthCallbackDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GithubControlServiceOAuthCallbackDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGithubControlServiceOAuthCallbackDefault

func NewGithubControlServiceOAuthCallbackDefault(code int) *GithubControlServiceOAuthCallbackDefault

NewGithubControlServiceOAuthCallbackDefault creates a GithubControlServiceOAuthCallbackDefault with default headers values

func (*GithubControlServiceOAuthCallbackDefault) Code

Code gets the status code for the github control service o auth callback default response

func (*GithubControlServiceOAuthCallbackDefault) Error

func (*GithubControlServiceOAuthCallbackDefault) GetPayload

func (*GithubControlServiceOAuthCallbackDefault) IsClientError

IsClientError returns true when this github control service o auth callback default response has a 4xx status code

func (*GithubControlServiceOAuthCallbackDefault) IsCode

IsCode returns true when this github control service o auth callback default response a status code equal to that given

func (*GithubControlServiceOAuthCallbackDefault) IsRedirect

IsRedirect returns true when this github control service o auth callback default response has a 3xx status code

func (*GithubControlServiceOAuthCallbackDefault) IsServerError

IsServerError returns true when this github control service o auth callback default response has a 5xx status code

func (*GithubControlServiceOAuthCallbackDefault) IsSuccess

IsSuccess returns true when this github control service o auth callback default response has a 2xx status code

func (*GithubControlServiceOAuthCallbackDefault) String

type GithubControlServiceOAuthCallbackOK

type GithubControlServiceOAuthCallbackOK struct {
	Payload *models.HashicorpCloudWaypointOAuthCallbackResponse
}

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

A successful response.

func NewGithubControlServiceOAuthCallbackOK

func NewGithubControlServiceOAuthCallbackOK() *GithubControlServiceOAuthCallbackOK

NewGithubControlServiceOAuthCallbackOK creates a GithubControlServiceOAuthCallbackOK with default headers values

func (*GithubControlServiceOAuthCallbackOK) Code

Code gets the status code for the github control service o auth callback o k response

func (*GithubControlServiceOAuthCallbackOK) Error

func (*GithubControlServiceOAuthCallbackOK) GetPayload

func (*GithubControlServiceOAuthCallbackOK) IsClientError

func (o *GithubControlServiceOAuthCallbackOK) IsClientError() bool

IsClientError returns true when this github control service o auth callback o k response has a 4xx status code

func (*GithubControlServiceOAuthCallbackOK) IsCode

IsCode returns true when this github control service o auth callback o k response a status code equal to that given

func (*GithubControlServiceOAuthCallbackOK) IsRedirect

func (o *GithubControlServiceOAuthCallbackOK) IsRedirect() bool

IsRedirect returns true when this github control service o auth callback o k response has a 3xx status code

func (*GithubControlServiceOAuthCallbackOK) IsServerError

func (o *GithubControlServiceOAuthCallbackOK) IsServerError() bool

IsServerError returns true when this github control service o auth callback o k response has a 5xx status code

func (*GithubControlServiceOAuthCallbackOK) IsSuccess

IsSuccess returns true when this github control service o auth callback o k response has a 2xx status code

func (*GithubControlServiceOAuthCallbackOK) String

type GithubControlServiceOAuthCallbackParams

type GithubControlServiceOAuthCallbackParams struct {

	// Code.
	Code *string

	// State.
	State *string

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

GithubControlServiceOAuthCallbackParams contains all the parameters to send to the API endpoint

for the github control service o auth callback operation.

Typically these are written to a http.Request.

func NewGithubControlServiceOAuthCallbackParams

func NewGithubControlServiceOAuthCallbackParams() *GithubControlServiceOAuthCallbackParams

NewGithubControlServiceOAuthCallbackParams creates a new GithubControlServiceOAuthCallbackParams 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 NewGithubControlServiceOAuthCallbackParamsWithContext

func NewGithubControlServiceOAuthCallbackParamsWithContext(ctx context.Context) *GithubControlServiceOAuthCallbackParams

NewGithubControlServiceOAuthCallbackParamsWithContext creates a new GithubControlServiceOAuthCallbackParams object with the ability to set a context for a request.

func NewGithubControlServiceOAuthCallbackParamsWithHTTPClient

func NewGithubControlServiceOAuthCallbackParamsWithHTTPClient(client *http.Client) *GithubControlServiceOAuthCallbackParams

NewGithubControlServiceOAuthCallbackParamsWithHTTPClient creates a new GithubControlServiceOAuthCallbackParams object with the ability to set a custom HTTPClient for a request.

func NewGithubControlServiceOAuthCallbackParamsWithTimeout

func NewGithubControlServiceOAuthCallbackParamsWithTimeout(timeout time.Duration) *GithubControlServiceOAuthCallbackParams

NewGithubControlServiceOAuthCallbackParamsWithTimeout creates a new GithubControlServiceOAuthCallbackParams object with the ability to set a timeout on a request.

func (*GithubControlServiceOAuthCallbackParams) SetCode

SetCode adds the code to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) SetContext

SetContext adds the context to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) SetDefaults

func (o *GithubControlServiceOAuthCallbackParams) SetDefaults()

SetDefaults hydrates default values in the github control service o auth callback params (not the query body).

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

func (*GithubControlServiceOAuthCallbackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) SetState

func (o *GithubControlServiceOAuthCallbackParams) SetState(state *string)

SetState adds the state to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) SetTimeout

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

SetTimeout adds the timeout to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) WithCode

WithCode adds the code to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) WithContext

WithContext adds the context to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) WithDefaults

WithDefaults hydrates default values in the github control service o auth callback params (not the query body).

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

func (*GithubControlServiceOAuthCallbackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) WithState

WithState adds the state to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) WithTimeout

WithTimeout adds the timeout to the github control service o auth callback params

func (*GithubControlServiceOAuthCallbackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GithubControlServiceOAuthCallbackReader

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

GithubControlServiceOAuthCallbackReader is a Reader for the GithubControlServiceOAuthCallback structure.

func (*GithubControlServiceOAuthCallbackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GithubControlServicePickInstallationDefault

type GithubControlServicePickInstallationDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GithubControlServicePickInstallationDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGithubControlServicePickInstallationDefault

func NewGithubControlServicePickInstallationDefault(code int) *GithubControlServicePickInstallationDefault

NewGithubControlServicePickInstallationDefault creates a GithubControlServicePickInstallationDefault with default headers values

func (*GithubControlServicePickInstallationDefault) Code

Code gets the status code for the github control service pick installation default response

func (*GithubControlServicePickInstallationDefault) Error

func (*GithubControlServicePickInstallationDefault) GetPayload

func (*GithubControlServicePickInstallationDefault) IsClientError

IsClientError returns true when this github control service pick installation default response has a 4xx status code

func (*GithubControlServicePickInstallationDefault) IsCode

IsCode returns true when this github control service pick installation default response a status code equal to that given

func (*GithubControlServicePickInstallationDefault) IsRedirect

IsRedirect returns true when this github control service pick installation default response has a 3xx status code

func (*GithubControlServicePickInstallationDefault) IsServerError

IsServerError returns true when this github control service pick installation default response has a 5xx status code

func (*GithubControlServicePickInstallationDefault) IsSuccess

IsSuccess returns true when this github control service pick installation default response has a 2xx status code

func (*GithubControlServicePickInstallationDefault) String

type GithubControlServicePickInstallationOK

type GithubControlServicePickInstallationOK struct {
	Payload *models.HashicorpCloudWaypointPickInstallationResponse
}

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

A successful response.

func NewGithubControlServicePickInstallationOK

func NewGithubControlServicePickInstallationOK() *GithubControlServicePickInstallationOK

NewGithubControlServicePickInstallationOK creates a GithubControlServicePickInstallationOK with default headers values

func (*GithubControlServicePickInstallationOK) Code

Code gets the status code for the github control service pick installation o k response

func (*GithubControlServicePickInstallationOK) Error

func (*GithubControlServicePickInstallationOK) GetPayload

func (*GithubControlServicePickInstallationOK) IsClientError

func (o *GithubControlServicePickInstallationOK) IsClientError() bool

IsClientError returns true when this github control service pick installation o k response has a 4xx status code

func (*GithubControlServicePickInstallationOK) IsCode

IsCode returns true when this github control service pick installation o k response a status code equal to that given

func (*GithubControlServicePickInstallationOK) IsRedirect

IsRedirect returns true when this github control service pick installation o k response has a 3xx status code

func (*GithubControlServicePickInstallationOK) IsServerError

func (o *GithubControlServicePickInstallationOK) IsServerError() bool

IsServerError returns true when this github control service pick installation o k response has a 5xx status code

func (*GithubControlServicePickInstallationOK) IsSuccess

IsSuccess returns true when this github control service pick installation o k response has a 2xx status code

func (*GithubControlServicePickInstallationOK) String

type GithubControlServicePickInstallationParams

type GithubControlServicePickInstallationParams struct {

	// SessionID.
	SessionID *string

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

GithubControlServicePickInstallationParams contains all the parameters to send to the API endpoint

for the github control service pick installation operation.

Typically these are written to a http.Request.

func NewGithubControlServicePickInstallationParams

func NewGithubControlServicePickInstallationParams() *GithubControlServicePickInstallationParams

NewGithubControlServicePickInstallationParams creates a new GithubControlServicePickInstallationParams 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 NewGithubControlServicePickInstallationParamsWithContext

func NewGithubControlServicePickInstallationParamsWithContext(ctx context.Context) *GithubControlServicePickInstallationParams

NewGithubControlServicePickInstallationParamsWithContext creates a new GithubControlServicePickInstallationParams object with the ability to set a context for a request.

func NewGithubControlServicePickInstallationParamsWithHTTPClient

func NewGithubControlServicePickInstallationParamsWithHTTPClient(client *http.Client) *GithubControlServicePickInstallationParams

NewGithubControlServicePickInstallationParamsWithHTTPClient creates a new GithubControlServicePickInstallationParams object with the ability to set a custom HTTPClient for a request.

func NewGithubControlServicePickInstallationParamsWithTimeout

func NewGithubControlServicePickInstallationParamsWithTimeout(timeout time.Duration) *GithubControlServicePickInstallationParams

NewGithubControlServicePickInstallationParamsWithTimeout creates a new GithubControlServicePickInstallationParams object with the ability to set a timeout on a request.

func (*GithubControlServicePickInstallationParams) SetContext

SetContext adds the context to the github control service pick installation params

func (*GithubControlServicePickInstallationParams) SetDefaults

SetDefaults hydrates default values in the github control service pick installation params (not the query body).

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

func (*GithubControlServicePickInstallationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the github control service pick installation params

func (*GithubControlServicePickInstallationParams) SetSessionID

func (o *GithubControlServicePickInstallationParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the github control service pick installation params

func (*GithubControlServicePickInstallationParams) SetTimeout

SetTimeout adds the timeout to the github control service pick installation params

func (*GithubControlServicePickInstallationParams) WithContext

WithContext adds the context to the github control service pick installation params

func (*GithubControlServicePickInstallationParams) WithDefaults

WithDefaults hydrates default values in the github control service pick installation params (not the query body).

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

func (*GithubControlServicePickInstallationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the github control service pick installation params

func (*GithubControlServicePickInstallationParams) WithSessionID

WithSessionID adds the sessionID to the github control service pick installation params

func (*GithubControlServicePickInstallationParams) WithTimeout

WithTimeout adds the timeout to the github control service pick installation params

func (*GithubControlServicePickInstallationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GithubControlServicePickInstallationReader

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

GithubControlServicePickInstallationReader is a Reader for the GithubControlServicePickInstallation structure.

func (*GithubControlServicePickInstallationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GithubControlServicePickRepoDefault

type GithubControlServicePickRepoDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GithubControlServicePickRepoDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGithubControlServicePickRepoDefault

func NewGithubControlServicePickRepoDefault(code int) *GithubControlServicePickRepoDefault

NewGithubControlServicePickRepoDefault creates a GithubControlServicePickRepoDefault with default headers values

func (*GithubControlServicePickRepoDefault) Code

Code gets the status code for the github control service pick repo default response

func (*GithubControlServicePickRepoDefault) Error

func (*GithubControlServicePickRepoDefault) GetPayload

func (*GithubControlServicePickRepoDefault) IsClientError

func (o *GithubControlServicePickRepoDefault) IsClientError() bool

IsClientError returns true when this github control service pick repo default response has a 4xx status code

func (*GithubControlServicePickRepoDefault) IsCode

IsCode returns true when this github control service pick repo default response a status code equal to that given

func (*GithubControlServicePickRepoDefault) IsRedirect

func (o *GithubControlServicePickRepoDefault) IsRedirect() bool

IsRedirect returns true when this github control service pick repo default response has a 3xx status code

func (*GithubControlServicePickRepoDefault) IsServerError

func (o *GithubControlServicePickRepoDefault) IsServerError() bool

IsServerError returns true when this github control service pick repo default response has a 5xx status code

func (*GithubControlServicePickRepoDefault) IsSuccess

IsSuccess returns true when this github control service pick repo default response has a 2xx status code

func (*GithubControlServicePickRepoDefault) String

type GithubControlServicePickRepoOK

type GithubControlServicePickRepoOK struct {
	Payload *models.HashicorpCloudWaypointPickRepoResponse
}

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

A successful response.

func NewGithubControlServicePickRepoOK

func NewGithubControlServicePickRepoOK() *GithubControlServicePickRepoOK

NewGithubControlServicePickRepoOK creates a GithubControlServicePickRepoOK with default headers values

func (*GithubControlServicePickRepoOK) Code

Code gets the status code for the github control service pick repo o k response

func (*GithubControlServicePickRepoOK) Error

func (*GithubControlServicePickRepoOK) GetPayload

func (*GithubControlServicePickRepoOK) IsClientError

func (o *GithubControlServicePickRepoOK) IsClientError() bool

IsClientError returns true when this github control service pick repo o k response has a 4xx status code

func (*GithubControlServicePickRepoOK) IsCode

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

IsCode returns true when this github control service pick repo o k response a status code equal to that given

func (*GithubControlServicePickRepoOK) IsRedirect

func (o *GithubControlServicePickRepoOK) IsRedirect() bool

IsRedirect returns true when this github control service pick repo o k response has a 3xx status code

func (*GithubControlServicePickRepoOK) IsServerError

func (o *GithubControlServicePickRepoOK) IsServerError() bool

IsServerError returns true when this github control service pick repo o k response has a 5xx status code

func (*GithubControlServicePickRepoOK) IsSuccess

func (o *GithubControlServicePickRepoOK) IsSuccess() bool

IsSuccess returns true when this github control service pick repo o k response has a 2xx status code

func (*GithubControlServicePickRepoOK) String

type GithubControlServicePickRepoParams

type GithubControlServicePickRepoParams struct {

	// InstallationID.
	//
	// Format: int64
	InstallationID *string

	// SessionID.
	SessionID *string

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

GithubControlServicePickRepoParams contains all the parameters to send to the API endpoint

for the github control service pick repo operation.

Typically these are written to a http.Request.

func NewGithubControlServicePickRepoParams

func NewGithubControlServicePickRepoParams() *GithubControlServicePickRepoParams

NewGithubControlServicePickRepoParams creates a new GithubControlServicePickRepoParams 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 NewGithubControlServicePickRepoParamsWithContext

func NewGithubControlServicePickRepoParamsWithContext(ctx context.Context) *GithubControlServicePickRepoParams

NewGithubControlServicePickRepoParamsWithContext creates a new GithubControlServicePickRepoParams object with the ability to set a context for a request.

func NewGithubControlServicePickRepoParamsWithHTTPClient

func NewGithubControlServicePickRepoParamsWithHTTPClient(client *http.Client) *GithubControlServicePickRepoParams

NewGithubControlServicePickRepoParamsWithHTTPClient creates a new GithubControlServicePickRepoParams object with the ability to set a custom HTTPClient for a request.

func NewGithubControlServicePickRepoParamsWithTimeout

func NewGithubControlServicePickRepoParamsWithTimeout(timeout time.Duration) *GithubControlServicePickRepoParams

NewGithubControlServicePickRepoParamsWithTimeout creates a new GithubControlServicePickRepoParams object with the ability to set a timeout on a request.

func (*GithubControlServicePickRepoParams) SetContext

SetContext adds the context to the github control service pick repo params

func (*GithubControlServicePickRepoParams) SetDefaults

func (o *GithubControlServicePickRepoParams) SetDefaults()

SetDefaults hydrates default values in the github control service pick repo params (not the query body).

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

func (*GithubControlServicePickRepoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the github control service pick repo params

func (*GithubControlServicePickRepoParams) SetInstallationID

func (o *GithubControlServicePickRepoParams) SetInstallationID(installationID *string)

SetInstallationID adds the installationId to the github control service pick repo params

func (*GithubControlServicePickRepoParams) SetSessionID

func (o *GithubControlServicePickRepoParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the github control service pick repo params

func (*GithubControlServicePickRepoParams) SetTimeout

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

SetTimeout adds the timeout to the github control service pick repo params

func (*GithubControlServicePickRepoParams) WithContext

WithContext adds the context to the github control service pick repo params

func (*GithubControlServicePickRepoParams) WithDefaults

WithDefaults hydrates default values in the github control service pick repo params (not the query body).

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

func (*GithubControlServicePickRepoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the github control service pick repo params

func (*GithubControlServicePickRepoParams) WithInstallationID

func (o *GithubControlServicePickRepoParams) WithInstallationID(installationID *string) *GithubControlServicePickRepoParams

WithInstallationID adds the installationID to the github control service pick repo params

func (*GithubControlServicePickRepoParams) WithSessionID

WithSessionID adds the sessionID to the github control service pick repo params

func (*GithubControlServicePickRepoParams) WithTimeout

WithTimeout adds the timeout to the github control service pick repo params

func (*GithubControlServicePickRepoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GithubControlServicePickRepoReader

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

GithubControlServicePickRepoReader is a Reader for the GithubControlServicePickRepo structure.

func (*GithubControlServicePickRepoReader) ReadResponse

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