storage

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAccessRuleCurrent

type GetAccessRuleCurrent struct {
	ID     string
	Result *rule.AccessRule
}

func (*GetAccessRuleCurrent) BuildQuery

func (g *GetAccessRuleCurrent) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetAccessRuleCurrent) UnmarshalQueryOutput

func (g *GetAccessRuleCurrent) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetAccessRuleVersion

type GetAccessRuleVersion struct {
	ID        string
	VersionID string
	Result    *rule.AccessRule
}

func (*GetAccessRuleVersion) BuildQuery

func (g *GetAccessRuleVersion) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetAccessRuleVersion) UnmarshalQueryOutput

func (g *GetAccessRuleVersion) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetAccessToken

type GetAccessToken struct {
	RequestID string
	Result    *access.AccessToken
}

func (*GetAccessToken) BuildQuery

func (g *GetAccessToken) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetAccessToken) UnmarshalQueryOutput

func (g *GetAccessToken) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetAccessTokenByToken

type GetAccessTokenByToken struct {
	Token  string
	Result *access.AccessToken
}

func (*GetAccessTokenByToken) BuildQuery

func (g *GetAccessTokenByToken) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetAccessTokenByToken) UnmarshalQueryOutput

func (g *GetAccessTokenByToken) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetCachedProviderArgGroupOptionValueForArg

type GetCachedProviderArgGroupOptionValueForArg struct {
	ProviderID string
	ArgID      string
	GroupId    string
	GroupValue string
	Result     *cache.ProviderArgGroupOption
}

func (*GetCachedProviderArgGroupOptionValueForArg) BuildQuery

func (*GetCachedProviderArgGroupOptionValueForArg) UnmarshalQueryOutput

type GetCachedTargetGroupResource added in v0.15.0

type GetCachedTargetGroupResource struct {
	TargetGroupID string
	ResourceType  string
	ResourceID    string
	Result        *cache.TargateGroupResource
}

func (*GetCachedTargetGroupResource) BuildQuery added in v0.15.0

func (*GetCachedTargetGroupResource) UnmarshalQueryOutput added in v0.15.0

func (q *GetCachedTargetGroupResource) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetFavoriteForUser

type GetFavoriteForUser struct {
	ID     string
	UserID string
	Result *access.Favorite
}

func (*GetFavoriteForUser) BuildQuery

func (b *GetFavoriteForUser) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetFavoriteForUser) UnmarshalQueryOutput

func (g *GetFavoriteForUser) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetGroup

type GetGroup struct {
	ID     string
	Result *identity.Group
}

func (*GetGroup) BuildQuery

func (g *GetGroup) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetGroup) UnmarshalQueryOutput

func (g *GetGroup) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetHandler added in v0.15.0

type GetHandler struct {
	ID     string
	Result *handler.Handler `ddb:"result"`
}

func (*GetHandler) BuildQuery added in v0.15.0

func (g *GetHandler) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetHandler) UnmarshalQueryOutput added in v0.15.0

func (g *GetHandler) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetProviderSetup

type GetProviderSetup struct {
	ID     string
	Result *providersetup.Setup
}

func (*GetProviderSetup) BuildQuery

func (g *GetProviderSetup) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetProviderSetup) UnmarshalQueryOutput

func (g *GetProviderSetup) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetRequest

type GetRequest struct {
	ID     string
	Result *access.Request
}

func (*GetRequest) BuildQuery

func (g *GetRequest) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetRequest) UnmarshalQueryOutput

func (g *GetRequest) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetRequestInstructions added in v0.15.0

type GetRequestInstructions struct {
	ID     string
	Result *access.Instructions
}

func (*GetRequestInstructions) BuildQuery added in v0.15.0

func (g *GetRequestInstructions) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetRequestInstructions) UnmarshalQueryOutput added in v0.15.0

func (g *GetRequestInstructions) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetRequestReviewer

type GetRequestReviewer struct {
	RequestID  string
	ReviewerID string
	Result     *access.Reviewer
}

func (*GetRequestReviewer) BuildQuery

func (g *GetRequestReviewer) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetRequestReviewer) UnmarshalQueryOutput

