insightv1alpha1

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_commonfate_control_insight_v1alpha1_insight_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessRequestDailyMetric

type AccessRequestDailyMetric struct {
	Date  string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	Count int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRequestDailyMetric) Descriptor deprecated

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

Deprecated: Use AccessRequestDailyMetric.ProtoReflect.Descriptor instead.

func (*AccessRequestDailyMetric) GetCount

func (x *AccessRequestDailyMetric) GetCount() int32

func (*AccessRequestDailyMetric) GetDate

func (x *AccessRequestDailyMetric) GetDate() string

func (*AccessRequestDailyMetric) ProtoMessage

func (*AccessRequestDailyMetric) ProtoMessage()

func (*AccessRequestDailyMetric) ProtoReflect

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

func (*AccessRequestDailyMetric) Reset

func (x *AccessRequestDailyMetric) Reset()

func (*AccessRequestDailyMetric) String

func (x *AccessRequestDailyMetric) String() string

func (*AccessRequestDailyMetric) Validate added in v1.42.0

func (m *AccessRequestDailyMetric) Validate() error

Validate checks the field values on AccessRequestDailyMetric 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 (*AccessRequestDailyMetric) ValidateAll added in v1.42.0

func (m *AccessRequestDailyMetric) ValidateAll() error

ValidateAll checks the field values on AccessRequestDailyMetric 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 AccessRequestDailyMetricMultiError, or nil if none found.

type AccessRequestDailyMetricMultiError added in v1.42.0

type AccessRequestDailyMetricMultiError []error

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

func (AccessRequestDailyMetricMultiError) AllErrors added in v1.42.0

func (m AccessRequestDailyMetricMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRequestDailyMetricMultiError) Error added in v1.42.0

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

type AccessRequestDailyMetricValidationError added in v1.42.0

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

AccessRequestDailyMetricValidationError is the validation error returned by AccessRequestDailyMetric.Validate if the designated constraints aren't met.

func (AccessRequestDailyMetricValidationError) Cause added in v1.42.0

Cause function returns cause value.

func (AccessRequestDailyMetricValidationError) Error added in v1.42.0

Error satisfies the builtin error interface

func (AccessRequestDailyMetricValidationError) ErrorName added in v1.42.0

ErrorName returns error name.

func (AccessRequestDailyMetricValidationError) Field added in v1.42.0

Field function returns field value.

func (AccessRequestDailyMetricValidationError) Key added in v1.42.0

Key function returns key value.

func (AccessRequestDailyMetricValidationError) Reason added in v1.42.0

Reason function returns reason value.

type EntitlementUsageMetric

