features

package
v2.0.0-...-c383979 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FeaturesState_name = map[int32]string{
		0: "FEATURES_STATE_ACTIVE",
		1: "FEATURES_STATE_ACTION_REQUIRED",
		2: "FEATURES_STATE_CANCELED",
		3: "FEATURES_STATE_GRANDFATHERED",
	}
	FeaturesState_value = map[string]int32{
		"FEATURES_STATE_ACTIVE":          0,
		"FEATURES_STATE_ACTION_REQUIRED": 1,
		"FEATURES_STATE_CANCELED":        2,
		"FEATURES_STATE_GRANDFATHERED":   3,
	}
)

Enum value maps for FeaturesState.

View Source
var (
	ActionsAllowed_name = map[int32]string{
		0: "ACTIONS_ALLOWED_NOT_ALLOWED",
		1: "ACTIONS_ALLOWED_MAX",
		2: "ACTIONS_ALLOWED_UNLIMITED",
	}
	ActionsAllowed_value = map[string]int32{
		"ACTIONS_ALLOWED_NOT_ALLOWED": 0,
		"ACTIONS_ALLOWED_MAX":         1,
		"ACTIONS_ALLOWED_UNLIMITED":   2,
	}
)

Enum value maps for ActionsAllowed.

View Source
var File_zitadel_features_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ActionsAllowed

type ActionsAllowed int32
const (
	ActionsAllowed_ACTIONS_ALLOWED_NOT_ALLOWED ActionsAllowed = 0
	ActionsAllowed_ACTIONS_ALLOWED_MAX         ActionsAllowed = 1
	ActionsAllowed_ACTIONS_ALLOWED_UNLIMITED   ActionsAllowed = 2
)

func (ActionsAllowed) Descriptor

func (ActionsAllowed) Enum

func (x ActionsAllowed) Enum() *ActionsAllowed

func (ActionsAllowed) EnumDescriptor deprecated

func (ActionsAllowed) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActionsAllowed.Descriptor instead.

func (ActionsAllowed) Number

func (ActionsAllowed) String

func (x ActionsAllowed) String() string

func (ActionsAllowed) Type

type FeatureTier

type FeatureTier struct {
	Name        string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	State       FeaturesState `protobuf:"varint,3,opt,name=state,proto3,enum=zitadel.features.v1.FeaturesState" json:"state,omitempty"`
	StatusInfo  string        `protobuf:"bytes,4,opt,name=status_info,json=statusInfo,proto3" json:"status_info,omitempty"`
	// contains filtered or unexported fields
}

func (*FeatureTier) Descriptor deprecated

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

Deprecated: Use FeatureTier.ProtoReflect.Descriptor instead.

func (*FeatureTier) GetDescription

func (x *FeatureTier) GetDescription() string

func (*FeatureTier) GetName

func (x *FeatureTier) GetName() string

func (*FeatureTier) GetState

func (x *FeatureTier) GetState() FeaturesState

func (*FeatureTier) GetStatusInfo

func (x *FeatureTier) GetStatusInfo() string

func (*FeatureTier) ProtoMessage

func (*FeatureTier) ProtoMessage()

func (*FeatureTier) ProtoReflect

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

func (*FeatureTier) Reset

func (x *FeatureTier) Reset()

func (*FeatureTier) String

func (x *FeatureTier) String() string

type Features