func (g *GetRequestReviewer) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetTargetGroup added in v0.15.0

type GetTargetGroup struct {
	ID     string
	Result *target.Group `ddb:"result"`
}

func (*GetTargetGroup) BuildQuery added in v0.15.0

func (g *GetTargetGroup) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetTargetGroup) UnmarshalQueryOutput added in v0.15.0

func (g *GetTargetGroup) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetUser

type GetUser struct {
	ID     string
	Result *identity.User
}

func (*GetUser) BuildQuery

func (u *GetUser) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetUser) UnmarshalQueryOutput

func (g *GetUser) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type GetUserByEmail

type GetUserByEmail struct {
	Email  string
	Result *identity.User
}

func (*GetUserByEmail) BuildQuery

func (u *GetUserByEmail) BuildQuery() (*dynamodb.QueryInput, error)

func (*GetUserByEmail) UnmarshalQueryOutput

func (g *GetUserByEmail) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type ListAccessRuleVersions

type ListAccessRuleVersions struct {
	ID     string
	Result []rule.AccessRule `ddb:"result"`
}

func (*ListAccessRuleVersions) BuildQuery

func (l *ListAccessRuleVersions) BuildQuery() (*dynamodb.QueryInput, error)

type ListAccessRulesForStatus

type ListAccessRulesForStatus struct {
	Status rule.Status
	Result []rule.AccessRule `ddb:"result"`
}

func (*ListAccessRulesForStatus) BuildQuery

func (l *ListAccessRulesForStatus) BuildQuery() (*dynamodb.QueryInput, error)

type ListAllCachedProviderArgGroupOptions

type ListAllCachedProviderArgGroupOptions struct {
	ProviderID string
	Result     []cache.ProviderArgGroupOption
}

func (*ListAllCachedProviderArgGroupOptions) BuildQuery

func (*ListAllCachedProviderArgGroupOptions) UnmarshalQueryOutput

func (q *ListAllCachedProviderArgGroupOptions) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type ListCachedProviderArgGroupOptionsForArg

type ListCachedProviderArgGroupOptionsForArg struct {
	ProviderID string
	ArgID      string
	Result     []cache.ProviderArgGroupOption
}

func (*ListCachedProviderArgGroupOptionsForArg) BuildQuery

func (*ListCachedProviderArgGroupOptionsForArg) UnmarshalQueryOutput

func (q *ListCachedProviderArgGroupOptionsForArg) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type ListCachedProviderArgGroupOptionsForArgAndGroup

type ListCachedProviderArgGroupOptionsForArgAndGroup struct {
	ProviderID string
	ArgID      string
	GroupID    string
	Result     []cache.ProviderArgGroupOption
}

func (*ListCachedProviderArgGroupOptionsForArgAndGroup) BuildQuery

func (*ListCachedProviderArgGroupOptionsForArgAndGroup) UnmarshalQueryOutput

type ListCachedProviderOptions

type ListCachedProviderOptions struct {
	ProviderID string
	Result     []cache.ProviderOption
}

func (*ListCachedProviderOptions) BuildQuery

func (q *ListCachedProviderOptions) BuildQuery() (*dynamodb.QueryInput, error)

func (*ListCachedProviderOptions) UnmarshalQueryOutput

func (q *ListCachedProviderOptions) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type ListCachedProviderOptionsForArg

type ListCachedProviderOptionsForArg struct {
	ProviderID string
	ArgID      string
	Result     []cache.ProviderOption
}

func (*ListCachedProviderOptionsForArg) BuildQuery

func (*ListCachedProviderOptionsForArg) UnmarshalQueryOutput

func (q *ListCachedProviderOptionsForArg) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type ListCachedTargetGroupResource added in v0.15.0

type ListCachedTargetGroupResource struct {
	TargetGroupID string
	ResourceType  string
	Result        []cache.TargateGroupResource
}

func (*ListCachedTargetGroupResource) BuildQuery added in v0.15.0

func (*ListCachedTargetGroupResource) UnmarshalQueryOutput added in v0.15.0

