Documentation
¶
Index ¶
- Variables
- type AccountActionGroup
- type AccountRole
- type AccountRoleSpec
- func (*AccountRoleSpec) Descriptor() ([]byte, []int)
- func (this *AccountRoleSpec) Equal(that interface{}) bool
- func (m *AccountRoleSpec) GetActionGroup() AccountActionGroup
- func (this *AccountRoleSpec) GoString() string
- func (m *AccountRoleSpec) Marshal() (dAtA []byte, err error)
- func (m *AccountRoleSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountRoleSpec) ProtoMessage()
- func (m *AccountRoleSpec) Reset()
- func (m *AccountRoleSpec) Size() (n int)
- func (this *AccountRoleSpec) String() string
- func (m *AccountRoleSpec) Unmarshal(dAtA []byte) error
- func (m *AccountRoleSpec) XXX_DiscardUnknown()
- func (m *AccountRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountRoleSpec) XXX_Merge(src proto.Message)
- func (m *AccountRoleSpec) XXX_Size() int
- func (m *AccountRoleSpec) XXX_Unmarshal(b []byte) error
- type GetUsersResponseWrapper
- type Invitation
- func (*Invitation) Descriptor() ([]byte, []int)
- func (this *Invitation) Equal(that interface{}) bool
- func (m *Invitation) GetCreatedTime() *types.Timestamp
- func (m *Invitation) GetExpiryTime() *types.Timestamp
- func (m *Invitation) GetUri() string
- func (this *Invitation) GoString() string
- func (m *Invitation) Marshal() (dAtA []byte, err error)
- func (m *Invitation) MarshalTo(dAtA []byte) (int, error)
- func (m *Invitation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Invitation) ProtoMessage()
- func (m *Invitation) Reset()
- func (m *Invitation) Size() (n int)
- func (this *Invitation) String() string
- func (m *Invitation) Unmarshal(dAtA []byte) error
- func (m *Invitation) XXX_DiscardUnknown()
- func (m *Invitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invitation) XXX_Merge(src proto.Message)
- func (m *Invitation) XXX_Size() int
- func (m *Invitation) XXX_Unmarshal(b []byte) error
- type NamespaceActionGroup
- type NamespacePermission
- type NamespaceRoleSpec
- func (*NamespaceRoleSpec) Descriptor() ([]byte, []int)
- func (this *NamespaceRoleSpec) Equal(that interface{}) bool
- func (m *NamespaceRoleSpec) GetActionGroup() NamespaceActionGroup
- func (m *NamespaceRoleSpec) GetNamespace() string
- func (this *NamespaceRoleSpec) GoString() string
- func (m *NamespaceRoleSpec) Marshal() (dAtA []byte, err error)
- func (m *NamespaceRoleSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *NamespaceRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NamespaceRoleSpec) ProtoMessage()
- func (m *NamespaceRoleSpec) Reset()
- func (m *NamespaceRoleSpec) Size() (n int)
- func (this *NamespaceRoleSpec) String() string
- func (m *NamespaceRoleSpec) Unmarshal(dAtA []byte) error
- func (m *NamespaceRoleSpec) XXX_DiscardUnknown()
- func (m *NamespaceRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NamespaceRoleSpec) XXX_Merge(src proto.Message)
- func (m *NamespaceRoleSpec) XXX_Size() int
- func (m *NamespaceRoleSpec) XXX_Unmarshal(b []byte) error
- type Role
- func (*Role) Descriptor() ([]byte, []int)
- func (this *Role) Equal(that interface{}) bool
- func (m *Role) GetId() string
- func (m *Role) GetSpec() *RoleSpec
- func (m *Role) GetType() RoleType
- func (this *Role) GoString() string
- func (m *Role) Marshal() (dAtA []byte, err error)
- func (m *Role) MarshalTo(dAtA []byte) (int, error)
- func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Role) ProtoMessage()
- func (m *Role) Reset()
- func (m *Role) Size() (n int)
- func (this *Role) String() string
- func (m *Role) Unmarshal(dAtA []byte) error
- func (m *Role) XXX_DiscardUnknown()
- func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Role) XXX_Merge(src proto.Message)
- func (m *Role) XXX_Size() int
- func (m *Role) XXX_Unmarshal(b []byte) error
- type RoleSpec
- func (*RoleSpec) Descriptor() ([]byte, []int)
- func (this *RoleSpec) Equal(that interface{}) bool
- func (m *RoleSpec) GetAccountRole() *AccountRoleSpec
- func (m *RoleSpec) GetNamespaceRoles() []*NamespaceRoleSpec
- func (this *RoleSpec) GoString() string
- func (m *RoleSpec) Marshal() (dAtA []byte, err error)
- func (m *RoleSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *RoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RoleSpec) ProtoMessage()
- func (m *RoleSpec) Reset()
- func (m *RoleSpec) Size() (n int)
- func (this *RoleSpec) String() string
- func (m *RoleSpec) Unmarshal(dAtA []byte) error
- func (m *RoleSpec) XXX_DiscardUnknown()
- func (m *RoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoleSpec) XXX_Merge(src proto.Message)
- func (m *RoleSpec) XXX_Size() int
- func (m *RoleSpec) XXX_Unmarshal(b []byte) error
- type RoleType
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (this *User) Equal(that interface{}) bool
- func (m *User) GetCreatedTime() *types.Timestamp
- func (m *User) GetId() string
- func (m *User) GetInvitation() *Invitation
- func (m *User) GetLastModifiedTime() *types.Timestamp
- func (m *User) GetRequestId() string
- func (m *User) GetResourceVersion() string
- func (m *User) GetSpec() *UserSpec
- func (m *User) GetState() UserState
- func (this *User) GoString() string
- func (m *User) Marshal() (dAtA []byte, err error)
- func (m *User) MarshalTo(dAtA []byte) (int, error)
- func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) Size() (n int)
- func (this *User) String() string
- func (m *User) Unmarshal(dAtA []byte) error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserNamespacePermissions
- func (*UserNamespacePermissions) Descriptor() ([]byte, []int)
- func (this *UserNamespacePermissions) Equal(that interface{}) bool
- func (m *UserNamespacePermissions) GetActionGroup() NamespaceActionGroup
- func (m *UserNamespacePermissions) GetUserId() string
- func (this *UserNamespacePermissions) GoString() string
- func (m *UserNamespacePermissions) Marshal() (dAtA []byte, err error)
- func (m *UserNamespacePermissions) MarshalTo(dAtA []byte) (int, error)
- func (m *UserNamespacePermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserNamespacePermissions) ProtoMessage()
- func (m *UserNamespacePermissions) Reset()
- func (m *UserNamespacePermissions) Size() (n int)
- func (this *UserNamespacePermissions) String() string
- func (m *UserNamespacePermissions) Unmarshal(dAtA []byte) error
- func (m *UserNamespacePermissions) XXX_DiscardUnknown()
- func (m *UserNamespacePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserNamespacePermissions) XXX_Merge(src proto.Message)
- func (m *UserNamespacePermissions) XXX_Size() int
- func (m *UserNamespacePermissions) XXX_Unmarshal(b []byte) error
- type UserSpec
- func (*UserSpec) Descriptor() ([]byte, []int)
- func (this *UserSpec) Equal(that interface{}) bool
- func (m *UserSpec) GetEmail() string
- func (m *UserSpec) GetRoles() []string
- func (this *UserSpec) GoString() string
- func (m *UserSpec) Marshal() (dAtA []byte, err error)
- func (m *UserSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *UserSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserSpec) ProtoMessage()
- func (m *UserSpec) Reset()
- func (m *UserSpec) Size() (n int)
- func (this *UserSpec) String() string
- func (m *UserSpec) Unmarshal(dAtA []byte) error
- func (m *UserSpec) XXX_DiscardUnknown()
- func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserSpec) XXX_Merge(src proto.Message)
- func (m *UserSpec) XXX_Size() int
- func (m *UserSpec) XXX_Unmarshal(b []byte) error
- type UserSpecWrapper
- type UserState
- type UserWrapper
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") )
View Source
var AccountActionGroup_name = map[int32]string{
0: "Unspecified",
1: "Admin",
2: "Developer",
3: "Read",
}
View Source
var AccountActionGroup_value = map[string]int32{
"Unspecified": 0,
"Admin": 1,
"Developer": 2,
"Read": 3,
}
View Source
var NamespaceActionGroup_name = map[int32]string{
0: "Unspecified",
1: "Admin",
2: "Write",
3: "Read",
}
View Source
var NamespaceActionGroup_value = map[string]int32{
"Unspecified": 0,
"Admin": 1,
"Write": 2,
"Read": 3,
}
View Source
var RoleType_name = map[int32]string{
0: "Unspecified",
1: "Predefined",
}
View Source
var RoleType_value = map[string]int32{
"Unspecified": 0,
"Predefined": 1,
}
View Source
var UserState_name = map[int32]string{
0: "Unspecified",
1: "Creating",
2: "CreateFailed",
3: "Active",
4: "Updating",
5: "UpdateFailed",
6: "Deleting",
7: "DeleteFailed",
8: "Deleted",
}
View Source
var UserState_value = map[string]int32{
"Unspecified": 0,
"Creating": 1,
"CreateFailed": 2,
"Active": 3,
"Updating": 4,
"UpdateFailed": 5,
"Deleting": 6,
"DeleteFailed": 7,
"Deleted": 8,
}
Functions ¶
This section is empty.
Types ¶
type AccountActionGroup ¶
type AccountActionGroup int32
const ( ACCOUNT_ACTION_GROUP_UNSPECIFIED AccountActionGroup = 0 // global admin ACCOUNT_ACTION_GROUP_ADMIN AccountActionGroup = 1 // write access to all namespaces ACCOUNT_ACTION_GROUP_DEVELOPER AccountActionGroup = 2 // read-only access to all namespaces ACCOUNT_ACTION_GROUP_READ AccountActionGroup = 3 )
func (AccountActionGroup) EnumDescriptor ¶
func (AccountActionGroup) EnumDescriptor() ([]byte, []int)
func (AccountActionGroup) String ¶
func (x AccountActionGroup) String() string
type AccountRole ¶ added in v0.6.0
type AccountRole struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
}
func (*AccountRole) ProtoMessage ¶ added in v0.6.0
func (*AccountRole) ProtoMessage()
func (*AccountRole) Reset ¶ added in v0.6.0
func (*AccountRole) Reset()
func (*AccountRole) String ¶ added in v0.6.0
func (this *AccountRole) String() string
type AccountRoleSpec ¶
type AccountRoleSpec struct {
// the action group to enable for the account
ActionGroup AccountActionGroup `` /* 131-byte string literal not displayed */
}
func (*AccountRoleSpec) Descriptor ¶
func (*AccountRoleSpec) Descriptor() ([]byte, []int)
func (*AccountRoleSpec) Equal ¶
func (this *AccountRoleSpec) Equal(that interface{}) bool
func (*AccountRoleSpec) GetActionGroup ¶
func (m *AccountRoleSpec) GetActionGroup() AccountActionGroup
func (*AccountRoleSpec) GoString ¶
func (this *AccountRoleSpec) GoString() string
func (*AccountRoleSpec) Marshal ¶
func (m *AccountRoleSpec) Marshal() (dAtA []byte, err error)
func (*AccountRoleSpec) MarshalToSizedBuffer ¶
func (m *AccountRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountRoleSpec) ProtoMessage ¶
func (*AccountRoleSpec) ProtoMessage()
func (*AccountRoleSpec) Reset ¶
func (m *AccountRoleSpec) Reset()
func (*AccountRoleSpec) Size ¶
func (m *AccountRoleSpec) Size() (n int)
func (*AccountRoleSpec) String ¶
func (this *AccountRoleSpec) String() string
func (*AccountRoleSpec) Unmarshal ¶
func (m *AccountRoleSpec) Unmarshal(dAtA []byte) error
func (*AccountRoleSpec) XXX_DiscardUnknown ¶
func (m *AccountRoleSpec) XXX_DiscardUnknown()
func (*AccountRoleSpec) XXX_Marshal ¶
func (m *AccountRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountRoleSpec) XXX_Merge ¶
func (m *AccountRoleSpec) XXX_Merge(src proto.Message)
func (*AccountRoleSpec) XXX_Size ¶
func (m *AccountRoleSpec) XXX_Size() int
func (*AccountRoleSpec) XXX_Unmarshal ¶
func (m *AccountRoleSpec) XXX_Unmarshal(b []byte) error
type GetUsersResponseWrapper ¶ added in v0.6.0
type GetUsersResponseWrapper struct {
Users []*UserWrapper `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
}
func (*GetUsersResponseWrapper) ProtoMessage ¶ added in v0.6.0
func (*GetUsersResponseWrapper) ProtoMessage()
func (*GetUsersResponseWrapper) Reset ¶ added in v0.6.0
func (*GetUsersResponseWrapper) Reset()
func (*GetUsersResponseWrapper) String ¶ added in v0.6.0
func (this *GetUsersResponseWrapper) String() string
type Invitation ¶
type Invitation struct {
// the uri of the invitation sent to the user
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// the date and time when the user was created
CreatedTime *types.Timestamp `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
// the date and time when the invitation expires or has expired
ExpiryTime *types.Timestamp `protobuf:"bytes,3,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
}
func (*Invitation) Descriptor ¶
func (*Invitation) Descriptor() ([]byte, []int)
func (*Invitation) Equal ¶
func (this *Invitation) Equal(that interface{}) bool
func (*Invitation) GetCreatedTime ¶
func (m *Invitation) GetCreatedTime() *types.Timestamp
func (*Invitation) GetExpiryTime ¶
func (m *Invitation) GetExpiryTime() *types.Timestamp
func (*Invitation) GetUri ¶
func (m *Invitation) GetUri() string
func (*Invitation) GoString ¶
func (this *Invitation) GoString() string
func (*Invitation) Marshal ¶
func (m *Invitation) Marshal() (dAtA []byte, err error)
func (*Invitation) MarshalToSizedBuffer ¶
func (m *Invitation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Invitation) ProtoMessage ¶
func (*Invitation) ProtoMessage()
func (*Invitation) Reset ¶
func (m *Invitation) Reset()
func (*Invitation) Size ¶
func (m *Invitation) Size() (n int)
func (*Invitation) String ¶
func (this *Invitation) String() string
func (*Invitation) Unmarshal ¶
func (m *Invitation) Unmarshal(dAtA []byte) error
func (*Invitation) XXX_DiscardUnknown ¶
func (m *Invitation) XXX_DiscardUnknown()
func (*Invitation) XXX_Marshal ¶
func (m *Invitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Invitation) XXX_Merge ¶
func (m *Invitation) XXX_Merge(src proto.Message)
func (*Invitation) XXX_Size ¶
func (m *Invitation) XXX_Size() int
func (*Invitation) XXX_Unmarshal ¶
func (m *Invitation) XXX_Unmarshal(b []byte) error
type NamespaceActionGroup ¶
type NamespaceActionGroup int32
const ( NAMESPACE_ACTION_GROUP_UNSPECIFIED NamespaceActionGroup = 0 // admin access to the namespace NAMESPACE_ACTION_GROUP_ADMIN NamespaceActionGroup = 1 // write access to the namespace NAMESPACE_ACTION_GROUP_WRITE NamespaceActionGroup = 2 // read-only access to the namesapce NAMESPACE_ACTION_GROUP_READ NamespaceActionGroup = 3 )
func (NamespaceActionGroup) EnumDescriptor ¶
func (NamespaceActionGroup) EnumDescriptor() ([]byte, []int)
func (NamespaceActionGroup) String ¶
func (x NamespaceActionGroup) String() string
type NamespacePermission ¶ added in v0.6.0
type NamespacePermission struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
}
func (*NamespacePermission) ProtoMessage ¶ added in v0.6.0
func (*NamespacePermission) ProtoMessage()
func (*NamespacePermission) Reset ¶ added in v0.6.0
func (*NamespacePermission) Reset()
func (*NamespacePermission) String ¶ added in v0.6.0
func (this *NamespacePermission) String() string
type NamespaceRoleSpec ¶
type NamespaceRoleSpec struct {
// the namespace the role is defined for
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// the action group to enable for the namepspace
ActionGroup NamespaceActionGroup `` /* 133-byte string literal not displayed */
}
func (*NamespaceRoleSpec) Descriptor ¶
func (*NamespaceRoleSpec) Descriptor() ([]byte, []int)
func (*NamespaceRoleSpec) Equal ¶
func (this *NamespaceRoleSpec) Equal(that interface{}) bool
func (*NamespaceRoleSpec) GetActionGroup ¶
func (m *NamespaceRoleSpec) GetActionGroup() NamespaceActionGroup
func (*NamespaceRoleSpec) GetNamespace ¶
func (m *NamespaceRoleSpec) GetNamespace() string
func (*NamespaceRoleSpec) GoString ¶
func (this *NamespaceRoleSpec) GoString() string
func (*NamespaceRoleSpec) Marshal ¶
func (m *NamespaceRoleSpec) Marshal() (dAtA []byte, err error)
func (*NamespaceRoleSpec) MarshalTo ¶
func (m *NamespaceRoleSpec) MarshalTo(dAtA []byte) (int, error)
func (*NamespaceRoleSpec) MarshalToSizedBuffer ¶
func (m *NamespaceRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NamespaceRoleSpec) ProtoMessage ¶
func (*NamespaceRoleSpec) ProtoMessage()
func (*NamespaceRoleSpec) Reset ¶
func (m *NamespaceRoleSpec) Reset()
func (*NamespaceRoleSpec) Size ¶
func (m *NamespaceRoleSpec) Size() (n int)
func (*NamespaceRoleSpec) String ¶
func (this *NamespaceRoleSpec) String() string
func (*NamespaceRoleSpec) Unmarshal ¶
func (m *NamespaceRoleSpec) Unmarshal(dAtA []byte) error
func (*NamespaceRoleSpec) XXX_DiscardUnknown ¶
func (m *NamespaceRoleSpec) XXX_DiscardUnknown()
func (*NamespaceRoleSpec) XXX_Marshal ¶
func (m *NamespaceRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NamespaceRoleSpec) XXX_Merge ¶
func (m *NamespaceRoleSpec) XXX_Merge(src proto.Message)
func (*NamespaceRoleSpec) XXX_Size ¶
func (m *NamespaceRoleSpec) XXX_Size() int
func (*NamespaceRoleSpec) XXX_Unmarshal ¶
func (m *NamespaceRoleSpec) XXX_Unmarshal(b []byte) error
type Role ¶
type Role struct {
// the id of the role
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// the role type
Type RoleType `protobuf:"varint,2,opt,name=type,proto3,enum=api.auth.v1.RoleType" json:"type,omitempty"`
// the specification of the role
Spec *RoleSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
}
func (*Role) Descriptor ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) XXX_DiscardUnknown ¶
func (m *Role) XXX_DiscardUnknown()
func (*Role) XXX_Unmarshal ¶
type RoleSpec ¶
type RoleSpec struct {
// the global account role
AccountRole *AccountRoleSpec `protobuf:"bytes,1,opt,name=account_role,json=accountRole,proto3" json:"account_role,omitempty"`
// the list of namespace roles
NamespaceRoles []*NamespaceRoleSpec `protobuf:"bytes,2,rep,name=namespace_roles,json=namespaceRoles,proto3" json:"namespace_roles,omitempty"`
}
func (*RoleSpec) Descriptor ¶
func (*RoleSpec) GetAccountRole ¶
func (m *RoleSpec) GetAccountRole() *AccountRoleSpec
func (*RoleSpec) GetNamespaceRoles ¶
func (m *RoleSpec) GetNamespaceRoles() []*NamespaceRoleSpec
func (*RoleSpec) MarshalToSizedBuffer ¶
func (*RoleSpec) ProtoMessage ¶
func (*RoleSpec) ProtoMessage()
func (*RoleSpec) XXX_DiscardUnknown ¶
func (m *RoleSpec) XXX_DiscardUnknown()
func (*RoleSpec) XXX_Marshal ¶
func (*RoleSpec) XXX_Unmarshal ¶
type User ¶
type User struct {
// the id of the user
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// the current version of the user specification
// the next update request will have to include this version
ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
// the user specification
Spec *UserSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
// the current state of the user
State UserState `protobuf:"varint,4,opt,name=state,proto3,enum=api.auth.v1.UserState" json:"state,omitempty"`
// the id of the request that is creating/updating/deleting the user, if any
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// the details of the open invitation sent to the user, if any
Invitation *Invitation `protobuf:"bytes,6,opt,name=invitation,proto3" json:"invitation,omitempty"`
// the date and time when the user was created
CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
// the date and time when the user was last modified
LastModifiedTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}
func (*User) Descriptor ¶
func (*User) GetCreatedTime ¶
func (*User) GetInvitation ¶
func (m *User) GetInvitation() *Invitation
func (*User) GetLastModifiedTime ¶
func (*User) GetRequestId ¶
func (*User) GetResourceVersion ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserNamespacePermissions ¶
type UserNamespacePermissions struct {
// the user to set namespace permissions for
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// the namespace action group to set for the user
ActionGroup NamespaceActionGroup `` /* 133-byte string literal not displayed */
}
should be used along side namespace_id to determine permissions set for a user
func (*UserNamespacePermissions) Descriptor ¶
func (*UserNamespacePermissions) Descriptor() ([]byte, []int)
func (*UserNamespacePermissions) Equal ¶
func (this *UserNamespacePermissions) Equal(that interface{}) bool
func (*UserNamespacePermissions) GetActionGroup ¶
func (m *UserNamespacePermissions) GetActionGroup() NamespaceActionGroup
func (*UserNamespacePermissions) GetUserId ¶
func (m *UserNamespacePermissions) GetUserId() string
func (*UserNamespacePermissions) GoString ¶
func (this *UserNamespacePermissions) GoString() string
func (*UserNamespacePermissions) Marshal ¶
func (m *UserNamespacePermissions) Marshal() (dAtA []byte, err error)
func (*UserNamespacePermissions) MarshalTo ¶
func (m *UserNamespacePermissions) MarshalTo(dAtA []byte) (int, error)
func (*UserNamespacePermissions) MarshalToSizedBuffer ¶
func (m *UserNamespacePermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserNamespacePermissions) ProtoMessage ¶
func (*UserNamespacePermissions) ProtoMessage()
func (*UserNamespacePermissions) Reset ¶
func (m *UserNamespacePermissions) Reset()
func (*UserNamespacePermissions) Size ¶
func (m *UserNamespacePermissions) Size() (n int)
func (*UserNamespacePermissions) String ¶
func (this *UserNamespacePermissions) String() string
func (*UserNamespacePermissions) Unmarshal ¶
func (m *UserNamespacePermissions) Unmarshal(dAtA []byte) error
func (*UserNamespacePermissions) XXX_DiscardUnknown ¶
func (m *UserNamespacePermissions) XXX_DiscardUnknown()
func (*UserNamespacePermissions) XXX_Marshal ¶
func (m *UserNamespacePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserNamespacePermissions) XXX_Merge ¶
func (m *UserNamespacePermissions) XXX_Merge(src proto.Message)
func (*UserNamespacePermissions) XXX_Size ¶
func (m *UserNamespacePermissions) XXX_Size() int
func (*UserNamespacePermissions) XXX_Unmarshal ¶
func (m *UserNamespacePermissions) XXX_Unmarshal(b []byte) error
type UserSpec ¶
type UserSpec struct {
// the email address associated to the user
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
// the roles assigned to the user
Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
}
func (*UserSpec) Descriptor ¶
func (*UserSpec) MarshalToSizedBuffer ¶
func (*UserSpec) ProtoMessage ¶
func (*UserSpec) ProtoMessage()
func (*UserSpec) XXX_DiscardUnknown ¶
func (m *UserSpec) XXX_DiscardUnknown()
func (*UserSpec) XXX_Marshal ¶
func (*UserSpec) XXX_Unmarshal ¶
type UserSpecWrapper ¶ added in v0.6.0
type UserSpecWrapper struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
AccountRole AccountRole `protobuf:"bytes,3,opt,name=account_role,json=accountRole,proto3" json:"account_role,omitempty"`
NamespacePermissions []NamespacePermission `protobuf:"bytes,4,opt,name=namespace_permissions,json=namespacePermissions,proto3" json:"namespace_permissions,omitempty"`
}
func (*UserSpecWrapper) ProtoMessage ¶ added in v0.6.0
func (*UserSpecWrapper) ProtoMessage()
func (*UserSpecWrapper) Reset ¶ added in v0.6.0
func (*UserSpecWrapper) Reset()
func (*UserSpecWrapper) String ¶ added in v0.6.0
func (this *UserSpecWrapper) String() string
type UserState ¶
type UserState int32
const ( USER_STATE_UNSPECIFIED UserState = 0 // user is being created by the system USER_STATE_CREATING UserState = 1 // user create operation failed USER_STATE_CREATE_FAILED UserState = 2 // the user exists in the system (includes user with an outstanding invite) USER_STATE_ACTIVE UserState = 3 // user is being udpate USER_STATE_UPDATING UserState = 4 // the last user update failed USER_STATE_UPDATE_FAILED UserState = 5 // the user is being deleted USER_STATE_DELETING UserState = 6 // the user delete opertion failed USER_STATE_DELETE_FAILED UserState = 7 // the user is successfully deleted USER_STATE_DELETED UserState = 8 )
func (UserState) EnumDescriptor ¶
type UserWrapper ¶ added in v0.6.0
type UserWrapper struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
Spec *UserSpecWrapper `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
State UserState `protobuf:"varint,4,opt,name=state,proto3,enum=api.auth.v1.UserState" json:"state,omitempty"`
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
Invitation *Invitation `protobuf:"bytes,6,opt,name=invitation,proto3" json:"invitation,omitempty"`
CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
LastModifiedTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}
func (*UserWrapper) ProtoMessage ¶ added in v0.6.0
func (*UserWrapper) ProtoMessage()
func (*UserWrapper) Reset ¶ added in v0.6.0
func (*UserWrapper) Reset()
func (*UserWrapper) String ¶ added in v0.6.0
func (this *UserWrapper) String() string
Click to show internal directories.
Click to hide internal directories.