types

package
v0.15.14 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 19 Imported by: 8

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpiryString added in v0.11.1

func ExpiryString(expires time.Time) string

func GetSwagger

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

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

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewAccessRuleID

func NewAccessRuleID() string

func NewAdminArchiveAccessRuleRequest added in v0.13.0

func NewAdminArchiveAccessRuleRequest(server string, ruleId string) (*http.Request, error)

NewAdminArchiveAccessRuleRequest generates requests for AdminArchiveAccessRule

func NewAdminCompleteProvidersetupRequest added in v0.13.0

func NewAdminCompleteProvidersetupRequest(server string, providersetupId string) (*http.Request, error)

NewAdminCompleteProvidersetupRequest generates requests for AdminCompleteProvidersetup

func NewAdminCreateAccessRuleRequest added in v0.13.0

func NewAdminCreateAccessRuleRequest(server string, body AdminCreateAccessRuleJSONRequestBody) (*http.Request, error)

NewAdminCreateAccessRuleRequest calls the generic AdminCreateAccessRule builder with application/json body

func NewAdminCreateAccessRuleRequestWithBody added in v0.13.0

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

NewAdminCreateAccessRuleRequestWithBody generates requests for AdminCreateAccessRule with any type of body

func NewAdminCreateGroupRequest added in v0.13.0

func NewAdminCreateGroupRequest(server string, body AdminCreateGroupJSONRequestBody) (*http.Request, error)

NewAdminCreateGroupRequest calls the generic AdminCreateGroup builder with application/json body

func NewAdminCreateGroupRequestWithBody added in v0.13.0

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

NewAdminCreateGroupRequestWithBody generates requests for AdminCreateGroup with any type of body

func NewAdminCreateProvidersetupRequest added in v0.13.0

func NewAdminCreateProvidersetupRequest(server string, body AdminCreateProvidersetupJSONRequestBody) (*http.Request, error)

NewAdminCreateProvidersetupRequest calls the generic AdminCreateProvidersetup builder with application/json body

func NewAdminCreateProvidersetupRequestWithBody added in v0.13.0

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

NewAdminCreateProvidersetupRequestWithBody generates requests for AdminCreateProvidersetup with any type of body

func NewAdminCreateTargetGroupLinkRequest added in v0.15.0

func NewAdminCreateTargetGroupLinkRequest(server string, id string, body AdminCreateTargetGroupLinkJSONRequestBody) (*http.Request, error)

NewAdminCreateTargetGroupLinkRequest calls the generic AdminCreateTargetGroupLink builder with application/json body

func NewAdminCreateTargetGroupLinkRequestWithBody added in v0.15.0

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

NewAdminCreateTargetGroupLinkRequestWithBody generates requests for AdminCreateTargetGroupLink with any type of body

func NewAdminCreateTargetGroupRequest added in v0.15.0

func NewAdminCreateTargetGroupRequest(server string, body AdminCreateTargetGroupJSONRequestBody) (*http.Request, error)

NewAdminCreateTargetGroupRequest calls the generic AdminCreateTargetGroup builder with application/json body

func NewAdminCreateTargetGroupRequestWithBody added in v0.15.0

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

NewAdminCreateTargetGroupRequestWithBody generates requests for AdminCreateTargetGroup with any type of body

func NewAdminCreateUserRequest added in v0.13.0

func NewAdminCreateUserRequest(server string, body AdminCreateUserJSONRequestBody) (*http.Request, error)

NewAdminCreateUserRequest calls the generic AdminCreateUser builder with application/json body

func NewAdminCreateUserRequestWithBody added in v0.13.0

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

NewAdminCreateUserRequestWithBody generates requests for AdminCreateUser with any type of body

func NewAdminDeleteGroupRequest added in v0.13.0

func NewAdminDeleteGroupRequest(server string, groupId string) (*http.Request, error)

NewAdminDeleteGroupRequest generates requests for AdminDeleteGroup

func NewAdminDeleteHandlerRequest added in v0.15.0

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

NewAdminDeleteHandlerRequest generates requests for AdminDeleteHandler

func NewAdminDeleteProvidersetupRequest added in v0.13.0

func NewAdminDeleteProvidersetupRequest(server string, providersetupId string) (*http.Request, error)

NewAdminDeleteProvidersetupRequest generates requests for AdminDeleteProvidersetup

func NewAdminDeleteTargetGroupRequest added in v0.15.0

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

NewAdminDeleteTargetGroupRequest generates requests for AdminDeleteTargetGroup

func NewAdminGetAccessRuleRequest added in v0.13.0

func NewAdminGetAccessRuleRequest(server string, ruleId string) (*http.Request, error)

NewAdminGetAccessRuleRequest generates requests for AdminGetAccessRule

func NewAdminGetAccessRuleVersionRequest added in v0.13.0

func NewAdminGetAccessRuleVersionRequest(server string, ruleId string, version string) (*http.Request, error)

NewAdminGetAccessRuleVersionRequest generates requests for AdminGetAccessRuleVersion

func NewAdminGetAccessRuleVersionsRequest added in v0.13.0

func NewAdminGetAccessRuleVersionsRequest(server string, ruleId string) (*http.Request, error)

NewAdminGetAccessRuleVersionsRequest generates requests for AdminGetAccessRuleVersions

func NewAdminGetDeploymentVersionRequest added in v0.13.0

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

NewAdminGetDeploymentVersionRequest generates requests for AdminGetDeploymentVersion

func NewAdminGetGroupRequest added in v0.13.0

func NewAdminGetGroupRequest(server string, groupId string) (*http.Request, error)

NewAdminGetGroupRequest generates requests for AdminGetGroup

func NewAdminGetHandlerRequest added in v0.15.0

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

NewAdminGetHandlerRequest generates requests for AdminGetHandler

func NewAdminGetIdentityConfigurationRequest added in v0.13.0

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

NewAdminGetIdentityConfigurationRequest generates requests for AdminGetIdentityConfiguration

func NewAdminGetProviderArgsRequest added in v0.13.0

func NewAdminGetProviderArgsRequest(server string, providerId string) (*http.Request, error)

NewAdminGetProviderArgsRequest generates requests for AdminGetProviderArgs

func NewAdminGetProviderRequest added in v0.13.0

func NewAdminGetProviderRequest(server string, providerId string) (*http.Request, error)

NewAdminGetProviderRequest generates requests for AdminGetProvider

func NewAdminGetProvidersetupInstructionsRequest added in v0.13.0

func NewAdminGetProvidersetupInstructionsRequest(server string, providersetupId string) (*http.Request, error)

NewAdminGetProvidersetupInstructionsRequest generates requests for AdminGetProvidersetupInstructions

func NewAdminGetProvidersetupRequest added in v0.13.0

func NewAdminGetProvidersetupRequest(server string, providersetupId string) (*http.Request, error)

NewAdminGetProvidersetupRequest generates requests for AdminGetProvidersetup

func NewAdminGetRequestRequest added in v0.13.0

func NewAdminGetRequestRequest(server string, requestId string) (*http.Request, error)

NewAdminGetRequestRequest generates requests for AdminGetRequest

func NewAdminGetTargetGroupRequest added in v0.15.0

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

NewAdminGetTargetGroupRequest generates requests for AdminGetTargetGroup

func NewAdminHealthcheckHandlersRequest added in v0.15.0

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

NewAdminHealthcheckHandlersRequest generates requests for AdminHealthcheckHandlers

func NewAdminListAccessRulesRequest added in v0.13.0

func NewAdminListAccessRulesRequest(server string, params *AdminListAccessRulesParams) (*http.Request, error)

NewAdminListAccessRulesRequest generates requests for AdminListAccessRules

func NewAdminListGroupsRequest added in v0.13.0

func NewAdminListGroupsRequest(server string, params *AdminListGroupsParams) (*http.Request, error)

NewAdminListGroupsRequest generates requests for AdminListGroups

func NewAdminListHandlersRequest added in v0.15.0

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

NewAdminListHandlersRequest generates requests for AdminListHandlers

func NewAdminListProviderArgOptionsRequest added in v0.13.0

func NewAdminListProviderArgOptionsRequest(server string, providerId string, argId string, params *AdminListProviderArgOptionsParams) (*http.Request, error)

NewAdminListProviderArgOptionsRequest generates requests for AdminListProviderArgOptions

func NewAdminListProvidersRequest added in v0.13.0

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

NewAdminListProvidersRequest generates requests for AdminListProviders

func NewAdminListProvidersetupsRequest added in v0.13.0

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

NewAdminListProvidersetupsRequest generates requests for AdminListProvidersetups

func NewAdminListRequestsRequest added in v0.13.0

func NewAdminListRequestsRequest(server string, params *AdminListRequestsParams) (*http.Request, error)

NewAdminListRequestsRequest generates requests for AdminListRequests

func NewAdminListTargetGroupsRequest added in v0.15.0

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

NewAdminListTargetGroupsRequest generates requests for AdminListTargetGroups

func NewAdminListTargetRoutesRequest added in v0.15.0

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

NewAdminListTargetRoutesRequest generates requests for AdminListTargetRoutes

func NewAdminListUsersRequest added in v0.13.0

func NewAdminListUsersRequest(server string, params *AdminListUsersParams) (*http.Request, error)

NewAdminListUsersRequest generates requests for AdminListUsers

func NewAdminRegisterHandlerRequest added in v0.15.0

func NewAdminRegisterHandlerRequest(server string, body AdminRegisterHandlerJSONRequestBody) (*http.Request, error)

NewAdminRegisterHandlerRequest calls the generic AdminRegisterHandler builder with application/json body

func NewAdminRegisterHandlerRequestWithBody added in v0.15.0

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

NewAdminRegisterHandlerRequestWithBody generates requests for AdminRegisterHandler with any type of body

func NewAdminRemoveTargetGroupLinkRequest added in v0.15.0

func NewAdminRemoveTargetGroupLinkRequest(server string, id string, params *AdminRemoveTargetGroupLinkParams) (*http.Request, error)

NewAdminRemoveTargetGroupLinkRequest generates requests for AdminRemoveTargetGroupLink

func NewAdminSubmitProvidersetupStepRequest added in v0.13.0

func NewAdminSubmitProvidersetupStepRequest(server string, providersetupId string, stepIndex int, body AdminSubmitProvidersetupStepJSONRequestBody) (*http.Request, error)

NewAdminSubmitProvidersetupStepRequest calls the generic AdminSubmitProvidersetupStep builder with application/json body

func NewAdminSubmitProvidersetupStepRequestWithBody added in v0.13.0

func NewAdminSubmitProvidersetupStepRequestWithBody(server string, providersetupId string, stepIndex int, contentType string, body io.Reader) (*http.Request, error)

NewAdminSubmitProvidersetupStepRequestWithBody generates requests for AdminSubmitProvidersetupStep with any type of body

func NewAdminSyncIdentityRequest added in v0.13.0

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

NewAdminSyncIdentityRequest generates requests for AdminSyncIdentity

func NewAdminUpdateAccessRuleRequest added in v0.13.0

func NewAdminUpdateAccessRuleRequest(server string, ruleId string, body AdminUpdateAccessRuleJSONRequestBody) (*http.Request, error)

NewAdminUpdateAccessRuleRequest calls the generic AdminUpdateAccessRule builder with application/json body

func NewAdminUpdateAccessRuleRequestWithBody added in v0.13.0

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

NewAdminUpdateAccessRuleRequestWithBody generates requests for AdminUpdateAccessRule with any type of body

func NewAdminUpdateGroupRequest added in v0.13.0

func NewAdminUpdateGroupRequest(server string, groupId string, body AdminUpdateGroupJSONRequestBody) (*http.Request, error)

NewAdminUpdateGroupRequest calls the generic AdminUpdateGroup builder with application/json body

func NewAdminUpdateGroupRequestWithBody added in v0.13.0

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

NewAdminUpdateGroupRequestWithBody generates requests for AdminUpdateGroup with any type of body

func NewAdminUpdateUserRequest added in v0.13.0

func NewAdminUpdateUserRequest(server string, userId string, body AdminUpdateUserJSONRequestBody) (*http.Request, error)

NewAdminUpdateUserRequest calls the generic AdminUpdateUser builder with application/json body

func NewAdminUpdateUserRequestWithBody added in v0.13.0

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

NewAdminUpdateUserRequestWithBody generates requests for AdminUpdateUser with any type of body

func NewAdminValidateProvidersetupRequest added in v0.13.0

func NewAdminValidateProvidersetupRequest(server string, providersetupId string) (*http.Request, error)

NewAdminValidateProvidersetupRequest generates requests for AdminValidateProvidersetup

func NewDeploymentID

func NewDeploymentID() string

func NewGroupID

func NewGroupID() string

func NewHistoryID

func NewHistoryID() string

func NewProviderSetupID

func NewProviderSetupID() string

func NewRequestFavoriteID

func NewRequestFavoriteID() string

func NewRequestID

func NewRequestID() string

func NewRequestReviewID

func NewRequestReviewID() string

func NewUserCancelRequestRequest added in v0.13.0

func NewUserCancelRequestRequest(server string, requestId string) (*http.Request, error)

NewUserCancelRequestRequest generates requests for UserCancelRequest

func NewUserCreateFavoriteRequest added in v0.13.0

func NewUserCreateFavoriteRequest(server string, body UserCreateFavoriteJSONRequestBody) (*http.Request, error)

NewUserCreateFavoriteRequest calls the generic UserCreateFavorite builder with application/json body

func NewUserCreateFavoriteRequestWithBody added in v0.13.0

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

NewUserCreateFavoriteRequestWithBody generates requests for UserCreateFavorite with any type of body

func NewUserCreateRequestRequest added in v0.13.0

func NewUserCreateRequestRequest(server string, body UserCreateRequestJSONRequestBody) (*http.Request, error)

NewUserCreateRequestRequest calls the generic UserCreateRequest builder with application/json body

func NewUserCreateRequestRequestWithBody added in v0.13.0

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

NewUserCreateRequestRequestWithBody generates requests for UserCreateRequest with any type of body

func NewUserDeleteFavoriteRequest added in v0.13.0

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

NewUserDeleteFavoriteRequest generates requests for UserDeleteFavorite

func NewUserGetAccessInstructionsRequest added in v0.13.0

func NewUserGetAccessInstructionsRequest(server string, requestId string) (*http.Request, error)

NewUserGetAccessInstructionsRequest generates requests for UserGetAccessInstructions

func NewUserGetAccessRuleApproversRequest added in v0.13.0

func NewUserGetAccessRuleApproversRequest(server string, ruleId string) (*http.Request, error)

NewUserGetAccessRuleApproversRequest generates requests for UserGetAccessRuleApprovers

func NewUserGetAccessRuleRequest added in v0.13.0

func NewUserGetAccessRuleRequest(server string, ruleId string) (*http.Request, error)

NewUserGetAccessRuleRequest generates requests for UserGetAccessRule

func NewUserGetAccessTokenRequest added in v0.13.0

func NewUserGetAccessTokenRequest(server string, requestId string) (*http.Request, error)

NewUserGetAccessTokenRequest generates requests for UserGetAccessToken

func NewUserGetFavoriteRequest added in v0.13.0

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

NewUserGetFavoriteRequest generates requests for UserGetFavorite

func NewUserGetMeRequest added in v0.13.0

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

NewUserGetMeRequest generates requests for UserGetMe

func NewUserGetRequestRequest added in v0.13.0

func NewUserGetRequestRequest(server string, requestId string) (*http.Request, error)

NewUserGetRequestRequest generates requests for UserGetRequest

func NewUserGetUserRequest added in v0.13.0

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

NewUserGetUserRequest generates requests for UserGetUser

func NewUserID

func NewUserID() string

func NewUserListAccessRulesRequest added in v0.13.0

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

NewUserListAccessRulesRequest generates requests for UserListAccessRules

func NewUserListFavoritesRequest added in v0.13.0

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

NewUserListFavoritesRequest generates requests for UserListFavorites

func NewUserListRequestEventsRequest added in v0.13.0

func NewUserListRequestEventsRequest(server string, requestId string) (*http.Request, error)

NewUserListRequestEventsRequest generates requests for UserListRequestEvents

func NewUserListRequestsPastRequest added in v0.13.0

func NewUserListRequestsPastRequest(server string, params *UserListRequestsPastParams) (*http.Request, error)

NewUserListRequestsPastRequest generates requests for UserListRequestsPast

func NewUserListRequestsRequest added in v0.13.0

func NewUserListRequestsRequest(server string, params *UserListRequestsParams) (*http.Request, error)

NewUserListRequestsRequest generates requests for UserListRequests

func NewUserListRequestsUpcomingRequest added in v0.13.0

func NewUserListRequestsUpcomingRequest(server string, params *UserListRequestsUpcomingParams) (*http.Request, error)

NewUserListRequestsUpcomingRequest generates requests for UserListRequestsUpcoming

func NewUserLookupAccessRuleRequest added in v0.13.0

func NewUserLookupAccessRuleRequest(server string, params *UserLookupAccessRuleParams) (*http.Request, error)

NewUserLookupAccessRuleRequest generates requests for UserLookupAccessRule

func NewUserReviewRequestRequest added in v0.13.0

func NewUserReviewRequestRequest(server string, requestId string, body UserReviewRequestJSONRequestBody) (*http.Request, error)

NewUserReviewRequestRequest calls the generic UserReviewRequest builder with application/json body

func NewUserReviewRequestRequestWithBody added in v0.13.0

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

NewUserReviewRequestRequestWithBody generates requests for UserReviewRequest with any type of body

func NewUserRevokeRequestRequest added in v0.13.0

func NewUserRevokeRequestRequest(server string, requestid string) (*http.Request, error)

NewUserRevokeRequestRequest generates requests for UserRevokeRequest

func NewUserUpdateFavoriteRequest added in v0.13.0

func NewUserUpdateFavoriteRequest(server string, id string, body UserUpdateFavoriteJSONRequestBody) (*http.Request, error)

NewUserUpdateFavoriteRequest calls the generic UserUpdateFavorite builder with application/json body

func NewUserUpdateFavoriteRequestWithBody added in v0.13.0

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

NewUserUpdateFavoriteRequestWithBody generates requests for UserUpdateFavorite with any type of body

func NewVersionID

func NewVersionID() string

func PathToRawSpec

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

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

Types

type AccessRule

type AccessRule struct {
	CreatedAt   time.Time `json:"createdAt"`
	Description string    `json:"description"`
	ID          string    `json:"id"`
	IsCurrent   bool      `json:"isCurrent"`
	Name        string    `json:"name"`

	// A target for an access rule
	Target AccessRuleTarget `json:"target"`

	// Time configuration for an Access Rule.
	TimeConstraints TimeConstraints `json:"timeConstraints"`
	UpdatedAt       time.Time       `json:"updatedAt"`

	// A unique version identifier for the Access Rule. Updating a rule creates a new version.
	// When a rule is updated, it's ID remains consistent.
	Version string `json:"version"`
}

Access Rule contains information for an end user to make a request for access.

type AccessRuleDetail

type AccessRuleDetail struct {
	// Approver config for access rules
	Approval    ApproverConfig `json:"approval"`
	Description string         `json:"description"`

	// The group IDs that the access rule applies to.
	Groups    []string           `json:"groups"`
	ID        string             `json:"id"`
	IsCurrent bool               `json:"isCurrent"`
	Metadata  AccessRuleMetadata `json:"metadata"`
	Name      string             `json:"name"`

	// The status of an Access Rule.
	Status AccessRuleStatus `json:"status"`

	// A detailed target for an access rule
	Target AccessRuleTargetDetail `json:"target"`

	// Time configuration for an Access Rule.
	TimeConstraints TimeConstraints `json:"timeConstraints"`

	// A unique version identifier for the Access Rule. Updating a rule creates a new version.
	// When a rule is updated, it's ID remains consistent.
	Version string `json:"version"`
}

AccessRuleDetail contains detailed information about a rule and is used in administrative apis.

type AccessRuleMetadata

type AccessRuleMetadata struct {
	CreatedAt     time.Time `json:"createdAt"`
	CreatedBy     string    `json:"createdBy"`
	UpdateMessage *string   `json:"updateMessage,omitempty"`
	UpdatedAt     time.Time `json:"updatedAt"`
	UpdatedBy     string    `json:"updatedBy"`
}

AccessRuleMetadata defines model for AccessRuleMetadata.

type AccessRuleStatus

type AccessRuleStatus string

The status of an Access Rule.

const (
	AccessRuleStatusACTIVE   AccessRuleStatus = "ACTIVE"
	AccessRuleStatusARCHIVED AccessRuleStatus = "ARCHIVED"
)

Defines values for AccessRuleStatus.

type AccessRuleTarget

type AccessRuleTarget struct {
	// Provider
	Provider Provider `json:"provider"`
}

A target for an access rule

type AccessRuleTargetDetail

type AccessRuleTargetDetail struct {
	// Provider
	Provider    Provider                    `json:"provider"`
	TargetGroup *string                     `json:"targetGroup,omitempty"`
	With        AccessRuleTargetDetail_With `json:"with"`
}

