Documentation ¶
Index ¶
- Variables
- type Actor
- type ActorType
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetActor() *Actor
- func (x *Event) GetCuratedPluginCreated() *PayloadCuratedPluginCreated
- func (x *Event) GetEventId() string
- func (x *Event) GetEventTime() *timestamppb.Timestamp
- func (x *Event) GetIdpGroupAdded() *PayloadOrganizationIDPGroupAdded
- func (x *Event) GetIdpGroupRemoved() *PayloadOrganizationIDPGroupRemoved
- func (x *Event) GetMetadata() *EventMetadata
- func (x *Event) GetOrganizationCreated() *PayloadOrganizationCreated
- func (x *Event) GetOrganizationDeleted() *PayloadOrganizationDeleted
- func (x *Event) GetOrganizationMemberAdded() *PayloadOrganizationMemberAdded
- func (x *Event) GetOrganizationMemberRemoved() *PayloadOrganizationMemberRemoved
- func (x *Event) GetOrganizationMemberRoleChanged() *PayloadOrganizationMemberRoleChanged
- func (m *Event) GetPayload() isEvent_Payload
- func (x *Event) GetPluginCreated() *PayloadPluginCreateddeprecated
- func (x *Event) GetPluginDeleted() *PayloadPluginDeleteddeprecated
- func (x *Event) GetRepositoryCommitPushed() *PayloadRepositoryCommitPushed
- func (x *Event) GetRepositoryContributorAdded() *PayloadRepositoryContributorAdded
- func (x *Event) GetRepositoryContributorRemoved() *PayloadRepositoryContributorRemoved
- func (x *Event) GetRepositoryContributorRoleChanged() *PayloadRepositoryContributorRoleChanged
- func (x *Event) GetRepositoryCreated() *PayloadRepositoryCreated
- func (x *Event) GetRepositoryDeleted() *PayloadRepositoryDeleted
- func (x *Event) GetRepositoryVisibilityChanged() *PayloadRepositoryVisibilityChanged
- func (x *Event) GetResource() *Resource
- func (x *Event) GetTokenCreated() *PayloadTokenCreated
- func (x *Event) GetTokenDeleted() *PayloadTokenDeleted
- func (x *Event) GetType() EventType
- func (x *Event) GetUserCreated() *PayloadUserCreated
- func (x *Event) GetUserDeactivated() *PayloadUserDeactivated
- func (x *Event) GetUserDeleted() *PayloadUserDeleted
- func (x *Event) GetUserLoggedIn() *PayloadUserLoggedIn
- func (x *Event) GetUserLoggedOut() *PayloadUserLoggedOut
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventMetadata
- func (*EventMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EventMetadata) GetIp() string
- func (x *EventMetadata) GetTraceId() string
- func (x *EventMetadata) GetUserAgent() string
- func (*EventMetadata) ProtoMessage()
- func (x *EventMetadata) ProtoReflect() protoreflect.Message
- func (x *EventMetadata) Reset()
- func (x *EventMetadata) String() string
- type EventType
- type Event_CuratedPluginCreated
- type Event_IdpGroupAdded
- type Event_IdpGroupRemoved
- type Event_OrganizationCreated
- type Event_OrganizationDeleted
- type Event_OrganizationMemberAdded
- type Event_OrganizationMemberRemoved
- type Event_OrganizationMemberRoleChanged
- type Event_PluginCreated
- type Event_PluginDeleted
- type Event_RepositoryCommitPushed
- type Event_RepositoryContributorAdded
- type Event_RepositoryContributorRemoved
- type Event_RepositoryContributorRoleChanged
- type Event_RepositoryCreated
- type Event_RepositoryDeleted
- type Event_RepositoryVisibilityChanged
- type Event_TokenCreated
- type Event_TokenDeleted
- type Event_UserCreated
- type Event_UserDeactivated
- type Event_UserDeleted
- type Event_UserLoggedIn
- type Event_UserLoggedOut
- type ListAuditedEventsRequest
- func (*ListAuditedEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuditedEventsRequest) GetEnd() *timestamppb.Timestamp
- func (x *ListAuditedEventsRequest) GetPageSize() uint32
- func (x *ListAuditedEventsRequest) GetPageToken() string
- func (x *ListAuditedEventsRequest) GetStart() *timestamppb.Timestamp
- func (*ListAuditedEventsRequest) ProtoMessage()
- func (x *ListAuditedEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuditedEventsRequest) Reset()
- func (x *ListAuditedEventsRequest) String() string
- type ListAuditedEventsResponse
- func (*ListAuditedEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuditedEventsResponse) GetEvents() []*Event
- func (x *ListAuditedEventsResponse) GetNextPageToken() string
- func (*ListAuditedEventsResponse) ProtoMessage()
- func (x *ListAuditedEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAuditedEventsResponse) Reset()
- func (x *ListAuditedEventsResponse) String() string
- type PayloadCuratedPluginCreated
- func (*PayloadCuratedPluginCreated) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadCuratedPluginCreated) GetOwnerId() string
- func (x *PayloadCuratedPluginCreated) GetOwnerName() string
- func (*PayloadCuratedPluginCreated) ProtoMessage()
- func (x *PayloadCuratedPluginCreated) ProtoReflect() protoreflect.Message
- func (x *PayloadCuratedPluginCreated) Reset()
- func (x *PayloadCuratedPluginCreated) String() string
- type PayloadOrganizationCreated
- type PayloadOrganizationDeleted
- type PayloadOrganizationIDPGroupAdded
- func (*PayloadOrganizationIDPGroupAdded) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationId() string
- func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationName() string
- func (*PayloadOrganizationIDPGroupAdded) ProtoMessage()
- func (x *PayloadOrganizationIDPGroupAdded) ProtoReflect() protoreflect.Message
- func (x *PayloadOrganizationIDPGroupAdded) Reset()
- func (x *PayloadOrganizationIDPGroupAdded) String() string
- type PayloadOrganizationIDPGroupRemoved
- func (*PayloadOrganizationIDPGroupRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationId() string
- func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationName() string
- func (*PayloadOrganizationIDPGroupRemoved) ProtoMessage()
- func (x *PayloadOrganizationIDPGroupRemoved) ProtoReflect() protoreflect.Message
- func (x *PayloadOrganizationIDPGroupRemoved) Reset()
- func (x *PayloadOrganizationIDPGroupRemoved) String() string
- type PayloadOrganizationMemberAdded
- func (*PayloadOrganizationMemberAdded) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadOrganizationMemberAdded) GetMemberRole() v1alpha1.OrganizationRole
- func (x *PayloadOrganizationMemberAdded) GetMemberRoleSource() v1alpha1.OrganizationRoleSource
- func (x *PayloadOrganizationMemberAdded) GetOrganizationId() string
- func (x *PayloadOrganizationMemberAdded) GetOrganizationName() string
- func (*PayloadOrganizationMemberAdded) ProtoMessage()
- func (x *PayloadOrganizationMemberAdded) ProtoReflect() protoreflect.Message
- func (x *PayloadOrganizationMemberAdded) Reset()
- func (x *PayloadOrganizationMemberAdded) String() string
- type PayloadOrganizationMemberRemoved
- func (*PayloadOrganizationMemberRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadOrganizationMemberRemoved) GetMemberRole() v1alpha1.OrganizationRole
- func (x *PayloadOrganizationMemberRemoved) GetMemberRoleSource() v1alpha1.OrganizationRoleSource
- func (x *PayloadOrganizationMemberRemoved) GetOrganizationId() string
- func (x *PayloadOrganizationMemberRemoved) GetOrganizationName() string
- func (*PayloadOrganizationMemberRemoved) ProtoMessage()
- func (x *PayloadOrganizationMemberRemoved) ProtoReflect() protoreflect.Message
- func (x *PayloadOrganizationMemberRemoved) Reset()
- func (x *PayloadOrganizationMemberRemoved) String() string
- type PayloadOrganizationMemberRoleChanged
- func (*PayloadOrganizationMemberRoleChanged) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadOrganizationMemberRoleChanged) GetNewMemberRoleSource() v1alpha1.OrganizationRoleSource
- func (x *PayloadOrganizationMemberRoleChanged) GetNewRole() v1alpha1.OrganizationRole
- func (x *PayloadOrganizationMemberRoleChanged) GetOldMemberRoleSource() v1alpha1.OrganizationRoleSource
- func (x *PayloadOrganizationMemberRoleChanged) GetOldRole() v1alpha1.OrganizationRole
- func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationId() string
- func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationName() string
- func (*PayloadOrganizationMemberRoleChanged) ProtoMessage()
- func (x *PayloadOrganizationMemberRoleChanged) ProtoReflect() protoreflect.Message
- func (x *PayloadOrganizationMemberRoleChanged) Reset()
- func (x *PayloadOrganizationMemberRoleChanged) String() string
- type PayloadPluginCreateddeprecated
- func (*PayloadPluginCreated) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadPluginCreated) GetOwnerId() string
- func (x *PayloadPluginCreated) GetOwnerName() string
- func (x *PayloadPluginCreated) GetVisibility() v1alpha1.PluginVisibility
- func (*PayloadPluginCreated) ProtoMessage()
- func (x *PayloadPluginCreated) ProtoReflect() protoreflect.Message
- func (x *PayloadPluginCreated) Reset()
- func (x *PayloadPluginCreated) String() string
- type PayloadPluginDeleteddeprecated
- func (*PayloadPluginDeleted) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadPluginDeleted) GetOwnerId() string
- func (x *PayloadPluginDeleted) GetOwnerName() string
- func (x *PayloadPluginDeleted) GetVisibility() v1alpha1.PluginVisibility
- func (*PayloadPluginDeleted) ProtoMessage()
- func (x *PayloadPluginDeleted) ProtoReflect() protoreflect.Message
- func (x *PayloadPluginDeleted) Reset()
- func (x *PayloadPluginDeleted) String() string
- type PayloadRepositoryCommitPushed
- func (*PayloadRepositoryCommitPushed) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadRepositoryCommitPushed) GetDraftName() string
- func (x *PayloadRepositoryCommitPushed) GetOwnerId() string
- func (x *PayloadRepositoryCommitPushed) GetOwnerName() string
- func (x *PayloadRepositoryCommitPushed) GetRepositoryId() string
- func (x *PayloadRepositoryCommitPushed) GetRepositoryName() string
- func (x *PayloadRepositoryCommitPushed) GetTags() []string
- func (*PayloadRepositoryCommitPushed) ProtoMessage()
- func (x *PayloadRepositoryCommitPushed) ProtoReflect() protoreflect.Message
- func (x *PayloadRepositoryCommitPushed) Reset()
- func (x *PayloadRepositoryCommitPushed) String() string
- type PayloadRepositoryContributorAdded
- func (*PayloadRepositoryContributorAdded) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadRepositoryContributorAdded) GetContributorRole() v1alpha1.RepositoryRole
- func (x *PayloadRepositoryContributorAdded) GetOwnerId() string
- func (x *PayloadRepositoryContributorAdded) GetOwnerName() string
- func (x *PayloadRepositoryContributorAdded) GetRepositoryId() string
- func (x *PayloadRepositoryContributorAdded) GetRepositoryName() string
- func (*PayloadRepositoryContributorAdded) ProtoMessage()
- func (x *PayloadRepositoryContributorAdded) ProtoReflect() protoreflect.Message
- func (x *PayloadRepositoryContributorAdded) Reset()
- func (x *PayloadRepositoryContributorAdded) String() string
- type PayloadRepositoryContributorRemoved
- func (*PayloadRepositoryContributorRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadRepositoryContributorRemoved) GetContributorRole() v1alpha1.RepositoryRole
- func (x *PayloadRepositoryContributorRemoved) GetOwnerId() string
- func (x *PayloadRepositoryContributorRemoved) GetOwnerName() string
- func (x *PayloadRepositoryContributorRemoved) GetRepositoryId() string
- func (x *PayloadRepositoryContributorRemoved) GetRepositoryName() string
- func (*PayloadRepositoryContributorRemoved) ProtoMessage()
- func (x *PayloadRepositoryContributorRemoved) ProtoReflect() protoreflect.Message
- func (x *PayloadRepositoryContributorRemoved) Reset()
- func (x *PayloadRepositoryContributorRemoved) String() string
- type PayloadRepositoryContributorRoleChanged
- func (*PayloadRepositoryContributorRoleChanged) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadRepositoryContributorRoleChanged) GetNewRole() v1alpha1.RepositoryRole
- func (x *PayloadRepositoryContributorRoleChanged) GetOldRole() v1alpha1.RepositoryRole
- func (x *PayloadRepositoryContributorRoleChanged) GetOwnerId() string
- func (x *PayloadRepositoryContributorRoleChanged) GetOwnerName() string
- func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryId() string
- func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryName() string
- func (*PayloadRepositoryContributorRoleChanged) ProtoMessage()
- func (x *PayloadRepositoryContributorRoleChanged) ProtoReflect() protoreflect.Message
- func (x *PayloadRepositoryContributorRoleChanged) Reset()
- func (x *PayloadRepositoryContributorRoleChanged) String() string
- type PayloadRepositoryCreated
- func (*PayloadRepositoryCreated) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadRepositoryCreated) GetOwnerId() string
- func (x *PayloadRepositoryCreated) GetOwnerName() string
- func (x *PayloadRepositoryCreated) GetVisibility() v1alpha1.Visibility
- func (*PayloadRepositoryCreated) ProtoMessage()
- func (x *PayloadRepositoryCreated) ProtoReflect() protoreflect.Message
- func (x *PayloadRepositoryCreated) Reset()
- func (x *PayloadRepositoryCreated) String() string
- type PayloadRepositoryDeleted
- func (*PayloadRepositoryDeleted) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadRepositoryDeleted) GetOwnerId() string
- func (x *PayloadRepositoryDeleted) GetOwnerName() string
- func (x *PayloadRepositoryDeleted) GetVisibility() v1alpha1.Visibility
- func (*PayloadRepositoryDeleted) ProtoMessage()
- func (x *PayloadRepositoryDeleted) ProtoReflect() protoreflect.Message
- func (x *PayloadRepositoryDeleted) Reset()
- func (x *PayloadRepositoryDeleted) String() string
- type PayloadRepositoryVisibilityChanged
- func (*PayloadRepositoryVisibilityChanged) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadRepositoryVisibilityChanged) GetNewVisibility() v1alpha1.Visibility
- func (x *PayloadRepositoryVisibilityChanged) GetOldVisibility() v1alpha1.Visibility
- func (x *PayloadRepositoryVisibilityChanged) GetOwnerId() string
- func (x *PayloadRepositoryVisibilityChanged) GetOwnerName() string
- func (*PayloadRepositoryVisibilityChanged) ProtoMessage()
- func (x *PayloadRepositoryVisibilityChanged) ProtoReflect() protoreflect.Message
- func (x *PayloadRepositoryVisibilityChanged) Reset()
- func (x *PayloadRepositoryVisibilityChanged) String() string
- type PayloadTokenCreated
- func (*PayloadTokenCreated) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadTokenCreated) GetOwnerId() string
- func (x *PayloadTokenCreated) GetTokenExpiryTime() *timestamppb.Timestamp
- func (*PayloadTokenCreated) ProtoMessage()
- func (x *PayloadTokenCreated) ProtoReflect() protoreflect.Message
- func (x *PayloadTokenCreated) Reset()
- func (x *PayloadTokenCreated) String() string
- type PayloadTokenDeleted
- func (*PayloadTokenDeleted) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadTokenDeleted) GetOwnerId() string
- func (*PayloadTokenDeleted) ProtoMessage()
- func (x *PayloadTokenDeleted) ProtoReflect() protoreflect.Message
- func (x *PayloadTokenDeleted) Reset()
- func (x *PayloadTokenDeleted) String() string
- type PayloadUserCreated
- type PayloadUserDeactivated
- type PayloadUserDeleted
- type PayloadUserLoggedIn
- type PayloadUserLoggedOut
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetId() string
- func (x *Resource) GetName() string
- func (x *Resource) GetType() ResourceType
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceType
- func (ResourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceType) Enum() *ResourceType
- func (ResourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceType) Number() protoreflect.EnumNumber
- func (x ResourceType) String() string
- func (ResourceType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( ActorType_name = map[int32]string{ 0: "ACTOR_TYPE_UNSPECIFIED", 1: "ACTOR_TYPE_USER", 2: "ACTOR_TYPE_SYSTEM", } ActorType_value = map[string]int32{ "ACTOR_TYPE_UNSPECIFIED": 0, "ACTOR_TYPE_USER": 1, "ACTOR_TYPE_SYSTEM": 2, } )
Enum value maps for ActorType.
var ( ResourceType_name = map[int32]string{ 0: "RESOURCE_TYPE_UNSPECIFIED", 1: "RESOURCE_TYPE_USER", 2: "RESOURCE_TYPE_ORGANIZATION", 3: "RESOURCE_TYPE_ORGANIZATION_MEMBER", 9: "RESOURCE_TYPE_ORGANIZATION_IDP_GROUP", 4: "RESOURCE_TYPE_REPOSITORY", 5: "RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR", 6: "RESOURCE_TYPE_REPOSITORY_COMMIT", 7: "RESOURCE_TYPE_PLUGIN", 8: "RESOURCE_TYPE_CURATED_PLUGIN", 10: "RESOURCE_TYPE_TOKEN", } ResourceType_value = map[string]int32{ "RESOURCE_TYPE_UNSPECIFIED": 0, "RESOURCE_TYPE_USER": 1, "RESOURCE_TYPE_ORGANIZATION": 2, "RESOURCE_TYPE_ORGANIZATION_MEMBER": 3, "RESOURCE_TYPE_ORGANIZATION_IDP_GROUP": 9, "RESOURCE_TYPE_REPOSITORY": 4, "RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR": 5, "RESOURCE_TYPE_REPOSITORY_COMMIT": 6, "RESOURCE_TYPE_PLUGIN": 7, "RESOURCE_TYPE_CURATED_PLUGIN": 8, "RESOURCE_TYPE_TOKEN": 10, } )
Enum value maps for ResourceType.
var ( EventType_name = map[int32]string{ 0: "EVENT_TYPE_UNSPECIFIED", 1: "EVENT_TYPE_ORGANIZATION_CREATED", 2: "EVENT_TYPE_ORGANIZATION_DELETED", 3: "EVENT_TYPE_ORGANIZATION_MEMBER_ADDED", 4: "EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED", 5: "EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED", 21: "EVENT_TYPE_ORGANIZATION_IDP_GROUP_ADDED", 22: "EVENT_TYPE_ORGANIZATION_IDP_GROUP_REMOVED", 6: "EVENT_TYPE_REPOSITORY_CREATED", 7: "EVENT_TYPE_REPOSITORY_DELETED", 8: "EVENT_TYPE_REPOSITORY_COMMIT_PUSHED", 9: "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED", 10: "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED", 11: "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED", 12: "EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED", 13: "EVENT_TYPE_PLUGIN_CREATED", 14: "EVENT_TYPE_PLUGIN_DELETED", 20: "EVENT_TYPE_CURATED_PLUGIN_CREATED", 15: "EVENT_TYPE_USER_CREATED", 16: "EVENT_TYPE_USER_DELETED", 17: "EVENT_TYPE_USER_DEACTIVATED", 18: "EVENT_TYPE_USER_LOGGED_IN", 19: "EVENT_TYPE_USER_LOGGED_OUT", 23: "EVENT_TYPE_TOKEN_CREATED", 24: "EVENT_TYPE_TOKEN_DELETED", } EventType_value = map[string]int32{ "EVENT_TYPE_UNSPECIFIED": 0, "EVENT_TYPE_ORGANIZATION_CREATED": 1, "EVENT_TYPE_ORGANIZATION_DELETED": 2, "EVENT_TYPE_ORGANIZATION_MEMBER_ADDED": 3, "EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED": 4, "EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED": 5, "EVENT_TYPE_ORGANIZATION_IDP_GROUP_ADDED": 21, "EVENT_TYPE_ORGANIZATION_IDP_GROUP_REMOVED": 22, "EVENT_TYPE_REPOSITORY_CREATED": 6, "EVENT_TYPE_REPOSITORY_DELETED": 7, "EVENT_TYPE_REPOSITORY_COMMIT_PUSHED": 8, "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED": 9, "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED": 10, "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED": 11, "EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED": 12, "EVENT_TYPE_PLUGIN_CREATED": 13, "EVENT_TYPE_PLUGIN_DELETED": 14, "EVENT_TYPE_CURATED_PLUGIN_CREATED": 20, "EVENT_TYPE_USER_CREATED": 15, "EVENT_TYPE_USER_DELETED": 16, "EVENT_TYPE_USER_DEACTIVATED": 17, "EVENT_TYPE_USER_LOGGED_IN": 18, "EVENT_TYPE_USER_LOGGED_OUT": 19, "EVENT_TYPE_TOKEN_CREATED": 23, "EVENT_TYPE_TOKEN_DELETED": 24, } )
Enum value maps for EventType.
var File_buf_alpha_audit_v1alpha1_event_proto protoreflect.FileDescriptor
var File_buf_alpha_audit_v1alpha1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Actor ¶ added in v1.8.0
type Actor struct { // Type of actor who caused the audited event. Type ActorType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ActorType" json:"type,omitempty"` // Id of the actor who caused the audited event. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Name of the actor who caused the audited event. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Actor is the actor who caused the audited event.
func (*Actor) Descriptor
deprecated
added in
v1.8.0
func (*Actor) ProtoMessage ¶ added in v1.8.0
func (*Actor) ProtoMessage()
func (*Actor) ProtoReflect ¶ added in v1.8.0
func (x *Actor) ProtoReflect() protoreflect.Message
type ActorType ¶ added in v1.8.0
type ActorType int32
ActorType is the type of actor that caused the audited event.
func (ActorType) Descriptor ¶ added in v1.8.0
func (ActorType) Descriptor() protoreflect.EnumDescriptor
func (ActorType) EnumDescriptor
deprecated
added in
v1.8.0
func (ActorType) Number ¶ added in v1.8.0
func (x ActorType) Number() protoreflect.EnumNumber
func (ActorType) Type ¶ added in v1.8.0
func (ActorType) Type() protoreflect.EnumType
type Event ¶
type Event struct { // Unique id of the audited event. EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // Type of the audited event. It specifies "what" happened. Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.EventType" json:"type,omitempty"` // Actor of the audited event. It specifies "who" did it. Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"` // Resource of the audited event. It specifies "which resource" was affected. Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` // Time of the audited event. It specifies "when" it happened. EventTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // Metadata about the audited event. It specifies any additional details about the audited event. Metadata *EventMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // Payload of the audited event. It specifies additional context on the event. // // Types that are assignable to Payload: // // *Event_OrganizationCreated // *Event_OrganizationDeleted // *Event_OrganizationMemberAdded // *Event_OrganizationMemberRoleChanged // *Event_OrganizationMemberRemoved // *Event_RepositoryCreated // *Event_RepositoryDeleted // *Event_RepositoryCommitPushed // *Event_RepositoryContributorAdded // *Event_RepositoryContributorRoleChanged // *Event_RepositoryContributorRemoved // *Event_RepositoryVisibilityChanged // *Event_PluginCreated // *Event_PluginDeleted // *Event_UserCreated // *Event_UserDeactivated // *Event_UserDeleted // *Event_UserLoggedIn // *Event_UserLoggedOut // *Event_CuratedPluginCreated // *Event_IdpGroupAdded // *Event_IdpGroupRemoved // *Event_TokenCreated // *Event_TokenDeleted Payload isEvent_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
Event is an audited action that happened in the BSR, with the information of what happened, when it happened, who did it, which resource was affected, and more contextual information on the event.
func (*Event) Descriptor
deprecated
func (*Event) GetCuratedPluginCreated ¶ added in v1.10.0
func (x *Event) GetCuratedPluginCreated() *PayloadCuratedPluginCreated
func (*Event) GetEventId ¶
func (*Event) GetEventTime ¶
func (x *Event) GetEventTime() *timestamppb.Timestamp
func (*Event) GetIdpGroupAdded ¶ added in v1.12.0
func (x *Event) GetIdpGroupAdded() *PayloadOrganizationIDPGroupAdded
func (*Event) GetIdpGroupRemoved ¶ added in v1.12.0
func (x *Event) GetIdpGroupRemoved() *PayloadOrganizationIDPGroupRemoved
func (*Event) GetMetadata ¶ added in v1.9.0
func (x *Event) GetMetadata() *EventMetadata
func (*Event) GetOrganizationCreated ¶ added in v1.8.0
func (x *Event) GetOrganizationCreated() *PayloadOrganizationCreated
func (*Event) GetOrganizationDeleted ¶ added in v1.8.0
func (x *Event) GetOrganizationDeleted() *PayloadOrganizationDeleted
func (*Event) GetOrganizationMemberAdded ¶ added in v1.8.0
func (x *Event) GetOrganizationMemberAdded() *PayloadOrganizationMemberAdded
func (*Event) GetOrganizationMemberRemoved ¶ added in v1.8.0
func (x *Event) GetOrganizationMemberRemoved() *PayloadOrganizationMemberRemoved
func (*Event) GetOrganizationMemberRoleChanged ¶ added in v1.8.0
func (x *Event) GetOrganizationMemberRoleChanged() *PayloadOrganizationMemberRoleChanged
func (*Event) GetPayload ¶ added in v1.8.0
func (m *Event) GetPayload() isEvent_Payload
func (*Event) GetPluginCreated
deprecated
added in
v1.8.0
func (x *Event) GetPluginCreated() *PayloadPluginCreated
Deprecated: Do not use.
func (*Event) GetPluginDeleted
deprecated
added in
v1.8.0
func (x *Event) GetPluginDeleted() *PayloadPluginDeleted
Deprecated: Do not use.
func (*Event) GetRepositoryCommitPushed ¶ added in v1.9.0
func (x *Event) GetRepositoryCommitPushed() *PayloadRepositoryCommitPushed
func (*Event) GetRepositoryContributorAdded ¶ added in v1.8.0
func (x *Event) GetRepositoryContributorAdded() *PayloadRepositoryContributorAdded
func (*Event) GetRepositoryContributorRemoved ¶ added in v1.8.0
func (x *Event) GetRepositoryContributorRemoved() *PayloadRepositoryContributorRemoved
func (*Event) GetRepositoryContributorRoleChanged ¶ added in v1.8.0
func (x *Event) GetRepositoryContributorRoleChanged() *PayloadRepositoryContributorRoleChanged
func (*Event) GetRepositoryCreated ¶ added in v1.8.0
func (x *Event) GetRepositoryCreated() *PayloadRepositoryCreated
func (*Event) GetRepositoryDeleted ¶ added in v1.8.0
func (x *Event) GetRepositoryDeleted() *PayloadRepositoryDeleted
func (*Event) GetRepositoryVisibilityChanged ¶ added in v1.8.0
func (x *Event) GetRepositoryVisibilityChanged() *PayloadRepositoryVisibilityChanged
func (*Event) GetResource ¶ added in v1.8.0
func (*Event) GetTokenCreated ¶ added in v1.14.0
func (x *Event) GetTokenCreated() *PayloadTokenCreated
func (*Event) GetTokenDeleted ¶ added in v1.14.0
func (x *Event) GetTokenDeleted() *PayloadTokenDeleted
func (*Event) GetUserCreated ¶ added in v1.9.0
func (x *Event) GetUserCreated() *PayloadUserCreated
func (*Event) GetUserDeactivated ¶ added in v1.8.0
func (x *Event) GetUserDeactivated() *PayloadUserDeactivated
func (*Event) GetUserDeleted ¶ added in v1.8.0
func (x *Event) GetUserDeleted() *PayloadUserDeleted
func (*Event) GetUserLoggedIn ¶ added in v1.8.0
func (x *Event) GetUserLoggedIn() *PayloadUserLoggedIn
func (*Event) GetUserLoggedOut ¶ added in v1.8.0
func (x *Event) GetUserLoggedOut() *PayloadUserLoggedOut
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventMetadata ¶ added in v1.9.0
type EventMetadata struct { // UserAgent is the User-Agent header associated with the request that triggered the audited event, if any. UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // IP is the IP address associated with the request that triggered the audited event, if any. Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` // TraceID is the ID of the trace associated with the audited event, if any. TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` // contains filtered or unexported fields }
EventMetadata provides additional details about the audited event.
func (*EventMetadata) Descriptor
deprecated
added in
v1.9.0
func (*EventMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.
func (*EventMetadata) GetIp ¶ added in v1.9.0
func (x *EventMetadata) GetIp() string
func (*EventMetadata) GetTraceId ¶ added in v1.9.0
func (x *EventMetadata) GetTraceId() string
func (*EventMetadata) GetUserAgent ¶ added in v1.9.0
func (x *EventMetadata) GetUserAgent() string
func (*EventMetadata) ProtoMessage ¶ added in v1.9.0
func (*EventMetadata) ProtoMessage()
func (*EventMetadata) ProtoReflect ¶ added in v1.9.0
func (x *EventMetadata) ProtoReflect() protoreflect.Message
func (*EventMetadata) Reset ¶ added in v1.9.0
func (x *EventMetadata) Reset()
func (*EventMetadata) String ¶ added in v1.9.0
func (x *EventMetadata) String() string
type EventType ¶ added in v1.8.0
type EventType int32
EventType is the type of audited event.
const ( EventType_EVENT_TYPE_UNSPECIFIED EventType = 0 EventType_EVENT_TYPE_ORGANIZATION_CREATED EventType = 1 EventType_EVENT_TYPE_ORGANIZATION_DELETED EventType = 2 EventType_EVENT_TYPE_ORGANIZATION_MEMBER_ADDED EventType = 3 EventType_EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED EventType = 4 EventType_EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED EventType = 5 EventType_EVENT_TYPE_ORGANIZATION_IDP_GROUP_ADDED EventType = 21 EventType_EVENT_TYPE_ORGANIZATION_IDP_GROUP_REMOVED EventType = 22 EventType_EVENT_TYPE_REPOSITORY_CREATED EventType = 6 EventType_EVENT_TYPE_REPOSITORY_DELETED EventType = 7 EventType_EVENT_TYPE_REPOSITORY_COMMIT_PUSHED EventType = 8 EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED EventType = 9 EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED EventType = 10 EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED EventType = 11 EventType_EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED EventType = 12 // Deprecated: Do not use. EventType_EVENT_TYPE_PLUGIN_CREATED EventType = 13 // Deprecated: Do not use. EventType_EVENT_TYPE_PLUGIN_DELETED EventType = 14 EventType_EVENT_TYPE_CURATED_PLUGIN_CREATED EventType = 20 EventType_EVENT_TYPE_USER_CREATED EventType = 15 EventType_EVENT_TYPE_USER_DELETED EventType = 16 EventType_EVENT_TYPE_USER_DEACTIVATED EventType = 17 EventType_EVENT_TYPE_USER_LOGGED_IN EventType = 18 EventType_EVENT_TYPE_USER_LOGGED_OUT EventType = 19 EventType_EVENT_TYPE_TOKEN_CREATED EventType = 23 EventType_EVENT_TYPE_TOKEN_DELETED EventType = 24 )
func (EventType) Descriptor ¶ added in v1.8.0
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
added in
v1.8.0
func (EventType) Number ¶ added in v1.8.0
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶ added in v1.8.0
func (EventType) Type() protoreflect.EnumType
type Event_CuratedPluginCreated ¶ added in v1.10.0
type Event_CuratedPluginCreated struct {
CuratedPluginCreated *PayloadCuratedPluginCreated `protobuf:"bytes,26,opt,name=curated_plugin_created,json=curatedPluginCreated,proto3,oneof"`
}
type Event_IdpGroupAdded ¶ added in v1.12.0
type Event_IdpGroupAdded struct {
IdpGroupAdded *PayloadOrganizationIDPGroupAdded `protobuf:"bytes,27,opt,name=idp_group_added,json=idpGroupAdded,proto3,oneof"`
}
type Event_IdpGroupRemoved ¶ added in v1.12.0
type Event_IdpGroupRemoved struct {
IdpGroupRemoved *PayloadOrganizationIDPGroupRemoved `protobuf:"bytes,28,opt,name=idp_group_removed,json=idpGroupRemoved,proto3,oneof"`
}
type Event_OrganizationCreated ¶ added in v1.8.0
type Event_OrganizationCreated struct {
OrganizationCreated *PayloadOrganizationCreated `protobuf:"bytes,7,opt,name=organization_created,json=organizationCreated,proto3,oneof"`
}
type Event_OrganizationDeleted ¶ added in v1.8.0
type Event_OrganizationDeleted struct {
OrganizationDeleted *PayloadOrganizationDeleted `protobuf:"bytes,8,opt,name=organization_deleted,json=organizationDeleted,proto3,oneof"`
}
type Event_OrganizationMemberAdded ¶ added in v1.8.0
type Event_OrganizationMemberAdded struct {
OrganizationMemberAdded *PayloadOrganizationMemberAdded `protobuf:"bytes,9,opt,name=organization_member_added,json=organizationMemberAdded,proto3,oneof"`
}
type Event_OrganizationMemberRemoved ¶ added in v1.8.0
type Event_OrganizationMemberRemoved struct {
OrganizationMemberRemoved *PayloadOrganizationMemberRemoved `protobuf:"bytes,11,opt,name=organization_member_removed,json=organizationMemberRemoved,proto3,oneof"`
}
type Event_OrganizationMemberRoleChanged ¶ added in v1.8.0
type Event_OrganizationMemberRoleChanged struct {
OrganizationMemberRoleChanged *PayloadOrganizationMemberRoleChanged `protobuf:"bytes,10,opt,name=organization_member_role_changed,json=organizationMemberRoleChanged,proto3,oneof"`
}
type Event_PluginCreated ¶ added in v1.8.0
type Event_PluginCreated struct { // Deprecated: Do not use. PluginCreated *PayloadPluginCreated `protobuf:"bytes,19,opt,name=plugin_created,json=pluginCreated,proto3,oneof"` }
type Event_PluginDeleted ¶ added in v1.8.0
type Event_PluginDeleted struct { // Deprecated: Do not use. PluginDeleted *PayloadPluginDeleted `protobuf:"bytes,20,opt,name=plugin_deleted,json=pluginDeleted,proto3,oneof"` }
type Event_RepositoryCommitPushed ¶ added in v1.9.0
type Event_RepositoryCommitPushed struct {
RepositoryCommitPushed *PayloadRepositoryCommitPushed `protobuf:"bytes,14,opt,name=repository_commit_pushed,json=repositoryCommitPushed,proto3,oneof"`
}
type Event_RepositoryContributorAdded ¶ added in v1.8.0
type Event_RepositoryContributorAdded struct {
RepositoryContributorAdded *PayloadRepositoryContributorAdded `protobuf:"bytes,15,opt,name=repository_contributor_added,json=repositoryContributorAdded,proto3,oneof"`
}
type Event_RepositoryContributorRemoved ¶ added in v1.8.0
type Event_RepositoryContributorRemoved struct {
RepositoryContributorRemoved *PayloadRepositoryContributorRemoved `protobuf:"bytes,17,opt,name=repository_contributor_removed,json=repositoryContributorRemoved,proto3,oneof"`
}
type Event_RepositoryContributorRoleChanged ¶ added in v1.8.0
type Event_RepositoryContributorRoleChanged struct {
RepositoryContributorRoleChanged *PayloadRepositoryContributorRoleChanged `protobuf:"bytes,16,opt,name=repository_contributor_role_changed,json=repositoryContributorRoleChanged,proto3,oneof"`
}
type Event_RepositoryCreated ¶ added in v1.8.0
type Event_RepositoryCreated struct {
RepositoryCreated *PayloadRepositoryCreated `protobuf:"bytes,12,opt,name=repository_created,json=repositoryCreated,proto3,oneof"`
}
type Event_RepositoryDeleted ¶ added in v1.8.0
type Event_RepositoryDeleted struct {
RepositoryDeleted *PayloadRepositoryDeleted `protobuf:"bytes,13,opt,name=repository_deleted,json=repositoryDeleted,proto3,oneof"`
}
type Event_RepositoryVisibilityChanged ¶ added in v1.8.0
type Event_RepositoryVisibilityChanged struct {
RepositoryVisibilityChanged *PayloadRepositoryVisibilityChanged `protobuf:"bytes,18,opt,name=repository_visibility_changed,json=repositoryVisibilityChanged,proto3,oneof"`
}
type Event_TokenCreated ¶ added in v1.14.0
type Event_TokenCreated struct {
TokenCreated *PayloadTokenCreated `protobuf:"bytes,29,opt,name=token_created,json=tokenCreated,proto3,oneof"`
}
type Event_TokenDeleted ¶ added in v1.14.0
type Event_TokenDeleted struct {
TokenDeleted *PayloadTokenDeleted `protobuf:"bytes,30,opt,name=token_deleted,json=tokenDeleted,proto3,oneof"`
}
type Event_UserCreated ¶ added in v1.9.0
type Event_UserCreated struct {
UserCreated *PayloadUserCreated `protobuf:"bytes,21,opt,name=user_created,json=userCreated,proto3,oneof"`
}
type Event_UserDeactivated ¶ added in v1.8.0
type Event_UserDeactivated struct {
UserDeactivated *PayloadUserDeactivated `protobuf:"bytes,22,opt,name=user_deactivated,json=userDeactivated,proto3,oneof"`
}
type Event_UserDeleted ¶ added in v1.8.0
type Event_UserDeleted struct {
UserDeleted *PayloadUserDeleted `protobuf:"bytes,23,opt,name=user_deleted,json=userDeleted,proto3,oneof"`
}
type Event_UserLoggedIn ¶ added in v1.8.0
type Event_UserLoggedIn struct {
UserLoggedIn *PayloadUserLoggedIn `protobuf:"bytes,24,opt,name=user_logged_in,json=userLoggedIn,proto3,oneof"`
}
type Event_UserLoggedOut ¶ added in v1.8.0
type Event_UserLoggedOut struct {
UserLoggedOut *PayloadUserLoggedOut `protobuf:"bytes,25,opt,name=user_logged_out,json=userLoggedOut,proto3,oneof"`
}
type ListAuditedEventsRequest ¶ added in v1.9.0
type ListAuditedEventsRequest struct { // The page size for listing audited events, values between 1-250. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token for paginating. The first page is returned if this is empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The start timestamp to filter events from. Start *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"` // The end timestamp to filter events to. End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*ListAuditedEventsRequest) Descriptor
deprecated
added in
v1.9.0
func (*ListAuditedEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuditedEventsRequest.ProtoReflect.Descriptor instead.
func (*ListAuditedEventsRequest) GetEnd ¶ added in v1.9.0
func (x *ListAuditedEventsRequest) GetEnd() *timestamppb.Timestamp
func (*ListAuditedEventsRequest) GetPageSize ¶ added in v1.9.0
func (x *ListAuditedEventsRequest) GetPageSize() uint32
func (*ListAuditedEventsRequest) GetPageToken ¶ added in v1.9.0
func (x *ListAuditedEventsRequest) GetPageToken() string
func (*ListAuditedEventsRequest) GetStart ¶ added in v1.9.0
func (x *ListAuditedEventsRequest) GetStart() *timestamppb.Timestamp
func (*ListAuditedEventsRequest) ProtoMessage ¶ added in v1.9.0
func (*ListAuditedEventsRequest) ProtoMessage()
func (*ListAuditedEventsRequest) ProtoReflect ¶ added in v1.9.0
func (x *ListAuditedEventsRequest) ProtoReflect() protoreflect.Message
func (*ListAuditedEventsRequest) Reset ¶ added in v1.9.0
func (x *ListAuditedEventsRequest) Reset()
func (*ListAuditedEventsRequest) String ¶ added in v1.9.0
func (x *ListAuditedEventsRequest) String() string
type ListAuditedEventsResponse ¶ added in v1.9.0
type ListAuditedEventsResponse struct { // The list of audited events in the current page. Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // The token for the next page of audited events. There are no more pages if // this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAuditedEventsResponse) Descriptor
deprecated
added in
v1.9.0
func (*ListAuditedEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAuditedEventsResponse.ProtoReflect.Descriptor instead.
func (*ListAuditedEventsResponse) GetEvents ¶ added in v1.9.0
func (x *ListAuditedEventsResponse) GetEvents() []*Event
func (*ListAuditedEventsResponse) GetNextPageToken ¶ added in v1.9.0
func (x *ListAuditedEventsResponse) GetNextPageToken() string
func (*ListAuditedEventsResponse) ProtoMessage ¶ added in v1.9.0
func (*ListAuditedEventsResponse) ProtoMessage()
func (*ListAuditedEventsResponse) ProtoReflect ¶ added in v1.9.0
func (x *ListAuditedEventsResponse) ProtoReflect() protoreflect.Message
func (*ListAuditedEventsResponse) Reset ¶ added in v1.9.0
func (x *ListAuditedEventsResponse) Reset()
func (*ListAuditedEventsResponse) String ¶ added in v1.9.0
func (x *ListAuditedEventsResponse) String() string
type PayloadCuratedPluginCreated ¶ added in v1.10.0
type PayloadCuratedPluginCreated struct { // owner_id is the id of the owner of the plugin. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // contains filtered or unexported fields }
func (*PayloadCuratedPluginCreated) Descriptor
deprecated
added in
v1.10.0
func (*PayloadCuratedPluginCreated) Descriptor() ([]byte, []int)
Deprecated: Use PayloadCuratedPluginCreated.ProtoReflect.Descriptor instead.
func (*PayloadCuratedPluginCreated) GetOwnerId ¶ added in v1.10.0
func (x *PayloadCuratedPluginCreated) GetOwnerId() string
func (*PayloadCuratedPluginCreated) GetOwnerName ¶ added in v1.10.0
func (x *PayloadCuratedPluginCreated) GetOwnerName() string
func (*PayloadCuratedPluginCreated) ProtoMessage ¶ added in v1.10.0
func (*PayloadCuratedPluginCreated) ProtoMessage()
func (*PayloadCuratedPluginCreated) ProtoReflect ¶ added in v1.10.0
func (x *PayloadCuratedPluginCreated) ProtoReflect() protoreflect.Message
func (*PayloadCuratedPluginCreated) Reset ¶ added in v1.10.0
func (x *PayloadCuratedPluginCreated) Reset()
func (*PayloadCuratedPluginCreated) String ¶ added in v1.10.0
func (x *PayloadCuratedPluginCreated) String() string
type PayloadOrganizationCreated ¶ added in v1.8.0
type PayloadOrganizationCreated struct {
// contains filtered or unexported fields
}
func (*PayloadOrganizationCreated) Descriptor
deprecated
added in
v1.8.0
func (*PayloadOrganizationCreated) Descriptor() ([]byte, []int)
Deprecated: Use PayloadOrganizationCreated.ProtoReflect.Descriptor instead.
func (*PayloadOrganizationCreated) ProtoMessage ¶ added in v1.8.0
func (*PayloadOrganizationCreated) ProtoMessage()
func (*PayloadOrganizationCreated) ProtoReflect ¶ added in v1.8.0
func (x *PayloadOrganizationCreated) ProtoReflect() protoreflect.Message
func (*PayloadOrganizationCreated) Reset ¶ added in v1.8.0
func (x *PayloadOrganizationCreated) Reset()
func (*PayloadOrganizationCreated) String ¶ added in v1.8.0
func (x *PayloadOrganizationCreated) String() string
type PayloadOrganizationDeleted ¶ added in v1.8.0
type PayloadOrganizationDeleted struct {
// contains filtered or unexported fields
}
func (*PayloadOrganizationDeleted) Descriptor
deprecated
added in
v1.8.0
func (*PayloadOrganizationDeleted) Descriptor() ([]byte, []int)
Deprecated: Use PayloadOrganizationDeleted.ProtoReflect.Descriptor instead.
func (*PayloadOrganizationDeleted) ProtoMessage ¶ added in v1.8.0
func (*PayloadOrganizationDeleted) ProtoMessage()
func (*PayloadOrganizationDeleted) ProtoReflect ¶ added in v1.8.0
func (x *PayloadOrganizationDeleted) ProtoReflect() protoreflect.Message
func (*PayloadOrganizationDeleted) Reset ¶ added in v1.8.0
func (x *PayloadOrganizationDeleted) Reset()
func (*PayloadOrganizationDeleted) String ¶ added in v1.8.0
func (x *PayloadOrganizationDeleted) String() string
type PayloadOrganizationIDPGroupAdded ¶ added in v1.12.0
type PayloadOrganizationIDPGroupAdded struct { // organization_id is the id of the organization with the new IDP group. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization with the new IDP group. OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` // contains filtered or unexported fields }
func (*PayloadOrganizationIDPGroupAdded) Descriptor
deprecated
added in
v1.12.0
func (*PayloadOrganizationIDPGroupAdded) Descriptor() ([]byte, []int)
Deprecated: Use PayloadOrganizationIDPGroupAdded.ProtoReflect.Descriptor instead.
func (*PayloadOrganizationIDPGroupAdded) GetOrganizationId ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationId() string
func (*PayloadOrganizationIDPGroupAdded) GetOrganizationName ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationName() string
func (*PayloadOrganizationIDPGroupAdded) ProtoMessage ¶ added in v1.12.0
func (*PayloadOrganizationIDPGroupAdded) ProtoMessage()
func (*PayloadOrganizationIDPGroupAdded) ProtoReflect ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupAdded) ProtoReflect() protoreflect.Message
func (*PayloadOrganizationIDPGroupAdded) Reset ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupAdded) Reset()
func (*PayloadOrganizationIDPGroupAdded) String ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupAdded) String() string
type PayloadOrganizationIDPGroupRemoved ¶ added in v1.12.0
type PayloadOrganizationIDPGroupRemoved struct { // organization_id is the id of the organization with the removed IDP group. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization with the removed IDP group. OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` // contains filtered or unexported fields }
func (*PayloadOrganizationIDPGroupRemoved) Descriptor
deprecated
added in
v1.12.0
func (*PayloadOrganizationIDPGroupRemoved) Descriptor() ([]byte, []int)
Deprecated: Use PayloadOrganizationIDPGroupRemoved.ProtoReflect.Descriptor instead.
func (*PayloadOrganizationIDPGroupRemoved) GetOrganizationId ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationId() string
func (*PayloadOrganizationIDPGroupRemoved) GetOrganizationName ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationName() string
func (*PayloadOrganizationIDPGroupRemoved) ProtoMessage ¶ added in v1.12.0
func (*PayloadOrganizationIDPGroupRemoved) ProtoMessage()
func (*PayloadOrganizationIDPGroupRemoved) ProtoReflect ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupRemoved) ProtoReflect() protoreflect.Message
func (*PayloadOrganizationIDPGroupRemoved) Reset ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupRemoved) Reset()
func (*PayloadOrganizationIDPGroupRemoved) String ¶ added in v1.12.0
func (x *PayloadOrganizationIDPGroupRemoved) String() string
type PayloadOrganizationMemberAdded ¶ added in v1.8.0
type PayloadOrganizationMemberAdded struct { // organization_id is the id of the organization with the new member. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization with the new member. OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` // member_role is the role granted to the member added to the organization. MemberRole v1alpha1.OrganizationRole `` /* 142-byte string literal not displayed */ // member_role_source is the source of the role granted to the member. MemberRoleSource v1alpha1.OrganizationRoleSource `` /* 168-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayloadOrganizationMemberAdded) Descriptor
deprecated
added in
v1.8.0
func (*PayloadOrganizationMemberAdded) Descriptor() ([]byte, []int)
Deprecated: Use PayloadOrganizationMemberAdded.ProtoReflect.Descriptor instead.
func (*PayloadOrganizationMemberAdded) GetMemberRole ¶ added in v1.8.0
func (x *PayloadOrganizationMemberAdded) GetMemberRole() v1alpha1.OrganizationRole
func (*PayloadOrganizationMemberAdded) GetMemberRoleSource ¶ added in v1.12.0
func (x *PayloadOrganizationMemberAdded) GetMemberRoleSource() v1alpha1.OrganizationRoleSource
func (*PayloadOrganizationMemberAdded) GetOrganizationId ¶ added in v1.8.0
func (x *PayloadOrganizationMemberAdded) GetOrganizationId() string
func (*PayloadOrganizationMemberAdded) GetOrganizationName ¶ added in v1.8.0
func (x *PayloadOrganizationMemberAdded) GetOrganizationName() string
func (*PayloadOrganizationMemberAdded) ProtoMessage ¶ added in v1.8.0
func (*PayloadOrganizationMemberAdded) ProtoMessage()
func (*PayloadOrganizationMemberAdded) ProtoReflect ¶ added in v1.8.0
func (x *PayloadOrganizationMemberAdded) ProtoReflect() protoreflect.Message
func (*PayloadOrganizationMemberAdded) Reset ¶ added in v1.8.0
func (x *PayloadOrganizationMemberAdded) Reset()
func (*PayloadOrganizationMemberAdded) String ¶ added in v1.8.0
func (x *PayloadOrganizationMemberAdded) String() string
type PayloadOrganizationMemberRemoved ¶ added in v1.8.0
type PayloadOrganizationMemberRemoved struct { // organization_id is the id of the organization that the member was removed from. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization that the member was removed from. OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` // member_role is the role that the member had when removed from the organization. MemberRole v1alpha1.OrganizationRole `` /* 142-byte string literal not displayed */ // member_role_source is the source of the role granted to the member. MemberRoleSource v1alpha1.OrganizationRoleSource `` /* 168-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayloadOrganizationMemberRemoved) Descriptor
deprecated
added in
v1.8.0
func (*PayloadOrganizationMemberRemoved) Descriptor() ([]byte, []int)
Deprecated: Use PayloadOrganizationMemberRemoved.ProtoReflect.Descriptor instead.
func (*PayloadOrganizationMemberRemoved) GetMemberRole ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRemoved) GetMemberRole() v1alpha1.OrganizationRole
func (*PayloadOrganizationMemberRemoved) GetMemberRoleSource ¶ added in v1.12.0
func (x *PayloadOrganizationMemberRemoved) GetMemberRoleSource() v1alpha1.OrganizationRoleSource
func (*PayloadOrganizationMemberRemoved) GetOrganizationId ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRemoved) GetOrganizationId() string
func (*PayloadOrganizationMemberRemoved) GetOrganizationName ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRemoved) GetOrganizationName() string
func (*PayloadOrganizationMemberRemoved) ProtoMessage ¶ added in v1.8.0
func (*PayloadOrganizationMemberRemoved) ProtoMessage()
func (*PayloadOrganizationMemberRemoved) ProtoReflect ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRemoved) ProtoReflect() protoreflect.Message
func (*PayloadOrganizationMemberRemoved) Reset ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRemoved) Reset()
func (*PayloadOrganizationMemberRemoved) String ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRemoved) String() string
type PayloadOrganizationMemberRoleChanged ¶ added in v1.8.0
type PayloadOrganizationMemberRoleChanged struct { // organization_id is the id of the organization within which the role was changed. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization within which the role was changed. OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` // old_role is the old role of the member whose role was changed. OldRole v1alpha1.OrganizationRole `` /* 133-byte string literal not displayed */ // new_role is the new role of the member whose role was changed. NewRole v1alpha1.OrganizationRole `` /* 133-byte string literal not displayed */ // old_member_role_source is the old source of the role granted to the member. OldMemberRoleSource v1alpha1.OrganizationRoleSource `` /* 179-byte string literal not displayed */ // new_member_role_source is the new source of the role granted to the member. NewMemberRoleSource v1alpha1.OrganizationRoleSource `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayloadOrganizationMemberRoleChanged) Descriptor
deprecated
added in
v1.8.0
func (*PayloadOrganizationMemberRoleChanged) Descriptor() ([]byte, []int)
Deprecated: Use PayloadOrganizationMemberRoleChanged.ProtoReflect.Descriptor instead.
func (*PayloadOrganizationMemberRoleChanged) GetNewMemberRoleSource ¶ added in v1.12.0
func (x *PayloadOrganizationMemberRoleChanged) GetNewMemberRoleSource() v1alpha1.OrganizationRoleSource
func (*PayloadOrganizationMemberRoleChanged) GetNewRole ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRoleChanged) GetNewRole() v1alpha1.OrganizationRole
func (*PayloadOrganizationMemberRoleChanged) GetOldMemberRoleSource ¶ added in v1.12.0
func (x *PayloadOrganizationMemberRoleChanged) GetOldMemberRoleSource() v1alpha1.OrganizationRoleSource
func (*PayloadOrganizationMemberRoleChanged) GetOldRole ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRoleChanged) GetOldRole() v1alpha1.OrganizationRole
func (*PayloadOrganizationMemberRoleChanged) GetOrganizationId ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationId() string
func (*PayloadOrganizationMemberRoleChanged) GetOrganizationName ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationName() string
func (*PayloadOrganizationMemberRoleChanged) ProtoMessage ¶ added in v1.8.0
func (*PayloadOrganizationMemberRoleChanged) ProtoMessage()
func (*PayloadOrganizationMemberRoleChanged) ProtoReflect ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRoleChanged) ProtoReflect() protoreflect.Message
func (*PayloadOrganizationMemberRoleChanged) Reset ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRoleChanged) Reset()
func (*PayloadOrganizationMemberRoleChanged) String ¶ added in v1.8.0
func (x *PayloadOrganizationMemberRoleChanged) String() string
type PayloadPluginCreated
deprecated
added in
v1.8.0
type PayloadPluginCreated struct { // owner_id is the id of the owner of the plugin. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // visibility is the visibility of the plugin. Visibility v1alpha1.PluginVisibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.PluginVisibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
Deprecated: Do not use.
func (*PayloadPluginCreated) Descriptor
deprecated
added in
v1.8.0
func (*PayloadPluginCreated) Descriptor() ([]byte, []int)
Deprecated: Use PayloadPluginCreated.ProtoReflect.Descriptor instead.
func (*PayloadPluginCreated) GetOwnerId ¶ added in v1.8.0
func (x *PayloadPluginCreated) GetOwnerId() string
func (*PayloadPluginCreated) GetOwnerName ¶ added in v1.8.0
func (x *PayloadPluginCreated) GetOwnerName() string
func (*PayloadPluginCreated) GetVisibility ¶ added in v1.10.0
func (x *PayloadPluginCreated) GetVisibility() v1alpha1.PluginVisibility
func (*PayloadPluginCreated) ProtoMessage ¶ added in v1.8.0
func (*PayloadPluginCreated) ProtoMessage()
func (*PayloadPluginCreated) ProtoReflect ¶ added in v1.8.0
func (x *PayloadPluginCreated) ProtoReflect() protoreflect.Message
func (*PayloadPluginCreated) Reset ¶ added in v1.8.0
func (x *PayloadPluginCreated) Reset()
func (*PayloadPluginCreated) String ¶ added in v1.8.0
func (x *PayloadPluginCreated) String() string
type PayloadPluginDeleted
deprecated
added in
v1.8.0
type PayloadPluginDeleted struct { // owner_id is the id of the owner of the plugin. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // visibility is the visibility of the plugin. Visibility v1alpha1.PluginVisibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.PluginVisibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
Deprecated: Do not use.
func (*PayloadPluginDeleted) Descriptor
deprecated
added in
v1.8.0
func (*PayloadPluginDeleted) Descriptor() ([]byte, []int)
Deprecated: Use PayloadPluginDeleted.ProtoReflect.Descriptor instead.
func (*PayloadPluginDeleted) GetOwnerId ¶ added in v1.8.0
func (x *PayloadPluginDeleted) GetOwnerId() string
func (*PayloadPluginDeleted) GetOwnerName ¶ added in v1.8.0
func (x *PayloadPluginDeleted) GetOwnerName() string
func (*PayloadPluginDeleted) GetVisibility ¶ added in v1.10.0
func (x *PayloadPluginDeleted) GetVisibility() v1alpha1.PluginVisibility
func (*PayloadPluginDeleted) ProtoMessage ¶ added in v1.8.0
func (*PayloadPluginDeleted) ProtoMessage()
func (*PayloadPluginDeleted) ProtoReflect ¶ added in v1.8.0
func (x *PayloadPluginDeleted) ProtoReflect() protoreflect.Message
func (*PayloadPluginDeleted) Reset ¶ added in v1.8.0
func (x *PayloadPluginDeleted) Reset()
func (*PayloadPluginDeleted) String ¶ added in v1.8.0
func (x *PayloadPluginDeleted) String() string
type PayloadRepositoryCommitPushed ¶ added in v1.9.0
type PayloadRepositoryCommitPushed struct { // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // repository_id is the id of the repository within which the commit was created. RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // repository_name is the name of the repository within which the commit was created. RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // tags are the tags included in the push. Optional. Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` // draft_name is the name of the draft. Optional. DraftName string `protobuf:"bytes,6,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` // contains filtered or unexported fields }
func (*PayloadRepositoryCommitPushed) Descriptor
deprecated
added in
v1.9.0
func (*PayloadRepositoryCommitPushed) Descriptor() ([]byte, []int)
Deprecated: Use PayloadRepositoryCommitPushed.ProtoReflect.Descriptor instead.
func (*PayloadRepositoryCommitPushed) GetDraftName ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) GetDraftName() string
func (*PayloadRepositoryCommitPushed) GetOwnerId ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) GetOwnerId() string
func (*PayloadRepositoryCommitPushed) GetOwnerName ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) GetOwnerName() string
func (*PayloadRepositoryCommitPushed) GetRepositoryId ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) GetRepositoryId() string
func (*PayloadRepositoryCommitPushed) GetRepositoryName ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) GetRepositoryName() string
func (*PayloadRepositoryCommitPushed) GetTags ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) GetTags() []string
func (*PayloadRepositoryCommitPushed) ProtoMessage ¶ added in v1.9.0
func (*PayloadRepositoryCommitPushed) ProtoMessage()
func (*PayloadRepositoryCommitPushed) ProtoReflect ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) ProtoReflect() protoreflect.Message
func (*PayloadRepositoryCommitPushed) Reset ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) Reset()
func (*PayloadRepositoryCommitPushed) String ¶ added in v1.9.0
func (x *PayloadRepositoryCommitPushed) String() string
type PayloadRepositoryContributorAdded ¶ added in v1.8.0
type PayloadRepositoryContributorAdded struct { // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // repository_id is the id of the repository with the new contributor. RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // repository_name is the name of the repository with the new contributor. RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // contributor_role is the role granted to the contributor added to the repository. ContributorRole v1alpha1.RepositoryRole `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayloadRepositoryContributorAdded) Descriptor
deprecated
added in
v1.8.0
func (*PayloadRepositoryContributorAdded) Descriptor() ([]byte, []int)
Deprecated: Use PayloadRepositoryContributorAdded.ProtoReflect.Descriptor instead.
func (*PayloadRepositoryContributorAdded) GetContributorRole ¶ added in v1.8.0
func (x *PayloadRepositoryContributorAdded) GetContributorRole() v1alpha1.RepositoryRole
func (*PayloadRepositoryContributorAdded) GetOwnerId ¶ added in v1.8.0
func (x *PayloadRepositoryContributorAdded) GetOwnerId() string
func (*PayloadRepositoryContributorAdded) GetOwnerName ¶ added in v1.8.0
func (x *PayloadRepositoryContributorAdded) GetOwnerName() string
func (*PayloadRepositoryContributorAdded) GetRepositoryId ¶ added in v1.8.0
func (x *PayloadRepositoryContributorAdded) GetRepositoryId() string
func (*PayloadRepositoryContributorAdded) GetRepositoryName ¶ added in v1.8.0
func (x *PayloadRepositoryContributorAdded) GetRepositoryName() string
func (*PayloadRepositoryContributorAdded) ProtoMessage ¶ added in v1.8.0
func (*PayloadRepositoryContributorAdded) ProtoMessage()
func (*PayloadRepositoryContributorAdded) ProtoReflect ¶ added in v1.8.0
func (x *PayloadRepositoryContributorAdded) ProtoReflect() protoreflect.Message
func (*PayloadRepositoryContributorAdded) Reset ¶ added in v1.8.0
func (x *PayloadRepositoryContributorAdded) Reset()
func (*PayloadRepositoryContributorAdded) String ¶ added in v1.8.0
func (x *PayloadRepositoryContributorAdded) String() string
type PayloadRepositoryContributorRemoved ¶ added in v1.8.0
type PayloadRepositoryContributorRemoved struct { // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // repository_id is the id of the repository that the contributor was removed from. RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // repository_name is the name of the repository that the contributor was removed from. RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // contributor_role is the role that the contributor had when removed from the repository. ContributorRole v1alpha1.RepositoryRole `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayloadRepositoryContributorRemoved) Descriptor
deprecated
added in
v1.8.0
func (*PayloadRepositoryContributorRemoved) Descriptor() ([]byte, []int)
Deprecated: Use PayloadRepositoryContributorRemoved.ProtoReflect.Descriptor instead.
func (*PayloadRepositoryContributorRemoved) GetContributorRole ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRemoved) GetContributorRole() v1alpha1.RepositoryRole
func (*PayloadRepositoryContributorRemoved) GetOwnerId ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRemoved) GetOwnerId() string
func (*PayloadRepositoryContributorRemoved) GetOwnerName ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRemoved) GetOwnerName() string
func (*PayloadRepositoryContributorRemoved) GetRepositoryId ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRemoved) GetRepositoryId() string
func (*PayloadRepositoryContributorRemoved) GetRepositoryName ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRemoved) GetRepositoryName() string
func (*PayloadRepositoryContributorRemoved) ProtoMessage ¶ added in v1.8.0
func (*PayloadRepositoryContributorRemoved) ProtoMessage()
func (*PayloadRepositoryContributorRemoved) ProtoReflect ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRemoved) ProtoReflect() protoreflect.Message
func (*PayloadRepositoryContributorRemoved) Reset ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRemoved) Reset()
func (*PayloadRepositoryContributorRemoved) String ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRemoved) String() string
type PayloadRepositoryContributorRoleChanged ¶ added in v1.8.0
type PayloadRepositoryContributorRoleChanged struct { // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // repository_id is the id of the repository within which the role was changed. RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // repository_name is the name of the repository within which the role was changed. RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // old_role is the old role of the contributor whose role was changed. OldRole v1alpha1.RepositoryRole `` /* 131-byte string literal not displayed */ // new_role is the new role of the contributor whose role was changed. NewRole v1alpha1.RepositoryRole `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayloadRepositoryContributorRoleChanged) Descriptor
deprecated
added in
v1.8.0
func (*PayloadRepositoryContributorRoleChanged) Descriptor() ([]byte, []int)
Deprecated: Use PayloadRepositoryContributorRoleChanged.ProtoReflect.Descriptor instead.
func (*PayloadRepositoryContributorRoleChanged) GetNewRole ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) GetNewRole() v1alpha1.RepositoryRole
func (*PayloadRepositoryContributorRoleChanged) GetOldRole ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) GetOldRole() v1alpha1.RepositoryRole
func (*PayloadRepositoryContributorRoleChanged) GetOwnerId ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) GetOwnerId() string
func (*PayloadRepositoryContributorRoleChanged) GetOwnerName ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) GetOwnerName() string
func (*PayloadRepositoryContributorRoleChanged) GetRepositoryId ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryId() string
func (*PayloadRepositoryContributorRoleChanged) GetRepositoryName ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryName() string
func (*PayloadRepositoryContributorRoleChanged) ProtoMessage ¶ added in v1.8.0
func (*PayloadRepositoryContributorRoleChanged) ProtoMessage()
func (*PayloadRepositoryContributorRoleChanged) ProtoReflect ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) ProtoReflect() protoreflect.Message
func (*PayloadRepositoryContributorRoleChanged) Reset ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) Reset()
func (*PayloadRepositoryContributorRoleChanged) String ¶ added in v1.8.0
func (x *PayloadRepositoryContributorRoleChanged) String() string
type PayloadRepositoryCreated ¶ added in v1.8.0
type PayloadRepositoryCreated struct { // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // visibility is the visibility of the repository. Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*PayloadRepositoryCreated) Descriptor
deprecated
added in
v1.8.0
func (*PayloadRepositoryCreated) Descriptor() ([]byte, []int)
Deprecated: Use PayloadRepositoryCreated.ProtoReflect.Descriptor instead.
func (*PayloadRepositoryCreated) GetOwnerId ¶ added in v1.8.0
func (x *PayloadRepositoryCreated) GetOwnerId() string
func (*PayloadRepositoryCreated) GetOwnerName ¶ added in v1.8.0
func (x *PayloadRepositoryCreated) GetOwnerName() string
func (*PayloadRepositoryCreated) GetVisibility ¶ added in v1.10.0
func (x *PayloadRepositoryCreated) GetVisibility() v1alpha1.Visibility
func (*PayloadRepositoryCreated) ProtoMessage ¶ added in v1.8.0
func (*PayloadRepositoryCreated) ProtoMessage()
func (*PayloadRepositoryCreated) ProtoReflect ¶ added in v1.8.0
func (x *PayloadRepositoryCreated) ProtoReflect() protoreflect.Message
func (*PayloadRepositoryCreated) Reset ¶ added in v1.8.0
func (x *PayloadRepositoryCreated) Reset()
func (*PayloadRepositoryCreated) String ¶ added in v1.8.0
func (x *PayloadRepositoryCreated) String() string
type PayloadRepositoryDeleted ¶ added in v1.8.0
type PayloadRepositoryDeleted struct { // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // visibility is the visibility of the repository. Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*PayloadRepositoryDeleted) Descriptor
deprecated
added in
v1.8.0
func (*PayloadRepositoryDeleted) Descriptor() ([]byte, []int)
Deprecated: Use PayloadRepositoryDeleted.ProtoReflect.Descriptor instead.
func (*PayloadRepositoryDeleted) GetOwnerId ¶ added in v1.8.0
func (x *PayloadRepositoryDeleted) GetOwnerId() string
func (*PayloadRepositoryDeleted) GetOwnerName ¶ added in v1.8.0
func (x *PayloadRepositoryDeleted) GetOwnerName() string
func (*PayloadRepositoryDeleted) GetVisibility ¶ added in v1.10.0
func (x *PayloadRepositoryDeleted) GetVisibility() v1alpha1.Visibility
func (*PayloadRepositoryDeleted) ProtoMessage ¶ added in v1.8.0
func (*PayloadRepositoryDeleted) ProtoMessage()
func (*PayloadRepositoryDeleted) ProtoReflect ¶ added in v1.8.0
func (x *PayloadRepositoryDeleted) ProtoReflect() protoreflect.Message
func (*PayloadRepositoryDeleted) Reset ¶ added in v1.8.0
func (x *PayloadRepositoryDeleted) Reset()
func (*PayloadRepositoryDeleted) String ¶ added in v1.8.0
func (x *PayloadRepositoryDeleted) String() string
type PayloadRepositoryVisibilityChanged ¶ added in v1.8.0
type PayloadRepositoryVisibilityChanged struct { // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // old_visibility is the old visibility of the repository. OldVisibility v1alpha1.Visibility `` /* 145-byte string literal not displayed */ // new_visibility is the new visibility of the repository. NewVisibility v1alpha1.Visibility `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayloadRepositoryVisibilityChanged) Descriptor
deprecated
added in
v1.8.0
func (*PayloadRepositoryVisibilityChanged) Descriptor() ([]byte, []int)
Deprecated: Use PayloadRepositoryVisibilityChanged.ProtoReflect.Descriptor instead.
func (*PayloadRepositoryVisibilityChanged) GetNewVisibility ¶ added in v1.8.0
func (x *PayloadRepositoryVisibilityChanged) GetNewVisibility() v1alpha1.Visibility
func (*PayloadRepositoryVisibilityChanged) GetOldVisibility ¶ added in v1.8.0
func (x *PayloadRepositoryVisibilityChanged) GetOldVisibility() v1alpha1.Visibility
func (*PayloadRepositoryVisibilityChanged) GetOwnerId ¶ added in v1.8.0
func (x *PayloadRepositoryVisibilityChanged) GetOwnerId() string
func (*PayloadRepositoryVisibilityChanged) GetOwnerName ¶ added in v1.8.0
func (x *PayloadRepositoryVisibilityChanged) GetOwnerName() string
func (*PayloadRepositoryVisibilityChanged) ProtoMessage ¶ added in v1.8.0
func (*PayloadRepositoryVisibilityChanged) ProtoMessage()
func (*PayloadRepositoryVisibilityChanged) ProtoReflect ¶ added in v1.8.0
func (x *PayloadRepositoryVisibilityChanged) ProtoReflect() protoreflect.Message
func (*PayloadRepositoryVisibilityChanged) Reset ¶ added in v1.8.0
func (x *PayloadRepositoryVisibilityChanged) Reset()
func (*PayloadRepositoryVisibilityChanged) String ¶ added in v1.8.0
func (x *PayloadRepositoryVisibilityChanged) String() string
type PayloadTokenCreated ¶ added in v1.14.0
type PayloadTokenCreated struct { // owner_id is the id of the owner of the token. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // token_expiry_time is the expiry time of the token. TokenExpiryTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=token_expiry_time,json=tokenExpiryTime,proto3" json:"token_expiry_time,omitempty"` // contains filtered or unexported fields }
func (*PayloadTokenCreated) Descriptor
deprecated
added in
v1.14.0
func (*PayloadTokenCreated) Descriptor() ([]byte, []int)
Deprecated: Use PayloadTokenCreated.ProtoReflect.Descriptor instead.
func (*PayloadTokenCreated) GetOwnerId ¶ added in v1.14.0
func (x *PayloadTokenCreated) GetOwnerId() string
func (*PayloadTokenCreated) GetTokenExpiryTime ¶ added in v1.14.0
func (x *PayloadTokenCreated) GetTokenExpiryTime() *timestamppb.Timestamp
func (*PayloadTokenCreated) ProtoMessage ¶ added in v1.14.0
func (*PayloadTokenCreated) ProtoMessage()
func (*PayloadTokenCreated) ProtoReflect ¶ added in v1.14.0
func (x *PayloadTokenCreated) ProtoReflect() protoreflect.Message
func (*PayloadTokenCreated) Reset ¶ added in v1.14.0
func (x *PayloadTokenCreated) Reset()
func (*PayloadTokenCreated) String ¶ added in v1.14.0
func (x *PayloadTokenCreated) String() string
type PayloadTokenDeleted ¶ added in v1.14.0
type PayloadTokenDeleted struct { // owner_id is the id of the owner of the token. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // contains filtered or unexported fields }
func (*PayloadTokenDeleted) Descriptor
deprecated
added in
v1.14.0
func (*PayloadTokenDeleted) Descriptor() ([]byte, []int)
Deprecated: Use PayloadTokenDeleted.ProtoReflect.Descriptor instead.
func (*PayloadTokenDeleted) GetOwnerId ¶ added in v1.14.0
func (x *PayloadTokenDeleted) GetOwnerId() string
func (*PayloadTokenDeleted) ProtoMessage ¶ added in v1.14.0
func (*PayloadTokenDeleted) ProtoMessage()
func (*PayloadTokenDeleted) ProtoReflect ¶ added in v1.14.0
func (x *PayloadTokenDeleted) ProtoReflect() protoreflect.Message
func (*PayloadTokenDeleted) Reset ¶ added in v1.14.0
func (x *PayloadTokenDeleted) Reset()
func (*PayloadTokenDeleted) String ¶ added in v1.14.0
func (x *PayloadTokenDeleted) String() string
type PayloadUserCreated ¶ added in v1.9.0
type PayloadUserCreated struct {
// contains filtered or unexported fields
}
func (*PayloadUserCreated) Descriptor
deprecated
added in
v1.9.0
func (*PayloadUserCreated) Descriptor() ([]byte, []int)
Deprecated: Use PayloadUserCreated.ProtoReflect.Descriptor instead.
func (*PayloadUserCreated) ProtoMessage ¶ added in v1.9.0
func (*PayloadUserCreated) ProtoMessage()
func (*PayloadUserCreated) ProtoReflect ¶ added in v1.9.0
func (x *PayloadUserCreated) ProtoReflect() protoreflect.Message
func (*PayloadUserCreated) Reset ¶ added in v1.9.0
func (x *PayloadUserCreated) Reset()
func (*PayloadUserCreated) String ¶ added in v1.9.0
func (x *PayloadUserCreated) String() string
type PayloadUserDeactivated ¶ added in v1.8.0
type PayloadUserDeactivated struct {
// contains filtered or unexported fields
}
func (*PayloadUserDeactivated) Descriptor
deprecated
added in
v1.8.0
func (*PayloadUserDeactivated) Descriptor() ([]byte, []int)
Deprecated: Use PayloadUserDeactivated.ProtoReflect.Descriptor instead.
func (*PayloadUserDeactivated) ProtoMessage ¶ added in v1.8.0
func (*PayloadUserDeactivated) ProtoMessage()
func (*PayloadUserDeactivated) ProtoReflect ¶ added in v1.8.0
func (x *PayloadUserDeactivated) ProtoReflect() protoreflect.Message
func (*PayloadUserDeactivated) Reset ¶ added in v1.8.0
func (x *PayloadUserDeactivated) Reset()
func (*PayloadUserDeactivated) String ¶ added in v1.8.0
func (x *PayloadUserDeactivated) String() string
type PayloadUserDeleted ¶ added in v1.8.0
type PayloadUserDeleted struct {
// contains filtered or unexported fields
}
func (*PayloadUserDeleted) Descriptor
deprecated
added in
v1.8.0
func (*PayloadUserDeleted) Descriptor() ([]byte, []int)
Deprecated: Use PayloadUserDeleted.ProtoReflect.Descriptor instead.
func (*PayloadUserDeleted) ProtoMessage ¶ added in v1.8.0
func (*PayloadUserDeleted) ProtoMessage()
func (*PayloadUserDeleted) ProtoReflect ¶ added in v1.8.0
func (x *PayloadUserDeleted) ProtoReflect() protoreflect.Message
func (*PayloadUserDeleted) Reset ¶ added in v1.8.0
func (x *PayloadUserDeleted) Reset()
func (*PayloadUserDeleted) String ¶ added in v1.8.0
func (x *PayloadUserDeleted) String() string
type PayloadUserLoggedIn ¶ added in v1.8.0
type PayloadUserLoggedIn struct {
// contains filtered or unexported fields
}
func (*PayloadUserLoggedIn) Descriptor
deprecated
added in
v1.8.0
func (*PayloadUserLoggedIn) Descriptor() ([]byte, []int)
Deprecated: Use PayloadUserLoggedIn.ProtoReflect.Descriptor instead.
func (*PayloadUserLoggedIn) ProtoMessage ¶ added in v1.8.0
func (*PayloadUserLoggedIn) ProtoMessage()
func (*PayloadUserLoggedIn) ProtoReflect ¶ added in v1.8.0
func (x *PayloadUserLoggedIn) ProtoReflect() protoreflect.Message
func (*PayloadUserLoggedIn) Reset ¶ added in v1.8.0
func (x *PayloadUserLoggedIn) Reset()
func (*PayloadUserLoggedIn) String ¶ added in v1.8.0
func (x *PayloadUserLoggedIn) String() string
type PayloadUserLoggedOut ¶ added in v1.8.0
type PayloadUserLoggedOut struct {
// contains filtered or unexported fields
}
func (*PayloadUserLoggedOut) Descriptor
deprecated
added in
v1.8.0
func (*PayloadUserLoggedOut) Descriptor() ([]byte, []int)
Deprecated: Use PayloadUserLoggedOut.ProtoReflect.Descriptor instead.
func (*PayloadUserLoggedOut) ProtoMessage ¶ added in v1.8.0
func (*PayloadUserLoggedOut) ProtoMessage()
func (*PayloadUserLoggedOut) ProtoReflect ¶ added in v1.8.0
func (x *PayloadUserLoggedOut) ProtoReflect() protoreflect.Message
func (*PayloadUserLoggedOut) Reset ¶ added in v1.8.0
func (x *PayloadUserLoggedOut) Reset()
func (*PayloadUserLoggedOut) String ¶ added in v1.8.0
func (x *PayloadUserLoggedOut) String() string
type Resource ¶ added in v1.8.0
type Resource struct { // Type of resource that was affected by the audited event. Type ResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ResourceType" json:"type,omitempty"` // Id of the affected resource by the audited event. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Name of the affected resource by the audited event. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Resource is the affected resource by the audited event.
func (*Resource) Descriptor
deprecated
added in
v1.8.0
func (*Resource) GetType ¶ added in v1.8.0
func (x *Resource) GetType() ResourceType
func (*Resource) ProtoMessage ¶ added in v1.8.0
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶ added in v1.8.0
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceType ¶ added in v1.8.0
type ResourceType int32
ResourceType is the type of the resource that was affected by the audited event.
const ( ResourceType_RESOURCE_TYPE_UNSPECIFIED ResourceType = 0 ResourceType_RESOURCE_TYPE_USER ResourceType = 1 ResourceType_RESOURCE_TYPE_ORGANIZATION ResourceType = 2 ResourceType_RESOURCE_TYPE_ORGANIZATION_MEMBER ResourceType = 3 ResourceType_RESOURCE_TYPE_ORGANIZATION_IDP_GROUP ResourceType = 9 ResourceType_RESOURCE_TYPE_REPOSITORY ResourceType = 4 ResourceType_RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR ResourceType = 5 ResourceType_RESOURCE_TYPE_REPOSITORY_COMMIT ResourceType = 6 // Deprecated: Do not use. ResourceType_RESOURCE_TYPE_PLUGIN ResourceType = 7 ResourceType_RESOURCE_TYPE_CURATED_PLUGIN ResourceType = 8 ResourceType_RESOURCE_TYPE_TOKEN ResourceType = 10 )
func (ResourceType) Descriptor ¶ added in v1.8.0
func (ResourceType) Descriptor() protoreflect.EnumDescriptor
func (ResourceType) Enum ¶ added in v1.8.0
func (x ResourceType) Enum() *ResourceType
func (ResourceType) EnumDescriptor
deprecated
added in
v1.8.0
func (ResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) Number ¶ added in v1.8.0
func (x ResourceType) Number() protoreflect.EnumNumber
func (ResourceType) String ¶ added in v1.8.0
func (x ResourceType) String() string
func (ResourceType) Type ¶ added in v1.8.0
func (ResourceType) Type() protoreflect.EnumType