Documentation ¶
Overview ¶
Package area provides primitives to interact with the openapi HTTP API.
Code generated by github.com/do87/stackit-client-generator version v0.0.2 DO NOT EDIT.
Index ¶
- func NewV1AddNetworkRangesToAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1AddNetworkRangesToAreaRequestWithBody(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1AddRoutesToAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1AddRoutesToAreaRequestWithBody(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1CreateAreaRequest(ctx context.Context, server string, organizationID V1UUID, ...) (*http.Request, error)
- func NewV1CreateAreaRequestWithBody(ctx context.Context, server string, organizationID V1UUID, contentType string, ...) (*http.Request, error)
- func NewV1DeleteAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
- func NewV1DeleteNetworkRangeFromAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1DeleteRouteFromAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1GetAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
- func NewV1GetNetworkRangeOfAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1GetProjectsUsingAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
- func NewV1GetRouteOfAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1ListAreasRequest(ctx context.Context, server string, organizationID V1UUID) (*http.Request, error)
- func NewV1ListNetworkRangesOfAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
- func NewV1ListRoutesOfAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
- func NewV1UpdateAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- func NewV1UpdateAreaRequestWithBody(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, ...) (*http.Request, error)
- type BadRequest
- type Client
- func (c *Client) V1AddNetworkRangesToAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1AddNetworkRangesToAreaRawWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) V1AddRoutesToAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1AddRoutesToAreaRawWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) V1CreateAreaRaw(ctx context.Context, organizationID V1UUID, body V1CreateAreaJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) V1CreateAreaRawWithBody(ctx context.Context, organizationID V1UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) V1DeleteAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1DeleteNetworkRangeFromAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1DeleteRouteFromAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, routeID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1GetAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1GetNetworkRangeOfAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1GetProjectsUsingAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1GetRouteOfAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, routeID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1ListAreasRaw(ctx context.Context, organizationID V1UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V1ListNetworkRangesOfAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1ListRoutesOfAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1UpdateAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*http.Response, error)
- func (c *Client) V1UpdateAreaRawWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, ...) (*http.Response, error)
- type ClientWithResponses
- func (c *ClientWithResponses) ParseV1AddNetworkRangesToAreaResponse(rsp *http.Response) (*V1AddNetworkRangesToAreaResponse, error)
- func (c *ClientWithResponses) ParseV1AddRoutesToAreaResponse(rsp *http.Response) (*V1AddRoutesToAreaResponse, error)
- func (c *ClientWithResponses) ParseV1CreateAreaResponse(rsp *http.Response) (*V1CreateAreaResponse, error)
- func (c *ClientWithResponses) ParseV1DeleteAreaResponse(rsp *http.Response) (*V1DeleteAreaResponse, error)
- func (c *ClientWithResponses) ParseV1DeleteNetworkRangeFromAreaResponse(rsp *http.Response) (*V1DeleteNetworkRangeFromAreaResponse, error)
- func (c *ClientWithResponses) ParseV1DeleteRouteFromAreaResponse(rsp *http.Response) (*V1DeleteRouteFromAreaResponse, error)
- func (c *ClientWithResponses) ParseV1GetAreaResponse(rsp *http.Response) (*V1GetAreaResponse, error)
- func (c *ClientWithResponses) ParseV1GetNetworkRangeOfAreaResponse(rsp *http.Response) (*V1GetNetworkRangeOfAreaResponse, error)
- func (c *ClientWithResponses) ParseV1GetProjectsUsingAreaResponse(rsp *http.Response) (*V1GetProjectsUsingAreaResponse, error)
- func (c *ClientWithResponses) ParseV1GetRouteOfAreaResponse(rsp *http.Response) (*V1GetRouteOfAreaResponse, error)
- func (c *ClientWithResponses) ParseV1ListAreasResponse(rsp *http.Response) (*V1ListAreasResponse, error)
- func (c *ClientWithResponses) ParseV1ListNetworkRangesOfAreaResponse(rsp *http.Response) (*V1ListNetworkRangesOfAreaResponse, error)
- func (c *ClientWithResponses) ParseV1ListRoutesOfAreaResponse(rsp *http.Response) (*V1ListRoutesOfAreaResponse, error)
- func (c *ClientWithResponses) ParseV1UpdateAreaResponse(rsp *http.Response) (*V1UpdateAreaResponse, error)
- func (c *ClientWithResponses) V1AddNetworkRangesToArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1AddNetworkRangesToAreaResponse, error)
- func (c *ClientWithResponses) V1AddNetworkRangesToAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, ...) (*V1AddNetworkRangesToAreaResponse, error)
- func (c *ClientWithResponses) V1AddRoutesToArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1AddRoutesToAreaResponse, error)
- func (c *ClientWithResponses) V1AddRoutesToAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, ...) (*V1AddRoutesToAreaResponse, error)
- func (c *ClientWithResponses) V1CreateArea(ctx context.Context, organizationID V1UUID, body V1CreateAreaJSONRequestBody, ...) (*V1CreateAreaResponse, error)
- func (c *ClientWithResponses) V1CreateAreaWithBody(ctx context.Context, organizationID V1UUID, contentType string, body io.Reader, ...) (*V1CreateAreaResponse, error)
- func (c *ClientWithResponses) V1DeleteArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1DeleteAreaResponse, error)
- func (c *ClientWithResponses) V1DeleteNetworkRangeFromArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1DeleteNetworkRangeFromAreaResponse, error)
- func (c *ClientWithResponses) V1DeleteRouteFromArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, routeID V1UUID, ...) (*V1DeleteRouteFromAreaResponse, error)
- func (c *ClientWithResponses) V1GetArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1GetAreaResponse, error)
- func (c *ClientWithResponses) V1GetNetworkRangeOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1GetNetworkRangeOfAreaResponse, error)
- func (c *ClientWithResponses) V1GetProjectsUsingArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1GetProjectsUsingAreaResponse, error)
- func (c *ClientWithResponses) V1GetRouteOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, routeID V1UUID, ...) (*V1GetRouteOfAreaResponse, error)
- func (c *ClientWithResponses) V1ListAreas(ctx context.Context, organizationID V1UUID, reqEditors ...RequestEditorFn) (*V1ListAreasResponse, error)
- func (c *ClientWithResponses) V1ListNetworkRangesOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1ListNetworkRangesOfAreaResponse, error)
- func (c *ClientWithResponses) V1ListRoutesOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1ListRoutesOfAreaResponse, error)
- func (c *ClientWithResponses) V1UpdateArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, ...) (*V1UpdateAreaResponse, error)
- func (c *ClientWithResponses) V1UpdateAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, ...) (*V1UpdateAreaResponse, error)
- type ClientWithResponsesInterface
- type Forbidden
- type InternalServerError
- type NotFound
- type RequestEditorFn
- type Unauthorized
- type V1AddNetworkRangesToAreaJSONBody
- type V1AddNetworkRangesToAreaJSONRequestBody
- type V1AddNetworkRangesToAreaResponse
- type V1AddRoutesToAreaJSONBody
- type V1AddRoutesToAreaJSONRequestBody
- type V1AddRoutesToAreaResponse
- type V1Area
- type V1AreaConfig
- type V1AreaDefaultPrefixLengthIPv4
- type V1AreaMaxPrefixLengthIPv4
- type V1AreaMinPrefixLengthIPv4
- type V1AreaPrefixConfigIPv4
- type V1CIDR
- type V1CreateAreaAddressFamily
- type V1CreateAreaIPv4
- type V1CreateAreaJSONBody
- type V1CreateAreaJSONRequestBody
- type V1CreateAreaResponse
- type V1DeleteAreaResponse
- type V1DeleteNetworkRangeFromAreaResponse
- type V1DeleteRouteFromAreaResponse
- type V1Error
- type V1GenericName
- type V1GetAreaResponse
- type V1GetNetworkRangeOfAreaResponse
- type V1GetProjectsUsingAreaResponse
- type V1GetRouteOfAreaResponse
- type V1IP
- type V1ListAreasResponse
- type V1ListNetworkRangesOfAreaResponse
- type V1ListRoutesOfAreaResponse
- type V1Nameserver
- type V1NetworkArea
- type V1NetworkAreaIPv4
- type V1NetworkAreaList
- type V1NetworkAreaListResponse
- type V1NetworkRange
- type V1NetworkRangeList
- type V1NetworkRangeListResponse
- type V1ProjectCount
- type V1ProjectList
- type V1ProjectListResponse
- type V1ResourceState
- type V1Route
- type V1RouteList
- type V1RouteListResponse
- type V1UUID
- type V1UpdateAreaAddressFamily
- type V1UpdateAreaIPv4
- type V1UpdateAreaJSONBody
- type V1UpdateAreaJSONRequestBody
- type V1UpdateAreaResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewV1AddNetworkRangesToAreaRequest ¶
func NewV1AddNetworkRangesToAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, body V1AddNetworkRangesToAreaJSONRequestBody) (*http.Request, error)
NewV1AddNetworkRangesToAreaRequest calls the generic V1AddNetworkRangesToArea builder with application/json body
func NewV1AddNetworkRangesToAreaRequestWithBody ¶
func NewV1AddNetworkRangesToAreaRequestWithBody(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, contentType string, body io.Reader) (*http.Request, error)
NewV1AddNetworkRangesToAreaRequestWithBody generates requests for V1AddNetworkRangesToArea with any type of body
func NewV1AddRoutesToAreaRequest ¶
func NewV1AddRoutesToAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, body V1AddRoutesToAreaJSONRequestBody) (*http.Request, error)
NewV1AddRoutesToAreaRequest calls the generic V1AddRoutesToArea builder with application/json body
func NewV1AddRoutesToAreaRequestWithBody ¶
func NewV1AddRoutesToAreaRequestWithBody(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, contentType string, body io.Reader) (*http.Request, error)
NewV1AddRoutesToAreaRequestWithBody generates requests for V1AddRoutesToArea with any type of body
func NewV1CreateAreaRequest ¶
func NewV1CreateAreaRequest(ctx context.Context, server string, organizationID V1UUID, body V1CreateAreaJSONRequestBody) (*http.Request, error)
NewV1CreateAreaRequest calls the generic V1CreateArea builder with application/json body
func NewV1CreateAreaRequestWithBody ¶
func NewV1CreateAreaRequestWithBody(ctx context.Context, server string, organizationID V1UUID, contentType string, body io.Reader) (*http.Request, error)
NewV1CreateAreaRequestWithBody generates requests for V1CreateArea with any type of body
func NewV1DeleteAreaRequest ¶
func NewV1DeleteAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
NewV1DeleteAreaRequest generates requests for V1DeleteArea
func NewV1DeleteNetworkRangeFromAreaRequest ¶
func NewV1DeleteNetworkRangeFromAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, networkRangeID V1UUID) (*http.Request, error)
NewV1DeleteNetworkRangeFromAreaRequest generates requests for V1DeleteNetworkRangeFromArea
func NewV1DeleteRouteFromAreaRequest ¶
func NewV1DeleteRouteFromAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, routeID V1UUID) (*http.Request, error)
NewV1DeleteRouteFromAreaRequest generates requests for V1DeleteRouteFromArea
func NewV1GetAreaRequest ¶
func NewV1GetAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
NewV1GetAreaRequest generates requests for V1GetArea
func NewV1GetNetworkRangeOfAreaRequest ¶
func NewV1GetNetworkRangeOfAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, networkRangeID V1UUID) (*http.Request, error)
NewV1GetNetworkRangeOfAreaRequest generates requests for V1GetNetworkRangeOfArea
func NewV1GetProjectsUsingAreaRequest ¶
func NewV1GetProjectsUsingAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
NewV1GetProjectsUsingAreaRequest generates requests for V1GetProjectsUsingArea
func NewV1GetRouteOfAreaRequest ¶
func NewV1GetRouteOfAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID, routeID V1UUID) (*http.Request, error)
NewV1GetRouteOfAreaRequest generates requests for V1GetRouteOfArea
func NewV1ListAreasRequest ¶
func NewV1ListAreasRequest(ctx context.Context, server string, organizationID V1UUID) (*http.Request, error)
NewV1ListAreasRequest generates requests for V1ListAreas
func NewV1ListNetworkRangesOfAreaRequest ¶
func NewV1ListNetworkRangesOfAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
NewV1ListNetworkRangesOfAreaRequest generates requests for V1ListNetworkRangesOfArea
func NewV1ListRoutesOfAreaRequest ¶
func NewV1ListRoutesOfAreaRequest(ctx context.Context, server string, organizationID V1UUID, areaID V1UUID) (*http.Request, error)
NewV1ListRoutesOfAreaRequest generates requests for V1ListRoutesOfArea
Types ¶
type BadRequest ¶
type BadRequest = V1Error
BadRequest Error with HTTP error code and an error message.
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 contracts.BaseClientInterface }
Client which conforms to the OpenAPI3 specification for this service.
func NewRawClient ¶
func NewRawClient(server string, httpClient contracts.BaseClientInterface) *Client
NewRawClient Creates a new Client, with reasonable defaults
func (*Client) V1AddNetworkRangesToAreaRaw ¶
func (c *Client) V1AddNetworkRangesToAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1AddNetworkRangesToAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V1AddNetworkRangesToAreaRawWithBody ¶
func (*Client) V1AddRoutesToAreaRaw ¶
func (c *Client) V1AddRoutesToAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1AddRoutesToAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V1AddRoutesToAreaRawWithBody ¶
func (*Client) V1CreateAreaRaw ¶
func (c *Client) V1CreateAreaRaw(ctx context.Context, organizationID V1UUID, body V1CreateAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V1CreateAreaRawWithBody ¶
func (*Client) V1DeleteAreaRaw ¶
func (*Client) V1DeleteNetworkRangeFromAreaRaw ¶
func (*Client) V1DeleteRouteFromAreaRaw ¶
func (*Client) V1GetAreaRaw ¶
func (*Client) V1GetNetworkRangeOfAreaRaw ¶
func (*Client) V1GetProjectsUsingAreaRaw ¶
func (*Client) V1GetRouteOfAreaRaw ¶
func (*Client) V1ListAreasRaw ¶
func (*Client) V1ListNetworkRangesOfAreaRaw ¶
func (*Client) V1ListRoutesOfAreaRaw ¶
func (*Client) V1UpdateAreaRaw ¶
func (c *Client) V1UpdateAreaRaw(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1UpdateAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientWithResponses ¶
type ClientWithResponses struct {
// contains filtered or unexported fields
}
ClientWithResponses builds on rawClientInterface to offer response payloads
func NewClient ¶
func NewClient(server string, httpClient contracts.BaseClientInterface) *ClientWithResponses
NewClient creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ParseV1AddNetworkRangesToAreaResponse ¶
func (c *ClientWithResponses) ParseV1AddNetworkRangesToAreaResponse(rsp *http.Response) (*V1AddNetworkRangesToAreaResponse, error)
ParseV1AddNetworkRangesToAreaResponse parses an HTTP response from a V1AddNetworkRangesToArea call
func (*ClientWithResponses) ParseV1AddRoutesToAreaResponse ¶
func (c *ClientWithResponses) ParseV1AddRoutesToAreaResponse(rsp *http.Response) (*V1AddRoutesToAreaResponse, error)
ParseV1AddRoutesToAreaResponse parses an HTTP response from a V1AddRoutesToArea call
func (*ClientWithResponses) ParseV1CreateAreaResponse ¶
func (c *ClientWithResponses) ParseV1CreateAreaResponse(rsp *http.Response) (*V1CreateAreaResponse, error)
ParseV1CreateAreaResponse parses an HTTP response from a V1CreateArea call
func (*ClientWithResponses) ParseV1DeleteAreaResponse ¶
func (c *ClientWithResponses) ParseV1DeleteAreaResponse(rsp *http.Response) (*V1DeleteAreaResponse, error)
ParseV1DeleteAreaResponse parses an HTTP response from a V1DeleteArea call
func (*ClientWithResponses) ParseV1DeleteNetworkRangeFromAreaResponse ¶
func (c *ClientWithResponses) ParseV1DeleteNetworkRangeFromAreaResponse(rsp *http.Response) (*V1DeleteNetworkRangeFromAreaResponse, error)
ParseV1DeleteNetworkRangeFromAreaResponse parses an HTTP response from a V1DeleteNetworkRangeFromArea call
func (*ClientWithResponses) ParseV1DeleteRouteFromAreaResponse ¶
func (c *ClientWithResponses) ParseV1DeleteRouteFromAreaResponse(rsp *http.Response) (*V1DeleteRouteFromAreaResponse, error)
ParseV1DeleteRouteFromAreaResponse parses an HTTP response from a V1DeleteRouteFromArea call
func (*ClientWithResponses) ParseV1GetAreaResponse ¶
func (c *ClientWithResponses) ParseV1GetAreaResponse(rsp *http.Response) (*V1GetAreaResponse, error)
ParseV1GetAreaResponse parses an HTTP response from a V1GetArea call
func (*ClientWithResponses) ParseV1GetNetworkRangeOfAreaResponse ¶
func (c *ClientWithResponses) ParseV1GetNetworkRangeOfAreaResponse(rsp *http.Response) (*V1GetNetworkRangeOfAreaResponse, error)
ParseV1GetNetworkRangeOfAreaResponse parses an HTTP response from a V1GetNetworkRangeOfArea call
func (*ClientWithResponses) ParseV1GetProjectsUsingAreaResponse ¶
func (c *ClientWithResponses) ParseV1GetProjectsUsingAreaResponse(rsp *http.Response) (*V1GetProjectsUsingAreaResponse, error)
ParseV1GetProjectsUsingAreaResponse parses an HTTP response from a V1GetProjectsUsingArea call
func (*ClientWithResponses) ParseV1GetRouteOfAreaResponse ¶
func (c *ClientWithResponses) ParseV1GetRouteOfAreaResponse(rsp *http.Response) (*V1GetRouteOfAreaResponse, error)
ParseV1GetRouteOfAreaResponse parses an HTTP response from a V1GetRouteOfArea call
func (*ClientWithResponses) ParseV1ListAreasResponse ¶
func (c *ClientWithResponses) ParseV1ListAreasResponse(rsp *http.Response) (*V1ListAreasResponse, error)
ParseV1ListAreasResponse parses an HTTP response from a V1ListAreas call
func (*ClientWithResponses) ParseV1ListNetworkRangesOfAreaResponse ¶
func (c *ClientWithResponses) ParseV1ListNetworkRangesOfAreaResponse(rsp *http.Response) (*V1ListNetworkRangesOfAreaResponse, error)
ParseV1ListNetworkRangesOfAreaResponse parses an HTTP response from a V1ListNetworkRangesOfArea call
func (*ClientWithResponses) ParseV1ListRoutesOfAreaResponse ¶
func (c *ClientWithResponses) ParseV1ListRoutesOfAreaResponse(rsp *http.Response) (*V1ListRoutesOfAreaResponse, error)
ParseV1ListRoutesOfAreaResponse parses an HTTP response from a V1ListRoutesOfArea call
func (*ClientWithResponses) ParseV1UpdateAreaResponse ¶
func (c *ClientWithResponses) ParseV1UpdateAreaResponse(rsp *http.Response) (*V1UpdateAreaResponse, error)
ParseV1UpdateAreaResponse parses an HTTP response from a V1UpdateArea call
func (*ClientWithResponses) V1AddNetworkRangesToArea ¶
func (c *ClientWithResponses) V1AddNetworkRangesToArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1AddNetworkRangesToAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1AddNetworkRangesToAreaResponse, error)
func (*ClientWithResponses) V1AddNetworkRangesToAreaWithBody ¶
func (c *ClientWithResponses) V1AddNetworkRangesToAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1AddNetworkRangesToAreaResponse, error)
V1AddNetworkRangesToAreaWithBody request with arbitrary body returning *V1AddNetworkRangesToAreaResponse
func (*ClientWithResponses) V1AddRoutesToArea ¶
func (c *ClientWithResponses) V1AddRoutesToArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1AddRoutesToAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1AddRoutesToAreaResponse, error)
func (*ClientWithResponses) V1AddRoutesToAreaWithBody ¶
func (c *ClientWithResponses) V1AddRoutesToAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1AddRoutesToAreaResponse, error)
V1AddRoutesToAreaWithBody request with arbitrary body returning *V1AddRoutesToAreaResponse
func (*ClientWithResponses) V1CreateArea ¶
func (c *ClientWithResponses) V1CreateArea(ctx context.Context, organizationID V1UUID, body V1CreateAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateAreaResponse, error)
func (*ClientWithResponses) V1CreateAreaWithBody ¶
func (c *ClientWithResponses) V1CreateAreaWithBody(ctx context.Context, organizationID V1UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CreateAreaResponse, error)
V1CreateAreaWithBody request with arbitrary body returning *V1CreateAreaResponse
func (*ClientWithResponses) V1DeleteArea ¶
func (c *ClientWithResponses) V1DeleteArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1DeleteAreaResponse, error)
V1DeleteArea request returning *V1DeleteAreaResponse
func (*ClientWithResponses) V1DeleteNetworkRangeFromArea ¶
func (c *ClientWithResponses) V1DeleteNetworkRangeFromArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, networkRangeID V1UUID, reqEditors ...RequestEditorFn) (*V1DeleteNetworkRangeFromAreaResponse, error)
V1DeleteNetworkRangeFromArea request returning *V1DeleteNetworkRangeFromAreaResponse
func (*ClientWithResponses) V1DeleteRouteFromArea ¶
func (c *ClientWithResponses) V1DeleteRouteFromArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, routeID V1UUID, reqEditors ...RequestEditorFn) (*V1DeleteRouteFromAreaResponse, error)
V1DeleteRouteFromArea request returning *V1DeleteRouteFromAreaResponse
func (*ClientWithResponses) V1GetArea ¶
func (c *ClientWithResponses) V1GetArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1GetAreaResponse, error)
V1GetArea request returning *V1GetAreaResponse
func (*ClientWithResponses) V1GetNetworkRangeOfArea ¶
func (c *ClientWithResponses) V1GetNetworkRangeOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, networkRangeID V1UUID, reqEditors ...RequestEditorFn) (*V1GetNetworkRangeOfAreaResponse, error)
V1GetNetworkRangeOfArea request returning *V1GetNetworkRangeOfAreaResponse
func (*ClientWithResponses) V1GetProjectsUsingArea ¶
func (c *ClientWithResponses) V1GetProjectsUsingArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1GetProjectsUsingAreaResponse, error)
V1GetProjectsUsingArea request returning *V1GetProjectsUsingAreaResponse
func (*ClientWithResponses) V1GetRouteOfArea ¶
func (c *ClientWithResponses) V1GetRouteOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, routeID V1UUID, reqEditors ...RequestEditorFn) (*V1GetRouteOfAreaResponse, error)
V1GetRouteOfArea request returning *V1GetRouteOfAreaResponse
func (*ClientWithResponses) V1ListAreas ¶
func (c *ClientWithResponses) V1ListAreas(ctx context.Context, organizationID V1UUID, reqEditors ...RequestEditorFn) (*V1ListAreasResponse, error)
V1ListAreas request returning *V1ListAreasResponse
func (*ClientWithResponses) V1ListNetworkRangesOfArea ¶
func (c *ClientWithResponses) V1ListNetworkRangesOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1ListNetworkRangesOfAreaResponse, error)
V1ListNetworkRangesOfArea request returning *V1ListNetworkRangesOfAreaResponse
func (*ClientWithResponses) V1ListRoutesOfArea ¶
func (c *ClientWithResponses) V1ListRoutesOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1ListRoutesOfAreaResponse, error)
V1ListRoutesOfArea request returning *V1ListRoutesOfAreaResponse
func (*ClientWithResponses) V1UpdateArea ¶
func (c *ClientWithResponses) V1UpdateArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1UpdateAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateAreaResponse, error)
func (*ClientWithResponses) V1UpdateAreaWithBody ¶
func (c *ClientWithResponses) V1UpdateAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateAreaResponse, error)
V1UpdateAreaWithBody request with arbitrary body returning *V1UpdateAreaResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // V1ListAreas request V1ListAreas(ctx context.Context, organizationID V1UUID, reqEditors ...RequestEditorFn) (*V1ListAreasResponse, error) // V1CreateArea request with any body V1CreateAreaWithBody(ctx context.Context, organizationID V1UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CreateAreaResponse, error) V1CreateArea(ctx context.Context, organizationID V1UUID, body V1CreateAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateAreaResponse, error) // V1DeleteArea request V1DeleteArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1DeleteAreaResponse, error) // V1GetArea request V1GetArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1GetAreaResponse, error) // V1UpdateArea request with any body V1UpdateAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateAreaResponse, error) V1UpdateArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1UpdateAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateAreaResponse, error) // V1ListNetworkRangesOfArea request V1ListNetworkRangesOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1ListNetworkRangesOfAreaResponse, error) // V1AddNetworkRangesToArea request with any body V1AddNetworkRangesToAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1AddNetworkRangesToAreaResponse, error) V1AddNetworkRangesToArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1AddNetworkRangesToAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1AddNetworkRangesToAreaResponse, error) // V1DeleteNetworkRangeFromArea request V1DeleteNetworkRangeFromArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, networkRangeID V1UUID, reqEditors ...RequestEditorFn) (*V1DeleteNetworkRangeFromAreaResponse, error) // V1GetNetworkRangeOfArea request V1GetNetworkRangeOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, networkRangeID V1UUID, reqEditors ...RequestEditorFn) (*V1GetNetworkRangeOfAreaResponse, error) // V1GetProjectsUsingArea request V1GetProjectsUsingArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1GetProjectsUsingAreaResponse, error) // V1ListRoutesOfArea request V1ListRoutesOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, reqEditors ...RequestEditorFn) (*V1ListRoutesOfAreaResponse, error) // V1AddRoutesToArea request with any body V1AddRoutesToAreaWithBody(ctx context.Context, organizationID V1UUID, areaID V1UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1AddRoutesToAreaResponse, error) V1AddRoutesToArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, body V1AddRoutesToAreaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1AddRoutesToAreaResponse, error) // V1DeleteRouteFromArea request V1DeleteRouteFromArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, routeID V1UUID, reqEditors ...RequestEditorFn) (*V1DeleteRouteFromAreaResponse, error) // V1GetRouteOfArea request V1GetRouteOfArea(ctx context.Context, organizationID V1UUID, areaID V1UUID, routeID V1UUID, reqEditors ...RequestEditorFn) (*V1GetRouteOfAreaResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Forbidden ¶
type Forbidden = V1Error
Forbidden Error with HTTP error code and an error message.
type InternalServerError ¶
type InternalServerError = V1Error
InternalServerError Error with HTTP error code and an error message.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Unauthorized ¶
type Unauthorized = V1Error
Unauthorized Error with HTTP error code and an error message.
type V1AddNetworkRangesToAreaJSONBody ¶
type V1AddNetworkRangesToAreaJSONBody struct { // Ipv4 A list of network ranges. Ipv4 *V1NetworkRangeList `json:"ipv4,omitempty"` }
V1AddNetworkRangesToAreaJSONBody defines parameters for V1AddNetworkRangesToArea.
type V1AddNetworkRangesToAreaJSONRequestBody ¶
type V1AddNetworkRangesToAreaJSONRequestBody V1AddNetworkRangesToAreaJSONBody
V1AddNetworkRangesToAreaJSONRequestBody defines body for V1AddNetworkRangesToArea for application/json ContentType.
type V1AddNetworkRangesToAreaResponse ¶
type V1AddNetworkRangesToAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1NetworkRangeListResponse JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON409 *V1Error JSON500 *V1Error }
func (V1AddNetworkRangesToAreaResponse) Status ¶
func (r V1AddNetworkRangesToAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1AddNetworkRangesToAreaResponse) StatusCode ¶
func (r V1AddNetworkRangesToAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1AddRoutesToAreaJSONBody ¶
type V1AddRoutesToAreaJSONBody struct { // Ipv4 A list of routes. Ipv4 *V1RouteList `json:"ipv4,omitempty"` }
V1AddRoutesToAreaJSONBody defines parameters for V1AddRoutesToArea.
type V1AddRoutesToAreaJSONRequestBody ¶
type V1AddRoutesToAreaJSONRequestBody V1AddRoutesToAreaJSONBody
V1AddRoutesToAreaJSONRequestBody defines body for V1AddRoutesToArea for application/json ContentType.
type V1AddRoutesToAreaResponse ¶
type V1AddRoutesToAreaResponse struct { Body []byte HTTPResponse *http.Response JSON202 *V1RouteListResponse JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON409 *V1Error JSON500 *V1Error }
func (V1AddRoutesToAreaResponse) Status ¶
func (r V1AddRoutesToAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1AddRoutesToAreaResponse) StatusCode ¶
func (r V1AddRoutesToAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1Area ¶
type V1Area struct { // DefaultNameservers A list containing DNS Servers/Nameservers for IPv4. DefaultNameservers *V1Nameserver `json:"defaultNameservers,omitempty"` // NetworkRanges A list of network ranges. NetworkRanges *V1NetworkRangeList `json:"networkRanges,omitempty"` // Routes A list of routes. Routes *V1RouteList `json:"routes,omitempty"` // TransferNetwork Classless Inter-Domain Routing (CIDR). TransferNetwork *V1CIDR `json:"transferNetwork,omitempty"` }
V1Area The basic properties of a network area.
type V1AreaConfig ¶
type V1AreaConfig struct { DefaultNameservers *[]V1IP `json:"defaultNameservers,omitempty"` // NetworkRanges A list of network ranges. NetworkRanges V1NetworkRangeList `json:"networkRanges"` // Routes A list of routes. Routes *V1RouteList `json:"routes,omitempty"` // TransferNetwork Classless Inter-Domain Routing (CIDR). TransferNetwork V1CIDR `json:"transferNetwork"` }
V1AreaConfig The basic network area object.
type V1AreaDefaultPrefixLengthIPv4 ¶
type V1AreaDefaultPrefixLengthIPv4 = int
V1AreaDefaultPrefixLengthIPv4 The default prefix length for networks in the network area.
type V1AreaMaxPrefixLengthIPv4 ¶
type V1AreaMaxPrefixLengthIPv4 = int
V1AreaMaxPrefixLengthIPv4 The maximal prefix length for networks in the network area.
type V1AreaMinPrefixLengthIPv4 ¶
type V1AreaMinPrefixLengthIPv4 = int
V1AreaMinPrefixLengthIPv4 The minimal prefix length for networks in the network area.
type V1AreaPrefixConfigIPv4 ¶
type V1AreaPrefixConfigIPv4 struct { DefaultPrefixLen *V1AreaDefaultPrefixLengthIPv4 `json:"defaultPrefixLen,omitempty"` MaxPrefixLen *V1AreaMaxPrefixLengthIPv4 `json:"maxPrefixLen,omitempty"` MinPrefixLen *V1AreaMinPrefixLengthIPv4 `json:"minPrefixLen,omitempty"` }
V1AreaPrefixConfigIPv4 The IPv4 prefix config for a network area.
type V1CreateAreaAddressFamily ¶
type V1CreateAreaAddressFamily struct { // Ipv4 The config object for a IPv4 network area. Ipv4 *V1CreateAreaIPv4 `json:"ipv4,omitempty"` }
V1CreateAreaAddressFamily The addressFamily object for a area create request.
type V1CreateAreaIPv4 ¶
type V1CreateAreaIPv4 struct { DefaultNameservers *[]V1IP `json:"defaultNameservers,omitempty"` DefaultPrefixLen *V1AreaDefaultPrefixLengthIPv4 `json:"defaultPrefixLen,omitempty"` MaxPrefixLen *V1AreaMaxPrefixLengthIPv4 `json:"maxPrefixLen,omitempty"` MinPrefixLen *V1AreaMinPrefixLengthIPv4 `json:"minPrefixLen,omitempty"` // NetworkRanges A list of network ranges. NetworkRanges V1NetworkRangeList `json:"networkRanges"` // Routes A list of routes. Routes *V1RouteList `json:"routes,omitempty"` // TransferNetwork Classless Inter-Domain Routing (CIDR). TransferNetwork V1CIDR `json:"transferNetwork"` }
V1CreateAreaIPv4 defines model for v1CreateAreaIPv4.
type V1CreateAreaJSONBody ¶
type V1CreateAreaJSONBody struct { // AddressFamily The addressFamily object for a area create request. AddressFamily V1CreateAreaAddressFamily `json:"addressFamily"` // Name The name for a General Object. Matches Names and also UUIDs. Name V1GenericName `json:"name"` }
V1CreateAreaJSONBody defines parameters for V1CreateArea.
type V1CreateAreaJSONRequestBody ¶
type V1CreateAreaJSONRequestBody V1CreateAreaJSONBody
V1CreateAreaJSONRequestBody defines body for V1CreateArea for application/json ContentType.
type V1CreateAreaResponse ¶
type V1CreateAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1NetworkArea JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1CreateAreaResponse) Status ¶
func (r V1CreateAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1CreateAreaResponse) StatusCode ¶
func (r V1CreateAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1DeleteAreaResponse ¶
type V1DeleteAreaResponse struct { Body []byte HTTPResponse *http.Response JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON409 *V1Error JSON500 *V1Error }
func (V1DeleteAreaResponse) Status ¶
func (r V1DeleteAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1DeleteAreaResponse) StatusCode ¶
func (r V1DeleteAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1DeleteNetworkRangeFromAreaResponse ¶
type V1DeleteNetworkRangeFromAreaResponse struct { Body []byte HTTPResponse *http.Response JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON409 *V1Error JSON500 *V1Error }
func (V1DeleteNetworkRangeFromAreaResponse) Status ¶
func (r V1DeleteNetworkRangeFromAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1DeleteNetworkRangeFromAreaResponse) StatusCode ¶
func (r V1DeleteNetworkRangeFromAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1DeleteRouteFromAreaResponse ¶
type V1DeleteRouteFromAreaResponse struct { Body []byte HTTPResponse *http.Response JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1DeleteRouteFromAreaResponse) Status ¶
func (r V1DeleteRouteFromAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1DeleteRouteFromAreaResponse) StatusCode ¶
func (r V1DeleteRouteFromAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1GenericName ¶
type V1GenericName = string
V1GenericName The name for a General Object. Matches Names and also UUIDs.
type V1GetAreaResponse ¶
type V1GetAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1NetworkArea JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1GetAreaResponse) Status ¶
func (r V1GetAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1GetAreaResponse) StatusCode ¶
func (r V1GetAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1GetNetworkRangeOfAreaResponse ¶
type V1GetNetworkRangeOfAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1NetworkRange JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1GetNetworkRangeOfAreaResponse) Status ¶
func (r V1GetNetworkRangeOfAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1GetNetworkRangeOfAreaResponse) StatusCode ¶
func (r V1GetNetworkRangeOfAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1GetProjectsUsingAreaResponse ¶
type V1GetProjectsUsingAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1ProjectListResponse JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1GetProjectsUsingAreaResponse) Status ¶
func (r V1GetProjectsUsingAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1GetProjectsUsingAreaResponse) StatusCode ¶
func (r V1GetProjectsUsingAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1GetRouteOfAreaResponse ¶
type V1GetRouteOfAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1Route JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1GetRouteOfAreaResponse) Status ¶
func (r V1GetRouteOfAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1GetRouteOfAreaResponse) StatusCode ¶
func (r V1GetRouteOfAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1ListAreasResponse ¶
type V1ListAreasResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1NetworkAreaListResponse JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1ListAreasResponse) Status ¶
func (r V1ListAreasResponse) Status() string
Status returns HTTPResponse.Status
func (V1ListAreasResponse) StatusCode ¶
func (r V1ListAreasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1ListNetworkRangesOfAreaResponse ¶
type V1ListNetworkRangesOfAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1NetworkRangeListResponse JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1ListNetworkRangesOfAreaResponse) Status ¶
func (r V1ListNetworkRangesOfAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1ListNetworkRangesOfAreaResponse) StatusCode ¶
func (r V1ListNetworkRangesOfAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1ListRoutesOfAreaResponse ¶
type V1ListRoutesOfAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1RouteListResponse JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1ListRoutesOfAreaResponse) Status ¶
func (r V1ListRoutesOfAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1ListRoutesOfAreaResponse) StatusCode ¶
func (r V1ListRoutesOfAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1Nameserver ¶
type V1Nameserver = []V1IP
V1Nameserver A list containing DNS Servers/Nameservers for IPv4.
type V1NetworkArea ¶
type V1NetworkArea struct { // AreaId Universally Unique Identifier (UUID). AreaID V1UUID `json:"areaId"` // Ipv4 The IPv4 properties of a network area. Ipv4 *V1NetworkAreaIPv4 `json:"ipv4,omitempty"` Name string `json:"name"` // ProjectCount The amount of projects currently referencing a specific area. ProjectCount V1ProjectCount `json:"projectCount"` // State The state of a resource object. State V1ResourceState `json:"state"` }
V1NetworkArea Object that represents a network area.
type V1NetworkAreaIPv4 ¶
type V1NetworkAreaIPv4 struct { // DefaultNameservers A list containing DNS Servers/Nameservers for IPv4. DefaultNameservers *V1Nameserver `json:"defaultNameservers,omitempty"` DefaultPrefixLen *V1AreaDefaultPrefixLengthIPv4 `json:"defaultPrefixLen,omitempty"` MaxPrefixLen *V1AreaMaxPrefixLengthIPv4 `json:"maxPrefixLen,omitempty"` MinPrefixLen *V1AreaMinPrefixLengthIPv4 `json:"minPrefixLen,omitempty"` // NetworkRanges A list of network ranges. NetworkRanges *V1NetworkRangeList `json:"networkRanges,omitempty"` // Routes A list of routes. Routes *V1RouteList `json:"routes,omitempty"` // TransferNetwork Classless Inter-Domain Routing (CIDR). TransferNetwork *V1CIDR `json:"transferNetwork,omitempty"` }
V1NetworkAreaIPv4 defines model for v1NetworkAreaIPv4.
type V1NetworkAreaList ¶
type V1NetworkAreaList = []V1NetworkArea
V1NetworkAreaList A list of network areas.
type V1NetworkAreaListResponse ¶
type V1NetworkAreaListResponse struct { // Items A list of network areas. Items V1NetworkAreaList `json:"items"` }
V1NetworkAreaListResponse Network area list response.
type V1NetworkRange ¶
type V1NetworkRange struct { NetworkRangeID *V1UUID `json:"networkRangeId,omitempty"` // Prefix Classless Inter-Domain Routing (CIDR). Prefix V1CIDR `json:"prefix"` }
V1NetworkRange Object that represents a network range.
type V1NetworkRangeList ¶
type V1NetworkRangeList = []V1NetworkRange
V1NetworkRangeList A list of network ranges.
type V1NetworkRangeListResponse ¶
type V1NetworkRangeListResponse struct { // Items A list of network ranges. Items V1NetworkRangeList `json:"items"` }
V1NetworkRangeListResponse Network Range list response.
type V1ProjectCount ¶
type V1ProjectCount = int
V1ProjectCount The amount of projects currently referencing a specific area.
type V1ProjectListResponse ¶
type V1ProjectListResponse struct { // Items A list of STACKIT projects. Items V1ProjectList `json:"items"` }
V1ProjectListResponse Project list response.
type V1ResourceState ¶
type V1ResourceState = string
V1ResourceState The state of a resource object.
type V1Route ¶
type V1Route struct { // Nexthop Object that represents an IPv4 address. Nexthop V1IP `json:"nexthop"` // Prefix Classless Inter-Domain Routing (CIDR). Prefix V1CIDR `json:"prefix"` RouteID *V1UUID `json:"routeId,omitempty"` }
V1Route Object represents a network route.
type V1RouteListResponse ¶
type V1RouteListResponse struct { // Items A list of routes. Items V1RouteList `json:"items"` }
V1RouteListResponse Route list response.
type V1UpdateAreaAddressFamily ¶
type V1UpdateAreaAddressFamily struct { // Ipv4 The update object for a IPv4 network area. Ipv4 *V1UpdateAreaIPv4 `json:"ipv4,omitempty"` }
V1UpdateAreaAddressFamily The addressFamily object for a area update request.
type V1UpdateAreaIPv4 ¶
type V1UpdateAreaIPv4 struct { DefaultNameservers *[]V1IP `json:"defaultNameservers,omitempty"` // DefaultPrefixLen The default prefix length for networks in the network area. DefaultPrefixLen *V1AreaDefaultPrefixLengthIPv4 `json:"defaultPrefixLen,omitempty"` // MaxPrefixLen The maximal prefix length for networks in the network area. MaxPrefixLen *V1AreaMaxPrefixLengthIPv4 `json:"maxPrefixLen,omitempty"` // MinPrefixLen The minimal prefix length for networks in the network area. MinPrefixLen *V1AreaMinPrefixLengthIPv4 `json:"minPrefixLen,omitempty"` }
V1UpdateAreaIPv4 The update object for a IPv4 network area.
type V1UpdateAreaJSONBody ¶
type V1UpdateAreaJSONBody struct { // AddressFamily The addressFamily object for a area update request. AddressFamily *V1UpdateAreaAddressFamily `json:"addressFamily,omitempty"` // Name The name for a General Object. Matches Names and also UUIDs. Name *V1GenericName `json:"name,omitempty"` }
V1UpdateAreaJSONBody defines parameters for V1UpdateArea.
type V1UpdateAreaJSONRequestBody ¶
type V1UpdateAreaJSONRequestBody V1UpdateAreaJSONBody
V1UpdateAreaJSONRequestBody defines body for V1UpdateArea for application/json ContentType.
type V1UpdateAreaResponse ¶
type V1UpdateAreaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1NetworkArea JSON400 *V1Error JSON401 *V1Error JSON403 *V1Error JSON404 *V1Error JSON500 *V1Error }
func (V1UpdateAreaResponse) Status ¶
func (r V1UpdateAreaResponse) Status() string
Status returns HTTPResponse.Status
func (V1UpdateAreaResponse) StatusCode ¶
func (r V1UpdateAreaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode