featurev1alpha1

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Feature.ProtoReflect.Descriptor instead.

func (*Feature) GetEnabled

func (x *Feature) GetEnabled() bool

func (*Feature) GetName

func (x *Feature) GetName() string

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) ProtoReflect

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

func (*Feature) Reset

func (x *Feature) Reset()

func (*Feature) String

func (x *Feature) String() string

func (*Feature) Validate added in v1.32.1

func (m *Feature) Validate() error

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

func (m *Feature) ValidateAll() error

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

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

Cause function returns cause value.

func (GetFeaturesRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetFeaturesRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetFeaturesRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (GetFeaturesRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (GetFeaturesRequestValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (GetFeaturesResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetFeaturesResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetFeaturesResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (GetFeaturesResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (GetFeaturesResponseValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (UpdateFeatureRequestValidationError) Error added in v1.46.0

Error satisfies the builtin error interface

func (UpdateFeatureRequestValidationError) ErrorName added in v1.46.0

ErrorName returns error name.

func (UpdateFeatureRequestValidationError) Field added in v1.46.0

Field function returns field value.

func (UpdateFeatureRequestValidationError) Key added in v1.46.0

Key function returns key value.

func (UpdateFeatureRequestValidationError) Reason added in v1.46.0

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

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

Cause function returns cause value.

func (UpdateFeatureResponseValidationError) Error added in v1.46.0

Error satisfies the builtin error interface

func (UpdateFeatureResponseValidationError) ErrorName added in v1.46.0

ErrorName returns error name.

func (UpdateFeatureResponseValidationError) Field added in v1.46.0

Field function returns field value.

func (UpdateFeatureResponseValidationError) Key added in v1.46.0

Key function returns key value.

func (UpdateFeatureResponseValidationError) Reason added in v1.46.0

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