Help us shape the future of Go! Take the 2026 Go Developer Survey

auth

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 10 Imported by: 1

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*APIKey) Equal added in v0.11.0

func (this *APIKey) Equal(that interface{}) bool

func (*APIKey) GetCreatedTime added in v0.11.0

func (m *APIKey) GetCreatedTime() *types.Timestamp

func (*APIKey) GetId added in v0.11.0

func (m *APIKey) GetId() string

func (*APIKey) GetLastModifiedTime added in v0.11.0

func (m *APIKey) GetLastModifiedTime() *types.Timestamp

func (*APIKey) GetOwner added in v0.11.0

func (m *APIKey) GetOwner() *Owner

func (*APIKey) GetRequestId added in v0.11.0

func (m *APIKey) GetRequestId() string

func (*APIKey) GetResourceVersion added in v0.11.0

func (m *APIKey) GetResourceVersion() string

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) GoString added in v0.11.0

func (this *APIKey) GoString() string

func (*APIKey) Marshal added in v0.11.0

func (m *APIKey) Marshal() (dAtA []byte, err error)

func (*APIKey) MarshalTo added in v0.11.0

func (m *APIKey) MarshalTo(dAtA []byte) (int, error)

func (*APIKey) MarshalToSizedBuffer added in v0.11.0

func (m *APIKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIKey) ProtoMessage added in v0.11.0

func (*APIKey) ProtoMessage()

func (*APIKey) Reset added in v0.11.0

func (m *APIKey) Reset()

func (*APIKey) Size added in v0.11.0

func (m *APIKey) Size() (n int)

func (*APIKey) String added in v0.11.0

func (this *APIKey) String() string

func (*APIKey) Unmarshal added in v0.11.0

func (m *APIKey) Unmarshal(dAtA []byte) error

func (*APIKey) XXX_DiscardUnknown added in v0.11.0

func (m *APIKey) XXX_DiscardUnknown()

func (*APIKey) XXX_Marshal added in v0.11.0

func (m *APIKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIKey) XXX_Merge added in v0.11.0

func (m *APIKey) XXX_Merge(src proto.Message)

func (*APIKey) XXX_Size added in v0.11.0

func (m *APIKey) XXX_Size() int

func (*APIKey) XXX_Unmarshal added in v0.11.0

func (m *APIKey) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Access) Equal added in v0.21.0

func (this *Access) Equal(that interface{}) bool

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) GoString added in v0.21.0

func (this *Access) GoString() string

func (*Access) Marshal added in v0.21.0

func (m *Access) Marshal() (dAtA []byte, err error)

func (*Access) MarshalTo added in v0.21.0

func (m *Access) MarshalTo(dAtA []byte) (int, error)

func (*Access) MarshalToSizedBuffer added in v0.21.0

func (m *Access) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Access) ProtoMessage added in v0.21.0

func (*Access) ProtoMessage()

func (*Access) Reset added in v0.21.0

func (m *Access) Reset()

func (*Access) Size added in v0.21.0

func (m *Access) Size() (n int)

func (*Access) String added in v0.21.0

func (this *Access) String() string

func (*Access) Unmarshal added in v0.21.0

func (m *Access) Unmarshal(dAtA []byte) error

func (*Access) XXX_DiscardUnknown added in v0.21.0

func (m *Access) XXX_DiscardUnknown()

func (*Access) XXX_Marshal added in v0.21.0

func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Access) XXX_Merge added in v0.21.0

func (m *Access) XXX_Merge(src proto.Message)

func (*Access) XXX_Size added in v0.21.0

func (m *Access) XXX_Size() int

func (*Access) XXX_Unmarshal added in v0.21.0

func (m *Access) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *AccountRoleSpec) MarshalTo(dAtA []byte) (int, 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 (*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) MarshalTo

func (m *Invitation) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Owner) Equal added in v0.11.0

func (this *Owner) Equal(that interface{}) bool

func (*Owner) GetOwnerId added in v0.11.0