A detailed target for an access rule

type AccessRuleTargetDetailArguments

type AccessRuleTargetDetailArguments struct {
	FormElement AccessRuleTargetDetailArgumentsFormElement `json:"formElement"`
	Groupings   AccessRuleTargetDetailArguments_Groupings  `json:"groupings"`
	Values      []string                                   `json:"values"`
}

AccessRuleTargetDetailArguments defines model for AccessRuleTargetDetailArguments.

type AccessRuleTargetDetailArgumentsFormElement

type AccessRuleTargetDetailArgumentsFormElement string

AccessRuleTargetDetailArgumentsFormElement defines model for AccessRuleTargetDetailArguments.FormElement.

const (
	AccessRuleTargetDetailArgumentsFormElementINPUT       AccessRuleTargetDetailArgumentsFormElement = "INPUT"
	AccessRuleTargetDetailArgumentsFormElementMULTISELECT AccessRuleTargetDetailArgumentsFormElement = "MULTISELECT"
)

Defines values for AccessRuleTargetDetailArgumentsFormElement.

type AccessRuleTargetDetailArguments_Groupings

type AccessRuleTargetDetailArguments_Groupings struct {
	AdditionalProperties map[string][]string `json:"-"`
}

AccessRuleTargetDetailArguments_Groupings defines model for AccessRuleTargetDetailArguments.Groupings.

func (AccessRuleTargetDetailArguments_Groupings) Get

func (a AccessRuleTargetDetailArguments_Groupings) Get(fieldName string) (value []string, found bool)

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

func (AccessRuleTargetDetailArguments_Groupings) MarshalJSON

Override default JSON handling for AccessRuleTargetDetailArguments_Groupings to handle AdditionalProperties

func (*AccessRuleTargetDetailArguments_Groupings) Set

func (a *AccessRuleTargetDetailArguments_Groupings) Set(fieldName string, value []string)

Setter for additional properties for AccessRuleTargetDetailArguments_Groupings

func (*AccessRuleTargetDetailArguments_Groupings) UnmarshalJSON

Override default JSON handling for AccessRuleTargetDetailArguments_Groupings to handle AdditionalProperties

type AccessRuleTargetDetail_With

type AccessRuleTargetDetail_With struct {
	AdditionalProperties map[string]AccessRuleTargetDetailArguments `json:"-"`
}

AccessRuleTargetDetail_With defines model for AccessRuleTargetDetail.With.

func (AccessRuleTargetDetail_With) Get

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

func (AccessRuleTargetDetail_With) MarshalJSON

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

Override default JSON handling for AccessRuleTargetDetail_With to handle AdditionalProperties

func (*AccessRuleTargetDetail_With) Set

Setter for additional properties for AccessRuleTargetDetail_With

func (*AccessRuleTargetDetail_With) UnmarshalJSON

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

Override default JSON handling for AccessRuleTargetDetail_With to handle AdditionalProperties

type AccessTokenResponse

type AccessTokenResponse struct {
	HasToken bool    `json:"hasToken"`
	Token    *string `json:"token,omitempty"`
}

AccessTokenResponse defines model for AccessTokenResponse.

type AdminArchiveAccessRuleResponse added in v0.13.0

type AdminArchiveAccessRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccessRuleDetail
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminArchiveAccessRuleResponse added in v0.13.0

func ParseAdminArchiveAccessRuleResponse(rsp *http.Response) (*AdminArchiveAccessRuleResponse, error)

ParseAdminArchiveAccessRuleResponse parses an HTTP response from a AdminArchiveAccessRuleWithResponse call

func (AdminArchiveAccessRuleResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminArchiveAccessRuleResponse) StatusCode added in v0.13.0

func (r AdminArchiveAccessRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminCompleteProvidersetupResponse added in v0.13.0

type AdminCompleteProvidersetupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Whether a manual update is required to the Common Fate deployment configuration (`deployment.yml`) to activate the provider.
		DeploymentConfigUpdateRequired bool `json:"deploymentConfigUpdateRequired"`
	}
}

func ParseAdminCompleteProvidersetupResponse added in v0.13.0

func ParseAdminCompleteProvidersetupResponse(rsp *http.Response) (*AdminCompleteProvidersetupResponse, error)

ParseAdminCompleteProvidersetupResponse parses an HTTP response from a AdminCompleteProvidersetupWithResponse call

func (AdminCompleteProvidersetupResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminCompleteProvidersetupResponse) StatusCode added in v0.13.0

func (r AdminCompleteProvidersetupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminCreateAccessRuleJSONRequestBody

type AdminCreateAccessRuleJSONRequestBody CreateAccessRuleRequest

AdminCreateAccessRuleJSONRequestBody defines body for AdminCreateAccessRule for application/json ContentType.

type AdminCreateAccessRuleResponse added in v0.13.0

type AdminCreateAccessRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AccessRuleDetail
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminCreateAccessRuleResponse added in v0.13.0

func ParseAdminCreateAccessRuleResponse(rsp *http.Response) (*AdminCreateAccessRuleResponse, error)

ParseAdminCreateAccessRuleResponse parses an HTTP response from a AdminCreateAccessRuleWithResponse call

func (AdminCreateAccessRuleResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminCreateAccessRuleResponse) StatusCode added in v0.13.0

func (r AdminCreateAccessRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminCreateGroupJSONRequestBody added in v0.12.0

type AdminCreateGroupJSONRequestBody CreateGroupRequest

AdminCreateGroupJSONRequestBody defines body for AdminCreateGroup for application/json ContentType.

type AdminCreateGroupResponse added in v0.13.0

type AdminCreateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Group
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminCreateGroupResponse added in v0.13.0

func ParseAdminCreateGroupResponse(rsp *http.Response) (*AdminCreateGroupResponse, error)

ParseAdminCreateGroupResponse parses an HTTP response from a AdminCreateGroupWithResponse call

func (AdminCreateGroupResponse) Status added in v0.13.0

func (r AdminCreateGroupResponse) Status() string

Status returns HTTPResponse.Status

func (AdminCreateGroupResponse) StatusCode added in v0.13.0

func (r AdminCreateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminCreateProvidersetupJSONRequestBody added in v0.12.0

type AdminCreateProvidersetupJSONRequestBody CreateProviderSetupRequest

AdminCreateProvidersetupJSONRequestBody defines body for AdminCreateProvidersetup for application/json ContentType.

type AdminCreateProvidersetupResponse added in v0.13.0

type AdminCreateProvidersetupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ProviderSetup
	JSON400      *struct {
		Error string `json:"error"`
	}
}

func ParseAdminCreateProvidersetupResponse added in v0.13.0

func ParseAdminCreateProvidersetupResponse(rsp *http.Response) (*AdminCreateProvidersetupResponse, error)

ParseAdminCreateProvidersetupResponse parses an HTTP response from a AdminCreateProvidersetupWithResponse call

func (AdminCreateProvidersetupResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminCreateProvidersetupResponse) StatusCode added in v0.13.0

func (r AdminCreateProvidersetupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminCreateTargetGroupJSONRequestBody added in v0.15.0

type AdminCreateTargetGroupJSONRequestBody CreateTargetGroupRequest

AdminCreateTargetGroupJSONRequestBody defines body for AdminCreateTargetGroup for application/json ContentType.

type AdminCreateTargetGroupLinkJSONRequestBody added in v0.15.0

type AdminCreateTargetGroupLinkJSONRequestBody CreateTargetGroupLink

AdminCreateTargetGroupLinkJSONRequestBody defines body for AdminCreateTargetGroupLink for application/json ContentType.

type AdminCreateTargetGroupLinkResponse added in v0.15.0

type AdminCreateTargetGroupLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TargetRoute
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminCreateTargetGroupLinkResponse added in v0.15.0

func ParseAdminCreateTargetGroupLinkResponse(rsp *http.Response) (*AdminCreateTargetGroupLinkResponse, error)

ParseAdminCreateTargetGroupLinkResponse parses an HTTP response from a AdminCreateTargetGroupLinkWithResponse call

func (AdminCreateTargetGroupLinkResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminCreateTargetGroupLinkResponse) StatusCode added in v0.15.0

func (r AdminCreateTargetGroupLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminCreateTargetGroupResponse added in v0.15.0

type AdminCreateTargetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TargetGroup
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON409 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminCreateTargetGroupResponse added in v0.15.0

func ParseAdminCreateTargetGroupResponse(rsp *http.Response) (*AdminCreateTargetGroupResponse, error)

ParseAdminCreateTargetGroupResponse parses an HTTP response from a AdminCreateTargetGroupWithResponse call

func (AdminCreateTargetGroupResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminCreateTargetGroupResponse) StatusCode added in v0.15.0

func (r AdminCreateTargetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminCreateUserJSONRequestBody added in v0.12.0

type AdminCreateUserJSONRequestBody CreateUserRequest

AdminCreateUserJSONRequestBody defines body for AdminCreateUser for application/json ContentType.

type AdminCreateUserResponse added in v0.13.0

type AdminCreateUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *User
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminCreateUserResponse added in v0.13.0

func ParseAdminCreateUserResponse(rsp *http.Response) (*AdminCreateUserResponse, error)

ParseAdminCreateUserResponse parses an HTTP response from a AdminCreateUserWithResponse call

func (AdminCreateUserResponse) Status added in v0.13.0

func (r AdminCreateUserResponse) Status() string

Status returns HTTPResponse.Status

func (AdminCreateUserResponse) StatusCode added in v0.13.0

func (r AdminCreateUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminDeleteGroupResponse added in v0.13.0

type AdminDeleteGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON404      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminDeleteGroupResponse added in v0.13.0

func ParseAdminDeleteGroupResponse(rsp *http.Response) (*AdminDeleteGroupResponse, error)

ParseAdminDeleteGroupResponse parses an HTTP response from a AdminDeleteGroupWithResponse call

func (AdminDeleteGroupResponse) Status added in v0.13.0

func (r AdminDeleteGroupResponse) Status() string

Status returns HTTPResponse.Status

func (AdminDeleteGroupResponse) StatusCode added in v0.13.0

func (r AdminDeleteGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminDeleteHandlerResponse added in v0.15.0

type AdminDeleteHandlerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON204      *map[string]interface{}
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminDeleteHandlerResponse added in v0.15.0

func ParseAdminDeleteHandlerResponse(rsp *http.Response) (*AdminDeleteHandlerResponse, error)

ParseAdminDeleteHandlerResponse parses an HTTP response from a AdminDeleteHandlerWithResponse call

func (AdminDeleteHandlerResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminDeleteHandlerResponse) StatusCode added in v0.15.0

func (r AdminDeleteHandlerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminDeleteProvidersetupResponse added in v0.13.0

type AdminDeleteProvidersetupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProviderSetup
}

func ParseAdminDeleteProvidersetupResponse added in v0.13.0

func ParseAdminDeleteProvidersetupResponse(rsp *http.Response) (*AdminDeleteProvidersetupResponse, error)

ParseAdminDeleteProvidersetupResponse parses an HTTP response from a AdminDeleteProvidersetupWithResponse call

func (AdminDeleteProvidersetupResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminDeleteProvidersetupResponse) StatusCode added in v0.13.0

func (r AdminDeleteProvidersetupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminDeleteTargetGroupResponse added in v0.15.0

type AdminDeleteTargetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminDeleteTargetGroupResponse added in v0.15.0

func ParseAdminDeleteTargetGroupResponse(rsp *http.Response) (*AdminDeleteTargetGroupResponse, error)

ParseAdminDeleteTargetGroupResponse parses an HTTP response from a AdminDeleteTargetGroupWithResponse call

func (AdminDeleteTargetGroupResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminDeleteTargetGroupResponse) StatusCode added in v0.15.0

func (r AdminDeleteTargetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetAccessRuleResponse added in v0.13.0

type AdminGetAccessRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccessRuleDetail
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminGetAccessRuleResponse added in v0.13.0

func ParseAdminGetAccessRuleResponse(rsp *http.Response) (*AdminGetAccessRuleResponse, error)

ParseAdminGetAccessRuleResponse parses an HTTP response from a AdminGetAccessRuleWithResponse call

func (AdminGetAccessRuleResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminGetAccessRuleResponse) StatusCode added in v0.13.0

func (r AdminGetAccessRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetAccessRuleVersionResponse added in v0.13.0

type AdminGetAccessRuleVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccessRuleDetail
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminGetAccessRuleVersionResponse added in v0.13.0

func ParseAdminGetAccessRuleVersionResponse(rsp *http.Response) (*AdminGetAccessRuleVersionResponse, error)

ParseAdminGetAccessRuleVersionResponse parses an HTTP response from a AdminGetAccessRuleVersionWithResponse call

func (AdminGetAccessRuleVersionResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminGetAccessRuleVersionResponse) StatusCode added in v0.13.0

func (r AdminGetAccessRuleVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetAccessRuleVersionsResponse added in v0.13.0

type AdminGetAccessRuleVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AccessRules []AccessRuleDetail `json:"accessRules"`
		Next        *string            `json:"next"`
	}
}

func ParseAdminGetAccessRuleVersionsResponse added in v0.13.0

func ParseAdminGetAccessRuleVersionsResponse(rsp *http.Response) (*AdminGetAccessRuleVersionsResponse, error)

ParseAdminGetAccessRuleVersionsResponse parses an HTTP response from a AdminGetAccessRuleVersionsWithResponse call

func (AdminGetAccessRuleVersionsResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminGetAccessRuleVersionsResponse) StatusCode added in v0.13.0

func (r AdminGetAccessRuleVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetDeploymentVersionResponse added in v0.13.0

type AdminGetDeploymentVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// The deployment version. Will be a semver, such as "v0.9.0" for official releases, or "dev+GIT_HASH" for pre-release builds.
		Version string `json:"version"`
	}
}

func ParseAdminGetDeploymentVersionResponse added in v0.13.0

func ParseAdminGetDeploymentVersionResponse(rsp *http.Response) (*AdminGetDeploymentVersionResponse, error)

ParseAdminGetDeploymentVersionResponse parses an HTTP response from a AdminGetDeploymentVersionWithResponse call

func (AdminGetDeploymentVersionResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminGetDeploymentVersionResponse) StatusCode added in v0.13.0

func (r AdminGetDeploymentVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetGroupResponse added in v0.13.0

type AdminGetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Group
}

func ParseAdminGetGroupResponse added in v0.13.0

func ParseAdminGetGroupResponse(rsp *http.Response) (*AdminGetGroupResponse, error)

ParseAdminGetGroupResponse parses an HTTP response from a AdminGetGroupWithResponse call

func (AdminGetGroupResponse) Status added in v0.13.0

func (r AdminGetGroupResponse) Status() string

Status returns HTTPResponse.Status

func (AdminGetGroupResponse) StatusCode added in v0.13.0

func (r AdminGetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetHandlerResponse added in v0.15.0

type AdminGetHandlerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TGHandler
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminGetHandlerResponse added in v0.15.0

func ParseAdminGetHandlerResponse(rsp *http.Response) (*AdminGetHandlerResponse, error)

ParseAdminGetHandlerResponse parses an HTTP response from a AdminGetHandlerWithResponse call

func (AdminGetHandlerResponse) Status added in v0.15.0

func (r AdminGetHandlerResponse) Status() string

Status returns HTTPResponse.Status

func (AdminGetHandlerResponse) StatusCode added in v0.15.0

func (r AdminGetHandlerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetIdentityConfigurationResponse added in v0.13.0

type AdminGetIdentityConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AdministratorGroupId string `json:"administratorGroupId"`
		IdentityProvider     string `json:"identityProvider"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminGetIdentityConfigurationResponse added in v0.13.0

func ParseAdminGetIdentityConfigurationResponse(rsp *http.Response) (*AdminGetIdentityConfigurationResponse, error)

ParseAdminGetIdentityConfigurationResponse parses an HTTP response from a AdminGetIdentityConfigurationWithResponse call

func (AdminGetIdentityConfigurationResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminGetIdentityConfigurationResponse) StatusCode added in v0.13.0

StatusCode returns HTTPResponse.StatusCode

type AdminGetProviderArgsResponse added in v0.13.0

type AdminGetProviderArgsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *externalRef0.ArgSchema
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminGetProviderArgsResponse added in v0.13.0

func ParseAdminGetProviderArgsResponse(rsp *http.Response) (*AdminGetProviderArgsResponse, error)

ParseAdminGetProviderArgsResponse parses an HTTP response from a AdminGetProviderArgsWithResponse call

func (AdminGetProviderArgsResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminGetProviderArgsResponse) StatusCode added in v0.13.0

func (r AdminGetProviderArgsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetProviderResponse added in v0.13.0

type AdminGetProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Provider
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminGetProviderResponse added in v0.13.0

func ParseAdminGetProviderResponse(rsp *http.Response) (*AdminGetProviderResponse, error)

ParseAdminGetProviderResponse parses an HTTP response from a AdminGetProviderWithResponse call

func (AdminGetProviderResponse) Status added in v0.13.0

func (r AdminGetProviderResponse) Status() string

Status returns HTTPResponse.Status

func (AdminGetProviderResponse) StatusCode added in v0.13.0

func (r AdminGetProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetProvidersetupInstructionsResponse added in v0.13.0

type AdminGetProvidersetupInstructionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProviderSetupInstructions
}

func ParseAdminGetProvidersetupInstructionsResponse added in v0.13.0

func ParseAdminGetProvidersetupInstructionsResponse(rsp *http.Response) (*AdminGetProvidersetupInstructionsResponse, error)

ParseAdminGetProvidersetupInstructionsResponse parses an HTTP response from a AdminGetProvidersetupInstructionsWithResponse call

func (AdminGetProvidersetupInstructionsResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminGetProvidersetupInstructionsResponse) StatusCode added in v0.13.0

StatusCode returns HTTPResponse.StatusCode

type AdminGetProvidersetupResponse added in v0.13.0

type AdminGetProvidersetupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProviderSetup
}

func ParseAdminGetProvidersetupResponse added in v0.13.0

func ParseAdminGetProvidersetupResponse(rsp *http.Response) (*AdminGetProvidersetupResponse, error)

ParseAdminGetProvidersetupResponse parses an HTTP response from a AdminGetProvidersetupWithResponse call

func (AdminGetProvidersetupResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminGetProvidersetupResponse) StatusCode added in v0.13.0

func (r AdminGetProvidersetupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetRequestResponse added in v0.13.0

type AdminGetRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RequestDetail
	JSON404      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminGetRequestResponse added in v0.13.0

func ParseAdminGetRequestResponse(rsp *http.Response) (*AdminGetRequestResponse, error)

ParseAdminGetRequestResponse parses an HTTP response from a AdminGetRequestWithResponse call

func (AdminGetRequestResponse) Status added in v0.13.0

func (r AdminGetRequestResponse) Status() string

Status returns HTTPResponse.Status

func (AdminGetRequestResponse) StatusCode added in v0.13.0

func (r AdminGetRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminGetTargetGroupResponse added in v0.15.0

type AdminGetTargetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TargetGroup
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminGetTargetGroupResponse added in v0.15.0

func ParseAdminGetTargetGroupResponse(rsp *http.Response) (*AdminGetTargetGroupResponse, error)

ParseAdminGetTargetGroupResponse parses an HTTP response from a AdminGetTargetGroupWithResponse call

func (AdminGetTargetGroupResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminGetTargetGroupResponse) StatusCode added in v0.15.0

func (r AdminGetTargetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminHealthcheckHandlersResponse added in v0.15.0

type AdminHealthcheckHandlersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminHealthcheckHandlersResponse added in v0.15.0

func ParseAdminHealthcheckHandlersResponse(rsp *http.Response) (*AdminHealthcheckHandlersResponse, error)

ParseAdminHealthcheckHandlersResponse parses an HTTP response from a AdminHealthcheckHandlersWithResponse call

func (AdminHealthcheckHandlersResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminHealthcheckHandlersResponse) StatusCode added in v0.15.0

func (r AdminHealthcheckHandlersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListAccessRulesParams

type AdminListAccessRulesParams struct {
	// Filter Access Rules by a particular status.
	Status *AdminListAccessRulesParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// encrypted token containing pagination info
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}

AdminListAccessRulesParams defines parameters for AdminListAccessRules.

type AdminListAccessRulesParamsStatus

type AdminListAccessRulesParamsStatus string

AdminListAccessRulesParamsStatus defines parameters for AdminListAccessRules.

type AdminListAccessRulesResponse added in v0.13.0

type AdminListAccessRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AccessRules []AccessRuleDetail `json:"accessRules"`
		Next        *string            `json:"next"`
	}
}

func ParseAdminListAccessRulesResponse added in v0.13.0

func ParseAdminListAccessRulesResponse(rsp *http.Response) (*AdminListAccessRulesResponse, error)

ParseAdminListAccessRulesResponse parses an HTTP response from a AdminListAccessRulesWithResponse call

func (AdminListAccessRulesResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminListAccessRulesResponse) StatusCode added in v0.13.0

func (r AdminListAccessRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListGroupsParams added in v0.12.0

type AdminListGroupsParams struct {
	// encrypted token containing pagination info
	NextToken *string                      `form:"nextToken,omitempty" json:"nextToken,omitempty"`
	Source    *AdminListGroupsParamsSource `form:"source,omitempty" json:"source,omitempty"`
}

AdminListGroupsParams defines parameters for AdminListGroups.

type AdminListGroupsParamsSource added in v0.12.0

type AdminListGroupsParamsSource string

AdminListGroupsParamsSource defines parameters for AdminListGroups.

type AdminListGroupsResponse added in v0.13.0

type AdminListGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Groups []Group `json:"groups"`
		Next   *string `json:"next"`
	}
}

func ParseAdminListGroupsResponse added in v0.13.0

func ParseAdminListGroupsResponse(rsp *http.Response) (*AdminListGroupsResponse, error)

ParseAdminListGroupsResponse parses an HTTP response from a AdminListGroupsWithResponse call

func (AdminListGroupsResponse) Status added in v0.13.0

func (r AdminListGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (AdminListGroupsResponse) StatusCode added in v0.13.0

func (r AdminListGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListHandlersResponse added in v0.15.0

type AdminListHandlersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next string      `json:"next"`
		Res  []TGHandler `json:"res"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminListHandlersResponse added in v0.15.0

func ParseAdminListHandlersResponse(rsp *http.Response) (*AdminListHandlersResponse, error)

ParseAdminListHandlersResponse parses an HTTP response from a AdminListHandlersWithResponse call

func (AdminListHandlersResponse) Status added in v0.15.0

func (r AdminListHandlersResponse) Status() string

Status returns HTTPResponse.Status

func (AdminListHandlersResponse) StatusCode added in v0.15.0

func (r AdminListHandlersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListProviderArgOptionsParams added in v0.12.0

type AdminListProviderArgOptionsParams struct {
	// invalidate the cache and refresh the provider's options.
	Refresh *bool `form:"refresh,omitempty" json:"refresh,omitempty"`
}

AdminListProviderArgOptionsParams defines parameters for AdminListProviderArgOptions.

type AdminListProviderArgOptionsResponse added in v0.13.0

type AdminListProviderArgOptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *externalRef0.ArgOptions
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminListProviderArgOptionsResponse added in v0.13.0

func ParseAdminListProviderArgOptionsResponse(rsp *http.Response) (*AdminListProviderArgOptionsResponse, error)

ParseAdminListProviderArgOptionsResponse parses an HTTP response from a AdminListProviderArgOptionsWithResponse call

func (AdminListProviderArgOptionsResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminListProviderArgOptionsResponse) StatusCode added in v0.13.0

StatusCode returns HTTPResponse.StatusCode

type AdminListProvidersResponse added in v0.13.0

type AdminListProvidersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Provider
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminListProvidersResponse added in v0.13.0

func ParseAdminListProvidersResponse(rsp *http.Response) (*AdminListProvidersResponse, error)

ParseAdminListProvidersResponse parses an HTTP response from a AdminListProvidersWithResponse call

func (AdminListProvidersResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminListProvidersResponse) StatusCode added in v0.13.0

func (r AdminListProvidersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListProvidersetupsResponse added in v0.13.0

type AdminListProvidersetupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ProviderSetups []ProviderSetup `json:"providerSetups"`
	}
}

func ParseAdminListProvidersetupsResponse added in v0.13.0

func ParseAdminListProvidersetupsResponse(rsp *http.Response) (*AdminListProvidersetupsResponse, error)

ParseAdminListProvidersetupsResponse parses an HTTP response from a AdminListProvidersetupsWithResponse call

func (AdminListProvidersetupsResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminListProvidersetupsResponse) StatusCode added in v0.13.0

func (r AdminListProvidersetupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListRequestsParams

type AdminListRequestsParams struct {
	// omit this param to view all results
	Status *AdminListRequestsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// encrypted token containing pagination info
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}

AdminListRequestsParams defines parameters for AdminListRequests.

type AdminListRequestsParamsStatus

type AdminListRequestsParamsStatus string

AdminListRequestsParamsStatus defines parameters for AdminListRequests.

type AdminListRequestsResponse added in v0.13.0

type AdminListRequestsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next     *string   `json:"next"`
		Requests []Request `json:"requests"`
	}
}

func ParseAdminListRequestsResponse added in v0.13.0

func ParseAdminListRequestsResponse(rsp *http.Response) (*AdminListRequestsResponse, error)

ParseAdminListRequestsResponse parses an HTTP response from a AdminListRequestsWithResponse call

func (AdminListRequestsResponse) Status added in v0.13.0

func (r AdminListRequestsResponse) Status() string

Status returns HTTPResponse.Status

func (AdminListRequestsResponse) StatusCode added in v0.13.0

func (r AdminListRequestsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListTargetGroupsResponse added in v0.15.0

type AdminListTargetGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next         *string       `json:"next,omitempty"`
		TargetGroups []TargetGroup `json:"targetGroups"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminListTargetGroupsResponse added in v0.15.0

func ParseAdminListTargetGroupsResponse(rsp *http.Response) (*AdminListTargetGroupsResponse, error)

ParseAdminListTargetGroupsResponse parses an HTTP response from a AdminListTargetGroupsWithResponse call

func (AdminListTargetGroupsResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminListTargetGroupsResponse) StatusCode added in v0.15.0

func (r AdminListTargetGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListTargetRoutesResponse added in v0.15.0

type AdminListTargetRoutesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next   *string       `json:"next,omitempty"`
		Routes []TargetRoute `json:"routes"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminListTargetRoutesResponse added in v0.15.0

func ParseAdminListTargetRoutesResponse(rsp *http.Response) (*AdminListTargetRoutesResponse, error)

ParseAdminListTargetRoutesResponse parses an HTTP response from a AdminListTargetRoutesWithResponse call

func (AdminListTargetRoutesResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminListTargetRoutesResponse) StatusCode added in v0.15.0

func (r AdminListTargetRoutesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListUsersParams added in v0.12.0

type AdminListUsersParams struct {
	// encrypted token containing pagination info
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}

AdminListUsersParams defines parameters for AdminListUsers.

type AdminListUsersResponse added in v0.13.0

type AdminListUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next  *string `json:"next"`
		Users []User  `json:"users"`
	}
}

func ParseAdminListUsersResponse added in v0.13.0

func ParseAdminListUsersResponse(rsp *http.Response) (*AdminListUsersResponse, error)

ParseAdminListUsersResponse parses an HTTP response from a AdminListUsersWithResponse call

func (AdminListUsersResponse) Status added in v0.13.0

func (r AdminListUsersResponse) Status() string

Status returns HTTPResponse.Status

func (AdminListUsersResponse) StatusCode added in v0.13.0

func (r AdminListUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminRegisterHandlerJSONRequestBody added in v0.15.0

type AdminRegisterHandlerJSONRequestBody RegisterHandlerRequest

AdminRegisterHandlerJSONRequestBody defines body for AdminRegisterHandler for application/json ContentType.

type AdminRegisterHandlerResponse added in v0.15.0

type AdminRegisterHandlerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TGHandler
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminRegisterHandlerResponse added in v0.15.0

func ParseAdminRegisterHandlerResponse(rsp *http.Response) (*AdminRegisterHandlerResponse, error)

ParseAdminRegisterHandlerResponse parses an HTTP response from a AdminRegisterHandlerWithResponse call

func (AdminRegisterHandlerResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminRegisterHandlerResponse) StatusCode added in v0.15.0

func (r AdminRegisterHandlerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminRemoveTargetGroupLinkParams added in v0.15.0

type AdminRemoveTargetGroupLinkParams struct {
	DeploymentId string `form:"deploymentId" json:"deploymentId"`
	Kind         string `form:"kind" json:"kind"`
}

AdminRemoveTargetGroupLinkParams defines parameters for AdminRemoveTargetGroupLink.

type AdminRemoveTargetGroupLinkResponse added in v0.15.0

type AdminRemoveTargetGroupLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminRemoveTargetGroupLinkResponse added in v0.15.0

func ParseAdminRemoveTargetGroupLinkResponse(rsp *http.Response) (*AdminRemoveTargetGroupLinkResponse, error)

ParseAdminRemoveTargetGroupLinkResponse parses an HTTP response from a AdminRemoveTargetGroupLinkWithResponse call

func (AdminRemoveTargetGroupLinkResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (AdminRemoveTargetGroupLinkResponse) StatusCode added in v0.15.0

func (r AdminRemoveTargetGroupLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminSubmitProvidersetupStepJSONRequestBody added in v0.12.0

type AdminSubmitProvidersetupStepJSONRequestBody ProviderSetupStepCompleteRequest

AdminSubmitProvidersetupStepJSONRequestBody defines body for AdminSubmitProvidersetupStep for application/json ContentType.

type AdminSubmitProvidersetupStepResponse added in v0.13.0

type AdminSubmitProvidersetupStepResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProviderSetup
}

func ParseAdminSubmitProvidersetupStepResponse added in v0.13.0

func ParseAdminSubmitProvidersetupStepResponse(rsp *http.Response) (*AdminSubmitProvidersetupStepResponse, error)

ParseAdminSubmitProvidersetupStepResponse parses an HTTP response from a AdminSubmitProvidersetupStepWithResponse call

func (AdminSubmitProvidersetupStepResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminSubmitProvidersetupStepResponse) StatusCode added in v0.13.0

StatusCode returns HTTPResponse.StatusCode

type AdminSyncIdentityResponse added in v0.13.0

type AdminSyncIdentityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminSyncIdentityResponse added in v0.13.0

func ParseAdminSyncIdentityResponse(rsp *http.Response) (*AdminSyncIdentityResponse, error)

ParseAdminSyncIdentityResponse parses an HTTP response from a AdminSyncIdentityWithResponse call

func (AdminSyncIdentityResponse) Status added in v0.13.0

func (r AdminSyncIdentityResponse) Status() string

Status returns HTTPResponse.Status

func (AdminSyncIdentityResponse) StatusCode added in v0.13.0

func (r AdminSyncIdentityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminUpdateAccessRuleJSONRequestBody

type AdminUpdateAccessRuleJSONRequestBody CreateAccessRuleRequest

AdminUpdateAccessRuleJSONRequestBody defines body for AdminUpdateAccessRule for application/json ContentType.

type AdminUpdateAccessRuleResponse added in v0.13.0

type AdminUpdateAccessRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccessRuleDetail
}

func ParseAdminUpdateAccessRuleResponse added in v0.13.0

func ParseAdminUpdateAccessRuleResponse(rsp *http.Response) (*AdminUpdateAccessRuleResponse, error)

ParseAdminUpdateAccessRuleResponse parses an HTTP response from a AdminUpdateAccessRuleWithResponse call

func (AdminUpdateAccessRuleResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminUpdateAccessRuleResponse) StatusCode added in v0.13.0

func (r AdminUpdateAccessRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminUpdateGroupJSONRequestBody

type AdminUpdateGroupJSONRequestBody CreateGroupRequest

AdminUpdateGroupJSONRequestBody defines body for AdminUpdateGroup for application/json ContentType.

type AdminUpdateGroupResponse added in v0.13.0

type AdminUpdateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Group
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminUpdateGroupResponse added in v0.13.0

func ParseAdminUpdateGroupResponse(rsp *http.Response) (*AdminUpdateGroupResponse, error)

ParseAdminUpdateGroupResponse parses an HTTP response from a AdminUpdateGroupWithResponse call

func (AdminUpdateGroupResponse) Status added in v0.13.0

func (r AdminUpdateGroupResponse) Status() string

Status returns HTTPResponse.Status

func (AdminUpdateGroupResponse) StatusCode added in v0.13.0

func (r AdminUpdateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminUpdateUserJSONBody added in v0.12.0

type AdminUpdateUserJSONBody struct {
	Groups []string `json:"groups"`
}

AdminUpdateUserJSONBody defines parameters for AdminUpdateUser.

type AdminUpdateUserJSONRequestBody added in v0.12.0

type AdminUpdateUserJSONRequestBody AdminUpdateUserJSONBody

AdminUpdateUserJSONRequestBody defines body for AdminUpdateUser for application/json ContentType.

type AdminUpdateUserResponse added in v0.13.0

type AdminUpdateUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseAdminUpdateUserResponse added in v0.13.0

func ParseAdminUpdateUserResponse(rsp *http.Response) (*AdminUpdateUserResponse, error)

ParseAdminUpdateUserResponse parses an HTTP response from a AdminUpdateUserWithResponse call

func (AdminUpdateUserResponse) Status added in v0.13.0

func (r AdminUpdateUserResponse) Status() string

Status returns HTTPResponse.Status

func (AdminUpdateUserResponse) StatusCode added in v0.13.0

func (r AdminUpdateUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminValidateProvidersetupResponse added in v0.13.0

type AdminValidateProvidersetupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProviderSetup
}

func ParseAdminValidateProvidersetupResponse added in v0.13.0

func ParseAdminValidateProvidersetupResponse(rsp *http.Response) (*AdminValidateProvidersetupResponse, error)

ParseAdminValidateProvidersetupResponse parses an HTTP response from a AdminValidateProvidersetupWithResponse call

func (AdminValidateProvidersetupResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (AdminValidateProvidersetupResponse) StatusCode added in v0.13.0

func (r AdminValidateProvidersetupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApprovalMethod

type ApprovalMethod string

Describes whether a request has been approved automatically or from a review

const (
	AUTOMATIC ApprovalMethod = "AUTOMATIC"
	REVIEWED  ApprovalMethod = "REVIEWED"
)

Defines values for ApprovalMethod.

type ApproverConfig

type ApproverConfig struct {
	Groups *[]string `json:"groups,omitempty"`

	// The user IDs of the approvers for the request.
	Users *[]string `json:"users,omitempty"`
}

Approver config for access rules

type ArgumentHasNoValuesError

type ArgumentHasNoValuesError struct {
	Argument string
}

ArgumentHasNoValuesError is returned if any of the arguments in the createRequestWith have no values

func (ArgumentHasNoValuesError) Error

func (e ArgumentHasNoValuesError) Error() string

type AuthUserResponse

type AuthUserResponse struct {
	// Whether the user is an administrator of Common Fate.
	IsAdmin bool `json:"isAdmin"`
	User    User `json:"user"`
}

AuthUserResponse defines model for AuthUserResponse.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Client added in v0.13.0

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 added in v0.13.0

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

Creates a new Client, with reasonable defaults

func (*Client) AdminArchiveAccessRule added in v0.13.0

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

func (*Client) AdminCompleteProvidersetup added in v0.13.0

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

func (*Client) AdminCreateAccessRule added in v0.13.0

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

func (*Client) AdminCreateAccessRuleWithBody added in v0.13.0

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

func (*Client) AdminCreateGroup added in v0.13.0

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

func (*Client) AdminCreateGroupWithBody added in v0.13.0

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

func (*Client) AdminCreateProvidersetup added in v0.13.0

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

func (*Client) AdminCreateProvidersetupWithBody added in v0.13.0

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

func (*Client) AdminCreateTargetGroup added in v0.15.0

func (c *Client) AdminCreateTargetGroup(ctx context.Context, body AdminCreateTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) AdminCreateTargetGroupLink(ctx context.Context, id string, body AdminCreateTargetGroupLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminCreateTargetGroupLinkWithBody added in v0.15.0

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

func (*Client) AdminCreateTargetGroupWithBody added in v0.15.0

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

func (*Client) AdminCreateUser added in v0.13.0

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

func (*Client) AdminCreateUserWithBody added in v0.13.0

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

func (*Client) AdminDeleteGroup added in v0.13.0

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

func (*Client) AdminDeleteHandler added in v0.15.0

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

func (*Client) AdminDeleteProvidersetup added in v0.13.0

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

func (*Client) AdminDeleteTargetGroup added in v0.15.0

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

func (*Client) AdminGetAccessRule added in v0.13.0

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

func (*Client) AdminGetAccessRuleVersion added in v0.13.0

func (c *Client) AdminGetAccessRuleVersion(ctx context.Context, ruleId string, version string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminGetAccessRuleVersions added in v0.13.0

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

func (*Client) AdminGetDeploymentVersion added in v0.13.0

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

func (*Client) AdminGetGroup added in v0.13.0

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

func (*Client) AdminGetHandler added in v0.15.0

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

func (*Client) AdminGetIdentityConfiguration added in v0.13.0

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

func (*Client) AdminGetProvider added in v0.13.0

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

func (*Client) AdminGetProviderArgs added in v0.13.0

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

func (*Client) AdminGetProvidersetup added in v0.13.0

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

func (*Client) AdminGetProvidersetupInstructions added in v0.13.0

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

func (*Client) AdminGetRequest added in v0.13.0

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

func (*Client) AdminGetTargetGroup added in v0.15.0

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

func (*Client) AdminHealthcheckHandlers added in v0.15.0

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

func (*Client) AdminListAccessRules added in v0.13.0

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

func (*Client) AdminListGroups added in v0.13.0

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

func (*Client) AdminListHandlers added in v0.15.0

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

func (*Client) AdminListProviderArgOptions added in v0.13.0

func (c *Client) AdminListProviderArgOptions(ctx context.Context, providerId string, argId string, params *AdminListProviderArgOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminListProviders added in v0.13.0

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

func (*Client) AdminListProvidersetups added in v0.13.0

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

func (*Client) AdminListRequests added in v0.13.0

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

func (*Client) AdminListTargetGroups added in v0.15.0

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

func (*Client) AdminListTargetRoutes added in v0.15.0

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

func (*Client) AdminListUsers added in v0.13.0

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

func (*Client) AdminRegisterHandler added in v0.15.0

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

func (*Client) AdminRegisterHandlerWithBody added in v0.15.0

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

func (*Client) AdminSubmitProvidersetupStep added in v0.13.0

func (c *Client) AdminSubmitProvidersetupStep(ctx context.Context, providersetupId string, stepIndex int, body AdminSubmitProvidersetupStepJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminSubmitProvidersetupStepWithBody added in v0.13.0

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

func (*Client) AdminSyncIdentity added in v0.13.0

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

func (*Client) AdminUpdateAccessRule added in v0.13.0

func (c *Client) AdminUpdateAccessRule(ctx context.Context, ruleId string, body AdminUpdateAccessRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminUpdateAccessRuleWithBody added in v0.13.0

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

func (*Client) AdminUpdateGroup added in v0.13.0

func (c *Client) AdminUpdateGroup(ctx context.Context, groupId string, body AdminUpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminUpdateGroupWithBody added in v0.13.0

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

func (*Client) AdminUpdateUser added in v0.13.0

func (c *Client) AdminUpdateUser(ctx context.Context, userId string, body AdminUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminUpdateUserWithBody added in v0.13.0

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

func (*Client) AdminValidateProvidersetup added in v0.13.0

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

func (*Client) UserCancelRequest added in v0.13.0

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

func (*Client) UserCreateFavorite added in v0.13.0

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

func (*Client) UserCreateFavoriteWithBody added in v0.13.0

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

func (*Client) UserCreateRequest added in v0.13.0

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

func (*Client) UserCreateRequestWithBody added in v0.13.0

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

func (*Client) UserDeleteFavorite added in v0.13.0

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

func (*Client) UserGetAccessInstructions added in v0.13.0

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

func (*Client) UserGetAccessRule added in v0.13.0

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

func (*Client) UserGetAccessRuleApprovers added in v0.13.0

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

func (*Client) UserGetAccessToken added in v0.13.0

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

func (*Client) UserGetFavorite added in v0.13.0

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

func (*Client) UserGetMe added in v0.13.0

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

func (*Client) UserGetRequest added in v0.13.0

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

func (*Client) UserGetUser added in v0.13.0

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

func (*Client) UserListAccessRules added in v0.13.0

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

func (*Client) UserListFavorites added in v0.13.0

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

func (*Client) UserListRequestEvents added in v0.13.0

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

func (*Client) UserListRequests added in v0.13.0

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

func (*Client) UserListRequestsPast added in v0.13.0

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

func (*Client) UserListRequestsUpcoming added in v0.13.0

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

func (*Client) UserLookupAccessRule added in v0.13.0

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

func (*Client) UserReviewRequest added in v0.13.0

func (c *Client) UserReviewRequest(ctx context.Context, requestId string, body UserReviewRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserReviewRequestWithBody added in v0.13.0

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

func (*Client) UserRevokeRequest added in v0.13.0

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

func (*Client) UserUpdateFavorite added in v0.13.0

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

func (*Client) UserUpdateFavoriteWithBody added in v0.13.0

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

type ClientInterface added in v0.13.0

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

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

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

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

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

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

	AdminCreateAccessRule(ctx context.Context, body AdminCreateAccessRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	AdminUpdateAccessRule(ctx context.Context, ruleId string, body AdminUpdateAccessRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// AdminGetAccessRuleVersion request
	AdminGetAccessRuleVersion(ctx context.Context, ruleId string, version string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	AdminCreateGroup(ctx context.Context, body AdminCreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	AdminUpdateGroup(ctx context.Context, groupId string, body AdminUpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	AdminRegisterHandler(ctx context.Context, body AdminRegisterHandlerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

	// AdminListProviderArgOptions request
	AdminListProviderArgOptions(ctx context.Context, providerId string, argId string, params *AdminListProviderArgOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	AdminCreateProvidersetup(ctx context.Context, body AdminCreateProvidersetupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	// AdminSubmitProvidersetupStep request with any body
	AdminSubmitProvidersetupStepWithBody(ctx context.Context, providersetupId string, stepIndex int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AdminSubmitProvidersetupStep(ctx context.Context, providersetupId string, stepIndex int, body AdminSubmitProvidersetupStepJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

	AdminCreateTargetGroup(ctx context.Context, body AdminCreateTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

	AdminCreateUser(ctx context.Context, body AdminCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AdminUpdateUser(ctx context.Context, userId string, body AdminUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	UserCreateFavorite(ctx context.Context, body UserCreateFavoriteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

	UserCreateRequest(ctx context.Context, body UserCreateRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

	UserReviewRequest(ctx context.Context, requestId string, body UserReviewRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

The interface specification for the client above.

type ClientOption added in v0.13.0

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL added in v0.13.0

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient added in v0.13.0

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 added in v0.13.0

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 added in v0.13.0

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses added in v0.13.0

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

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

func (*ClientWithResponses) AdminArchiveAccessRuleWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminArchiveAccessRuleWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*AdminArchiveAccessRuleResponse, error)

AdminArchiveAccessRuleWithResponse request returning *AdminArchiveAccessRuleResponse

func (*ClientWithResponses) AdminCompleteProvidersetupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminCompleteProvidersetupWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminCompleteProvidersetupResponse, error)

AdminCompleteProvidersetupWithResponse request returning *AdminCompleteProvidersetupResponse

func (*ClientWithResponses) AdminCreateAccessRuleWithBodyWithResponse added in v0.13.0

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

AdminCreateAccessRuleWithBodyWithResponse request with arbitrary body returning *AdminCreateAccessRuleResponse

func (*ClientWithResponses) AdminCreateAccessRuleWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminCreateAccessRuleWithResponse(ctx context.Context, body AdminCreateAccessRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateAccessRuleResponse, error)

func (*ClientWithResponses) AdminCreateGroupWithBodyWithResponse added in v0.13.0

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

AdminCreateGroupWithBodyWithResponse request with arbitrary body returning *AdminCreateGroupResponse

func (*ClientWithResponses) AdminCreateGroupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminCreateGroupWithResponse(ctx context.Context, body AdminCreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateGroupResponse, error)

func (*ClientWithResponses) AdminCreateProvidersetupWithBodyWithResponse added in v0.13.0

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

AdminCreateProvidersetupWithBodyWithResponse request with arbitrary body returning *AdminCreateProvidersetupResponse

func (*ClientWithResponses) AdminCreateProvidersetupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminCreateProvidersetupWithResponse(ctx context.Context, body AdminCreateProvidersetupJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateProvidersetupResponse, error)

func (*ClientWithResponses) AdminCreateTargetGroupLinkWithBodyWithResponse added in v0.15.0

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

AdminCreateTargetGroupLinkWithBodyWithResponse request with arbitrary body returning *AdminCreateTargetGroupLinkResponse

func (*ClientWithResponses) AdminCreateTargetGroupLinkWithResponse added in v0.15.0

func (c *ClientWithResponses) AdminCreateTargetGroupLinkWithResponse(ctx context.Context, id string, body AdminCreateTargetGroupLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateTargetGroupLinkResponse, error)

func (*ClientWithResponses) AdminCreateTargetGroupWithBodyWithResponse added in v0.15.0

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

AdminCreateTargetGroupWithBodyWithResponse request with arbitrary body returning *AdminCreateTargetGroupResponse

func (*ClientWithResponses) AdminCreateTargetGroupWithResponse added in v0.15.0

func (c *ClientWithResponses) AdminCreateTargetGroupWithResponse(ctx context.Context, body AdminCreateTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateTargetGroupResponse, error)

func (*ClientWithResponses) AdminCreateUserWithBodyWithResponse added in v0.13.0

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

AdminCreateUserWithBodyWithResponse request with arbitrary body returning *AdminCreateUserResponse

func (*ClientWithResponses) AdminCreateUserWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminCreateUserWithResponse(ctx context.Context, body AdminCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateUserResponse, error)

func (*ClientWithResponses) AdminDeleteGroupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminDeleteGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*AdminDeleteGroupResponse, error)

AdminDeleteGroupWithResponse request returning *AdminDeleteGroupResponse

func (*ClientWithResponses) AdminDeleteHandlerWithResponse added in v0.15.0

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

AdminDeleteHandlerWithResponse request returning *AdminDeleteHandlerResponse

func (*ClientWithResponses) AdminDeleteProvidersetupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminDeleteProvidersetupWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminDeleteProvidersetupResponse, error)

AdminDeleteProvidersetupWithResponse request returning *AdminDeleteProvidersetupResponse

func (*ClientWithResponses) AdminDeleteTargetGroupWithResponse added in v0.15.0

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

AdminDeleteTargetGroupWithResponse request returning *AdminDeleteTargetGroupResponse

func (*ClientWithResponses) AdminGetAccessRuleVersionWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetAccessRuleVersionWithResponse(ctx context.Context, ruleId string, version string, reqEditors ...RequestEditorFn) (*AdminGetAccessRuleVersionResponse, error)

AdminGetAccessRuleVersionWithResponse request returning *AdminGetAccessRuleVersionResponse

func (*ClientWithResponses) AdminGetAccessRuleVersionsWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetAccessRuleVersionsWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*AdminGetAccessRuleVersionsResponse, error)

AdminGetAccessRuleVersionsWithResponse request returning *AdminGetAccessRuleVersionsResponse

func (*ClientWithResponses) AdminGetAccessRuleWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetAccessRuleWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*AdminGetAccessRuleResponse, error)

AdminGetAccessRuleWithResponse request returning *AdminGetAccessRuleResponse

func (*ClientWithResponses) AdminGetDeploymentVersionWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetDeploymentVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetDeploymentVersionResponse, error)

AdminGetDeploymentVersionWithResponse request returning *AdminGetDeploymentVersionResponse

func (*ClientWithResponses) AdminGetGroupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*AdminGetGroupResponse, error)

AdminGetGroupWithResponse request returning *AdminGetGroupResponse

func (*ClientWithResponses) AdminGetHandlerWithResponse added in v0.15.0

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

AdminGetHandlerWithResponse request returning *AdminGetHandlerResponse

func (*ClientWithResponses) AdminGetIdentityConfigurationWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetIdentityConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetIdentityConfigurationResponse, error)

AdminGetIdentityConfigurationWithResponse request returning *AdminGetIdentityConfigurationResponse

func (*ClientWithResponses) AdminGetProviderArgsWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetProviderArgsWithResponse(ctx context.Context, providerId string, reqEditors ...RequestEditorFn) (*AdminGetProviderArgsResponse, error)

AdminGetProviderArgsWithResponse request returning *AdminGetProviderArgsResponse

func (*ClientWithResponses) AdminGetProviderWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetProviderWithResponse(ctx context.Context, providerId string, reqEditors ...RequestEditorFn) (*AdminGetProviderResponse, error)

AdminGetProviderWithResponse request returning *AdminGetProviderResponse

func (*ClientWithResponses) AdminGetProvidersetupInstructionsWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetProvidersetupInstructionsWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminGetProvidersetupInstructionsResponse, error)

AdminGetProvidersetupInstructionsWithResponse request returning *AdminGetProvidersetupInstructionsResponse

func (*ClientWithResponses) AdminGetProvidersetupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetProvidersetupWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminGetProvidersetupResponse, error)

AdminGetProvidersetupWithResponse request returning *AdminGetProvidersetupResponse

func (*ClientWithResponses) AdminGetRequestWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminGetRequestWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*AdminGetRequestResponse, error)

AdminGetRequestWithResponse request returning *AdminGetRequestResponse

func (*ClientWithResponses) AdminGetTargetGroupWithResponse added in v0.15.0

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

AdminGetTargetGroupWithResponse request returning *AdminGetTargetGroupResponse

func (*ClientWithResponses) AdminHealthcheckHandlersWithResponse added in v0.15.0

func (c *ClientWithResponses) AdminHealthcheckHandlersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminHealthcheckHandlersResponse, error)

AdminHealthcheckHandlersWithResponse request returning *AdminHealthcheckHandlersResponse

func (*ClientWithResponses) AdminListAccessRulesWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminListAccessRulesWithResponse(ctx context.Context, params *AdminListAccessRulesParams, reqEditors ...RequestEditorFn) (*AdminListAccessRulesResponse, error)

AdminListAccessRulesWithResponse request returning *AdminListAccessRulesResponse

func (*ClientWithResponses) AdminListGroupsWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminListGroupsWithResponse(ctx context.Context, params *AdminListGroupsParams, reqEditors ...RequestEditorFn) (*AdminListGroupsResponse, error)

AdminListGroupsWithResponse request returning *AdminListGroupsResponse

func (*ClientWithResponses) AdminListHandlersWithResponse added in v0.15.0

func (c *ClientWithResponses) AdminListHandlersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListHandlersResponse, error)

AdminListHandlersWithResponse request returning *AdminListHandlersResponse

func (*ClientWithResponses) AdminListProviderArgOptionsWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminListProviderArgOptionsWithResponse(ctx context.Context, providerId string, argId string, params *AdminListProviderArgOptionsParams, reqEditors ...RequestEditorFn) (*AdminListProviderArgOptionsResponse, error)

AdminListProviderArgOptionsWithResponse request returning *AdminListProviderArgOptionsResponse

func (*ClientWithResponses) AdminListProvidersWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminListProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListProvidersResponse, error)

AdminListProvidersWithResponse request returning *AdminListProvidersResponse

func (*ClientWithResponses) AdminListProvidersetupsWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminListProvidersetupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListProvidersetupsResponse, error)

AdminListProvidersetupsWithResponse request returning *AdminListProvidersetupsResponse

func (*ClientWithResponses) AdminListRequestsWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminListRequestsWithResponse(ctx context.Context, params *AdminListRequestsParams, reqEditors ...RequestEditorFn) (*AdminListRequestsResponse, error)

AdminListRequestsWithResponse request returning *AdminListRequestsResponse

func (*ClientWithResponses) AdminListTargetGroupsWithResponse added in v0.15.0

func (c *ClientWithResponses) AdminListTargetGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListTargetGroupsResponse, error)

AdminListTargetGroupsWithResponse request returning *AdminListTargetGroupsResponse

func (*ClientWithResponses) AdminListTargetRoutesWithResponse added in v0.15.0

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

AdminListTargetRoutesWithResponse request returning *AdminListTargetRoutesResponse

func (*ClientWithResponses) AdminListUsersWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminListUsersWithResponse(ctx context.Context, params *AdminListUsersParams, reqEditors ...RequestEditorFn) (*AdminListUsersResponse, error)

AdminListUsersWithResponse request returning *AdminListUsersResponse

func (*ClientWithResponses) AdminRegisterHandlerWithBodyWithResponse added in v0.15.0

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

AdminRegisterHandlerWithBodyWithResponse request with arbitrary body returning *AdminRegisterHandlerResponse

func (*ClientWithResponses) AdminRegisterHandlerWithResponse added in v0.15.0

func (c *ClientWithResponses) AdminRegisterHandlerWithResponse(ctx context.Context, body AdminRegisterHandlerJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminRegisterHandlerResponse, error)

func (*ClientWithResponses) AdminRemoveTargetGroupLinkWithResponse added in v0.15.0

func (c *ClientWithResponses) AdminRemoveTargetGroupLinkWithResponse(ctx context.Context, id string, params *AdminRemoveTargetGroupLinkParams, reqEditors ...RequestEditorFn) (*AdminRemoveTargetGroupLinkResponse, error)

AdminRemoveTargetGroupLinkWithResponse request returning *AdminRemoveTargetGroupLinkResponse

func (*ClientWithResponses) AdminSubmitProvidersetupStepWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminSubmitProvidersetupStepWithBodyWithResponse(ctx context.Context, providersetupId string, stepIndex int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminSubmitProvidersetupStepResponse, error)

AdminSubmitProvidersetupStepWithBodyWithResponse request with arbitrary body returning *AdminSubmitProvidersetupStepResponse

func (*ClientWithResponses) AdminSubmitProvidersetupStepWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminSubmitProvidersetupStepWithResponse(ctx context.Context, providersetupId string, stepIndex int, body AdminSubmitProvidersetupStepJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminSubmitProvidersetupStepResponse, error)

func (*ClientWithResponses) AdminSyncIdentityWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminSyncIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminSyncIdentityResponse, error)

AdminSyncIdentityWithResponse request returning *AdminSyncIdentityResponse

func (*ClientWithResponses) AdminUpdateAccessRuleWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminUpdateAccessRuleWithBodyWithResponse(ctx context.Context, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminUpdateAccessRuleResponse, error)

AdminUpdateAccessRuleWithBodyWithResponse request with arbitrary body returning *AdminUpdateAccessRuleResponse

func (*ClientWithResponses) AdminUpdateAccessRuleWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminUpdateAccessRuleWithResponse(ctx context.Context, ruleId string, body AdminUpdateAccessRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminUpdateAccessRuleResponse, error)

func (*ClientWithResponses) AdminUpdateGroupWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminUpdateGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminUpdateGroupResponse, error)

AdminUpdateGroupWithBodyWithResponse request with arbitrary body returning *AdminUpdateGroupResponse

func (*ClientWithResponses) AdminUpdateGroupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminUpdateGroupWithResponse(ctx context.Context, groupId string, body AdminUpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminUpdateGroupResponse, error)

func (*ClientWithResponses) AdminUpdateUserWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminUpdateUserWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminUpdateUserResponse, error)

AdminUpdateUserWithBodyWithResponse request with arbitrary body returning *AdminUpdateUserResponse

func (*ClientWithResponses) AdminUpdateUserWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminUpdateUserWithResponse(ctx context.Context, userId string, body AdminUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminUpdateUserResponse, error)

func (*ClientWithResponses) AdminValidateProvidersetupWithResponse added in v0.13.0

func (c *ClientWithResponses) AdminValidateProvidersetupWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminValidateProvidersetupResponse, error)

AdminValidateProvidersetupWithResponse request returning *AdminValidateProvidersetupResponse

func (*ClientWithResponses) UserCancelRequestWithResponse added in v0.13.0

func (c *ClientWithResponses) UserCancelRequestWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserCancelRequestResponse, error)

UserCancelRequestWithResponse request returning *UserCancelRequestResponse

func (*ClientWithResponses) UserCreateFavoriteWithBodyWithResponse added in v0.13.0

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

UserCreateFavoriteWithBodyWithResponse request with arbitrary body returning *UserCreateFavoriteResponse

func (*ClientWithResponses) UserCreateFavoriteWithResponse added in v0.13.0

func (c *ClientWithResponses) UserCreateFavoriteWithResponse(ctx context.Context, body UserCreateFavoriteJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateFavoriteResponse, error)

func (*ClientWithResponses) UserCreateRequestWithBodyWithResponse added in v0.13.0

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

UserCreateRequestWithBodyWithResponse request with arbitrary body returning *UserCreateRequestResponse

func (*ClientWithResponses) UserCreateRequestWithResponse added in v0.13.0

func (c *ClientWithResponses) UserCreateRequestWithResponse(ctx context.Context, body UserCreateRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateRequestResponse, error)

func (*ClientWithResponses) UserDeleteFavoriteWithResponse added in v0.13.0

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

UserDeleteFavoriteWithResponse request returning *UserDeleteFavoriteResponse

func (*ClientWithResponses) UserGetAccessInstructionsWithResponse added in v0.13.0

func (c *ClientWithResponses) UserGetAccessInstructionsWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserGetAccessInstructionsResponse, error)

UserGetAccessInstructionsWithResponse request returning *UserGetAccessInstructionsResponse

func (*ClientWithResponses) UserGetAccessRuleApproversWithResponse added in v0.13.0

func (c *ClientWithResponses) UserGetAccessRuleApproversWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*UserGetAccessRuleApproversResponse, error)

UserGetAccessRuleApproversWithResponse request returning *UserGetAccessRuleApproversResponse

func (*ClientWithResponses) UserGetAccessRuleWithResponse added in v0.13.0

func (c *ClientWithResponses) UserGetAccessRuleWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*UserGetAccessRuleResponse, error)

UserGetAccessRuleWithResponse request returning *UserGetAccessRuleResponse

func (*ClientWithResponses) UserGetAccessTokenWithResponse added in v0.13.0

func (c *ClientWithResponses) UserGetAccessTokenWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserGetAccessTokenResponse, error)

UserGetAccessTokenWithResponse request returning *UserGetAccessTokenResponse

func (*ClientWithResponses) UserGetFavoriteWithResponse added in v0.13.0

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

UserGetFavoriteWithResponse request returning *UserGetFavoriteResponse

func (*ClientWithResponses) UserGetMeWithResponse added in v0.13.0

func (c *ClientWithResponses) UserGetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserGetMeResponse, error)

UserGetMeWithResponse request returning *UserGetMeResponse

func (*ClientWithResponses) UserGetRequestWithResponse added in v0.13.0

func (c *ClientWithResponses) UserGetRequestWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserGetRequestResponse, error)

UserGetRequestWithResponse request returning *UserGetRequestResponse

func (*ClientWithResponses) UserGetUserWithResponse added in v0.13.0

func (c *ClientWithResponses) UserGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserGetUserResponse, error)

UserGetUserWithResponse request returning *UserGetUserResponse

func (*ClientWithResponses) UserListAccessRulesWithResponse added in v0.13.0

func (c *ClientWithResponses) UserListAccessRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserListAccessRulesResponse, error)

UserListAccessRulesWithResponse request returning *UserListAccessRulesResponse

func (*ClientWithResponses) UserListFavoritesWithResponse added in v0.13.0

func (c *ClientWithResponses) UserListFavoritesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserListFavoritesResponse, error)

UserListFavoritesWithResponse request returning *UserListFavoritesResponse

func (*ClientWithResponses) UserListRequestEventsWithResponse added in v0.13.0

func (c *ClientWithResponses) UserListRequestEventsWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserListRequestEventsResponse, error)

UserListRequestEventsWithResponse request returning *UserListRequestEventsResponse

func (*ClientWithResponses) UserListRequestsPastWithResponse added in v0.13.0

func (c *ClientWithResponses) UserListRequestsPastWithResponse(ctx context.Context, params *UserListRequestsPastParams, reqEditors ...RequestEditorFn) (*UserListRequestsPastResponse, error)

UserListRequestsPastWithResponse request returning *UserListRequestsPastResponse

func (*ClientWithResponses) UserListRequestsUpcomingWithResponse added in v0.13.0

func (c *ClientWithResponses) UserListRequestsUpcomingWithResponse(ctx context.Context, params *UserListRequestsUpcomingParams, reqEditors ...RequestEditorFn) (*UserListRequestsUpcomingResponse, error)

UserListRequestsUpcomingWithResponse request returning *UserListRequestsUpcomingResponse

func (*ClientWithResponses) UserListRequestsWithResponse added in v0.13.0

func (c *ClientWithResponses) UserListRequestsWithResponse(ctx context.Context, params *UserListRequestsParams, reqEditors ...RequestEditorFn) (*UserListRequestsResponse, error)

UserListRequestsWithResponse request returning *UserListRequestsResponse

func (*ClientWithResponses) UserLookupAccessRuleWithResponse added in v0.13.0

func (c *ClientWithResponses) UserLookupAccessRuleWithResponse(ctx context.Context, params *UserLookupAccessRuleParams, reqEditors ...RequestEditorFn) (*UserLookupAccessRuleResponse, error)

UserLookupAccessRuleWithResponse request returning *UserLookupAccessRuleResponse

func (*ClientWithResponses) UserReviewRequestWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) UserReviewRequestWithBodyWithResponse(ctx context.Context, requestId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserReviewRequestResponse, error)

UserReviewRequestWithBodyWithResponse request with arbitrary body returning *UserReviewRequestResponse

func (*ClientWithResponses) UserReviewRequestWithResponse added in v0.13.0

func (c *ClientWithResponses) UserReviewRequestWithResponse(ctx context.Context, requestId string, body UserReviewRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*UserReviewRequestResponse, error)

func (*ClientWithResponses) UserRevokeRequestWithResponse added in v0.13.0

func (c *ClientWithResponses) UserRevokeRequestWithResponse(ctx context.Context, requestid string, reqEditors ...RequestEditorFn) (*UserRevokeRequestResponse, error)

UserRevokeRequestWithResponse request returning *UserRevokeRequestResponse

func (*ClientWithResponses) UserUpdateFavoriteWithBodyWithResponse added in v0.13.0

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

UserUpdateFavoriteWithBodyWithResponse request with arbitrary body returning *UserUpdateFavoriteResponse

func (*ClientWithResponses) UserUpdateFavoriteWithResponse added in v0.13.0

func (c *ClientWithResponses) UserUpdateFavoriteWithResponse(ctx context.Context, id string, body UserUpdateFavoriteJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateFavoriteResponse, error)

type ClientWithResponsesInterface added in v0.13.0

type ClientWithResponsesInterface interface {
	// UserListAccessRules request
	UserListAccessRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserListAccessRulesResponse, error)

	// UserLookupAccessRule request
	UserLookupAccessRuleWithResponse(ctx context.Context, params *UserLookupAccessRuleParams, reqEditors ...RequestEditorFn) (*UserLookupAccessRuleResponse, error)

	// UserGetAccessRule request
	UserGetAccessRuleWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*UserGetAccessRuleResponse, error)

	// UserGetAccessRuleApprovers request
	UserGetAccessRuleApproversWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*UserGetAccessRuleApproversResponse, error)

	// AdminListAccessRules request
	AdminListAccessRulesWithResponse(ctx context.Context, params *AdminListAccessRulesParams, reqEditors ...RequestEditorFn) (*AdminListAccessRulesResponse, error)

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

	AdminCreateAccessRuleWithResponse(ctx context.Context, body AdminCreateAccessRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateAccessRuleResponse, error)

	// AdminGetAccessRule request
	AdminGetAccessRuleWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*AdminGetAccessRuleResponse, error)

	// AdminUpdateAccessRule request with any body
	AdminUpdateAccessRuleWithBodyWithResponse(ctx context.Context, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminUpdateAccessRuleResponse, error)

	AdminUpdateAccessRuleWithResponse(ctx context.Context, ruleId string, body AdminUpdateAccessRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminUpdateAccessRuleResponse, error)

	// AdminArchiveAccessRule request
	AdminArchiveAccessRuleWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*AdminArchiveAccessRuleResponse, error)

	// AdminGetAccessRuleVersions request
	AdminGetAccessRuleVersionsWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*AdminGetAccessRuleVersionsResponse, error)

	// AdminGetAccessRuleVersion request
	AdminGetAccessRuleVersionWithResponse(ctx context.Context, ruleId string, version string, reqEditors ...RequestEditorFn) (*AdminGetAccessRuleVersionResponse, error)

	// AdminGetDeploymentVersion request
	AdminGetDeploymentVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetDeploymentVersionResponse, error)

	// AdminListGroups request
	AdminListGroupsWithResponse(ctx context.Context, params *AdminListGroupsParams, reqEditors ...RequestEditorFn) (*AdminListGroupsResponse, error)

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

	AdminCreateGroupWithResponse(ctx context.Context, body AdminCreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateGroupResponse, error)

	// AdminDeleteGroup request
	AdminDeleteGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*AdminDeleteGroupResponse, error)

	// AdminGetGroup request
	AdminGetGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*AdminGetGroupResponse, error)

	// AdminUpdateGroup request with any body
	AdminUpdateGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminUpdateGroupResponse, error)

	AdminUpdateGroupWithResponse(ctx context.Context, groupId string, body AdminUpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminUpdateGroupResponse, error)

	// AdminListHandlers request
	AdminListHandlersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListHandlersResponse, error)

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

	AdminRegisterHandlerWithResponse(ctx context.Context, body AdminRegisterHandlerJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminRegisterHandlerResponse, error)

	// AdminDeleteHandler request
	AdminDeleteHandlerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AdminDeleteHandlerResponse, error)

	// AdminGetHandler request
	AdminGetHandlerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AdminGetHandlerResponse, error)

	// AdminHealthcheckHandlers request
	AdminHealthcheckHandlersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminHealthcheckHandlersResponse, error)

	// AdminGetIdentityConfiguration request
	AdminGetIdentityConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetIdentityConfigurationResponse, error)

	// AdminSyncIdentity request
	AdminSyncIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminSyncIdentityResponse, error)

	// AdminListProviders request
	AdminListProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListProvidersResponse, error)

	// AdminGetProvider request
	AdminGetProviderWithResponse(ctx context.Context, providerId string, reqEditors ...RequestEditorFn) (*AdminGetProviderResponse, error)

	// AdminGetProviderArgs request
	AdminGetProviderArgsWithResponse(ctx context.Context, providerId string, reqEditors ...RequestEditorFn) (*AdminGetProviderArgsResponse, error)

	// AdminListProviderArgOptions request
	AdminListProviderArgOptionsWithResponse(ctx context.Context, providerId string, argId string, params *AdminListProviderArgOptionsParams, reqEditors ...RequestEditorFn) (*AdminListProviderArgOptionsResponse, error)

	// AdminListProvidersetups request
	AdminListProvidersetupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListProvidersetupsResponse, error)

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

	AdminCreateProvidersetupWithResponse(ctx context.Context, body AdminCreateProvidersetupJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateProvidersetupResponse, error)

	// AdminDeleteProvidersetup request
	AdminDeleteProvidersetupWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminDeleteProvidersetupResponse, error)

	// AdminGetProvidersetup request
	AdminGetProvidersetupWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminGetProvidersetupResponse, error)

	// AdminCompleteProvidersetup request
	AdminCompleteProvidersetupWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminCompleteProvidersetupResponse, error)

	// AdminGetProvidersetupInstructions request
	AdminGetProvidersetupInstructionsWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminGetProvidersetupInstructionsResponse, error)

	// AdminSubmitProvidersetupStep request with any body
	AdminSubmitProvidersetupStepWithBodyWithResponse(ctx context.Context, providersetupId string, stepIndex int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminSubmitProvidersetupStepResponse, error)

	AdminSubmitProvidersetupStepWithResponse(ctx context.Context, providersetupId string, stepIndex int, body AdminSubmitProvidersetupStepJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminSubmitProvidersetupStepResponse, error)

	// AdminValidateProvidersetup request
	AdminValidateProvidersetupWithResponse(ctx context.Context, providersetupId string, reqEditors ...RequestEditorFn) (*AdminValidateProvidersetupResponse, error)

	// AdminListRequests request
	AdminListRequestsWithResponse(ctx context.Context, params *AdminListRequestsParams, reqEditors ...RequestEditorFn) (*AdminListRequestsResponse, error)

	// AdminGetRequest request
	AdminGetRequestWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*AdminGetRequestResponse, error)

	// AdminListTargetGroups request
	AdminListTargetGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListTargetGroupsResponse, error)

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

	AdminCreateTargetGroupWithResponse(ctx context.Context, body AdminCreateTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateTargetGroupResponse, error)

	// AdminDeleteTargetGroup request
	AdminDeleteTargetGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AdminDeleteTargetGroupResponse, error)

	// AdminGetTargetGroup request
	AdminGetTargetGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AdminGetTargetGroupResponse, error)

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

	AdminCreateTargetGroupLinkWithResponse(ctx context.Context, id string, body AdminCreateTargetGroupLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateTargetGroupLinkResponse, error)

	// AdminListTargetRoutes request
	AdminListTargetRoutesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AdminListTargetRoutesResponse, error)

	// AdminRemoveTargetGroupLink request
	AdminRemoveTargetGroupLinkWithResponse(ctx context.Context, id string, params *AdminRemoveTargetGroupLinkParams, reqEditors ...RequestEditorFn) (*AdminRemoveTargetGroupLinkResponse, error)

	// AdminListUsers request
	AdminListUsersWithResponse(ctx context.Context, params *AdminListUsersParams, reqEditors ...RequestEditorFn) (*AdminListUsersResponse, error)

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

	AdminCreateUserWithResponse(ctx context.Context, body AdminCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateUserResponse, error)

	// AdminUpdateUser request with any body
	AdminUpdateUserWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminUpdateUserResponse, error)

	AdminUpdateUserWithResponse(ctx context.Context, userId string, body AdminUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminUpdateUserResponse, error)

	// UserListFavorites request
	UserListFavoritesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserListFavoritesResponse, error)

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

	UserCreateFavoriteWithResponse(ctx context.Context, body UserCreateFavoriteJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateFavoriteResponse, error)

	// UserDeleteFavorite request
	UserDeleteFavoriteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UserDeleteFavoriteResponse, error)

	// UserGetFavorite request
	UserGetFavoriteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UserGetFavoriteResponse, error)

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

	UserUpdateFavoriteWithResponse(ctx context.Context, id string, body UserUpdateFavoriteJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateFavoriteResponse, error)

	// UserListRequests request
	UserListRequestsWithResponse(ctx context.Context, params *UserListRequestsParams, reqEditors ...RequestEditorFn) (*UserListRequestsResponse, error)

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

	UserCreateRequestWithResponse(ctx context.Context, body UserCreateRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateRequestResponse, error)

	// UserListRequestsPast request
	UserListRequestsPastWithResponse(ctx context.Context, params *UserListRequestsPastParams, reqEditors ...RequestEditorFn) (*UserListRequestsPastResponse, error)

	// UserListRequestsUpcoming request
	UserListRequestsUpcomingWithResponse(ctx context.Context, params *UserListRequestsUpcomingParams, reqEditors ...RequestEditorFn) (*UserListRequestsUpcomingResponse, error)

	// UserGetRequest request
	UserGetRequestWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserGetRequestResponse, error)

	// UserGetAccessInstructions request
	UserGetAccessInstructionsWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserGetAccessInstructionsResponse, error)

	// UserGetAccessToken request
	UserGetAccessTokenWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserGetAccessTokenResponse, error)

	// UserCancelRequest request
	UserCancelRequestWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserCancelRequestResponse, error)

	// UserListRequestEvents request
	UserListRequestEventsWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*UserListRequestEventsResponse, error)

	// UserReviewRequest request with any body
	UserReviewRequestWithBodyWithResponse(ctx context.Context, requestId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserReviewRequestResponse, error)

	UserReviewRequestWithResponse(ctx context.Context, requestId string, body UserReviewRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*UserReviewRequestResponse, error)

	// UserRevokeRequest request
	UserRevokeRequestWithResponse(ctx context.Context, requestid string, reqEditors ...RequestEditorFn) (*UserRevokeRequestResponse, error)

	// UserGetMe request
	UserGetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserGetMeResponse, error)

	// UserGetUser request
	UserGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserGetUserResponse, error)
}

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

