compute_api

package module
v0.0.0-...-1f671d1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 15 Imported by: 0

README

Eryph Compute API - Generated Client

This module contains the generated API client code for the Eryph Compute API.

⚠️ Important

This module contains ONLY generated code. Do not edit files in this module manually.

All files in this module are automatically generated from the OpenAPI specification using oapi-codegen. Any manual changes will be overwritten during the next code generation.

Usage

This module is not intended to be used directly. Use the compute module instead, which provides a higher-level interface that wraps this generated client.

Code Generation

To regenerate the client code:

npm run generate

This will update the generated client files in this module.

Documentation

Overview

Package compute_api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.

Index

Constants

View Source
const (
	Oauth2Scopes = "oauth2.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewCatletsCreateRequest

func NewCatletsCreateRequest(server string, body CatletsCreateJSONRequestBody) (*http.Request, error)

NewCatletsCreateRequest calls the generic CatletsCreate builder with application/json body

func NewCatletsCreateRequestWithBody

func NewCatletsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCatletsCreateRequestWithBody generates requests for CatletsCreate with any type of body

func NewCatletsDeleteRequest

func NewCatletsDeleteRequest(server string, id string) (*http.Request, error)

NewCatletsDeleteRequest generates requests for CatletsDelete

func NewCatletsExpandConfigRequest

func NewCatletsExpandConfigRequest(server string, id string, body CatletsExpandConfigJSONRequestBody) (*http.Request, error)

NewCatletsExpandConfigRequest calls the generic CatletsExpandConfig builder with application/json body

func NewCatletsExpandConfigRequestWithBody

func NewCatletsExpandConfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewCatletsExpandConfigRequestWithBody generates requests for CatletsExpandConfig with any type of body

func NewCatletsExpandNewConfigRequest

func NewCatletsExpandNewConfigRequest(server string, body CatletsExpandNewConfigJSONRequestBody) (*http.Request, error)

NewCatletsExpandNewConfigRequest calls the generic CatletsExpandNewConfig builder with application/json body

func NewCatletsExpandNewConfigRequestWithBody

func NewCatletsExpandNewConfigRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCatletsExpandNewConfigRequestWithBody generates requests for CatletsExpandNewConfig with any type of body

func NewCatletsGetConfigRequest

func NewCatletsGetConfigRequest(server string, id string) (*http.Request, error)

NewCatletsGetConfigRequest generates requests for CatletsGetConfig

func NewCatletsGetRequest

func NewCatletsGetRequest(server string, id string) (*http.Request, error)

NewCatletsGetRequest generates requests for CatletsGet

func NewCatletsListRequest

func NewCatletsListRequest(server string, params *CatletsListParams) (*http.Request, error)

NewCatletsListRequest generates requests for CatletsList

func NewCatletsPopulateConfigVariablesRequest

func NewCatletsPopulateConfigVariablesRequest(server string, body CatletsPopulateConfigVariablesJSONRequestBody) (*http.Request, error)

NewCatletsPopulateConfigVariablesRequest calls the generic CatletsPopulateConfigVariables builder with application/json body

func NewCatletsPopulateConfigVariablesRequestWithBody

func NewCatletsPopulateConfigVariablesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCatletsPopulateConfigVariablesRequestWithBody generates requests for CatletsPopulateConfigVariables with any type of body

func NewCatletsStartRequest

func NewCatletsStartRequest(server string, id string) (*http.Request, error)

NewCatletsStartRequest generates requests for CatletsStart

func NewCatletsStopRequest

func NewCatletsStopRequest(server string, id string, body CatletsStopJSONRequestBody) (*http.Request, error)

NewCatletsStopRequest calls the generic CatletsStop builder with application/json body

func NewCatletsStopRequestWithBody

func NewCatletsStopRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewCatletsStopRequestWithBody generates requests for CatletsStop with any type of body

func NewCatletsUpdateRequest

func NewCatletsUpdateRequest(server string, id string, body CatletsUpdateJSONRequestBody) (*http.Request, error)

NewCatletsUpdateRequest calls the generic CatletsUpdate builder with application/json body

func NewCatletsUpdateRequestWithBody

func NewCatletsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewCatletsUpdateRequestWithBody generates requests for CatletsUpdate with any type of body

func NewCatletsValidateConfigRequest

func NewCatletsValidateConfigRequest(server string, body CatletsValidateConfigJSONRequestBody) (*http.Request, error)

NewCatletsValidateConfigRequest calls the generic CatletsValidateConfig builder with application/json body

func NewCatletsValidateConfigRequestWithBody

func NewCatletsValidateConfigRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCatletsValidateConfigRequestWithBody generates requests for CatletsValidateConfig with any type of body

func NewGenesCleanupRequest

func NewGenesCleanupRequest(server string) (*http.Request, error)

NewGenesCleanupRequest generates requests for GenesCleanup

func NewGenesDeleteRequest

func NewGenesDeleteRequest(server string, id string) (*http.Request, error)

NewGenesDeleteRequest generates requests for GenesDelete

func NewGenesGetRequest

func NewGenesGetRequest(server string, id string) (*http.Request, error)

NewGenesGetRequest generates requests for GenesGet

func NewGenesListRequest

func NewGenesListRequest(server string) (*http.Request, error)

NewGenesListRequest generates requests for GenesList

func NewOperationsGetRequest

func NewOperationsGetRequest(server string, id string, params *OperationsGetParams) (*http.Request, error)

NewOperationsGetRequest generates requests for OperationsGet

func NewOperationsListRequest

func NewOperationsListRequest(server string, params *OperationsListParams) (*http.Request, error)

NewOperationsListRequest generates requests for OperationsList

func NewProjectMembersAddRequest

func NewProjectMembersAddRequest(server string, projectId string, body ProjectMembersAddJSONRequestBody) (*http.Request, error)

NewProjectMembersAddRequest calls the generic ProjectMembersAdd builder with application/json body

func NewProjectMembersAddRequestWithBody

func NewProjectMembersAddRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)

NewProjectMembersAddRequestWithBody generates requests for ProjectMembersAdd with any type of body

func NewProjectMembersGetRequest

func NewProjectMembersGetRequest(server string, projectId string, id string) (*http.Request, error)

NewProjectMembersGetRequest generates requests for ProjectMembersGet

func NewProjectMembersListRequest

func NewProjectMembersListRequest(server string, projectId string) (*http.Request, error)

NewProjectMembersListRequest generates requests for ProjectMembersList

func NewProjectMembersRemoveRequest

func NewProjectMembersRemoveRequest(server string, projectId string, id string) (*http.Request, error)

NewProjectMembersRemoveRequest generates requests for ProjectMembersRemove

func NewProjectsCreateRequest

func NewProjectsCreateRequest(server string, body ProjectsCreateJSONRequestBody) (*http.Request, error)

NewProjectsCreateRequest calls the generic ProjectsCreate builder with application/json body

func NewProjectsCreateRequestWithBody

func NewProjectsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewProjectsCreateRequestWithBody generates requests for ProjectsCreate with any type of body

func NewProjectsDeleteRequest

func NewProjectsDeleteRequest(server string, id string) (*http.Request, error)

NewProjectsDeleteRequest generates requests for ProjectsDelete

func NewProjectsGetRequest

func NewProjectsGetRequest(server string, id string) (*http.Request, error)

NewProjectsGetRequest generates requests for ProjectsGet

func NewProjectsListRequest

func NewProjectsListRequest(server string) (*http.Request, error)

NewProjectsListRequest generates requests for ProjectsList

func NewVersionGetRequest

func NewVersionGetRequest(server string) (*http.Request, error)

NewVersionGetRequest generates requests for VersionGet

func NewVirtualDisksCreateRequest

func NewVirtualDisksCreateRequest(server string, body VirtualDisksCreateJSONRequestBody) (*http.Request, error)

NewVirtualDisksCreateRequest calls the generic VirtualDisksCreate builder with application/json body

func NewVirtualDisksCreateRequestWithBody

func NewVirtualDisksCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewVirtualDisksCreateRequestWithBody generates requests for VirtualDisksCreate with any type of body

func NewVirtualDisksDeleteRequest

func NewVirtualDisksDeleteRequest(server string, id string) (*http.Request, error)

NewVirtualDisksDeleteRequest generates requests for VirtualDisksDelete

func NewVirtualDisksGetRequest

func NewVirtualDisksGetRequest(server string, id string) (*http.Request, error)

NewVirtualDisksGetRequest generates requests for VirtualDisksGet

func NewVirtualDisksListRequest

func NewVirtualDisksListRequest(server string, params *VirtualDisksListParams) (*http.Request, error)

NewVirtualDisksListRequest generates requests for VirtualDisksList

func NewVirtualNetworksGetConfigRequest

func NewVirtualNetworksGetConfigRequest(server string, projectId string) (*http.Request, error)

NewVirtualNetworksGetConfigRequest generates requests for VirtualNetworksGetConfig

