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 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 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) GetAsyncOperationId() string
- func (m *ServiceAccount) GetCreatedTime() *types.Timestamp
- func (m *ServiceAccount) GetId() string
- func (m *ServiceAccount) GetLastModifiedTime() *types.Timestamp
- func (m *ServiceAccount) GetResourceVersion() string
- func (m *ServiceAccount) GetSpec() *ServiceAccountSpec
- func (m *ServiceAccount) GetState() string
- 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 ServiceAccountSpec
- func (*ServiceAccountSpec) Descriptor() ([]byte, []int)
- func (this *ServiceAccountSpec) Equal(that interface{}) bool
- func (m *ServiceAccountSpec) GetAccess() *v1.Access
- func (m *ServiceAccountSpec) GetDescription() string
- func (m *ServiceAccountSpec) GetName() string
- 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 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",
}
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 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 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 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 string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` // The id of the async operation that is creating/updating/deleting the service account, if any. AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_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) GetAsyncOperationId ¶ added in v0.16.0
func (m *ServiceAccount) GetAsyncOperationId() string
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) 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() string
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 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 *v1.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"` }
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() *v1.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) 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 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.