waypoint_control_service

package
v0.76.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 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 waypoint control service API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) WaypointControlServiceAttachGithub

func (a *Client) WaypointControlServiceAttachGithub(params *WaypointControlServiceAttachGithubParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceAttachGithubOK, error)

WaypointControlServiceAttachGithub waypoint control service attach github API

func (*Client) WaypointControlServiceCreateNamespace

func (a *Client) WaypointControlServiceCreateNamespace(params *WaypointControlServiceCreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceCreateNamespaceOK, error)

WaypointControlServiceCreateNamespace creates namespaces creates an h c p waypoint namespaces and start billing for it

func (*Client) WaypointControlServiceDeleteNamespace

func (a *Client) WaypointControlServiceDeleteNamespace(params *WaypointControlServiceDeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceDeleteNamespaceOK, error)

WaypointControlServiceDeleteNamespace deletes namespace deletes an h c p waypoint namespace

func (*Client) WaypointControlServiceDetachGithub

func (a *Client) WaypointControlServiceDetachGithub(params *WaypointControlServiceDetachGithubParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceDetachGithubOK, error)

WaypointControlServiceDetachGithub waypoint control service detach github API

func (*Client) WaypointControlServiceGetNamespace

func (a *Client) WaypointControlServiceGetNamespace(params *WaypointControlServiceGetNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceGetNamespaceOK, error)

WaypointControlServiceGetNamespace 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) WaypointControlServiceGetNamespaceInfo

WaypointControlServiceGetNamespaceInfo gets namespace info returns basic information about the namespace the user exists in

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	WaypointControlServiceAttachGithub(params *WaypointControlServiceAttachGithubParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceAttachGithubOK, error)

	WaypointControlServiceCreateNamespace(params *WaypointControlServiceCreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceCreateNamespaceOK, error)

	WaypointControlServiceDeleteNamespace(params *WaypointControlServiceDeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceDeleteNamespaceOK, error)

	WaypointControlServiceDetachGithub(params *WaypointControlServiceDetachGithubParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceDetachGithubOK, error)

	WaypointControlServiceGetNamespace(params *WaypointControlServiceGetNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceGetNamespaceOK, error)

	WaypointControlServiceGetNamespaceInfo(params *WaypointControlServiceGetNamespaceInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WaypointControlServiceGetNamespaceInfoOK, 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 waypoint control service API client.

type WaypointControlServiceAttachGithubDefault

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

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

An unexpected error response.

func NewWaypointControlServiceAttachGithubDefault

func NewWaypointControlServiceAttachGithubDefault(code int) *WaypointControlServiceAttachGithubDefault

NewWaypointControlServiceAttachGithubDefault creates a WaypointControlServiceAttachGithubDefault with default headers values

func (*WaypointControlServiceAttachGithubDefault) Code

Code gets the status code for the waypoint control service attach github default response

func (*WaypointControlServiceAttachGithubDefault) Error

func (*WaypointControlServiceAttachGithubDefault) GetPayload

func (*WaypointControlServiceAttachGithubDefault) IsClientError

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

func (*WaypointControlServiceAttachGithubDefault) IsCode

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

func (*WaypointControlServiceAttachGithubDefault) IsRedirect

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

func (*WaypointControlServiceAttachGithubDefault) IsServerError

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

func (*WaypointControlServiceAttachGithubDefault) IsSuccess

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

func (*WaypointControlServiceAttachGithubDefault) String

type WaypointControlServiceAttachGithubOK

type WaypointControlServiceAttachGithubOK struct {
	Payload models.HashicorpCloudWaypointAttachGithubResponse
}

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

A successful response.

func NewWaypointControlServiceAttachGithubOK

func NewWaypointControlServiceAttachGithubOK() *WaypointControlServiceAttachGithubOK

NewWaypointControlServiceAttachGithubOK creates a WaypointControlServiceAttachGithubOK with default headers values

func (*WaypointControlServiceAttachGithubOK) Code

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

func (*WaypointControlServiceAttachGithubOK) Error

func (*WaypointControlServiceAttachGithubOK) GetPayload

func (*WaypointControlServiceAttachGithubOK) IsClientError

func (o *WaypointControlServiceAttachGithubOK) IsClientError() bool

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

func (*WaypointControlServiceAttachGithubOK) IsCode

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

func (*WaypointControlServiceAttachGithubOK) IsRedirect

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

func (*WaypointControlServiceAttachGithubOK) IsServerError

func (o *WaypointControlServiceAttachGithubOK) IsServerError() bool

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

func (*WaypointControlServiceAttachGithubOK) IsSuccess

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

func (*WaypointControlServiceAttachGithubOK) String

type WaypointControlServiceAttachGithubParams

type WaypointControlServiceAttachGithubParams struct {

	// GithubAuthToken.
	GithubAuthToken *string

	// NamespaceID.
	NamespaceID string

	// Project.
	Project *string

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

WaypointControlServiceAttachGithubParams contains all the parameters to send to the API endpoint

for the waypoint control service attach github operation.

Typically these are written to a http.Request.

func NewWaypointControlServiceAttachGithubParams

func NewWaypointControlServiceAttachGithubParams() *WaypointControlServiceAttachGithubParams

NewWaypointControlServiceAttachGithubParams creates a new WaypointControlServiceAttachGithubParams 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 NewWaypointControlServiceAttachGithubParamsWithContext

func NewWaypointControlServiceAttachGithubParamsWithContext(ctx context.Context) *WaypointControlServiceAttachGithubParams

NewWaypointControlServiceAttachGithubParamsWithContext creates a new WaypointControlServiceAttachGithubParams object with the ability to set a context for a request.

func NewWaypointControlServiceAttachGithubParamsWithHTTPClient

func NewWaypointControlServiceAttachGithubParamsWithHTTPClient(client *http.Client) *WaypointControlServiceAttachGithubParams

NewWaypointControlServiceAttachGithubParamsWithHTTPClient creates a new WaypointControlServiceAttachGithubParams object with the ability to set a custom HTTPClient for a request.

func NewWaypointControlServiceAttachGithubParamsWithTimeout

func NewWaypointControlServiceAttachGithubParamsWithTimeout(timeout time.Duration) *WaypointControlServiceAttachGithubParams

NewWaypointControlServiceAttachGithubParamsWithTimeout creates a new WaypointControlServiceAttachGithubParams object with the ability to set a timeout on a request.

func (*WaypointControlServiceAttachGithubParams) SetContext

SetContext adds the context to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) SetDefaults

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

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

func (*WaypointControlServiceAttachGithubParams) SetGithubAuthToken

func (o *WaypointControlServiceAttachGithubParams) SetGithubAuthToken(githubAuthToken *string)

SetGithubAuthToken adds the githubAuthToken to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) SetNamespaceID

func (o *WaypointControlServiceAttachGithubParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) SetProject

func (o *WaypointControlServiceAttachGithubParams) SetProject(project *string)

SetProject adds the project to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) SetTimeout

SetTimeout adds the timeout to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) WithContext

WithContext adds the context to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) WithDefaults

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

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

func (*WaypointControlServiceAttachGithubParams) WithGithubAuthToken

WithGithubAuthToken adds the githubAuthToken to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) WithNamespaceID

WithNamespaceID adds the namespaceID to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) WithProject

WithProject adds the project to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) WithTimeout

WithTimeout adds the timeout to the waypoint control service attach github params

func (*WaypointControlServiceAttachGithubParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WaypointControlServiceAttachGithubReader

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

WaypointControlServiceAttachGithubReader is a Reader for the WaypointControlServiceAttachGithub structure.

func (*WaypointControlServiceAttachGithubReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WaypointControlServiceCreateNamespaceDefault

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

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

An unexpected error response.

func NewWaypointControlServiceCreateNamespaceDefault

func NewWaypointControlServiceCreateNamespaceDefault(code int) *WaypointControlServiceCreateNamespaceDefault

NewWaypointControlServiceCreateNamespaceDefault creates a WaypointControlServiceCreateNamespaceDefault with default headers values

func (*WaypointControlServiceCreateNamespaceDefault) Code

Code gets the status code for the waypoint control service create namespace default response

func (*WaypointControlServiceCreateNamespaceDefault) Error

func (*WaypointControlServiceCreateNamespaceDefault) GetPayload

func (*WaypointControlServiceCreateNamespaceDefault) IsClientError

IsClientError returns true when this waypoint control service create namespace default response has a 4xx status code

func (*WaypointControlServiceCreateNamespaceDefault) IsCode

IsCode returns true when this waypoint control service create namespace default response a status code equal to that given

func (*WaypointControlServiceCreateNamespaceDefault) IsRedirect

IsRedirect returns true when this waypoint control service create namespace default response has a 3xx status code

func (*WaypointControlServiceCreateNamespaceDefault) IsServerError

IsServerError returns true when this waypoint control service create namespace default response has a 5xx status code

func (*WaypointControlServiceCreateNamespaceDefault) IsSuccess

IsSuccess returns true when this waypoint control service create namespace default response has a 2xx status code

func (*WaypointControlServiceCreateNamespaceDefault) String

type WaypointControlServiceCreateNamespaceOK

type WaypointControlServiceCreateNamespaceOK struct {
	Payload *models.HashicorpCloudWaypointCreateNamespaceResponse
}

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

A successful response.

func NewWaypointControlServiceCreateNamespaceOK

func NewWaypointControlServiceCreateNamespaceOK() *WaypointControlServiceCreateNamespaceOK

NewWaypointControlServiceCreateNamespaceOK creates a WaypointControlServiceCreateNamespaceOK with default headers values

func (*WaypointControlServiceCreateNamespaceOK) Code

Code gets the status code for the waypoint control service create namespace o k response

func (*WaypointControlServiceCreateNamespaceOK) Error

func (*WaypointControlServiceCreateNamespaceOK) GetPayload

func (*WaypointControlServiceCreateNamespaceOK) IsClientError

func (o *WaypointControlServiceCreateNamespaceOK) IsClientError() bool

IsClientError returns true when this waypoint control service create namespace o k response has a 4xx status code

func (*WaypointControlServiceCreateNamespaceOK) IsCode

IsCode returns true when this waypoint control service create namespace o k response a status code equal to that given

func (*WaypointControlServiceCreateNamespaceOK) IsRedirect

IsRedirect returns true when this waypoint control service create namespace o k response has a 3xx status code

func (*WaypointControlServiceCreateNamespaceOK) IsServerError

func (o *WaypointControlServiceCreateNamespaceOK) IsServerError() bool

IsServerError returns true when this waypoint control service create namespace o k response has a 5xx status code

func (*WaypointControlServiceCreateNamespaceOK) IsSuccess

IsSuccess returns true when this waypoint control service create namespace o k response has a 2xx status code

func (*WaypointControlServiceCreateNamespaceOK) String

type WaypointControlServiceCreateNamespaceParams

type WaypointControlServiceCreateNamespaceParams struct {

	// Body.
	Body *models.HashicorpCloudWaypointCreateNamespaceRequest

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

WaypointControlServiceCreateNamespaceParams contains all the parameters to send to the API endpoint

for the waypoint control service create namespace operation.

Typically these are written to a http.Request.

func NewWaypointControlServiceCreateNamespaceParams

func NewWaypointControlServiceCreateNamespaceParams() *WaypointControlServiceCreateNamespaceParams

NewWaypointControlServiceCreateNamespaceParams creates a new WaypointControlServiceCreateNamespaceParams 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 NewWaypointControlServiceCreateNamespaceParamsWithContext

func NewWaypointControlServiceCreateNamespaceParamsWithContext(ctx context.Context) *WaypointControlServiceCreateNamespaceParams

NewWaypointControlServiceCreateNamespaceParamsWithContext creates a new WaypointControlServiceCreateNamespaceParams object with the ability to set a context for a request.

func NewWaypointControlServiceCreateNamespaceParamsWithHTTPClient

func NewWaypointControlServiceCreateNamespaceParamsWithHTTPClient(client *http.Client) *WaypointControlServiceCreateNamespaceParams

NewWaypointControlServiceCreateNamespaceParamsWithHTTPClient creates a new WaypointControlServiceCreateNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewWaypointControlServiceCreateNamespaceParamsWithTimeout

func NewWaypointControlServiceCreateNamespaceParamsWithTimeout(timeout time.Duration) *WaypointControlServiceCreateNamespaceParams

NewWaypointControlServiceCreateNamespaceParamsWithTimeout creates a new WaypointControlServiceCreateNamespaceParams object with the ability to set a timeout on a request.

func (*WaypointControlServiceCreateNamespaceParams) SetBody

SetBody adds the body to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) SetContext

SetContext adds the context to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) SetDefaults

SetDefaults hydrates default values in the waypoint control service create namespace params (not the query body).

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

func (*WaypointControlServiceCreateNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) SetLocationOrganizationID

func (o *WaypointControlServiceCreateNamespaceParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) SetLocationProjectID

func (o *WaypointControlServiceCreateNamespaceParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) SetTimeout

SetTimeout adds the timeout to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) WithBody