type CompleteProviderSetupResponse

type CompleteProviderSetupResponse struct {
	// Whether a manual update is required to the Common Fate deployment configuration (`deployment.yml`) to activate the provider.
	DeploymentConfigUpdateRequired bool `json:"deploymentConfigUpdateRequired"`
}

CompleteProviderSetupResponse defines model for CompleteProviderSetupResponse.

type CreateAccessRuleRequest

type CreateAccessRuleRequest struct {
	// Approver config for access rules
	Approval    ApproverConfig `json:"approval"`
	Description string         `json:"description"`

	// The group IDs that the access rule applies to.
	Groups []string `json:"groups"`
	Name   string   `json:"name"`

	// a request body for creating a Access Rule Target
	Target CreateAccessRuleTarget `json:"target"`

	// Time configuration for an Access Rule.
	TimeConstraints TimeConstraints `json:"timeConstraints"`
}

CreateAccessRuleRequest defines model for CreateAccessRuleRequest.

type CreateAccessRuleTarget

type CreateAccessRuleTarget struct {
	ProviderId string                      `json:"providerId"`
	With       CreateAccessRuleTarget_With `json:"with"`
}

a request body for creating a Access Rule Target

type CreateAccessRuleTargetDetailArguments

type CreateAccessRuleTargetDetailArguments struct {
	Groupings CreateAccessRuleTargetDetailArguments_Groupings `json:"groupings"`
	Values    []string                                        `json:"values"`
}