func NewVirtualNetworksGetRequest

func NewVirtualNetworksGetRequest(server string, id string) (*http.Request, error)

NewVirtualNetworksGetRequest generates requests for VirtualNetworksGet

func NewVirtualNetworksListRequest

func NewVirtualNetworksListRequest(server string, params *VirtualNetworksListParams) (*http.Request, error)

NewVirtualNetworksListRequest generates requests for VirtualNetworksList

func NewVirtualNetworksUpdateConfigRequest

func NewVirtualNetworksUpdateConfigRequest(server string, projectId string, body VirtualNetworksUpdateConfigJSONRequestBody) (*http.Request, error)

NewVirtualNetworksUpdateConfigRequest calls the generic VirtualNetworksUpdateConfig builder with application/json body

func NewVirtualNetworksUpdateConfigRequestWithBody

func NewVirtualNetworksUpdateConfigRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)

NewVirtualNetworksUpdateConfigRequestWithBody generates requests for VirtualNetworksUpdateConfig with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type ApiVersion

type ApiVersion struct {
	Major int32 `json:"major"`
	Minor int32 `json:"minor"`
}

ApiVersion defines model for ApiVersion.

type ApiVersionResponse

type ApiVersionResponse struct {
	LatestVersion ApiVersion `json:"latest_version"`
}

ApiVersionResponse defines model for ApiVersionResponse.

type Catlet

type Catlet struct {
	Drives          *[]CatletDrive          `json:"drives"`
	Id              string                  `json:"id"`
	Name            string                  `json:"name"`
	NetworkAdapters *[]CatletNetworkAdapter `json:"network_adapters"`
	Networks        *[]CatletNetwork        `json:"networks"`
	Project         Project                 `json:"project"`
	Status          CatletStatus            `json:"status"`

	// VmId The ID of the corresponding Hyper-V virtual machine.
	VmId string `json:"vm_id"`
}

Catlet defines model for Catlet.

type CatletConfigValidationResult

type CatletConfigValidationResult struct {
	// Errors Contains a list of the issues when the configuration is invalid.
	Errors *[]ValidationIssue `json:"errors"`

	// IsValid Indicates whether the catlet configuration is valid.
	IsValid bool `json:"is_valid"`
}

CatletConfigValidationResult defines model for CatletConfigValidationResult.

type CatletConfiguration

type CatletConfiguration struct {
	Configuration interface{} `json:"configuration"`
}

CatletConfiguration defines model for CatletConfiguration.

type CatletDrive

type CatletDrive struct {
	// AttachedDiskId The ID of the actual virtual disk which is attached.
	// This can be null, e.g. when the VHD has been deleted,
	// but it is still configured in the virtual machine.
	AttachedDiskId *string         `json:"attached_disk_id"`
	Type           CatletDriveType `json:"type"`
}

CatletDrive defines model for CatletDrive.

type CatletDriveType

type CatletDriveType string

CatletDriveType defines model for CatletDriveType.

const (
	DVD       CatletDriveType = "DVD"
	PHD       CatletDriveType = "PHD"
	SharedVHD CatletDriveType = "SharedVHD"
	VHD       CatletDriveType = "VHD"
	VHDSet    CatletDriveType = "VHDSet"
)

Defines values for CatletDriveType.

type CatletList

type CatletList struct {
	Value []Catlet `json:"value"`
}

CatletList defines model for CatletList.

type CatletNetwork

type CatletNetwork struct {
	DnsServerAddresses *[]string            `json:"dns_server_addresses"`
	FloatingPort       *FloatingNetworkPort `json:"floating_port,omitempty"`
	IPv4DefaultGateway *string              `json:"i_pv4_default_gateway"`
	IpV4Addresses      *[]string            `json:"ip_v4_addresses"`
	IpV4Subnets        *[]string            `json:"ip_v4_subnets"`
	Name               string               `json:"name"`
	Provider           string               `json:"provider"`
}

CatletNetwork defines model for CatletNetwork.

type CatletNetworkAdapter

type CatletNetworkAdapter struct {
	MacAddress *string `json:"mac_address"`
	Name       string  `json:"name"`
}

CatletNetworkAdapter defines model for CatletNetworkAdapter.

type CatletStatus

type CatletStatus string

CatletStatus defines model for CatletStatus.

const (
	CatletStatusError   CatletStatus = "Error"
	CatletStatusPending CatletStatus = "Pending"
	CatletStatusRunning CatletStatus = "Running"
	CatletStatusStopped CatletStatus = "Stopped"
	CatletStatusUnknown CatletStatus = "Unknown"
)

Defines values for CatletStatus.

type CatletStopMode

type CatletStopMode string

CatletStopMode defines model for CatletStopMode.

const (
	Hard     CatletStopMode = "Hard"
	Kill     CatletStopMode = "Kill"
	Shutdown CatletStopMode = "Shutdown"
)

Defines values for CatletStopMode.

type CatletsCreateJSONRequestBody

type CatletsCreateJSONRequestBody = NewCatletRequest

CatletsCreateJSONRequestBody defines body for CatletsCreate for application/json ContentType.

type CatletsCreateResponse

type CatletsCreateResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsCreateResponse

func ParseCatletsCreateResponse(rsp *http.Response) (*CatletsCreateResponse, error)

ParseCatletsCreateResponse parses an HTTP response from a CatletsCreateWithResponse call

func (CatletsCreateResponse) Status

