userv3

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_types_userpb_v3_group_proto protoreflect.FileDescriptor
View Source
var File_proto_types_userpb_v3_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Group

type Group struct {
	ApiVersion string       `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string       `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *GroupSpec   `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	Status     *v3.Status   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetApiVersion

func (x *Group) GetApiVersion() string

func (*Group) GetKind

func (x *Group) GetKind() string

func (*Group) GetMetadata

func (x *Group) GetMetadata() *v3.Metadata

func (*Group) GetSpec

func (x *Group) GetSpec() *GroupSpec

func (*Group) GetStatus

func (x *Group) GetStatus() *v3.Status

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type GroupList

type GroupList struct {
	ApiVersion string           `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string           `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.ListMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Items      []*Group         `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupList) Descriptor deprecated

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

Deprecated: Use GroupList.ProtoReflect.Descriptor instead.

func (*GroupList) GetApiVersion

func (x *GroupList) GetApiVersion() string

func (*GroupList) GetItems

func (x *GroupList) GetItems() []*Group

func (*GroupList) GetKind

func (x *GroupList) GetKind() string

func (*GroupList) GetMetadata

func (x *GroupList) GetMetadata() *v3.ListMetadata

func (*GroupList) ProtoMessage

func (*GroupList) ProtoMessage()

func (*GroupList) ProtoReflect

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

func (*GroupList) Reset

func (x *GroupList) Reset()

func (*GroupList) String

func (x *GroupList) String() string

type GroupSpec

type GroupSpec struct {
	ProjectNamespaceRoles []*ProjectNamespaceRole `protobuf:"bytes,1,rep,name=projectNamespaceRoles,proto3" json:"projectNamespaceRoles,omitempty"`
	Users                 []string                `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
	Type                  string                  `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupSpec) Descriptor deprecated

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

Deprecated: Use GroupSpec.ProtoReflect.Descriptor instead.

func (*GroupSpec) GetProjectNamespaceRoles

func (x *GroupSpec) GetProjectNamespaceRoles() []*ProjectNamespaceRole

func (*GroupSpec) GetType

func (x *GroupSpec) GetType() string

func (*GroupSpec) GetUsers

func (x *GroupSpec) GetUsers() []string

func (*GroupSpec) ProtoMessage

func (*GroupSpec) ProtoMessage()

func (*GroupSpec) ProtoReflect

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

func (*GroupSpec) Reset

func (x *GroupSpec) Reset()

func (*GroupSpec) String

func (x *GroupSpec) String() string

type Permission