type Features struct {
	Details                  *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	Tier                     *FeatureTier          `protobuf:"bytes,2,opt,name=tier,proto3" json:"tier,omitempty"`
	IsDefault                bool                  `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	AuditLogRetention        *durationpb.Duration  `protobuf:"bytes,4,opt,name=audit_log_retention,json=auditLogRetention,proto3" json:"audit_log_retention,omitempty"`
	LoginPolicyUsernameLogin bool                  `` /* 138-byte string literal not displayed */
	LoginPolicyRegistration  bool                  `` /* 133-byte string literal not displayed */
	LoginPolicyIdp           bool                  `protobuf:"varint,7,opt,name=login_policy_idp,json=loginPolicyIdp,proto3" json:"login_policy_idp,omitempty"`
	LoginPolicyFactors       bool                  `protobuf:"varint,8,opt,name=login_policy_factors,json=loginPolicyFactors,proto3" json:"login_policy_factors,omitempty"`
	LoginPolicyPasswordless  bool                  `` /* 133-byte string literal not displayed */
	PasswordComplexityPolicy bool                  `` /* 137-byte string literal not displayed */
	LabelPolicy              bool                  `protobuf:"varint,11,opt,name=label_policy,json=labelPolicy,proto3" json:"label_policy,omitempty"`
	CustomDomain             bool                  `protobuf:"varint,12,opt,name=custom_domain,json=customDomain,proto3" json:"custom_domain,omitempty"`
	LoginPolicyPasswordReset bool                  `` /* 139-byte string literal not displayed */
	LabelPolicyPrivateLabel  bool                  `` /* 136-byte string literal not displayed */
	LabelPolicyWatermark     bool                  `protobuf:"varint,15,opt,name=label_policy_watermark,json=labelPolicyWatermark,proto3" json:"label_policy_watermark,omitempty"`
	CustomText               bool                  `protobuf:"varint,16,opt,name=custom_text,json=customText,proto3" json:"custom_text,omitempty"`
	PrivacyPolicy            bool                  `protobuf:"varint,17,opt,name=privacy_policy,json=privacyPolicy,proto3" json:"privacy_policy,omitempty"`
	MetadataUser             bool                  `protobuf:"varint,18,opt,name=metadata_user,json=metadataUser,proto3" json:"metadata_user,omitempty"`
	CustomTextMessage        bool                  `protobuf:"varint,19,opt,name=custom_text_message,json=customTextMessage,proto3" json:"custom_text_message,omitempty"`
	CustomTextLogin          bool                  `protobuf:"varint,20,opt,name=custom_text_login,json=customTextLogin,proto3" json:"custom_text_login,omitempty"`
	LockoutPolicy            bool                  `protobuf:"varint,21,opt,name=lockout_policy,json=lockoutPolicy,proto3" json:"lockout_policy,omitempty"`
	Actions                  bool                  `protobuf:"varint,22,opt,name=actions,proto3" json:"actions,omitempty"`
	ActionsAllowed           ActionsAllowed        `` /* 145-byte string literal not displayed */
	MaxActions               int32                 `protobuf:"varint,24,opt,name=max_actions,json=maxActions,proto3" json:"max_actions,omitempty"`
	// contains filtered or unexported fields
}

func (*Features) Descriptor deprecated

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

Deprecated: Use Features.ProtoReflect.Descriptor instead.

func (*Features) GetActions

func (x *Features) GetActions() bool

func (*Features) GetActionsAllowed

func (x *Features) GetActionsAllowed() ActionsAllowed

func (*Features) GetAuditLogRetention

func (x *Features) GetAuditLogRetention() *durationpb.Duration

func (*Features) GetCustomDomain

func (x *Features) GetCustomDomain() bool

func (*Features) GetCustomText

func (x *Features) GetCustomText() bool

func (*Features) GetCustomTextLogin

func (x *Features) GetCustomTextLogin() bool

func (*Features) GetCustomTextMessage

func (x *Features) GetCustomTextMessage() bool

func (*Features) GetDetails

func (x *Features) GetDetails() *object.ObjectDetails

func (*Features) GetIsDefault

func (x *Features) GetIsDefault() bool

func (*Features) GetLabelPolicy

func (x *Features) GetLabelPolicy() bool

func (*Features) GetLabelPolicyPrivateLabel

func (x *Features) GetLabelPolicyPrivateLabel() bool

func (*Features) GetLabelPolicyWatermark

func (x *Features) GetLabelPolicyWatermark() bool

func (*Features) GetLockoutPolicy

func (x *Features) GetLockoutPolicy() bool

func (*Features) GetLoginPolicyFactors

func (x *Features) GetLoginPolicyFactors() bool

func (*Features) GetLoginPolicyIdp

func (x *Features) GetLoginPolicyIdp() bool

func (*Features) GetLoginPolicyPasswordReset

func (x *Features) GetLoginPolicyPasswordReset() bool

func (*Features) GetLoginPolicyPasswordless

func (x *Features) GetLoginPolicyPasswordless() bool

func (*Features) GetLoginPolicyRegistration

func (x *Features) GetLoginPolicyRegistration() bool

func (*Features) GetLoginPolicyUsernameLogin

func (x *Features) GetLoginPolicyUsernameLogin() bool

func (*Features) GetMaxActions

func (x *Features) GetMaxActions() int32

func (*Features) GetMetadataUser

func (x *Features) GetMetadataUser() bool

func (*Features) GetPasswordComplexityPolicy

func (x *Features) GetPasswordComplexityPolicy() bool

func (*Features) GetPrivacyPolicy

func (x *Features) GetPrivacyPolicy() bool

func (*Features) GetTier

func (x *Features) GetTier() *FeatureTier

func (*Features) ProtoMessage

func (*Features) ProtoMessage()

func (*Features) ProtoReflect

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

func (*Features) Reset

func (x *Features) Reset()

func (*Features) String

func (x *Features) String() string

type FeaturesState

type FeaturesState int32
const (
	FeaturesState_FEATURES_STATE_ACTIVE          FeaturesState = 0
	FeaturesState_FEATURES_STATE_ACTION_REQUIRED FeaturesState = 1
	FeaturesState_FEATURES_STATE_CANCELED        FeaturesState = 2
	FeaturesState_FEATURES_STATE_GRANDFATHERED   FeaturesState = 3
)

func (FeaturesState) Descriptor

func (FeaturesState) Enum

func (x FeaturesState) Enum() *FeaturesState

func (FeaturesState) EnumDescriptor deprecated

func (FeaturesState) EnumDescriptor() ([]byte, []int)

Deprecated: Use FeaturesState.Descriptor instead.

func (FeaturesState) Number

func (FeaturesState) String

func (x FeaturesState) String() string

func (FeaturesState) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL