oapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Code generated by github.com/deepmap/oapi-codegen version v1.10.1 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes = "BearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewDeleteInternalaclItemRequest

func NewDeleteInternalaclItemRequest(server string, internalaclId InternalaclId, params *DeleteInternalaclItemParams) (*http.Request, error)

NewDeleteInternalaclItemRequest generates requests for DeleteInternalaclItem

func NewDeleteKubenamespaceItemRequest

func NewDeleteKubenamespaceItemRequest(server string, kubenamespaceId KubenamespaceId, params *DeleteKubenamespaceItemParams) (*http.Request, error)

NewDeleteKubenamespaceItemRequest generates requests for DeleteKubenamespaceItem

func NewDeleteOrginviteItemRequest

func NewDeleteOrginviteItemRequest(server string, orginviteId OrginviteId, params *DeleteOrginviteItemParams) (*http.Request, error)

NewDeleteOrginviteItemRequest generates requests for DeleteOrginviteItem

func NewDeleteUsergroupItemRequest

func NewDeleteUsergroupItemRequest(server string, usergroupId UsergroupId, params *DeleteUsergroupItemParams) (*http.Request, error)

NewDeleteUsergroupItemRequest generates requests for DeleteUsergroupItem

func NewDeletev1kubenamespacesRequest

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

NewDeletev1kubenamespacesRequest generates requests for Deletev1kubenamespaces

func NewDeletev1orginvitesRequest

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

NewDeletev1orginvitesRequest generates requests for Deletev1orginvites

func NewGetInternalaclItemRequest

func NewGetInternalaclItemRequest(server string, internalaclId InternalaclId) (*http.Request, error)

NewGetInternalaclItemRequest generates requests for GetInternalaclItem

func NewGetKubenamespaceItemRequest

func NewGetKubenamespaceItemRequest(server string, kubenamespaceId KubenamespaceId) (*http.Request, error)

NewGetKubenamespaceItemRequest generates requests for GetKubenamespaceItem

func NewGetOrgItemRequest

func NewGetOrgItemRequest(server string, orgId OrgId) (*http.Request, error)

NewGetOrgItemRequest generates requests for GetOrgItem

func NewGetOrginviteItemRequest

func NewGetOrginviteItemRequest(server string, orginviteId OrginviteId) (*http.Request, error)

NewGetOrginviteItemRequest generates requests for GetOrginviteItem

func NewGetUserItemRequest

func NewGetUserItemRequest(server string, userId UserId) (*http.Request, error)

NewGetUserItemRequest generates requests for GetUserItem

func NewGetUsergroupItemRequest

func NewGetUsergroupItemRequest(server string, usergroupId UsergroupId) (*http.Request, error)

NewGetUsergroupItemRequest generates requests for GetUsergroupItem

func NewGetv1internalaclsRequest

func NewGetv1internalaclsRequest(server string, params *Getv1internalaclsParams) (*http.Request, error)

NewGetv1internalaclsRequest generates requests for Getv1internalacls

func NewGetv1kubenamespacesRequest

func NewGetv1kubenamespacesRequest(server string, params *Getv1kubenamespacesParams) (*http.Request, error)

NewGetv1kubenamespacesRequest generates requests for Getv1kubenamespaces

func NewGetv1orginvitesRequest

func NewGetv1orginvitesRequest(server string, params *Getv1orginvitesParams) (*http.Request, error)

NewGetv1orginvitesRequest generates requests for Getv1orginvites

func NewGetv1orgsRequest

func NewGetv1orgsRequest(server string, params *Getv1orgsParams) (*http.Request, error)

NewGetv1orgsRequest generates requests for Getv1orgs

func NewGetv1usergroupsRequest

func NewGetv1usergroupsRequest(server string, params *Getv1usergroupsParams) (*http.Request, error)

NewGetv1usergroupsRequest generates requests for Getv1usergroups

func NewGetv1usersRequest

func NewGetv1usersRequest(server string, params *Getv1usersParams) (*http.Request, error)

NewGetv1usersRequest generates requests for Getv1users

func NewPatchInternalaclItemRequest

func NewPatchInternalaclItemRequest(server string, internalaclId InternalaclId, params *PatchInternalaclItemParams, body PatchInternalaclItemJSONRequestBody) (*http.Request, error)

NewPatchInternalaclItemRequest calls the generic PatchInternalaclItem builder with application/json body

func NewPatchInternalaclItemRequestWithBody