type EntitlementUsageMetric struct {
	Target *v1alpha1.NamedEID `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Role   *v1alpha1.NamedEID `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Count  int32              `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementUsageMetric) Descriptor deprecated

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

Deprecated: Use EntitlementUsageMetric.ProtoReflect.Descriptor instead.

func (*EntitlementUsageMetric) GetCount

func (x *EntitlementUsageMetric) GetCount() int32

func (*EntitlementUsageMetric) GetRole

func (*EntitlementUsageMetric) GetTarget

func (x *EntitlementUsageMetric) GetTarget() *v1alpha1.NamedEID

func (*EntitlementUsageMetric) ProtoMessage

func (*EntitlementUsageMetric) ProtoMessage()

func (*EntitlementUsageMetric) ProtoReflect

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

func (*EntitlementUsageMetric) Reset

func (x *EntitlementUsageMetric) Reset()

func (*EntitlementUsageMetric) String

func (x *EntitlementUsageMetric) String() string

func (*EntitlementUsageMetric) Validate added in v1.42.0

func (m *EntitlementUsageMetric) Validate() error

Validate checks the field values on EntitlementUsageMetric 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 (*EntitlementUsageMetric) ValidateAll added in v1.42.0

func (m *EntitlementUsageMetric) ValidateAll() error

ValidateAll checks the field values on EntitlementUsageMetric 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 EntitlementUsageMetricMultiError, or nil if none found.

type EntitlementUsageMetricMultiError added in v1.42.0

type EntitlementUsageMetricMultiError []error

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

func (EntitlementUsageMetricMultiError) AllErrors added in v1.42.0

func (m EntitlementUsageMetricMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntitlementUsageMetricMultiError) Error added in v1.42.0

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

type EntitlementUsageMetricValidationError added in v1.42.0

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

EntitlementUsageMetricValidationError is the validation error returned by EntitlementUsageMetric.Validate if the designated constraints aren't met.

func (EntitlementUsageMetricValidationError) Cause added in v1.42.0

Cause function returns cause value.

func (EntitlementUsageMetricValidationError) Error added in v1.42.0

Error satisfies the builtin error interface

func (EntitlementUsageMetricValidationError) ErrorName added in v1.42.0

ErrorName returns error name.

func (EntitlementUsageMetricValidationError) Field added in v1.42.0

Field function returns field value.

func (EntitlementUsageMetricValidationError) Key added in v1.42.0

Key function returns key value.

func (EntitlementUsageMetricValidationError) Reason added in v1.42.0

Reason function returns reason value.

type EntitlementsUsageDailyMetric

type EntitlementsUsageDailyMetric struct {
	Date         string                    `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	Entitlements []*EntitlementUsageMetric `protobuf:"bytes,2,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementsUsageDailyMetric) Descriptor deprecated

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

Deprecated: Use EntitlementsUsageDailyMetric.ProtoReflect.Descriptor instead.

func (*EntitlementsUsageDailyMetric) GetDate

func (x *EntitlementsUsageDailyMetric) GetDate() string

func (*EntitlementsUsageDailyMetric) GetEntitlements

func (x *EntitlementsUsageDailyMetric) GetEntitlements() []*EntitlementUsageMetric

func (*EntitlementsUsageDailyMetric) ProtoMessage

func (*EntitlementsUsageDailyMetric) ProtoMessage()

func (*EntitlementsUsageDailyMetric) ProtoReflect

func (*EntitlementsUsageDailyMetric) Reset

func (x *EntitlementsUsageDailyMetric) Reset()

func (*EntitlementsUsageDailyMetric) String

func (*EntitlementsUsageDailyMetric) Validate added in v1.42.0

func (m *EntitlementsUsageDailyMetric) Validate() error

Validate checks the field values on EntitlementsUsageDailyMetric 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 (*EntitlementsUsageDailyMetric) ValidateAll added in v1.42.0

func (m *EntitlementsUsageDailyMetric) ValidateAll() error

ValidateAll checks the field values on EntitlementsUsageDailyMetric 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 EntitlementsUsageDailyMetricMultiError, or nil if none found.

type EntitlementsUsageDailyMetricMultiError added in v1.42.0

type EntitlementsUsageDailyMetricMultiError []error

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

func (EntitlementsUsageDailyMetricMultiError) AllErrors added in v1.42.0

AllErrors returns a list of validation violation errors.

func (EntitlementsUsageDailyMetricMultiError) Error added in v1.42.0

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

type EntitlementsUsageDailyMetricValidationError added in v1.42.0

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

EntitlementsUsageDailyMetricValidationError is the validation error returned by EntitlementsUsageDailyMetric.Validate if the designated constraints aren't met.

func (EntitlementsUsageDailyMetricValidationError) Cause added in v1.42.0

Cause function returns cause value.

func (EntitlementsUsageDailyMetricValidationError) Error added in v1.42.0

Error satisfies the builtin error interface

func (EntitlementsUsageDailyMetricValidationError) ErrorName added in v1.42.0

ErrorName returns error name.

func (EntitlementsUsageDailyMetricValidationError) Field added in v1.42.0

Field function returns field value.

func (EntitlementsUsageDailyMetricValidationError) Key added in v1.42.0

Key function returns key value.

func (EntitlementsUsageDailyMetricValidationError) Reason added in v1.42.0

Reason function returns reason value.

type GetInsightsRequest

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

func (*GetInsightsRequest) Descriptor deprecated

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

Deprecated: Use GetInsightsRequest.ProtoReflect.Descriptor instead.

func (*GetInsightsRequest) ProtoMessage

func (*GetInsightsRequest) ProtoMessage()

func (*GetInsightsRequest) ProtoReflect

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

func (*GetInsightsRequest) Reset

func (x *GetInsightsRequest) Reset()

func (*GetInsightsRequest) String

func (x *GetInsightsRequest) String() string

func (*GetInsightsRequest) Validate added in v1.42.0

func (m *GetInsightsRequest) Validate() error

Validate checks the field values on GetInsightsRequest 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 (*GetInsightsRequest) ValidateAll added in v1.42.0

func (m *GetInsightsRequest) ValidateAll() error

ValidateAll checks the field values on GetInsightsRequest 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 GetInsightsRequestMultiError, or nil if none found.

type GetInsightsRequestMultiError added in v1.42.0

type GetInsightsRequestMultiError []error

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

func (GetInsightsRequestMultiError) AllErrors added in v1.42.0

func (m GetInsightsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetInsightsRequestMultiError) Error added in v1.42.0

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

type GetInsightsRequestValidationError added in v1.42.0

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

GetInsightsRequestValidationError is the validation error returned by GetInsightsRequest.Validate if the designated constraints aren't met.

func (GetInsightsRequestValidationError) Cause added in v1.42.0

Cause function returns cause value.

func (GetInsightsRequestValidationError) Error added in v1.42.0

Error satisfies the builtin error interface

func (GetInsightsRequestValidationError) ErrorName added in v1.42.0

ErrorName returns error name.

func (GetInsightsRequestValidationError) Field added in v1.42.0

Field function returns field value.

func (GetInsightsRequestValidationError) Key added in v1.42.0

Key function returns key value.

func (GetInsightsRequestValidationError) Reason added in v1.42.0

Reason function returns reason value.

type GetInsightsResponse

type GetInsightsResponse struct {
	Insights *Insights `protobuf:"bytes,1,opt,name=insights,proto3" json:"insights,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInsightsResponse) Descriptor deprecated

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

Deprecated: Use GetInsightsResponse.ProtoReflect.Descriptor instead.

func (*GetInsightsResponse) GetInsights

func (x *GetInsightsResponse) GetInsights() *Insights

func (*GetInsightsResponse) ProtoMessage

func (*GetInsightsResponse) ProtoMessage()

func (*GetInsightsResponse) ProtoReflect

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

func (*GetInsightsResponse) Reset

func (x *GetInsightsResponse) Reset()

func (*GetInsightsResponse) String

func (x *GetInsightsResponse) String() string

func (*GetInsightsResponse) Validate added in v1.42.0

func (m *GetInsightsResponse) Validate() error

Validate checks the field values on GetInsightsResponse 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 (*GetInsightsResponse) ValidateAll added in v1.42.0

func (m *GetInsightsResponse) ValidateAll() error

ValidateAll checks the field values on GetInsightsResponse 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 GetInsightsResponseMultiError, or nil if none found.

type GetInsightsResponseMultiError added in v1.42.0

type GetInsightsResponseMultiError []error

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

func (GetInsightsResponseMultiError) AllErrors added in v1.42.0

func (m GetInsightsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetInsightsResponseMultiError) Error added in v1.42.0

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

type GetInsightsResponseValidationError added in v1.42.0

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

GetInsightsResponseValidationError is the validation error returned by GetInsightsResponse.Validate if the designated constraints aren't met.

func (GetInsightsResponseValidationError) Cause added in v1.42.0

Cause function returns cause value.

func (GetInsightsResponseValidationError) Error added in v1.42.0

Error satisfies the builtin error interface

func (GetInsightsResponseValidationError) ErrorName added in v1.42.0

ErrorName returns error name.

func (GetInsightsResponseValidationError) Field added in v1.42.0

Field function returns field value.

func (GetInsightsResponseValidationError) Key added in v1.42.0

Key function returns key value.

func (GetInsightsResponseValidationError) Reason added in v1.42.0

Reason function returns reason value.

type Insights

type Insights struct {
	ProtectedUsers int32 `protobuf:"varint,1,opt,name=protected_users,json=protectedUsers,proto3" json:"protected_users,omitempty"`
	// from 0 - 100
	AccessHoursReductionPercent float32                         `` /* 148-byte string literal not displayed */
	AccessHoursReduced          int32                           `protobuf:"varint,3,opt,name=access_hours_reduced,json=accessHoursReduced,proto3" json:"access_hours_reduced,omitempty"`
	AccessRequestsLast_90Days   []*AccessRequestDailyMetric     `` /* 139-byte string literal not displayed */
	EntitlementUsageLast_90Days []*EntitlementsUsageDailyMetric `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Insights) Descriptor deprecated

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

Deprecated: Use Insights.ProtoReflect.Descriptor instead.

func (*Insights) GetAccessHoursReduced

func (x *Insights) GetAccessHoursReduced() int32

func (*Insights) GetAccessHoursReductionPercent

func (x *Insights) GetAccessHoursReductionPercent() float32

func (*Insights) GetAccessRequestsLast_90Days

func (x *Insights) GetAccessRequestsLast_90Days() []*AccessRequestDailyMetric

func (*Insights) GetEntitlementUsageLast_90Days

func (x *Insights) GetEntitlementUsageLast_90Days() []*EntitlementsUsageDailyMetric

func (*Insights) GetProtectedUsers

func (x *Insights) GetProtectedUsers() int32

func (*Insights) ProtoMessage

func (*Insights) ProtoMessage()

func (*Insights) ProtoReflect

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

func (*Insights) Reset

func (x *Insights) Reset()

func (*Insights) String

func (x *Insights) String() string

func (*Insights) Validate added in v1.42.0

func (m *Insights) Validate() error

Validate checks the field values on Insights 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 (*Insights) ValidateAll added in v1.42.0

func (m *Insights) ValidateAll() error

ValidateAll checks the field values on Insights 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 InsightsMultiError, or nil if none found.

type InsightsMultiError added in v1.42.0

type InsightsMultiError []error

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

func (InsightsMultiError) AllErrors added in v1.42.0

func (m InsightsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InsightsMultiError) Error added in v1.42.0

func (m InsightsMultiError) Error() string

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

type InsightsValidationError added in v1.42.0

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

InsightsValidationError is the validation error returned by Insights.Validate if the designated constraints aren't met.

func (InsightsValidationError) Cause added in v1.42.0

func (e InsightsValidationError) Cause() error

Cause function returns cause value.

func (InsightsValidationError) Error added in v1.42.0

func (e InsightsValidationError) Error() string

Error satisfies the builtin error interface

func (InsightsValidationError) ErrorName added in v1.42.0

func (e InsightsValidationError) ErrorName() string

ErrorName returns error name.

func (InsightsValidationError) Field added in v1.42.0

func (e InsightsValidationError) Field() string

Field function returns field value.

func (InsightsValidationError) Key added in v1.42.0

func (e InsightsValidationError) Key() bool

Key function returns key value.

func (InsightsValidationError) Reason added in v1.42.0

func (e InsightsValidationError) 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