usagev1alpha1

package
v1.71.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_commonfate_factory_usage_v1alpha1_usage_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessRequestUsage

type AccessRequestUsage struct {
	TotalAccessRequestCount          int32         `` /* 135-byte string literal not displayed */
	AccessRequest_30DCount           int32         `` /* 129-byte string literal not displayed */
	AccessHoursReductionPercent_30D  float32       `` /* 159-byte string literal not displayed */
	AccessHoursReduction_30D         int32         `` /* 135-byte string literal not displayed */
	ManualApproval_30DCount          int32         `` /* 132-byte string literal not displayed */
	RequestDuration_30DDistribution  *Distribution `` /* 155-byte string literal not displayed */
	ApprovalWaitTime_30DDistribution *Distribution `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccessRequestUsage) Descriptor deprecated

func (*AccessRequestUsage) Descriptor() ([]byte, []int)

Deprecated: Use AccessRequestUsage.ProtoReflect.Descriptor instead.

func (*AccessRequestUsage) GetAccessHoursReductionPercent_30D

func (x *AccessRequestUsage) GetAccessHoursReductionPercent_30D() float32

func (*AccessRequestUsage) GetAccessHoursReduction_30D

func (x *AccessRequestUsage) GetAccessHoursReduction_30D() int32

func (*AccessRequestUsage) GetAccessRequest_30DCount

func (x *AccessRequestUsage) GetAccessRequest_30DCount() int32

func (*AccessRequestUsage) GetApprovalWaitTime_30DDistribution

func (x *AccessRequestUsage) GetApprovalWaitTime_30DDistribution() *Distribution

func (*AccessRequestUsage) GetManualApproval_30DCount

func (x *AccessRequestUsage) GetManualApproval_30DCount() int32

func (*AccessRequestUsage) GetRequestDuration_30DDistribution

func (x *AccessRequestUsage) GetRequestDuration_30DDistribution() *Distribution

func (*AccessRequestUsage) GetTotalAccessRequestCount

func (x *AccessRequestUsage) GetTotalAccessRequestCount() int32

func (*AccessRequestUsage) ProtoMessage

func (*AccessRequestUsage) ProtoMessage()

func (*AccessRequestUsage) ProtoReflect

func (x *AccessRequestUsage) ProtoReflect() protoreflect.Message

func (*AccessRequestUsage) Reset

func (x *AccessRequestUsage) Reset()

func (*AccessRequestUsage) String

func (x *AccessRequestUsage) String() string

func (*AccessRequestUsage) Validate

func (m *AccessRequestUsage) Validate() error

Validate checks the field values on AccessRequestUsage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessRequestUsage) ValidateAll

func (m *AccessRequestUsage) ValidateAll() error

ValidateAll checks the field values on AccessRequestUsage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRequestUsageMultiError, or nil if none found.

type AccessRequestUsageMultiError

type AccessRequestUsageMultiError []error

AccessRequestUsageMultiError is an error wrapping multiple validation errors returned by AccessRequestUsage.ValidateAll() if the designated constraints aren't met.

func (AccessRequestUsageMultiError) AllErrors

func (m AccessRequestUsageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRequestUsageMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AccessRequestUsageValidationError

type AccessRequestUsageValidationError struct {
	// contains filtered or unexported fields
}

AccessRequestUsageValidationError is the validation error returned by AccessRequestUsage.Validate if the designated constraints aren't met.

func (AccessRequestUsageValidationError) Cause

Cause function returns cause value.

func (AccessRequestUsageValidationError) Error

Error satisfies the builtin error interface

func (AccessRequestUsageValidationError) ErrorName

ErrorName returns error name.

func (AccessRequestUsageValidationError) Field

Field function returns field value.

func (AccessRequestUsageValidationError) Key

Key function returns key value.

func (AccessRequestUsageValidationError) Reason

Reason function returns reason value.

type ConfigurationUsage

type ConfigurationUsage struct {
	WorkflowCount         int32 `protobuf:"varint,1,opt,name=workflow_count,json=workflowCount,proto3" json:"workflow_count,omitempty"`
	AvailabilitySpecCount int32 `` /* 127-byte string literal not displayed */
	PolicyCount           int32 `protobuf:"varint,3,opt,name=policy_count,json=policyCount,proto3" json:"policy_count,omitempty"`
	SlackAlertCount       int32 `protobuf:"varint,4,opt,name=slack_alert_count,json=slackAlertCount,proto3" json:"slack_alert_count,omitempty"`
	EntitlementCount      int32 `protobuf:"varint,5,opt,name=entitlement_count,json=entitlementCount,proto3" json:"entitlement_count,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigurationUsage) Descriptor deprecated

func (*ConfigurationUsage) Descriptor() ([]byte, []int)

Deprecated: Use ConfigurationUsage.ProtoReflect.Descriptor instead.

func (*ConfigurationUsage) GetAvailabilitySpecCount

func (x *ConfigurationUsage) GetAvailabilitySpecCount() int32

func (*ConfigurationUsage) GetEntitlementCount

func (x *ConfigurationUsage) GetEntitlementCount() int32

func (*ConfigurationUsage) GetPolicyCount

func (x *ConfigurationUsage) GetPolicyCount() int32

func (*ConfigurationUsage) GetSlackAlertCount

func (x *ConfigurationUsage) GetSlackAlertCount() int32

func (*ConfigurationUsage) GetWorkflowCount

func (x *ConfigurationUsage) GetWorkflowCount() int32

func (*ConfigurationUsage) ProtoMessage

func (*ConfigurationUsage) ProtoMessage()

func (*ConfigurationUsage) ProtoReflect

func (x *ConfigurationUsage) ProtoReflect() protoreflect.Message

func (*ConfigurationUsage) Reset

func (x *ConfigurationUsage) Reset()

func (*ConfigurationUsage) String

func (x *ConfigurationUsage) String() string

func (*ConfigurationUsage) Validate

func (m *ConfigurationUsage) Validate() error

Validate checks the field values on ConfigurationUsage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigurationUsage) ValidateAll