WithBody adds the body to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) WithContext

WithContext adds the context to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) WithDefaults

WithDefaults hydrates default values in the waypoint control service create namespace params (not the query body).

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

func (*WaypointControlServiceCreateNamespaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) WithLocationOrganizationID

func (o *WaypointControlServiceCreateNamespaceParams) WithLocationOrganizationID(locationOrganizationID string) *WaypointControlServiceCreateNamespaceParams

WithLocationOrganizationID adds the locationOrganizationID to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) WithLocationProjectID

WithLocationProjectID adds the locationProjectID to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) WithTimeout

WithTimeout adds the timeout to the waypoint control service create namespace params

func (*WaypointControlServiceCreateNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WaypointControlServiceCreateNamespaceReader

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

WaypointControlServiceCreateNamespaceReader is a Reader for the WaypointControlServiceCreateNamespace structure.

func (*WaypointControlServiceCreateNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WaypointControlServiceDeleteNamespaceDefault

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

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

An unexpected error response.

func NewWaypointControlServiceDeleteNamespaceDefault

func NewWaypointControlServiceDeleteNamespaceDefault(code int) *WaypointControlServiceDeleteNamespaceDefault

NewWaypointControlServiceDeleteNamespaceDefault creates a WaypointControlServiceDeleteNamespaceDefault with default headers values

func (*WaypointControlServiceDeleteNamespaceDefault) Code

Code gets the status code for the waypoint control service delete namespace default response

func (*WaypointControlServiceDeleteNamespaceDefault) Error

func (*WaypointControlServiceDeleteNamespaceDefault) GetPayload

func (*WaypointControlServiceDeleteNamespaceDefault) IsClientError

IsClientError returns true when this waypoint control service delete namespace default response has a 4xx status code

func (*WaypointControlServiceDeleteNamespaceDefault) IsCode

IsCode returns true when this waypoint control service delete namespace default response a status code equal to that given

func (*WaypointControlServiceDeleteNamespaceDefault) IsRedirect

IsRedirect returns true when this waypoint control service delete namespace default response has a 3xx status code

func (*WaypointControlServiceDeleteNamespaceDefault) IsServerError

IsServerError returns true when this waypoint control service delete namespace default response has a 5xx status code

func (*WaypointControlServiceDeleteNamespaceDefault) IsSuccess

IsSuccess returns true when this waypoint control service delete namespace default response has a 2xx status code

func (*WaypointControlServiceDeleteNamespaceDefault) String

type WaypointControlServiceDeleteNamespaceOK

type WaypointControlServiceDeleteNamespaceOK struct {
	Payload models.HashicorpCloudWaypointDeleteNamespaceResponse
}

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

A successful response.

func NewWaypointControlServiceDeleteNamespaceOK

func NewWaypointControlServiceDeleteNamespaceOK() *WaypointControlServiceDeleteNamespaceOK

NewWaypointControlServiceDeleteNamespaceOK creates a WaypointControlServiceDeleteNamespaceOK with default headers values

func (*WaypointControlServiceDeleteNamespaceOK) Code

Code gets the status code for the waypoint control service delete namespace o k response

func (*WaypointControlServiceDeleteNamespaceOK) Error

func (*WaypointControlServiceDeleteNamespaceOK) GetPayload

func (*WaypointControlServiceDeleteNamespaceOK) IsClientError

func (o *WaypointControlServiceDeleteNamespaceOK) IsClientError() bool

IsClientError returns true when this waypoint control service delete namespace o k response has a 4xx status code

func (*WaypointControlServiceDeleteNamespaceOK) IsCode

IsCode returns true when this waypoint control service delete namespace o k response a status code equal to that given

func (*WaypointControlServiceDeleteNamespaceOK) IsRedirect

IsRedirect returns true when this waypoint control service delete namespace o k response has a 3xx status code

func (*WaypointControlServiceDeleteNamespaceOK) IsServerError

func (o *WaypointControlServiceDeleteNamespaceOK) IsServerError() bool

IsServerError returns true when this waypoint control service delete namespace o k response has a 5xx status code

func (*WaypointControlServiceDeleteNamespaceOK) IsSuccess

IsSuccess returns true when this waypoint control service delete namespace o k response has a 2xx status code

func (*WaypointControlServiceDeleteNamespaceOK) String

type WaypointControlServiceDeleteNamespaceParams

type WaypointControlServiceDeleteNamespaceParams struct {

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure").
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1").
	*/
	LocationRegionRegion *string

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

WaypointControlServiceDeleteNamespaceParams contains all the parameters to send to the API endpoint

for the waypoint control service delete namespace operation.

Typically these are written to a http.Request.

func NewWaypointControlServiceDeleteNamespaceParams

func NewWaypointControlServiceDeleteNamespaceParams() *WaypointControlServiceDeleteNamespaceParams

NewWaypointControlServiceDeleteNamespaceParams creates a new WaypointControlServiceDeleteNamespaceParams 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 NewWaypointControlServiceDeleteNamespaceParamsWithContext

func NewWaypointControlServiceDeleteNamespaceParamsWithContext(ctx context.Context) *WaypointControlServiceDeleteNamespaceParams

NewWaypointControlServiceDeleteNamespaceParamsWithContext creates a new WaypointControlServiceDeleteNamespaceParams object with the ability to set a context for a request.

func NewWaypointControlServiceDeleteNamespaceParamsWithHTTPClient

func NewWaypointControlServiceDeleteNamespaceParamsWithHTTPClient(client *http.Client) *WaypointControlServiceDeleteNamespaceParams

NewWaypointControlServiceDeleteNamespaceParamsWithHTTPClient creates a new WaypointControlServiceDeleteNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewWaypointControlServiceDeleteNamespaceParamsWithTimeout

func NewWaypointControlServiceDeleteNamespaceParamsWithTimeout(timeout time.Duration) *WaypointControlServiceDeleteNamespaceParams

NewWaypointControlServiceDeleteNamespaceParamsWithTimeout creates a new WaypointControlServiceDeleteNamespaceParams object with the ability to set a timeout on a request.

func (*WaypointControlServiceDeleteNamespaceParams) SetContext

SetContext adds the context to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) SetDefaults

SetDefaults hydrates default values in the waypoint control service delete namespace params (not the query body).

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

func (*WaypointControlServiceDeleteNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) SetLocationOrganizationID

func (o *WaypointControlServiceDeleteNamespaceParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) SetLocationProjectID

func (o *WaypointControlServiceDeleteNamespaceParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) SetLocationRegionProvider

func (o *WaypointControlServiceDeleteNamespaceParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) SetLocationRegionRegion

func (o *WaypointControlServiceDeleteNamespaceParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) SetTimeout

SetTimeout adds the timeout to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) WithContext

WithContext adds the context to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) WithDefaults