func (r CatletsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (CatletsCreateResponse) StatusCode

func (r CatletsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsDeleteResponse

type CatletsDeleteResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsDeleteResponse

func ParseCatletsDeleteResponse(rsp *http.Response) (*CatletsDeleteResponse, error)

ParseCatletsDeleteResponse parses an HTTP response from a CatletsDeleteWithResponse call

func (CatletsDeleteResponse) Status

func (r CatletsDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (CatletsDeleteResponse) StatusCode

func (r CatletsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsExpandConfigJSONRequestBody

type CatletsExpandConfigJSONRequestBody = ExpandCatletConfigRequestBody

CatletsExpandConfigJSONRequestBody defines body for CatletsExpandConfig for application/json ContentType.

type CatletsExpandConfigResponse

type CatletsExpandConfigResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsExpandConfigResponse

func ParseCatletsExpandConfigResponse(rsp *http.Response) (*CatletsExpandConfigResponse, error)

ParseCatletsExpandConfigResponse parses an HTTP response from a CatletsExpandConfigWithResponse call

func (CatletsExpandConfigResponse) Status

Status returns HTTPResponse.Status

func (CatletsExpandConfigResponse) StatusCode

func (r CatletsExpandConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsExpandNewConfigJSONRequestBody

type CatletsExpandNewConfigJSONRequestBody = ExpandNewCatletConfigRequest

CatletsExpandNewConfigJSONRequestBody defines body for CatletsExpandNewConfig for application/json ContentType.

type CatletsExpandNewConfigResponse

type CatletsExpandNewConfigResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsExpandNewConfigResponse

func ParseCatletsExpandNewConfigResponse(rsp *http.Response) (*CatletsExpandNewConfigResponse, error)

ParseCatletsExpandNewConfigResponse parses an HTTP response from a CatletsExpandNewConfigWithResponse call

func (CatletsExpandNewConfigResponse) Status

Status returns HTTPResponse.Status

func (CatletsExpandNewConfigResponse) StatusCode

func (r CatletsExpandNewConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsGetConfigResponse

type CatletsGetConfigResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *CatletConfiguration
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsGetConfigResponse

func ParseCatletsGetConfigResponse(rsp *http.Response) (*CatletsGetConfigResponse, error)

ParseCatletsGetConfigResponse parses an HTTP response from a CatletsGetConfigWithResponse call

func (CatletsGetConfigResponse) Status

func (r CatletsGetConfigResponse) Status() string

Status returns HTTPResponse.Status

func (CatletsGetConfigResponse) StatusCode

func (r CatletsGetConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsGetResponse

type CatletsGetResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *Catlet
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsGetResponse

func ParseCatletsGetResponse(rsp *http.Response) (*CatletsGetResponse, error)

ParseCatletsGetResponse parses an HTTP response from a CatletsGetWithResponse call

func (CatletsGetResponse) Status

func (r CatletsGetResponse) Status() string

Status returns HTTPResponse.Status

func (CatletsGetResponse) StatusCode

func (r CatletsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsListParams

type CatletsListParams struct {
	ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
}

CatletsListParams defines parameters for CatletsList.

type CatletsListResponse

type CatletsListResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *CatletList
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsListResponse

func ParseCatletsListResponse(rsp *http.Response) (*CatletsListResponse, error)

ParseCatletsListResponse parses an HTTP response from a CatletsListWithResponse call

func (CatletsListResponse) Status

func (r CatletsListResponse) Status() string

Status returns HTTPResponse.Status

func (CatletsListResponse) StatusCode

func (r CatletsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsPopulateConfigVariablesJSONRequestBody

type CatletsPopulateConfigVariablesJSONRequestBody = PopulateCatletConfigVariablesRequest

CatletsPopulateConfigVariablesJSONRequestBody defines body for CatletsPopulateConfigVariables for application/json ContentType.

type CatletsPopulateConfigVariablesResponse

type CatletsPopulateConfigVariablesResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsPopulateConfigVariablesResponse

func ParseCatletsPopulateConfigVariablesResponse(rsp *http.Response) (*CatletsPopulateConfigVariablesResponse, error)

ParseCatletsPopulateConfigVariablesResponse parses an HTTP response from a CatletsPopulateConfigVariablesWithResponse call

func (CatletsPopulateConfigVariablesResponse) Status

Status returns HTTPResponse.Status

func (CatletsPopulateConfigVariablesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CatletsStartResponse

type CatletsStartResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsStartResponse

func ParseCatletsStartResponse(rsp *http.Response) (*CatletsStartResponse, error)

ParseCatletsStartResponse parses an HTTP response from a CatletsStartWithResponse call

func (CatletsStartResponse) Status

func (r CatletsStartResponse) Status() string

Status returns HTTPResponse.Status

func (CatletsStartResponse) StatusCode

func (r CatletsStartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsStopJSONRequestBody

type CatletsStopJSONRequestBody = StopCatletRequestBody

CatletsStopJSONRequestBody defines body for CatletsStop for application/json ContentType.

type CatletsStopResponse

type CatletsStopResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsStopResponse

func ParseCatletsStopResponse(rsp *http.Response) (*CatletsStopResponse, error)

ParseCatletsStopResponse parses an HTTP response from a CatletsStopWithResponse call

func (CatletsStopResponse) Status

func (r CatletsStopResponse) Status() string

Status returns HTTPResponse.Status

func (CatletsStopResponse) StatusCode

func (r CatletsStopResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsUpdateJSONRequestBody

type CatletsUpdateJSONRequestBody = UpdateCatletRequestBody

CatletsUpdateJSONRequestBody defines body for CatletsUpdate for application/json ContentType.

type CatletsUpdateResponse

type CatletsUpdateResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsUpdateResponse

func ParseCatletsUpdateResponse(rsp *http.Response) (*CatletsUpdateResponse, error)

ParseCatletsUpdateResponse parses an HTTP response from a CatletsUpdateWithResponse call

func (CatletsUpdateResponse) Status

func (r CatletsUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (CatletsUpdateResponse) StatusCode

func (r CatletsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatletsValidateConfigJSONRequestBody

type CatletsValidateConfigJSONRequestBody = ValidateConfigRequest

CatletsValidateConfigJSONRequestBody defines body for CatletsValidateConfig for application/json ContentType.

type CatletsValidateConfigResponse

type CatletsValidateConfigResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *CatletConfigValidationResult
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseCatletsValidateConfigResponse

func ParseCatletsValidateConfigResponse(rsp *http.Response) (*CatletsValidateConfigResponse, error)

ParseCatletsValidateConfigResponse parses an HTTP response from a CatletsValidateConfigWithResponse call

func (CatletsValidateConfigResponse) Status

Status returns HTTPResponse.Status

func (CatletsValidateConfigResponse) StatusCode

func (r CatletsValidateConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CatletsCreate

func (c *Client) CatletsCreate(ctx context.Context, body CatletsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsCreateWithBody

func (c *Client) CatletsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsDelete

func (c *Client) CatletsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsExpandConfig

func (c *Client) CatletsExpandConfig(ctx context.Context, id string, body CatletsExpandConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsExpandConfigWithBody

func (c *Client) CatletsExpandConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsExpandNewConfig

func (c *Client) CatletsExpandNewConfig(ctx context.Context, body CatletsExpandNewConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsExpandNewConfigWithBody

func (c *Client) CatletsExpandNewConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsGet

func (c *Client) CatletsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsGetConfig

func (c *Client) CatletsGetConfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsList

func (c *Client) CatletsList(ctx context.Context, params *CatletsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsPopulateConfigVariables

func (c *Client) CatletsPopulateConfigVariables(ctx context.Context, body CatletsPopulateConfigVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsPopulateConfigVariablesWithBody

func (c *Client) CatletsPopulateConfigVariablesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsStart

func (c *Client) CatletsStart(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsStop

func (c *Client) CatletsStop(ctx context.Context, id string, body CatletsStopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsStopWithBody

func (c *Client) CatletsStopWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsUpdate

func (c *Client) CatletsUpdate(ctx context.Context, id string, body CatletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsUpdateWithBody

func (c *Client) CatletsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsValidateConfig

func (c *Client) CatletsValidateConfig(ctx context.Context, body CatletsValidateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatletsValidateConfigWithBody

func (c *Client) CatletsValidateConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenesCleanup

func (c *Client) GenesCleanup(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenesDelete

func (c *Client) GenesDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenesGet

func (c *Client) GenesGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenesList

func (c *Client) GenesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) OperationsGet

func (c *Client) OperationsGet(ctx context.Context, id string, params *OperationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) OperationsList

func (c *Client) OperationsList(ctx context.Context, params *OperationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectMembersAdd

func (c *Client) ProjectMembersAdd(ctx context.Context, projectId string, body ProjectMembersAddJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectMembersAddWithBody

func (c *Client) ProjectMembersAddWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectMembersGet

func (c *Client) ProjectMembersGet(ctx context.Context, projectId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectMembersList

func (c *Client) ProjectMembersList(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectMembersRemove

func (c *Client) ProjectMembersRemove(ctx context.Context, projectId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectsCreate

func (c *Client) ProjectsCreate(ctx context.Context, body ProjectsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectsCreateWithBody

func (c *Client) ProjectsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectsDelete

func (c *Client) ProjectsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectsGet

func (c *Client) ProjectsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProjectsList

func (c *Client) ProjectsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VersionGet

func (c *Client) VersionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualDisksCreate

func (c *Client) VirtualDisksCreate(ctx context.Context, body VirtualDisksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualDisksCreateWithBody

func (c *Client) VirtualDisksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualDisksDelete

func (c *Client) VirtualDisksDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualDisksGet

func (c *Client) VirtualDisksGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualDisksList

func (c *Client) VirtualDisksList(ctx context.Context, params *VirtualDisksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualNetworksGet

func (c *Client) VirtualNetworksGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualNetworksGetConfig

func (c *Client) VirtualNetworksGetConfig(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualNetworksList

func (c *Client) VirtualNetworksList(ctx context.Context, params *VirtualNetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualNetworksUpdateConfig

func (c *Client) VirtualNetworksUpdateConfig(ctx context.Context, projectId string, body VirtualNetworksUpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VirtualNetworksUpdateConfigWithBody

func (c *Client) VirtualNetworksUpdateConfigWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// CatletsList request
	CatletsList(ctx context.Context, params *CatletsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsCreateWithBody request with any body
	CatletsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatletsCreate(ctx context.Context, body CatletsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsExpandNewConfigWithBody request with any body
	CatletsExpandNewConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatletsExpandNewConfig(ctx context.Context, body CatletsExpandNewConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsPopulateConfigVariablesWithBody request with any body
	CatletsPopulateConfigVariablesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatletsPopulateConfigVariables(ctx context.Context, body CatletsPopulateConfigVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsValidateConfigWithBody request with any body
	CatletsValidateConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatletsValidateConfig(ctx context.Context, body CatletsValidateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsDelete request
	CatletsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsGet request
	CatletsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsUpdateWithBody request with any body
	CatletsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatletsUpdate(ctx context.Context, id string, body CatletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsGetConfig request
	CatletsGetConfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsExpandConfigWithBody request with any body
	CatletsExpandConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatletsExpandConfig(ctx context.Context, id string, body CatletsExpandConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsStart request
	CatletsStart(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatletsStopWithBody request with any body
	CatletsStopWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatletsStop(ctx context.Context, id string, body CatletsStopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenesCleanup request
	GenesCleanup(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenesList request
	GenesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenesDelete request
	GenesDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenesGet request
	GenesGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OperationsList request
	OperationsList(ctx context.Context, params *OperationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OperationsGet request
	OperationsGet(ctx context.Context, id string, params *OperationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectsList request
	ProjectsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectsCreateWithBody request with any body
	ProjectsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ProjectsCreate(ctx context.Context, body ProjectsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectsDelete request
	ProjectsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectsGet request
	ProjectsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectMembersList request
	ProjectMembersList(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectMembersAddWithBody request with any body
	ProjectMembersAddWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ProjectMembersAdd(ctx context.Context, projectId string, body ProjectMembersAddJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectMembersRemove request
	ProjectMembersRemove(ctx context.Context, projectId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectMembersGet request
	ProjectMembersGet(ctx context.Context, projectId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VirtualNetworksGetConfig request
	VirtualNetworksGetConfig(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VirtualNetworksUpdateConfigWithBody request with any body
	VirtualNetworksUpdateConfigWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VirtualNetworksUpdateConfig(ctx context.Context, projectId string, body VirtualNetworksUpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VersionGet request
	VersionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VirtualDisksList request
	VirtualDisksList(ctx context.Context, params *VirtualDisksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VirtualDisksCreateWithBody request with any body
	VirtualDisksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VirtualDisksCreate(ctx context.Context, body VirtualDisksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VirtualDisksDelete request
	VirtualDisksDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VirtualDisksGet request
	VirtualDisksGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VirtualNetworksList request
	VirtualNetworksList(ctx context.Context, params *VirtualNetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VirtualNetworksGet request
	VirtualNetworksGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CatletsCreateWithBodyWithResponse

func (c *ClientWithResponses) CatletsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsCreateResponse, error)

CatletsCreateWithBodyWithResponse request with arbitrary body returning *CatletsCreateResponse

func (*ClientWithResponses) CatletsCreateWithResponse

func (c *ClientWithResponses) CatletsCreateWithResponse(ctx context.Context, body CatletsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsCreateResponse, error)

func (*ClientWithResponses) CatletsDeleteWithResponse

func (c *ClientWithResponses) CatletsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatletsDeleteResponse, error)

CatletsDeleteWithResponse request returning *CatletsDeleteResponse

func (*ClientWithResponses) CatletsExpandConfigWithBodyWithResponse

func (c *ClientWithResponses) CatletsExpandConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsExpandConfigResponse, error)

CatletsExpandConfigWithBodyWithResponse request with arbitrary body returning *CatletsExpandConfigResponse

func (*ClientWithResponses) CatletsExpandConfigWithResponse

func (c *ClientWithResponses) CatletsExpandConfigWithResponse(ctx context.Context, id string, body CatletsExpandConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsExpandConfigResponse, error)

func (*ClientWithResponses) CatletsExpandNewConfigWithBodyWithResponse

func (c *ClientWithResponses) CatletsExpandNewConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsExpandNewConfigResponse, error)

CatletsExpandNewConfigWithBodyWithResponse request with arbitrary body returning *CatletsExpandNewConfigResponse

func (*ClientWithResponses) CatletsExpandNewConfigWithResponse

func (c *ClientWithResponses) CatletsExpandNewConfigWithResponse(ctx context.Context, body CatletsExpandNewConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsExpandNewConfigResponse, error)

func (*ClientWithResponses) CatletsGetConfigWithResponse

func (c *ClientWithResponses) CatletsGetConfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatletsGetConfigResponse, error)

CatletsGetConfigWithResponse request returning *CatletsGetConfigResponse

func (*ClientWithResponses) CatletsGetWithResponse

func (c *ClientWithResponses) CatletsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatletsGetResponse, error)

CatletsGetWithResponse request returning *CatletsGetResponse

func (*ClientWithResponses) CatletsListWithResponse

func (c *ClientWithResponses) CatletsListWithResponse(ctx context.Context, params *CatletsListParams, reqEditors ...RequestEditorFn) (*CatletsListResponse, error)

CatletsListWithResponse request returning *CatletsListResponse

func (*ClientWithResponses) CatletsPopulateConfigVariablesWithBodyWithResponse

func (c *ClientWithResponses) CatletsPopulateConfigVariablesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsPopulateConfigVariablesResponse, error)

CatletsPopulateConfigVariablesWithBodyWithResponse request with arbitrary body returning *CatletsPopulateConfigVariablesResponse

func (*ClientWithResponses) CatletsPopulateConfigVariablesWithResponse

func (c *ClientWithResponses) CatletsPopulateConfigVariablesWithResponse(ctx context.Context, body CatletsPopulateConfigVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsPopulateConfigVariablesResponse, error)

func (*ClientWithResponses) CatletsStartWithResponse

func (c *ClientWithResponses) CatletsStartWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatletsStartResponse, error)

CatletsStartWithResponse request returning *CatletsStartResponse

func (*ClientWithResponses) CatletsStopWithBodyWithResponse

func (c *ClientWithResponses) CatletsStopWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsStopResponse, error)

CatletsStopWithBodyWithResponse request with arbitrary body returning *CatletsStopResponse

func (*ClientWithResponses) CatletsStopWithResponse

func (c *ClientWithResponses) CatletsStopWithResponse(ctx context.Context, id string, body CatletsStopJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsStopResponse, error)

func (*ClientWithResponses) CatletsUpdateWithBodyWithResponse

func (c *ClientWithResponses) CatletsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsUpdateResponse, error)

CatletsUpdateWithBodyWithResponse request with arbitrary body returning *CatletsUpdateResponse

func (*ClientWithResponses) CatletsUpdateWithResponse

func (c *ClientWithResponses) CatletsUpdateWithResponse(ctx context.Context, id string, body CatletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsUpdateResponse, error)

func (*ClientWithResponses) CatletsValidateConfigWithBodyWithResponse

func (c *ClientWithResponses) CatletsValidateConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsValidateConfigResponse, error)

CatletsValidateConfigWithBodyWithResponse request with arbitrary body returning *CatletsValidateConfigResponse

func (*ClientWithResponses) CatletsValidateConfigWithResponse

func (c *ClientWithResponses) CatletsValidateConfigWithResponse(ctx context.Context, body CatletsValidateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsValidateConfigResponse, error)

func (*ClientWithResponses) GenesCleanupWithResponse

func (c *ClientWithResponses) GenesCleanupWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GenesCleanupResponse, error)

GenesCleanupWithResponse request returning *GenesCleanupResponse

func (*ClientWithResponses) GenesDeleteWithResponse

func (c *ClientWithResponses) GenesDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GenesDeleteResponse, error)

GenesDeleteWithResponse request returning *GenesDeleteResponse

func (*ClientWithResponses) GenesGetWithResponse

func (c *ClientWithResponses) GenesGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GenesGetResponse, error)

GenesGetWithResponse request returning *GenesGetResponse

func (*ClientWithResponses) GenesListWithResponse

func (c *ClientWithResponses) GenesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GenesListResponse, error)

GenesListWithResponse request returning *GenesListResponse

func (*ClientWithResponses) OperationsGetWithResponse

func (c *ClientWithResponses) OperationsGetWithResponse(ctx context.Context, id string, params *OperationsGetParams, reqEditors ...RequestEditorFn) (*OperationsGetResponse, error)

OperationsGetWithResponse request returning *OperationsGetResponse

func (*ClientWithResponses) OperationsListWithResponse

func (c *ClientWithResponses) OperationsListWithResponse(ctx context.Context, params *OperationsListParams, reqEditors ...RequestEditorFn) (*OperationsListResponse, error)

OperationsListWithResponse request returning *OperationsListResponse

func (*ClientWithResponses) ProjectMembersAddWithBodyWithResponse

func (c *ClientWithResponses) ProjectMembersAddWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectMembersAddResponse, error)

ProjectMembersAddWithBodyWithResponse request with arbitrary body returning *ProjectMembersAddResponse

func (*ClientWithResponses) ProjectMembersAddWithResponse

func (c *ClientWithResponses) ProjectMembersAddWithResponse(ctx context.Context, projectId string, body ProjectMembersAddJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectMembersAddResponse, error)

func (*ClientWithResponses) ProjectMembersGetWithResponse

func (c *ClientWithResponses) ProjectMembersGetWithResponse(ctx context.Context, projectId string, id string, reqEditors ...RequestEditorFn) (*ProjectMembersGetResponse, error)

ProjectMembersGetWithResponse request returning *ProjectMembersGetResponse

func (*ClientWithResponses) ProjectMembersListWithResponse

func (c *ClientWithResponses) ProjectMembersListWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectMembersListResponse, error)

ProjectMembersListWithResponse request returning *ProjectMembersListResponse

func (*ClientWithResponses) ProjectMembersRemoveWithResponse

func (c *ClientWithResponses) ProjectMembersRemoveWithResponse(ctx context.Context, projectId string, id string, reqEditors ...RequestEditorFn) (*ProjectMembersRemoveResponse, error)

ProjectMembersRemoveWithResponse request returning *ProjectMembersRemoveResponse

func (*ClientWithResponses) ProjectsCreateWithBodyWithResponse

func (c *ClientWithResponses) ProjectsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectsCreateResponse, error)

ProjectsCreateWithBodyWithResponse request with arbitrary body returning *ProjectsCreateResponse

func (*ClientWithResponses) ProjectsCreateWithResponse

func (c *ClientWithResponses) ProjectsCreateWithResponse(ctx context.Context, body ProjectsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectsCreateResponse, error)

func (*ClientWithResponses) ProjectsDeleteWithResponse

func (c *ClientWithResponses) ProjectsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectsDeleteResponse, error)

ProjectsDeleteWithResponse request returning *ProjectsDeleteResponse

func (*ClientWithResponses) ProjectsGetWithResponse

func (c *ClientWithResponses) ProjectsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectsGetResponse, error)

ProjectsGetWithResponse request returning *ProjectsGetResponse

func (*ClientWithResponses) ProjectsListWithResponse

func (c *ClientWithResponses) ProjectsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProjectsListResponse, error)

ProjectsListWithResponse request returning *ProjectsListResponse

func (*ClientWithResponses) VersionGetWithResponse

func (c *ClientWithResponses) VersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VersionGetResponse, error)

VersionGetWithResponse request returning *VersionGetResponse

func (*ClientWithResponses) VirtualDisksCreateWithBodyWithResponse

func (c *ClientWithResponses) VirtualDisksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualDisksCreateResponse, error)

VirtualDisksCreateWithBodyWithResponse request with arbitrary body returning *VirtualDisksCreateResponse

func (*ClientWithResponses) VirtualDisksCreateWithResponse

func (c *ClientWithResponses) VirtualDisksCreateWithResponse(ctx context.Context, body VirtualDisksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualDisksCreateResponse, error)

func (*ClientWithResponses) VirtualDisksDeleteWithResponse

func (c *ClientWithResponses) VirtualDisksDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VirtualDisksDeleteResponse, error)

VirtualDisksDeleteWithResponse request returning *VirtualDisksDeleteResponse

func (*ClientWithResponses) VirtualDisksGetWithResponse

func (c *ClientWithResponses) VirtualDisksGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VirtualDisksGetResponse, error)

VirtualDisksGetWithResponse request returning *VirtualDisksGetResponse

func (*ClientWithResponses) VirtualDisksListWithResponse

func (c *ClientWithResponses) VirtualDisksListWithResponse(ctx context.Context, params *VirtualDisksListParams, reqEditors ...RequestEditorFn) (*VirtualDisksListResponse, error)

VirtualDisksListWithResponse request returning *VirtualDisksListResponse

func (*ClientWithResponses) VirtualNetworksGetConfigWithResponse

func (c *ClientWithResponses) VirtualNetworksGetConfigWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*VirtualNetworksGetConfigResponse, error)

VirtualNetworksGetConfigWithResponse request returning *VirtualNetworksGetConfigResponse

func (*ClientWithResponses) VirtualNetworksGetWithResponse

func (c *ClientWithResponses) VirtualNetworksGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VirtualNetworksGetResponse, error)

VirtualNetworksGetWithResponse request returning *VirtualNetworksGetResponse

func (*ClientWithResponses) VirtualNetworksListWithResponse

func (c *ClientWithResponses) VirtualNetworksListWithResponse(ctx context.Context, params *VirtualNetworksListParams, reqEditors ...RequestEditorFn) (*VirtualNetworksListResponse, error)

VirtualNetworksListWithResponse request returning *VirtualNetworksListResponse

func (*ClientWithResponses) VirtualNetworksUpdateConfigWithBodyWithResponse

func (c *ClientWithResponses) VirtualNetworksUpdateConfigWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualNetworksUpdateConfigResponse, error)

VirtualNetworksUpdateConfigWithBodyWithResponse request with arbitrary body returning *VirtualNetworksUpdateConfigResponse

func (*ClientWithResponses) VirtualNetworksUpdateConfigWithResponse

func (c *ClientWithResponses) VirtualNetworksUpdateConfigWithResponse(ctx context.Context, projectId string, body VirtualNetworksUpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualNetworksUpdateConfigResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// CatletsListWithResponse request
	CatletsListWithResponse(ctx context.Context, params *CatletsListParams, reqEditors ...RequestEditorFn) (*CatletsListResponse, error)

	// CatletsCreateWithBodyWithResponse request with any body
	CatletsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsCreateResponse, error)

	CatletsCreateWithResponse(ctx context.Context, body CatletsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsCreateResponse, error)

	// CatletsExpandNewConfigWithBodyWithResponse request with any body
	CatletsExpandNewConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsExpandNewConfigResponse, error)

	CatletsExpandNewConfigWithResponse(ctx context.Context, body CatletsExpandNewConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsExpandNewConfigResponse, error)

	// CatletsPopulateConfigVariablesWithBodyWithResponse request with any body
	CatletsPopulateConfigVariablesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsPopulateConfigVariablesResponse, error)

	CatletsPopulateConfigVariablesWithResponse(ctx context.Context, body CatletsPopulateConfigVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsPopulateConfigVariablesResponse, error)

	// CatletsValidateConfigWithBodyWithResponse request with any body
	CatletsValidateConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsValidateConfigResponse, error)

	CatletsValidateConfigWithResponse(ctx context.Context, body CatletsValidateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsValidateConfigResponse, error)

	// CatletsDeleteWithResponse request
	CatletsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatletsDeleteResponse, error)

	// CatletsGetWithResponse request
	CatletsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatletsGetResponse, error)

	// CatletsUpdateWithBodyWithResponse request with any body
	CatletsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsUpdateResponse, error)

	CatletsUpdateWithResponse(ctx context.Context, id string, body CatletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsUpdateResponse, error)

	// CatletsGetConfigWithResponse request
	CatletsGetConfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatletsGetConfigResponse, error)

	// CatletsExpandConfigWithBodyWithResponse request with any body
	CatletsExpandConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsExpandConfigResponse, error)

	CatletsExpandConfigWithResponse(ctx context.Context, id string, body CatletsExpandConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsExpandConfigResponse, error)

	// CatletsStartWithResponse request
	CatletsStartWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatletsStartResponse, error)

	// CatletsStopWithBodyWithResponse request with any body
	CatletsStopWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatletsStopResponse, error)

	CatletsStopWithResponse(ctx context.Context, id string, body CatletsStopJSONRequestBody, reqEditors ...RequestEditorFn) (*CatletsStopResponse, error)

	// GenesCleanupWithResponse request
	GenesCleanupWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GenesCleanupResponse, error)

	// GenesListWithResponse request
	GenesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GenesListResponse, error)

	// GenesDeleteWithResponse request
	GenesDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GenesDeleteResponse, error)

	// GenesGetWithResponse request
	GenesGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GenesGetResponse, error)

	// OperationsListWithResponse request
	OperationsListWithResponse(ctx context.Context, params *OperationsListParams, reqEditors ...RequestEditorFn) (*OperationsListResponse, error)

	// OperationsGetWithResponse request
	OperationsGetWithResponse(ctx context.Context, id string, params *OperationsGetParams, reqEditors ...RequestEditorFn) (*OperationsGetResponse, error)

	// ProjectsListWithResponse request
	ProjectsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProjectsListResponse, error)

	// ProjectsCreateWithBodyWithResponse request with any body
	ProjectsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectsCreateResponse, error)

	ProjectsCreateWithResponse(ctx context.Context, body ProjectsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectsCreateResponse, error)

	// ProjectsDeleteWithResponse request
	ProjectsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectsDeleteResponse, error)

	// ProjectsGetWithResponse request
	ProjectsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectsGetResponse, error)

	// ProjectMembersListWithResponse request
	ProjectMembersListWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectMembersListResponse, error)

	// ProjectMembersAddWithBodyWithResponse request with any body
	ProjectMembersAddWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectMembersAddResponse, error)

	ProjectMembersAddWithResponse(ctx context.Context, projectId string, body ProjectMembersAddJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectMembersAddResponse, error)

	// ProjectMembersRemoveWithResponse request
	ProjectMembersRemoveWithResponse(ctx context.Context, projectId string, id string, reqEditors ...RequestEditorFn) (*ProjectMembersRemoveResponse, error)

	// ProjectMembersGetWithResponse request
	ProjectMembersGetWithResponse(ctx context.Context, projectId string, id string, reqEditors ...RequestEditorFn) (*ProjectMembersGetResponse, error)

	// VirtualNetworksGetConfigWithResponse request
	VirtualNetworksGetConfigWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*VirtualNetworksGetConfigResponse, error)

	// VirtualNetworksUpdateConfigWithBodyWithResponse request with any body
	VirtualNetworksUpdateConfigWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualNetworksUpdateConfigResponse, error)

	VirtualNetworksUpdateConfigWithResponse(ctx context.Context, projectId string, body VirtualNetworksUpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualNetworksUpdateConfigResponse, error)

	// VersionGetWithResponse request
	VersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VersionGetResponse, error)

	// VirtualDisksListWithResponse request
	VirtualDisksListWithResponse(ctx context.Context, params *VirtualDisksListParams, reqEditors ...RequestEditorFn) (*VirtualDisksListResponse, error)

	// VirtualDisksCreateWithBodyWithResponse request with any body
	VirtualDisksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualDisksCreateResponse, error)

	VirtualDisksCreateWithResponse(ctx context.Context, body VirtualDisksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualDisksCreateResponse, error)

	// VirtualDisksDeleteWithResponse request
	VirtualDisksDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VirtualDisksDeleteResponse, error)

	// VirtualDisksGetWithResponse request
	VirtualDisksGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VirtualDisksGetResponse, error)

	// VirtualNetworksListWithResponse request
	VirtualNetworksListWithResponse(ctx context.Context, params *VirtualNetworksListParams, reqEditors ...RequestEditorFn) (*VirtualNetworksListResponse, error)

	// VirtualNetworksGetWithResponse request
	VirtualNetworksGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VirtualNetworksGetResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type DiskStatus

type DiskStatus string

DiskStatus defines model for DiskStatus.

const (
	DiskStatusError DiskStatus = "Error"
	DiskStatusOk    DiskStatus = "Ok"
)

Defines values for DiskStatus.

type ExpandCatletConfigRequestBody

type ExpandCatletConfigRequestBody struct {
	Configuration interface{}         `json:"configuration"`
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
	ShowSecrets   *bool               `json:"show_secrets"`
}

ExpandCatletConfigRequestBody defines model for ExpandCatletConfigRequestBody.

type ExpandNewCatletConfigRequest

type ExpandNewCatletConfigRequest struct {
	Configuration interface{}         `json:"configuration"`
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
	ShowSecrets   *bool               `json:"show_secrets"`
}

ExpandNewCatletConfigRequest defines model for ExpandNewCatletConfigRequest.

type FloatingNetworkPort

type FloatingNetworkPort struct {
	IpV4Addresses *[]string `json:"ip_v4_addresses"`
	IpV4Subnets   *[]string `json:"ip_v4_subnets"`
	Name          string    `json:"name"`
	Provider      string    `json:"provider"`
	Subnet        string    `json:"subnet"`
}

FloatingNetworkPort defines model for FloatingNetworkPort.

type Gene

type Gene struct {
	Architecture string   `json:"architecture"`
	GeneSet      string   `json:"gene_set"`
	GeneType     GeneType `json:"gene_type"`
	Hash         string   `json:"hash"`
	Id           string   `json:"id"`
	Name         string   `json:"name"`
	Size         int64    `json:"size"`
}

Gene defines model for Gene.

type GeneList

type GeneList struct {
	Value []Gene `json:"value"`
}

GeneList defines model for GeneList.

type GeneType

type GeneType string

GeneType defines model for GeneType.

const (
	GeneTypeCatlet GeneType = "Catlet"
	GeneTypeFodder GeneType = "Fodder"
	GeneTypeVolume GeneType = "Volume"
)

Defines values for GeneType.

type GeneWithUsage

type GeneWithUsage struct {
	Architecture string    `json:"architecture"`
	Catlets      *[]string `json:"catlets"`
	Disks        *[]string `json:"disks"`
	GeneSet      string    `json:"gene_set"`
	GeneType     GeneType  `json:"gene_type"`
	Hash         string    `json:"hash"`
	Id           string    `json:"id"`
	Name         string    `json:"name"`
	Size         int64     `json:"size"`
}

GeneWithUsage defines model for GeneWithUsage.

type GenesCleanupResponse

type GenesCleanupResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseGenesCleanupResponse

func ParseGenesCleanupResponse(rsp *http.Response) (*GenesCleanupResponse, error)

ParseGenesCleanupResponse parses an HTTP response from a GenesCleanupWithResponse call

func (GenesCleanupResponse) Status

func (r GenesCleanupResponse) Status() string

Status returns HTTPResponse.Status

func (GenesCleanupResponse) StatusCode

func (r GenesCleanupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GenesDeleteResponse

type GenesDeleteResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseGenesDeleteResponse

func ParseGenesDeleteResponse(rsp *http.Response) (*GenesDeleteResponse, error)

ParseGenesDeleteResponse parses an HTTP response from a GenesDeleteWithResponse call

func (GenesDeleteResponse) Status

func (r GenesDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (GenesDeleteResponse) StatusCode

func (r GenesDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GenesGetResponse

type GenesGetResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *GeneWithUsage
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseGenesGetResponse

func ParseGenesGetResponse(rsp *http.Response) (*GenesGetResponse, error)

ParseGenesGetResponse parses an HTTP response from a GenesGetWithResponse call

func (GenesGetResponse) Status

func (r GenesGetResponse) Status() string

Status returns HTTPResponse.Status

func (GenesGetResponse) StatusCode

func (r GenesGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GenesListResponse

type GenesListResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *GeneList
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseGenesListResponse

func ParseGenesListResponse(rsp *http.Response) (*GenesListResponse, error)

ParseGenesListResponse parses an HTTP response from a GenesListWithResponse call

func (GenesListResponse) Status

func (r GenesListResponse) Status() string

Status returns HTTPResponse.Status

func (GenesListResponse) StatusCode

func (r GenesListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type NewCatletRequest

type NewCatletRequest struct {
	Configuration interface{}         `json:"configuration"`
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
}

NewCatletRequest defines model for NewCatletRequest.

type NewProjectMemberBody

type NewProjectMemberBody struct {
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
	MemberId      string              `json:"member_id"`
	RoleId        string              `json:"role_id"`
}

NewProjectMemberBody defines model for NewProjectMemberBody.

type NewProjectRequest

type NewProjectRequest struct {
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
	Name          string              `json:"name"`
}

NewProjectRequest defines model for NewProjectRequest.

type NewVirtualDiskRequest

type NewVirtualDiskRequest struct {
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
	Environment   *string             `json:"environment"`
	Location      string              `json:"location"`
	Name          string              `json:"name"`
	ProjectId     string              `json:"project_id"`
	Size          int32               `json:"size"`
	Store         *string             `json:"store"`
}

NewVirtualDiskRequest defines model for NewVirtualDiskRequest.

type Operation

type Operation struct {
	Id            string               `json:"id"`
	LogEntries    *[]OperationLogEntry `json:"log_entries"`
	Projects      *[]Project           `json:"projects"`
	Resources     *[]OperationResource `json:"resources"`
	Result        *OperationResult     `json:"result,omitempty"`
	Status        OperationStatus      `json:"status"`
	StatusMessage *string              `json:"status_message"`
	Tasks         *[]OperationTask     `json:"tasks"`
}

Operation defines model for Operation.

type OperationList

type OperationList struct {
	Value []Operation `json:"value"`
}

OperationList defines model for OperationList.

type OperationLogEntry

type OperationLogEntry struct {
	Id        string    `json:"id"`
	Message   *string   `json:"message"`
	TaskId    string    `json:"task_id"`
	Timestamp time.Time `json:"timestamp"`
}

OperationLogEntry defines model for OperationLogEntry.

type OperationResource

type OperationResource struct {
	Id           string       `json:"id"`
	ResourceId   string       `json:"resource_id"`
	ResourceType ResourceType `json:"resource_type"`
}

OperationResource defines model for OperationResource.

type OperationResult

type OperationResult struct {
	ResultType string `json:"result_type"`
}

OperationResult defines model for OperationResult.

type OperationStatus

type OperationStatus string

OperationStatus defines model for OperationStatus.

const (
	OperationStatusCompleted OperationStatus = "Completed"
	OperationStatusFailed    OperationStatus = "Failed"
	OperationStatusQueued    OperationStatus = "Queued"
	OperationStatusRunning   OperationStatus = "Running"
)

Defines values for OperationStatus.

type OperationTask

type OperationTask struct {
	DisplayName  *string                 `json:"display_name"`
	Id           string                  `json:"id"`
	Name         string                  `json:"name"`
	ParentTaskId *string                 `json:"parent_task_id"`
	Progress     int32                   `json:"progress"`
	Reference    *OperationTaskReference `json:"reference,omitempty"`
	Status       OperationTaskStatus     `json:"status"`
}

OperationTask defines model for OperationTask.

type OperationTaskReference

type OperationTaskReference struct {
	Id          string            `json:"id"`
	ProjectName string            `json:"project_name"`
	Type        TaskReferenceType `json:"type"`
}

OperationTaskReference defines model for OperationTaskReference.

type OperationTaskStatus

type OperationTaskStatus string

OperationTaskStatus defines model for OperationTaskStatus.

const (
	OperationTaskStatusCompleted OperationTaskStatus = "Completed"
	OperationTaskStatusFailed    OperationTaskStatus = "Failed"
	OperationTaskStatusQueued    OperationTaskStatus = "Queued"
	OperationTaskStatusRunning   OperationTaskStatus = "Running"
)

Defines values for OperationTaskStatus.

type OperationsGetParams

type OperationsGetParams struct {
	// LogTimeStamp Filters returned log entries by the requested timestamp
	LogTimeStamp *time.Time `form:"log_time_stamp,omitempty" json:"log_time_stamp,omitempty"`

	// Expand Expand details. Supported details are: logs,resources,projects,tasks
	Expand *string `form:"expand,omitempty" json:"expand,omitempty"`
}

OperationsGetParams defines parameters for OperationsGet.

type OperationsGetResponse

type OperationsGetResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseOperationsGetResponse

func ParseOperationsGetResponse(rsp *http.Response) (*OperationsGetResponse, error)

ParseOperationsGetResponse parses an HTTP response from a OperationsGetWithResponse call

func (OperationsGetResponse) Status

func (r OperationsGetResponse) Status() string

Status returns HTTPResponse.Status

func (OperationsGetResponse) StatusCode

func (r OperationsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OperationsListParams

type OperationsListParams struct {
	// LogTimeStamp Filters returned log entries by the requested timestamp
	LogTimeStamp *time.Time `form:"log_time_stamp,omitempty" json:"log_time_stamp,omitempty"`

	// Expand Expand details. Supported details are: logs,resources,projects,tasks
	Expand *string `form:"expand,omitempty" json:"expand,omitempty"`
}

OperationsListParams defines parameters for OperationsList.

type OperationsListResponse

type OperationsListResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *OperationList
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseOperationsListResponse

func ParseOperationsListResponse(rsp *http.Response) (*OperationsListResponse, error)

ParseOperationsListResponse parses an HTTP response from a OperationsListWithResponse call

func (OperationsListResponse) Status

func (r OperationsListResponse) Status() string

Status returns HTTPResponse.Status

func (OperationsListResponse) StatusCode

func (r OperationsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PopulateCatletConfigVariablesRequest

type PopulateCatletConfigVariablesRequest struct {
	Configuration interface{}         `json:"configuration"`
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
}

PopulateCatletConfigVariablesRequest defines model for PopulateCatletConfigVariablesRequest.

type ProblemDetails

type ProblemDetails struct {
	Detail               *string                `json:"detail"`
	Instance             *string                `json:"instance"`
	Status               *int32                 `json:"status"`
	Title                *string                `json:"title"`
	Type                 *string                `json:"type"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ProblemDetails defines model for ProblemDetails.

func (ProblemDetails) Get

func (a ProblemDetails) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ProblemDetails. Returns the specified element and whether it was found

func (ProblemDetails) MarshalJSON

func (a ProblemDetails) MarshalJSON() ([]byte, error)

Override default JSON handling for ProblemDetails to handle AdditionalProperties

func (*ProblemDetails) Set

func (a *ProblemDetails) Set(fieldName string, value interface{})

Setter for additional properties for ProblemDetails

func (*ProblemDetails) UnmarshalJSON

func (a *ProblemDetails) UnmarshalJSON(b []byte) error

Override default JSON handling for ProblemDetails to handle AdditionalProperties

type Project

type Project struct {
	Id       string `json:"id"`
	Name     string `json:"name"`
	TenantId string `json:"tenant_id"`
}

Project defines model for Project.

type ProjectList

type ProjectList struct {
	Value []Project `json:"value"`
}

ProjectList defines model for ProjectList.

type ProjectMemberRole

type ProjectMemberRole struct {
	Id       string  `json:"id"`
	MemberId string  `json:"member_id"`
	Project  Project `json:"project"`
	RoleId   string  `json:"role_id"`
	RoleName string  `json:"role_name"`
}

ProjectMemberRole defines model for ProjectMemberRole.

type ProjectMemberRoleList

type ProjectMemberRoleList struct {
	Value []ProjectMemberRole `json:"value"`
}

ProjectMemberRoleList defines model for ProjectMemberRoleList.

type ProjectMembersAddJSONRequestBody

type ProjectMembersAddJSONRequestBody = NewProjectMemberBody

ProjectMembersAddJSONRequestBody defines body for ProjectMembersAdd for application/json ContentType.

type ProjectMembersAddResponse

type ProjectMembersAddResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseProjectMembersAddResponse

func ParseProjectMembersAddResponse(rsp *http.Response) (*ProjectMembersAddResponse, error)

ParseProjectMembersAddResponse parses an HTTP response from a ProjectMembersAddWithResponse call

func (ProjectMembersAddResponse) Status

func (r ProjectMembersAddResponse) Status() string

Status returns HTTPResponse.Status

func (ProjectMembersAddResponse) StatusCode

func (r ProjectMembersAddResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectMembersGetResponse

type ProjectMembersGetResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *ProjectMemberRole
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseProjectMembersGetResponse

func ParseProjectMembersGetResponse(rsp *http.Response) (*ProjectMembersGetResponse, error)

ParseProjectMembersGetResponse parses an HTTP response from a ProjectMembersGetWithResponse call

func (ProjectMembersGetResponse) Status

func (r ProjectMembersGetResponse) Status() string

Status returns HTTPResponse.Status

func (ProjectMembersGetResponse) StatusCode

func (r ProjectMembersGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectMembersListResponse

type ProjectMembersListResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *ProjectMemberRoleList
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseProjectMembersListResponse

func ParseProjectMembersListResponse(rsp *http.Response) (*ProjectMembersListResponse, error)

ParseProjectMembersListResponse parses an HTTP response from a ProjectMembersListWithResponse call

func (ProjectMembersListResponse) Status

Status returns HTTPResponse.Status

func (ProjectMembersListResponse) StatusCode

func (r ProjectMembersListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectMembersRemoveResponse

type ProjectMembersRemoveResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseProjectMembersRemoveResponse

func ParseProjectMembersRemoveResponse(rsp *http.Response) (*ProjectMembersRemoveResponse, error)

ParseProjectMembersRemoveResponse parses an HTTP response from a ProjectMembersRemoveWithResponse call

func (ProjectMembersRemoveResponse) Status

Status returns HTTPResponse.Status

func (ProjectMembersRemoveResponse) StatusCode

func (r ProjectMembersRemoveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectsCreateJSONRequestBody

type ProjectsCreateJSONRequestBody = NewProjectRequest

ProjectsCreateJSONRequestBody defines body for ProjectsCreate for application/json ContentType.

type ProjectsCreateResponse

type ProjectsCreateResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseProjectsCreateResponse

func ParseProjectsCreateResponse(rsp *http.Response) (*ProjectsCreateResponse, error)

ParseProjectsCreateResponse parses an HTTP response from a ProjectsCreateWithResponse call

func (ProjectsCreateResponse) Status

func (r ProjectsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (ProjectsCreateResponse) StatusCode

func (r ProjectsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectsDeleteResponse

type ProjectsDeleteResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseProjectsDeleteResponse

func ParseProjectsDeleteResponse(rsp *http.Response) (*ProjectsDeleteResponse, error)

ParseProjectsDeleteResponse parses an HTTP response from a ProjectsDeleteWithResponse call

func (ProjectsDeleteResponse) Status

func (r ProjectsDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (ProjectsDeleteResponse) StatusCode

func (r ProjectsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectsGetResponse

type ProjectsGetResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *Project
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseProjectsGetResponse

func ParseProjectsGetResponse(rsp *http.Response) (*ProjectsGetResponse, error)

ParseProjectsGetResponse parses an HTTP response from a ProjectsGetWithResponse call

func (ProjectsGetResponse) Status

func (r ProjectsGetResponse) Status() string

Status returns HTTPResponse.Status

func (ProjectsGetResponse) StatusCode

func (r ProjectsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectsListResponse

type ProjectsListResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *ProjectList
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseProjectsListResponse

func ParseProjectsListResponse(rsp *http.Response) (*ProjectsListResponse, error)

ParseProjectsListResponse parses an HTTP response from a ProjectsListWithResponse call

func (ProjectsListResponse) Status

func (r ProjectsListResponse) Status() string

Status returns HTTPResponse.Status

func (ProjectsListResponse) StatusCode

func (r ProjectsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResourceType

type ResourceType string

ResourceType defines model for ResourceType.

const (
	ResourceTypeCatlet         ResourceType = "Catlet"
	ResourceTypeCatletFarm     ResourceType = "CatletFarm"
	ResourceTypeVirtualDisk    ResourceType = "VirtualDisk"
	ResourceTypeVirtualNetwork ResourceType = "VirtualNetwork"
)

Defines values for ResourceType.

type StopCatletRequestBody

type StopCatletRequestBody struct {
	Mode CatletStopMode `json:"mode"`
}

StopCatletRequestBody defines model for StopCatletRequestBody.

type TaskReferenceType

type TaskReferenceType string

TaskReferenceType defines model for TaskReferenceType.

const (
	TaskReferenceTypeProject       TaskReferenceType = "Project"
	TaskReferenceTypeProjectMember TaskReferenceType = "ProjectMember"
)

Defines values for TaskReferenceType.

type UpdateCatletRequestBody

type UpdateCatletRequestBody struct {
	Configuration interface{}         `json:"configuration"`
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
}

UpdateCatletRequestBody defines model for UpdateCatletRequestBody.

type UpdateProjectNetworksRequestBody

type UpdateProjectNetworksRequestBody struct {
	Configuration interface{}         `json:"configuration"`
	CorrelationId *openapi_types.UUID `json:"correlation_id"`
}

UpdateProjectNetworksRequestBody defines model for UpdateProjectNetworksRequestBody.

type ValidateConfigRequest

type ValidateConfigRequest struct {
	Configuration interface{} `json:"configuration"`
}

ValidateConfigRequest defines model for ValidateConfigRequest.

type ValidationIssue

type ValidationIssue struct {
	// Member The JSON path which identifies the member which has the issue.
	// Can be null when the issue is not related to
	// a specific member.
	Member *string `json:"member"`

	// Message The details of the issue.
	Message string `json:"message"`
}

ValidationIssue defines model for ValidationIssue.

type VersionGetResponse

type VersionGetResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *ApiVersionResponse
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVersionGetResponse

func ParseVersionGetResponse(rsp *http.Response) (*VersionGetResponse, error)

ParseVersionGetResponse parses an HTTP response from a VersionGetWithResponse call

func (VersionGetResponse) Status

func (r VersionGetResponse) Status() string

Status returns HTTPResponse.Status

func (VersionGetResponse) StatusCode

func (r VersionGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VirtualDisk

type VirtualDisk struct {
	AttachedCatlets *[]VirtualDiskAttachedCatlet `json:"attached_catlets"`
	DataStore       string                       `json:"data_store"`
	Environment     string                       `json:"environment"`
	Gene            *VirtualDiskGeneInfo         `json:"gene,omitempty"`
	Id              string                       `json:"id"`
	Location        string                       `json:"location"`
	Name            string                       `json:"name"`

	// ParentId The ID of the parent disk when this disk is a differential disk.
	ParentId *string `json:"parent_id"`

	// ParentPath The file system path of the virtual disk's parent. This information
	// is only available to administrators. The ParentPath might be populated
	// even if the ParentId is missing. In this case, the disk chain is corrupted.
	ParentPath *string `json:"parent_path"`

	// Path The file system path of the virtual disk. This information
	// is only available to administrators.
	Path      *string    `json:"path"`
	Project   Project    `json:"project"`
	SizeBytes *int64     `json:"size_bytes"`
	Status    DiskStatus `json:"status"`
}

VirtualDisk defines model for VirtualDisk.

type VirtualDiskAttachedCatlet

type VirtualDiskAttachedCatlet struct {
	CatletId string          `json:"catlet_id"`
	Type     CatletDriveType `json:"type"`
}

VirtualDiskAttachedCatlet defines model for VirtualDiskAttachedCatlet.

type VirtualDiskGeneInfo

type VirtualDiskGeneInfo struct {
	Architecture string `json:"architecture"`
	GeneSet      string `json:"gene_set"`
	Name         string `json:"name"`
}

VirtualDiskGeneInfo defines model for VirtualDiskGeneInfo.

type VirtualDiskList

type VirtualDiskList struct {
	Value []VirtualDisk `json:"value"`
}

VirtualDiskList defines model for VirtualDiskList.

type VirtualDisksCreateJSONRequestBody

type VirtualDisksCreateJSONRequestBody = NewVirtualDiskRequest

VirtualDisksCreateJSONRequestBody defines body for VirtualDisksCreate for application/json ContentType.

type VirtualDisksCreateResponse

type VirtualDisksCreateResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVirtualDisksCreateResponse

func ParseVirtualDisksCreateResponse(rsp *http.Response) (*VirtualDisksCreateResponse, error)

ParseVirtualDisksCreateResponse parses an HTTP response from a VirtualDisksCreateWithResponse call

func (VirtualDisksCreateResponse) Status

Status returns HTTPResponse.Status

func (VirtualDisksCreateResponse) StatusCode

func (r VirtualDisksCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VirtualDisksDeleteResponse

type VirtualDisksDeleteResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVirtualDisksDeleteResponse

func ParseVirtualDisksDeleteResponse(rsp *http.Response) (*VirtualDisksDeleteResponse, error)

ParseVirtualDisksDeleteResponse parses an HTTP response from a VirtualDisksDeleteWithResponse call

func (VirtualDisksDeleteResponse) Status

Status returns HTTPResponse.Status

func (VirtualDisksDeleteResponse) StatusCode

func (r VirtualDisksDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VirtualDisksGetResponse

type VirtualDisksGetResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *VirtualDisk
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVirtualDisksGetResponse

func ParseVirtualDisksGetResponse(rsp *http.Response) (*VirtualDisksGetResponse, error)

ParseVirtualDisksGetResponse parses an HTTP response from a VirtualDisksGetWithResponse call

func (VirtualDisksGetResponse) Status

func (r VirtualDisksGetResponse) Status() string

Status returns HTTPResponse.Status

func (VirtualDisksGetResponse) StatusCode

func (r VirtualDisksGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VirtualDisksListParams

type VirtualDisksListParams struct {
	ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
}

VirtualDisksListParams defines parameters for VirtualDisksList.

type VirtualDisksListResponse

type VirtualDisksListResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *VirtualDiskList
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVirtualDisksListResponse

func ParseVirtualDisksListResponse(rsp *http.Response) (*VirtualDisksListResponse, error)

ParseVirtualDisksListResponse parses an HTTP response from a VirtualDisksListWithResponse call

func (VirtualDisksListResponse) Status

func (r VirtualDisksListResponse) Status() string

Status returns HTTPResponse.Status

func (VirtualDisksListResponse) StatusCode

func (r VirtualDisksListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VirtualNetwork

type VirtualNetwork struct {
	Environment  string  `json:"environment"`
	Id           string  `json:"id"`
	IpNetwork    *string `json:"ip_network"`
	Name         string  `json:"name"`
	Project      Project `json:"project"`
	ProviderName string  `json:"provider_name"`
}

VirtualNetwork defines model for VirtualNetwork.

type VirtualNetworkConfiguration

type VirtualNetworkConfiguration struct {
	Configuration interface{} `json:"configuration"`
}

VirtualNetworkConfiguration defines model for VirtualNetworkConfiguration.

type VirtualNetworkList

type VirtualNetworkList struct {
	Value []VirtualNetwork `json:"value"`
}

VirtualNetworkList defines model for VirtualNetworkList.

type VirtualNetworksGetConfigResponse

type VirtualNetworksGetConfigResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *VirtualNetworkConfiguration
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVirtualNetworksGetConfigResponse

func ParseVirtualNetworksGetConfigResponse(rsp *http.Response) (*VirtualNetworksGetConfigResponse, error)

ParseVirtualNetworksGetConfigResponse parses an HTTP response from a VirtualNetworksGetConfigWithResponse call

func (VirtualNetworksGetConfigResponse) Status

Status returns HTTPResponse.Status

func (VirtualNetworksGetConfigResponse) StatusCode

func (r VirtualNetworksGetConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VirtualNetworksGetResponse

type VirtualNetworksGetResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *VirtualNetwork
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVirtualNetworksGetResponse

func ParseVirtualNetworksGetResponse(rsp *http.Response) (*VirtualNetworksGetResponse, error)

ParseVirtualNetworksGetResponse parses an HTTP response from a VirtualNetworksGetWithResponse call

func (VirtualNetworksGetResponse) Status

Status returns HTTPResponse.Status

func (VirtualNetworksGetResponse) StatusCode

func (r VirtualNetworksGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VirtualNetworksListParams

type VirtualNetworksListParams struct {
	ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
}

VirtualNetworksListParams defines parameters for VirtualNetworksList.

type VirtualNetworksListResponse

type VirtualNetworksListResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *VirtualNetworkList
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVirtualNetworksListResponse

func ParseVirtualNetworksListResponse(rsp *http.Response) (*VirtualNetworksListResponse, error)

ParseVirtualNetworksListResponse parses an HTTP response from a VirtualNetworksListWithResponse call

func (VirtualNetworksListResponse) Status

Status returns HTTPResponse.Status

func (VirtualNetworksListResponse) StatusCode

func (r VirtualNetworksListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VirtualNetworksUpdateConfigJSONRequestBody

type VirtualNetworksUpdateConfigJSONRequestBody = UpdateProjectNetworksRequestBody

VirtualNetworksUpdateConfigJSONRequestBody defines body for VirtualNetworksUpdateConfig for application/json ContentType.

type VirtualNetworksUpdateConfigResponse

type VirtualNetworksUpdateConfigResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON202                       *Operation
	ApplicationproblemJSONDefault *ProblemDetails
}

func ParseVirtualNetworksUpdateConfigResponse

func ParseVirtualNetworksUpdateConfigResponse(rsp *http.Response) (*VirtualNetworksUpdateConfigResponse, error)

ParseVirtualNetworksUpdateConfigResponse parses an HTTP response from a VirtualNetworksUpdateConfigWithResponse call

func (VirtualNetworksUpdateConfigResponse) Status

Status returns HTTPResponse.Status

func (VirtualNetworksUpdateConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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