Documentation ¶
Index ¶
- Variables
- type AccessPath
- func (*AccessPath) Descriptor() ([]byte, []int)deprecated
- func (x *AccessPath) GetPath() []*v1alpha1.NamedEID
- func (*AccessPath) ProtoMessage()
- func (x *AccessPath) ProtoReflect() protoreflect.Message
- func (x *AccessPath) Reset()
- func (x *AccessPath) String() string
- func (m *AccessPath) Validate() error
- func (m *AccessPath) ValidateAll() error
- type AccessPathMultiError
- type AccessPathValidationError
- type DownloadEntitlementUsageReportRequest
- func (*DownloadEntitlementUsageReportRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadEntitlementUsageReportRequest) ProtoMessage()
- func (x *DownloadEntitlementUsageReportRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadEntitlementUsageReportRequest) Reset()
- func (x *DownloadEntitlementUsageReportRequest) String() string
- func (m *DownloadEntitlementUsageReportRequest) Validate() error
- func (m *DownloadEntitlementUsageReportRequest) ValidateAll() error
- type DownloadEntitlementUsageReportRequestMultiError
- type DownloadEntitlementUsageReportRequestValidationError
- func (e DownloadEntitlementUsageReportRequestValidationError) Cause() error
- func (e DownloadEntitlementUsageReportRequestValidationError) Error() string
- func (e DownloadEntitlementUsageReportRequestValidationError) ErrorName() string
- func (e DownloadEntitlementUsageReportRequestValidationError) Field() string
- func (e DownloadEntitlementUsageReportRequestValidationError) Key() bool
- func (e DownloadEntitlementUsageReportRequestValidationError) Reason() string
- type DownloadEntitlementUsageReportResponse
- func (*DownloadEntitlementUsageReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadEntitlementUsageReportResponse) GetDownloadUrl() string
- func (*DownloadEntitlementUsageReportResponse) ProtoMessage()
- func (x *DownloadEntitlementUsageReportResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadEntitlementUsageReportResponse) Reset()
- func (x *DownloadEntitlementUsageReportResponse) String() string
- func (m *DownloadEntitlementUsageReportResponse) Validate() error
- func (m *DownloadEntitlementUsageReportResponse) ValidateAll() error
- type DownloadEntitlementUsageReportResponseMultiError
- type DownloadEntitlementUsageReportResponseValidationError
- func (e DownloadEntitlementUsageReportResponseValidationError) Cause() error
- func (e DownloadEntitlementUsageReportResponseValidationError) Error() string
- func (e DownloadEntitlementUsageReportResponseValidationError) ErrorName() string
- func (e DownloadEntitlementUsageReportResponseValidationError) Field() string
- func (e DownloadEntitlementUsageReportResponseValidationError) Key() bool
- func (e DownloadEntitlementUsageReportResponseValidationError) Reason() string
- type EntitlementUsage
- func (*EntitlementUsage) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementUsage) GetAccessPaths() []*AccessPath
- func (x *EntitlementUsage) GetLastUsed() *timestamppb.Timestamp
- func (x *EntitlementUsage) GetPrincipal() *v1alpha1.User
- func (x *EntitlementUsage) GetRole() *v1alpha1.NamedEID
- func (x *EntitlementUsage) GetTarget() *v1alpha1.NamedEID
- func (x *EntitlementUsage) GetUsage() Usage
- func (x *EntitlementUsage) GetUsageReason() string
- func (*EntitlementUsage) ProtoMessage()
- func (x *EntitlementUsage) ProtoReflect() protoreflect.Message
- func (x *EntitlementUsage) Reset()
- func (x *EntitlementUsage) String() string
- func (m *EntitlementUsage) Validate() error
- func (m *EntitlementUsage) ValidateAll() error
- type EntitlementUsageMultiError
- type EntitlementUsageValidationError
- func (e EntitlementUsageValidationError) Cause() error
- func (e EntitlementUsageValidationError) Error() string
- func (e EntitlementUsageValidationError) ErrorName() string
- func (e EntitlementUsageValidationError) Field() string
- func (e EntitlementUsageValidationError) Key() bool
- func (e EntitlementUsageValidationError) Reason() string
- type GetHistoricalReportsRequest
- func (*GetHistoricalReportsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetHistoricalReportsRequest) ProtoMessage()
- func (x *GetHistoricalReportsRequest) ProtoReflect() protoreflect.Message
- func (x *GetHistoricalReportsRequest) Reset()
- func (x *GetHistoricalReportsRequest) String() string
- func (m *GetHistoricalReportsRequest) Validate() error
- func (m *GetHistoricalReportsRequest) ValidateAll() error
- type GetHistoricalReportsRequestMultiError
- type GetHistoricalReportsRequestValidationError
- func (e GetHistoricalReportsRequestValidationError) Cause() error
- func (e GetHistoricalReportsRequestValidationError) Error() string
- func (e GetHistoricalReportsRequestValidationError) ErrorName() string
- func (e GetHistoricalReportsRequestValidationError) Field() string
- func (e GetHistoricalReportsRequestValidationError) Key() bool
- func (e GetHistoricalReportsRequestValidationError) Reason() string
- type GetHistoricalReportsResponse
- func (*GetHistoricalReportsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoricalReportsResponse) GetReports() []*Report
- func (*GetHistoricalReportsResponse) ProtoMessage()
- func (x *GetHistoricalReportsResponse) ProtoReflect() protoreflect.Message
- func (x *GetHistoricalReportsResponse) Reset()
- func (x *GetHistoricalReportsResponse) String() string
- func (m *GetHistoricalReportsResponse) Validate() error
- func (m *GetHistoricalReportsResponse) ValidateAll() error
- type GetHistoricalReportsResponseMultiError
- type GetHistoricalReportsResponseValidationError
- func (e GetHistoricalReportsResponseValidationError) Cause() error
- func (e GetHistoricalReportsResponseValidationError) Error() string
- func (e GetHistoricalReportsResponseValidationError) ErrorName() string
- func (e GetHistoricalReportsResponseValidationError) Field() string
- func (e GetHistoricalReportsResponseValidationError) Key() bool
- func (e GetHistoricalReportsResponseValidationError) Reason() string
- type GetLatestReportRequest
- func (*GetLatestReportRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetLatestReportRequest) ProtoMessage()
- func (x *GetLatestReportRequest) ProtoReflect() protoreflect.Message
- func (x *GetLatestReportRequest) Reset()
- func (x *GetLatestReportRequest) String() string
- func (m *GetLatestReportRequest) Validate() error
- func (m *GetLatestReportRequest) ValidateAll() error
- type GetLatestReportRequestMultiError
- type GetLatestReportRequestValidationError
- func (e GetLatestReportRequestValidationError) Cause() error
- func (e GetLatestReportRequestValidationError) Error() string
- func (e GetLatestReportRequestValidationError) ErrorName() string
- func (e GetLatestReportRequestValidationError) Field() string
- func (e GetLatestReportRequestValidationError) Key() bool
- func (e GetLatestReportRequestValidationError) Reason() string
- type GetLatestReportResponse
- func (*GetLatestReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestReportResponse) GetReport() *Report
- func (*GetLatestReportResponse) ProtoMessage()
- func (x *GetLatestReportResponse) ProtoReflect() protoreflect.Message
- func (x *GetLatestReportResponse) Reset()
- func (x *GetLatestReportResponse) String() string
- func (m *GetLatestReportResponse) Validate() error
- func (m *GetLatestReportResponse) ValidateAll() error
- type GetLatestReportResponseMultiError
- type GetLatestReportResponseValidationError
- func (e GetLatestReportResponseValidationError) Cause() error
- func (e GetLatestReportResponseValidationError) Error() string
- func (e GetLatestReportResponseValidationError) ErrorName() string
- func (e GetLatestReportResponseValidationError) Field() string
- func (e GetLatestReportResponseValidationError) Key() bool
- func (e GetLatestReportResponseValidationError) Reason() string
- type Report
- func (*Report) Descriptor() ([]byte, []int)deprecated
- func (x *Report) GetCreatedAt() *timestamppb.Timestamp
- func (x *Report) GetTimestamp() *timestamppb.Timestamp
- func (x *Report) GetUsageCutoffTime() *timestamppb.Timestamp
- func (x *Report) GetUsageSummaries() []*UsageSummary
- func (*Report) ProtoMessage()
- func (x *Report) ProtoReflect() protoreflect.Message
- func (x *Report) Reset()
- func (x *Report) String() string
- func (m *Report) Validate() error
- func (m *Report) ValidateAll() error
- type ReportMultiError
- type ReportValidationError
- type Usage
- type UsageSummary
- func (*UsageSummary) Descriptor() ([]byte, []int)deprecated
- func (x *UsageSummary) GetInUseCount() int32
- func (x *UsageSummary) GetIndeterminateCount() int32
- func (x *UsageSummary) GetLabel() string
- func (x *UsageSummary) GetUnusedCount() int32
- func (*UsageSummary) ProtoMessage()
- func (x *UsageSummary) ProtoReflect() protoreflect.Message
- func (x *UsageSummary) Reset()
- func (x *UsageSummary) String() string
- func (m *UsageSummary) Validate() error
- func (m *UsageSummary) ValidateAll() error
- type UsageSummaryMultiError
- type UsageSummaryValidationError
- func (e UsageSummaryValidationError) Cause() error
- func (e UsageSummaryValidationError) Error() string
- func (e UsageSummaryValidationError) ErrorName() string
- func (e UsageSummaryValidationError) Field() string
- func (e UsageSummaryValidationError) Key() bool
- func (e UsageSummaryValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( Usage_name = map[int32]string{ 0: "USAGE_UNSPECIFIED", 3: "USAGE_IN_USE", 4: "USAGE_UNUSED", } Usage_value = map[string]int32{ "USAGE_UNSPECIFIED": 0, "USAGE_IN_USE": 3, "USAGE_UNUSED": 4, } )
Enum value maps for Usage.
var File_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto protoreflect.FileDescriptor
var File_commonfate_leastprivilege_v1alpha1_leastprivilege_proto protoreflect.FileDescriptor
var File_commonfate_leastprivilege_v1alpha1_report_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessPath ¶
type AccessPath struct { Path []*v1alpha1.NamedEID `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*AccessPath) Descriptor
deprecated
func (*AccessPath) Descriptor() ([]byte, []int)
Deprecated: Use AccessPath.ProtoReflect.Descriptor instead.
func (*AccessPath) GetPath ¶
func (x *AccessPath) GetPath() []*v1alpha1.NamedEID
func (*AccessPath) ProtoMessage ¶
func (*AccessPath) ProtoMessage()
func (*AccessPath) ProtoReflect ¶
func (x *AccessPath) ProtoReflect() protoreflect.Message
func (*AccessPath) Reset ¶
func (x *AccessPath) Reset()
func (*AccessPath) String ¶
func (x *AccessPath) String() string
func (*AccessPath) Validate ¶ added in v1.32.1
func (m *AccessPath) Validate() error
Validate checks the field values on AccessPath 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 (*AccessPath) ValidateAll ¶ added in v1.32.1
func (m *AccessPath) ValidateAll() error
ValidateAll checks the field values on AccessPath 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 AccessPathMultiError, or nil if none found.
type AccessPathMultiError ¶ added in v1.32.1
type AccessPathMultiError []error
AccessPathMultiError is an error wrapping multiple validation errors returned by AccessPath.ValidateAll() if the designated constraints aren't met.
func (AccessPathMultiError) AllErrors ¶ added in v1.32.1
func (m AccessPathMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessPathMultiError) Error ¶ added in v1.32.1
func (m AccessPathMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessPathValidationError ¶ added in v1.32.1
type AccessPathValidationError struct {
// contains filtered or unexported fields
}
AccessPathValidationError is the validation error returned by AccessPath.Validate if the designated constraints aren't met.
func (AccessPathValidationError) Cause ¶ added in v1.32.1
func (e AccessPathValidationError) Cause() error
Cause function returns cause value.
func (AccessPathValidationError) Error ¶ added in v1.32.1
func (e AccessPathValidationError) Error() string
Error satisfies the builtin error interface
func (AccessPathValidationError) ErrorName ¶ added in v1.32.1
func (e AccessPathValidationError) ErrorName() string
ErrorName returns error name.
func (AccessPathValidationError) Field ¶ added in v1.32.1
func (e AccessPathValidationError) Field() string
Field function returns field value.
func (AccessPathValidationError) Key ¶ added in v1.32.1
func (e AccessPathValidationError) Key() bool
Key function returns key value.
func (AccessPathValidationError) Reason ¶ added in v1.32.1
func (e AccessPathValidationError) Reason() string
Reason function returns reason value.
type DownloadEntitlementUsageReportRequest ¶
type DownloadEntitlementUsageReportRequest struct {
// contains filtered or unexported fields
}
func (*DownloadEntitlementUsageReportRequest) Descriptor
deprecated
func (*DownloadEntitlementUsageReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadEntitlementUsageReportRequest.ProtoReflect.Descriptor instead.
func (*DownloadEntitlementUsageReportRequest) ProtoMessage ¶
func (*DownloadEntitlementUsageReportRequest) ProtoMessage()
func (*DownloadEntitlementUsageReportRequest) ProtoReflect ¶
func (x *DownloadEntitlementUsageReportRequest) ProtoReflect() protoreflect.Message
func (*DownloadEntitlementUsageReportRequest) Reset ¶
func (x *DownloadEntitlementUsageReportRequest) Reset()
func (*DownloadEntitlementUsageReportRequest) String ¶
func (x *DownloadEntitlementUsageReportRequest) String() string
func (*DownloadEntitlementUsageReportRequest) Validate ¶ added in v1.32.1
func (m *DownloadEntitlementUsageReportRequest) Validate() error
Validate checks the field values on DownloadEntitlementUsageReportRequest 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 (*DownloadEntitlementUsageReportRequest) ValidateAll ¶ added in v1.32.1
func (m *DownloadEntitlementUsageReportRequest) ValidateAll() error
ValidateAll checks the field values on DownloadEntitlementUsageReportRequest 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 DownloadEntitlementUsageReportRequestMultiError, or nil if none found.
type DownloadEntitlementUsageReportRequestMultiError ¶ added in v1.32.1
type DownloadEntitlementUsageReportRequestMultiError []error
DownloadEntitlementUsageReportRequestMultiError is an error wrapping multiple validation errors returned by DownloadEntitlementUsageReportRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadEntitlementUsageReportRequestMultiError) AllErrors ¶ added in v1.32.1
func (m DownloadEntitlementUsageReportRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadEntitlementUsageReportRequestMultiError) Error ¶ added in v1.32.1
func (m DownloadEntitlementUsageReportRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadEntitlementUsageReportRequestValidationError ¶ added in v1.32.1
type DownloadEntitlementUsageReportRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadEntitlementUsageReportRequestValidationError is the validation error returned by DownloadEntitlementUsageReportRequest.Validate if the designated constraints aren't met.
func (DownloadEntitlementUsageReportRequestValidationError) Cause ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadEntitlementUsageReportRequestValidationError) Error ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadEntitlementUsageReportRequestValidationError) ErrorName ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadEntitlementUsageReportRequestValidationError) Field ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportRequestValidationError) Field() string
Field function returns field value.
func (DownloadEntitlementUsageReportRequestValidationError) Key ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportRequestValidationError) Key() bool
Key function returns key value.
func (DownloadEntitlementUsageReportRequestValidationError) Reason ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadEntitlementUsageReportResponse ¶
type DownloadEntitlementUsageReportResponse struct { DownloadUrl string `protobuf:"bytes,1,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` // contains filtered or unexported fields }
func (*DownloadEntitlementUsageReportResponse) Descriptor
deprecated
func (*DownloadEntitlementUsageReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadEntitlementUsageReportResponse.ProtoReflect.Descriptor instead.
func (*DownloadEntitlementUsageReportResponse) GetDownloadUrl ¶
func (x *DownloadEntitlementUsageReportResponse) GetDownloadUrl() string
func (*DownloadEntitlementUsageReportResponse) ProtoMessage ¶
func (*DownloadEntitlementUsageReportResponse) ProtoMessage()
func (*DownloadEntitlementUsageReportResponse) ProtoReflect ¶
func (x *DownloadEntitlementUsageReportResponse) ProtoReflect() protoreflect.Message
func (*DownloadEntitlementUsageReportResponse) Reset ¶
func (x *DownloadEntitlementUsageReportResponse) Reset()
func (*DownloadEntitlementUsageReportResponse) String ¶
func (x *DownloadEntitlementUsageReportResponse) String() string
func (*DownloadEntitlementUsageReportResponse) Validate ¶ added in v1.32.1
func (m *DownloadEntitlementUsageReportResponse) Validate() error
Validate checks the field values on DownloadEntitlementUsageReportResponse 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 (*DownloadEntitlementUsageReportResponse) ValidateAll ¶ added in v1.32.1
func (m *DownloadEntitlementUsageReportResponse) ValidateAll() error
ValidateAll checks the field values on DownloadEntitlementUsageReportResponse 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 DownloadEntitlementUsageReportResponseMultiError, or nil if none found.
type DownloadEntitlementUsageReportResponseMultiError ¶ added in v1.32.1
type DownloadEntitlementUsageReportResponseMultiError []error
DownloadEntitlementUsageReportResponseMultiError is an error wrapping multiple validation errors returned by DownloadEntitlementUsageReportResponse.ValidateAll() if the designated constraints aren't met.
func (DownloadEntitlementUsageReportResponseMultiError) AllErrors ¶ added in v1.32.1
func (m DownloadEntitlementUsageReportResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadEntitlementUsageReportResponseMultiError) Error ¶ added in v1.32.1
func (m DownloadEntitlementUsageReportResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadEntitlementUsageReportResponseValidationError ¶ added in v1.32.1
type DownloadEntitlementUsageReportResponseValidationError struct {
// contains filtered or unexported fields
}
DownloadEntitlementUsageReportResponseValidationError is the validation error returned by DownloadEntitlementUsageReportResponse.Validate if the designated constraints aren't met.
func (DownloadEntitlementUsageReportResponseValidationError) Cause ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportResponseValidationError) Cause() error
Cause function returns cause value.
func (DownloadEntitlementUsageReportResponseValidationError) Error ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadEntitlementUsageReportResponseValidationError) ErrorName ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadEntitlementUsageReportResponseValidationError) Field ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportResponseValidationError) Field() string
Field function returns field value.
func (DownloadEntitlementUsageReportResponseValidationError) Key ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportResponseValidationError) Key() bool
Key function returns key value.
func (DownloadEntitlementUsageReportResponseValidationError) Reason ¶ added in v1.32.1
func (e DownloadEntitlementUsageReportResponseValidationError) Reason() string
Reason function returns reason value.
type EntitlementUsage ¶
type EntitlementUsage 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"` Principal *v1alpha1.User `protobuf:"bytes,3,opt,name=principal,proto3" json:"principal,omitempty"` Usage Usage `protobuf:"varint,4,opt,name=Usage,proto3,enum=commonfate.leastprivilege.v1alpha1.Usage" json:"Usage,omitempty"` UsageReason string `protobuf:"bytes,5,opt,name=usage_reason,json=usageReason,proto3" json:"usage_reason,omitempty"` AccessPaths []*AccessPath `protobuf:"bytes,6,rep,name=access_paths,json=accessPaths,proto3" json:"access_paths,omitempty"` LastUsed *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_used,json=lastUsed,proto3,oneof" json:"last_used,omitempty"` // contains filtered or unexported fields }
func (*EntitlementUsage) Descriptor
deprecated
func (*EntitlementUsage) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementUsage.ProtoReflect.Descriptor instead.
func (*EntitlementUsage) GetAccessPaths ¶
func (x *EntitlementUsage) GetAccessPaths() []*AccessPath
func (*EntitlementUsage) GetLastUsed ¶
func (x *EntitlementUsage) GetLastUsed() *timestamppb.Timestamp
func (*EntitlementUsage) GetPrincipal ¶
func (x *EntitlementUsage) GetPrincipal() *v1alpha1.User
func (*EntitlementUsage) GetRole ¶
func (x *EntitlementUsage) GetRole() *v1alpha1.NamedEID
func (*EntitlementUsage) GetTarget ¶
func (x *EntitlementUsage) GetTarget() *v1alpha1.NamedEID
func (*EntitlementUsage) GetUsage ¶
func (x *EntitlementUsage) GetUsage() Usage
func (*EntitlementUsage) GetUsageReason ¶
func (x *EntitlementUsage) GetUsageReason() string
func (*EntitlementUsage) ProtoMessage ¶
func (*EntitlementUsage) ProtoMessage()
func (*EntitlementUsage) ProtoReflect ¶
func (x *EntitlementUsage) ProtoReflect() protoreflect.Message
func (*EntitlementUsage) Reset ¶
func (x *EntitlementUsage) Reset()
func (*EntitlementUsage) String ¶
func (x *EntitlementUsage) String() string
func (*EntitlementUsage) Validate ¶ added in v1.32.1
func (m *EntitlementUsage) Validate() error
Validate checks the field values on EntitlementUsage 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 (*EntitlementUsage) ValidateAll ¶ added in v1.32.1
func (m *EntitlementUsage) ValidateAll() error
ValidateAll checks the field values on EntitlementUsage 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 EntitlementUsageMultiError, or nil if none found.
type EntitlementUsageMultiError ¶ added in v1.32.1
type EntitlementUsageMultiError []error
EntitlementUsageMultiError is an error wrapping multiple validation errors returned by EntitlementUsage.ValidateAll() if the designated constraints aren't met.
func (EntitlementUsageMultiError) AllErrors ¶ added in v1.32.1
func (m EntitlementUsageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementUsageMultiError) Error ¶ added in v1.32.1
func (m EntitlementUsageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementUsageValidationError ¶ added in v1.32.1
type EntitlementUsageValidationError struct {
// contains filtered or unexported fields
}
EntitlementUsageValidationError is the validation error returned by EntitlementUsage.Validate if the designated constraints aren't met.
func (EntitlementUsageValidationError) Cause ¶ added in v1.32.1
func (e EntitlementUsageValidationError) Cause() error
Cause function returns cause value.
func (EntitlementUsageValidationError) Error ¶ added in v1.32.1
func (e EntitlementUsageValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementUsageValidationError) ErrorName ¶ added in v1.32.1
func (e EntitlementUsageValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementUsageValidationError) Field ¶ added in v1.32.1
func (e EntitlementUsageValidationError) Field() string
Field function returns field value.
func (EntitlementUsageValidationError) Key ¶ added in v1.32.1
func (e EntitlementUsageValidationError) Key() bool
Key function returns key value.
func (EntitlementUsageValidationError) Reason ¶ added in v1.32.1
func (e EntitlementUsageValidationError) Reason() string
Reason function returns reason value.
type GetHistoricalReportsRequest ¶
type GetHistoricalReportsRequest struct {
// contains filtered or unexported fields
}
func (*GetHistoricalReportsRequest) Descriptor
deprecated
func (*GetHistoricalReportsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoricalReportsRequest.ProtoReflect.Descriptor instead.
func (*GetHistoricalReportsRequest) ProtoMessage ¶
func (*GetHistoricalReportsRequest) ProtoMessage()
func (*GetHistoricalReportsRequest) ProtoReflect ¶
func (x *GetHistoricalReportsRequest) ProtoReflect() protoreflect.Message
func (*GetHistoricalReportsRequest) Reset ¶
func (x *GetHistoricalReportsRequest) Reset()
func (*GetHistoricalReportsRequest) String ¶
func (x *GetHistoricalReportsRequest) String() string
func (*GetHistoricalReportsRequest) Validate ¶ added in v1.32.1
func (m *GetHistoricalReportsRequest) Validate() error
Validate checks the field values on GetHistoricalReportsRequest 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 (*GetHistoricalReportsRequest) ValidateAll ¶ added in v1.32.1
func (m *GetHistoricalReportsRequest) ValidateAll() error
ValidateAll checks the field values on GetHistoricalReportsRequest 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 GetHistoricalReportsRequestMultiError, or nil if none found.
type GetHistoricalReportsRequestMultiError ¶ added in v1.32.1
type GetHistoricalReportsRequestMultiError []error
GetHistoricalReportsRequestMultiError is an error wrapping multiple validation errors returned by GetHistoricalReportsRequest.ValidateAll() if the designated constraints aren't met.
func (GetHistoricalReportsRequestMultiError) AllErrors ¶ added in v1.32.1
func (m GetHistoricalReportsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetHistoricalReportsRequestMultiError) Error ¶ added in v1.32.1
func (m GetHistoricalReportsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetHistoricalReportsRequestValidationError ¶ added in v1.32.1
type GetHistoricalReportsRequestValidationError struct {
// contains filtered or unexported fields
}
GetHistoricalReportsRequestValidationError is the validation error returned by GetHistoricalReportsRequest.Validate if the designated constraints aren't met.
func (GetHistoricalReportsRequestValidationError) Cause ¶ added in v1.32.1
func (e GetHistoricalReportsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetHistoricalReportsRequestValidationError) Error ¶ added in v1.32.1
func (e GetHistoricalReportsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetHistoricalReportsRequestValidationError) ErrorName ¶ added in v1.32.1
func (e GetHistoricalReportsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetHistoricalReportsRequestValidationError) Field ¶ added in v1.32.1
func (e GetHistoricalReportsRequestValidationError) Field() string
Field function returns field value.
func (GetHistoricalReportsRequestValidationError) Key ¶ added in v1.32.1
func (e GetHistoricalReportsRequestValidationError) Key() bool
Key function returns key value.
func (GetHistoricalReportsRequestValidationError) Reason ¶ added in v1.32.1
func (e GetHistoricalReportsRequestValidationError) Reason() string
Reason function returns reason value.
type GetHistoricalReportsResponse ¶
type GetHistoricalReportsResponse struct { Reports []*Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` // contains filtered or unexported fields }
func (*GetHistoricalReportsResponse) Descriptor
deprecated
func (*GetHistoricalReportsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoricalReportsResponse.ProtoReflect.Descriptor instead.
func (*GetHistoricalReportsResponse) GetReports ¶
func (x *GetHistoricalReportsResponse) GetReports() []*Report
func (*GetHistoricalReportsResponse) ProtoMessage ¶
func (*GetHistoricalReportsResponse) ProtoMessage()
func (*GetHistoricalReportsResponse) ProtoReflect ¶
func (x *GetHistoricalReportsResponse) ProtoReflect() protoreflect.Message
func (*GetHistoricalReportsResponse) Reset ¶
func (x *GetHistoricalReportsResponse) Reset()
func (*GetHistoricalReportsResponse) String ¶
func (x *GetHistoricalReportsResponse) String() string
func (*GetHistoricalReportsResponse) Validate ¶ added in v1.32.1
func (m *GetHistoricalReportsResponse) Validate() error
Validate checks the field values on GetHistoricalReportsResponse 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 (*GetHistoricalReportsResponse) ValidateAll ¶ added in v1.32.1
func (m *GetHistoricalReportsResponse) ValidateAll() error
ValidateAll checks the field values on GetHistoricalReportsResponse 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 GetHistoricalReportsResponseMultiError, or nil if none found.
type GetHistoricalReportsResponseMultiError ¶ added in v1.32.1
type GetHistoricalReportsResponseMultiError []error
GetHistoricalReportsResponseMultiError is an error wrapping multiple validation errors returned by GetHistoricalReportsResponse.ValidateAll() if the designated constraints aren't met.
func (GetHistoricalReportsResponseMultiError) AllErrors ¶ added in v1.32.1
func (m GetHistoricalReportsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetHistoricalReportsResponseMultiError) Error ¶ added in v1.32.1
func (m GetHistoricalReportsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetHistoricalReportsResponseValidationError ¶ added in v1.32.1
type GetHistoricalReportsResponseValidationError struct {
// contains filtered or unexported fields
}
GetHistoricalReportsResponseValidationError is the validation error returned by GetHistoricalReportsResponse.Validate if the designated constraints aren't met.
func (GetHistoricalReportsResponseValidationError) Cause ¶ added in v1.32.1
func (e GetHistoricalReportsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetHistoricalReportsResponseValidationError) Error ¶ added in v1.32.1
func (e GetHistoricalReportsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetHistoricalReportsResponseValidationError) ErrorName ¶ added in v1.32.1
func (e GetHistoricalReportsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetHistoricalReportsResponseValidationError) Field ¶ added in v1.32.1
func (e GetHistoricalReportsResponseValidationError) Field() string
Field function returns field value.
func (GetHistoricalReportsResponseValidationError) Key ¶ added in v1.32.1
func (e GetHistoricalReportsResponseValidationError) Key() bool
Key function returns key value.
func (GetHistoricalReportsResponseValidationError) Reason ¶ added in v1.32.1
func (e GetHistoricalReportsResponseValidationError) Reason() string
Reason function returns reason value.
type GetLatestReportRequest ¶
type GetLatestReportRequest struct {
// contains filtered or unexported fields
}
func (*GetLatestReportRequest) Descriptor
deprecated
func (*GetLatestReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestReportRequest.ProtoReflect.Descriptor instead.
func (*GetLatestReportRequest) ProtoMessage ¶
func (*GetLatestReportRequest) ProtoMessage()
func (*GetLatestReportRequest) ProtoReflect ¶
func (x *GetLatestReportRequest) ProtoReflect() protoreflect.Message
func (*GetLatestReportRequest) Reset ¶
func (x *GetLatestReportRequest) Reset()
func (*GetLatestReportRequest) String ¶
func (x *GetLatestReportRequest) String() string
func (*GetLatestReportRequest) Validate ¶ added in v1.32.1
func (m *GetLatestReportRequest) Validate() error
Validate checks the field values on GetLatestReportRequest 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 (*GetLatestReportRequest) ValidateAll ¶ added in v1.32.1
func (m *GetLatestReportRequest) ValidateAll() error
ValidateAll checks the field values on GetLatestReportRequest 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 GetLatestReportRequestMultiError, or nil if none found.
type GetLatestReportRequestMultiError ¶ added in v1.32.1
type GetLatestReportRequestMultiError []error
GetLatestReportRequestMultiError is an error wrapping multiple validation errors returned by GetLatestReportRequest.ValidateAll() if the designated constraints aren't met.
func (GetLatestReportRequestMultiError) AllErrors ¶ added in v1.32.1
func (m GetLatestReportRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLatestReportRequestMultiError) Error ¶ added in v1.32.1
func (m GetLatestReportRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLatestReportRequestValidationError ¶ added in v1.32.1
type GetLatestReportRequestValidationError struct {
// contains filtered or unexported fields
}
GetLatestReportRequestValidationError is the validation error returned by GetLatestReportRequest.Validate if the designated constraints aren't met.
func (GetLatestReportRequestValidationError) Cause ¶ added in v1.32.1
func (e GetLatestReportRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLatestReportRequestValidationError) Error ¶ added in v1.32.1
func (e GetLatestReportRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLatestReportRequestValidationError) ErrorName ¶ added in v1.32.1
func (e GetLatestReportRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLatestReportRequestValidationError) Field ¶ added in v1.32.1
func (e GetLatestReportRequestValidationError) Field() string
Field function returns field value.
func (GetLatestReportRequestValidationError) Key ¶ added in v1.32.1
func (e GetLatestReportRequestValidationError) Key() bool
Key function returns key value.
func (GetLatestReportRequestValidationError) Reason ¶ added in v1.32.1
func (e GetLatestReportRequestValidationError) Reason() string
Reason function returns reason value.
type GetLatestReportResponse ¶
type GetLatestReportResponse struct { Report *Report `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"` // contains filtered or unexported fields }
func (*GetLatestReportResponse) Descriptor
deprecated
func (*GetLatestReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestReportResponse.ProtoReflect.Descriptor instead.
func (*GetLatestReportResponse) GetReport ¶
func (x *GetLatestReportResponse) GetReport() *Report
func (*GetLatestReportResponse) ProtoMessage ¶
func (*GetLatestReportResponse) ProtoMessage()
func (*GetLatestReportResponse) ProtoReflect ¶
func (x *GetLatestReportResponse) ProtoReflect() protoreflect.Message
func (*GetLatestReportResponse) Reset ¶
func (x *GetLatestReportResponse) Reset()
func (*GetLatestReportResponse) String ¶
func (x *GetLatestReportResponse) String() string
func (*GetLatestReportResponse) Validate ¶ added in v1.32.1
func (m *GetLatestReportResponse) Validate() error
Validate checks the field values on GetLatestReportResponse 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 (*GetLatestReportResponse) ValidateAll ¶ added in v1.32.1
func (m *GetLatestReportResponse) ValidateAll() error
ValidateAll checks the field values on GetLatestReportResponse 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 GetLatestReportResponseMultiError, or nil if none found.
type GetLatestReportResponseMultiError ¶ added in v1.32.1
type GetLatestReportResponseMultiError []error
GetLatestReportResponseMultiError is an error wrapping multiple validation errors returned by GetLatestReportResponse.ValidateAll() if the designated constraints aren't met.
func (GetLatestReportResponseMultiError) AllErrors ¶ added in v1.32.1
func (m GetLatestReportResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLatestReportResponseMultiError) Error ¶ added in v1.32.1
func (m GetLatestReportResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLatestReportResponseValidationError ¶ added in v1.32.1
type GetLatestReportResponseValidationError struct {
// contains filtered or unexported fields
}
GetLatestReportResponseValidationError is the validation error returned by GetLatestReportResponse.Validate if the designated constraints aren't met.
func (GetLatestReportResponseValidationError) Cause ¶ added in v1.32.1
func (e GetLatestReportResponseValidationError) Cause() error
Cause function returns cause value.
func (GetLatestReportResponseValidationError) Error ¶ added in v1.32.1
func (e GetLatestReportResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetLatestReportResponseValidationError) ErrorName ¶ added in v1.32.1
func (e GetLatestReportResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetLatestReportResponseValidationError) Field ¶ added in v1.32.1
func (e GetLatestReportResponseValidationError) Field() string
Field function returns field value.
func (GetLatestReportResponseValidationError) Key ¶ added in v1.32.1
func (e GetLatestReportResponseValidationError) Key() bool
Key function returns key value.
func (GetLatestReportResponseValidationError) Reason ¶ added in v1.32.1
func (e GetLatestReportResponseValidationError) Reason() string
Reason function returns reason value.
type Report ¶
type Report struct { UsageSummaries []*UsageSummary `protobuf:"bytes,1,rep,name=usage_summaries,json=usageSummaries,proto3" json:"usage_summaries,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` UsageCutoffTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=usage_cutoff_time,json=usageCutoffTime,proto3" json:"usage_cutoff_time,omitempty"` // contains filtered or unexported fields }
func (*Report) Descriptor
deprecated
func (*Report) GetCreatedAt ¶
func (x *Report) GetCreatedAt() *timestamppb.Timestamp
func (*Report) GetTimestamp ¶
func (x *Report) GetTimestamp() *timestamppb.Timestamp
func (*Report) GetUsageCutoffTime ¶
func (x *Report) GetUsageCutoffTime() *timestamppb.Timestamp
func (*Report) GetUsageSummaries ¶
func (x *Report) GetUsageSummaries() []*UsageSummary
func (*Report) ProtoMessage ¶
func (*Report) ProtoMessage()
func (*Report) ProtoReflect ¶
func (x *Report) ProtoReflect() protoreflect.Message
func (*Report) Validate ¶ added in v1.32.1
Validate checks the field values on Report 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 (*Report) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on Report 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 ReportMultiError, or nil if none found.
type ReportMultiError ¶ added in v1.32.1
type ReportMultiError []error
ReportMultiError is an error wrapping multiple validation errors returned by Report.ValidateAll() if the designated constraints aren't met.
func (ReportMultiError) AllErrors ¶ added in v1.32.1
func (m ReportMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReportMultiError) Error ¶ added in v1.32.1
func (m ReportMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReportValidationError ¶ added in v1.32.1
type ReportValidationError struct {
// contains filtered or unexported fields
}
ReportValidationError is the validation error returned by Report.Validate if the designated constraints aren't met.
func (ReportValidationError) Cause ¶ added in v1.32.1
func (e ReportValidationError) Cause() error
Cause function returns cause value.
func (ReportValidationError) Error ¶ added in v1.32.1
func (e ReportValidationError) Error() string
Error satisfies the builtin error interface
func (ReportValidationError) ErrorName ¶ added in v1.32.1
func (e ReportValidationError) ErrorName() string
ErrorName returns error name.
func (ReportValidationError) Field ¶ added in v1.32.1
func (e ReportValidationError) Field() string
Field function returns field value.
func (ReportValidationError) Key ¶ added in v1.32.1
func (e ReportValidationError) Key() bool
Key function returns key value.
func (ReportValidationError) Reason ¶ added in v1.32.1
func (e ReportValidationError) Reason() string
Reason function returns reason value.
type Usage ¶
type Usage int32
func (Usage) Descriptor ¶
func (Usage) Descriptor() protoreflect.EnumDescriptor
func (Usage) EnumDescriptor
deprecated
func (Usage) Number ¶
func (x Usage) Number() protoreflect.EnumNumber
func (Usage) Type ¶
func (Usage) Type() protoreflect.EnumType
type UsageSummary ¶
type UsageSummary struct { Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` InUseCount int32 `protobuf:"varint,3,opt,name=in_use_count,json=inUseCount,proto3" json:"in_use_count,omitempty"` UnusedCount int32 `protobuf:"varint,4,opt,name=unused_count,json=unusedCount,proto3" json:"unused_count,omitempty"` IndeterminateCount int32 `protobuf:"varint,5,opt,name=indeterminate_count,json=indeterminateCount,proto3" json:"indeterminate_count,omitempty"` // contains filtered or unexported fields }
func (*UsageSummary) Descriptor
deprecated
func (*UsageSummary) Descriptor() ([]byte, []int)
Deprecated: Use UsageSummary.ProtoReflect.Descriptor instead.
func (*UsageSummary) GetInUseCount ¶
func (x *UsageSummary) GetInUseCount() int32
func (*UsageSummary) GetIndeterminateCount ¶
func (x *UsageSummary) GetIndeterminateCount() int32
func (*UsageSummary) GetLabel ¶
func (x *UsageSummary) GetLabel() string
func (*UsageSummary) GetUnusedCount ¶
func (x *UsageSummary) GetUnusedCount() int32
func (*UsageSummary) ProtoMessage ¶
func (*UsageSummary) ProtoMessage()
func (*UsageSummary) ProtoReflect ¶
func (x *UsageSummary) ProtoReflect() protoreflect.Message
func (*UsageSummary) Reset ¶
func (x *UsageSummary) Reset()
func (*UsageSummary) String ¶
func (x *UsageSummary) String() string
func (*UsageSummary) Validate ¶ added in v1.32.1
func (m *UsageSummary) Validate() error
Validate checks the field values on UsageSummary 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 (*UsageSummary) ValidateAll ¶ added in v1.32.1
func (m *UsageSummary) ValidateAll() error
ValidateAll checks the field values on UsageSummary 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 UsageSummaryMultiError, or nil if none found.
type UsageSummaryMultiError ¶ added in v1.32.1
type UsageSummaryMultiError []error
UsageSummaryMultiError is an error wrapping multiple validation errors returned by UsageSummary.ValidateAll() if the designated constraints aren't met.
func (UsageSummaryMultiError) AllErrors ¶ added in v1.32.1
func (m UsageSummaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UsageSummaryMultiError) Error ¶ added in v1.32.1
func (m UsageSummaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UsageSummaryValidationError ¶ added in v1.32.1
type UsageSummaryValidationError struct {
// contains filtered or unexported fields
}
UsageSummaryValidationError is the validation error returned by UsageSummary.Validate if the designated constraints aren't met.
func (UsageSummaryValidationError) Cause ¶ added in v1.32.1
func (e UsageSummaryValidationError) Cause() error
Cause function returns cause value.
func (UsageSummaryValidationError) Error ¶ added in v1.32.1
func (e UsageSummaryValidationError) Error() string
Error satisfies the builtin error interface
func (UsageSummaryValidationError) ErrorName ¶ added in v1.32.1
func (e UsageSummaryValidationError) ErrorName() string
ErrorName returns error name.
func (UsageSummaryValidationError) Field ¶ added in v1.32.1
func (e UsageSummaryValidationError) Field() string
Field function returns field value.
func (UsageSummaryValidationError) Key ¶ added in v1.32.1
func (e UsageSummaryValidationError) Key() bool
Key function returns key value.
func (UsageSummaryValidationError) Reason ¶ added in v1.32.1
func (e UsageSummaryValidationError) Reason() string
Reason function returns reason value.