Documentation
¶
Index ¶
- Variables
- type APIKey
- func (*APIKey) Descriptor() ([]byte, []int)
- func (this *APIKey) Equal(that interface{}) bool
- func (m *APIKey) GetCreatedTime() *types.Timestamp
- func (m *APIKey) GetId() string
- func (m *APIKey) GetLastModifiedTime() *types.Timestamp
- func (m *APIKey) GetOwner() *Owner
- func (m *APIKey) GetRequestId() string
- func (m *APIKey) GetResourceVersion() string
- func (m *APIKey) GetSpec() *APIKeySpec
- func (m *APIKey) GetState() APIKeyState
- func (this *APIKey) GoString() string
- func (m *APIKey) Marshal() (dAtA []byte, err error)
- func (m *APIKey) MarshalTo(dAtA []byte) (int, error)
- func (m *APIKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*APIKey) ProtoMessage()
- func (m *APIKey) Reset()
- func (m *APIKey) Size() (n int)
- func (this *APIKey) String() string
- func (m *APIKey) Unmarshal(dAtA []byte) error
- func (m *APIKey) XXX_DiscardUnknown()
- func (m *APIKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *APIKey) XXX_Merge(src proto.Message)
- func (m *APIKey) XXX_Size() int
- func (m *APIKey) XXX_Unmarshal(b []byte) error
- type APIKeyAccessType
- type APIKeyOwnerType
- type APIKeySpec
- func (*APIKeySpec) Descriptor() ([]byte, []int)
- func (this *APIKeySpec) Equal(that interface{}) bool
- func (m *APIKeySpec) GetAccessType() APIKeyAccessType
- func (m *APIKeySpec) GetDescription() string
- func (m *APIKeySpec) GetDisabled() bool
- func (m *APIKeySpec) GetDisplayName() string
- func (m *APIKeySpec) GetExpiryTime() *types.Timestamp
- func (this *APIKeySpec) GoString() string
- func (m *APIKeySpec) Marshal() (dAtA []byte, err error)
- func (m *APIKeySpec) MarshalTo(dAtA []byte) (int, error)
- func (m *APIKeySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*APIKeySpec) ProtoMessage()
- func (m *APIKeySpec) Reset()
- func (m *APIKeySpec) Size() (n int)
- func (this *APIKeySpec) String() string
- func (m *APIKeySpec) Unmarshal(dAtA []byte) error
- func (m *APIKeySpec) XXX_DiscardUnknown()
- func (m *APIKeySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *APIKeySpec) XXX_Merge(src proto.Message)
- func (m *APIKeySpec) XXX_Size() int
- func (m *APIKeySpec) XXX_Unmarshal(b []byte) error
- type APIKeyState
- type Access
- func (*Access) Descriptor() ([]byte, []int)
- func (this *Access) Equal(that interface{}) bool
- func (m *Access) GetAccountAccess() *AccountAccess
- func (m *Access) GetNamespaceAccesses() map[string]*NamespaceAccess
- func (this *Access) GoString() string
- func (m *Access) Marshal() (dAtA []byte, err error)
- func (m *Access) MarshalTo(dAtA []byte) (int, error)
- func (m *Access) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Access) ProtoMessage()
- func (m *Access) Reset()
- func (m *Access) Size() (n int)
- func (this *Access) String() string
- func (m *Access) Unmarshal(dAtA []byte) error
- func (m *Access) XXX_DiscardUnknown()
- func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Access) XXX_Merge(src proto.Message)
- func (m *Access) XXX_Size() int
- func (m *Access) XXX_Unmarshal(b []byte) error
- type AccountAccess
- func (*AccountAccess) Descriptor() ([]byte, []int)
- func (this *AccountAccess) Equal(that interface{}) bool
- func (m *AccountAccess) GetRole() AccountActionGroup
- func (this *AccountAccess) GoString() string
- func (m *AccountAccess) Marshal() (dAtA []byte, err error)
- func (m *AccountAccess) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountAccess) ProtoMessage()
- func (m *AccountAccess) Reset()
- func (m *AccountAccess) Size() (n int)
- func (this *AccountAccess) String() string
- func (m *AccountAccess) Unmarshal(dAtA []byte) error
- func (m *AccountAccess) XXX_DiscardUnknown()
- func (m *AccountAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountAccess) XXX_Merge(src proto.Message)
- func (m *AccountAccess) XXX_Size() int
- func (m *AccountAccess) XXX_Unmarshal(b []byte) error
- 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 IdentityNamespacePermissions
- func (*IdentityNamespacePermissions) Descriptor() ([]byte, []int)
- func (this *IdentityNamespacePermissions) Equal(that interface{}) bool
- func (m *IdentityNamespacePermissions) GetActionGroup() NamespaceActionGroup
- func (m *IdentityNamespacePermissions) GetIdentityId() string
- func (m *IdentityNamespacePermissions) GetIdentityType() IdentityType
- func (this *IdentityNamespacePermissions) GoString() string
- func (m *IdentityNamespacePermissions) Marshal() (dAtA []byte, err error)
- func (m *IdentityNamespacePermissions) MarshalTo(dAtA []byte) (int, error)
- func (m *IdentityNamespacePermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdentityNamespacePermissions) ProtoMessage()
- func (m *IdentityNamespacePermissions) Reset()
- func (m *IdentityNamespacePermissions) Size() (n int)
- func (this *IdentityNamespacePermissions) String() string
- func (m *IdentityNamespacePermissions) Unmarshal(dAtA []byte) error
- func (m *IdentityNamespacePermissions) XXX_DiscardUnknown()
- func (m *IdentityNamespacePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityNamespacePermissions) XXX_Merge(src proto.Message)
- func (m *IdentityNamespacePermissions) XXX_Size() int
- func (m *IdentityNamespacePermissions) XXX_Unmarshal(b []byte) error
- type IdentityType
- 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 NamespaceAccess
- func (*NamespaceAccess) Descriptor() ([]byte, []int)
- func (this *NamespaceAccess) Equal(that interface{}) bool
- func (m *NamespaceAccess) GetPermission() NamespaceActionGroup
- func (this *NamespaceAccess) GoString() string
- func (m *NamespaceAccess) Marshal() (dAtA []byte, err error)
- func (m *NamespaceAccess) MarshalTo(dAtA []byte) (int, error)
- func (m *NamespaceAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NamespaceAccess) ProtoMessage()
- func (m *NamespaceAccess) Reset()
- func (m *NamespaceAccess) Size() (n int)
- func (this *NamespaceAccess) String() string
- func (m *NamespaceAccess) Unmarshal(dAtA []byte) error
- func (m *NamespaceAccess) XXX_DiscardUnknown()
- func (m *NamespaceAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NamespaceAccess) XXX_Merge(src proto.Message)
- func (m *NamespaceAccess) XXX_Size() int
- func (m *NamespaceAccess) 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 Owner
- func (*Owner) Descriptor() ([]byte, []int)
- func (this *Owner) Equal(that interface{}) bool
- func (m *Owner) GetOwnerId() string
- func (m *Owner) GetOwnerType() APIKeyOwnerType
- func (this *Owner) GoString() string
- func (m *Owner) Marshal() (dAtA []byte, err error)
- func (m *Owner) MarshalTo(dAtA []byte) (int, error)
- func (m *Owner) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Owner) ProtoMessage()
- func (m *Owner) Reset()
- func (m *Owner) Size() (n int)
- func (this *Owner) String() string
- func (m *Owner) Unmarshal(dAtA []byte) error
- func (m *Owner) XXX_DiscardUnknown()
- func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Owner) XXX_Merge(src proto.Message)
- func (m *Owner) XXX_Size() int
- func (m *Owner) 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 ServiceAccount
- func (*ServiceAccount) Descriptor() ([]byte, []int)
- func (this *ServiceAccount) Equal(that interface{}) bool
- func (m *ServiceAccount) GetCreatedTime() *types.Timestamp
- func (m *ServiceAccount) GetId() string
- func (m *ServiceAccount) GetLastModifiedTime() *types.Timestamp
- func (m *ServiceAccount) GetRequestId() string
- func (m *ServiceAccount) GetResourceVersion() string
- func (m *ServiceAccount) GetSpec() *ServiceAccountSpec
- func (m *ServiceAccount) GetState() ServiceAccountState
- func (this *ServiceAccount) GoString() string
- func (m *ServiceAccount) Marshal() (dAtA []byte, err error)
- func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceAccount) ProtoMessage()
- func (m *ServiceAccount) Reset()
- func (m *ServiceAccount) Size() (n int)
- func (this *ServiceAccount) String() string
- func (m *ServiceAccount) Unmarshal(dAtA []byte) error
- func (m *ServiceAccount) XXX_DiscardUnknown()
- func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceAccount) XXX_Merge(src proto.Message)
- func (m *ServiceAccount) XXX_Size() int
- func (m *ServiceAccount) XXX_Unmarshal(b []byte) error
- type ServiceAccountScope
- func (*ServiceAccountScope) Descriptor() ([]byte, []int)
- func (this *ServiceAccountScope) Equal(that interface{}) bool
- func (m *ServiceAccountScope) GetType() ServiceAccountScopeType
- func (this *ServiceAccountScope) GoString() string
- func (m *ServiceAccountScope) Marshal() (dAtA []byte, err error)
- func (m *ServiceAccountScope) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceAccountScope) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceAccountScope) ProtoMessage()
- func (m *ServiceAccountScope) Reset()
- func (m *ServiceAccountScope) Size() (n int)
- func (this *ServiceAccountScope) String() string
- func (m *ServiceAccountScope) Unmarshal(dAtA []byte) error
- func (m *ServiceAccountScope) XXX_DiscardUnknown()
- func (m *ServiceAccountScope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceAccountScope) XXX_Merge(src proto.Message)
- func (m *ServiceAccountScope) XXX_Size() int
- func (m *ServiceAccountScope) XXX_Unmarshal(b []byte) error
- type ServiceAccountScopeType
- type ServiceAccountSpec
- func (*ServiceAccountSpec) Descriptor() ([]byte, []int)
- func (this *ServiceAccountSpec) Equal(that interface{}) bool
- func (m *ServiceAccountSpec) GetAccess() *Access
- func (m *ServiceAccountSpec) GetDescription() string
- func (m *ServiceAccountSpec) GetName() string
- func (m *ServiceAccountSpec) GetScope() *ServiceAccountScope
- func (this *ServiceAccountSpec) GoString() string
- func (m *ServiceAccountSpec) Marshal() (dAtA []byte, err error)
- func (m *ServiceAccountSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceAccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceAccountSpec) ProtoMessage()
- func (m *ServiceAccountSpec) Reset()
- func (m *ServiceAccountSpec) Size() (n int)
- func (this *ServiceAccountSpec) String() string
- func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error
- func (m *ServiceAccountSpec) XXX_DiscardUnknown()
- func (m *ServiceAccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceAccountSpec) XXX_Merge(src proto.Message)
- func (m *ServiceAccountSpec) XXX_Size() int
- func (m *ServiceAccountSpec) XXX_Unmarshal(b []byte) error
- type ServiceAccountState
- 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 APIKeyAccessType_name = map[int32]string{
0: "ApikeyAccessTypeUnspecified",
1: "ApikeyAccessTypeInheritOwnerAccess",
}
View Source
var APIKeyAccessType_value = map[string]int32{
"ApikeyAccessTypeUnspecified": 0,
"ApikeyAccessTypeInheritOwnerAccess": 1,
}
View Source
var APIKeyOwnerType_name = map[int32]string{
0: "ApikeyOwnerTypeUnspecified",
1: "ApikeyOwnerTypeUser",
2: "ApikeyOwnerTypeServiceAccount",
}
View Source
var APIKeyOwnerType_value = map[string]int32{
"ApikeyOwnerTypeUnspecified": 0,
"ApikeyOwnerTypeUser": 1,
"ApikeyOwnerTypeServiceAccount": 2,
}
View Source
var APIKeyState_name = map[int32]string{
0: "ApikeyStateUnspecified",
1: "ApikeyStateCreating",
2: "ApikeyStateCreateFailed",
3: "ApikeyStateActive",
4: "ApikeyStateUpdating",
5: "ApikeyStateUpdateFailed",
6: "ApikeyStateExpired",
7: "ApikeyStateDeleting",
8: "ApikeyStateDeleteFailed",
9: "ApikeyStateDeleted",
}
View Source
var APIKeyState_value = map[string]int32{
"ApikeyStateUnspecified": 0,
"ApikeyStateCreating": 1,
"ApikeyStateCreateFailed": 2,
"ApikeyStateActive": 3,
"ApikeyStateUpdating": 4,
"ApikeyStateUpdateFailed": 5,
"ApikeyStateExpired": 6,
"ApikeyStateDeleting": 7,
"ApikeyStateDeleteFailed": 8,
"ApikeyStateDeleted": 9,
}
View Source
var AccountActionGroup_name = map[int32]string{
0: "Unspecified",
1: "Admin",
2: "Developer",
3: "Read",
4: "Owner",
5: "FinanceAdmin",
6: "MetricsRead",
}
View Source
var AccountActionGroup_value = map[string]int32{
"Unspecified": 0,
"Admin": 1,
"Developer": 2,
"Read": 3,
"Owner": 4,
"FinanceAdmin": 5,
"MetricsRead": 6,
}
View Source
var IdentityType_name = map[int32]string{
0: "Unspecified",
1: "User",
2: "ServiceAccount",
3: "UserGroup",
}
View Source
var IdentityType_value = map[string]int32{
"Unspecified": 0,
"User": 1,
"ServiceAccount": 2,
"UserGroup": 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 ServiceAccountScopeType_name = map[int32]string{
0: "Unspecified",
1: "Namespace",
}
View Source
var ServiceAccountScopeType_value = map[string]int32{
"Unspecified": 0,
"Namespace": 1,
}
View Source
var ServiceAccountState_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 ServiceAccountState_value = map[string]int32{
"Unspecified": 0,
"Creating": 1,
"CreateFailed": 2,
"Active": 3,
"Updating": 4,
"UpdateFailed": 5,
"Deleting": 6,
"DeleteFailed": 7,
"Deleted": 8,
}
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 APIKey ¶ added in v0.11.0
type APIKey struct {
// the id of the apikey
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// the owner of the apikey
Owner *Owner `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// the apikey specification
Spec *APIKeySpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
// the current version of the apikey specification
// the next update request will have to include this version
ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
// the current state of the apikey
State APIKeyState `protobuf:"varint,5,opt,name=state,proto3,enum=api.auth.v1.APIKeyState" json:"state,omitempty"`
// the id of the request that is creating/updating/deleting the apikey, if any
RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// the date and time when the apikey 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 apikey was last modified
LastModifiedTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}
func (*APIKey) Descriptor ¶ added in v0.11.0
func (*APIKey) GetCreatedTime ¶ added in v0.11.0
func (*APIKey) GetLastModifiedTime ¶ added in v0.11.0
func (*APIKey) GetRequestId ¶ added in v0.11.0
func (*APIKey) GetResourceVersion ¶ added in v0.11.0
func (*APIKey) GetSpec ¶ added in v0.11.0
func (m *APIKey) GetSpec() *APIKeySpec
func (*APIKey) GetState ¶ added in v0.11.0
func (m *APIKey) GetState() APIKeyState
func (*APIKey) MarshalToSizedBuffer ¶ added in v0.11.0
func (*APIKey) ProtoMessage ¶ added in v0.11.0
func (*APIKey) ProtoMessage()
func (*APIKey) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *APIKey) XXX_DiscardUnknown()
func (*APIKey) XXX_Marshal ¶ added in v0.11.0
func (*APIKey) XXX_Unmarshal ¶ added in v0.11.0
type APIKeyAccessType ¶ added in v0.11.0
type APIKeyAccessType int32
const ( APIKEY_ACCESS_TYPE_UNSPECIFIED APIKeyAccessType = 0 // the apikey inherits all of the owners accesses APIKEY_ACCESS_TYPE_INHERIT_OWNER_ACCESS APIKeyAccessType = 1 )
func (APIKeyAccessType) EnumDescriptor ¶ added in v0.11.0
func (APIKeyAccessType) EnumDescriptor() ([]byte, []int)
func (APIKeyAccessType) String ¶ added in v0.11.0
func (x APIKeyAccessType) String() string
type APIKeyOwnerType ¶ added in v0.11.0
type APIKeyOwnerType int32
const ( APIKEY_OWNER_TYPE_UNSPECIFIED APIKeyOwnerType = 0 // the owner is an user APIKEY_OWNER_TYPE_USER APIKeyOwnerType = 1 // Owner is a service account. APIKEY_OWNER_TYPE_SERVICE_ACCOUNT APIKeyOwnerType = 2 )
func (APIKeyOwnerType) EnumDescriptor ¶ added in v0.11.0
func (APIKeyOwnerType) EnumDescriptor() ([]byte, []int)
func (APIKeyOwnerType) String ¶ added in v0.11.0
func (x APIKeyOwnerType) String() string
type APIKeySpec ¶ added in v0.11.0
type APIKeySpec struct {
// the access type of the apikey
AccessType APIKeyAccessType `` /* 126-byte string literal not displayed */
// the user friendly name for the apikey
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// the more comprehensive description for the apikey
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// expiry timestamp of the apikey
ExpiryTime *types.Timestamp `protobuf:"bytes,4,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
// whether the apikey is disabled
Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
}
func (*APIKeySpec) Descriptor ¶ added in v0.11.0
func (*APIKeySpec) Descriptor() ([]byte, []int)
func (*APIKeySpec) Equal ¶ added in v0.11.0
func (this *APIKeySpec) Equal(that interface{}) bool
func (*APIKeySpec) GetAccessType ¶ added in v0.11.0
func (m *APIKeySpec) GetAccessType() APIKeyAccessType
func (*APIKeySpec) GetDescription ¶ added in v0.11.0
func (m *APIKeySpec) GetDescription() string
func (*APIKeySpec) GetDisabled ¶ added in v0.11.0
func (m *APIKeySpec) GetDisabled() bool
func (*APIKeySpec) GetDisplayName ¶ added in v0.11.0
func (m *APIKeySpec) GetDisplayName() string
func (*APIKeySpec) GetExpiryTime ¶ added in v0.11.0
func (m *APIKeySpec) GetExpiryTime() *types.Timestamp
func (*APIKeySpec) GoString ¶ added in v0.11.0
func (this *APIKeySpec) GoString() string
func (*APIKeySpec) Marshal ¶ added in v0.11.0
func (m *APIKeySpec) Marshal() (dAtA []byte, err error)
func (*APIKeySpec) MarshalTo ¶ added in v0.11.0
func (m *APIKeySpec) MarshalTo(dAtA []byte) (int, error)
func (*APIKeySpec) MarshalToSizedBuffer ¶ added in v0.11.0
func (m *APIKeySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*APIKeySpec) ProtoMessage ¶ added in v0.11.0
func (*APIKeySpec) ProtoMessage()
func (*APIKeySpec) Reset ¶ added in v0.11.0
func (m *APIKeySpec) Reset()
func (*APIKeySpec) Size ¶ added in v0.11.0
func (m *APIKeySpec) Size() (n int)
func (*APIKeySpec) String ¶ added in v0.11.0
func (this *APIKeySpec) String() string
func (*APIKeySpec) Unmarshal ¶ added in v0.11.0
func (m *APIKeySpec) Unmarshal(dAtA []byte) error
func (*APIKeySpec) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *APIKeySpec) XXX_DiscardUnknown()
func (*APIKeySpec) XXX_Marshal ¶ added in v0.11.0
func (m *APIKeySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*APIKeySpec) XXX_Merge ¶ added in v0.11.0
func (m *APIKeySpec) XXX_Merge(src proto.Message)
func (*APIKeySpec) XXX_Size ¶ added in v0.11.0
func (m *APIKeySpec) XXX_Size() int
func (*APIKeySpec) XXX_Unmarshal ¶ added in v0.11.0
func (m *APIKeySpec) XXX_Unmarshal(b []byte) error
type APIKeyState ¶ added in v0.11.0
type APIKeyState int32
const ( APIKEY_STATE_UNSPECIFIED APIKeyState = 0 // apikey is being created by the system APIKEY_STATE_CREATING APIKeyState = 1 // apikey create operation failed APIKEY_STATE_CREATE_FAILED APIKeyState = 2 // the apikey exists in the system APIKEY_STATE_ACTIVE APIKeyState = 3 // apikey is being updated APIKEY_STATE_UPDATING APIKeyState = 4 // the last apikey update failed APIKEY_STATE_UPDATE_FAILED APIKeyState = 5 // the apikey has expired APIKEY_STATE_EXPIRED APIKeyState = 6 // the apikey is being deleted APIKEY_STATE_DELETING APIKeyState = 7 // the apikey delete operation failed APIKEY_STATE_DELETE_FAILED APIKeyState = 8 // the apikey was successfully deleted APIKEY_STATE_DELETED APIKeyState = 9 )
func (APIKeyState) EnumDescriptor ¶ added in v0.11.0
func (APIKeyState) EnumDescriptor() ([]byte, []int)
func (APIKeyState) String ¶ added in v0.11.0
func (x APIKeyState) String() string
type Access ¶ added in v0.21.0
type Access struct {
// The account access
AccountAccess *AccountAccess `protobuf:"bytes,1,opt,name=account_access,json=accountAccess,proto3" json:"account_access,omitempty"`
// The map of namespace accesses
// The key is the namespace name and the value is the access to the namespace
NamespaceAccesses map[string]*NamespaceAccess `` /* 200-byte string literal not displayed */
}
func (*Access) Descriptor ¶ added in v0.21.0
func (*Access) GetAccountAccess ¶ added in v0.21.0
func (m *Access) GetAccountAccess() *AccountAccess
func (*Access) GetNamespaceAccesses ¶ added in v0.21.0
func (m *Access) GetNamespaceAccesses() map[string]*NamespaceAccess
func (*Access) MarshalToSizedBuffer ¶ added in v0.21.0
func (*Access) ProtoMessage ¶ added in v0.21.0
func (*Access) ProtoMessage()
func (*Access) XXX_DiscardUnknown ¶ added in v0.21.0
func (m *Access) XXX_DiscardUnknown()
func (*Access) XXX_Marshal ¶ added in v0.21.0
func (*Access) XXX_Unmarshal ¶ added in v0.21.0
type AccountAccess ¶ added in v0.21.0
type AccountAccess struct {
// The role on the account.
Role AccountActionGroup `protobuf:"varint,1,opt,name=role,proto3,enum=api.auth.v1.AccountActionGroup" json:"role,omitempty"`
}
func (*AccountAccess) Descriptor ¶ added in v0.21.0
func (*AccountAccess) Descriptor() ([]byte, []int)
func (*AccountAccess) Equal ¶ added in v0.21.0
func (this *AccountAccess) Equal(that interface{}) bool
func (*AccountAccess) GetRole ¶ added in v0.21.0
func (m *AccountAccess) GetRole() AccountActionGroup
func (*AccountAccess) GoString ¶ added in v0.21.0
func (this *AccountAccess) GoString() string
func (*AccountAccess) Marshal ¶ added in v0.21.0
func (m *AccountAccess) Marshal() (dAtA []byte, err error)
func (*AccountAccess) MarshalTo ¶ added in v0.21.0
func (m *AccountAccess) MarshalTo(dAtA []byte) (int, error)
func (*AccountAccess) MarshalToSizedBuffer ¶ added in v0.21.0
func (m *AccountAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountAccess) ProtoMessage ¶ added in v0.21.0
func (*AccountAccess) ProtoMessage()
func (*AccountAccess) Reset ¶ added in v0.21.0
func (m *AccountAccess) Reset()
func (*AccountAccess) Size ¶ added in v0.21.0
func (m *AccountAccess) Size() (n int)
func (*AccountAccess) String ¶ added in v0.21.0
func (this *AccountAccess) String() string
func (*AccountAccess) Unmarshal ¶ added in v0.21.0
func (m *AccountAccess) Unmarshal(dAtA []byte) error
func (*AccountAccess) XXX_DiscardUnknown ¶ added in v0.21.0
func (m *AccountAccess) XXX_DiscardUnknown()
func (*AccountAccess) XXX_Marshal ¶ added in v0.21.0
func (m *AccountAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountAccess) XXX_Merge ¶ added in v0.21.0
func (m *AccountAccess) XXX_Merge(src proto.Message)
func (*AccountAccess) XXX_Size ¶ added in v0.21.0
func (m *AccountAccess) XXX_Size() int
func (*AccountAccess) XXX_Unmarshal ¶ added in v0.21.0
func (m *AccountAccess) XXX_Unmarshal(b []byte) error
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 // account owner ACCOUNT_ACTION_GROUP_OWNER AccountActionGroup = 4 // finance admin ACCOUNT_ACTION_GROUP_FINANCE_ADMIN AccountActionGroup = 5 // read-only access to metrics ACCOUNT_ACTION_GROUP_METRICS_READ AccountActionGroup = 6 )
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 IdentityNamespacePermissions ¶ added in v0.21.0
type IdentityNamespacePermissions struct {
// The identity to add namespace permissions for.
IdentityId string `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"`
// The identity type to add namespace permissions for.
IdentityType IdentityType `` /* 128-byte string literal not displayed */
// The namespace action group to set for the user.
ActionGroup NamespaceActionGroup `` /* 133-byte string literal not displayed */
}
func (*IdentityNamespacePermissions) Descriptor ¶ added in v0.21.0
func (*IdentityNamespacePermissions) Descriptor() ([]byte, []int)
func (*IdentityNamespacePermissions) Equal ¶ added in v0.21.0
func (this *IdentityNamespacePermissions) Equal(that interface{}) bool
func (*IdentityNamespacePermissions) GetActionGroup ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) GetActionGroup() NamespaceActionGroup
func (*IdentityNamespacePermissions) GetIdentityId ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) GetIdentityId() string
func (*IdentityNamespacePermissions) GetIdentityType ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) GetIdentityType() IdentityType
func (*IdentityNamespacePermissions) GoString ¶ added in v0.21.0
func (this *IdentityNamespacePermissions) GoString() string
func (*IdentityNamespacePermissions) Marshal ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) Marshal() (dAtA []byte, err error)
func (*IdentityNamespacePermissions) MarshalTo ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) MarshalTo(dAtA []byte) (int, error)
func (*IdentityNamespacePermissions) MarshalToSizedBuffer ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IdentityNamespacePermissions) ProtoMessage ¶ added in v0.21.0
func (*IdentityNamespacePermissions) ProtoMessage()
func (*IdentityNamespacePermissions) Reset ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) Reset()
func (*IdentityNamespacePermissions) Size ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) Size() (n int)
func (*IdentityNamespacePermissions) String ¶ added in v0.21.0
func (this *IdentityNamespacePermissions) String() string
func (*IdentityNamespacePermissions) Unmarshal ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) Unmarshal(dAtA []byte) error
func (*IdentityNamespacePermissions) XXX_DiscardUnknown ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) XXX_DiscardUnknown()
func (*IdentityNamespacePermissions) XXX_Marshal ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityNamespacePermissions) XXX_Merge ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) XXX_Merge(src proto.Message)
func (*IdentityNamespacePermissions) XXX_Size ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) XXX_Size() int
func (*IdentityNamespacePermissions) XXX_Unmarshal ¶ added in v0.21.0
func (m *IdentityNamespacePermissions) XXX_Unmarshal(b []byte) error
type IdentityType ¶ added in v0.21.0
type IdentityType int32
const ( IDENTITY_TYPE_UNSPECIFIED IdentityType = 0 IDENTITY_TYPE_USER IdentityType = 1 IDENTITY_TYPE_SERVICE_ACCOUNT IdentityType = 2 IDENTITY_TYPE_USER_GROUP IdentityType = 3 )
func (IdentityType) EnumDescriptor ¶ added in v0.21.0
func (IdentityType) EnumDescriptor() ([]byte, []int)
func (IdentityType) String ¶ added in v0.21.0
func (x IdentityType) 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 NamespaceAccess ¶ added in v0.21.0
type NamespaceAccess struct {
// The permission for this namespace.
Permission NamespaceActionGroup `protobuf:"varint,1,opt,name=permission,proto3,enum=api.auth.v1.NamespaceActionGroup" json:"permission,omitempty"`
}
func (*NamespaceAccess) Descriptor ¶ added in v0.21.0
func (*NamespaceAccess) Descriptor() ([]byte, []int)
func (*NamespaceAccess) Equal ¶ added in v0.21.0
func (this *NamespaceAccess) Equal(that interface{}) bool
func (*NamespaceAccess) GetPermission ¶ added in v0.21.0
func (m *NamespaceAccess) GetPermission() NamespaceActionGroup
func (*NamespaceAccess) GoString ¶ added in v0.21.0
func (this *NamespaceAccess) GoString() string
func (*NamespaceAccess) Marshal ¶ added in v0.21.0
func (m *NamespaceAccess) Marshal() (dAtA []byte, err error)
func (*NamespaceAccess) MarshalTo ¶ added in v0.21.0
func (m *NamespaceAccess) MarshalTo(dAtA []byte) (int, error)
func (*NamespaceAccess) MarshalToSizedBuffer ¶ added in v0.21.0
func (m *NamespaceAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NamespaceAccess) ProtoMessage ¶ added in v0.21.0
func (*NamespaceAccess) ProtoMessage()
func (*NamespaceAccess) Reset ¶ added in v0.21.0
func (m *NamespaceAccess) Reset()
func (*NamespaceAccess) Size ¶ added in v0.21.0
func (m *NamespaceAccess) Size() (n int)
func (*NamespaceAccess) String ¶ added in v0.21.0
func (this *NamespaceAccess) String() string
func (*NamespaceAccess) Unmarshal ¶ added in v0.21.0
func (m *NamespaceAccess) Unmarshal(dAtA []byte) error
func (*NamespaceAccess) XXX_DiscardUnknown ¶ added in v0.21.0
func (m *NamespaceAccess) XXX_DiscardUnknown()
func (*NamespaceAccess) XXX_Marshal ¶ added in v0.21.0
func (m *NamespaceAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NamespaceAccess) XXX_Merge ¶ added in v0.21.0
func (m *NamespaceAccess) XXX_Merge(src proto.Message)
func (*NamespaceAccess) XXX_Size ¶ added in v0.21.0
func (m *NamespaceAccess) XXX_Size() int
func (*NamespaceAccess) XXX_Unmarshal ¶ added in v0.21.0
func (m *NamespaceAccess) 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 Owner ¶ added in v0.11.0
type Owner struct {
// the id of the owner
// if the owner is an user, this is the id of the user.
OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
// the type of the owner.
OwnerType APIKeyOwnerType `protobuf:"varint,2,opt,name=owner_type,json=ownerType,proto3,enum=api.auth.v1.APIKeyOwnerType" json:"owner_type,omitempty"`
}
func (*Owner) Descriptor ¶ added in v0.11.0
func (*Owner) GetOwnerId ¶ added in v0.11.0
func (*Owner) GetOwnerType ¶ added in v0.11.0
func (m *Owner) GetOwnerType() APIKeyOwnerType
func (*Owner) MarshalToSizedBuffer ¶ added in v0.11.0
func (*Owner) ProtoMessage ¶ added in v0.11.0
func (*Owner) ProtoMessage()
func (*Owner) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *Owner) XXX_DiscardUnknown()
func (*Owner) XXX_Marshal ¶ added in v0.11.0
func (*Owner) XXX_Unmarshal ¶ added in v0.11.0
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 ServiceAccount ¶ added in v0.16.0
type ServiceAccount struct {
// The id of the service account.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The current version of the service account specification.
// The next update operation will have to include this version.
ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
// The service account specification.
Spec *ServiceAccountSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
// The current state of the service account.
State ServiceAccountState `protobuf:"varint,4,opt,name=state,proto3,enum=api.auth.v1.ServiceAccountState" json:"state,omitempty"`
// The request id that is creating/updating/deleting the service account, if any.
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// The date and time when the service account was created
CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
// The date and time when the service account was last modified
// Will not be set if the service account has never been modified.
LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}
func (*ServiceAccount) Descriptor ¶ added in v0.16.0
func (*ServiceAccount) Descriptor() ([]byte, []int)
func (*ServiceAccount) Equal ¶ added in v0.16.0
func (this *ServiceAccount) Equal(that interface{}) bool
func (*ServiceAccount) GetCreatedTime ¶ added in v0.16.0
func (m *ServiceAccount) GetCreatedTime() *types.Timestamp
func (*ServiceAccount) GetId ¶ added in v0.16.0
func (m *ServiceAccount) GetId() string
func (*ServiceAccount) GetLastModifiedTime ¶ added in v0.16.0
func (m *ServiceAccount) GetLastModifiedTime() *types.Timestamp
func (*ServiceAccount) GetRequestId ¶ added in v0.21.0
func (m *ServiceAccount) GetRequestId() string
func (*ServiceAccount) GetResourceVersion ¶ added in v0.16.0
func (m *ServiceAccount) GetResourceVersion() string
func (*ServiceAccount) GetSpec ¶ added in v0.16.0
func (m *ServiceAccount) GetSpec() *ServiceAccountSpec
func (*ServiceAccount) GetState ¶ added in v0.16.0
func (m *ServiceAccount) GetState() ServiceAccountState
func (*ServiceAccount) GoString ¶ added in v0.16.0
func (this *ServiceAccount) GoString() string
func (*ServiceAccount) Marshal ¶ added in v0.16.0
func (m *ServiceAccount) Marshal() (dAtA []byte, err error)
func (*ServiceAccount) MarshalTo ¶ added in v0.16.0
func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error)
func (*ServiceAccount) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceAccount) ProtoMessage ¶ added in v0.16.0
func (*ServiceAccount) ProtoMessage()
func (*ServiceAccount) Reset ¶ added in v0.16.0
func (m *ServiceAccount) Reset()
func (*ServiceAccount) Size ¶ added in v0.16.0
func (m *ServiceAccount) Size() (n int)
func (*ServiceAccount) String ¶ added in v0.16.0
func (this *ServiceAccount) String() string
func (*ServiceAccount) Unmarshal ¶ added in v0.16.0
func (m *ServiceAccount) Unmarshal(dAtA []byte) error
func (*ServiceAccount) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *ServiceAccount) XXX_DiscardUnknown()
func (*ServiceAccount) XXX_Marshal ¶ added in v0.16.0
func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceAccount) XXX_Merge ¶ added in v0.16.0
func (m *ServiceAccount) XXX_Merge(src proto.Message)
func (*ServiceAccount) XXX_Size ¶ added in v0.16.0
func (m *ServiceAccount) XXX_Size() int
func (*ServiceAccount) XXX_Unmarshal ¶ added in v0.16.0
func (m *ServiceAccount) XXX_Unmarshal(b []byte) error
type ServiceAccountScope ¶ added in v0.26.0
type ServiceAccountScope struct {
// The service account scope type.
Type ServiceAccountScopeType `protobuf:"varint,1,opt,name=type,proto3,enum=api.auth.v1.ServiceAccountScopeType" json:"type,omitempty"`
}
func (*ServiceAccountScope) Descriptor ¶ added in v0.26.0
func (*ServiceAccountScope) Descriptor() ([]byte, []int)
func (*ServiceAccountScope) Equal ¶ added in v0.26.0
func (this *ServiceAccountScope) Equal(that interface{}) bool
func (*ServiceAccountScope) GetType ¶ added in v0.26.0
func (m *ServiceAccountScope) GetType() ServiceAccountScopeType
func (*ServiceAccountScope) GoString ¶ added in v0.26.0
func (this *ServiceAccountScope) GoString() string
func (*ServiceAccountScope) Marshal ¶ added in v0.26.0
func (m *ServiceAccountScope) Marshal() (dAtA []byte, err error)
func (*ServiceAccountScope) MarshalTo ¶ added in v0.26.0
func (m *ServiceAccountScope) MarshalTo(dAtA []byte) (int, error)
func (*ServiceAccountScope) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *ServiceAccountScope) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceAccountScope) ProtoMessage ¶ added in v0.26.0
func (*ServiceAccountScope) ProtoMessage()
func (*ServiceAccountScope) Reset ¶ added in v0.26.0
func (m *ServiceAccountScope) Reset()
func (*ServiceAccountScope) Size ¶ added in v0.26.0
func (m *ServiceAccountScope) Size() (n int)
func (*ServiceAccountScope) String ¶ added in v0.26.0
func (this *ServiceAccountScope) String() string
func (*ServiceAccountScope) Unmarshal ¶ added in v0.26.0
func (m *ServiceAccountScope) Unmarshal(dAtA []byte) error
func (*ServiceAccountScope) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *ServiceAccountScope) XXX_DiscardUnknown()
func (*ServiceAccountScope) XXX_Marshal ¶ added in v0.26.0
func (m *ServiceAccountScope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceAccountScope) XXX_Merge ¶ added in v0.26.0
func (m *ServiceAccountScope) XXX_Merge(src proto.Message)
func (*ServiceAccountScope) XXX_Size ¶ added in v0.26.0
func (m *ServiceAccountScope) XXX_Size() int
func (*ServiceAccountScope) XXX_Unmarshal ¶ added in v0.26.0
func (m *ServiceAccountScope) XXX_Unmarshal(b []byte) error
type ServiceAccountScopeType ¶ added in v0.26.0
type ServiceAccountScopeType int32
const ( // Default value - unsupported. SERVICE_ACCOUNT_SCOPE_TYPE_UNSPECIFIED ServiceAccountScopeType = 0 // Limits a service account's access to a single // namespace and enforces a read-only account role. SERVICE_ACCOUNT_SCOPE_TYPE_NAMESPACE ServiceAccountScopeType = 1 )
func (ServiceAccountScopeType) EnumDescriptor ¶ added in v0.26.0
func (ServiceAccountScopeType) EnumDescriptor() ([]byte, []int)
func (ServiceAccountScopeType) String ¶ added in v0.26.0
func (x ServiceAccountScopeType) String() string
type ServiceAccountSpec ¶ added in v0.16.0
type ServiceAccountSpec struct {
// The name associated with the service account.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The access assigned to the service account.
Access *Access `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"`
// The description associated with the service account - optional.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// The scope assigned to the service account - optional.
// Note: scope is immutable.
Scope *ServiceAccountScope `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
}
func (*ServiceAccountSpec) Descriptor ¶ added in v0.16.0
func (*ServiceAccountSpec) Descriptor() ([]byte, []int)
func (*ServiceAccountSpec) Equal ¶ added in v0.16.0
func (this *ServiceAccountSpec) Equal(that interface{}) bool
func (*ServiceAccountSpec) GetAccess ¶ added in v0.16.0
func (m *ServiceAccountSpec) GetAccess() *Access
func (*ServiceAccountSpec) GetDescription ¶ added in v0.16.0
func (m *ServiceAccountSpec) GetDescription() string
func (*ServiceAccountSpec) GetName ¶ added in v0.16.0
func (m *ServiceAccountSpec) GetName() string
func (*ServiceAccountSpec) GetScope ¶ added in v0.26.0
func (m *ServiceAccountSpec) GetScope() *ServiceAccountScope
func (*ServiceAccountSpec) GoString ¶ added in v0.16.0
func (this *ServiceAccountSpec) GoString() string
func (*ServiceAccountSpec) Marshal ¶ added in v0.16.0
func (m *ServiceAccountSpec) Marshal() (dAtA []byte, err error)
func (*ServiceAccountSpec) MarshalTo ¶ added in v0.16.0
func (m *ServiceAccountSpec) MarshalTo(dAtA []byte) (int, error)
func (*ServiceAccountSpec) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *ServiceAccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceAccountSpec) ProtoMessage ¶ added in v0.16.0
func (*ServiceAccountSpec) ProtoMessage()
func (*ServiceAccountSpec) Reset ¶ added in v0.16.0
func (m *ServiceAccountSpec) Reset()
func (*ServiceAccountSpec) Size ¶ added in v0.16.0
func (m *ServiceAccountSpec) Size() (n int)
func (*ServiceAccountSpec) String ¶ added in v0.16.0
func (this *ServiceAccountSpec) String() string
func (*ServiceAccountSpec) Unmarshal ¶ added in v0.16.0
func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error
func (*ServiceAccountSpec) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *ServiceAccountSpec) XXX_DiscardUnknown()
func (*ServiceAccountSpec) XXX_Marshal ¶ added in v0.16.0
func (m *ServiceAccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceAccountSpec) XXX_Merge ¶ added in v0.16.0
func (m *ServiceAccountSpec) XXX_Merge(src proto.Message)
func (*ServiceAccountSpec) XXX_Size ¶ added in v0.16.0
func (m *ServiceAccountSpec) XXX_Size() int
func (*ServiceAccountSpec) XXX_Unmarshal ¶ added in v0.16.0
func (m *ServiceAccountSpec) XXX_Unmarshal(b []byte) error
type ServiceAccountState ¶ added in v0.21.0
type ServiceAccountState int32
const ( SERVICE_ACCOUNT_STATE_UNSPECIFIED ServiceAccountState = 0 SERVICE_ACCOUNT_STATE_CREATING ServiceAccountState = 1 SERVICE_ACCOUNT_STATE_CREATE_FAILED ServiceAccountState = 2 SERVICE_ACCOUNT_STATE_ACTIVE ServiceAccountState = 3 SERVICE_ACCOUNT_STATE_UPDATING ServiceAccountState = 4 SERVICE_ACCOUNT_STATE_UPDATE_FAILED ServiceAccountState = 5 SERVICE_ACCOUNT_STATE_DELETING ServiceAccountState = 6 SERVICE_ACCOUNT_STATE_DELETE_FAILED ServiceAccountState = 7 SERVICE_ACCOUNT_STATE_DELETED ServiceAccountState = 8 )
func (ServiceAccountState) EnumDescriptor ¶ added in v0.21.0
func (ServiceAccountState) EnumDescriptor() ([]byte, []int)
func (ServiceAccountState) String ¶ added in v0.21.0
func (x ServiceAccountState) String() string
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.