Documentation ¶
Index ¶
- type AzureRoleActiveAssignment
- func (a *AzureRoleActiveAssignment) Condition() string
- func (a *AzureRoleActiveAssignment) EndTime() string
- func (a *AzureRoleActiveAssignment) Membership() string
- func (a *AzureRoleActiveAssignment) Resource() string
- func (a *AzureRoleActiveAssignment) ResourceType() string
- func (a *AzureRoleActiveAssignment) Role() string
- func (a *AzureRoleActiveAssignment) Scope() string
- func (a *AzureRoleActiveAssignment) State() string
- type AzureRoleActiveAssignments
- type AzureRoleAssignmentRequest
- func (a *AzureRoleAssignmentRequest) Condition() string
- func (a *AzureRoleAssignmentRequest) EndTime() string
- func (a *AzureRoleAssignmentRequest) Justification() string
- func (a *AzureRoleAssignmentRequest) PrincipalEmail() string
- func (a *AzureRoleAssignmentRequest) Reason() string
- func (a *AzureRoleAssignmentRequest) RequestStatus() string
- func (a *AzureRoleAssignmentRequest) RequestTime() string
- func (a *AzureRoleAssignmentRequest) RequestType() string
- func (a *AzureRoleAssignmentRequest) Requestor() string
- func (a *AzureRoleAssignmentRequest) Resource() string
- func (a *AzureRoleAssignmentRequest) ResourceType() string
- func (a *AzureRoleAssignmentRequest) Role() string
- func (a *AzureRoleAssignmentRequest) Scope() string
- func (a *AzureRoleAssignmentRequest) StartTime() string
- type AzureRoleAssignmentRequests
- type AzureRoleAssignmentRequestsFilter
- type AzureRoleEligibleAssignment
- func (a *AzureRoleEligibleAssignment) Condition() string
- func (a *AzureRoleEligibleAssignment) EndTime() string
- func (a *AzureRoleEligibleAssignment) Membership() string
- func (a *AzureRoleEligibleAssignment) Resource() string
- func (a *AzureRoleEligibleAssignment) ResourceType() string
- func (a *AzureRoleEligibleAssignment) Role() string
- func (a *AzureRoleEligibleAssignment) RoleDefinitionID() string
- func (a *AzureRoleEligibleAssignment) Scope() string
- type AzureRoleEligibleAssignments
- type Client
- func (c *Client) GetCurrentUserPrincipalID(ctx context.Context) (string, error)
- func (c *Client) PIMAzureRoleActiveAssignments(ctx context.Context) (AzureRoleActiveAssignments, error)
- func (c *Client) PIMAzureRoleApprovalRequests(ctx context.Context) (AzureRoleAssignmentRequests, error)
- func (c *Client) PIMAzureRoleAssignmentApprovalByApprovalID(ctx context.Context, approvalID string, justification string, ...) error
- func (c *Client) PIMAzureRoleAssignmentRequests(ctx context.Context) (AzureRoleAssignmentRequests, error)
- func (c *Client) PIMAzureRoleAssignmentScheduleRequest(ctx context.Context, principalID string, roleDefinitionID string, ...) (string, error)
- func (c *Client) PIMAzureRoleEligibleAssignments(ctx context.Context) (AzureRoleEligibleAssignments, error)
- func (c *Client) PIMAzureRoleGetMaximumExpirationByRoleID(ctx context.Context, scope string, roleDefinitionID string) (string, error)
- type ReviewResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureRoleActiveAssignment ¶
type AzureRoleActiveAssignment armauthorization.RoleAssignmentScheduleInstance
func (*AzureRoleActiveAssignment) Condition ¶
func (a *AzureRoleActiveAssignment) Condition() string
func (*AzureRoleActiveAssignment) EndTime ¶
func (a *AzureRoleActiveAssignment) EndTime() string
func (*AzureRoleActiveAssignment) Membership ¶
func (a *AzureRoleActiveAssignment) Membership() string
func (*AzureRoleActiveAssignment) Resource ¶
func (a *AzureRoleActiveAssignment) Resource() string
func (*AzureRoleActiveAssignment) ResourceType ¶
func (a *AzureRoleActiveAssignment) ResourceType() string
func (*AzureRoleActiveAssignment) Role ¶
func (a *AzureRoleActiveAssignment) Role() string
func (*AzureRoleActiveAssignment) Scope ¶
func (a *AzureRoleActiveAssignment) Scope() string
func (*AzureRoleActiveAssignment) State ¶
func (a *AzureRoleActiveAssignment) State() string
type AzureRoleActiveAssignments ¶
type AzureRoleActiveAssignments []AzureRoleActiveAssignment
type AzureRoleAssignmentRequest ¶
type AzureRoleAssignmentRequest armauthorization.RoleAssignmentScheduleRequest
func (*AzureRoleAssignmentRequest) Condition ¶
func (a *AzureRoleAssignmentRequest) Condition() string
func (*AzureRoleAssignmentRequest) EndTime ¶
func (a *AzureRoleAssignmentRequest) EndTime() string
func (*AzureRoleAssignmentRequest) Justification ¶
func (a *AzureRoleAssignmentRequest) Justification() string
func (*AzureRoleAssignmentRequest) PrincipalEmail ¶
func (a *AzureRoleAssignmentRequest) PrincipalEmail() string
func (*AzureRoleAssignmentRequest) Reason ¶
func (a *AzureRoleAssignmentRequest) Reason() string
func (*AzureRoleAssignmentRequest) RequestStatus ¶
func (a *AzureRoleAssignmentRequest) RequestStatus() string
func (*AzureRoleAssignmentRequest) RequestTime ¶
func (a *AzureRoleAssignmentRequest) RequestTime() string
func (*AzureRoleAssignmentRequest) RequestType ¶
func (a *AzureRoleAssignmentRequest) RequestType() string
func (*AzureRoleAssignmentRequest) Requestor ¶
func (a *AzureRoleAssignmentRequest) Requestor() string
func (*AzureRoleAssignmentRequest) Resource ¶
func (a *AzureRoleAssignmentRequest) Resource() string
func (*AzureRoleAssignmentRequest) ResourceType ¶
func (a *AzureRoleAssignmentRequest) ResourceType() string
func (*AzureRoleAssignmentRequest) Role ¶
func (a *AzureRoleAssignmentRequest) Role() string
func (*AzureRoleAssignmentRequest) Scope ¶
func (a *AzureRoleAssignmentRequest) Scope() string
func (*AzureRoleAssignmentRequest) StartTime ¶
func (a *AzureRoleAssignmentRequest) StartTime() string
type AzureRoleAssignmentRequests ¶
type AzureRoleAssignmentRequests []AzureRoleAssignmentRequest
type AzureRoleAssignmentRequestsFilter ¶
type AzureRoleAssignmentRequestsFilter string
const ( AzureRoleAssignmentRequestsFilterApprover AzureRoleAssignmentRequestsFilter = "asApprover()" AzureRoleAssignmentRequestsFilterTarget AzureRoleAssignmentRequestsFilter = "asTarget()" )
type AzureRoleEligibleAssignment ¶
type AzureRoleEligibleAssignment armauthorization.RoleEligibilityScheduleInstance
func (*AzureRoleEligibleAssignment) Condition ¶
func (a *AzureRoleEligibleAssignment) Condition() string
func (*AzureRoleEligibleAssignment) EndTime ¶
func (a *AzureRoleEligibleAssignment) EndTime() string
func (*AzureRoleEligibleAssignment) Membership ¶
func (a *AzureRoleEligibleAssignment) Membership() string
func (*AzureRoleEligibleAssignment) Resource ¶
func (a *AzureRoleEligibleAssignment) Resource() string
func (*AzureRoleEligibleAssignment) ResourceType ¶
func (a *AzureRoleEligibleAssignment) ResourceType() string
func (*AzureRoleEligibleAssignment) Role ¶
func (a *AzureRoleEligibleAssignment) Role() string
func (*AzureRoleEligibleAssignment) RoleDefinitionID ¶
func (a *AzureRoleEligibleAssignment) RoleDefinitionID() string
func (*AzureRoleEligibleAssignment) Scope ¶
func (a *AzureRoleEligibleAssignment) Scope() string
type AzureRoleEligibleAssignments ¶
type AzureRoleEligibleAssignments []AzureRoleEligibleAssignment
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCurrentUserPrincipalID ¶
func (*Client) PIMAzureRoleActiveAssignments ¶
func (c *Client) PIMAzureRoleActiveAssignments(ctx context.Context) (AzureRoleActiveAssignments, error)
func (*Client) PIMAzureRoleApprovalRequests ¶
func (c *Client) PIMAzureRoleApprovalRequests(ctx context.Context) (AzureRoleAssignmentRequests, error)
func (*Client) PIMAzureRoleAssignmentApprovalByApprovalID ¶
func (*Client) PIMAzureRoleAssignmentRequests ¶
func (c *Client) PIMAzureRoleAssignmentRequests(ctx context.Context) (AzureRoleAssignmentRequests, error)
func (*Client) PIMAzureRoleAssignmentScheduleRequest ¶
func (*Client) PIMAzureRoleEligibleAssignments ¶
func (c *Client) PIMAzureRoleEligibleAssignments(ctx context.Context) (AzureRoleEligibleAssignments, error)
type ReviewResult ¶
type ReviewResult int
const ( UnknownReviewResult ReviewResult = iota ApproveReviewResult DenyReviewResult )
func (*ReviewResult) CobraCompletion ¶
func (r *ReviewResult) CobraCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
func (*ReviewResult) HelpText ¶
func (r *ReviewResult) HelpText() string
func (*ReviewResult) Set ¶
func (r *ReviewResult) Set(v string) error
func (*ReviewResult) String ¶
func (r *ReviewResult) String() string
func (*ReviewResult) Type ¶
func (r *ReviewResult) Type() string
Click to show internal directories.
Click to hide internal directories.