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
- type UpdateFeatureRequest
- func (*UpdateFeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFeatureRequest) GetEnabled() bool
- func (x *UpdateFeatureRequest) GetName() string
- func (*UpdateFeatureRequest) ProtoMessage()
- func (x *UpdateFeatureRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFeatureRequest) Reset()
- func (x *UpdateFeatureRequest) String() string
- func (m *UpdateFeatureRequest) Validate() error
- func (m *UpdateFeatureRequest) ValidateAll() error
- type UpdateFeatureRequestMultiError
- type UpdateFeatureRequestValidationError
- func (e UpdateFeatureRequestValidationError) Cause() error
- func (e UpdateFeatureRequestValidationError) Error() string
- func (e UpdateFeatureRequestValidationError) ErrorName() string
- func (e UpdateFeatureRequestValidationError) Field() string
- func (e UpdateFeatureRequestValidationError) Key() bool
- func (e UpdateFeatureRequestValidationError) Reason() string
- type UpdateFeatureResponse
- func (*UpdateFeatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFeatureResponse) GetFeature() *Feature
- func (*UpdateFeatureResponse) ProtoMessage()
- func (x *UpdateFeatureResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateFeatureResponse) Reset()
- func (x *UpdateFeatureResponse) String() string
- func (m *UpdateFeatureResponse) Validate() error
- func (m *UpdateFeatureResponse) ValidateAll() error
- type UpdateFeatureResponseMultiError
- type UpdateFeatureResponseValidationError
- func (e UpdateFeatureResponseValidationError) Cause() error
- func (e UpdateFeatureResponseValidationError) Error() string
- func (e UpdateFeatureResponseValidationError) ErrorName() string
- func (e UpdateFeatureResponseValidationError) Field() string
- func (e UpdateFeatureResponseValidationError) Key() bool
- func (e UpdateFeatureResponseValidationError) 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.
type UpdateFeatureRequest ¶ added in v1.46.0
type UpdateFeatureRequest struct { 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 (*UpdateFeatureRequest) Descriptor
deprecated
added in
v1.46.0
func (*UpdateFeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFeatureRequest.ProtoReflect.Descriptor instead.
func (*UpdateFeatureRequest) GetEnabled ¶ added in v1.46.0
func (x *UpdateFeatureRequest) GetEnabled() bool
func (*UpdateFeatureRequest) GetName ¶ added in v1.46.0
func (x *UpdateFeatureRequest) GetName() string
func (*UpdateFeatureRequest) ProtoMessage ¶ added in v1.46.0
func (*UpdateFeatureRequest) ProtoMessage()
func (*UpdateFeatureRequest) ProtoReflect ¶ added in v1.46.0
func (x *UpdateFeatureRequest) ProtoReflect() protoreflect.Message
func (*UpdateFeatureRequest) Reset ¶ added in v1.46.0
func (x *UpdateFeatureRequest) Reset()
func (*UpdateFeatureRequest) String ¶ added in v1.46.0
func (x *UpdateFeatureRequest) String() string
func (*UpdateFeatureRequest) Validate ¶ added in v1.46.0
func (m *UpdateFeatureRequest) Validate() error
Validate checks the field values on UpdateFeatureRequest 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 (*UpdateFeatureRequest) ValidateAll ¶ added in v1.46.0
func (m *UpdateFeatureRequest) ValidateAll() error
ValidateAll checks the field values on UpdateFeatureRequest 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 UpdateFeatureRequestMultiError, or nil if none found.
type UpdateFeatureRequestMultiError ¶ added in v1.46.0
type UpdateFeatureRequestMultiError []error
UpdateFeatureRequestMultiError is an error wrapping multiple validation errors returned by UpdateFeatureRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateFeatureRequestMultiError) AllErrors ¶ added in v1.46.0
func (m UpdateFeatureRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateFeatureRequestMultiError) Error ¶ added in v1.46.0
func (m UpdateFeatureRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateFeatureRequestValidationError ¶ added in v1.46.0
type UpdateFeatureRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateFeatureRequestValidationError is the validation error returned by UpdateFeatureRequest.Validate if the designated constraints aren't met.
func (UpdateFeatureRequestValidationError) Cause ¶ added in v1.46.0
func (e UpdateFeatureRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateFeatureRequestValidationError) Error ¶ added in v1.46.0
func (e UpdateFeatureRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateFeatureRequestValidationError) ErrorName ¶ added in v1.46.0
func (e UpdateFeatureRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateFeatureRequestValidationError) Field ¶ added in v1.46.0
func (e UpdateFeatureRequestValidationError) Field() string
Field function returns field value.
func (UpdateFeatureRequestValidationError) Key ¶ added in v1.46.0
func (e UpdateFeatureRequestValidationError) Key() bool
Key function returns key value.
func (UpdateFeatureRequestValidationError) Reason ¶ added in v1.46.0
func (e UpdateFeatureRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateFeatureResponse ¶ added in v1.46.0
type UpdateFeatureResponse struct { Feature *Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` // contains filtered or unexported fields }
func (*UpdateFeatureResponse) Descriptor
deprecated
added in
v1.46.0
func (*UpdateFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFeatureResponse.ProtoReflect.Descriptor instead.
func (*UpdateFeatureResponse) GetFeature ¶ added in v1.46.0
func (x *UpdateFeatureResponse) GetFeature() *Feature
func (*UpdateFeatureResponse) ProtoMessage ¶ added in v1.46.0
func (*UpdateFeatureResponse) ProtoMessage()
func (*UpdateFeatureResponse) ProtoReflect ¶ added in v1.46.0
func (x *UpdateFeatureResponse) ProtoReflect() protoreflect.Message
func (*UpdateFeatureResponse) Reset ¶ added in v1.46.0
func (x *UpdateFeatureResponse) Reset()
func (*UpdateFeatureResponse) String ¶ added in v1.46.0
func (x *UpdateFeatureResponse) String() string
func (*UpdateFeatureResponse) Validate ¶ added in v1.46.0
func (m *UpdateFeatureResponse) Validate() error
Validate checks the field values on UpdateFeatureResponse 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 (*UpdateFeatureResponse) ValidateAll ¶ added in v1.46.0
func (m *UpdateFeatureResponse) ValidateAll() error
ValidateAll checks the field values on UpdateFeatureResponse 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 UpdateFeatureResponseMultiError, or nil if none found.
type UpdateFeatureResponseMultiError ¶ added in v1.46.0
type UpdateFeatureResponseMultiError []error
UpdateFeatureResponseMultiError is an error wrapping multiple validation errors returned by UpdateFeatureResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateFeatureResponseMultiError) AllErrors ¶ added in v1.46.0
func (m UpdateFeatureResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateFeatureResponseMultiError) Error ¶ added in v1.46.0
func (m UpdateFeatureResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateFeatureResponseValidationError ¶ added in v1.46.0
type UpdateFeatureResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateFeatureResponseValidationError is the validation error returned by UpdateFeatureResponse.Validate if the designated constraints aren't met.
func (UpdateFeatureResponseValidationError) Cause ¶ added in v1.46.0
func (e UpdateFeatureResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateFeatureResponseValidationError) Error ¶ added in v1.46.0
func (e UpdateFeatureResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateFeatureResponseValidationError) ErrorName ¶ added in v1.46.0
func (e UpdateFeatureResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateFeatureResponseValidationError) Field ¶ added in v1.46.0
func (e UpdateFeatureResponseValidationError) Field() string
Field function returns field value.
func (UpdateFeatureResponseValidationError) Key ¶ added in v1.46.0
func (e UpdateFeatureResponseValidationError) Key() bool
Key function returns key value.
func (UpdateFeatureResponseValidationError) Reason ¶ added in v1.46.0
func (e UpdateFeatureResponseValidationError) Reason() string
Reason function returns reason value.