func NewPatchInternalaclItemRequestWithBody(server string, internalaclId InternalaclId, params *PatchInternalaclItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchInternalaclItemRequestWithBody generates requests for PatchInternalaclItem with any type of body

func NewPatchKubenamespaceItemRequest

func NewPatchKubenamespaceItemRequest(server string, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, body PatchKubenamespaceItemJSONRequestBody) (*http.Request, error)

NewPatchKubenamespaceItemRequest calls the generic PatchKubenamespaceItem builder with application/json body

func NewPatchKubenamespaceItemRequestWithBody

func NewPatchKubenamespaceItemRequestWithBody(server string, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchKubenamespaceItemRequestWithBody generates requests for PatchKubenamespaceItem with any type of body

func NewPatchOrgItemRequest

func NewPatchOrgItemRequest(server string, orgId OrgId, params *PatchOrgItemParams, body PatchOrgItemJSONRequestBody) (*http.Request, error)

NewPatchOrgItemRequest calls the generic PatchOrgItem builder with application/json body

func NewPatchOrgItemRequestWithBody

func NewPatchOrgItemRequestWithBody(server string, orgId OrgId, params *PatchOrgItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchOrgItemRequestWithBody generates requests for PatchOrgItem with any type of body

func NewPatchOrginviteItemRequest

func NewPatchOrginviteItemRequest(server string, orginviteId OrginviteId, params *PatchOrginviteItemParams, body PatchOrginviteItemJSONRequestBody) (*http.Request, error)

NewPatchOrginviteItemRequest calls the generic PatchOrginviteItem builder with application/json body

func NewPatchOrginviteItemRequestWithBody

func NewPatchOrginviteItemRequestWithBody(server string, orginviteId OrginviteId, params *PatchOrginviteItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchOrginviteItemRequestWithBody generates requests for PatchOrginviteItem with any type of body

func NewPatchUserItemRequest

func NewPatchUserItemRequest(server string, userId UserId, params *PatchUserItemParams, body PatchUserItemJSONRequestBody) (*http.Request, error)

NewPatchUserItemRequest calls the generic PatchUserItem builder with application/json body

func NewPatchUserItemRequestWithBody

func NewPatchUserItemRequestWithBody(server string, userId UserId, params *PatchUserItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchUserItemRequestWithBody generates requests for PatchUserItem with any type of body

func NewPatchUsergroupItemRequest

func NewPatchUsergroupItemRequest(server string, usergroupId UsergroupId, params *PatchUsergroupItemParams, body PatchUsergroupItemJSONRequestBody) (*http.Request, error)

NewPatchUsergroupItemRequest calls the generic PatchUsergroupItem builder with application/json body

func NewPatchUsergroupItemRequestWithBody

func NewPatchUsergroupItemRequestWithBody(server string, usergroupId UsergroupId, params *PatchUsergroupItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchUsergroupItemRequestWithBody generates requests for PatchUsergroupItem with any type of body

func NewPostv1internalaclsRequest

func NewPostv1internalaclsRequest(server string, body Postv1internalaclsJSONRequestBody) (*http.Request, error)

NewPostv1internalaclsRequest calls the generic Postv1internalacls builder with application/json body

func NewPostv1internalaclsRequestWithBody

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

NewPostv1internalaclsRequestWithBody generates requests for Postv1internalacls with any type of body

func NewPostv1kubenamespacesRequest

func NewPostv1kubenamespacesRequest(server string, body Postv1kubenamespacesJSONRequestBody) (*http.Request, error)

NewPostv1kubenamespacesRequest calls the generic Postv1kubenamespaces builder with application/json body

func NewPostv1kubenamespacesRequestWithBody

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

NewPostv1kubenamespacesRequestWithBody generates requests for Postv1kubenamespaces with any type of body

func NewPostv1orginvitesRequest

func NewPostv1orginvitesRequest(server string, body Postv1orginvitesJSONRequestBody) (*http.Request, error)

NewPostv1orginvitesRequest calls the generic Postv1orginvites builder with application/json body

func NewPostv1orginvitesRequestWithBody

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

NewPostv1orginvitesRequestWithBody generates requests for Postv1orginvites with any type of body

func NewPostv1usergroupsRequest

func NewPostv1usergroupsRequest(server string, body Postv1usergroupsJSONRequestBody) (*http.Request, error)

NewPostv1usergroupsRequest calls the generic Postv1usergroups builder with application/json body

func NewPostv1usergroupsRequestWithBody

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

NewPostv1usergroupsRequestWithBody generates requests for Postv1usergroups with any type of body

func NewPutInternalaclItemRequest

func NewPutInternalaclItemRequest(server string, internalaclId InternalaclId, params *PutInternalaclItemParams, body PutInternalaclItemJSONRequestBody) (*http.Request, error)

NewPutInternalaclItemRequest calls the generic PutInternalaclItem builder with application/json body

func NewPutInternalaclItemRequestWithBody

func NewPutInternalaclItemRequestWithBody(server string, internalaclId InternalaclId, params *PutInternalaclItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPutInternalaclItemRequestWithBody generates requests for PutInternalaclItem with any type of body

func NewPutKubenamespaceItemRequest

func NewPutKubenamespaceItemRequest(server string, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, body PutKubenamespaceItemJSONRequestBody) (*http.Request, error)

NewPutKubenamespaceItemRequest calls the generic PutKubenamespaceItem builder with application/json body

func NewPutKubenamespaceItemRequestWithBody

func NewPutKubenamespaceItemRequestWithBody(server string, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPutKubenamespaceItemRequestWithBody generates requests for PutKubenamespaceItem with any type of body

func NewPutOrgItemRequest

func NewPutOrgItemRequest(server string, orgId OrgId, params *PutOrgItemParams, body PutOrgItemJSONRequestBody) (*http.Request, error)

NewPutOrgItemRequest calls the generic PutOrgItem builder with application/json body

func NewPutOrgItemRequestWithBody

func NewPutOrgItemRequestWithBody(server string, orgId OrgId, params *PutOrgItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPutOrgItemRequestWithBody generates requests for PutOrgItem with any type of body

func NewPutOrginviteItemRequest

func NewPutOrginviteItemRequest(server string, orginviteId OrginviteId, params *PutOrginviteItemParams, body PutOrginviteItemJSONRequestBody) (*http.Request, error)

NewPutOrginviteItemRequest calls the generic PutOrginviteItem builder with application/json body

func NewPutOrginviteItemRequestWithBody

func NewPutOrginviteItemRequestWithBody(server string, orginviteId OrginviteId, params *PutOrginviteItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPutOrginviteItemRequestWithBody generates requests for PutOrginviteItem with any type of body

func NewPutUserItemRequest

func NewPutUserItemRequest(server string, userId UserId, params *PutUserItemParams, body PutUserItemJSONRequestBody) (*http.Request, error)

NewPutUserItemRequest calls the generic PutUserItem builder with application/json body

func NewPutUserItemRequestWithBody

func NewPutUserItemRequestWithBody(server string, userId UserId, params *PutUserItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPutUserItemRequestWithBody generates requests for PutUserItem with any type of body

func NewPutUsergroupItemRequest

func NewPutUsergroupItemRequest(server string, usergroupId UsergroupId, params *PutUsergroupItemParams, body PutUsergroupItemJSONRequestBody) (*http.Request, error)

NewPutUsergroupItemRequest calls the generic PutUsergroupItem builder with application/json body

func NewPutUsergroupItemRequestWithBody

func NewPutUsergroupItemRequestWithBody(server string, usergroupId UsergroupId, params *PutUsergroupItemParams, contentType string, body io.Reader) (*http.Request, error)

NewPutUsergroupItemRequestWithBody generates requests for PutUsergroupItem with any type of body

func NewUpdateUserGroupACLRequest

func NewUpdateUserGroupACLRequest(server string, usergroupId UsergroupId, params *UpdateUserGroupACLParams, body UpdateUserGroupACLJSONRequestBody) (*http.Request, error)

NewUpdateUserGroupACLRequest calls the generic UpdateUserGroupACL builder with application/json body

func NewUpdateUserGroupACLRequestWithBody

func NewUpdateUserGroupACLRequestWithBody(server string, usergroupId UsergroupId, params *UpdateUserGroupACLParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserGroupACLRequestWithBody generates requests for UpdateUserGroupACL with any type of body

Types

type ACL

type ACL struct {
	Permissions *[]string `json:"permissions,omitempty"`
	Resource    string    `json:"resource"`
	ResourceIds *[]string `json:"resourceIds,omitempty"`
	Roles       *[]string `json:"roles,omitempty"`
}

ACL defines model for ACL.

type ACLs

type ACLs struct {
	Id   *string `json:"_id,omitempty"`
	Acls *[]ACL  `json:"acls,omitempty"`
}

ACLs defines model for ACLs.

type ApikeyId

type ApikeyId string

ApikeyId defines model for Apikey__id.

type BackupinstanceId

type BackupinstanceId string

BackupinstanceId defines model for Backupinstance__id.

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

func (c *Client) DeleteInternalaclItem(ctx context.Context, internalaclId InternalaclId, params *DeleteInternalaclItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteKubenamespaceItem

func (c *Client) DeleteKubenamespaceItem(ctx context.Context, kubenamespaceId KubenamespaceId, params *DeleteKubenamespaceItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteOrginviteItem

func (c *Client) DeleteOrginviteItem(ctx context.Context, orginviteId OrginviteId, params *DeleteOrginviteItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteUsergroupItem

func (c *Client) DeleteUsergroupItem(ctx context.Context, usergroupId UsergroupId, params *DeleteUsergroupItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Deletev1kubenamespaces

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

func (*Client) Deletev1orginvites

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

func (*Client) GetInternalaclItem

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

func (*Client) GetKubenamespaceItem

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

func (*Client) GetOrgItem

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

func (*Client) GetOrginviteItem

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

func (*Client) GetUserItem

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

func (*Client) GetUsergroupItem

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

func (*Client) Getv1internalacls

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

func (*Client) Getv1kubenamespaces

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

func (*Client) Getv1orginvites

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

func (*Client) Getv1orgs

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

func (*Client) Getv1usergroups

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

func (*Client) Getv1users

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

func (*Client) PatchInternalaclItem

func (c *Client) PatchInternalaclItem(ctx context.Context, internalaclId InternalaclId, params *PatchInternalaclItemParams, body PatchInternalaclItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchInternalaclItemWithBody

func (c *Client) PatchInternalaclItemWithBody(ctx context.Context, internalaclId InternalaclId, params *PatchInternalaclItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchKubenamespaceItem

func (c *Client) PatchKubenamespaceItem(ctx context.Context, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, body PatchKubenamespaceItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchKubenamespaceItemWithBody

func (c *Client) PatchKubenamespaceItemWithBody(ctx context.Context, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchOrgItem

func (c *Client) PatchOrgItem(ctx context.Context, orgId OrgId, params *PatchOrgItemParams, body PatchOrgItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchOrgItemWithBody

func (c *Client) PatchOrgItemWithBody(ctx context.Context, orgId OrgId, params *PatchOrgItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchOrginviteItem

func (c *Client) PatchOrginviteItem(ctx context.Context, orginviteId OrginviteId, params *PatchOrginviteItemParams, body PatchOrginviteItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchOrginviteItemWithBody

func (c *Client) PatchOrginviteItemWithBody(ctx context.Context, orginviteId OrginviteId, params *PatchOrginviteItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchUserItem

func (c *Client) PatchUserItem(ctx context.Context, userId UserId, params *PatchUserItemParams, body PatchUserItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchUserItemWithBody

func (c *Client) PatchUserItemWithBody(ctx context.Context, userId UserId, params *PatchUserItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchUsergroupItem

func (c *Client) PatchUsergroupItem(ctx context.Context, usergroupId UsergroupId, params *PatchUsergroupItemParams, body PatchUsergroupItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchUsergroupItemWithBody

func (c *Client) PatchUsergroupItemWithBody(ctx context.Context, usergroupId UsergroupId, params *PatchUsergroupItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Postv1internalacls

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

func (*Client) Postv1internalaclsWithBody

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

func (*Client) Postv1kubenamespaces

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

func (*Client) Postv1kubenamespacesWithBody

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

func (*Client) Postv1orginvites

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

func (*Client) Postv1orginvitesWithBody

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

func (*Client) Postv1usergroups

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

func (*Client) Postv1usergroupsWithBody

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

func (*Client) PutInternalaclItem

func (c *Client) PutInternalaclItem(ctx context.Context, internalaclId InternalaclId, params *PutInternalaclItemParams, body PutInternalaclItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInternalaclItemWithBody

func (c *Client) PutInternalaclItemWithBody(ctx context.Context, internalaclId InternalaclId, params *PutInternalaclItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutKubenamespaceItem

func (c *Client) PutKubenamespaceItem(ctx context.Context, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, body PutKubenamespaceItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutKubenamespaceItemWithBody

func (c *Client) PutKubenamespaceItemWithBody(ctx context.Context, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutOrgItem

func (c *Client) PutOrgItem(ctx context.Context, orgId OrgId, params *PutOrgItemParams, body PutOrgItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutOrgItemWithBody

func (c *Client) PutOrgItemWithBody(ctx context.Context, orgId OrgId, params *PutOrgItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutOrginviteItem

func (c *Client) PutOrginviteItem(ctx context.Context, orginviteId OrginviteId, params *PutOrginviteItemParams, body PutOrginviteItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutOrginviteItemWithBody

func (c *Client) PutOrginviteItemWithBody(ctx context.Context, orginviteId OrginviteId, params *PutOrginviteItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUserItem

func (c *Client) PutUserItem(ctx context.Context, userId UserId, params *PutUserItemParams, body PutUserItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUserItemWithBody

func (c *Client) PutUserItemWithBody(ctx context.Context, userId UserId, params *PutUserItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUsergroupItem

func (c *Client) PutUsergroupItem(ctx context.Context, usergroupId UsergroupId, params *PutUsergroupItemParams, body PutUsergroupItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUsergroupItemWithBody

func (c *Client) PutUsergroupItemWithBody(ctx context.Context, usergroupId UsergroupId, params *PutUsergroupItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUserGroupACL

func (c *Client) UpdateUserGroupACL(ctx context.Context, usergroupId UsergroupId, params *UpdateUserGroupACLParams, body UpdateUserGroupACLJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUserGroupACLWithBody

func (c *Client) UpdateUserGroupACLWithBody(ctx context.Context, usergroupId UsergroupId, params *UpdateUserGroupACLParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

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

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

	Postv1internalacls(ctx context.Context, body Postv1internalaclsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInternalaclItem request
	DeleteInternalaclItem(ctx context.Context, internalaclId InternalaclId, params *DeleteInternalaclItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInternalaclItem request
	GetInternalaclItem(ctx context.Context, internalaclId InternalaclId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchInternalaclItem request with any body
	PatchInternalaclItemWithBody(ctx context.Context, internalaclId InternalaclId, params *PatchInternalaclItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchInternalaclItem(ctx context.Context, internalaclId InternalaclId, params *PatchInternalaclItemParams, body PatchInternalaclItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutInternalaclItem request with any body
	PutInternalaclItemWithBody(ctx context.Context, internalaclId InternalaclId, params *PutInternalaclItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutInternalaclItem(ctx context.Context, internalaclId InternalaclId, params *PutInternalaclItemParams, body PutInternalaclItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	Postv1kubenamespaces(ctx context.Context, body Postv1kubenamespacesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteKubenamespaceItem request
	DeleteKubenamespaceItem(ctx context.Context, kubenamespaceId KubenamespaceId, params *DeleteKubenamespaceItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetKubenamespaceItem request
	GetKubenamespaceItem(ctx context.Context, kubenamespaceId KubenamespaceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchKubenamespaceItem request with any body
	PatchKubenamespaceItemWithBody(ctx context.Context, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchKubenamespaceItem(ctx context.Context, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, body PatchKubenamespaceItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutKubenamespaceItem request with any body
	PutKubenamespaceItemWithBody(ctx context.Context, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutKubenamespaceItem(ctx context.Context, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, body PutKubenamespaceItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	Postv1orginvites(ctx context.Context, body Postv1orginvitesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrginviteItem request
	DeleteOrginviteItem(ctx context.Context, orginviteId OrginviteId, params *DeleteOrginviteItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrginviteItem request
	GetOrginviteItem(ctx context.Context, orginviteId OrginviteId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchOrginviteItem request with any body
	PatchOrginviteItemWithBody(ctx context.Context, orginviteId OrginviteId, params *PatchOrginviteItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchOrginviteItem(ctx context.Context, orginviteId OrginviteId, params *PatchOrginviteItemParams, body PatchOrginviteItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutOrginviteItem request with any body
	PutOrginviteItemWithBody(ctx context.Context, orginviteId OrginviteId, params *PutOrginviteItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutOrginviteItem(ctx context.Context, orginviteId OrginviteId, params *PutOrginviteItemParams, body PutOrginviteItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetOrgItem request
	GetOrgItem(ctx context.Context, orgId OrgId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchOrgItem request with any body
	PatchOrgItemWithBody(ctx context.Context, orgId OrgId, params *PatchOrgItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchOrgItem(ctx context.Context, orgId OrgId, params *PatchOrgItemParams, body PatchOrgItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutOrgItem request with any body
	PutOrgItemWithBody(ctx context.Context, orgId OrgId, params *PutOrgItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutOrgItem(ctx context.Context, orgId OrgId, params *PutOrgItemParams, body PutOrgItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	Postv1usergroups(ctx context.Context, body Postv1usergroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUsergroupItem request
	DeleteUsergroupItem(ctx context.Context, usergroupId UsergroupId, params *DeleteUsergroupItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsergroupItem request
	GetUsergroupItem(ctx context.Context, usergroupId UsergroupId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchUsergroupItem request with any body
	PatchUsergroupItemWithBody(ctx context.Context, usergroupId UsergroupId, params *PatchUsergroupItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchUsergroupItem(ctx context.Context, usergroupId UsergroupId, params *PatchUsergroupItemParams, body PatchUsergroupItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUsergroupItem request with any body
	PutUsergroupItemWithBody(ctx context.Context, usergroupId UsergroupId, params *PutUsergroupItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutUsergroupItem(ctx context.Context, usergroupId UsergroupId, params *PutUsergroupItemParams, body PutUsergroupItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserGroupACL request with any body
	UpdateUserGroupACLWithBody(ctx context.Context, usergroupId UsergroupId, params *UpdateUserGroupACLParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateUserGroupACL(ctx context.Context, usergroupId UsergroupId, params *UpdateUserGroupACLParams, body UpdateUserGroupACLJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetUserItem request
	GetUserItem(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchUserItem request with any body
	PatchUserItemWithBody(ctx context.Context, userId UserId, params *PatchUserItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchUserItem(ctx context.Context, userId UserId, params *PatchUserItemParams, body PatchUserItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUserItem request with any body
	PutUserItemWithBody(ctx context.Context, userId UserId, params *PutUserItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutUserItem(ctx context.Context, userId UserId, params *PutUserItemParams, body PutUserItemJSONRequestBody, 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) DeleteInternalaclItemWithResponse

func (c *ClientWithResponses) DeleteInternalaclItemWithResponse(ctx context.Context, internalaclId InternalaclId, params *DeleteInternalaclItemParams, reqEditors ...RequestEditorFn) (*DeleteInternalaclItemResponse, error)

DeleteInternalaclItemWithResponse request returning *DeleteInternalaclItemResponse

func (*ClientWithResponses) DeleteKubenamespaceItemWithResponse

func (c *ClientWithResponses) DeleteKubenamespaceItemWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *DeleteKubenamespaceItemParams, reqEditors ...RequestEditorFn) (*DeleteKubenamespaceItemResponse, error)

DeleteKubenamespaceItemWithResponse request returning *DeleteKubenamespaceItemResponse

func (*ClientWithResponses) DeleteOrginviteItemWithResponse

func (c *ClientWithResponses) DeleteOrginviteItemWithResponse(ctx context.Context, orginviteId OrginviteId, params *DeleteOrginviteItemParams, reqEditors ...RequestEditorFn) (*DeleteOrginviteItemResponse, error)

DeleteOrginviteItemWithResponse request returning *DeleteOrginviteItemResponse

func (*ClientWithResponses) DeleteUsergroupItemWithResponse

func (c *ClientWithResponses) DeleteUsergroupItemWithResponse(ctx context.Context, usergroupId UsergroupId, params *DeleteUsergroupItemParams, reqEditors ...RequestEditorFn) (*DeleteUsergroupItemResponse, error)

DeleteUsergroupItemWithResponse request returning *DeleteUsergroupItemResponse

func (*ClientWithResponses) Deletev1kubenamespacesWithResponse

func (c *ClientWithResponses) Deletev1kubenamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*Deletev1kubenamespacesResponse, error)

Deletev1kubenamespacesWithResponse request returning *Deletev1kubenamespacesResponse

func (*ClientWithResponses) Deletev1orginvitesWithResponse

func (c *ClientWithResponses) Deletev1orginvitesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*Deletev1orginvitesResponse, error)

Deletev1orginvitesWithResponse request returning *Deletev1orginvitesResponse

func (*ClientWithResponses) GetInternalaclItemWithResponse

func (c *ClientWithResponses) GetInternalaclItemWithResponse(ctx context.Context, internalaclId InternalaclId, reqEditors ...RequestEditorFn) (*GetInternalaclItemResponse, error)

GetInternalaclItemWithResponse request returning *GetInternalaclItemResponse

func (*ClientWithResponses) GetKubenamespaceItemWithResponse

func (c *ClientWithResponses) GetKubenamespaceItemWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, reqEditors ...RequestEditorFn) (*GetKubenamespaceItemResponse, error)

GetKubenamespaceItemWithResponse request returning *GetKubenamespaceItemResponse

func (*ClientWithResponses) GetOrgItemWithResponse

func (c *ClientWithResponses) GetOrgItemWithResponse(ctx context.Context, orgId OrgId, reqEditors ...RequestEditorFn) (*GetOrgItemResponse, error)

GetOrgItemWithResponse request returning *GetOrgItemResponse

func (*ClientWithResponses) GetOrginviteItemWithResponse

func (c *ClientWithResponses) GetOrginviteItemWithResponse(ctx context.Context, orginviteId OrginviteId, reqEditors ...RequestEditorFn) (*GetOrginviteItemResponse, error)

GetOrginviteItemWithResponse request returning *GetOrginviteItemResponse

func (*ClientWithResponses) GetUserItemWithResponse

func (c *ClientWithResponses) GetUserItemWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*GetUserItemResponse, error)

GetUserItemWithResponse request returning *GetUserItemResponse

func (*ClientWithResponses) GetUsergroupItemWithResponse

func (c *ClientWithResponses) GetUsergroupItemWithResponse(ctx context.Context, usergroupId UsergroupId, reqEditors ...RequestEditorFn) (*GetUsergroupItemResponse, error)

GetUsergroupItemWithResponse request returning *GetUsergroupItemResponse

func (*ClientWithResponses) Getv1internalaclsWithResponse

func (c *ClientWithResponses) Getv1internalaclsWithResponse(ctx context.Context, params *Getv1internalaclsParams, reqEditors ...RequestEditorFn) (*Getv1internalaclsResponse, error)

Getv1internalaclsWithResponse request returning *Getv1internalaclsResponse

func (*ClientWithResponses) Getv1kubenamespacesWithResponse

func (c *ClientWithResponses) Getv1kubenamespacesWithResponse(ctx context.Context, params *Getv1kubenamespacesParams, reqEditors ...RequestEditorFn) (*Getv1kubenamespacesResponse, error)

Getv1kubenamespacesWithResponse request returning *Getv1kubenamespacesResponse

func (*ClientWithResponses) Getv1orginvitesWithResponse

func (c *ClientWithResponses) Getv1orginvitesWithResponse(ctx context.Context, params *Getv1orginvitesParams, reqEditors ...RequestEditorFn) (*Getv1orginvitesResponse, error)

Getv1orginvitesWithResponse request returning *Getv1orginvitesResponse

func (*ClientWithResponses) Getv1orgsWithResponse

func (c *ClientWithResponses) Getv1orgsWithResponse(ctx context.Context, params *Getv1orgsParams, reqEditors ...RequestEditorFn) (*Getv1orgsResponse, error)

Getv1orgsWithResponse request returning *Getv1orgsResponse

func (*ClientWithResponses) Getv1usergroupsWithResponse

func (c *ClientWithResponses) Getv1usergroupsWithResponse(ctx context.Context, params *Getv1usergroupsParams, reqEditors ...RequestEditorFn) (*Getv1usergroupsResponse, error)

Getv1usergroupsWithResponse request returning *Getv1usergroupsResponse

func (*ClientWithResponses) Getv1usersWithResponse

func (c *ClientWithResponses) Getv1usersWithResponse(ctx context.Context, params *Getv1usersParams, reqEditors ...RequestEditorFn) (*Getv1usersResponse, error)

Getv1usersWithResponse request returning *Getv1usersResponse

func (*ClientWithResponses) PatchInternalaclItemWithBodyWithResponse

func (c *ClientWithResponses) PatchInternalaclItemWithBodyWithResponse(ctx context.Context, internalaclId InternalaclId, params *PatchInternalaclItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchInternalaclItemResponse, error)

PatchInternalaclItemWithBodyWithResponse request with arbitrary body returning *PatchInternalaclItemResponse

func (*ClientWithResponses) PatchInternalaclItemWithResponse

func (c *ClientWithResponses) PatchInternalaclItemWithResponse(ctx context.Context, internalaclId InternalaclId, params *PatchInternalaclItemParams, body PatchInternalaclItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchInternalaclItemResponse, error)

func (*ClientWithResponses) PatchKubenamespaceItemWithBodyWithResponse

func (c *ClientWithResponses) PatchKubenamespaceItemWithBodyWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchKubenamespaceItemResponse, error)

PatchKubenamespaceItemWithBodyWithResponse request with arbitrary body returning *PatchKubenamespaceItemResponse

func (*ClientWithResponses) PatchKubenamespaceItemWithResponse

func (c *ClientWithResponses) PatchKubenamespaceItemWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, body PatchKubenamespaceItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchKubenamespaceItemResponse, error)

func (*ClientWithResponses) PatchOrgItemWithBodyWithResponse

func (c *ClientWithResponses) PatchOrgItemWithBodyWithResponse(ctx context.Context, orgId OrgId, params *PatchOrgItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgItemResponse, error)

PatchOrgItemWithBodyWithResponse request with arbitrary body returning *PatchOrgItemResponse

func (*ClientWithResponses) PatchOrgItemWithResponse

func (c *ClientWithResponses) PatchOrgItemWithResponse(ctx context.Context, orgId OrgId, params *PatchOrgItemParams, body PatchOrgItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgItemResponse, error)

func (*ClientWithResponses) PatchOrginviteItemWithBodyWithResponse

func (c *ClientWithResponses) PatchOrginviteItemWithBodyWithResponse(ctx context.Context, orginviteId OrginviteId, params *PatchOrginviteItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrginviteItemResponse, error)

PatchOrginviteItemWithBodyWithResponse request with arbitrary body returning *PatchOrginviteItemResponse

func (*ClientWithResponses) PatchOrginviteItemWithResponse

func (c *ClientWithResponses) PatchOrginviteItemWithResponse(ctx context.Context, orginviteId OrginviteId, params *PatchOrginviteItemParams, body PatchOrginviteItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrginviteItemResponse, error)

func (*ClientWithResponses) PatchUserItemWithBodyWithResponse

func (c *ClientWithResponses) PatchUserItemWithBodyWithResponse(ctx context.Context, userId UserId, params *PatchUserItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUserItemResponse, error)

PatchUserItemWithBodyWithResponse request with arbitrary body returning *PatchUserItemResponse

func (*ClientWithResponses) PatchUserItemWithResponse

func (c *ClientWithResponses) PatchUserItemWithResponse(ctx context.Context, userId UserId, params *PatchUserItemParams, body PatchUserItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUserItemResponse, error)

func (*ClientWithResponses) PatchUsergroupItemWithBodyWithResponse

func (c *ClientWithResponses) PatchUsergroupItemWithBodyWithResponse(ctx context.Context, usergroupId UsergroupId, params *PatchUsergroupItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUsergroupItemResponse, error)

PatchUsergroupItemWithBodyWithResponse request with arbitrary body returning *PatchUsergroupItemResponse

func (*ClientWithResponses) PatchUsergroupItemWithResponse

func (c *ClientWithResponses) PatchUsergroupItemWithResponse(ctx context.Context, usergroupId UsergroupId, params *PatchUsergroupItemParams, body PatchUsergroupItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUsergroupItemResponse, error)

func (*ClientWithResponses) Postv1internalaclsWithBodyWithResponse

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

Postv1internalaclsWithBodyWithResponse request with arbitrary body returning *Postv1internalaclsResponse

func (*ClientWithResponses) Postv1internalaclsWithResponse

func (c *ClientWithResponses) Postv1internalaclsWithResponse(ctx context.Context, body Postv1internalaclsJSONRequestBody, reqEditors ...RequestEditorFn) (*Postv1internalaclsResponse, error)

func (*ClientWithResponses) Postv1kubenamespacesWithBodyWithResponse

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

Postv1kubenamespacesWithBodyWithResponse request with arbitrary body returning *Postv1kubenamespacesResponse

func (*ClientWithResponses) Postv1kubenamespacesWithResponse

func (c *ClientWithResponses) Postv1kubenamespacesWithResponse(ctx context.Context, body Postv1kubenamespacesJSONRequestBody, reqEditors ...RequestEditorFn) (*Postv1kubenamespacesResponse, error)

func (*ClientWithResponses) Postv1orginvitesWithBodyWithResponse

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

Postv1orginvitesWithBodyWithResponse request with arbitrary body returning *Postv1orginvitesResponse

func (*ClientWithResponses) Postv1orginvitesWithResponse

func (c *ClientWithResponses) Postv1orginvitesWithResponse(ctx context.Context, body Postv1orginvitesJSONRequestBody, reqEditors ...RequestEditorFn) (*Postv1orginvitesResponse, error)

func (*ClientWithResponses) Postv1usergroupsWithBodyWithResponse

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

Postv1usergroupsWithBodyWithResponse request with arbitrary body returning *Postv1usergroupsResponse

func (*ClientWithResponses) Postv1usergroupsWithResponse

func (c *ClientWithResponses) Postv1usergroupsWithResponse(ctx context.Context, body Postv1usergroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*Postv1usergroupsResponse, error)

func (*ClientWithResponses) PutInternalaclItemWithBodyWithResponse

func (c *ClientWithResponses) PutInternalaclItemWithBodyWithResponse(ctx context.Context, internalaclId InternalaclId, params *PutInternalaclItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInternalaclItemResponse, error)

PutInternalaclItemWithBodyWithResponse request with arbitrary body returning *PutInternalaclItemResponse

func (*ClientWithResponses) PutInternalaclItemWithResponse

func (c *ClientWithResponses) PutInternalaclItemWithResponse(ctx context.Context, internalaclId InternalaclId, params *PutInternalaclItemParams, body PutInternalaclItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutInternalaclItemResponse, error)

func (*ClientWithResponses) PutKubenamespaceItemWithBodyWithResponse

func (c *ClientWithResponses) PutKubenamespaceItemWithBodyWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutKubenamespaceItemResponse, error)

PutKubenamespaceItemWithBodyWithResponse request with arbitrary body returning *PutKubenamespaceItemResponse

func (*ClientWithResponses) PutKubenamespaceItemWithResponse

func (c *ClientWithResponses) PutKubenamespaceItemWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, body PutKubenamespaceItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutKubenamespaceItemResponse, error)

func (*ClientWithResponses) PutOrgItemWithBodyWithResponse

func (c *ClientWithResponses) PutOrgItemWithBodyWithResponse(ctx context.Context, orgId OrgId, params *PutOrgItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgItemResponse, error)

PutOrgItemWithBodyWithResponse request with arbitrary body returning *PutOrgItemResponse

func (*ClientWithResponses) PutOrgItemWithResponse

func (c *ClientWithResponses) PutOrgItemWithResponse(ctx context.Context, orgId OrgId, params *PutOrgItemParams, body PutOrgItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgItemResponse, error)

func (*ClientWithResponses) PutOrginviteItemWithBodyWithResponse

func (c *ClientWithResponses) PutOrginviteItemWithBodyWithResponse(ctx context.Context, orginviteId OrginviteId, params *PutOrginviteItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrginviteItemResponse, error)

PutOrginviteItemWithBodyWithResponse request with arbitrary body returning *PutOrginviteItemResponse

func (*ClientWithResponses) PutOrginviteItemWithResponse

func (c *ClientWithResponses) PutOrginviteItemWithResponse(ctx context.Context, orginviteId OrginviteId, params *PutOrginviteItemParams, body PutOrginviteItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrginviteItemResponse, error)

func (*ClientWithResponses) PutUserItemWithBodyWithResponse

func (c *ClientWithResponses) PutUserItemWithBodyWithResponse(ctx context.Context, userId UserId, params *PutUserItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUserItemResponse, error)

PutUserItemWithBodyWithResponse request with arbitrary body returning *PutUserItemResponse

func (*ClientWithResponses) PutUserItemWithResponse

func (c *ClientWithResponses) PutUserItemWithResponse(ctx context.Context, userId UserId, params *PutUserItemParams, body PutUserItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUserItemResponse, error)

func (*ClientWithResponses) PutUsergroupItemWithBodyWithResponse

func (c *ClientWithResponses) PutUsergroupItemWithBodyWithResponse(ctx context.Context, usergroupId UsergroupId, params *PutUsergroupItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUsergroupItemResponse, error)

PutUsergroupItemWithBodyWithResponse request with arbitrary body returning *PutUsergroupItemResponse

func (*ClientWithResponses) PutUsergroupItemWithResponse

func (c *ClientWithResponses) PutUsergroupItemWithResponse(ctx context.Context, usergroupId UsergroupId, params *PutUsergroupItemParams, body PutUsergroupItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUsergroupItemResponse, error)

func (*ClientWithResponses) UpdateUserGroupACLWithBodyWithResponse

func (c *ClientWithResponses) UpdateUserGroupACLWithBodyWithResponse(ctx context.Context, usergroupId UsergroupId, params *UpdateUserGroupACLParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserGroupACLResponse, error)

UpdateUserGroupACLWithBodyWithResponse request with arbitrary body returning *UpdateUserGroupACLResponse

func (*ClientWithResponses) UpdateUserGroupACLWithResponse

func (c *ClientWithResponses) UpdateUserGroupACLWithResponse(ctx context.Context, usergroupId UsergroupId, params *UpdateUserGroupACLParams, body UpdateUserGroupACLJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserGroupACLResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// Getv1internalacls request
	Getv1internalaclsWithResponse(ctx context.Context, params *Getv1internalaclsParams, reqEditors ...RequestEditorFn) (*Getv1internalaclsResponse, error)

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

	Postv1internalaclsWithResponse(ctx context.Context, body Postv1internalaclsJSONRequestBody, reqEditors ...RequestEditorFn) (*Postv1internalaclsResponse, error)

	// DeleteInternalaclItem request
	DeleteInternalaclItemWithResponse(ctx context.Context, internalaclId InternalaclId, params *DeleteInternalaclItemParams, reqEditors ...RequestEditorFn) (*DeleteInternalaclItemResponse, error)

	// GetInternalaclItem request
	GetInternalaclItemWithResponse(ctx context.Context, internalaclId InternalaclId, reqEditors ...RequestEditorFn) (*GetInternalaclItemResponse, error)

	// PatchInternalaclItem request with any body
	PatchInternalaclItemWithBodyWithResponse(ctx context.Context, internalaclId InternalaclId, params *PatchInternalaclItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchInternalaclItemResponse, error)

	PatchInternalaclItemWithResponse(ctx context.Context, internalaclId InternalaclId, params *PatchInternalaclItemParams, body PatchInternalaclItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchInternalaclItemResponse, error)

	// PutInternalaclItem request with any body
	PutInternalaclItemWithBodyWithResponse(ctx context.Context, internalaclId InternalaclId, params *PutInternalaclItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInternalaclItemResponse, error)

	PutInternalaclItemWithResponse(ctx context.Context, internalaclId InternalaclId, params *PutInternalaclItemParams, body PutInternalaclItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutInternalaclItemResponse, error)

	// Deletev1kubenamespaces request
	Deletev1kubenamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*Deletev1kubenamespacesResponse, error)

	// Getv1kubenamespaces request
	Getv1kubenamespacesWithResponse(ctx context.Context, params *Getv1kubenamespacesParams, reqEditors ...RequestEditorFn) (*Getv1kubenamespacesResponse, error)

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

	Postv1kubenamespacesWithResponse(ctx context.Context, body Postv1kubenamespacesJSONRequestBody, reqEditors ...RequestEditorFn) (*Postv1kubenamespacesResponse, error)

	// DeleteKubenamespaceItem request
	DeleteKubenamespaceItemWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *DeleteKubenamespaceItemParams, reqEditors ...RequestEditorFn) (*DeleteKubenamespaceItemResponse, error)

	// GetKubenamespaceItem request
	GetKubenamespaceItemWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, reqEditors ...RequestEditorFn) (*GetKubenamespaceItemResponse, error)

	// PatchKubenamespaceItem request with any body
	PatchKubenamespaceItemWithBodyWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchKubenamespaceItemResponse, error)

	PatchKubenamespaceItemWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *PatchKubenamespaceItemParams, body PatchKubenamespaceItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchKubenamespaceItemResponse, error)

	// PutKubenamespaceItem request with any body
	PutKubenamespaceItemWithBodyWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutKubenamespaceItemResponse, error)

	PutKubenamespaceItemWithResponse(ctx context.Context, kubenamespaceId KubenamespaceId, params *PutKubenamespaceItemParams, body PutKubenamespaceItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutKubenamespaceItemResponse, error)

	// Deletev1orginvites request
	Deletev1orginvitesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*Deletev1orginvitesResponse, error)

	// Getv1orginvites request
	Getv1orginvitesWithResponse(ctx context.Context, params *Getv1orginvitesParams, reqEditors ...RequestEditorFn) (*Getv1orginvitesResponse, error)

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

	Postv1orginvitesWithResponse(ctx context.Context, body Postv1orginvitesJSONRequestBody, reqEditors ...RequestEditorFn) (*Postv1orginvitesResponse, error)

	// DeleteOrginviteItem request
	DeleteOrginviteItemWithResponse(ctx context.Context, orginviteId OrginviteId, params *DeleteOrginviteItemParams, reqEditors ...RequestEditorFn) (*DeleteOrginviteItemResponse, error)

	// GetOrginviteItem request
	GetOrginviteItemWithResponse(ctx context.Context, orginviteId OrginviteId, reqEditors ...RequestEditorFn) (*GetOrginviteItemResponse, error)

	// PatchOrginviteItem request with any body
	PatchOrginviteItemWithBodyWithResponse(ctx context.Context, orginviteId OrginviteId, params *PatchOrginviteItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrginviteItemResponse, error)

	PatchOrginviteItemWithResponse(ctx context.Context, orginviteId OrginviteId, params *PatchOrginviteItemParams, body PatchOrginviteItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrginviteItemResponse, error)

	// PutOrginviteItem request with any body
	PutOrginviteItemWithBodyWithResponse(ctx context.Context, orginviteId OrginviteId, params *PutOrginviteItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrginviteItemResponse, error)

	PutOrginviteItemWithResponse(ctx context.Context, orginviteId OrginviteId, params *PutOrginviteItemParams, body PutOrginviteItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrginviteItemResponse, error)

	// Getv1orgs request
	Getv1orgsWithResponse(ctx context.Context, params *Getv1orgsParams, reqEditors ...RequestEditorFn) (*Getv1orgsResponse, error)

	// GetOrgItem request
	GetOrgItemWithResponse(ctx context.Context, orgId OrgId, reqEditors ...RequestEditorFn) (*GetOrgItemResponse, error)

	// PatchOrgItem request with any body
	PatchOrgItemWithBodyWithResponse(ctx context.Context, orgId OrgId, params *PatchOrgItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgItemResponse, error)

	PatchOrgItemWithResponse(ctx context.Context, orgId OrgId, params *PatchOrgItemParams, body PatchOrgItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgItemResponse, error)

	// PutOrgItem request with any body
	PutOrgItemWithBodyWithResponse(ctx context.Context, orgId OrgId, params *PutOrgItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgItemResponse, error)

	PutOrgItemWithResponse(ctx context.Context, orgId OrgId, params *PutOrgItemParams, body PutOrgItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgItemResponse, error)

	// Getv1usergroups request
	Getv1usergroupsWithResponse(ctx context.Context, params *Getv1usergroupsParams, reqEditors ...RequestEditorFn) (*Getv1usergroupsResponse, error)

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

	Postv1usergroupsWithResponse(ctx context.Context, body Postv1usergroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*Postv1usergroupsResponse, error)

	// DeleteUsergroupItem request
	DeleteUsergroupItemWithResponse(ctx context.Context, usergroupId UsergroupId, params *DeleteUsergroupItemParams, reqEditors ...RequestEditorFn) (*DeleteUsergroupItemResponse, error)

	// GetUsergroupItem request
	GetUsergroupItemWithResponse(ctx context.Context, usergroupId UsergroupId, reqEditors ...RequestEditorFn) (*GetUsergroupItemResponse, error)

	// PatchUsergroupItem request with any body
	PatchUsergroupItemWithBodyWithResponse(ctx context.Context, usergroupId UsergroupId, params *PatchUsergroupItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUsergroupItemResponse, error)

	PatchUsergroupItemWithResponse(ctx context.Context, usergroupId UsergroupId, params *PatchUsergroupItemParams, body PatchUsergroupItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUsergroupItemResponse, error)

	// PutUsergroupItem request with any body
	PutUsergroupItemWithBodyWithResponse(ctx context.Context, usergroupId UsergroupId, params *PutUsergroupItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUsergroupItemResponse, error)

	PutUsergroupItemWithResponse(ctx context.Context, usergroupId UsergroupId, params *PutUsergroupItemParams, body PutUsergroupItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUsergroupItemResponse, error)

	// UpdateUserGroupACL request with any body
	UpdateUserGroupACLWithBodyWithResponse(ctx context.Context, usergroupId UsergroupId, params *UpdateUserGroupACLParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserGroupACLResponse, error)

	UpdateUserGroupACLWithResponse(ctx context.Context, usergroupId UsergroupId, params *UpdateUserGroupACLParams, body UpdateUserGroupACLJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserGroupACLResponse, error)

	// Getv1users request
	Getv1usersWithResponse(ctx context.Context, params *Getv1usersParams, reqEditors ...RequestEditorFn) (*Getv1usersResponse, error)

	// GetUserItem request
	GetUserItemWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*GetUserItemResponse, error)

	// PatchUserItem request with any body
	PatchUserItemWithBodyWithResponse(ctx context.Context, userId UserId, params *PatchUserItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUserItemResponse, error)

	PatchUserItemWithResponse(ctx context.Context, userId UserId, params *PatchUserItemParams, body PatchUserItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUserItemResponse, error)

	// PutUserItem request with any body
	PutUserItemWithBodyWithResponse(ctx context.Context, userId UserId, params *PutUserItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUserItemResponse, error)

	PutUserItemWithResponse(ctx context.Context, userId UserId, params *PutUserItemParams, body PutUserItemJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUserItemResponse, error)
}

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

type DeleteInternalaclItemParams

type DeleteInternalaclItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

DeleteInternalaclItemParams defines parameters for DeleteInternalaclItem.

type DeleteInternalaclItemResponse

type DeleteInternalaclItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParseDeleteInternalaclItemResponse

func ParseDeleteInternalaclItemResponse(rsp *http.Response) (*DeleteInternalaclItemResponse, error)

ParseDeleteInternalaclItemResponse parses an HTTP response from a DeleteInternalaclItemWithResponse call

func (DeleteInternalaclItemResponse) Status

Status returns HTTPResponse.Status

func (DeleteInternalaclItemResponse) StatusCode

func (r DeleteInternalaclItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteKubenamespaceItemParams

type DeleteKubenamespaceItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

DeleteKubenamespaceItemParams defines parameters for DeleteKubenamespaceItem.

type DeleteKubenamespaceItemResponse

type DeleteKubenamespaceItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParseDeleteKubenamespaceItemResponse

func ParseDeleteKubenamespaceItemResponse(rsp *http.Response) (*DeleteKubenamespaceItemResponse, error)

ParseDeleteKubenamespaceItemResponse parses an HTTP response from a DeleteKubenamespaceItemWithResponse call

func (DeleteKubenamespaceItemResponse) Status

Status returns HTTPResponse.Status

func (DeleteKubenamespaceItemResponse) StatusCode

func (r DeleteKubenamespaceItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrginviteItemParams

type DeleteOrginviteItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

DeleteOrginviteItemParams defines parameters for DeleteOrginviteItem.

type DeleteOrginviteItemResponse

type DeleteOrginviteItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParseDeleteOrginviteItemResponse

func ParseDeleteOrginviteItemResponse(rsp *http.Response) (*DeleteOrginviteItemResponse, error)

ParseDeleteOrginviteItemResponse parses an HTTP response from a DeleteOrginviteItemWithResponse call

func (DeleteOrginviteItemResponse) Status

Status returns HTTPResponse.Status

func (DeleteOrginviteItemResponse) StatusCode

func (r DeleteOrginviteItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteUsergroupItemParams

type DeleteUsergroupItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

DeleteUsergroupItemParams defines parameters for DeleteUsergroupItem.

type DeleteUsergroupItemResponse

type DeleteUsergroupItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParseDeleteUsergroupItemResponse

func ParseDeleteUsergroupItemResponse(rsp *http.Response) (*DeleteUsergroupItemResponse, error)

ParseDeleteUsergroupItemResponse parses an HTTP response from a DeleteUsergroupItemWithResponse call

func (DeleteUsergroupItemResponse) Status

Status returns HTTPResponse.Status

func (DeleteUsergroupItemResponse) StatusCode

func (r DeleteUsergroupItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Deletev1kubenamespacesResponse

type Deletev1kubenamespacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParseDeletev1kubenamespacesResponse

func ParseDeletev1kubenamespacesResponse(rsp *http.Response) (*Deletev1kubenamespacesResponse, error)

ParseDeletev1kubenamespacesResponse parses an HTTP response from a Deletev1kubenamespacesWithResponse call

func (Deletev1kubenamespacesResponse) Status

Status returns HTTPResponse.Status

func (Deletev1kubenamespacesResponse) StatusCode

func (r Deletev1kubenamespacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Deletev1orginvitesResponse

type Deletev1orginvitesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParseDeletev1orginvitesResponse

func ParseDeletev1orginvitesResponse(rsp *http.Response) (*Deletev1orginvitesResponse, error)

ParseDeletev1orginvitesResponse parses an HTTP response from a Deletev1orginvitesWithResponse call

func (Deletev1orginvitesResponse) Status

Status returns HTTPResponse.Status

func (Deletev1orginvitesResponse) StatusCode

func (r Deletev1orginvitesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Error

type Error struct {
	Error struct {
		Code    *int    `json:"code,omitempty"`
		Message *string `json:"message,omitempty"`
	} `json:"_error"`
	Status string `json:"_status"`
}

Error defines model for Error.

type GetInternalaclItemResponse

type GetInternalaclItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Internalacl
	JSONDefault  *Error
}

func ParseGetInternalaclItemResponse

func ParseGetInternalaclItemResponse(rsp *http.Response) (*GetInternalaclItemResponse, error)

ParseGetInternalaclItemResponse parses an HTTP response from a GetInternalaclItemWithResponse call

func (GetInternalaclItemResponse) Status

Status returns HTTPResponse.Status

func (GetInternalaclItemResponse) StatusCode

func (r GetInternalaclItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetKubenamespaceItemResponse

type GetKubenamespaceItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Kubenamespace
	JSONDefault  *Error
}

func ParseGetKubenamespaceItemResponse

func ParseGetKubenamespaceItemResponse(rsp *http.Response) (*GetKubenamespaceItemResponse, error)

ParseGetKubenamespaceItemResponse parses an HTTP response from a GetKubenamespaceItemWithResponse call

func (GetKubenamespaceItemResponse) Status

Status returns HTTPResponse.Status

func (GetKubenamespaceItemResponse) StatusCode

func (r GetKubenamespaceItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgItemResponse

type GetOrgItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Org
	JSONDefault  *Error
}

func ParseGetOrgItemResponse

func ParseGetOrgItemResponse(rsp *http.Response) (*GetOrgItemResponse, error)

ParseGetOrgItemResponse parses an HTTP response from a GetOrgItemWithResponse call

func (GetOrgItemResponse) Status

func (r GetOrgItemResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrgItemResponse) StatusCode

func (r GetOrgItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrginviteItemResponse

type GetOrginviteItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Orginvite
	JSONDefault  *Error
}

func ParseGetOrginviteItemResponse

func ParseGetOrginviteItemResponse(rsp *http.Response) (*GetOrginviteItemResponse, error)

ParseGetOrginviteItemResponse parses an HTTP response from a GetOrginviteItemWithResponse call

func (GetOrginviteItemResponse) Status

func (r GetOrginviteItemResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrginviteItemResponse) StatusCode

func (r GetOrginviteItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserItemResponse

type GetUserItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSONDefault  *Error
}

func ParseGetUserItemResponse

func ParseGetUserItemResponse(rsp *http.Response) (*GetUserItemResponse, error)

ParseGetUserItemResponse parses an HTTP response from a GetUserItemWithResponse call

func (GetUserItemResponse) Status

func (r GetUserItemResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserItemResponse) StatusCode

func (r GetUserItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsergroupItemResponse

type GetUsergroupItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Usergroup
	JSONDefault  *Error
}

func ParseGetUsergroupItemResponse

func ParseGetUsergroupItemResponse(rsp *http.Response) (*GetUsergroupItemResponse, error)

ParseGetUsergroupItemResponse parses an HTTP response from a GetUsergroupItemWithResponse call

func (GetUsergroupItemResponse) Status

func (r GetUsergroupItemResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsergroupItemResponse) StatusCode

func (r GetUsergroupItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Getv1internalaclsParams

type Getv1internalaclsParams struct {
	// the filters query parameter (ex.: {"number": 10})
	Where *QueryWhere `json:"where,omitempty"`

	// the projections query parameter (ex.: {"name": 1})
	Projection *QueryProjections `json:"projection,omitempty"`

	// the sort query parameter (ex.: "city,-lastname")
	Sort *QuerySort `json:"sort,omitempty"`

	// the pages query parameter
	Page *QueryPage `json:"page,omitempty"`

	// the max results query parameter
	MaxResults *QueryMaxResults `json:"max_results,omitempty"`
}

Getv1internalaclsParams defines parameters for Getv1internalacls.

type Getv1internalaclsResponse

type Getv1internalaclsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items *[]Internalacl   `json:"_items,omitempty"`
		Links *ResponeLinks    `json:"_links,omitempty"`
		Meta  *ResponeMetadata `json:"_meta,omitempty"`
	}
	JSONDefault *Error
}

func ParseGetv1internalaclsResponse

func ParseGetv1internalaclsResponse(rsp *http.Response) (*Getv1internalaclsResponse, error)

ParseGetv1internalaclsResponse parses an HTTP response from a Getv1internalaclsWithResponse call

func (Getv1internalaclsResponse) Status

func (r Getv1internalaclsResponse) Status() string

Status returns HTTPResponse.Status

func (Getv1internalaclsResponse) StatusCode

func (r Getv1internalaclsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Getv1kubenamespacesParams

type Getv1kubenamespacesParams struct {
	// the filters query parameter (ex.: {"number": 10})
	Where *QueryWhere `json:"where,omitempty"`

	// the projections query parameter (ex.: {"name": 1})
	Projection *QueryProjections `json:"projection,omitempty"`

	// the sort query parameter (ex.: "city,-lastname")
	Sort *QuerySort `json:"sort,omitempty"`

	// the pages query parameter
	Page *QueryPage `json:"page,omitempty"`

	// the max results query parameter
	MaxResults *QueryMaxResults `json:"max_results,omitempty"`
}

Getv1kubenamespacesParams defines parameters for Getv1kubenamespaces.

type Getv1kubenamespacesResponse

type Getv1kubenamespacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items *[]Kubenamespace `json:"_items,omitempty"`
		Links *ResponeLinks    `json:"_links,omitempty"`
		Meta  *ResponeMetadata `json:"_meta,omitempty"`
	}
	JSONDefault *Error
}

func ParseGetv1kubenamespacesResponse

func ParseGetv1kubenamespacesResponse(rsp *http.Response) (*Getv1kubenamespacesResponse, error)

ParseGetv1kubenamespacesResponse parses an HTTP response from a Getv1kubenamespacesWithResponse call

func (Getv1kubenamespacesResponse) Status

Status returns HTTPResponse.Status

func (Getv1kubenamespacesResponse) StatusCode

func (r Getv1kubenamespacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Getv1orginvitesParams

type Getv1orginvitesParams struct {
	// the filters query parameter (ex.: {"number": 10})
	Where *QueryWhere `json:"where,omitempty"`

	// the projections query parameter (ex.: {"name": 1})
	Projection *QueryProjections `json:"projection,omitempty"`

	// the sort query parameter (ex.: "city,-lastname")
	Sort *QuerySort `json:"sort,omitempty"`

	// the pages query parameter
	Page *QueryPage `json:"page,omitempty"`

	// the max results query parameter
	MaxResults *QueryMaxResults `json:"max_results,omitempty"`
}

Getv1orginvitesParams defines parameters for Getv1orginvites.

type Getv1orginvitesResponse

type Getv1orginvitesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items *[]Orginvite     `json:"_items,omitempty"`
		Links *ResponeLinks    `json:"_links,omitempty"`
		Meta  *ResponeMetadata `json:"_meta,omitempty"`
	}
	JSONDefault *Error
}

func ParseGetv1orginvitesResponse

func ParseGetv1orginvitesResponse(rsp *http.Response) (*Getv1orginvitesResponse, error)

ParseGetv1orginvitesResponse parses an HTTP response from a Getv1orginvitesWithResponse call

func (Getv1orginvitesResponse) Status

func (r Getv1orginvitesResponse) Status() string

Status returns HTTPResponse.Status

func (Getv1orginvitesResponse) StatusCode

func (r Getv1orginvitesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Getv1orgsParams

type Getv1orgsParams struct {
	// the filters query parameter (ex.: {"number": 10})
	Where *QueryWhere `json:"where,omitempty"`

	// the projections query parameter (ex.: {"name": 1})
	Projection *QueryProjections `json:"projection,omitempty"`

	// the sort query parameter (ex.: "city,-lastname")
	Sort *QuerySort `json:"sort,omitempty"`

	// the pages query parameter
	Page *QueryPage `json:"page,omitempty"`

	// the max results query parameter
	MaxResults *QueryMaxResults `json:"max_results,omitempty"`
}

Getv1orgsParams defines parameters for Getv1orgs.

type Getv1orgsResponse

type Getv1orgsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items *[]Org           `json:"_items,omitempty"`
		Links *ResponeLinks    `json:"_links,omitempty"`
		Meta  *ResponeMetadata `json:"_meta,omitempty"`
	}
	JSONDefault *Error
}

func ParseGetv1orgsResponse

func ParseGetv1orgsResponse(rsp *http.Response) (*Getv1orgsResponse, error)

ParseGetv1orgsResponse parses an HTTP response from a Getv1orgsWithResponse call

func (Getv1orgsResponse) Status

func (r Getv1orgsResponse) Status() string

Status returns HTTPResponse.Status

func (Getv1orgsResponse) StatusCode

func (r Getv1orgsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Getv1usergroupsParams

type Getv1usergroupsParams struct {
	// the filters query parameter (ex.: {"number": 10})
	Where *QueryWhere `json:"where,omitempty"`

	// the projections query parameter (ex.: {"name": 1})
	Projection *QueryProjections `json:"projection,omitempty"`

	// the sort query parameter (ex.: "city,-lastname")
	Sort *QuerySort `json:"sort,omitempty"`

	// the pages query parameter
	Page *QueryPage `json:"page,omitempty"`

	// the max results query parameter
	MaxResults *QueryMaxResults `json:"max_results,omitempty"`
}

Getv1usergroupsParams defines parameters for Getv1usergroups.

type Getv1usergroupsResponse

type Getv1usergroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items *[]Usergroup     `json:"_items,omitempty"`
		Links *ResponeLinks    `json:"_links,omitempty"`
		Meta  *ResponeMetadata `json:"_meta,omitempty"`
	}
	JSONDefault *Error
}

func ParseGetv1usergroupsResponse

func ParseGetv1usergroupsResponse(rsp *http.Response) (*Getv1usergroupsResponse, error)

ParseGetv1usergroupsResponse parses an HTTP response from a Getv1usergroupsWithResponse call

func (Getv1usergroupsResponse) Status

func (r Getv1usergroupsResponse) Status() string

Status returns HTTPResponse.Status

func (Getv1usergroupsResponse) StatusCode

func (r Getv1usergroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Getv1usersParams

type Getv1usersParams struct {
	// the filters query parameter (ex.: {"number": 10})
	Where *QueryWhere `json:"where,omitempty"`

	// the projections query parameter (ex.: {"name": 1})
	Projection *QueryProjections `json:"projection,omitempty"`

	// the sort query parameter (ex.: "city,-lastname")
	Sort *QuerySort `json:"sort,omitempty"`

	// the pages query parameter
	Page *QueryPage `json:"page,omitempty"`

	// the max results query parameter
	MaxResults *QueryMaxResults `json:"max_results,omitempty"`
}

Getv1usersParams defines parameters for Getv1users.

type Getv1usersResponse

type Getv1usersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items *[]User          `json:"_items,omitempty"`
		Links *ResponeLinks    `json:"_links,omitempty"`
		Meta  *ResponeMetadata `json:"_meta,omitempty"`
	}
	JSONDefault *Error
}

func ParseGetv1usersResponse

func ParseGetv1usersResponse(rsp *http.Response) (*Getv1usersResponse, error)

ParseGetv1usersResponse parses an HTTP response from a Getv1usersWithResponse call

func (Getv1usersResponse) Status

func (r Getv1usersResponse) Status() string

Status returns HTTPResponse.Status

func (Getv1usersResponse) StatusCode

func (r Getv1usersResponse) 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 IfMatch

type IfMatch string

IfMatch defines model for If-Match.

type Internalacl

type Internalacl struct {
	Id          *string                 `json:"_id,omitempty"`
	Apikey      *ApikeyId               `json:"apikey,omitempty"`
	Org         OrgId                   `json:"org"`
	Permissions *map[string]interface{} `json:"permissions,omitempty"`
	User        *UserId                 `json:"user,omitempty"`
}

Internalacl defines model for Internalacl.

type InternalaclId

type InternalaclId string

InternalaclId defines model for Internalacl__id.

type KubeclusterId

type KubeclusterId string

KubeclusterId defines model for Kubecluster__id.

type Kubenamespace

type Kubenamespace struct {
	Id           *string                 `json:"_id,omitempty"`
	BackupinstId *BackupinstanceId       `json:"backupinst_id,omitempty"`
	CcUserEmail  *string                 `json:"cc_user_email,omitempty"`
	ClusterId    KubeclusterId           `json:"cluster_id"`
	K8sUid       *string                 `json:"k8s_uid,omitempty"`
	Name         string                  `json:"name"`
	Tags         *map[string]interface{} `json:"tags,omitempty"`
}

Kubenamespace defines model for Kubenamespace.

type KubenamespaceId

type KubenamespaceId string

KubenamespaceId defines model for Kubenamespace__id.

type ObjectstoreId

type ObjectstoreId string

ObjectstoreId defines model for Objectstore__id.

type Org

type Org struct {
	Id  *OrgId `json:"_id,omitempty"`
	Aws *struct {
		CustomerAwsAccountId *string `json:"customer_aws_account_id,omitempty"`
		CustomerIdentifier   string  `json:"customer_identifier"`
		ProductCode          *string `json:"product_code,omitempty"`
	} `json:"aws,omitempty"`
	BackupProvider *struct {
		Region          *string        `json:"region"`
		Type            *string        `json:"type"`
		UserObjectstore *ObjectstoreId `json:"user_objectstore,omitempty"`
	} `json:"backup_provider,omitempty"`
	BackupStorageSize    *int                    `json:"backup_storage_size,omitempty"`
	BillingAdmin         *UserId                 `json:"billing_admin,omitempty"`
	CcUserEmail          *string                 `json:"cc_user_email,omitempty"`
	Country              *string                 `json:"country,omitempty"`
	DisplayName          interface{}             `json:"display_name"`
	Name                 string                  `json:"name"`
	ProtectedStorageSize *int                    `json:"protected_storage_size,omitempty"`
	Subscription         *string                 `json:"subscription,omitempty"`
	Tags                 *map[string]interface{} `json:"tags,omitempty"`
	TimedTotalCopyData   *int                    `json:"timed_total_copy_data,omitempty"`
	TotalCopyData        *int                    `json:"total_copy_data,omitempty"`
	TotalCopyQuota       *int                    `json:"total_copy_quota,omitempty"`
	TotalSnapshotData    *int                    `json:"total_snapshot_data,omitempty"`
}

Org defines model for Org.

type OrgId

type OrgId string

OrgId defines model for Org__id.

type Orginvite

type Orginvite struct {
	Id   *string `json:"_id,omitempty"`
	Acls *[]struct {
		Permissions *[]string `json:"permissions,omitempty"`
		Resource    string    `json:"resource"`
		ResourceIds *[]string `json:"resourceIds,omitempty"`
		Roles       *[]struct {
			Id   *string `json:"_id,omitempty"`
			Name *string `json:"name,omitempty"`
			Type *string `json:"type,omitempty"`
		} `json:"roles,omitempty"`
	} `json:"acls,omitempty"`
	CcUserEmail   *string                 `json:"cc_user_email,omitempty"`
	Email         string                  `json:"email"`
	ExpiresInDays *int                    `json:"expires_in_days,omitempty"`
	FirstName     string                  `json:"first_name"`
	Inviter       *string                 `json:"inviter,omitempty"`
	LastName      string                  `json:"last_name"`
	Name          string                  `json:"name"`
	Org           *OrgId                  `json:"org,omitempty"`
	State         *OrginviteState         `json:"state,omitempty"`
	Tags          *map[string]interface{} `json:"tags,omitempty"`
	Usergroups    *[]string               `json:"usergroups,omitempty"`
}

Orginvite defines model for Orginvite.

type OrginviteId

type OrginviteId string

OrginviteId defines model for Orginvite__id.

type OrginviteState

type OrginviteState string

OrginviteState defines model for Orginvite.State.

const (
	OrginviteStateACCEPTED OrginviteState = "ACCEPTED"

	OrginviteStateDECLINED OrginviteState = "DECLINED"

	OrginviteStateEXPIRED OrginviteState = "EXPIRED"

	OrginviteStatePENDING OrginviteState = "PENDING"
)

Defines values for OrginviteState.

type PatchInternalaclItemJSONRequestBody

type PatchInternalaclItemJSONRequestBody Internalacl

PatchInternalaclItemJSONRequestBody defines body for PatchInternalaclItem for application/json ContentType.

type PatchInternalaclItemParams

type PatchInternalaclItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PatchInternalaclItemParams defines parameters for PatchInternalaclItem.

type PatchInternalaclItemResponse

type PatchInternalaclItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePatchInternalaclItemResponse

func ParsePatchInternalaclItemResponse(rsp *http.Response) (*PatchInternalaclItemResponse, error)

ParsePatchInternalaclItemResponse parses an HTTP response from a PatchInternalaclItemWithResponse call

func (PatchInternalaclItemResponse) Status

Status returns HTTPResponse.Status

func (PatchInternalaclItemResponse) StatusCode

func (r PatchInternalaclItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchKubenamespaceItemJSONRequestBody

type PatchKubenamespaceItemJSONRequestBody Kubenamespace

PatchKubenamespaceItemJSONRequestBody defines body for PatchKubenamespaceItem for application/json ContentType.

type PatchKubenamespaceItemParams

type PatchKubenamespaceItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PatchKubenamespaceItemParams defines parameters for PatchKubenamespaceItem.

type PatchKubenamespaceItemResponse

type PatchKubenamespaceItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePatchKubenamespaceItemResponse

func ParsePatchKubenamespaceItemResponse(rsp *http.Response) (*PatchKubenamespaceItemResponse, error)

ParsePatchKubenamespaceItemResponse parses an HTTP response from a PatchKubenamespaceItemWithResponse call

func (PatchKubenamespaceItemResponse) Status

Status returns HTTPResponse.Status

func (PatchKubenamespaceItemResponse) StatusCode

func (r PatchKubenamespaceItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchOrgItemJSONRequestBody

type PatchOrgItemJSONRequestBody Org

PatchOrgItemJSONRequestBody defines body for PatchOrgItem for application/json ContentType.

type PatchOrgItemParams

type PatchOrgItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PatchOrgItemParams defines parameters for PatchOrgItem.

type PatchOrgItemResponse

type PatchOrgItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePatchOrgItemResponse

func ParsePatchOrgItemResponse(rsp *http.Response) (*PatchOrgItemResponse, error)

ParsePatchOrgItemResponse parses an HTTP response from a PatchOrgItemWithResponse call

func (PatchOrgItemResponse) Status

func (r PatchOrgItemResponse) Status() string

Status returns HTTPResponse.Status

func (PatchOrgItemResponse) StatusCode

func (r PatchOrgItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchOrginviteItemJSONRequestBody

type PatchOrginviteItemJSONRequestBody Orginvite

PatchOrginviteItemJSONRequestBody defines body for PatchOrginviteItem for application/json ContentType.

type PatchOrginviteItemParams

type PatchOrginviteItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PatchOrginviteItemParams defines parameters for PatchOrginviteItem.

type PatchOrginviteItemResponse

type PatchOrginviteItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePatchOrginviteItemResponse

func ParsePatchOrginviteItemResponse(rsp *http.Response) (*PatchOrginviteItemResponse, error)

ParsePatchOrginviteItemResponse parses an HTTP response from a PatchOrginviteItemWithResponse call

func (PatchOrginviteItemResponse) Status

Status returns HTTPResponse.Status

func (PatchOrginviteItemResponse) StatusCode

func (r PatchOrginviteItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchUserItemJSONRequestBody

type PatchUserItemJSONRequestBody User

PatchUserItemJSONRequestBody defines body for PatchUserItem for application/json ContentType.

type PatchUserItemParams

type PatchUserItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PatchUserItemParams defines parameters for PatchUserItem.

type PatchUserItemResponse

type PatchUserItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePatchUserItemResponse

func ParsePatchUserItemResponse(rsp *http.Response) (*PatchUserItemResponse, error)

ParsePatchUserItemResponse parses an HTTP response from a PatchUserItemWithResponse call

func (PatchUserItemResponse) Status

func (r PatchUserItemResponse) Status() string

Status returns HTTPResponse.Status

func (PatchUserItemResponse) StatusCode

func (r PatchUserItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchUsergroupItemJSONRequestBody

type PatchUsergroupItemJSONRequestBody Usergroup

PatchUsergroupItemJSONRequestBody defines body for PatchUsergroupItem for application/json ContentType.

type PatchUsergroupItemParams

type PatchUsergroupItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PatchUsergroupItemParams defines parameters for PatchUsergroupItem.

type PatchUsergroupItemResponse

type PatchUsergroupItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePatchUsergroupItemResponse

func ParsePatchUsergroupItemResponse(rsp *http.Response) (*PatchUsergroupItemResponse, error)

ParsePatchUsergroupItemResponse parses an HTTP response from a PatchUsergroupItemWithResponse call

func (PatchUsergroupItemResponse) Status

Status returns HTTPResponse.Status

func (PatchUsergroupItemResponse) StatusCode

func (r PatchUsergroupItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Postv1internalaclsJSONRequestBody

type Postv1internalaclsJSONRequestBody Internalacl

Postv1internalaclsJSONRequestBody defines body for Postv1internalacls for application/json ContentType.

type Postv1internalaclsResponse

type Postv1internalaclsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePostv1internalaclsResponse

func ParsePostv1internalaclsResponse(rsp *http.Response) (*Postv1internalaclsResponse, error)

ParsePostv1internalaclsResponse parses an HTTP response from a Postv1internalaclsWithResponse call

func (Postv1internalaclsResponse) Status

Status returns HTTPResponse.Status

func (Postv1internalaclsResponse) StatusCode

func (r Postv1internalaclsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Postv1kubenamespacesJSONRequestBody

type Postv1kubenamespacesJSONRequestBody Kubenamespace

Postv1kubenamespacesJSONRequestBody defines body for Postv1kubenamespaces for application/json ContentType.

type Postv1kubenamespacesResponse

type Postv1kubenamespacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePostv1kubenamespacesResponse

func ParsePostv1kubenamespacesResponse(rsp *http.Response) (*Postv1kubenamespacesResponse, error)

ParsePostv1kubenamespacesResponse parses an HTTP response from a Postv1kubenamespacesWithResponse call

func (Postv1kubenamespacesResponse) Status

Status returns HTTPResponse.Status

func (Postv1kubenamespacesResponse) StatusCode

func (r Postv1kubenamespacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Postv1orginvitesJSONRequestBody

type Postv1orginvitesJSONRequestBody Orginvite

Postv1orginvitesJSONRequestBody defines body for Postv1orginvites for application/json ContentType.

type Postv1orginvitesResponse

type Postv1orginvitesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePostv1orginvitesResponse

func ParsePostv1orginvitesResponse(rsp *http.Response) (*Postv1orginvitesResponse, error)

ParsePostv1orginvitesResponse parses an HTTP response from a Postv1orginvitesWithResponse call

func (Postv1orginvitesResponse) Status

func (r Postv1orginvitesResponse) Status() string

Status returns HTTPResponse.Status

func (Postv1orginvitesResponse) StatusCode

func (r Postv1orginvitesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Postv1usergroupsJSONRequestBody

type Postv1usergroupsJSONRequestBody Usergroup

Postv1usergroupsJSONRequestBody defines body for Postv1usergroups for application/json ContentType.

type Postv1usergroupsResponse

type Postv1usergroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePostv1usergroupsResponse

func ParsePostv1usergroupsResponse(rsp *http.Response) (*Postv1usergroupsResponse, error)

ParsePostv1usergroupsResponse parses an HTTP response from a Postv1usergroupsWithResponse call

func (Postv1usergroupsResponse) Status

func (r Postv1usergroupsResponse) Status() string

Status returns HTTPResponse.Status

func (Postv1usergroupsResponse) StatusCode

func (r Postv1usergroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutInternalaclItemJSONRequestBody

type PutInternalaclItemJSONRequestBody Internalacl

PutInternalaclItemJSONRequestBody defines body for PutInternalaclItem for application/json ContentType.

type PutInternalaclItemParams

type PutInternalaclItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PutInternalaclItemParams defines parameters for PutInternalaclItem.

type PutInternalaclItemResponse

type PutInternalaclItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePutInternalaclItemResponse

func ParsePutInternalaclItemResponse(rsp *http.Response) (*PutInternalaclItemResponse, error)

ParsePutInternalaclItemResponse parses an HTTP response from a PutInternalaclItemWithResponse call

func (PutInternalaclItemResponse) Status

Status returns HTTPResponse.Status

func (PutInternalaclItemResponse) StatusCode

func (r PutInternalaclItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutKubenamespaceItemJSONRequestBody

type PutKubenamespaceItemJSONRequestBody Kubenamespace

PutKubenamespaceItemJSONRequestBody defines body for PutKubenamespaceItem for application/json ContentType.

type PutKubenamespaceItemParams

type PutKubenamespaceItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PutKubenamespaceItemParams defines parameters for PutKubenamespaceItem.

type PutKubenamespaceItemResponse

type PutKubenamespaceItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePutKubenamespaceItemResponse

func ParsePutKubenamespaceItemResponse(rsp *http.Response) (*PutKubenamespaceItemResponse, error)

ParsePutKubenamespaceItemResponse parses an HTTP response from a PutKubenamespaceItemWithResponse call

func (PutKubenamespaceItemResponse) Status

Status returns HTTPResponse.Status

func (PutKubenamespaceItemResponse) StatusCode

func (r PutKubenamespaceItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutOrgItemJSONRequestBody

type PutOrgItemJSONRequestBody Org

PutOrgItemJSONRequestBody defines body for PutOrgItem for application/json ContentType.

type PutOrgItemParams

type PutOrgItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PutOrgItemParams defines parameters for PutOrgItem.

type PutOrgItemResponse

type PutOrgItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePutOrgItemResponse

func ParsePutOrgItemResponse(rsp *http.Response) (*PutOrgItemResponse, error)

ParsePutOrgItemResponse parses an HTTP response from a PutOrgItemWithResponse call

func (PutOrgItemResponse) Status

func (r PutOrgItemResponse) Status() string

Status returns HTTPResponse.Status

func (PutOrgItemResponse) StatusCode

func (r PutOrgItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutOrginviteItemJSONRequestBody

type PutOrginviteItemJSONRequestBody Orginvite

PutOrginviteItemJSONRequestBody defines body for PutOrginviteItem for application/json ContentType.

type PutOrginviteItemParams

type PutOrginviteItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PutOrginviteItemParams defines parameters for PutOrginviteItem.

type PutOrginviteItemResponse

type PutOrginviteItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePutOrginviteItemResponse

func ParsePutOrginviteItemResponse(rsp *http.Response) (*PutOrginviteItemResponse, error)

ParsePutOrginviteItemResponse parses an HTTP response from a PutOrginviteItemWithResponse call

func (PutOrginviteItemResponse) Status

func (r PutOrginviteItemResponse) Status() string

Status returns HTTPResponse.Status

func (PutOrginviteItemResponse) StatusCode

func (r PutOrginviteItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutUserItemJSONRequestBody

type PutUserItemJSONRequestBody User

PutUserItemJSONRequestBody defines body for PutUserItem for application/json ContentType.

type PutUserItemParams

type PutUserItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PutUserItemParams defines parameters for PutUserItem.

type PutUserItemResponse

type PutUserItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePutUserItemResponse

func ParsePutUserItemResponse(rsp *http.Response) (*PutUserItemResponse, error)

ParsePutUserItemResponse parses an HTTP response from a PutUserItemWithResponse call

func (PutUserItemResponse) Status

func (r PutUserItemResponse) Status() string

Status returns HTTPResponse.Status

func (PutUserItemResponse) StatusCode

func (r PutUserItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutUsergroupItemJSONRequestBody

type PutUsergroupItemJSONRequestBody Usergroup

PutUsergroupItemJSONRequestBody defines body for PutUsergroupItem for application/json ContentType.

type PutUsergroupItemParams

type PutUsergroupItemParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

PutUsergroupItemParams defines parameters for PutUsergroupItem.

type PutUsergroupItemResponse

type PutUsergroupItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *Error
}

func ParsePutUsergroupItemResponse

func ParsePutUsergroupItemResponse(rsp *http.Response) (*PutUsergroupItemResponse, error)

ParsePutUsergroupItemResponse parses an HTTP response from a PutUsergroupItemWithResponse call

func (PutUsergroupItemResponse) Status

func (r PutUsergroupItemResponse) Status() string

Status returns HTTPResponse.Status

func (PutUsergroupItemResponse) StatusCode

func (r PutUsergroupItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type QueryMaxResults

type QueryMaxResults int

QueryMaxResults defines model for query__max_results.

type QueryPage

type QueryPage int

QueryPage defines model for query__page.

type QueryProjections

type QueryProjections string

QueryProjections defines model for query__projections.

type QuerySort

type QuerySort string

QuerySort defines model for query__sort.

type QueryWhere

type QueryWhere string

QueryWhere defines model for query__where.

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ResponeLinks struct {
	Parent *struct {
		Href  *string `json:"href,omitempty"`
		Title *string `json:"title,omitempty"`
	} `json:"parent,omitempty"`
	Self *struct {
		Href  *string `json:"href,omitempty"`
		Title *string `json:"title,omitempty"`
	} `json:"self,omitempty"`
}

ResponeLinks defines model for respone_links.

type ResponeMetadata

type ResponeMetadata struct {
	MaxResults *int `json:"max_results,omitempty"`
	Page       *int `json:"page,omitempty"`
	Total      *int `json:"total,omitempty"`
}

ResponeMetadata defines model for respone_metadata.

type UpdateUserGroupACLJSONRequestBody

type UpdateUserGroupACLJSONRequestBody ACLs

UpdateUserGroupACLJSONRequestBody defines body for UpdateUserGroupACL for application/json ContentType.

type UpdateUserGroupACLParams

type UpdateUserGroupACLParams struct {
	// Current value of the _etag field
	IfMatch IfMatch `json:"If-Match"`
}

UpdateUserGroupACLParams defines parameters for UpdateUserGroupACL.

type UpdateUserGroupACLResponse

type UpdateUserGroupACLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ACLs
	JSONDefault  *Error
}

func ParseUpdateUserGroupACLResponse

func ParseUpdateUserGroupACLResponse(rsp *http.Response) (*UpdateUserGroupACLResponse, error)

ParseUpdateUserGroupACLResponse parses an HTTP response from a UpdateUserGroupACLWithResponse call

func (UpdateUserGroupACLResponse) Status

Status returns HTTPResponse.Status

func (UpdateUserGroupACLResponse) StatusCode

func (r UpdateUserGroupACLResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type User

type User struct {
	Id          *UserId `json:"_id,omitempty"`
	CcUserEmail *string `json:"cc_user_email,omitempty"`
	Email       string  `json:"email"`
	FirstName   *string `json:"first_name,omitempty"`
	LastName    *string `json:"last_name,omitempty"`
	Mfa         *struct {
		Enabled     *bool     `json:"enabled,omitempty"`
		Multifactor *[]string `json:"multifactor,omitempty"`
	} `json:"mfa,omitempty"`
	Name            string                  `json:"name"`
	Paid            *bool                   `json:"paid,omitempty"`
	SendAlertEmails *bool                   `json:"send_alert_emails,omitempty"`
	Servicetier     *string                 `json:"servicetier,omitempty"`
	Tags            *map[string]interface{} `json:"tags,omitempty"`
}

User defines model for User.

type UserGroupACL

type UserGroupACL struct {
	Permissions *[]string `json:"permissions,omitempty"`
	Resource    string    `json:"resource"`
	ResourceIds *[]string `json:"resourceIds,omitempty"`
	Roles       *[]struct {
		Id   *string `json:"id,omitempty"`
		Name *string `json:"name,omitempty"`
		Type *string `json:"type,omitempty"`
	} `json:"roles,omitempty"`
}

UserGroupACL defines model for UserGroupACL.

type UserId

type UserId string

UserId defines model for User__id.

type Usergroup

type Usergroup struct {
	Id          *string                 `json:"_id,omitempty"`
	Acls        *[]UserGroupACL         `json:"acls,omitempty"`
	CcUserEmail *string                 `json:"cc_user_email,omitempty"`
	Name        string                  `json:"name"`
	Tags        *map[string]interface{} `json:"tags,omitempty"`
	Users       *[]string               `json:"users,omitempty"`
}

Usergroup defines model for Usergroup.

type UsergroupId

type UsergroupId string

UsergroupId defines model for Usergroup__id.

Jump to

Keyboard shortcuts

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