WithDefaults hydrates default values in the waypoint control service delete namespace params (not the query body).

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

func (*WaypointControlServiceDeleteNamespaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) WithLocationOrganizationID

func (o *WaypointControlServiceDeleteNamespaceParams) WithLocationOrganizationID(locationOrganizationID string) *WaypointControlServiceDeleteNamespaceParams

WithLocationOrganizationID adds the locationOrganizationID to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) WithLocationProjectID

WithLocationProjectID adds the locationProjectID to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) WithLocationRegionProvider

func (o *WaypointControlServiceDeleteNamespaceParams) WithLocationRegionProvider(locationRegionProvider *string) *WaypointControlServiceDeleteNamespaceParams

WithLocationRegionProvider adds the locationRegionProvider to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) WithLocationRegionRegion

func (o *WaypointControlServiceDeleteNamespaceParams) WithLocationRegionRegion(locationRegionRegion *string) *WaypointControlServiceDeleteNamespaceParams

WithLocationRegionRegion adds the locationRegionRegion to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) WithTimeout

WithTimeout adds the timeout to the waypoint control service delete namespace params

func (*WaypointControlServiceDeleteNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WaypointControlServiceDeleteNamespaceReader

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

WaypointControlServiceDeleteNamespaceReader is a Reader for the WaypointControlServiceDeleteNamespace structure.

func (*WaypointControlServiceDeleteNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WaypointControlServiceDetachGithubDefault

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

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

An unexpected error response.

func NewWaypointControlServiceDetachGithubDefault

func NewWaypointControlServiceDetachGithubDefault(code int) *WaypointControlServiceDetachGithubDefault

NewWaypointControlServiceDetachGithubDefault creates a WaypointControlServiceDetachGithubDefault with default headers values

func (*WaypointControlServiceDetachGithubDefault) Code

Code gets the status code for the waypoint control service detach github default response

func (*WaypointControlServiceDetachGithubDefault) Error

func (*WaypointControlServiceDetachGithubDefault) GetPayload

func (*WaypointControlServiceDetachGithubDefault) IsClientError

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

func (*WaypointControlServiceDetachGithubDefault) IsCode

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

func (*WaypointControlServiceDetachGithubDefault) IsRedirect

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

func (*WaypointControlServiceDetachGithubDefault) IsServerError

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

func (*WaypointControlServiceDetachGithubDefault) IsSuccess

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

func (*WaypointControlServiceDetachGithubDefault) String

type WaypointControlServiceDetachGithubOK

type WaypointControlServiceDetachGithubOK struct {
	Payload models.HashicorpCloudWaypointDetachGithubResponse
}

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

A successful response.

func NewWaypointControlServiceDetachGithubOK

func NewWaypointControlServiceDetachGithubOK() *WaypointControlServiceDetachGithubOK

NewWaypointControlServiceDetachGithubOK creates a WaypointControlServiceDetachGithubOK with default headers values

func (*WaypointControlServiceDetachGithubOK) Code

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

func (*WaypointControlServiceDetachGithubOK) Error

func (*WaypointControlServiceDetachGithubOK) GetPayload

func (*WaypointControlServiceDetachGithubOK) IsClientError

func (o *WaypointControlServiceDetachGithubOK) IsClientError() bool

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

func (*WaypointControlServiceDetachGithubOK) IsCode

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

func (*WaypointControlServiceDetachGithubOK) IsRedirect

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

func (*WaypointControlServiceDetachGithubOK) IsServerError

func (o *WaypointControlServiceDetachGithubOK) IsServerError() bool

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

func (*WaypointControlServiceDetachGithubOK) IsSuccess

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

func (*WaypointControlServiceDetachGithubOK) String

type WaypointControlServiceDetachGithubParams

type WaypointControlServiceDetachGithubParams struct {

	// NamespaceID.
	NamespaceID string

	// Project.
	Project *string

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

WaypointControlServiceDetachGithubParams contains all the parameters to send to the API endpoint

for the waypoint control service detach github operation.

Typically these are written to a http.Request.

func NewWaypointControlServiceDetachGithubParams

func NewWaypointControlServiceDetachGithubParams() *WaypointControlServiceDetachGithubParams

NewWaypointControlServiceDetachGithubParams creates a new WaypointControlServiceDetachGithubParams 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 NewWaypointControlServiceDetachGithubParamsWithContext

func NewWaypointControlServiceDetachGithubParamsWithContext(ctx context.Context) *WaypointControlServiceDetachGithubParams

NewWaypointControlServiceDetachGithubParamsWithContext creates a new WaypointControlServiceDetachGithubParams object with the ability to set a context for a request.

func NewWaypointControlServiceDetachGithubParamsWithHTTPClient

func NewWaypointControlServiceDetachGithubParamsWithHTTPClient(client *http.Client) *WaypointControlServiceDetachGithubParams

NewWaypointControlServiceDetachGithubParamsWithHTTPClient creates a new WaypointControlServiceDetachGithubParams object with the ability to set a custom HTTPClient for a request.

func NewWaypointControlServiceDetachGithubParamsWithTimeout

func NewWaypointControlServiceDetachGithubParamsWithTimeout(timeout time.Duration) *WaypointControlServiceDetachGithubParams

NewWaypointControlServiceDetachGithubParamsWithTimeout creates a new WaypointControlServiceDetachGithubParams object with the ability to set a timeout on a request.

func (*WaypointControlServiceDetachGithubParams) SetContext

SetContext adds the context to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) SetDefaults

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

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

func (*WaypointControlServiceDetachGithubParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) SetNamespaceID

func (o *WaypointControlServiceDetachGithubParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) SetProject

func (o *WaypointControlServiceDetachGithubParams) SetProject(project *string)

SetProject adds the project to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) SetTimeout

SetTimeout adds the timeout to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) WithContext

