Documentation ¶
Index ¶
- Variables
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)deprecated
- func (x *Feature) GetEnabled() bool
- func (x *Feature) GetName() string
- func (*Feature) ProtoMessage()
- func (x *Feature) ProtoReflect() protoreflect.Message
- func (x *Feature) Reset()
- func (x *Feature) String() string
- func (m *Feature) Validate() error
- func (m *Feature) ValidateAll() error
- type FeatureMultiError
- type FeatureValidationError
- type GetFeaturesRequest
- func (*GetFeaturesRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetFeaturesRequest) ProtoMessage()
- func (x *GetFeaturesRequest) ProtoReflect() protoreflect.Message
- func (x *GetFeaturesRequest) Reset()
- func (x *GetFeaturesRequest) String() string
- func (m *GetFeaturesRequest) Validate() error
- func (m *GetFeaturesRequest) ValidateAll() error
- type GetFeaturesRequestMultiError
- type GetFeaturesRequestValidationError
- func (e GetFeaturesRequestValidationError) Cause() error
- func (e GetFeaturesRequestValidationError) Error() string
- func (e GetFeaturesRequestValidationError) ErrorName() string
- func (e GetFeaturesRequestValidationError) Field() string
- func (e GetFeaturesRequestValidationError) Key() bool
- func (e GetFeaturesRequestValidationError) Reason() string
- type GetFeaturesResponse
- func (*GetFeaturesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeaturesResponse) GetFeatures() []*Feature
- func (*GetFeaturesResponse) ProtoMessage()
- func (x *GetFeaturesResponse) ProtoReflect() protoreflect.Message
- func (x *GetFeaturesResponse) Reset()
- func (x *GetFeaturesResponse) String() string
- func (m *GetFeaturesResponse) Validate() error
- func (m *GetFeaturesResponse) ValidateAll() error
- type GetFeaturesResponseMultiError
- type GetFeaturesResponseValidationError
- func (e GetFeaturesResponseValidationError) Cause() error
- func (e GetFeaturesResponseValidationError) Error() string
- func (e GetFeaturesResponseValidationError) ErrorName() string
- func (e GetFeaturesResponseValidationError) Field() string
- func (e GetFeaturesResponseValidationError) Key() bool
- func (e GetFeaturesResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_commonfate_control_feature_v1alpha1_feature_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct { // Name of the feature. By convention this is 'snake_case', // for example: "least_privilege_analytics" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*Feature) Descriptor
deprecated
func (*Feature) GetEnabled ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶
func (x *Feature) ProtoReflect() protoreflect.Message
func (*Feature) Validate ¶ added in v1.32.1
Validate checks the field values on Feature 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 (*Feature) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on Feature 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 FeatureMultiError, or nil if none found.
type FeatureMultiError ¶ added in v1.32.1
type FeatureMultiError []error
FeatureMultiError is an error wrapping multiple validation errors returned by Feature.ValidateAll() if the designated constraints aren't met.
func (FeatureMultiError) AllErrors ¶ added in v1.32.1
func (m FeatureMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeatureMultiError) Error ¶ added in v1.32.1
func (m FeatureMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeatureValidationError ¶ added in v1.32.1
type FeatureValidationError struct {
// contains filtered or unexported fields
}
FeatureValidationError is the validation error returned by Feature.Validate if the designated constraints aren't met.
func (FeatureValidationError) Cause ¶ added in v1.32.1
func (e FeatureValidationError) Cause() error
Cause function returns cause value.
func (FeatureValidationError) Error ¶ added in v1.32.1
func (e FeatureValidationError) Error() string
Error satisfies the builtin error interface
func (FeatureValidationError) ErrorName ¶ added in v1.32.1
func (e FeatureValidationError) ErrorName() string
ErrorName returns error name.
func (FeatureValidationError) Field ¶ added in v1.32.1
func (e FeatureValidationError) Field() string
Field function returns field value.
func (FeatureValidationError) Key ¶ added in v1.32.1
func (e FeatureValidationError) Key() bool
Key function returns key value.
func (FeatureValidationError) Reason ¶ added in v1.32.1
func (e FeatureValidationError) Reason() string
Reason function returns reason value.
type GetFeaturesRequest ¶
type GetFeaturesRequest struct {
// contains filtered or unexported fields
}
func (*GetFeaturesRequest) Descriptor
deprecated
func (*GetFeaturesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeaturesRequest.ProtoReflect.Descriptor instead.
func (*GetFeaturesRequest) ProtoMessage ¶
func (*GetFeaturesRequest) ProtoMessage()
func (*GetFeaturesRequest) ProtoReflect ¶
func (x *GetFeaturesRequest) ProtoReflect() protoreflect.Message
func (*GetFeaturesRequest) Reset ¶
func (x *GetFeaturesRequest) Reset()
func (*GetFeaturesRequest) String ¶
func (x *GetFeaturesRequest) String() string
func (*GetFeaturesRequest) Validate ¶ added in v1.32.1
func (m *GetFeaturesRequest) Validate() error
Validate checks the field values on GetFeaturesRequest 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 (*GetFeaturesRequest) ValidateAll ¶ added in v1.32.1
func (m *GetFeaturesRequest) ValidateAll() error
ValidateAll checks the field values on GetFeaturesRequest 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 GetFeaturesRequestMultiError, or nil if none found.
type GetFeaturesRequestMultiError ¶ added in v1.32.1
type GetFeaturesRequestMultiError []error
GetFeaturesRequestMultiError is an error wrapping multiple validation errors returned by GetFeaturesRequest.ValidateAll() if the designated constraints aren't met.
func (GetFeaturesRequestMultiError) AllErrors ¶ added in v1.32.1
func (m GetFeaturesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFeaturesRequestMultiError) Error ¶ added in v1.32.1
func (m GetFeaturesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFeaturesRequestValidationError ¶ added in v1.32.1
type GetFeaturesRequestValidationError struct {
// contains filtered or unexported fields
}
GetFeaturesRequestValidationError is the validation error returned by GetFeaturesRequest.Validate if the designated constraints aren't met.
func (GetFeaturesRequestValidationError) Cause ¶ added in v1.32.1
func (e GetFeaturesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetFeaturesRequestValidationError) Error ¶ added in v1.32.1
func (e GetFeaturesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetFeaturesRequestValidationError) ErrorName ¶ added in v1.32.1
func (e GetFeaturesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetFeaturesRequestValidationError) Field ¶ added in v1.32.1
func (e GetFeaturesRequestValidationError) Field() string
Field function returns field value.
func (GetFeaturesRequestValidationError) Key ¶ added in v1.32.1
func (e GetFeaturesRequestValidationError) Key() bool
Key function returns key value.
func (GetFeaturesRequestValidationError) Reason ¶ added in v1.32.1
func (e GetFeaturesRequestValidationError) Reason() string
Reason function returns reason value.
type GetFeaturesResponse ¶
type GetFeaturesResponse struct { Features []*Feature `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"` // contains filtered or unexported fields }
func (*GetFeaturesResponse) Descriptor
deprecated
func (*GetFeaturesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFeaturesResponse.ProtoReflect.Descriptor instead.
func (*GetFeaturesResponse) GetFeatures ¶
func (x *GetFeaturesResponse) GetFeatures() []*Feature
func (*GetFeaturesResponse) ProtoMessage ¶
func (*GetFeaturesResponse) ProtoMessage()
func (*GetFeaturesResponse) ProtoReflect ¶
func (x *GetFeaturesResponse) ProtoReflect() protoreflect.Message
func (*GetFeaturesResponse) Reset ¶
func (x *GetFeaturesResponse) Reset()
func (*GetFeaturesResponse) String ¶
func (x *GetFeaturesResponse) String() string
func (*GetFeaturesResponse) Validate ¶ added in v1.32.1
func (m *GetFeaturesResponse) Validate() error
Validate checks the field values on GetFeaturesResponse 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 (*GetFeaturesResponse) ValidateAll ¶ added in v1.32.1
func (m *GetFeaturesResponse) ValidateAll() error
ValidateAll checks the field values on GetFeaturesResponse 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 GetFeaturesResponseMultiError, or nil if none found.
type GetFeaturesResponseMultiError ¶ added in v1.32.1
type GetFeaturesResponseMultiError []error
GetFeaturesResponseMultiError is an error wrapping multiple validation errors returned by GetFeaturesResponse.ValidateAll() if the designated constraints aren't met.
func (GetFeaturesResponseMultiError) AllErrors ¶ added in v1.32.1
func (m GetFeaturesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFeaturesResponseMultiError) Error ¶ added in v1.32.1
func (m GetFeaturesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFeaturesResponseValidationError ¶ added in v1.32.1
type GetFeaturesResponseValidationError struct {
// contains filtered or unexported fields
}
GetFeaturesResponseValidationError is the validation error returned by GetFeaturesResponse.Validate if the designated constraints aren't met.
func (GetFeaturesResponseValidationError) Cause ¶ added in v1.32.1
func (e GetFeaturesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetFeaturesResponseValidationError) Error ¶ added in v1.32.1
func (e GetFeaturesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetFeaturesResponseValidationError) ErrorName ¶ added in v1.32.1
func (e GetFeaturesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetFeaturesResponseValidationError) Field ¶ added in v1.32.1
func (e GetFeaturesResponseValidationError) Field() string
Field function returns field value.
func (GetFeaturesResponseValidationError) Key ¶ added in v1.32.1
func (e GetFeaturesResponseValidationError) Key() bool
Key function returns key value.
func (GetFeaturesResponseValidationError) Reason ¶ added in v1.32.1
func (e GetFeaturesResponseValidationError) Reason() string
Reason function returns reason value.