CreateAccessRuleTargetDetailArguments defines model for CreateAccessRuleTargetDetailArguments.

type CreateAccessRuleTargetDetailArguments_Groupings

type CreateAccessRuleTargetDetailArguments_Groupings struct {
	AdditionalProperties map[string][]string `json:"-"`
}

CreateAccessRuleTargetDetailArguments_Groupings defines model for CreateAccessRuleTargetDetailArguments.Groupings.

func (CreateAccessRuleTargetDetailArguments_Groupings) Get

func (a CreateAccessRuleTargetDetailArguments_Groupings) Get(fieldName string) (value []string, found bool)

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

func (CreateAccessRuleTargetDetailArguments_Groupings) MarshalJSON

Override default JSON handling for CreateAccessRuleTargetDetailArguments_Groupings to handle AdditionalProperties

func (*CreateAccessRuleTargetDetailArguments_Groupings) Set

Setter for additional properties for CreateAccessRuleTargetDetailArguments_Groupings

func (*CreateAccessRuleTargetDetailArguments_Groupings) UnmarshalJSON

Override default JSON handling for CreateAccessRuleTargetDetailArguments_Groupings to handle AdditionalProperties

type CreateAccessRuleTarget_With

type CreateAccessRuleTarget_With struct {
	AdditionalProperties map[string]CreateAccessRuleTargetDetailArguments `json:"-"`
}

CreateAccessRuleTarget_With defines model for CreateAccessRuleTarget.With.

func (CreateAccessRuleTarget_With) Get

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

func (CreateAccessRuleTarget_With) MarshalJSON

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

Override default JSON handling for CreateAccessRuleTarget_With to handle AdditionalProperties

func (*CreateAccessRuleTarget_With) Set

Setter for additional properties for CreateAccessRuleTarget_With

func (*CreateAccessRuleTarget_With) UnmarshalJSON

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

Override default JSON handling for CreateAccessRuleTarget_With to handle AdditionalProperties

type CreateFavoriteRequest

type CreateFavoriteRequest struct {
	AccessRuleId string                       `json:"accessRuleId"`
	Name         string                       `json:"name"`
	Reason       *string                      `json:"reason,omitempty"`
	Timing       RequestTiming                `json:"timing"`
	With         *CreateRequestWithSubRequest `json:"with,omitempty"`
}

CreateFavoriteRequest defines model for CreateFavoriteRequest.

type CreateGroupRequest

type CreateGroupRequest struct {
	Description *string  `json:"description,omitempty"`
	Members     []string `json:"members"`
	Name        string   `json:"name"`
}

CreateGroupRequest defines model for CreateGroupRequest.

type CreateProviderSetupRequest

type CreateProviderSetupRequest struct {
	// The type of the provider to set up.
	ProviderType string `json:"providerType"`
}

CreateProviderSetupRequest defines model for CreateProviderSetupRequest.

type CreateRequestRequest

type CreateRequestRequest struct {
	AccessRuleId string                       `json:"accessRuleId"`
	Reason       *string                      `json:"reason,omitempty"`
	Timing       RequestTiming                `json:"timing"`
	With         *CreateRequestWithSubRequest `json:"with,omitempty"`
}

CreateRequestRequest defines model for CreateRequestRequest.

type CreateRequestResponse added in v0.15.1

type CreateRequestResponse struct {
	Requests []Request `json:"requests"`
}

CreateRequestResponse defines model for CreateRequestResponse.

type CreateRequestWith

type CreateRequestWith struct {
	AdditionalProperties map[string][]string `json:"-"`
}

CreateRequestWith defines model for CreateRequestWith.

func (CreateRequestWith) ArgumentCombinations

func (requestWith CreateRequestWith) ArgumentCombinations() (RequestArgumentCombinations, error)

ArgumentCombinations returns a slice of all combinations of arguments

Example

{"a":[1,2],"b":[3]} -> [{"a":1,"b":3},{"a":2,"b":3}]

This method uses recursion to build a slice of possible combinations of arguments

func (CreateRequestWith) Get

func (a CreateRequestWith) Get(fieldName string) (value []string, found bool)

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

func (CreateRequestWith) MarshalJSON

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

Override default JSON handling for CreateRequestWith to handle AdditionalProperties

func (*CreateRequestWith) Set

func (a *CreateRequestWith) Set(fieldName string, value []string)

Setter for additional properties for CreateRequestWith

func (*CreateRequestWith) UnmarshalJSON

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

Override default JSON handling for CreateRequestWith to handle AdditionalProperties

type CreateRequestWithSubRequest

type CreateRequestWithSubRequest = []CreateRequestWith

CreateRequestWithSubRequest defines model for CreateRequestWithSubRequest.

type CreateTargetGroupLink struct {
	DeploymentId string `json:"deploymentId"`
	Kind         string `json:"kind"`
	Priority     int    `json:"priority"`
}

CreateTargetGroupLink defines model for CreateTargetGroupLink.

type CreateTargetGroupRequest added in v0.15.0

type CreateTargetGroupRequest struct {
	// Specifies a particular Access Provider to create a Target Group schema from.
	From TargetGroupFrom `json:"from"`
	Id   string          `json:"id"`
}

CreateTargetGroupRequest defines model for CreateTargetGroupRequest.

type CreateUserRequest

type CreateUserRequest struct {
	Email     openapi_types.Email `json:"email"`
	FirstName string              `json:"firstName"`
	IsAdmin   bool                `json:"isAdmin"`
	LastName  string              `json:"lastName"`
}

CreateUserRequest defines model for CreateUserRequest.

type DeploymentVersionResponse

type DeploymentVersionResponse struct {
	// The deployment version. Will be a semver, such as "v0.9.0" for official releases, or "dev+GIT_HASH" for pre-release builds.
	Version string `json:"version"`
}

DeploymentVersionResponse defines model for DeploymentVersionResponse.

type Diagnostic added in v0.15.0

type Diagnostic struct {
	Code    string   `json:"code"`
	Level   LogLevel `json:"level"`
	Message string   `json:"message"`
}

Diagnostic defines model for Diagnostic.

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

ErrorResponse defines model for ErrorResponse.

type Favorite

type Favorite struct {
	Id     string `json:"id"`
	Name   string `json:"name"`
	RuleId string `json:"ruleId"`
}

Favorite defines model for Favorite.

type FavoriteDetail

type FavoriteDetail struct {
	Id     string                      `json:"id"`
	Name   string                      `json:"name"`
	Reason *string                     `json:"reason,omitempty"`
	Timing RequestTiming               `json:"timing"`
	With   CreateRequestWithSubRequest `json:"with"`
}

Detailed object for a Favorite.

type Grant

type Grant struct {
	// The end time of the grant.
	End time.Time `json:"end"`

	// The ID of the provider to grant access to.
	Provider string `json:"provider"`

	// The start time of the grant.
	Start time.Time `json:"start"`

	// The current state of the grant.
	Status GrantStatus `json:"status"`

	// The email address of the user to grant access to.
	Subject openapi_types.Email `json:"subject"`
}

A temporary assignment of a user to a principal.

type GrantStatus

type GrantStatus string

The current state of the grant.

const (
	GrantStatusACTIVE  GrantStatus = "ACTIVE"
	GrantStatusERROR   GrantStatus = "ERROR"
	GrantStatusEXPIRED GrantStatus = "EXPIRED"
	GrantStatusPENDING GrantStatus = "PENDING"
	GrantStatusREVOKED GrantStatus = "REVOKED"
)

Defines values for GrantStatus.

type Group

type Group struct {
	Description string   `json:"description"`
	Id          string   `json:"id"`
	MemberCount int      `json:"memberCount"`
	Members     []string `json:"members"`
	Name        string   `json:"name"`
	Source      string   `json:"source"`
}

Group defines model for Group.

type HttpRequestDoer added in v0.13.0

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IdentityConfigurationResponse

type IdentityConfigurationResponse struct {
	AdministratorGroupId string `json:"administratorGroupId"`
	IdentityProvider     string `json:"identityProvider"`
}

IdentityConfigurationResponse defines model for IdentityConfigurationResponse.

type IdpStatus

type IdpStatus string

IdpStatus defines model for IdpStatus.

const (
	IdpStatusACTIVE   IdpStatus = "ACTIVE"
	IdpStatusARCHIVED IdpStatus = "ARCHIVED"
)

Defines values for IdpStatus.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type KeyValue

type KeyValue struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

KeyValue defines model for KeyValue.

type ListAccessRuleApproversResponse

type ListAccessRuleApproversResponse struct {
	Next  *string  `json:"next"`
	Users []string `json:"users"`
}

ListAccessRuleApproversResponse defines model for ListAccessRuleApproversResponse.

type ListAccessRulesDetailResponse

type ListAccessRulesDetailResponse struct {
	AccessRules []AccessRuleDetail `json:"accessRules"`
	Next        *string            `json:"next"`
}

ListAccessRulesDetailResponse defines model for ListAccessRulesDetailResponse.

type ListAccessRulesResponse

type ListAccessRulesResponse struct {
	AccessRules []AccessRule `json:"accessRules"`
	Next        *string      `json:"next"`
}

ListAccessRulesResponse defines model for ListAccessRulesResponse.

type ListFavoritesResponse

type ListFavoritesResponse struct {
	Favorites []Favorite `json:"favorites"`
	Next      *string    `json:"next"`
}

ListFavoritesResponse defines model for ListFavoritesResponse.

type ListGroupsResponse

type ListGroupsResponse struct {
	Groups []Group `json:"groups"`
	Next   *string `json:"next"`
}

ListGroupsResponse defines model for ListGroupsResponse.

type ListHandlersResponse added in v0.15.0