func (q *ListCachedTargetGroupResource) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type ListCurrentAccessRules

type ListCurrentAccessRules struct {
	Result []rule.AccessRule `ddb:"result"`
}

func (*ListCurrentAccessRules) BuildQuery

func (l *ListCurrentAccessRules) BuildQuery() (*dynamodb.QueryInput, error)

type ListFavoritesForUser

type ListFavoritesForUser struct {
	UserID string
	Result []access.Favorite `ddb:"result"`
}

func (*ListFavoritesForUser) BuildQuery

func (l *ListFavoritesForUser) BuildQuery() (*dynamodb.QueryInput, error)

type ListGroups

type ListGroups struct {
	Result []identity.Group `ddb:"result"`
}

func (*ListGroups) BuildQuery

func (l *ListGroups) BuildQuery() (*dynamodb.QueryInput, error)

type ListGroupsForSourceAndStatus

type ListGroupsForSourceAndStatus struct {
	Result []identity.Group `ddb:"result"`
	Source string
	Status gendTypes.IdpStatus
}

func (*ListGroupsForSourceAndStatus) BuildQuery

type ListGroupsForStatus

type ListGroupsForStatus struct {
	Result []identity.Group `ddb:"result"`
	Status gendTypes.IdpStatus
}

func (*ListGroupsForStatus) BuildQuery

func (l *ListGroupsForStatus) BuildQuery() (*dynamodb.QueryInput, error)

type ListHandlers added in v0.15.0

type ListHandlers struct {
	Result []handler.Handler `ddb:"result"`
}

func (*ListHandlers) BuildQuery added in v0.15.0

func (l *ListHandlers) BuildQuery() (*dynamodb.QueryInput, error)

type ListProviderSetupSteps

type ListProviderSetupSteps struct {
	SetupID string
	Result  []providersetup.Step `ddb:"result"`
}

func (*ListProviderSetupSteps) BuildQuery

func (l *ListProviderSetupSteps) BuildQuery() (*dynamodb.QueryInput, error)

type ListProviderSetups

type ListProviderSetups struct {
	Result []providersetup.Setup `ddb:"result"`
}

func (*ListProviderSetups) BuildQuery

func (l *ListProviderSetups) BuildQuery() (*dynamodb.QueryInput, error)

type ListProviderSetupsForType

type ListProviderSetupsForType struct {
	Type   string
	Result []providersetup.Setup `ddb:"result"`
}

func (*ListProviderSetupsForType) BuildQuery

func (l *ListProviderSetupsForType) BuildQuery() (*dynamodb.QueryInput, error)

type ListRequestEvents

type ListRequestEvents struct {
	RequestID string
	Result    []access.RequestEvent `ddb:"result"`
}

func (*ListRequestEvents) BuildQuery

func (l *ListRequestEvents) BuildQuery() (*dynamodb.QueryInput, error)

type ListRequestReviewers

type ListRequestReviewers struct {
	RequestID string
	Result    []access.Reviewer `ddb:"result"`
}

func (*ListRequestReviewers) BuildQuery

func (g *ListRequestReviewers) BuildQuery() (*dynamodb.QueryInput, error)

type ListRequests

type ListRequests struct {
	Result []access.Request `ddb:"result"`
}

func (*ListRequests) BuildQuery

func (l *ListRequests) BuildQuery() (*dynamodb.QueryInput, error)

type ListRequestsForReviewer

type ListRequestsForReviewer struct {
	ReviewerID string
	Result     []access.Request `ddb:"result"`
}

func (*ListRequestsForReviewer) BuildQuery

func (l *ListRequestsForReviewer) BuildQuery() (*dynamodb.QueryInput, error)

func (*ListRequestsForReviewer) UnmarshalQueryOutput

func (g *ListRequestsForReviewer) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type ListRequestsForReviewerAndStatus

type ListRequestsForReviewerAndStatus struct {
	ReviewerID string
	Status     access.Status
	Result     []access.Request `ddb:"result"`
}

func (*ListRequestsForReviewerAndStatus) BuildQuery

func (*ListRequestsForReviewerAndStatus) UnmarshalQueryOutput

