Documentation
¶
Overview ¶
Package accounts contains the GRPC client and server definitions for implementing Auth interactions for the Console.
Index ¶
- Variables
- type EventAttributes
- func (*EventAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *EventAttributes) GetAudience() EventAttributes_Audience
- func (x *EventAttributes) GetExtensions() []string
- func (x *EventAttributes) GetType() string
- func (*EventAttributes) ProtoMessage()
- func (x *EventAttributes) ProtoReflect() protoreflect.Message
- func (x *EventAttributes) Reset()
- func (x *EventAttributes) String() string
- type EventAttributes_Audience
- func (EventAttributes_Audience) Descriptor() protoreflect.EnumDescriptor
- func (x EventAttributes_Audience) Enum() *EventAttributes_Audience
- func (EventAttributes_Audience) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventAttributes_Audience) Number() protoreflect.EnumNumber
- func (x EventAttributes_Audience) String() string
- func (EventAttributes_Audience) Type() protoreflect.EnumType
- type IAM
- type IAM_Disabled
- type IAM_Enabled
- type IAM_Rules
- func (*IAM_Rules) Descriptor() ([]byte, []int)deprecated
- func (x *IAM_Rules) GetCapabilities() []capabilities.Capability
- func (x *IAM_Rules) GetUnscoped() bool
- func (*IAM_Rules) ProtoMessage()
- func (x *IAM_Rules) ProtoReflect() protoreflect.Message
- func (x *IAM_Rules) Reset()
- func (x *IAM_Rules) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventAttributes_Audience_name = map[int32]string{ 0: "INTERNAL", 1: "CUSTOMER", } EventAttributes_Audience_value = map[string]int32{ "INTERNAL": 0, "CUSTOMER": 1, } )
Enum value maps for EventAttributes_Audience.
View Source
var ( // optional chainguard.annotations.EventAttributes events = 401635080; E_Events = &file_events_proto_extTypes[0] // randomly chosen )
Extension fields to descriptorpb.MethodOptions.
View Source
var ( // optional chainguard.annotations.IAM iam = 189350641; E_Iam = &file_auth_proto_extTypes[0] // randomly chosen )
Extension fields to descriptorpb.MethodOptions.
View Source
var ( // optional bool iam_scope = 189350642; E_IamScope = &file_auth_proto_extTypes[1] // one more than above )
Extension fields to descriptorpb.FieldOptions.
View Source
var File_auth_proto protoreflect.FileDescriptor
View Source
var File_events_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EventAttributes ¶
type EventAttributes struct {
// type is the cloudevent type to use for the outbound event.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// extensions lists which extensions
Extensions []string `protobuf:"bytes,2,rep,name=extensions,proto3" json:"extensions,omitempty"`
// audience is the intended audience for the event.
Audience EventAttributes_Audience `protobuf:"varint,3,opt,name=audience,proto3,enum=chainguard.annotations.EventAttributes_Audience" json:"audience,omitempty"`
// contains filtered or unexported fields
}
func (*EventAttributes) Descriptor
deprecated
func (*EventAttributes) Descriptor() ([]byte, []int)
Deprecated: Use EventAttributes.ProtoReflect.Descriptor instead.
func (*EventAttributes) GetAudience ¶
func (x *EventAttributes) GetAudience() EventAttributes_Audience
func (*EventAttributes) GetExtensions ¶
func (x *EventAttributes) GetExtensions() []string
func (*EventAttributes) GetType ¶
func (x *EventAttributes) GetType() string
func (*EventAttributes) ProtoMessage ¶
func (*EventAttributes) ProtoMessage()
func (*EventAttributes) ProtoReflect ¶
func (x *EventAttributes) ProtoReflect() protoreflect.Message
func (*EventAttributes) Reset ¶
func (x *EventAttributes) Reset()
func (*EventAttributes) String ¶
func (x *EventAttributes) String() string
type EventAttributes_Audience ¶
type EventAttributes_Audience int32
const ( // intended for inside the bounds of the platform. EventAttributes_INTERNAL EventAttributes_Audience = 0 // allowed to be sent outside the platform. EventAttributes_CUSTOMER EventAttributes_Audience = 1 )
func (EventAttributes_Audience) Descriptor ¶
func (EventAttributes_Audience) Descriptor() protoreflect.EnumDescriptor
func (EventAttributes_Audience) Enum ¶
func (x EventAttributes_Audience) Enum() *EventAttributes_Audience
func (EventAttributes_Audience) EnumDescriptor
deprecated
func (EventAttributes_Audience) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventAttributes_Audience.Descriptor instead.
func (EventAttributes_Audience) Number ¶
func (x EventAttributes_Audience) Number() protoreflect.EnumNumber
func (EventAttributes_Audience) String ¶
func (x EventAttributes_Audience) String() string
func (EventAttributes_Audience) Type ¶
func (EventAttributes_Audience) Type() protoreflect.EnumType
type IAM ¶
type IAM struct {
// Types that are assignable to Mode:
//
// *IAM_Disabled
// *IAM_Enabled
Mode isIAM_Mode `protobuf_oneof:"mode"`
// contains filtered or unexported fields
}
func (*IAM) Descriptor
deprecated
func (*IAM) GetDisabled ¶
func (*IAM) GetEnabled ¶
func (*IAM) ProtoMessage ¶
func (*IAM) ProtoMessage()
func (*IAM) ProtoReflect ¶
func (x *IAM) ProtoReflect() protoreflect.Message
type IAM_Disabled ¶
type IAM_Enabled ¶
type IAM_Enabled struct {
Enabled *IAM_Rules `protobuf:"bytes,2,opt,name=enabled,proto3,oneof"`
}
type IAM_Rules ¶
type IAM_Rules struct {
// A list of capabilities required by a particular API.
// This field is either scoped or unscoped, as determined
// by the field below.
// - When it is "scoped", this field is combined with the
// field designated by "(iam_scope) = true" (see below)
// on the request message to indicate what capabilities
// the caller needs at what scope in order to authorize
// the action they are performing.
// - When is it "unscoped", this field is used to determine
// the set of scopes the caller has the appropriate access
// to so that the RPC itself can scope down the results
// it returns.
Capabilities []capabilities.Capability `protobuf:"varint,1,rep,packed,name=capabilities,proto3,enum=chainguard.capabilities.Capability" json:"capabilities,omitempty"`
// Unscoped is set on APIs where the request itself doesn't
// carry a field with "iam_scope", and instead scopes itself
// to the set of groups to which the caller has access
// according to their OIDC token.
Unscoped bool `protobuf:"varint,2,opt,name=unscoped,proto3" json:"unscoped,omitempty"`
// contains filtered or unexported fields
}
func (*IAM_Rules) Descriptor
deprecated
func (*IAM_Rules) GetCapabilities ¶
func (x *IAM_Rules) GetCapabilities() []capabilities.Capability
func (*IAM_Rules) GetUnscoped ¶
func (*IAM_Rules) ProtoMessage ¶
func (*IAM_Rules) ProtoMessage()
func (*IAM_Rules) ProtoReflect ¶
func (x *IAM_Rules) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.