type ListHandlersResponse struct {
	Next string      `json:"next"`
	Res  []TGHandler `json:"res"`
}

ListHandlersResponse defines model for ListHandlersResponse.

type ListProviderSetupsResponse

type ListProviderSetupsResponse struct {
	ProviderSetups []ProviderSetup `json:"providerSetups"`
}

ListProviderSetupsResponse defines model for ListProviderSetupsResponse.

type ListRequestEventsResponse

type ListRequestEventsResponse struct {
	Events []RequestEvent `json:"events"`
	Next   *string        `json:"next"`
}

ListRequestEventsResponse defines model for ListRequestEventsResponse.

type ListRequestsResponse

type ListRequestsResponse struct {
	Next     *string   `json:"next"`
	Requests []Request `json:"requests"`
}

ListRequestsResponse defines model for ListRequestsResponse.

type ListTargetGroupResponse added in v0.15.0

type ListTargetGroupResponse struct {
	Next         *string       `json:"next,omitempty"`
	TargetGroups []TargetGroup `json:"targetGroups"`
}

ListTargetGroupResponse defines model for ListTargetGroupResponse.

type ListTargetGroupRoutes added in v0.15.0

type ListTargetGroupRoutes struct {
	Next   *string       `json:"next,omitempty"`
	Routes []TargetRoute `json:"routes"`
}

ListTargetGroupRoutes defines model for ListTargetGroupRoutes.

type ListUserResponse

type ListUserResponse struct {
	Next  *string `json:"next"`
	Users []User  `json:"users"`
}

ListUserResponse defines model for ListUserResponse.

type LogLevel added in v0.15.0

type LogLevel string

LogLevel defines model for LogLevel.

const (
	LogLevelERROR   LogLevel = "ERROR"
	LogLevelINFO    LogLevel = "INFO"
	LogLevelWARNING LogLevel = "WARNING"
)

Defines values for LogLevel.

type LookupAccessRule

type LookupAccessRule struct {
	// Access Rule contains information for an end user to make a request for access.
	AccessRule AccessRule `json:"accessRule"`

	// If the matched access rule has selectable fields, this array will contain the matched values to be used to prefill the form when requesting
	SelectableWithOptionValues *[]KeyValue `json:"selectableWithOptionValues,omitempty"`
}

A matched access rule with option values if they are required for the access rule request

type MiddlewareFunc

type MiddlewareFunc func(http.HandlerFunc) http.HandlerFunc

type Provider

type Provider struct {
	Id   string `json:"id"`
	Type string `json:"type"`
}

Provider

type ProviderConfigField

type ProviderConfigField struct {
	Description string `json:"description"`
	Id          string `json:"id"`

	// Whether the config value is optional.
	IsOptional bool `json:"isOptional"`

	// Whether or not the config field is a secret (like an API key or a password)
	IsSecret bool   `json:"isSecret"`
	Name     string `json:"name"`

	// the path to where the secret will be stored, in a secrets manager like AWS SSM Parameter Store.
	SecretPath *string `json:"secretPath,omitempty"`
}

ProviderConfigField defines model for ProviderConfigField.

type ProviderConfigValue

type ProviderConfigValue struct {
	// The ID of the config field.
	Id string `json:"id"`

	// The value entered by the user.
	Value string `json:"value"`
}

ProviderConfigValue defines model for ProviderConfigValue.

type ProviderSetup

type ProviderSetup struct {
	ConfigValidation []externalRef0.ProviderConfigValidation `json:"configValidation"`

	// The current configuration values.
	ConfigValues map[string]string `json:"configValues"`

	// A unique ID for the provider setup. This is a random KSUID to avoid potential conflicts with user-specified provider IDs in the `deployment.yml` file.
	Id string `json:"id"`

	// The status of the setup process.
	Status ProviderSetupStatus `json:"status"`

	// An overview of the steps indicating whether they are complete.
	Steps []ProviderSetupStepOverview `json:"steps"`

	// The type of the Access Provider being set up.
	Type string `json:"type"`

	// The version of the provider.
	Version string `json:"version"`
}

A provider in the process of being set up through the guided setup workflow in Common Fate. These providers are **not** yet active.

type ProviderSetupInstructions

type ProviderSetupInstructions struct {
	StepDetails []ProviderSetupStepDetails `json:"stepDetails"`
}

ProviderSetupInstructions defines model for ProviderSetupInstructions.

type ProviderSetupResponse

type ProviderSetupResponse = ProviderSetup

A provider in the process of being set up through the guided setup workflow in Common Fate. These providers are **not** yet active.

type ProviderSetupStatus

type ProviderSetupStatus string

The status of the setup process.

const (
	COMPLETE                       ProviderSetupStatus = "COMPLETE"
	INITIALCONFIGURATIONINPROGRESS ProviderSetupStatus = "INITIAL_CONFIGURATION_IN_PROGRESS"
	VALIDATING                     ProviderSetupStatus = "VALIDATING"
	VALIDATIONFAILED               ProviderSetupStatus = "VALIDATION_FAILED"
	VALIDATIONSUCEEDED             ProviderSetupStatus = "VALIDATION_SUCEEDED"
)

Defines values for ProviderSetupStatus.

type ProviderSetupStepCompleteRequest

type ProviderSetupStepCompleteRequest struct {
	// Whether the step is complete or not.
	Complete bool `json:"complete"`

	// The config values entered by the user which correspond to the setup step.
	ConfigValues map[string]string `json:"configValues"`
}

ProviderSetupStepCompleteRequest defines model for ProviderSetupStepCompleteRequest.

type ProviderSetupStepDetails

type ProviderSetupStepDetails struct {
	ConfigFields []ProviderConfigField `json:"configFields"`
	Instructions string                `json:"instructions"`
	Title        string                `json:"title"`
}

ProviderSetupStepDetails defines model for ProviderSetupStepDetails.

type ProviderSetupStepOverview

type ProviderSetupStepOverview struct {
	// Whether the step has been completed.
	Complete bool `json:"complete"`
}

Indicates whether a setup step is complete or not.

type ProviderSetupValidation

type ProviderSetupValidation struct {
	// The particular config fields validated, if any.
	FieldsValidated []interface{} `json:"fieldsValidated"`

	// The ID of the validation, such as `list-sso-users`.
	Id   string        `json:"id"`
	Logs *[]Diagnostic `json:"logs,omitempty"`

	// The status of the validation.
	Status ProviderSetupValidationStatus `json:"status"`
}

A validation against the configuration values of the Access Provider.

type ProviderSetupValidationStatus

type ProviderSetupValidationStatus string

The status of the validation.

const (
	ProviderSetupValidationStatusERROR      ProviderSetupValidationStatus = "ERROR"
	ProviderSetupValidationStatusINPROGRESS ProviderSetupValidationStatus = "IN_PROGRESS"
	ProviderSetupValidationStatusPENDING    ProviderSetupValidationStatus = "PENDING"
	ProviderSetupValidationStatusSUCCESS    ProviderSetupValidationStatus = "SUCCESS"
)

Defines values for ProviderSetupValidationStatus.

type RegisterHandlerRequest added in v0.15.0

type RegisterHandlerRequest struct {
	AwsAccount string `json:"awsAccount"`
	AwsRegion  string `json:"awsRegion"`

	// The ID of the target group to deploy to. User, provided
	Id      string `json:"id"`
	Runtime string `json:"runtime"`
}

RegisterHandlerRequest defines model for RegisterHandlerRequest.

type Request

type Request struct {
	AccessRuleId      string `json:"accessRuleId"`
	AccessRuleVersion string `json:"accessRuleVersion"`

	// Describes whether a request has been approved automatically or from a review
	ApprovalMethod *ApprovalMethod `json:"approvalMethod,omitempty"`

	// A temporary assignment of a user to a principal.
	Grant       *Grant    `json:"grant,omitempty"`
	ID          string    `json:"id"`
	Reason      *string   `json:"reason,omitempty"`
	RequestedAt time.Time `json:"requestedAt"`
	Requestor   string    `json:"requestor"`

	// The status of an Access Request.
	Status    RequestStatus `json:"status"`
	Timing    RequestTiming `json:"timing"`
	UpdatedAt time.Time     `json:"updatedAt"`
}

A request to access something made by an end user in Common Fate.

type RequestAccessRule

type RequestAccessRule struct {
	CanRequest  bool   `json:"canRequest"`
	Description string `json:"description"`
	ID          string `json:"id"`
	IsCurrent   bool   `json:"isCurrent"`
	Name        string `json:"name"`

	// A detailed target for an access rule request
	Target RequestAccessRuleTarget `json:"target"`

	// Time configuration for an Access Rule.
	TimeConstraints TimeConstraints `json:"timeConstraints"`

	// A unique version identifier for the Access Rule. Updating a rule creates a new version.
	// When a rule is updated, it's ID remains consistent.
	Version string `json:"version"`
}

Access Rule contains information for an end user to make a request for access.

type RequestAccessRuleTarget

type RequestAccessRuleTarget struct {
	Arguments RequestAccessRuleTarget_Arguments `json:"arguments"`

	// Provider
	Provider Provider `json:"provider"`
}

A detailed target for an access rule request

type RequestAccessRuleTarget_Arguments

type RequestAccessRuleTarget_Arguments struct {
	AdditionalProperties map[string]RequestArgument `json:"-"`
}

RequestAccessRuleTarget_Arguments defines model for RequestAccessRuleTarget.Arguments.

func (RequestAccessRuleTarget_Arguments) Get

func (a RequestAccessRuleTarget_Arguments) Get(fieldName string) (value RequestArgument, found bool)

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

func (RequestAccessRuleTarget_Arguments) MarshalJSON

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

Override default JSON handling for RequestAccessRuleTarget_Arguments to handle AdditionalProperties

func (*RequestAccessRuleTarget_Arguments) Set

func (a *RequestAccessRuleTarget_Arguments) Set(fieldName string, value RequestArgument)

Setter for additional properties for RequestAccessRuleTarget_Arguments

func (*RequestAccessRuleTarget_Arguments) UnmarshalJSON

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

Override default JSON handling for RequestAccessRuleTarget_Arguments to handle AdditionalProperties

type RequestArgument

type RequestArgument struct {
	Description *string                     `json:"description,omitempty"`
	FormElement *RequestArgumentFormElement `json:"formElement,omitempty"`
	Options     []WithOption                `json:"options"`

	// This will be true if a selection is require when creating a request
	RequiresSelection bool   `json:"requiresSelection"`
	Title             string `json:"title"`
}

RequestArgument defines model for RequestArgument.

type RequestArgumentCombinations

type RequestArgumentCombinations []map[string]string

func (RequestArgumentCombinations) HasDuplicates

func (c RequestArgumentCombinations) HasDuplicates() bool

HasDuplicates compares all the combinations in the array O = n*n*arguments

type RequestArgumentFormElement

type RequestArgumentFormElement string

RequestArgumentFormElement defines model for RequestArgument.FormElement.

const (
	RequestArgumentFormElementSELECT RequestArgumentFormElement = "SELECT"
)

Defines values for RequestArgumentFormElement.

type RequestDetail

type RequestDetail struct {
	// Access Rule contains information for an end user to make a request for access.
	AccessRule AccessRule `json:"accessRule"`

	// Describes whether a request has been approved automatically or from a review
	ApprovalMethod *ApprovalMethod         `json:"approvalMethod,omitempty"`
	Arguments      RequestDetail_Arguments `json:"arguments"`

	// true if the requesting user is a reviewer of this request.
	CanReview bool `json:"canReview"`

	// A temporary assignment of a user to a principal.
	Grant       *Grant    `json:"grant,omitempty"`
	ID          string    `json:"id"`
	Reason      *string   `json:"reason,omitempty"`
	RequestedAt time.Time `json:"requestedAt"`
	Requestor   string    `json:"requestor"`

	// The status of an Access Request.
	Status    RequestStatus `json:"status"`
	Timing    RequestTiming `json:"timing"`
	UpdatedAt time.Time     `json:"updatedAt"`
}

A request to access something made by an end user in Common Fate.

type RequestDetail_Arguments

type RequestDetail_Arguments struct {
	AdditionalProperties map[string]With `json:"-"`
}

RequestDetail_Arguments defines model for RequestDetail.Arguments.

func (RequestDetail_Arguments) Get

func (a RequestDetail_Arguments) Get(fieldName string) (value With, found bool)

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

func (RequestDetail_Arguments) MarshalJSON

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

Override default JSON handling for RequestDetail_Arguments to handle AdditionalProperties

func (*RequestDetail_Arguments) Set

func (a *RequestDetail_Arguments) Set(fieldName string, value With)

Setter for additional properties for RequestDetail_Arguments

func (*RequestDetail_Arguments) UnmarshalJSON

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

Override default JSON handling for RequestDetail_Arguments to handle AdditionalProperties

type RequestEditorFn added in v0.13.0

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestEvent

type RequestEvent struct {
	Actor     *string   `json:"actor,omitempty"`
	CreatedAt time.Time `json:"createdAt"`

	// The current state of the grant.
	FromGrantStatus *RequestEventFromGrantStatus `json:"fromGrantStatus,omitempty"`

	// The status of an Access Request.
	FromStatus         *RequestStatus `json:"fromStatus,omitempty"`
	FromTiming         *RequestTiming `json:"fromTiming,omitempty"`
	GrantCreated       *bool          `json:"grantCreated,omitempty"`
	GrantFailureReason *string        `json:"grantFailureReason,omitempty"`
	Id                 string         `json:"id"`

	// An event which was recorded relating to the grant.
	RecordedEvent  *map[string]string `json:"recordedEvent,omitempty"`
	RequestCreated *bool              `json:"requestCreated,omitempty"`
	RequestId      string             `json:"requestId"`

	// The current state of the grant.
	ToGrantStatus *RequestEventToGrantStatus `json:"toGrantStatus,omitempty"`

	// The status of an Access Request.
	ToStatus *RequestStatus `json:"toStatus,omitempty"`
	ToTiming *RequestTiming `json:"toTiming,omitempty"`
}

RequestEvent defines model for RequestEvent.

type RequestEventFromGrantStatus

type RequestEventFromGrantStatus string

The current state of the grant.

const (
	RequestEventFromGrantStatusACTIVE  RequestEventFromGrantStatus = "ACTIVE"
	RequestEventFromGrantStatusERROR   RequestEventFromGrantStatus = "ERROR"
	RequestEventFromGrantStatusEXPIRED RequestEventFromGrantStatus = "EXPIRED"
	RequestEventFromGrantStatusPENDING RequestEventFromGrantStatus = "PENDING"
	RequestEventFromGrantStatusREVOKED RequestEventFromGrantStatus = "REVOKED"
)

Defines values for RequestEventFromGrantStatus.

type RequestEventToGrantStatus

type RequestEventToGrantStatus string

The current state of the grant.

const (
	RequestEventToGrantStatusACTIVE  RequestEventToGrantStatus = "ACTIVE"
	RequestEventToGrantStatusERROR   RequestEventToGrantStatus = "ERROR"
	RequestEventToGrantStatusEXPIRED RequestEventToGrantStatus = "EXPIRED"
	RequestEventToGrantStatusPENDING RequestEventToGrantStatus = "PENDING"
	RequestEventToGrantStatusREVOKED RequestEventToGrantStatus = "REVOKED"
)

Defines values for RequestEventToGrantStatus.

type RequestStatus

type RequestStatus string

The status of an Access Request.

const (
	RequestStatusAPPROVED  RequestStatus = "APPROVED"
	RequestStatusCANCELLED RequestStatus = "CANCELLED"
	RequestStatusDECLINED  RequestStatus = "DECLINED"
	RequestStatusPENDING   RequestStatus = "PENDING"
)

Defines values for RequestStatus.

type RequestTiming

type RequestTiming struct {
	DurationSeconds int `json:"durationSeconds"`

	// iso8601 timestamp in UTC timezone
	StartTime *time.Time `json:"startTime,omitempty"`
}

RequestTiming defines model for RequestTiming.

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ReviewDecision

type ReviewDecision string

A decision made on an Access Request.

const (
	APPROVED ReviewDecision = "APPROVED"
	DECLINED ReviewDecision = "DECLINED"
)

Defines values for ReviewDecision.

type ReviewRequest

type ReviewRequest struct {
	Comment *string `json:"comment,omitempty"`

	// A decision made on an Access Request.
	Decision       ReviewDecision `json:"decision"`
	OverrideTiming *RequestTiming `json:"overrideTiming,omitempty"`
}

ReviewRequest defines model for ReviewRequest.

type ReviewResponse

type ReviewResponse struct {
	// A request to access something made by an end user in Common Fate.
	Request *Request `json:"request,omitempty"`
}

ReviewResponse defines model for ReviewResponse.

type ServerInterface