func (m *Owner) GetOwnerId() string

func (*Owner) GetOwnerType added in v0.11.0

func (m *Owner) GetOwnerType() APIKeyOwnerType

func (*Owner) GoString added in v0.11.0

func (this *Owner) GoString() string

func (*Owner) Marshal added in v0.11.0

func (m *Owner) Marshal() (dAtA []byte, err error)

func (*Owner) MarshalTo added in v0.11.0

func (m *Owner) MarshalTo(dAtA []byte) (int, error)

func (*Owner) MarshalToSizedBuffer added in v0.11.0

func (m *Owner) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Owner) ProtoMessage added in v0.11.0

func (*Owner) ProtoMessage()

func (*Owner) Reset added in v0.11.0

func (m *Owner) Reset()

func (*Owner) Size added in v0.11.0

func (m *Owner) Size() (n int)

func (*Owner) String added in v0.11.0

func (this *Owner) String() string

func (*Owner) Unmarshal added in v0.11.0

func (m *Owner) Unmarshal(dAtA []byte) error

func (*Owner) XXX_DiscardUnknown added in v0.11.0

func (m *Owner) XXX_DiscardUnknown()

func (*Owner) XXX_Marshal added in v0.11.0

func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Owner) XXX_Merge added in v0.11.0

func (m *Owner) XXX_Merge(src proto.Message)

func (*Owner) XXX_Size added in v0.11.0

func (m *Owner) XXX_Size() int

func (*Owner) XXX_Unmarshal added in v0.11.0

func (m *Owner) XXX_Unmarshal(b []byte) error

type Role

type Role struct {
	// the id of the role
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// the role type
	Type RoleType `protobuf:"varint,2,opt,name=type,proto3,enum=api.auth.v1.RoleType" json:"type,omitempty"`
	// the specification of the role
	Spec *RoleSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
}

func (*Role) Descriptor

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

func (*Role) Equal

func (this *Role) Equal(that interface{}) bool

func (*Role) GetId

func (m *Role) GetId() string

func (*Role) GetSpec

func (m *Role) GetSpec() *RoleSpec

func (*Role) GetType

func (m *Role) GetType() RoleType

func (*Role) GoString

func (this *Role) GoString() string

func (*Role) Marshal

func (m *Role) Marshal() (dAtA []byte, err error)

func (*Role) MarshalTo

func (m *Role) MarshalTo(dAtA []byte) (int, error)

func (*Role) MarshalToSizedBuffer

func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) Reset

func (m *Role) Reset()

func (*Role) Size

func (m *Role) Size() (n int)

func (*Role) String

func (this *Role) String() string

func (*Role) Unmarshal

func (m *Role) Unmarshal(dAtA []byte) error

func (*Role) XXX_DiscardUnknown

func (m *Role) XXX_DiscardUnknown()

func (*Role) XXX_Marshal

func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Role) XXX_Merge

func (m *Role) XXX_Merge(src proto.Message)

func (*Role) XXX_Size

func (m *Role) XXX_Size() int

func (*Role) XXX_Unmarshal

func (m *Role) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*RoleSpec) Equal

func (this *RoleSpec) Equal(that interface{}) bool

func (*RoleSpec) GetAccountRole

func (m *RoleSpec) GetAccountRole() *AccountRoleSpec

func (*RoleSpec) GetNamespaceRoles

func (m *RoleSpec) GetNamespaceRoles() []*NamespaceRoleSpec

func (*RoleSpec) GoString

func (this *RoleSpec) GoString() string

func (*RoleSpec) Marshal

func (m *RoleSpec) Marshal() (dAtA []byte, err error)

func (*RoleSpec) MarshalTo

func (m *RoleSpec) MarshalTo(dAtA []byte) (int, error)

func (*RoleSpec) MarshalToSizedBuffer

func (m *RoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleSpec) ProtoMessage

func (*RoleSpec) ProtoMessage()

func (*RoleSpec) Reset