func (g *ListRequestsForReviewerAndStatus) UnmarshalQueryOutput(out *dynamodb.QueryOutput) error

type ListRequestsForStatus

type ListRequestsForStatus struct {
	Status access.Status
	Result []access.Request `ddb:"result"`
}

func (*ListRequestsForStatus) BuildQuery

func (l *ListRequestsForStatus) BuildQuery() (*dynamodb.QueryInput, error)

type ListRequestsForUser

type ListRequestsForUser struct {
	UserId string
	Result []access.Request `ddb:"result"`
}

func (*ListRequestsForUser) BuildQuery

func (g *ListRequestsForUser) BuildQuery() (*dynamodb.QueryInput, error)

type ListRequestsForUserAndRequestend

type ListRequestsForUserAndRequestend struct {
	UserID               string
	RequestEndComparator RequestEndComparator
	CompareTo            time.Time
	Result               []access.Request `ddb:"result"`
}

See the access.Request.DDBKeys for a comment explaining what the endtime represents for requests

func (*ListRequestsForUserAndRequestend) BuildQuery

type ListRequestsForUserAndRuleAndRequestend

type ListRequestsForUserAndRuleAndRequestend struct {
	UserID               string
	RuleID               string
	RequestEndComparator RequestEndComparator
	CompareTo            time.Time
	Result               []access.Request `ddb:"result"`
}

See the access.Request.DDBKeys for a comment explaining what the endtime represents for requests

func (*ListRequestsForUserAndRuleAndRequestend) BuildQuery

type ListRequestsForUserAndStatus

type ListRequestsForUserAndStatus struct {
	Status access.Status
	UserId string
	Result []access.Request `ddb:"result"`
}

func (*ListRequestsForUserAndStatus) BuildQuery

type ListTargetGroups added in v0.15.0

type ListTargetGroups struct {
	Result []target.Group `ddb:"result"`
}

func (*ListTargetGroups) BuildQuery added in v0.15.0

func (l *ListTargetGroups) BuildQuery() (*dynamodb.QueryInput, error)

type ListTargetRoutes added in v0.15.0

type ListTargetRoutes struct {
	Result []target.Route `ddb:"result"`
}

func (*ListTargetRoutes) BuildQuery added in v0.15.0

func (l *ListTargetRoutes) BuildQuery() (*dynamodb.QueryInput, error)

type ListTargetRoutesForGroup added in v0.15.0

type ListTargetRoutesForGroup struct {
	Group  string
	Result []target.Route `ddb:"result"`
}

func (*ListTargetRoutesForGroup) BuildQuery added in v0.15.0

func (l *ListTargetRoutesForGroup) BuildQuery() (*dynamodb.QueryInput, error)

type ListTargetRoutesForHandler added in v0.15.0

type ListTargetRoutesForHandler struct {
	Handler string
	Result  []target.Route `ddb:"result"`
}

func (*ListTargetRoutesForHandler) BuildQuery added in v0.15.0

type ListUsers

type ListUsers struct {
	Result []identity.User `ddb:"result"`
}

func (*ListUsers) BuildQuery

func (l *ListUsers) BuildQuery() (*dynamodb.QueryInput, error)

type ListUsersForStatus

type ListUsersForStatus struct {
	Result []identity.User `ddb:"result"`
	Status gendTypes.IdpStatus
}

func (*ListUsersForStatus) BuildQuery

func (l *ListUsersForStatus) BuildQuery() (*dynamodb.QueryInput, error)

type ListValidTargetRoutesForGroupByPriority added in v0.15.0

type ListValidTargetRoutesForGroupByPriority struct {
	Group  string
	Result []target.Route `ddb:"result"`
}

func (*ListValidTargetRoutesForGroupByPriority) BuildQuery added in v0.15.0

type RequestEndComparator

type RequestEndComparator string
const (
	LessThan         RequestEndComparator = "<"
	LessThanEqual    RequestEndComparator = "<="
	GreaterThan      RequestEndComparator = ">"
	GreaterThanEqual RequestEndComparator = ">="
)

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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