type ServerInterface interface {
	// List Access Rules
	// (GET /api/v1/access-rules)
	UserListAccessRules(w http.ResponseWriter, r *http.Request)
	// Lookup an access rule based on the target
	// (GET /api/v1/access-rules/lookup)
	UserLookupAccessRule(w http.ResponseWriter, r *http.Request, params UserLookupAccessRuleParams)
	// Get Access Rule
	// (GET /api/v1/access-rules/{ruleId})
	UserGetAccessRule(w http.ResponseWriter, r *http.Request, ruleId string)
	// List Access Rule approvers
	// (GET /api/v1/access-rules/{ruleId}/approvers)
	UserGetAccessRuleApprovers(w http.ResponseWriter, r *http.Request, ruleId string)
	// List Access Rules
	// (GET /api/v1/admin/access-rules)
	AdminListAccessRules(w http.ResponseWriter, r *http.Request, params AdminListAccessRulesParams)
	// Create Access Rule
	// (POST /api/v1/admin/access-rules)
	AdminCreateAccessRule(w http.ResponseWriter, r *http.Request)
	// Get Access Rule
	// (GET /api/v1/admin/access-rules/{ruleId})
	AdminGetAccessRule(w http.ResponseWriter, r *http.Request, ruleId string)
	// Update Access Rule
	// (PUT /api/v1/admin/access-rules/{ruleId})
	AdminUpdateAccessRule(w http.ResponseWriter, r *http.Request, ruleId string)
	// Archive Access Rule
	// (POST /api/v1/admin/access-rules/{ruleId}/archive)
	AdminArchiveAccessRule(w http.ResponseWriter, r *http.Request, ruleId string)
	// Get Access Rule version history
	// (GET /api/v1/admin/access-rules/{ruleId}/versions)
	AdminGetAccessRuleVersions(w http.ResponseWriter, r *http.Request, ruleId string)
	// Get Access Rule Version
	// (GET /api/v1/admin/access-rules/{ruleId}/versions/{version})
	AdminGetAccessRuleVersion(w http.ResponseWriter, r *http.Request, ruleId string, version string)
	// Get deployment version details
	// (GET /api/v1/admin/deployment/version)
	AdminGetDeploymentVersion(w http.ResponseWriter, r *http.Request)
	// List groups
	// (GET /api/v1/admin/groups)
	AdminListGroups(w http.ResponseWriter, r *http.Request, params AdminListGroupsParams)
	// Create Group
	// (POST /api/v1/admin/groups)
	AdminCreateGroup(w http.ResponseWriter, r *http.Request)
	// Delete Group
	// (DELETE /api/v1/admin/groups/{groupId})
	AdminDeleteGroup(w http.ResponseWriter, r *http.Request, groupId string)
	// Get Group Details
	// (GET /api/v1/admin/groups/{groupId})
	AdminGetGroup(w http.ResponseWriter, r *http.Request, groupId string)
	// Update Group
	// (PUT /api/v1/admin/groups/{groupId})
	AdminUpdateGroup(w http.ResponseWriter, r *http.Request, groupId string)
	// Get handlers
	// (GET /api/v1/admin/handlers)
	AdminListHandlers(w http.ResponseWriter, r *http.Request)
	// Register a handler
	// (POST /api/v1/admin/handlers)
	AdminRegisterHandler(w http.ResponseWriter, r *http.Request)

	// (DELETE /api/v1/admin/handlers/{id})
	AdminDeleteHandler(w http.ResponseWriter, r *http.Request, id string)
	// Get handler
	// (GET /api/v1/admin/handlers/{id})
	AdminGetHandler(w http.ResponseWriter, r *http.Request, id string)
	// Healthcheck Handlers
	// (POST /api/v1/admin/healthcheck-handlers)
	AdminHealthcheckHandlers(w http.ResponseWriter, r *http.Request)
	// Get identity configuration
	// (GET /api/v1/admin/identity)
	AdminGetIdentityConfiguration(w http.ResponseWriter, r *http.Request)
	// Sync Identity
	// (POST /api/v1/admin/identity/sync)
	AdminSyncIdentity(w http.ResponseWriter, r *http.Request)
	// List providers
	// (GET /api/v1/admin/providers)
	AdminListProviders(w http.ResponseWriter, r *http.Request)
	// List providers
	// (GET /api/v1/admin/providers/{providerId})
	AdminGetProvider(w http.ResponseWriter, r *http.Request, providerId string)
	// Get provider arg schema
	// (GET /api/v1/admin/providers/{providerId}/args)
	AdminGetProviderArgs(w http.ResponseWriter, r *http.Request, providerId string)
	// List provider arg options
	// (GET /api/v1/admin/providers/{providerId}/args/{argId}/options)
	AdminListProviderArgOptions(w http.ResponseWriter, r *http.Request, providerId string, argId string, params AdminListProviderArgOptionsParams)
	// List the provider setups in progress
	// (GET /api/v1/admin/providersetups)
	AdminListProvidersetups(w http.ResponseWriter, r *http.Request)
	// Begin the setup process for a new Access Provider
	// (POST /api/v1/admin/providersetups)
	AdminCreateProvidersetup(w http.ResponseWriter, r *http.Request)
	// Delete an in-progress provider setup
	// (DELETE /api/v1/admin/providersetups/{providersetupId})
	AdminDeleteProvidersetup(w http.ResponseWriter, r *http.Request, providersetupId string)
	// Get an in-progress provider setup
	// (GET /api/v1/admin/providersetups/{providersetupId})
	AdminGetProvidersetup(w http.ResponseWriter, r *http.Request, providersetupId string)
	// Complete a ProviderSetup
	// (POST /api/v1/admin/providersetups/{providersetupId}/complete)
	AdminCompleteProvidersetup(w http.ResponseWriter, r *http.Request, providersetupId string)
	// Get the setup instructions for an Access Provider
	// (GET /api/v1/admin/providersetups/{providersetupId}/instructions)
	AdminGetProvidersetupInstructions(w http.ResponseWriter, r *http.Request, providersetupId string)
	// Update the completion status for a Provider setup step
	// (PUT /api/v1/admin/providersetups/{providersetupId}/steps/{stepIndex}/complete)
	AdminSubmitProvidersetupStep(w http.ResponseWriter, r *http.Request, providersetupId string, stepIndex int)
	// Validate the configuration for a Provider Setup
	// (POST /api/v1/admin/providersetups/{providersetupId}/validate)
	AdminValidateProvidersetup(w http.ResponseWriter, r *http.Request, providersetupId string)
	// Your GET endpoint
	// (GET /api/v1/admin/requests)
	AdminListRequests(w http.ResponseWriter, r *http.Request, params AdminListRequestsParams)
	// Get a request
	// (GET /api/v1/admin/requests/{requestId})
	AdminGetRequest(w http.ResponseWriter, r *http.Request, requestId string)
	// Get target groups
	// (GET /api/v1/admin/target-groups)
	AdminListTargetGroups(w http.ResponseWriter, r *http.Request)
	// Create target group
	// (POST /api/v1/admin/target-groups)
	AdminCreateTargetGroup(w http.ResponseWriter, r *http.Request)
	// delete target group
	// (DELETE /api/v1/admin/target-groups/{id})
	AdminDeleteTargetGroup(w http.ResponseWriter, r *http.Request, id string)
	// Get target group (detailed)
	// (GET /api/v1/admin/target-groups/{id})
	AdminGetTargetGroup(w http.ResponseWriter, r *http.Request, id string)
	// Link a target group deployment to its target group
	// (POST /api/v1/admin/target-groups/{id}/link)
	AdminCreateTargetGroupLink(w http.ResponseWriter, r *http.Request, id string)

	// (GET /api/v1/admin/target-groups/{id}/routes)
	AdminListTargetRoutes(w http.ResponseWriter, r *http.Request, id string)
	// Unlink a target group deployment from its target group
	// (POST /api/v1/admin/target-groups/{id}/unlink)
	AdminRemoveTargetGroupLink(w http.ResponseWriter, r *http.Request, id string, params AdminRemoveTargetGroupLinkParams)
	// Returns a list of users
	// (GET /api/v1/admin/users)
	AdminListUsers(w http.ResponseWriter, r *http.Request, params AdminListUsersParams)
	// Create User
	// (POST /api/v1/admin/users)
	AdminCreateUser(w http.ResponseWriter, r *http.Request)
	// Update User
	// (POST /api/v1/admin/users/{userId})
	AdminUpdateUser(w http.ResponseWriter, r *http.Request, userId string)
	// ListFavorites
	// (GET /api/v1/favorites)
	UserListFavorites(w http.ResponseWriter, r *http.Request)
	// Create Favorite
	// (POST /api/v1/favorites)
	UserCreateFavorite(w http.ResponseWriter, r *http.Request)

	// (DELETE /api/v1/favorites/{id})
	UserDeleteFavorite(w http.ResponseWriter, r *http.Request, id string)
	// Get Favorite
	// (GET /api/v1/favorites/{id})
	UserGetFavorite(w http.ResponseWriter, r *http.Request, id string)

	// (PUT /api/v1/favorites/{id})
	UserUpdateFavorite(w http.ResponseWriter, r *http.Request, id string)
	// List my requests
	// (GET /api/v1/requests)
	UserListRequests(w http.ResponseWriter, r *http.Request, params UserListRequestsParams)
	// Create a request
	// (POST /api/v1/requests)
	UserCreateRequest(w http.ResponseWriter, r *http.Request)
	// Your GET endpoint
	// (GET /api/v1/requests/past)
	UserListRequestsPast(w http.ResponseWriter, r *http.Request, params UserListRequestsPastParams)
	// Your GET endpoint
	// (GET /api/v1/requests/upcoming)
	UserListRequestsUpcoming(w http.ResponseWriter, r *http.Request, params UserListRequestsUpcomingParams)
	// Get a request
	// (GET /api/v1/requests/{requestId})
	UserGetRequest(w http.ResponseWriter, r *http.Request, requestId string)
	// Get Access Instructions
	// (GET /api/v1/requests/{requestId}/access-instructions)
	UserGetAccessInstructions(w http.ResponseWriter, r *http.Request, requestId string)
	// Get Access Token
	// (GET /api/v1/requests/{requestId}/access-token)
	UserGetAccessToken(w http.ResponseWriter, r *http.Request, requestId string)
	// Cancel a request
	// (POST /api/v1/requests/{requestId}/cancel)
	UserCancelRequest(w http.ResponseWriter, r *http.Request, requestId string)
	// List request events
	// (GET /api/v1/requests/{requestId}/events)
	UserListRequestEvents(w http.ResponseWriter, r *http.Request, requestId string)
	// Review a request
	// (POST /api/v1/requests/{requestId}/review)
	UserReviewRequest(w http.ResponseWriter, r *http.Request, requestId string)
	// Revoke an active request
	// (POST /api/v1/requests/{requestid}/revoke)
	UserRevokeRequest(w http.ResponseWriter, r *http.Request, requestid string)
	// Get details for the current user
	// (GET /api/v1/users/me)
	UserGetMe(w http.ResponseWriter, r *http.Request)
	// Get a user
	// (GET /api/v1/users/{userId})
	UserGetUser(w http.ResponseWriter, r *http.Request, userId string)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AdminArchiveAccessRule

func (siw *ServerInterfaceWrapper) AdminArchiveAccessRule(w http.ResponseWriter, r *http.Request)

AdminArchiveAccessRule operation middleware

func (*ServerInterfaceWrapper) AdminCompleteProvidersetup added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminCompleteProvidersetup(w http.ResponseWriter, r *http.Request)

AdminCompleteProvidersetup operation middleware

func (*ServerInterfaceWrapper) AdminCreateAccessRule

func (siw *ServerInterfaceWrapper) AdminCreateAccessRule(w http.ResponseWriter, r *http.Request)

AdminCreateAccessRule operation middleware

func (*ServerInterfaceWrapper) AdminCreateGroup added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminCreateGroup(w http.ResponseWriter, r *http.Request)

AdminCreateGroup operation middleware

func (*ServerInterfaceWrapper) AdminCreateProvidersetup added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminCreateProvidersetup(w http.ResponseWriter, r *http.Request)

AdminCreateProvidersetup operation middleware

func (*ServerInterfaceWrapper) AdminCreateTargetGroup added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminCreateTargetGroup(w http.ResponseWriter, r *http.Request)

AdminCreateTargetGroup operation middleware

func (siw *ServerInterfaceWrapper) AdminCreateTargetGroupLink(w http.ResponseWriter, r *http.Request)

AdminCreateTargetGroupLink operation middleware

func (*ServerInterfaceWrapper) AdminCreateUser added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminCreateUser(w http.ResponseWriter, r *http.Request)

AdminCreateUser operation middleware

func (*ServerInterfaceWrapper) AdminDeleteGroup

func (siw *ServerInterfaceWrapper) AdminDeleteGroup(w http.ResponseWriter, r *http.Request)

AdminDeleteGroup operation middleware

func (*ServerInterfaceWrapper) AdminDeleteHandler added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminDeleteHandler(w http.ResponseWriter, r *http.Request)

AdminDeleteHandler operation middleware

func (*ServerInterfaceWrapper) AdminDeleteProvidersetup added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminDeleteProvidersetup(w http.ResponseWriter, r *http.Request)

AdminDeleteProvidersetup operation middleware

func (*ServerInterfaceWrapper) AdminDeleteTargetGroup added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminDeleteTargetGroup(w http.ResponseWriter, r *http.Request)

AdminDeleteTargetGroup operation middleware

func (*ServerInterfaceWrapper) AdminGetAccessRule

func (siw *ServerInterfaceWrapper) AdminGetAccessRule(w http.ResponseWriter, r *http.Request)

AdminGetAccessRule operation middleware

func (*ServerInterfaceWrapper) AdminGetAccessRuleVersion

func (siw *ServerInterfaceWrapper) AdminGetAccessRuleVersion(w http.ResponseWriter, r *http.Request)

AdminGetAccessRuleVersion operation middleware

func (*ServerInterfaceWrapper) AdminGetAccessRuleVersions

func (siw *ServerInterfaceWrapper) AdminGetAccessRuleVersions(w http.ResponseWriter, r *http.Request)

AdminGetAccessRuleVersions operation middleware

func (*ServerInterfaceWrapper) AdminGetDeploymentVersion

func (siw *ServerInterfaceWrapper) AdminGetDeploymentVersion(w http.ResponseWriter, r *http.Request)

AdminGetDeploymentVersion operation middleware

func (*ServerInterfaceWrapper) AdminGetGroup added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminGetGroup(w http.ResponseWriter, r *http.Request)

AdminGetGroup operation middleware

func (*ServerInterfaceWrapper) AdminGetHandler added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminGetHandler(w http.ResponseWriter, r *http.Request)

AdminGetHandler operation middleware

func (*ServerInterfaceWrapper) AdminGetIdentityConfiguration added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminGetIdentityConfiguration(w http.ResponseWriter, r *http.Request)

AdminGetIdentityConfiguration operation middleware

func (*ServerInterfaceWrapper) AdminGetProvider added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminGetProvider(w http.ResponseWriter, r *http.Request)

AdminGetProvider operation middleware

func (*ServerInterfaceWrapper) AdminGetProviderArgs added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminGetProviderArgs(w http.ResponseWriter, r *http.Request)

AdminGetProviderArgs operation middleware

func (*ServerInterfaceWrapper) AdminGetProvidersetup added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminGetProvidersetup(w http.ResponseWriter, r *http.Request)

AdminGetProvidersetup operation middleware

func (*ServerInterfaceWrapper) AdminGetProvidersetupInstructions added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminGetProvidersetupInstructions(w http.ResponseWriter, r *http.Request)

AdminGetProvidersetupInstructions operation middleware

func (*ServerInterfaceWrapper) AdminGetRequest

func (siw *ServerInterfaceWrapper) AdminGetRequest(w http.ResponseWriter, r *http.Request)

AdminGetRequest operation middleware

func (*ServerInterfaceWrapper) AdminGetTargetGroup added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminGetTargetGroup(w http.ResponseWriter, r *http.Request)

AdminGetTargetGroup operation middleware

func (*ServerInterfaceWrapper) AdminHealthcheckHandlers added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminHealthcheckHandlers(w http.ResponseWriter, r *http.Request)

AdminHealthcheckHandlers operation middleware

func (*ServerInterfaceWrapper) AdminListAccessRules

func (siw *ServerInterfaceWrapper) AdminListAccessRules(w http.ResponseWriter, r *http.Request)

AdminListAccessRules operation middleware

func (*ServerInterfaceWrapper) AdminListGroups added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminListGroups(w http.ResponseWriter, r *http.Request)

AdminListGroups operation middleware

func (*ServerInterfaceWrapper) AdminListHandlers added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminListHandlers(w http.ResponseWriter, r *http.Request)

AdminListHandlers operation middleware

func (*ServerInterfaceWrapper) AdminListProviderArgOptions added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminListProviderArgOptions(w http.ResponseWriter, r *http.Request)

AdminListProviderArgOptions operation middleware

func (*ServerInterfaceWrapper) AdminListProviders added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminListProviders(w http.ResponseWriter, r *http.Request)

AdminListProviders operation middleware

func (*ServerInterfaceWrapper) AdminListProvidersetups added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminListProvidersetups(w http.ResponseWriter, r *http.Request)

AdminListProvidersetups operation middleware

func (*ServerInterfaceWrapper) AdminListRequests

func (siw *ServerInterfaceWrapper) AdminListRequests(w http.ResponseWriter, r *http.Request)

AdminListRequests operation middleware

func (*ServerInterfaceWrapper) AdminListTargetGroups added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminListTargetGroups(w http.ResponseWriter, r *http.Request)

AdminListTargetGroups operation middleware

func (*ServerInterfaceWrapper) AdminListTargetRoutes added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminListTargetRoutes(w http.ResponseWriter, r *http.Request)

AdminListTargetRoutes operation middleware

func (*ServerInterfaceWrapper) AdminListUsers added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminListUsers(w http.ResponseWriter, r *http.Request)

AdminListUsers operation middleware

func (*ServerInterfaceWrapper) AdminRegisterHandler added in v0.15.0

func (siw *ServerInterfaceWrapper) AdminRegisterHandler(w http.ResponseWriter, r *http.Request)

AdminRegisterHandler operation middleware

func (siw *ServerInterfaceWrapper) AdminRemoveTargetGroupLink(w http.ResponseWriter, r *http.Request)

AdminRemoveTargetGroupLink operation middleware

func (*ServerInterfaceWrapper) AdminSubmitProvidersetupStep added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminSubmitProvidersetupStep(w http.ResponseWriter, r *http.Request)

AdminSubmitProvidersetupStep operation middleware

func (*ServerInterfaceWrapper) AdminSyncIdentity added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminSyncIdentity(w http.ResponseWriter, r *http.Request)

AdminSyncIdentity operation middleware

func (*ServerInterfaceWrapper) AdminUpdateAccessRule

func (siw *ServerInterfaceWrapper) AdminUpdateAccessRule(w http.ResponseWriter, r *http.Request)

AdminUpdateAccessRule operation middleware

func (*ServerInterfaceWrapper) AdminUpdateGroup

func (siw *ServerInterfaceWrapper) AdminUpdateGroup(w http.ResponseWriter, r *http.Request)

AdminUpdateGroup operation middleware

func (*ServerInterfaceWrapper) AdminUpdateUser added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminUpdateUser(w http.ResponseWriter, r *http.Request)

AdminUpdateUser operation middleware

func (*ServerInterfaceWrapper) AdminValidateProvidersetup added in v0.12.0

func (siw *ServerInterfaceWrapper) AdminValidateProvidersetup(w http.ResponseWriter, r *http.Request)

AdminValidateProvidersetup operation middleware

func (*ServerInterfaceWrapper) UserCancelRequest added in v0.12.0

func (siw *ServerInterfaceWrapper) UserCancelRequest(w http.ResponseWriter, r *http.Request)

UserCancelRequest operation middleware

func (*ServerInterfaceWrapper) UserCreateFavorite

func (siw *ServerInterfaceWrapper) UserCreateFavorite(w http.ResponseWriter, r *http.Request)

UserCreateFavorite operation middleware

func (*ServerInterfaceWrapper) UserCreateRequest

func (siw *ServerInterfaceWrapper) UserCreateRequest(w http.ResponseWriter, r *http.Request)

UserCreateRequest operation middleware

func (*ServerInterfaceWrapper) UserDeleteFavorite added in v0.12.0

func (siw *ServerInterfaceWrapper) UserDeleteFavorite(w http.ResponseWriter, r *http.Request)

UserDeleteFavorite operation middleware

func (*ServerInterfaceWrapper) UserGetAccessInstructions added in v0.12.0

func (siw *ServerInterfaceWrapper) UserGetAccessInstructions(w http.ResponseWriter, r *http.Request)

UserGetAccessInstructions operation middleware

func (*ServerInterfaceWrapper) UserGetAccessRule

func (siw *ServerInterfaceWrapper) UserGetAccessRule(w http.ResponseWriter, r *http.Request)

UserGetAccessRule operation middleware

func (*ServerInterfaceWrapper) UserGetAccessRuleApprovers

func (siw *ServerInterfaceWrapper) UserGetAccessRuleApprovers(w http.ResponseWriter, r *http.Request)

UserGetAccessRuleApprovers operation middleware

func (*ServerInterfaceWrapper) UserGetAccessToken added in v0.12.0

func (siw *ServerInterfaceWrapper) UserGetAccessToken(w http.ResponseWriter, r *http.Request)

UserGetAccessToken operation middleware

func (*ServerInterfaceWrapper) UserGetFavorite

func (siw *ServerInterfaceWrapper) UserGetFavorite(w http.ResponseWriter, r *http.Request)

UserGetFavorite operation middleware

func (*ServerInterfaceWrapper) UserGetMe added in v0.12.0

func (siw *ServerInterfaceWrapper) UserGetMe(w http.ResponseWriter, r *http.Request)

UserGetMe operation middleware

func (*ServerInterfaceWrapper) UserGetRequest

func (siw *ServerInterfaceWrapper) UserGetRequest(w http.ResponseWriter, r *http.Request)

UserGetRequest operation middleware

func (*ServerInterfaceWrapper) UserGetUser added in v0.12.0

func (siw *ServerInterfaceWrapper) UserGetUser(w http.ResponseWriter, r *http.Request)

UserGetUser operation middleware

func (*ServerInterfaceWrapper) UserListAccessRules added in v0.12.0

func (siw *ServerInterfaceWrapper) UserListAccessRules(w http.ResponseWriter, r *http.Request)

UserListAccessRules operation middleware

func (*ServerInterfaceWrapper) UserListFavorites

func (siw *ServerInterfaceWrapper) UserListFavorites(w http.ResponseWriter, r *http.Request)

UserListFavorites operation middleware

func (*ServerInterfaceWrapper) UserListRequestEvents added in v0.12.0

func (siw *ServerInterfaceWrapper) UserListRequestEvents(w http.ResponseWriter, r *http.Request)

UserListRequestEvents operation middleware

func (*ServerInterfaceWrapper) UserListRequests

func (siw *ServerInterfaceWrapper) UserListRequests(w http.ResponseWriter, r *http.Request)

UserListRequests operation middleware

func (*ServerInterfaceWrapper) UserListRequestsPast

func (siw *ServerInterfaceWrapper) UserListRequestsPast(w http.ResponseWriter, r *http.Request)

UserListRequestsPast operation middleware

func (*ServerInterfaceWrapper) UserListRequestsUpcoming

func (siw *ServerInterfaceWrapper) UserListRequestsUpcoming(w http.ResponseWriter, r *http.Request)

UserListRequestsUpcoming operation middleware

func (*ServerInterfaceWrapper) UserLookupAccessRule added in v0.12.0

func (siw *ServerInterfaceWrapper) UserLookupAccessRule(w http.ResponseWriter, r *http.Request)

UserLookupAccessRule operation middleware

func (*ServerInterfaceWrapper) UserReviewRequest added in v0.12.0

func (siw *ServerInterfaceWrapper) UserReviewRequest(w http.ResponseWriter, r *http.Request)

UserReviewRequest operation middleware

func (*ServerInterfaceWrapper) UserRevokeRequest added in v0.12.0

func (siw *ServerInterfaceWrapper) UserRevokeRequest(w http.ResponseWriter, r *http.Request)

UserRevokeRequest operation middleware

func (*ServerInterfaceWrapper) UserUpdateFavorite added in v0.12.0

func (siw *ServerInterfaceWrapper) UserUpdateFavorite(w http.ResponseWriter, r *http.Request)

UserUpdateFavorite operation middleware

type TGHandler added in v0.15.0

type TGHandler struct {
	AwsAccount  string       `json:"awsAccount"`
	AwsRegion   string       `json:"awsRegion"`
	Diagnostics []Diagnostic `json:"diagnostics"`
	FunctionArn string       `json:"functionArn"`
	Healthy     bool         `json:"healthy"`
	Id          string       `json:"id"`
	Runtime     string       `json:"runtime"`
}

Handler represents a deployment of a provider. Handlers can be linked to target groups via routes

type TargetArgument added in v0.15.0

type TargetArgument struct {
	Description *string               `json:"description,omitempty"`
	Groups      TargetArgument_Groups `json:"groups"`
	Id          string                `json:"id"`

	// Optional form element for the request form, if not provided, defaults to multiselect
	RequestFormElement TargetArgumentRequestFormElement `json:"requestFormElement"`
	RuleFormElement    TargetArgumentRuleFormElement    `json:"ruleFormElement"`
	Title              string                           `json:"title"`
}

Define the metadata, data type and UI elements for the argument

type TargetArgumentGroup added in v0.15.0

type TargetArgumentGroup struct {
	Description *string `json:"description,omitempty"`
	Id          string  `json:"id"`
	Title       string  `json:"title"`
}

An argument group

type TargetArgumentRequestFormElement added in v0.15.0

type TargetArgumentRequestFormElement string

Optional form element for the request form, if not provided, defaults to multiselect

const (
	TargetArgumentRequestFormElementSELECT TargetArgumentRequestFormElement = "SELECT"
)

Defines values for TargetArgumentRequestFormElement.

type TargetArgumentRuleFormElement added in v0.15.0

type TargetArgumentRuleFormElement string

TargetArgumentRuleFormElement defines model for TargetArgument.RuleFormElement.

const (
	TargetArgumentRuleFormElementINPUT       TargetArgumentRuleFormElement = "INPUT"
	TargetArgumentRuleFormElementMULTISELECT TargetArgumentRuleFormElement = "MULTISELECT"
	TargetArgumentRuleFormElementSELECT      TargetArgumentRuleFormElement = "SELECT"
)

Defines values for TargetArgumentRuleFormElement.

type TargetArgument_Groups added in v0.15.0

type TargetArgument_Groups struct {
	AdditionalProperties map[string]TargetArgumentGroup `json:"-"`
}

TargetArgument_Groups defines model for TargetArgument.Groups.

func (TargetArgument_Groups) Get added in v0.15.0

func (a TargetArgument_Groups) Get(fieldName string) (value TargetArgumentGroup, found bool)

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

func (TargetArgument_Groups) MarshalJSON added in v0.15.0

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

Override default JSON handling for TargetArgument_Groups to handle AdditionalProperties

func (*TargetArgument_Groups) Set added in v0.15.0

func (a *TargetArgument_Groups) Set(fieldName string, value TargetArgumentGroup)

Setter for additional properties for TargetArgument_Groups

func (*TargetArgument_Groups) UnmarshalJSON added in v0.15.0

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

Override default JSON handling for TargetArgument_Groups to handle AdditionalProperties

type TargetGroup added in v0.15.0

type TargetGroup struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Specifies a particular Access Provider to create a Target Group schema from.
	From      TargetGroupFrom `json:"from"`
	Icon      string          `json:"icon"`
	Id        string          `json:"id"`
	Schema    TargetSchema    `json:"schema"`
	UpdatedAt *time.Time      `json:"updatedAt,omitempty"`
}

