Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) WaypointControlServiceGetNamespace(params *WaypointControlServiceGetNamespaceParams, ...) (*WaypointControlServiceGetNamespaceOK, error)
- func (a *Client) WaypointControlServiceGetNamespaceInfo(params *WaypointControlServiceGetNamespaceInfoParams, ...) (*WaypointControlServiceGetNamespaceInfoOK, error)
- type ClientService
- type WaypointControlServiceGetNamespaceDefault
- type WaypointControlServiceGetNamespaceInfoDefault
- type WaypointControlServiceGetNamespaceInfoOK
- type WaypointControlServiceGetNamespaceInfoParams
- func NewWaypointControlServiceGetNamespaceInfoParams() *WaypointControlServiceGetNamespaceInfoParams
- func NewWaypointControlServiceGetNamespaceInfoParamsWithContext(ctx context.Context) *WaypointControlServiceGetNamespaceInfoParams
- func NewWaypointControlServiceGetNamespaceInfoParamsWithHTTPClient(client *http.Client) *WaypointControlServiceGetNamespaceInfoParams
- func NewWaypointControlServiceGetNamespaceInfoParamsWithTimeout(timeout time.Duration) *WaypointControlServiceGetNamespaceInfoParams
- func (o *WaypointControlServiceGetNamespaceInfoParams) SetContext(ctx context.Context)
- func (o *WaypointControlServiceGetNamespaceInfoParams) SetHTTPClient(client *http.Client)
- func (o *WaypointControlServiceGetNamespaceInfoParams) SetTimeout(timeout time.Duration)
- func (o *WaypointControlServiceGetNamespaceInfoParams) WithContext(ctx context.Context) *WaypointControlServiceGetNamespaceInfoParams
- func (o *WaypointControlServiceGetNamespaceInfoParams) WithHTTPClient(client *http.Client) *WaypointControlServiceGetNamespaceInfoParams
- func (o *WaypointControlServiceGetNamespaceInfoParams) WithTimeout(timeout time.Duration) *WaypointControlServiceGetNamespaceInfoParams
- func (o *WaypointControlServiceGetNamespaceInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WaypointControlServiceGetNamespaceInfoReader
- type WaypointControlServiceGetNamespaceOK
- type WaypointControlServiceGetNamespaceParams
- func NewWaypointControlServiceGetNamespaceParams() *WaypointControlServiceGetNamespaceParams
- func NewWaypointControlServiceGetNamespaceParamsWithContext(ctx context.Context) *WaypointControlServiceGetNamespaceParams
- func NewWaypointControlServiceGetNamespaceParamsWithHTTPClient(client *http.Client) *WaypointControlServiceGetNamespaceParams
- func NewWaypointControlServiceGetNamespaceParamsWithTimeout(timeout time.Duration) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) SetCheckOnly(checkOnly *bool)
- func (o *WaypointControlServiceGetNamespaceParams) SetContext(ctx context.Context)
- func (o *WaypointControlServiceGetNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *WaypointControlServiceGetNamespaceParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *WaypointControlServiceGetNamespaceParams) SetLocationProjectID(locationProjectID string)
- func (o *WaypointControlServiceGetNamespaceParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *WaypointControlServiceGetNamespaceParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *WaypointControlServiceGetNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *WaypointControlServiceGetNamespaceParams) WithCheckOnly(checkOnly *bool) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) WithContext(ctx context.Context) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) WithHTTPClient(client *http.Client) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) WithLocationOrganizationID(locationOrganizationID string) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) WithLocationProjectID(locationProjectID string) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) WithLocationRegionProvider(locationRegionProvider *string) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) WithLocationRegionRegion(locationRegionRegion *string) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) WithTimeout(timeout time.Duration) *WaypointControlServiceGetNamespaceParams
- func (o *WaypointControlServiceGetNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WaypointControlServiceGetNamespaceReader
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 ¶
func (a *Client) WaypointControlServiceGetNamespace(params *WaypointControlServiceGetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*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 ¶
func (a *Client) WaypointControlServiceGetNamespaceInfo(params *WaypointControlServiceGetNamespaceInfoParams, authInfo runtime.ClientAuthInfoWriter) (*WaypointControlServiceGetNamespaceInfoOK, error)
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 ¶
func (o *WaypointControlServiceGetNamespaceDefault) Code() int
Code gets the status code for the waypoint control service get namespace default response
func (*WaypointControlServiceGetNamespaceDefault) Error ¶
func (o *WaypointControlServiceGetNamespaceDefault) Error() string
func (*WaypointControlServiceGetNamespaceDefault) GetPayload ¶
func (o *WaypointControlServiceGetNamespaceDefault) GetPayload() *models.GrpcGatewayRuntimeError
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 ¶
func (o *WaypointControlServiceGetNamespaceInfoDefault) Code() int
Code gets the status code for the waypoint control service get namespace info default response
func (*WaypointControlServiceGetNamespaceInfoDefault) Error ¶
func (o *WaypointControlServiceGetNamespaceInfoDefault) Error() string
func (*WaypointControlServiceGetNamespaceInfoDefault) GetPayload ¶
func (o *WaypointControlServiceGetNamespaceInfoDefault) GetPayload() *models.GrpcGatewayRuntimeError
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 (o *WaypointControlServiceGetNamespaceInfoOK) Error() string
func (*WaypointControlServiceGetNamespaceInfoOK) GetPayload ¶
func (o *WaypointControlServiceGetNamespaceInfoOK) GetPayload() *models.HashicorpCloudWaypointGetNamespaceInfoResponse
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 ¶
func (o *WaypointControlServiceGetNamespaceInfoParams) SetContext(ctx context.Context)
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 ¶
func (o *WaypointControlServiceGetNamespaceInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the waypoint control service get namespace info params
func (*WaypointControlServiceGetNamespaceInfoParams) WithContext ¶
func (o *WaypointControlServiceGetNamespaceInfoParams) WithContext(ctx context.Context) *WaypointControlServiceGetNamespaceInfoParams
WithContext adds the context to the waypoint control service get namespace info params
func (*WaypointControlServiceGetNamespaceInfoParams) WithHTTPClient ¶
func (o *WaypointControlServiceGetNamespaceInfoParams) WithHTTPClient(client *http.Client) *WaypointControlServiceGetNamespaceInfoParams
WithHTTPClient adds the HTTPClient to the waypoint control service get namespace info params
func (*WaypointControlServiceGetNamespaceInfoParams) WithTimeout ¶
func (o *WaypointControlServiceGetNamespaceInfoParams) WithTimeout(timeout time.Duration) *WaypointControlServiceGetNamespaceInfoParams
WithTimeout adds the timeout to the waypoint control service get namespace info params
func (*WaypointControlServiceGetNamespaceInfoParams) WriteToRequest ¶
func (o *WaypointControlServiceGetNamespaceInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *WaypointControlServiceGetNamespaceOK) Error() string
func (*WaypointControlServiceGetNamespaceOK) GetPayload ¶
func (o *WaypointControlServiceGetNamespaceOK) GetPayload() *models.HashicorpCloudWaypointGetNamespaceResponse
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 ¶
func (o *WaypointControlServiceGetNamespaceParams) SetContext(ctx context.Context)
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 ¶
func (o *WaypointControlServiceGetNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the waypoint control service get namespace params
func (*WaypointControlServiceGetNamespaceParams) WithCheckOnly ¶
func (o *WaypointControlServiceGetNamespaceParams) WithCheckOnly(checkOnly *bool) *WaypointControlServiceGetNamespaceParams
WithCheckOnly adds the checkOnly to the waypoint control service get namespace params
func (*WaypointControlServiceGetNamespaceParams) WithContext ¶
func (o *WaypointControlServiceGetNamespaceParams) WithContext(ctx context.Context) *WaypointControlServiceGetNamespaceParams
WithContext adds the context to the waypoint control service get namespace params
func (*WaypointControlServiceGetNamespaceParams) WithHTTPClient ¶
func (o *WaypointControlServiceGetNamespaceParams) WithHTTPClient(client *http.Client) *WaypointControlServiceGetNamespaceParams
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 ¶
func (o *WaypointControlServiceGetNamespaceParams) WithLocationProjectID(locationProjectID string) *WaypointControlServiceGetNamespaceParams
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 ¶
func (o *WaypointControlServiceGetNamespaceParams) WithTimeout(timeout time.Duration) *WaypointControlServiceGetNamespaceParams
WithTimeout adds the timeout to the waypoint control service get namespace params
func (*WaypointControlServiceGetNamespaceParams) WriteToRequest ¶
func (o *WaypointControlServiceGetNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.