type Permission struct {
	Project     *string  `protobuf:"bytes,1,opt,name=project,proto3,oneof" json:"project,omitempty"`
	Namespace   *string  `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	Role        string   `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	Permissions []string `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Scope       *string  `protobuf:"bytes,5,opt,name=scope,proto3,oneof" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetNamespace

func (x *Permission) GetNamespace() string

func (*Permission) GetPermissions

func (x *Permission) GetPermissions() []string

func (*Permission) GetProject

func (x *Permission) GetProject() string

func (*Permission) GetRole

func (x *Permission) GetRole() string

func (*Permission) GetScope added in v0.1.9

func (x *Permission) GetScope() string

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

type ProjectNamespaceRole

type ProjectNamespaceRole struct {
	Project   *string `protobuf:"bytes,1,opt,name=project,proto3,oneof" json:"project,omitempty"`
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	Role      string  `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	Group     *string `protobuf:"bytes,4,opt,name=group,proto3,oneof" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectNamespaceRole) Descriptor deprecated

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

Deprecated: Use ProjectNamespaceRole.ProtoReflect.Descriptor instead.

func (*ProjectNamespaceRole) GetGroup

func (x *ProjectNamespaceRole) GetGroup() string

func (*ProjectNamespaceRole) GetNamespace

func (x *ProjectNamespaceRole) GetNamespace() string

func (*ProjectNamespaceRole) GetProject

func (x *ProjectNamespaceRole) GetProject() string

func (*ProjectNamespaceRole) GetRole

func (x *ProjectNamespaceRole) GetRole() string

func (*ProjectNamespaceRole) ProtoMessage

func (*ProjectNamespaceRole) ProtoMessage()

func (*ProjectNamespaceRole) ProtoReflect

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

func (*ProjectNamespaceRole) Reset

func (x *ProjectNamespaceRole) Reset()

func (*ProjectNamespaceRole) String

func (x *ProjectNamespaceRole) String() string

type User

type User struct {
	ApiVersion string       `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string       `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *UserSpec    `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	Status     *v3.Status   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetApiVersion

func (x *User) GetApiVersion() string

func (*User) GetKind

func (x *User) GetKind() string

func (*User) GetMetadata

func (x *User) GetMetadata() *v3.Metadata

func (*User) GetSpec

func (x *User) GetSpec() *UserSpec

func (*User) GetStatus

func (x *User) GetStatus() *v3.Status

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserInfo

type UserInfo struct {
	ApiVersion string        `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string        `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.Metadata  `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *UserInfoSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	Status     *v3.Status    `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInfo) Descriptor deprecated

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

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetApiVersion

func (x *UserInfo) GetApiVersion() string

func (*UserInfo) GetKind

func (x *UserInfo) GetKind() string

func (*UserInfo) GetMetadata

func (x *UserInfo) GetMetadata() *v3.Metadata

func (*UserInfo) GetSpec

func (x *UserInfo) GetSpec() *UserInfoSpec

func (*UserInfo) GetStatus

func (x *UserInfo) GetStatus() *v3.Status

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

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

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

type UserInfoSpec

type UserInfoSpec struct {
	FirstName     string        `protobuf:"bytes,1,opt,name=firstName,proto3" json:"firstName,omitempty"`
	LastName      string        `protobuf:"bytes,2,opt,name=lastName,proto3" json:"lastName,omitempty"`
	Phone         string        `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	Groups        []string      `protobuf:"bytes,6,rep,name=groups,proto3" json:"groups,omitempty"`
	IdpGroups     []string      `protobuf:"bytes,7,rep,name=idpGroups,proto3" json:"idpGroups,omitempty"`
	Permissions   []*Permission `protobuf:"bytes,8,rep,name=permissions,proto3" json:"permissions,omitempty"`
	EmailVerified bool          `protobuf:"varint,9,opt,name=emailVerified,proto3" json:"emailVerified,omitempty"`
	PhoneVerified bool          `protobuf:"varint,10,opt,name=phoneVerified,proto3" json:"phoneVerified,omitempty"`
	ForceReset    bool          `protobuf:"varint,11,opt,name=forceReset,proto3" json:"forceReset,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInfoSpec) Descriptor deprecated

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

Deprecated: Use UserInfoSpec.ProtoReflect.Descriptor instead.

func (*UserInfoSpec) GetEmailVerified

func (x *UserInfoSpec) GetEmailVerified() bool

func (*UserInfoSpec) GetFirstName

func (x *UserInfoSpec) GetFirstName() string

func (*UserInfoSpec) GetForceReset added in v0.2.0

func (x *UserInfoSpec) GetForceReset() bool

func (*UserInfoSpec) GetGroups

func (x *UserInfoSpec) GetGroups() []string

func (*UserInfoSpec) GetIdpGroups

func (x *UserInfoSpec) GetIdpGroups() []string

func (*UserInfoSpec) GetLastName

func (x *UserInfoSpec) GetLastName() string

func (*UserInfoSpec) GetPermissions

func (x *UserInfoSpec) GetPermissions() []*Permission

func (*UserInfoSpec) GetPhone

func (x *UserInfoSpec) GetPhone() string

func (*UserInfoSpec) GetPhoneVerified

func (x *UserInfoSpec) GetPhoneVerified() bool

func (*UserInfoSpec) ProtoMessage

func (*UserInfoSpec) ProtoMessage()

func (*UserInfoSpec) ProtoReflect

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

func (*UserInfoSpec) Reset

func (x *UserInfoSpec) Reset()

func (*UserInfoSpec) String

func (x *UserInfoSpec) String() string

type UserList

type UserList struct {
	ApiVersion string           `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string           `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *v3.ListMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Items      []*User          `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*UserList) Descriptor deprecated

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

Deprecated: Use UserList.ProtoReflect.Descriptor instead.

func (*UserList) GetApiVersion

func (x *UserList) GetApiVersion() string

func (*UserList) GetItems

func (x *UserList) GetItems() []*User

func (*UserList) GetKind

func (x *UserList) GetKind() string

func (*UserList) GetMetadata

func (x *UserList) GetMetadata() *v3.ListMetadata

func (*UserList) ProtoMessage

func (*UserList) ProtoMessage()

func (*UserList) ProtoReflect

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

func (*UserList) Reset

func (x *UserList) Reset()

func (*UserList) String

func (x *UserList) String() string

type UserRole

type UserRole struct {
	User      string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Role      string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRole) Descriptor deprecated

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

Deprecated: Use UserRole.ProtoReflect.Descriptor instead.

func (*UserRole) GetNamespace

func (x *UserRole) GetNamespace() string

func (*UserRole) GetRole

func (x *UserRole) GetRole() string

func (*UserRole) GetUser

func (x *UserRole) GetUser() string

func (*UserRole) ProtoMessage

func (*UserRole) ProtoMessage()

func (*UserRole) ProtoReflect

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

func (*UserRole) Reset

func (x *UserRole) Reset()

func (*UserRole) String

func (x *UserRole) String() string

type UserSpec

type UserSpec struct {
	FirstName             string                  `protobuf:"bytes,1,opt,name=firstName,proto3" json:"firstName,omitempty"`
	LastName              string                  `protobuf:"bytes,2,opt,name=lastName,proto3" json:"lastName,omitempty"`
	Phone                 string                  `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	Password              string                  `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	Groups                []string                `protobuf:"bytes,6,rep,name=groups,proto3" json:"groups,omitempty"`
	IdpGroups             []string                `protobuf:"bytes,7,rep,name=idpGroups,proto3" json:"idpGroups,omitempty"`
	ProjectNamespaceRoles []*ProjectNamespaceRole `protobuf:"bytes,8,rep,name=projectNamespaceRoles,proto3" json:"projectNamespaceRoles,omitempty"`
	EmailVerified         bool                    `protobuf:"varint,9,opt,name=emailVerified,proto3" json:"emailVerified,omitempty"`
	PhoneVerified         bool                    `protobuf:"varint,10,opt,name=phoneVerified,proto3" json:"phoneVerified,omitempty"`
	RecoveryUrl           *string                 `protobuf:"bytes,11,opt,name=recoveryUrl,proto3,oneof" json:"recoveryUrl,omitempty"`
	LastLogin             string                  `protobuf:"bytes,12,opt,name=lastLogin,proto3" json:"lastLogin,omitempty"`
	ForceReset            bool                    `protobuf:"varint,13,opt,name=forceReset,proto3" json:"forceReset,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSpec) Descriptor deprecated

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

Deprecated: Use UserSpec.ProtoReflect.Descriptor instead.

func (*UserSpec) GetEmailVerified

func (x *UserSpec) GetEmailVerified() bool

func (*UserSpec) GetFirstName

func (x *UserSpec) GetFirstName() string

func (*UserSpec) GetForceReset added in v0.2.0

func (x *UserSpec) GetForceReset() bool

func (*UserSpec) GetGroups

func (x *UserSpec) GetGroups() []string

func (*UserSpec) GetIdpGroups

func (x *UserSpec) GetIdpGroups() []string

func (*UserSpec) GetLastLogin added in v0.1.7

func (x *UserSpec) GetLastLogin() string

func (*UserSpec) GetLastName

func (x *UserSpec) GetLastName() string

func (*UserSpec) GetPassword

func (x *UserSpec) GetPassword() string

func (*UserSpec) GetPhone

func (x *UserSpec) GetPhone() string

func (*UserSpec) GetPhoneVerified

func (x *UserSpec) GetPhoneVerified() bool

func (*UserSpec) GetProjectNamespaceRoles

func (x *UserSpec) GetProjectNamespaceRoles() []*ProjectNamespaceRole

func (*UserSpec) GetRecoveryUrl

func (x *UserSpec) GetRecoveryUrl() string

func (*UserSpec) ProtoMessage

func (*UserSpec) ProtoMessage()

func (*UserSpec) ProtoReflect

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

func (*UserSpec) Reset

func (x *UserSpec) Reset()

func (*UserSpec) String

func (x *UserSpec) String() string

Jump to

Keyboard shortcuts

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