TargetGroup defines model for TargetGroup.

type TargetGroupFrom added in v0.15.0

type TargetGroupFrom struct {
	Kind      string `json:"kind"`
	Name      string `json:"name"`
	Publisher string `json:"publisher"`
	Version   string `json:"version"`
}

Specifies a particular Access Provider to create a Target Group schema from.

type TargetRoute added in v0.15.0

type TargetRoute struct {
	Diagnostics   []Diagnostic `json:"diagnostics"`
	HandlerId     string       `json:"handlerId"`
	Kind          string       `json:"kind"`
	Priority      int          `json:"priority"`
	TargetGroupId string       `json:"targetGroupId"`
	Valid         bool         `json:"valid"`
}

TargetRoute defines model for TargetRoute.

type TargetSchema added in v0.15.0

type TargetSchema struct {
	AdditionalProperties map[string]TargetArgument `json:"-"`
}

TargetSchema defines model for TargetSchema.

func (TargetSchema) Get added in v0.15.0

func (a TargetSchema) Get(fieldName string) (value TargetArgument, found bool)

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

func (TargetSchema) MarshalJSON added in v0.15.0

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

Override default JSON handling for TargetSchema to handle AdditionalProperties

func (*TargetSchema) Set added in v0.15.0

func (a *TargetSchema) Set(fieldName string, value TargetArgument)

Setter for additional properties for TargetSchema

func (*TargetSchema) UnmarshalJSON added in v0.15.0

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

Override default JSON handling for TargetSchema to handle AdditionalProperties

type TimeConstraints

type TimeConstraints struct {
	// The maximum duration in seconds the access is allowed for.
	MaxDurationSeconds int `json:"maxDurationSeconds"`
}

Time configuration for an Access Rule.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type User

type User struct {
	Email     string    `json:"email"`
	FirstName string    `json:"firstName"`
	Groups    []string  `json:"groups"`
	Id        string    `json:"id"`
	LastName  string    `json:"lastName"`
	Picture   string    `json:"picture"`
	Status    IdpStatus `json:"status"`
	UpdatedAt time.Time `json:"updatedAt"`
}

User defines model for User.

type UserCancelRequestResponse added in v0.13.0

type UserCancelRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseUserCancelRequestResponse added in v0.13.0

func ParseUserCancelRequestResponse(rsp *http.Response) (*UserCancelRequestResponse, error)

ParseUserCancelRequestResponse parses an HTTP response from a UserCancelRequestWithResponse call

func (UserCancelRequestResponse) Status added in v0.13.0

func (r UserCancelRequestResponse) Status() string

Status returns HTTPResponse.Status

func (UserCancelRequestResponse) StatusCode added in v0.13.0

func (r UserCancelRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserCreateFavoriteJSONRequestBody

type UserCreateFavoriteJSONRequestBody CreateFavoriteRequest

UserCreateFavoriteJSONRequestBody defines body for UserCreateFavorite for application/json ContentType.

type UserCreateFavoriteResponse added in v0.13.0

type UserCreateFavoriteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *FavoriteDetail
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseUserCreateFavoriteResponse added in v0.13.0

func ParseUserCreateFavoriteResponse(rsp *http.Response) (*UserCreateFavoriteResponse, error)

ParseUserCreateFavoriteResponse parses an HTTP response from a UserCreateFavoriteWithResponse call

func (UserCreateFavoriteResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserCreateFavoriteResponse) StatusCode added in v0.13.0

func (r UserCreateFavoriteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserCreateRequestJSONRequestBody

type UserCreateRequestJSONRequestBody CreateRequestRequest

UserCreateRequestJSONRequestBody defines body for UserCreateRequest for application/json ContentType.

type UserCreateRequestResponse added in v0.13.0

type UserCreateRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Requests []Request `json:"requests"`
	}
}

func ParseUserCreateRequestResponse added in v0.13.0

func ParseUserCreateRequestResponse(rsp *http.Response) (*UserCreateRequestResponse, error)

ParseUserCreateRequestResponse parses an HTTP response from a UserCreateRequestWithResponse call

func (UserCreateRequestResponse) Status added in v0.13.0

func (r UserCreateRequestResponse) Status() string

Status returns HTTPResponse.Status

func (UserCreateRequestResponse) StatusCode added in v0.13.0

func (r UserCreateRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserDeleteFavoriteResponse added in v0.13.0

type UserDeleteFavoriteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUserDeleteFavoriteResponse added in v0.13.0

func ParseUserDeleteFavoriteResponse(rsp *http.Response) (*UserDeleteFavoriteResponse, error)

ParseUserDeleteFavoriteResponse parses an HTTP response from a UserDeleteFavoriteWithResponse call

func (UserDeleteFavoriteResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserDeleteFavoriteResponse) StatusCode added in v0.13.0

func (r UserDeleteFavoriteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetAccessInstructionsResponse added in v0.13.0

type UserGetAccessInstructionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *externalRef0.AccessInstructions
}

func ParseUserGetAccessInstructionsResponse added in v0.13.0

func ParseUserGetAccessInstructionsResponse(rsp *http.Response) (*UserGetAccessInstructionsResponse, error)

ParseUserGetAccessInstructionsResponse parses an HTTP response from a UserGetAccessInstructionsWithResponse call

func (UserGetAccessInstructionsResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserGetAccessInstructionsResponse) StatusCode added in v0.13.0

func (r UserGetAccessInstructionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetAccessRuleApproversResponse added in v0.13.0

type UserGetAccessRuleApproversResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next  *string  `json:"next"`
		Users []string `json:"users"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
}

func ParseUserGetAccessRuleApproversResponse added in v0.13.0

func ParseUserGetAccessRuleApproversResponse(rsp *http.Response) (*UserGetAccessRuleApproversResponse, error)

ParseUserGetAccessRuleApproversResponse parses an HTTP response from a UserGetAccessRuleApproversWithResponse call

func (UserGetAccessRuleApproversResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserGetAccessRuleApproversResponse) StatusCode added in v0.13.0

func (r UserGetAccessRuleApproversResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetAccessRuleResponse added in v0.13.0

type UserGetAccessRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RequestAccessRule
	JSON401      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
}

func ParseUserGetAccessRuleResponse added in v0.13.0

func ParseUserGetAccessRuleResponse(rsp *http.Response) (*UserGetAccessRuleResponse, error)

ParseUserGetAccessRuleResponse parses an HTTP response from a UserGetAccessRuleWithResponse call

func (UserGetAccessRuleResponse) Status added in v0.13.0

func (r UserGetAccessRuleResponse) Status() string

Status returns HTTPResponse.Status

func (UserGetAccessRuleResponse) StatusCode added in v0.13.0

func (r UserGetAccessRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetAccessTokenResponse added in v0.13.0

type UserGetAccessTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		HasToken bool    `json:"hasToken"`
		Token    *string `json:"token,omitempty"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseUserGetAccessTokenResponse added in v0.13.0

func ParseUserGetAccessTokenResponse(rsp *http.Response) (*UserGetAccessTokenResponse, error)

ParseUserGetAccessTokenResponse parses an HTTP response from a UserGetAccessTokenWithResponse call

func (UserGetAccessTokenResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserGetAccessTokenResponse) StatusCode added in v0.13.0

func (r UserGetAccessTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetFavoriteResponse added in v0.13.0

type UserGetFavoriteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FavoriteDetail
	JSON404      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseUserGetFavoriteResponse added in v0.13.0

func ParseUserGetFavoriteResponse(rsp *http.Response) (*UserGetFavoriteResponse, error)

ParseUserGetFavoriteResponse parses an HTTP response from a UserGetFavoriteWithResponse call

func (UserGetFavoriteResponse) Status added in v0.13.0

func (r UserGetFavoriteResponse) Status() string

Status returns HTTPResponse.Status

func (UserGetFavoriteResponse) StatusCode added in v0.13.0

func (r UserGetFavoriteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetMeResponse added in v0.13.0

type UserGetMeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Whether the user is an administrator of Common Fate.
		IsAdmin bool `json:"isAdmin"`
		User    User `json:"user"`
	}
}

func ParseUserGetMeResponse added in v0.13.0

func ParseUserGetMeResponse(rsp *http.Response) (*UserGetMeResponse, error)

ParseUserGetMeResponse parses an HTTP response from a UserGetMeWithResponse call

func (UserGetMeResponse) Status added in v0.13.0

func (r UserGetMeResponse) Status() string

Status returns HTTPResponse.Status

func (UserGetMeResponse) StatusCode added in v0.13.0

func (r UserGetMeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetRequestResponse added in v0.13.0

type UserGetRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RequestDetail
	JSON404      *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseUserGetRequestResponse added in v0.13.0

func ParseUserGetRequestResponse(rsp *http.Response) (*UserGetRequestResponse, error)

ParseUserGetRequestResponse parses an HTTP response from a UserGetRequestWithResponse call

func (UserGetRequestResponse) Status added in v0.13.0

func (r UserGetRequestResponse) Status() string

Status returns HTTPResponse.Status

func (UserGetRequestResponse) StatusCode added in v0.13.0

func (r UserGetRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetUserResponse added in v0.13.0

type UserGetUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
}

func ParseUserGetUserResponse added in v0.13.0

func ParseUserGetUserResponse(rsp *http.Response) (*UserGetUserResponse, error)

ParseUserGetUserResponse parses an HTTP response from a UserGetUserWithResponse call

func (UserGetUserResponse) Status added in v0.13.0

func (r UserGetUserResponse) Status() string

Status returns HTTPResponse.Status

func (UserGetUserResponse) StatusCode added in v0.13.0

func (r UserGetUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserListAccessRulesResponse added in v0.13.0

type UserListAccessRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AccessRules []AccessRule `json:"accessRules"`
		Next        *string      `json:"next"`
	}
}

func ParseUserListAccessRulesResponse added in v0.13.0

func ParseUserListAccessRulesResponse(rsp *http.Response) (*UserListAccessRulesResponse, error)

ParseUserListAccessRulesResponse parses an HTTP response from a UserListAccessRulesWithResponse call

func (UserListAccessRulesResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserListAccessRulesResponse) StatusCode added in v0.13.0

func (r UserListAccessRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserListFavoritesResponse added in v0.13.0

type UserListFavoritesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Favorites []Favorite `json:"favorites"`
		Next      *string    `json:"next"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseUserListFavoritesResponse added in v0.13.0

func ParseUserListFavoritesResponse(rsp *http.Response) (*UserListFavoritesResponse, error)

ParseUserListFavoritesResponse parses an HTTP response from a UserListFavoritesWithResponse call

func (UserListFavoritesResponse) Status added in v0.13.0

func (r UserListFavoritesResponse) Status() string

Status returns HTTPResponse.Status

func (UserListFavoritesResponse) StatusCode added in v0.13.0

func (r UserListFavoritesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserListRequestEventsResponse added in v0.13.0

type UserListRequestEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Events []RequestEvent `json:"events"`
		Next   *string        `json:"next"`
	}
	JSON401 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseUserListRequestEventsResponse added in v0.13.0

func ParseUserListRequestEventsResponse(rsp *http.Response) (*UserListRequestEventsResponse, error)

ParseUserListRequestEventsResponse parses an HTTP response from a UserListRequestEventsWithResponse call

func (UserListRequestEventsResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserListRequestEventsResponse) StatusCode added in v0.13.0

func (r UserListRequestEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserListRequestsParams

type UserListRequestsParams struct {
	// omit this param to view all results
	Status *UserListRequestsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// show requests that the user is a reviewer for, rather than requests that the user has made themselves
	Reviewer *bool `form:"reviewer,omitempty" json:"reviewer,omitempty"`

	// encrypted token containing pagination info
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}

UserListRequestsParams defines parameters for UserListRequests.

type UserListRequestsParamsStatus

type UserListRequestsParamsStatus string

UserListRequestsParamsStatus defines parameters for UserListRequests.

type UserListRequestsPastParams

type UserListRequestsPastParams struct {
	// encrypted token containing pagination info
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}

UserListRequestsPastParams defines parameters for UserListRequestsPast.

type UserListRequestsPastResponse added in v0.13.0

type UserListRequestsPastResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next     *string   `json:"next"`
		Requests []Request `json:"requests"`
	}
}

func ParseUserListRequestsPastResponse added in v0.13.0

func ParseUserListRequestsPastResponse(rsp *http.Response) (*UserListRequestsPastResponse, error)

ParseUserListRequestsPastResponse parses an HTTP response from a UserListRequestsPastWithResponse call

func (UserListRequestsPastResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserListRequestsPastResponse) StatusCode added in v0.13.0

func (r UserListRequestsPastResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserListRequestsResponse added in v0.13.0

type UserListRequestsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next     *string   `json:"next"`
		Requests []Request `json:"requests"`
	}
}

func ParseUserListRequestsResponse added in v0.13.0

func ParseUserListRequestsResponse(rsp *http.Response) (*UserListRequestsResponse, error)

ParseUserListRequestsResponse parses an HTTP response from a UserListRequestsWithResponse call

func (UserListRequestsResponse) Status added in v0.13.0

func (r UserListRequestsResponse) Status() string

Status returns HTTPResponse.Status

func (UserListRequestsResponse) StatusCode added in v0.13.0

func (r UserListRequestsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserListRequestsUpcomingParams

type UserListRequestsUpcomingParams struct {
	// encrypted token containing pagination info
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}

UserListRequestsUpcomingParams defines parameters for UserListRequestsUpcoming.

type UserListRequestsUpcomingResponse added in v0.13.0

type UserListRequestsUpcomingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Next     *string   `json:"next"`
		Requests []Request `json:"requests"`
	}
}

func ParseUserListRequestsUpcomingResponse added in v0.13.0

func ParseUserListRequestsUpcomingResponse(rsp *http.Response) (*UserListRequestsUpcomingResponse, error)

ParseUserListRequestsUpcomingResponse parses an HTTP response from a UserListRequestsUpcomingWithResponse call

func (UserListRequestsUpcomingResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserListRequestsUpcomingResponse) StatusCode added in v0.13.0

func (r UserListRequestsUpcomingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserLookupAccessRuleParams added in v0.12.0

type UserLookupAccessRuleParams struct {
	// the provider type i.e. commonfate/aws-sso. type should be encoded i.e.  backslash -> %2
	Type *UserLookupAccessRuleParamsType `form:"type,omitempty" json:"type,omitempty"`

	// the permissionSetArn label, typically resembles a role name i.e. AdminstratorAccess
	PermissionSetArnLabel *string `form:"permissionSetArn.label,omitempty" json:"permissionSetArn.label,omitempty"`

	// the aws account id
	AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
}

UserLookupAccessRuleParams defines parameters for UserLookupAccessRule.

type UserLookupAccessRuleParamsType added in v0.12.0

type UserLookupAccessRuleParamsType string

UserLookupAccessRuleParamsType defines parameters for UserLookupAccessRule.

type UserLookupAccessRuleResponse added in v0.13.0

type UserLookupAccessRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]LookupAccessRule
	JSON404      *struct {
		Error string `json:"error"`
	}
}

func ParseUserLookupAccessRuleResponse added in v0.13.0

func ParseUserLookupAccessRuleResponse(rsp *http.Response) (*UserLookupAccessRuleResponse, error)

ParseUserLookupAccessRuleResponse parses an HTTP response from a UserLookupAccessRuleWithResponse call

func (UserLookupAccessRuleResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserLookupAccessRuleResponse) StatusCode added in v0.13.0

func (r UserLookupAccessRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserReviewRequestJSONRequestBody added in v0.12.0

type UserReviewRequestJSONRequestBody ReviewRequest

UserReviewRequestJSONRequestBody defines body for UserReviewRequest for application/json ContentType.

type UserReviewRequestResponse added in v0.13.0

type UserReviewRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// A request to access something made by an end user in Common Fate.
		Request *Request `json:"request,omitempty"`
	}
}

func ParseUserReviewRequestResponse added in v0.13.0

func ParseUserReviewRequestResponse(rsp *http.Response) (*UserReviewRequestResponse, error)

ParseUserReviewRequestResponse parses an HTTP response from a UserReviewRequestWithResponse call

func (UserReviewRequestResponse) Status added in v0.13.0

func (r UserReviewRequestResponse) Status() string

Status returns HTTPResponse.Status

func (UserReviewRequestResponse) StatusCode added in v0.13.0

func (r UserReviewRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserRevokeRequestResponse added in v0.13.0

type UserRevokeRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {
		Error string `json:"error"`
	}
	JSON404 *struct {
		Error string `json:"error"`
	}
	JSON500 *struct {
		Error string `json:"error"`
	}
}

func ParseUserRevokeRequestResponse added in v0.13.0

func ParseUserRevokeRequestResponse(rsp *http.Response) (*UserRevokeRequestResponse, error)

ParseUserRevokeRequestResponse parses an HTTP response from a UserRevokeRequestWithResponse call

func (UserRevokeRequestResponse) Status added in v0.13.0

func (r UserRevokeRequestResponse) Status() string

Status returns HTTPResponse.Status

func (UserRevokeRequestResponse) StatusCode added in v0.13.0

func (r UserRevokeRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserUpdateFavoriteJSONRequestBody added in v0.12.0

type UserUpdateFavoriteJSONRequestBody CreateFavoriteRequest

UserUpdateFavoriteJSONRequestBody defines body for UserUpdateFavorite for application/json ContentType.

type UserUpdateFavoriteResponse added in v0.13.0

type UserUpdateFavoriteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FavoriteDetail
}

func ParseUserUpdateFavoriteResponse added in v0.13.0

func ParseUserUpdateFavoriteResponse(rsp *http.Response) (*UserUpdateFavoriteResponse, error)

ParseUserUpdateFavoriteResponse parses an HTTP response from a UserUpdateFavoriteWithResponse call

func (UserUpdateFavoriteResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (UserUpdateFavoriteResponse) StatusCode added in v0.13.0

func (r UserUpdateFavoriteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type With

type With struct {
	FieldDescription  *string `json:"fieldDescription,omitempty"`
	Label             string  `json:"label"`
	OptionDescription *string `json:"optionDescription,omitempty"`
	Title             string  `json:"title"`
	Value             string  `json:"value"`
}

With defines model for With.

type WithOption

type WithOption struct {
	Description *string `json:"description,omitempty"`
	Label       string  `json:"label"`
	Valid       bool    `json:"valid"`
	Value       string  `json:"value"`
}

WithOption defines model for WithOption.

Jump to

Keyboard shortcuts

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