func (m *RoleSpec) Reset()

func (*RoleSpec) Size

func (m *RoleSpec) Size() (n int)

func (*RoleSpec) String

func (this *RoleSpec) String() string

func (*RoleSpec) Unmarshal

func (m *RoleSpec) Unmarshal(dAtA []byte) error

func (*RoleSpec) XXX_DiscardUnknown

func (m *RoleSpec) XXX_DiscardUnknown()

func (*RoleSpec) XXX_Marshal

func (m *RoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleSpec) XXX_Merge

func (m *RoleSpec) XXX_Merge(src proto.Message)

func (*RoleSpec) XXX_Size

func (m *RoleSpec) XXX_Size() int

func (*RoleSpec) XXX_Unmarshal

func (m *RoleSpec) XXX_Unmarshal(b []byte) error

type RoleType

type RoleType int32
const (
	ROLE_TYPE_UNSPECIFIED RoleType = 0
	// a predefined role
	ROLE_TYPE_PREDEFINED RoleType = 1
)

func (RoleType) EnumDescriptor

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

func (RoleType) String

func (x RoleType) String() string

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 (*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) Descriptor() ([]byte, []int)

func (*User) Equal

func (this *User) Equal(that interface{}) bool

func (*User) GetCreatedTime

func (m *User) GetCreatedTime() *types.Timestamp

func (*User) GetId

func (m *User) GetId() string

func (*User) GetInvitation

func (m *User) GetInvitation() *Invitation

func (*User) GetLastModifiedTime

func (m *User) GetLastModifiedTime() *types.Timestamp

func (*User) GetRequestId

func (m *User) GetRequestId() string

func (*User) GetResourceVersion

func (m *User) GetResourceVersion() string

func (*User) GetSpec

func (m *User) GetSpec() *UserSpec

func (*User) GetState

func (m *User) GetState() UserState

func (*User) GoString

func (this *User) GoString() string

func (*User) Marshal

func (m *User) Marshal() (dAtA []byte, err error)

func (*User) MarshalTo

func (m *User) MarshalTo(dAtA []byte) (int, error)

func (*User) MarshalToSizedBuffer

func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) Size

func (m *User) Size() (n int)

func (*User) String

func (this *User) String() string

func (*User) Unmarshal

func (m *User) Unmarshal(dAtA []byte) error

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*UserSpec) Equal

func (this *UserSpec) Equal(that interface{}) bool

func (*UserSpec) GetEmail

func (m *UserSpec) GetEmail() string

func (*UserSpec) GetRoles

func (m *UserSpec) GetRoles() []string

func (*UserSpec) GoString

func (this *UserSpec) GoString() string

func (*UserSpec) Marshal

func (m *UserSpec) Marshal() (dAtA []byte, err error)

func (*UserSpec) MarshalTo

func (m *UserSpec) MarshalTo(dAtA []byte) (int, error)

func (*UserSpec) MarshalToSizedBuffer

func (m *UserSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserSpec) ProtoMessage

func (*UserSpec) ProtoMessage()

func (*UserSpec) Reset

func (m *UserSpec) Reset()

func (*UserSpec) Size

func (m *UserSpec) Size() (n int)

func (*UserSpec) String

func (this *UserSpec) String() string

func (*UserSpec) Unmarshal

func (m *UserSpec) Unmarshal(dAtA []byte) error

func (*UserSpec) XXX_DiscardUnknown

func (m *UserSpec) XXX_DiscardUnknown()

func (*UserSpec) XXX_Marshal

func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserSpec) XXX_Merge

func (m *UserSpec) XXX_Merge(src proto.Message)

func (*UserSpec) XXX_Size

func (m *UserSpec) XXX_Size() int

func (*UserSpec) XXX_Unmarshal

func (m *UserSpec) XXX_Unmarshal(b []byte) error

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

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

func (UserState) String

func (x UserState) String() string

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

Jump to

Keyboard shortcuts

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