WithContext adds the context to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) WithDefaults

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

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

func (*WaypointControlServiceDetachGithubParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) WithNamespaceID

WithNamespaceID adds the namespaceID to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) WithProject

WithProject adds the project to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) WithTimeout

WithTimeout adds the timeout to the waypoint control service detach github params

func (*WaypointControlServiceDetachGithubParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WaypointControlServiceDetachGithubReader

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

WaypointControlServiceDetachGithubReader is a Reader for the WaypointControlServiceDetachGithub structure.

func (*WaypointControlServiceDetachGithubReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WaypointControlServiceGetNamespaceDefault

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

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

An unexpected error response.

func NewWaypointControlServiceGetNamespaceDefault

func NewWaypointControlServiceGetNamespaceDefault(code int) *WaypointControlServiceGetNamespaceDefault

NewWaypointControlServiceGetNamespaceDefault creates a WaypointControlServiceGetNamespaceDefault with default headers values

func (*WaypointControlServiceGetNamespaceDefault) Code

Code gets the status code for the waypoint control service get namespace default response

func (*WaypointControlServiceGetNamespaceDefault) Error

func (*WaypointControlServiceGetNamespaceDefault) GetPayload

func (*WaypointControlServiceGetNamespaceDefault) IsClientError

IsClientError returns true when this waypoint control service get namespace default response has a 4xx status code

func (*WaypointControlServiceGetNamespaceDefault) IsCode

IsCode returns true when this waypoint control service get namespace default response a status code equal to that given

func (*WaypointControlServiceGetNamespaceDefault) IsRedirect

IsRedirect returns true when this waypoint control service get namespace default response has a 3xx status code

func (*WaypointControlServiceGetNamespaceDefault) IsServerError

IsServerError returns true when this waypoint control service get namespace default response has a 5xx status code

func (*WaypointControlServiceGetNamespaceDefault) IsSuccess

IsSuccess returns true when this waypoint control service get namespace default response has a 2xx status code

func (*WaypointControlServiceGetNamespaceDefault) String

type WaypointControlServiceGetNamespaceInfoDefault

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

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

An unexpected error response.

func NewWaypointControlServiceGetNamespaceInfoDefault

func NewWaypointControlServiceGetNamespaceInfoDefault(code int) *WaypointControlServiceGetNamespaceInfoDefault

NewWaypointControlServiceGetNamespaceInfoDefault creates a WaypointControlServiceGetNamespaceInfoDefault with default headers values

func (*WaypointControlServiceGetNamespaceInfoDefault) Code

Code gets the status code for the waypoint control service get namespace info default response

func (*WaypointControlServiceGetNamespaceInfoDefault) Error

func (*WaypointControlServiceGetNamespaceInfoDefault) GetPayload

func (*WaypointControlServiceGetNamespaceInfoDefault) IsClientError

IsClientError returns true when this waypoint control service get namespace info default response has a 4xx status code

func (*WaypointControlServiceGetNamespaceInfoDefault) IsCode

IsCode returns true when this waypoint control service get namespace info default response a status code equal to that given

func (*WaypointControlServiceGetNamespaceInfoDefault) IsRedirect

IsRedirect returns true when this waypoint control service get namespace info default response has a 3xx status code

func (*WaypointControlServiceGetNamespaceInfoDefault) IsServerError

IsServerError returns true when this waypoint control service get namespace info default response has a 5xx status code

func (*WaypointControlServiceGetNamespaceInfoDefault) IsSuccess

IsSuccess returns true when this waypoint control service get namespace info default response has a 2xx status code

func (*WaypointControlServiceGetNamespaceInfoDefault) String

type WaypointControlServiceGetNamespaceInfoOK

type WaypointControlServiceGetNamespaceInfoOK struct {
	Payload *models.HashicorpCloudWaypointGetNamespaceInfoResponse
}

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

A successful response.

func NewWaypointControlServiceGetNamespaceInfoOK

func NewWaypointControlServiceGetNamespaceInfoOK() *WaypointControlServiceGetNamespaceInfoOK

NewWaypointControlServiceGetNamespaceInfoOK creates a WaypointControlServiceGetNamespaceInfoOK with default headers values

func (*WaypointControlServiceGetNamespaceInfoOK) Code

Code gets the status code for the waypoint control service get namespace info o k response

func (*WaypointControlServiceGetNamespaceInfoOK) Error

func (*WaypointControlServiceGetNamespaceInfoOK) GetPayload

func (*WaypointControlServiceGetNamespaceInfoOK) IsClientError

IsClientError returns true when this waypoint control service get namespace info o k response has a 4xx status code

func (*WaypointControlServiceGetNamespaceInfoOK) IsCode

IsCode returns true when this waypoint control service get namespace info o k response a status code equal to that given

func (*WaypointControlServiceGetNamespaceInfoOK) IsRedirect

IsRedirect returns true when this waypoint control service get namespace info o k response has a 3xx status code

func (*WaypointControlServiceGetNamespaceInfoOK) IsServerError

IsServerError returns true when this waypoint control service get namespace info o k response has a 5xx status code

func (*WaypointControlServiceGetNamespaceInfoOK) IsSuccess

IsSuccess returns true when this waypoint control service get namespace info o k response has a 2xx status code

func (*WaypointControlServiceGetNamespaceInfoOK) String

type WaypointControlServiceGetNamespaceInfoParams

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

WaypointControlServiceGetNamespaceInfoParams contains all the parameters to send to the API endpoint

for the waypoint control service get namespace info operation.

Typically these are written to a http.Request.

func NewWaypointControlServiceGetNamespaceInfoParams

func NewWaypointControlServiceGetNamespaceInfoParams() *WaypointControlServiceGetNamespaceInfoParams

NewWaypointControlServiceGetNamespaceInfoParams creates a new WaypointControlServiceGetNamespaceInfoParams 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 NewWaypointControlServiceGetNamespaceInfoParamsWithContext

func NewWaypointControlServiceGetNamespaceInfoParamsWithContext(ctx context.Context) *WaypointControlServiceGetNamespaceInfoParams

NewWaypointControlServiceGetNamespaceInfoParamsWithContext creates a new WaypointControlServiceGetNamespaceInfoParams object with the ability to set a context for a request.

func NewWaypointControlServiceGetNamespaceInfoParamsWithHTTPClient

func NewWaypointControlServiceGetNamespaceInfoParamsWithHTTPClient(client *http.Client) *WaypointControlServiceGetNamespaceInfoParams

NewWaypointControlServiceGetNamespaceInfoParamsWithHTTPClient creates a new WaypointControlServiceGetNamespaceInfoParams object with the ability to set a custom HTTPClient for a request.

func NewWaypointControlServiceGetNamespaceInfoParamsWithTimeout

func NewWaypointControlServiceGetNamespaceInfoParamsWithTimeout(timeout time.Duration) *WaypointControlServiceGetNamespaceInfoParams

NewWaypointControlServiceGetNamespaceInfoParamsWithTimeout creates a new WaypointControlServiceGetNamespaceInfoParams object with the ability to set a timeout on a request.

func (*WaypointControlServiceGetNamespaceInfoParams) SetContext

SetContext adds the context to the waypoint control service get namespace info params

func (*WaypointControlServiceGetNamespaceInfoParams) SetDefaults

SetDefaults hydrates default values in the waypoint control service get namespace info params (not the query body).

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

func (*WaypointControlServiceGetNamespaceInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the waypoint control service get namespace info params

func (*WaypointControlServiceGetNamespaceInfoParams) SetTimeout

SetTimeout adds the timeout to the waypoint control service get namespace info params

func (*WaypointControlServiceGetNamespaceInfoParams) WithContext

WithContext adds the context to the waypoint control service get namespace info params

func (*WaypointControlServiceGetNamespaceInfoParams) WithDefaults

WithDefaults hydrates default values in the waypoint control service get namespace info params (not the query body).

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

func (*WaypointControlServiceGetNamespaceInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the waypoint control service get namespace info params

func (*WaypointControlServiceGetNamespaceInfoParams) WithTimeout

WithTimeout adds the timeout to the waypoint control service get namespace info params

func (*WaypointControlServiceGetNamespaceInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WaypointControlServiceGetNamespaceInfoReader

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

WaypointControlServiceGetNamespaceInfoReader is a Reader for the WaypointControlServiceGetNamespaceInfo structure.

func (*WaypointControlServiceGetNamespaceInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WaypointControlServiceGetNamespaceOK

type WaypointControlServiceGetNamespaceOK struct {
	Payload *models.HashicorpCloudWaypointGetNamespaceResponse
}

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

A successful response.

func NewWaypointControlServiceGetNamespaceOK

func NewWaypointControlServiceGetNamespaceOK() *WaypointControlServiceGetNamespaceOK

NewWaypointControlServiceGetNamespaceOK creates a WaypointControlServiceGetNamespaceOK with default headers values

func (*WaypointControlServiceGetNamespaceOK) Code

Code gets the status code for the waypoint control service get namespace o k response

func (*WaypointControlServiceGetNamespaceOK) Error

func (*WaypointControlServiceGetNamespaceOK) GetPayload

func (*WaypointControlServiceGetNamespaceOK) IsClientError

func (o *WaypointControlServiceGetNamespaceOK) IsClientError() bool

IsClientError returns true when this waypoint control service get namespace o k response has a 4xx status code

func (*WaypointControlServiceGetNamespaceOK) IsCode

IsCode returns true when this waypoint control service get namespace o k response a status code equal to that given

func (*WaypointControlServiceGetNamespaceOK) IsRedirect

IsRedirect returns true when this waypoint control service get namespace o k response has a 3xx status code

func (*WaypointControlServiceGetNamespaceOK) IsServerError

func (o *WaypointControlServiceGetNamespaceOK) IsServerError() bool

IsServerError returns true when this waypoint control service get namespace o k response has a 5xx status code

func (*WaypointControlServiceGetNamespaceOK) IsSuccess

IsSuccess returns true when this waypoint control service get namespace o k response has a 2xx status code

func (*WaypointControlServiceGetNamespaceOK) String

type WaypointControlServiceGetNamespaceParams

type WaypointControlServiceGetNamespaceParams struct {

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure").
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1").
	*/
	LocationRegionRegion *string

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

WaypointControlServiceGetNamespaceParams contains all the parameters to send to the API endpoint

for the waypoint control service get namespace operation.

Typically these are written to a http.Request.

func NewWaypointControlServiceGetNamespaceParams

func NewWaypointControlServiceGetNamespaceParams() *WaypointControlServiceGetNamespaceParams

NewWaypointControlServiceGetNamespaceParams creates a new WaypointControlServiceGetNamespaceParams 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 NewWaypointControlServiceGetNamespaceParamsWithContext

func NewWaypointControlServiceGetNamespaceParamsWithContext(ctx context.Context) *WaypointControlServiceGetNamespaceParams

NewWaypointControlServiceGetNamespaceParamsWithContext creates a new WaypointControlServiceGetNamespaceParams object with the ability to set a context for a request.

func NewWaypointControlServiceGetNamespaceParamsWithHTTPClient

func NewWaypointControlServiceGetNamespaceParamsWithHTTPClient(client *http.Client) *WaypointControlServiceGetNamespaceParams

NewWaypointControlServiceGetNamespaceParamsWithHTTPClient creates a new WaypointControlServiceGetNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewWaypointControlServiceGetNamespaceParamsWithTimeout

func NewWaypointControlServiceGetNamespaceParamsWithTimeout(timeout time.Duration) *WaypointControlServiceGetNamespaceParams

NewWaypointControlServiceGetNamespaceParamsWithTimeout creates a new WaypointControlServiceGetNamespaceParams object with the ability to set a timeout on a request.

func (*WaypointControlServiceGetNamespaceParams) SetContext

SetContext adds the context to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) SetDefaults

SetDefaults hydrates default values in the waypoint control service get namespace params (not the query body).

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

func (*WaypointControlServiceGetNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) SetLocationOrganizationID

func (o *WaypointControlServiceGetNamespaceParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) SetLocationProjectID

func (o *WaypointControlServiceGetNamespaceParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) SetLocationRegionProvider

func (o *WaypointControlServiceGetNamespaceParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) SetLocationRegionRegion

func (o *WaypointControlServiceGetNamespaceParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) SetTimeout

SetTimeout adds the timeout to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) WithContext

WithContext adds the context to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) WithDefaults

WithDefaults hydrates default values in the waypoint control service get namespace params (not the query body).

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

func (*WaypointControlServiceGetNamespaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) WithLocationOrganizationID

func (o *WaypointControlServiceGetNamespaceParams) WithLocationOrganizationID(locationOrganizationID string) *WaypointControlServiceGetNamespaceParams

WithLocationOrganizationID adds the locationOrganizationID to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) WithLocationProjectID

WithLocationProjectID adds the locationProjectID to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) WithLocationRegionProvider

func (o *WaypointControlServiceGetNamespaceParams) WithLocationRegionProvider(locationRegionProvider *string) *WaypointControlServiceGetNamespaceParams

WithLocationRegionProvider adds the locationRegionProvider to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) WithLocationRegionRegion

func (o *WaypointControlServiceGetNamespaceParams) WithLocationRegionRegion(locationRegionRegion *string) *WaypointControlServiceGetNamespaceParams

WithLocationRegionRegion adds the locationRegionRegion to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) WithTimeout

WithTimeout adds the timeout to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WaypointControlServiceGetNamespaceReader

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

WaypointControlServiceGetNamespaceReader is a Reader for the WaypointControlServiceGetNamespace structure.

func (*WaypointControlServiceGetNamespaceReader) ReadResponse

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