waypoint_control_service

package
v0.0.0-...-f85bbce Latest Latest
Warning

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

Go to latest
Published: Apr 18, 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) WaypointControlServiceGetNamespace

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 ClientService

type ClientService interface {
	WaypointControlServiceGetNamespace(params *WaypointControlServiceGetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*WaypointControlServiceGetNamespaceOK, error)

	WaypointControlServiceGetNamespaceInfo(params *WaypointControlServiceGetNamespaceInfoParams, authInfo runtime.ClientAuthInfoWriter) (*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 WaypointControlServiceGetNamespaceDefault

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

WaypointControlServiceGetNamespaceDefault handles this case 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

type WaypointControlServiceGetNamespaceInfoDefault

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

WaypointControlServiceGetNamespaceInfoDefault handles this case 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

type WaypointControlServiceGetNamespaceInfoOK

type WaypointControlServiceGetNamespaceInfoOK struct {
	Payload *models.HashicorpCloudWaypointGetNamespaceInfoResponse
}

WaypointControlServiceGetNamespaceInfoOK handles this case with default header values.

A successful response.

func NewWaypointControlServiceGetNamespaceInfoOK

func NewWaypointControlServiceGetNamespaceInfoOK() *WaypointControlServiceGetNamespaceInfoOK

NewWaypointControlServiceGetNamespaceInfoOK creates a WaypointControlServiceGetNamespaceInfoOK with default headers values

func (*WaypointControlServiceGetNamespaceInfoOK) Error

func (*WaypointControlServiceGetNamespaceInfoOK) GetPayload

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 values initialized.

func NewWaypointControlServiceGetNamespaceInfoParamsWithContext

func NewWaypointControlServiceGetNamespaceInfoParamsWithContext(ctx context.Context) *WaypointControlServiceGetNamespaceInfoParams

NewWaypointControlServiceGetNamespaceInfoParamsWithContext creates a new WaypointControlServiceGetNamespaceInfoParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

A successful response.

func NewWaypointControlServiceGetNamespaceOK

func NewWaypointControlServiceGetNamespaceOK() *WaypointControlServiceGetNamespaceOK

NewWaypointControlServiceGetNamespaceOK creates a WaypointControlServiceGetNamespaceOK with default headers values

func (*WaypointControlServiceGetNamespaceOK) Error

func (*WaypointControlServiceGetNamespaceOK) GetPayload

type WaypointControlServiceGetNamespaceParams

type WaypointControlServiceGetNamespaceParams struct {

	/*CheckOnly*/
	CheckOnly *bool
	/*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 values initialized.

func NewWaypointControlServiceGetNamespaceParamsWithContext

func NewWaypointControlServiceGetNamespaceParamsWithContext(ctx context.Context) *WaypointControlServiceGetNamespaceParams

NewWaypointControlServiceGetNamespaceParamsWithContext creates a new WaypointControlServiceGetNamespaceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*WaypointControlServiceGetNamespaceParams) SetCheckOnly

func (o *WaypointControlServiceGetNamespaceParams) SetCheckOnly(checkOnly *bool)

SetCheckOnly adds the checkOnly to the waypoint control service get namespace params

func (*WaypointControlServiceGetNamespaceParams) SetContext

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

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) WithCheckOnly

WithCheckOnly adds the checkOnly 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) 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