func (m *ConfigurationUsage) ValidateAll() error

ValidateAll checks the field values on ConfigurationUsage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigurationUsageMultiError, or nil if none found.

type ConfigurationUsageMultiError

type ConfigurationUsageMultiError []error

ConfigurationUsageMultiError is an error wrapping multiple validation errors returned by ConfigurationUsage.ValidateAll() if the designated constraints aren't met.

func (ConfigurationUsageMultiError) AllErrors

func (m ConfigurationUsageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigurationUsageMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConfigurationUsageValidationError

type ConfigurationUsageValidationError struct {
	// contains filtered or unexported fields
}

ConfigurationUsageValidationError is the validation error returned by ConfigurationUsage.Validate if the designated constraints aren't met.

func (ConfigurationUsageValidationError) Cause

Cause function returns cause value.

func (ConfigurationUsageValidationError) Error

Error satisfies the builtin error interface

func (ConfigurationUsageValidationError) ErrorName

ErrorName returns error name.

func (ConfigurationUsageValidationError) Field

Field function returns field value.

func (ConfigurationUsageValidationError) Key

Key function returns key value.

func (ConfigurationUsageValidationError) Reason

Reason function returns reason value.

type Distribution

type Distribution struct {
	Min int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
	P25 int32 `protobuf:"varint,2,opt,name=p25,proto3" json:"p25,omitempty"`
	P50 int32 `protobuf:"varint,3,opt,name=p50,proto3" json:"p50,omitempty"`
	P75 int32 `protobuf:"varint,4,opt,name=p75,proto3" json:"p75,omitempty"`
	P95 int32 `protobuf:"varint,5,opt,name=p95,proto3" json:"p95,omitempty"`
	Max int32 `protobuf:"varint,6,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*Distribution) Descriptor deprecated

func (*Distribution) Descriptor() ([]byte, []int)

Deprecated: Use Distribution.ProtoReflect.Descriptor instead.

func (*Distribution) GetMax

func (x *Distribution) GetMax() int32

func (*Distribution) GetMin

func (x *Distribution) GetMin() int32

func (*Distribution) GetP25

func (x *Distribution) GetP25() int32

func (*Distribution) GetP50

func (x *Distribution) GetP50() int32

func (*Distribution) GetP75

func (x *Distribution) GetP75() int32

func (*Distribution) GetP95

func (x *Distribution) GetP95() int32

func (*Distribution) ProtoMessage

func (*Distribution) ProtoMessage()

func (*Distribution) ProtoReflect

func (x *Distribution) ProtoReflect() protoreflect.Message

func (*Distribution) Reset

func (x *Distribution) Reset()

func (*Distribution) String

func (x *Distribution) String() string

func (*Distribution) Validate

func (m *Distribution) Validate() error

Validate checks the field values on Distribution with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Distribution) ValidateAll

func (m *Distribution) ValidateAll() error

ValidateAll checks the field values on Distribution with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DistributionMultiError, or nil if none found.

type DistributionMultiError

type DistributionMultiError []error

DistributionMultiError is an error wrapping multiple validation errors returned by Distribution.ValidateAll() if the designated constraints aren't met.

func (DistributionMultiError) AllErrors

func (m DistributionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DistributionMultiError) Error

func (m DistributionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DistributionValidationError

type DistributionValidationError struct {
	// contains filtered or unexported fields
}

DistributionValidationError is the validation error returned by Distribution.Validate if the designated constraints aren't met.

func (DistributionValidationError) Cause

Cause function returns cause value.

func (DistributionValidationError) Error

Error satisfies the builtin error interface

func (DistributionValidationError) ErrorName

func (e DistributionValidationError) ErrorName() string

ErrorName returns error name.

func (DistributionValidationError) Field

Field function returns field value.

func (DistributionValidationError) Key

Key function returns key value.

func (DistributionValidationError) Reason

Reason function returns reason value.

type IntegrationUsage

type IntegrationUsage struct {
	IntegrationId    string `protobuf:"bytes,1,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"`
	IntegrationType  string `protobuf:"bytes,2,opt,name=integration_type,json=integrationType,proto3" json:"integration_type,omitempty"`
	UserAccountCount int32  `protobuf:"varint,3,opt,name=user_account_count,json=userAccountCount,proto3" json:"user_account_count,omitempty"`
	GroupCount       int32  `protobuf:"varint,4,opt,name=group_count,json=groupCount,proto3" json:"group_count,omitempty"`
	TargetCount      int32  `protobuf:"varint,5,opt,name=target_count,json=targetCount,proto3" json:"target_count,omitempty"`
	// contains filtered or unexported fields
}

func (*IntegrationUsage) Descriptor deprecated

func (*IntegrationUsage) Descriptor() ([]byte, []int)

Deprecated: Use IntegrationUsage.ProtoReflect.Descriptor instead.

func (*IntegrationUsage) GetGroupCount

func (x *IntegrationUsage) GetGroupCount() int32

func (*IntegrationUsage) GetIntegrationId

func (x *IntegrationUsage) GetIntegrationId() string

func (*IntegrationUsage) GetIntegrationType

func (x *IntegrationUsage) GetIntegrationType() string

func (*IntegrationUsage) GetTargetCount

func (x *IntegrationUsage) GetTargetCount() int32

func (*IntegrationUsage) GetUserAccountCount

func (x *IntegrationUsage) GetUserAccountCount() int32

func (*IntegrationUsage) ProtoMessage

func (*IntegrationUsage) ProtoMessage()

func (*IntegrationUsage) ProtoReflect

func (x *IntegrationUsage) ProtoReflect() protoreflect.Message

func (*IntegrationUsage) Reset

func (x *IntegrationUsage) Reset()

func (*IntegrationUsage) String

func (x *IntegrationUsage) String() string

func (*IntegrationUsage) Validate

func (m *IntegrationUsage) Validate() error

Validate checks the field values on IntegrationUsage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IntegrationUsage) ValidateAll

func (m *IntegrationUsage) ValidateAll() error

ValidateAll checks the field values on IntegrationUsage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IntegrationUsageMultiError, or nil if none found.

type IntegrationUsageMultiError

type IntegrationUsageMultiError []error

IntegrationUsageMultiError is an error wrapping multiple validation errors returned by IntegrationUsage.ValidateAll() if the designated constraints aren't met.

func (IntegrationUsageMultiError) AllErrors

func (m IntegrationUsageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IntegrationUsageMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type IntegrationUsageValidationError

type IntegrationUsageValidationError struct {
	// contains filtered or unexported fields
}

IntegrationUsageValidationError is the validation error returned by IntegrationUsage.Validate if the designated constraints aren't met.

func (IntegrationUsageValidationError) Cause

Cause function returns cause value.

func (IntegrationUsageValidationError) Error

Error satisfies the builtin error interface

func (IntegrationUsageValidationError) ErrorName

ErrorName returns error name.

func (IntegrationUsageValidationError) Field

Field function returns field value.

func (IntegrationUsageValidationError) Key

Key function returns key value.

func (IntegrationUsageValidationError) Reason

Reason function returns reason value.

type ReportUsageRequest

type ReportUsageRequest struct {
	Integrations   []*IntegrationUsage `protobuf:"bytes,3,rep,name=integrations,proto3" json:"integrations,omitempty"`
	Users          *UserUsage          `protobuf:"bytes,4,opt,name=users,proto3" json:"users,omitempty"`
	AccessRequests *AccessRequestUsage `protobuf:"bytes,5,opt,name=access_requests,json=accessRequests,proto3" json:"access_requests,omitempty"`
	Configuration  *ConfigurationUsage `protobuf:"bytes,6,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportUsageRequest) Descriptor deprecated

func (*ReportUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportUsageRequest.ProtoReflect.Descriptor instead.

func (*ReportUsageRequest) GetAccessRequests

func (x *ReportUsageRequest) GetAccessRequests() *AccessRequestUsage

func (*ReportUsageRequest) GetConfiguration

func (x *ReportUsageRequest) GetConfiguration() *ConfigurationUsage

func (*ReportUsageRequest) GetIntegrations

func (x *ReportUsageRequest) GetIntegrations() []*IntegrationUsage

func (*ReportUsageRequest) GetUsers

func (x *ReportUsageRequest) GetUsers() *UserUsage

func (*ReportUsageRequest) ProtoMessage

func (*ReportUsageRequest) ProtoMessage()

func (*ReportUsageRequest) ProtoReflect

func (x *ReportUsageRequest) ProtoReflect() protoreflect.Message

func (*ReportUsageRequest) Reset

func (x *ReportUsageRequest) Reset()

func (*ReportUsageRequest) String

func (x *ReportUsageRequest) String() string

func (*ReportUsageRequest) Validate

func (m *ReportUsageRequest) Validate() error

Validate checks the field values on ReportUsageRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ReportUsageRequest) ValidateAll

func (m *ReportUsageRequest) ValidateAll() error

ValidateAll checks the field values on ReportUsageRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReportUsageRequestMultiError, or nil if none found.

type ReportUsageRequestMultiError

type ReportUsageRequestMultiError []error

ReportUsageRequestMultiError is an error wrapping multiple validation errors returned by ReportUsageRequest.ValidateAll() if the designated constraints aren't met.

func (ReportUsageRequestMultiError) AllErrors

func (m ReportUsageRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReportUsageRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ReportUsageRequestValidationError

type ReportUsageRequestValidationError struct {
	// contains filtered or unexported fields
}

ReportUsageRequestValidationError is the validation error returned by ReportUsageRequest.Validate if the designated constraints aren't met.

func (ReportUsageRequestValidationError) Cause

Cause function returns cause value.

func (ReportUsageRequestValidationError) Error

Error satisfies the builtin error interface

func (ReportUsageRequestValidationError) ErrorName

ErrorName returns error name.

func (ReportUsageRequestValidationError) Field

Field function returns field value.

func (ReportUsageRequestValidationError) Key

Key function returns key value.

func (ReportUsageRequestValidationError) Reason

Reason function returns reason value.

type ReportUsageResponse

type ReportUsageResponse struct {
	// contains filtered or unexported fields
}

func (*ReportUsageResponse) Descriptor deprecated

func (*ReportUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReportUsageResponse.ProtoReflect.Descriptor instead.

func (*ReportUsageResponse) ProtoMessage

func (*ReportUsageResponse) ProtoMessage()

func (*ReportUsageResponse) ProtoReflect

func (x *ReportUsageResponse) ProtoReflect() protoreflect.Message

func (*ReportUsageResponse) Reset

func (x *ReportUsageResponse) Reset()

func (*ReportUsageResponse) String

func (x *ReportUsageResponse) String() string

func (*ReportUsageResponse) Validate

func (m *ReportUsageResponse) Validate() error

Validate checks the field values on ReportUsageResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ReportUsageResponse) ValidateAll

func (m *ReportUsageResponse) ValidateAll() error

ValidateAll checks the field values on ReportUsageResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReportUsageResponseMultiError, or nil if none found.

type ReportUsageResponseMultiError

type ReportUsageResponseMultiError []error

ReportUsageResponseMultiError is an error wrapping multiple validation errors returned by ReportUsageResponse.ValidateAll() if the designated constraints aren't met.

func (ReportUsageResponseMultiError) AllErrors

func (m ReportUsageResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReportUsageResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ReportUsageResponseValidationError

type ReportUsageResponseValidationError struct {
	// contains filtered or unexported fields
}

ReportUsageResponseValidationError is the validation error returned by ReportUsageResponse.Validate if the designated constraints aren't met.

func (ReportUsageResponseValidationError) Cause

Cause function returns cause value.

func (ReportUsageResponseValidationError) Error

Error satisfies the builtin error interface

func (ReportUsageResponseValidationError) ErrorName

ErrorName returns error name.

func (ReportUsageResponseValidationError) Field

Field function returns field value.

func (ReportUsageResponseValidationError) Key

Key function returns key value.

func (ReportUsageResponseValidationError) Reason

Reason function returns reason value.

type UserUsage

type UserUsage struct {
	TotalUserCount       int32 `protobuf:"varint,1,opt,name=total_user_count,json=totalUserCount,proto3" json:"total_user_count,omitempty"`
	ActiveUserCount      int32 `protobuf:"varint,2,opt,name=active_user_count,json=activeUserCount,proto3" json:"active_user_count,omitempty"`
	Requestors_30DCount  int32 `protobuf:"varint,3,opt,name=requestors_30d_count,json=requestors30dCount,proto3" json:"requestors_30d_count,omitempty"`
	TotalRequestorsCount int32 `protobuf:"varint,4,opt,name=total_requestors_count,json=totalRequestorsCount,proto3" json:"total_requestors_count,omitempty"`
	// contains filtered or unexported fields
}

func (*UserUsage) Descriptor deprecated

func (*UserUsage) Descriptor() ([]byte, []int)

Deprecated: Use UserUsage.ProtoReflect.Descriptor instead.

func (*UserUsage) GetActiveUserCount

func (x *UserUsage) GetActiveUserCount() int32

func (*UserUsage) GetRequestors_30DCount

func (x *UserUsage) GetRequestors_30DCount() int32

func (*UserUsage) GetTotalRequestorsCount

func (x *UserUsage) GetTotalRequestorsCount() int32

func (*UserUsage) GetTotalUserCount

func (x *UserUsage) GetTotalUserCount() int32

func (*UserUsage) ProtoMessage

func (*UserUsage) ProtoMessage()

func (*UserUsage) ProtoReflect

func (x *UserUsage) ProtoReflect() protoreflect.Message

func (*UserUsage) Reset

func (x *UserUsage) Reset()

func (*UserUsage) String

func (x *UserUsage) String() string

func (*UserUsage) Validate

func (m *UserUsage) Validate() error

Validate checks the field values on UserUsage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserUsage) ValidateAll

func (m *UserUsage) ValidateAll() error

ValidateAll checks the field values on UserUsage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserUsageMultiError, or nil if none found.

type UserUsageMultiError

type UserUsageMultiError []error

UserUsageMultiError is an error wrapping multiple validation errors returned by UserUsage.ValidateAll() if the designated constraints aren't met.

func (UserUsageMultiError) AllErrors

func (m UserUsageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserUsageMultiError) Error

func (m UserUsageMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserUsageValidationError

type UserUsageValidationError struct {
	// contains filtered or unexported fields
}

UserUsageValidationError is the validation error returned by UserUsage.Validate if the designated constraints aren't met.

func (UserUsageValidationError) Cause

func (e UserUsageValidationError) Cause() error

Cause function returns cause value.

func (UserUsageValidationError) Error

func (e UserUsageValidationError) Error() string

Error satisfies the builtin error interface

func (UserUsageValidationError) ErrorName

func (e UserUsageValidationError) ErrorName() string

ErrorName returns error name.

func (UserUsageValidationError) Field

func (e UserUsageValidationError) Field() string

Field function returns field value.

func (UserUsageValidationError) Key

Key function returns key value.

func (UserUsageValidationError) Reason

func (e UserUsageValidationError) Reason() string

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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