Documentation ¶
Index ¶
- Variables
- type Caller
- type LongRunningOperationPermissions
- func (*LongRunningOperationPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *LongRunningOperationPermissions) GetCancel() string
- func (x *LongRunningOperationPermissions) GetDelete() string
- func (x *LongRunningOperationPermissions) GetGet() string
- func (x *LongRunningOperationPermissions) GetList() string
- func (x *LongRunningOperationPermissions) GetOperation() *annotations.ResourceDescriptor
- func (x *LongRunningOperationPermissions) GetWait() string
- func (*LongRunningOperationPermissions) ProtoMessage()
- func (x *LongRunningOperationPermissions) ProtoReflect() protoreflect.Message
- func (x *LongRunningOperationPermissions) Reset()
- func (x *LongRunningOperationPermissions) String() string
- type LongRunningOperationsAuthorization
- func (*LongRunningOperationsAuthorization) Descriptor() ([]byte, []int)deprecated
- func (x *LongRunningOperationsAuthorization) GetBefore() bool
- func (x *LongRunningOperationsAuthorization) GetCustom() bool
- func (x *LongRunningOperationsAuthorization) GetNone() bool
- func (x *LongRunningOperationsAuthorization) GetOperationPermissions() []*LongRunningOperationPermissions
- func (m *LongRunningOperationsAuthorization) GetStrategy() isLongRunningOperationsAuthorization_Strategy
- func (*LongRunningOperationsAuthorization) ProtoMessage()
- func (x *LongRunningOperationsAuthorization) ProtoReflect() protoreflect.Message
- func (x *LongRunningOperationsAuthorization) Reset()
- func (x *LongRunningOperationsAuthorization) String() string
- type LongRunningOperationsAuthorization_Before
- type LongRunningOperationsAuthorization_Custom
- type LongRunningOperationsAuthorization_None
- type MethodAuthorizationOptions
- func (*MethodAuthorizationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *MethodAuthorizationOptions) GetAfter() *expr.Expr
- func (x *MethodAuthorizationOptions) GetBefore() *expr.Expr
- func (x *MethodAuthorizationOptions) GetCustom() bool
- func (x *MethodAuthorizationOptions) GetNone() bool
- func (x *MethodAuthorizationOptions) GetPermission() string
- func (m *MethodAuthorizationOptions) GetPermissions() isMethodAuthorizationOptions_Permissions
- func (x *MethodAuthorizationOptions) GetResourcePermissions() *ResourcePermissions
- func (m *MethodAuthorizationOptions) GetStrategy() isMethodAuthorizationOptions_Strategy
- func (*MethodAuthorizationOptions) ProtoMessage()
- func (x *MethodAuthorizationOptions) ProtoReflect() protoreflect.Message
- func (x *MethodAuthorizationOptions) Reset()
- func (x *MethodAuthorizationOptions) String() string
- type MethodAuthorizationOptions_After
- type MethodAuthorizationOptions_Before
- type MethodAuthorizationOptions_Custom
- type MethodAuthorizationOptions_None
- type MethodAuthorizationOptions_Permission
- type MethodAuthorizationOptions_ResourcePermissions
- type ResourcePermission
- func (*ResourcePermission) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePermission) GetPermission() string
- func (x *ResourcePermission) GetResource() *annotations.ResourceDescriptor
- func (*ResourcePermission) ProtoMessage()
- func (x *ResourcePermission) ProtoReflect() protoreflect.Message
- func (x *ResourcePermission) Reset()
- func (x *ResourcePermission) String() string
- type ResourcePermissions
- func (*ResourcePermissions) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePermissions) GetResourcePermission() []*ResourcePermission
- func (*ResourcePermissions) ProtoMessage()
- func (x *ResourcePermissions) ProtoReflect() protoreflect.Message
- func (x *ResourcePermissions) Reset()
- func (x *ResourcePermissions) String() string
- type Roles
Constants ¶
This section is empty.
Variables ¶
var ( // Predefined roles for the service. // // optional einride.iam.v1.Roles predefined_roles = 201601; E_PredefinedRoles = &file_einride_iam_v1_annotations_proto_extTypes[0] // Long-running operations authorization for the service. // // optional einride.iam.v1.LongRunningOperationsAuthorization long_running_operations_authorization = 201602; E_LongRunningOperationsAuthorization = &file_einride_iam_v1_annotations_proto_extTypes[1] )
Extension fields to descriptorpb.ServiceOptions.
var ( // Method authorization options. // // optional einride.iam.v1.MethodAuthorizationOptions method_authorization = 201600; E_MethodAuthorization = &file_einride_iam_v1_annotations_proto_extTypes[2] )
Extension fields to descriptorpb.MethodOptions.
var File_einride_iam_v1_annotations_proto protoreflect.FileDescriptor
var File_einride_iam_v1_caller_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Caller ¶
type Caller struct { // The authenticated IAM policy members of the caller. Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
Caller identity.
func (*Caller) Descriptor
deprecated
func (*Caller) GetMembers ¶ added in v0.15.0
func (*Caller) ProtoMessage ¶
func (*Caller) ProtoMessage()
func (*Caller) ProtoReflect ¶
func (x *Caller) ProtoReflect() protoreflect.Message
type LongRunningOperationPermissions ¶ added in v0.18.0
type LongRunningOperationPermissions struct { // The long-running operation resource. The type field is required. Operation *annotations.ResourceDescriptor `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // Permission for listing operations. List string `protobuf:"bytes,2,opt,name=list,proto3" json:"list,omitempty"` // Permission for getting an operation. Get string `protobuf:"bytes,3,opt,name=get,proto3" json:"get,omitempty"` // Permission for cancelling an operation. Cancel string `protobuf:"bytes,4,opt,name=cancel,proto3" json:"cancel,omitempty"` // Permission for deleting an operation. Delete string `protobuf:"bytes,5,opt,name=delete,proto3" json:"delete,omitempty"` // Permission for waiting on an operation. Wait string `protobuf:"bytes,6,opt,name=wait,proto3" json:"wait,omitempty"` // contains filtered or unexported fields }
Permissions for a long-running operation.
func (*LongRunningOperationPermissions) Descriptor
deprecated
added in
v0.18.0
func (*LongRunningOperationPermissions) Descriptor() ([]byte, []int)
Deprecated: Use LongRunningOperationPermissions.ProtoReflect.Descriptor instead.
func (*LongRunningOperationPermissions) GetCancel ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) GetCancel() string
func (*LongRunningOperationPermissions) GetDelete ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) GetDelete() string
func (*LongRunningOperationPermissions) GetGet ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) GetGet() string
func (*LongRunningOperationPermissions) GetList ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) GetList() string
func (*LongRunningOperationPermissions) GetOperation ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) GetOperation() *annotations.ResourceDescriptor
func (*LongRunningOperationPermissions) GetWait ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) GetWait() string
func (*LongRunningOperationPermissions) ProtoMessage ¶ added in v0.18.0
func (*LongRunningOperationPermissions) ProtoMessage()
func (*LongRunningOperationPermissions) ProtoReflect ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) ProtoReflect() protoreflect.Message
func (*LongRunningOperationPermissions) Reset ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) Reset()
func (*LongRunningOperationPermissions) String ¶ added in v0.18.0
func (x *LongRunningOperationPermissions) String() string
type LongRunningOperationsAuthorization ¶ added in v0.18.0
type LongRunningOperationsAuthorization struct { // The long-running operation permissions. OperationPermissions []*LongRunningOperationPermissions `protobuf:"bytes,1,rep,name=operation_permissions,json=operationPermissions,proto3" json:"operation_permissions,omitempty"` // Strategy that decides if the request is authorized. // // Types that are assignable to Strategy: // *LongRunningOperationsAuthorization_Before // *LongRunningOperationsAuthorization_Custom // *LongRunningOperationsAuthorization_None Strategy isLongRunningOperationsAuthorization_Strategy `protobuf_oneof:"strategy"` // contains filtered or unexported fields }
Long-running operations permissions.
func (*LongRunningOperationsAuthorization) Descriptor
deprecated
added in
v0.18.0
func (*LongRunningOperationsAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use LongRunningOperationsAuthorization.ProtoReflect.Descriptor instead.
func (*LongRunningOperationsAuthorization) GetBefore ¶ added in v0.18.0
func (x *LongRunningOperationsAuthorization) GetBefore() bool
func (*LongRunningOperationsAuthorization) GetCustom ¶ added in v0.18.0
func (x *LongRunningOperationsAuthorization) GetCustom() bool
func (*LongRunningOperationsAuthorization) GetNone ¶ added in v0.18.0
func (x *LongRunningOperationsAuthorization) GetNone() bool
func (*LongRunningOperationsAuthorization) GetOperationPermissions ¶ added in v0.18.0
func (x *LongRunningOperationsAuthorization) GetOperationPermissions() []*LongRunningOperationPermissions
func (*LongRunningOperationsAuthorization) GetStrategy ¶ added in v0.18.0
func (m *LongRunningOperationsAuthorization) GetStrategy() isLongRunningOperationsAuthorization_Strategy
func (*LongRunningOperationsAuthorization) ProtoMessage ¶ added in v0.18.0
func (*LongRunningOperationsAuthorization) ProtoMessage()
func (*LongRunningOperationsAuthorization) ProtoReflect ¶ added in v0.18.0
func (x *LongRunningOperationsAuthorization) ProtoReflect() protoreflect.Message
func (*LongRunningOperationsAuthorization) Reset ¶ added in v0.18.0
func (x *LongRunningOperationsAuthorization) Reset()
func (*LongRunningOperationsAuthorization) String ¶ added in v0.18.0
func (x *LongRunningOperationsAuthorization) String() string
type LongRunningOperationsAuthorization_Before ¶ added in v0.18.0
type LongRunningOperationsAuthorization_Before struct { // A flag indicating if a standard authorization checked is performed before the request. Before bool `protobuf:"varint,3,opt,name=before,proto3,oneof"` }
type LongRunningOperationsAuthorization_Custom ¶ added in v0.18.0
type LongRunningOperationsAuthorization_Custom struct { // A flag indicating if custom-implemented authorization is required. Custom bool `protobuf:"varint,4,opt,name=custom,proto3,oneof"` }
type LongRunningOperationsAuthorization_None ¶ added in v0.18.0
type LongRunningOperationsAuthorization_None struct { // A flag indicating if no authorization is required. None bool `protobuf:"varint,5,opt,name=none,proto3,oneof"` }
type MethodAuthorizationOptions ¶ added in v0.14.0
type MethodAuthorizationOptions struct { // Permission to use for authorization. // // Types that are assignable to Permissions: // *MethodAuthorizationOptions_Permission // *MethodAuthorizationOptions_ResourcePermissions Permissions isMethodAuthorizationOptions_Permissions `protobuf_oneof:"permissions"` // Strategy that decides if the request is authorized. // // Types that are assignable to Strategy: // *MethodAuthorizationOptions_Before // *MethodAuthorizationOptions_After // *MethodAuthorizationOptions_Custom // *MethodAuthorizationOptions_None Strategy isMethodAuthorizationOptions_Strategy `protobuf_oneof:"strategy"` // contains filtered or unexported fields }
Method authorization options.
func (*MethodAuthorizationOptions) Descriptor
deprecated
added in
v0.14.0
func (*MethodAuthorizationOptions) Descriptor() ([]byte, []int)
Deprecated: Use MethodAuthorizationOptions.ProtoReflect.Descriptor instead.
func (*MethodAuthorizationOptions) GetAfter ¶ added in v0.14.0
func (x *MethodAuthorizationOptions) GetAfter() *expr.Expr
func (*MethodAuthorizationOptions) GetBefore ¶ added in v0.14.0
func (x *MethodAuthorizationOptions) GetBefore() *expr.Expr
func (*MethodAuthorizationOptions) GetCustom ¶ added in v0.14.0
func (x *MethodAuthorizationOptions) GetCustom() bool
func (*MethodAuthorizationOptions) GetNone ¶ added in v0.17.0
func (x *MethodAuthorizationOptions) GetNone() bool
func (*MethodAuthorizationOptions) GetPermission ¶ added in v0.14.0
func (x *MethodAuthorizationOptions) GetPermission() string
func (*MethodAuthorizationOptions) GetPermissions ¶ added in v0.14.0
func (m *MethodAuthorizationOptions) GetPermissions() isMethodAuthorizationOptions_Permissions
func (*MethodAuthorizationOptions) GetResourcePermissions ¶ added in v0.14.0
func (x *MethodAuthorizationOptions) GetResourcePermissions() *ResourcePermissions
func (*MethodAuthorizationOptions) GetStrategy ¶ added in v0.14.0
func (m *MethodAuthorizationOptions) GetStrategy() isMethodAuthorizationOptions_Strategy
func (*MethodAuthorizationOptions) ProtoMessage ¶ added in v0.14.0
func (*MethodAuthorizationOptions) ProtoMessage()
func (*MethodAuthorizationOptions) ProtoReflect ¶ added in v0.14.0
func (x *MethodAuthorizationOptions) ProtoReflect() protoreflect.Message
func (*MethodAuthorizationOptions) Reset ¶ added in v0.14.0
func (x *MethodAuthorizationOptions) Reset()
func (*MethodAuthorizationOptions) String ¶ added in v0.14.0
func (x *MethodAuthorizationOptions) String() string
type MethodAuthorizationOptions_After ¶ added in v0.14.0
type MethodAuthorizationOptions_Before ¶ added in v0.14.0
type MethodAuthorizationOptions_Custom ¶ added in v0.14.0
type MethodAuthorizationOptions_Custom struct { // A flag indicating if the method requires custom-implemented authorization. Custom bool `protobuf:"varint,5,opt,name=custom,proto3,oneof"` }
type MethodAuthorizationOptions_None ¶ added in v0.17.0
type MethodAuthorizationOptions_None struct { // A flag indicating if the method requires no authorization. None bool `protobuf:"varint,6,opt,name=none,proto3,oneof"` }
type MethodAuthorizationOptions_Permission ¶ added in v0.14.0
type MethodAuthorizationOptions_Permission struct { // A single permission used by the method. Permission string `protobuf:"bytes,1,opt,name=permission,proto3,oneof"` }
type MethodAuthorizationOptions_ResourcePermissions ¶ added in v0.14.0
type MethodAuthorizationOptions_ResourcePermissions struct { // Resource permissions used by the method. ResourcePermissions *ResourcePermissions `protobuf:"bytes,2,opt,name=resource_permissions,json=resourcePermissions,proto3,oneof"` }
type ResourcePermission ¶ added in v0.12.0
type ResourcePermission struct { // The resource. // When used for authorization method options, only the type must be provided. Resource *annotations.ResourceDescriptor `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // The permission. Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
A resource type and a permission.
func (*ResourcePermission) Descriptor
deprecated
added in
v0.12.0
func (*ResourcePermission) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePermission.ProtoReflect.Descriptor instead.
func (*ResourcePermission) GetPermission ¶ added in v0.12.0
func (x *ResourcePermission) GetPermission() string
func (*ResourcePermission) GetResource ¶ added in v0.14.0
func (x *ResourcePermission) GetResource() *annotations.ResourceDescriptor
func (*ResourcePermission) ProtoMessage ¶ added in v0.12.0
func (*ResourcePermission) ProtoMessage()
func (*ResourcePermission) ProtoReflect ¶ added in v0.12.0
func (x *ResourcePermission) ProtoReflect() protoreflect.Message
func (*ResourcePermission) Reset ¶ added in v0.12.0
func (x *ResourcePermission) Reset()
func (*ResourcePermission) String ¶ added in v0.12.0
func (x *ResourcePermission) String() string
type ResourcePermissions ¶ added in v0.12.0
type ResourcePermissions struct { // The resource permissions. ResourcePermission []*ResourcePermission `protobuf:"bytes,1,rep,name=resource_permission,json=resourcePermission,proto3" json:"resource_permission,omitempty"` // contains filtered or unexported fields }
Resource permissions.
func (*ResourcePermissions) Descriptor
deprecated
added in
v0.12.0
func (*ResourcePermissions) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePermissions.ProtoReflect.Descriptor instead.
func (*ResourcePermissions) GetResourcePermission ¶ added in v0.14.0
func (x *ResourcePermissions) GetResourcePermission() []*ResourcePermission
func (*ResourcePermissions) ProtoMessage ¶ added in v0.12.0
func (*ResourcePermissions) ProtoMessage()
func (*ResourcePermissions) ProtoReflect ¶ added in v0.12.0
func (x *ResourcePermissions) ProtoReflect() protoreflect.Message
func (*ResourcePermissions) Reset ¶ added in v0.12.0
func (x *ResourcePermissions) Reset()
func (*ResourcePermissions) String ¶ added in v0.12.0
func (x *ResourcePermissions) String() string
type Roles ¶
type Roles struct { Role []*v1.Role `protobuf:"bytes,1,rep,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
A list of roles.
func (*Roles) Descriptor
deprecated
func (*Roles) ProtoMessage ¶
func (*Roles) ProtoMessage()
func (*Roles) ProtoReflect ¶
func (x *Roles) ProtoReflect() protoreflect.Message