api

package
v0.8.39 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InstanceType_name = map[int32]string{
		0: "INSTANCE_TYPE_UNKNOWN",
		1: "INSTANCE_TYPE_HOSTED",
		2: "INSTANCE_TYPE_EDGE_AUTHORIZER",
	}
	InstanceType_value = map[string]int32{
		"INSTANCE_TYPE_UNKNOWN":         0,
		"INSTANCE_TYPE_HOSTED":          1,
		"INSTANCE_TYPE_EDGE_AUTHORIZER": 2,
	}
)

Enum value maps for InstanceType.

View Source
var (
	WorkflowState_name = map[int32]string{
		0: "WORKFLOW_STATE_UNKNOWN",
		1: "WORKFLOW_STATE_RUNNING",
		2: "WORKFLOW_STATE_DONE",
	}
	WorkflowState_value = map[string]int32{
		"WORKFLOW_STATE_UNKNOWN": 0,
		"WORKFLOW_STATE_RUNNING": 1,
		"WORKFLOW_STATE_DONE":    2,
	}
)

Enum value maps for WorkflowState.

View Source
var File_aserto_api_v2_connection_events_proto protoreflect.FileDescriptor
View Source
var File_aserto_api_v2_instance_proto protoreflect.FileDescriptor
View Source
var File_aserto_api_v2_management_proto protoreflect.FileDescriptor
View Source
var File_aserto_api_v2_policy_proto protoreflect.FileDescriptor
View Source
var File_aserto_api_v2_policyref_events_proto protoreflect.FileDescriptor
View Source
var File_aserto_api_v2_repository_proto protoreflect.FileDescriptor
View Source
var File_aserto_api_v2_source_proto protoreflect.FileDescriptor
View Source
var File_aserto_api_v2_user_proto protoreflect.FileDescriptor
View Source
var File_aserto_api_v2_workflows_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Command added in v0.8.19

type Command struct {

	// Types that are assignable to Data:
	//	*Command_Discovery
	//	*Command_SyncEdgeDirectory
	Data isCommand_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

Command represents a command that may be sent to and then processed by an instance.

func (*Command) Descriptor deprecated added in v0.8.19

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

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetData added in v0.8.19

func (m *Command) GetData() isCommand_Data

func (*Command) GetDiscovery added in v0.8.19

func (x *Command) GetDiscovery() *DiscoveryCommand

func (*Command) GetSyncEdgeDirectory added in v0.8.24

func (x *Command) GetSyncEdgeDirectory() *SyncEdgeDirectoryCommand

func (*Command) ProtoMessage added in v0.8.19

func (*Command) ProtoMessage()

func (*Command) ProtoReflect added in v0.8.19

func (x *Command) ProtoReflect() protoreflect.Message

func (*Command) Reset added in v0.8.19

func (x *Command) Reset()

func (*Command) String added in v0.8.19

func (x *Command) String() string

type Command_Discovery added in v0.8.19

type Command_Discovery struct {
	Discovery *DiscoveryCommand `protobuf:"bytes,1,opt,name=discovery,proto3,oneof"`
}

type Command_SyncEdgeDirectory added in v0.8.24

type Command_SyncEdgeDirectory struct {
	SyncEdgeDirectory *SyncEdgeDirectoryCommand `protobuf:"bytes,2,opt,name=sync_edge_directory,json=syncEdgeDirectory,proto3,oneof"`
}

type ConnectionCreated added in v0.8.34

type ConnectionCreated struct {
	TenantId     string          `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ConnectionId string          `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Kind         v1.ProviderKind `protobuf:"varint,3,opt,name=kind,proto3,enum=aserto.api.v1.ProviderKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionCreated) Descriptor deprecated added in v0.8.34

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

Deprecated: Use ConnectionCreated.ProtoReflect.Descriptor instead.

func (*ConnectionCreated) GetConnectionId added in v0.8.34

func (x *ConnectionCreated) GetConnectionId() string

func (*ConnectionCreated) GetKind added in v0.8.34

func (x *ConnectionCreated) GetKind() v1.ProviderKind

func (*ConnectionCreated) GetTenantId added in v0.8.34

func (x *ConnectionCreated) GetTenantId() string

func (*ConnectionCreated) ProtoMessage added in v0.8.34

func (*ConnectionCreated) ProtoMessage()

func (*ConnectionCreated) ProtoReflect added in v0.8.34

func (x *ConnectionCreated) ProtoReflect() protoreflect.Message

func (*ConnectionCreated) Reset added in v0.8.34

func (x *ConnectionCreated) Reset()

func (*ConnectionCreated) String added in v0.8.34

func (x *ConnectionCreated) String() string

type ConnectionDeleted added in v0.8.34

type ConnectionDeleted struct {
	TenantId     string          `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ConnectionId string          `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Kind         v1.ProviderKind `protobuf:"varint,3,opt,name=kind,proto3,enum=aserto.api.v1.ProviderKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionDeleted) Descriptor deprecated added in v0.8.34

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

Deprecated: Use ConnectionDeleted.ProtoReflect.Descriptor instead.

func (*ConnectionDeleted) GetConnectionId added in v0.8.34

func (x *ConnectionDeleted) GetConnectionId() string

func (*ConnectionDeleted) GetKind added in v0.8.34

func (x *ConnectionDeleted) GetKind() v1.ProviderKind

func (*ConnectionDeleted) GetTenantId added in v0.8.34

func (x *ConnectionDeleted) GetTenantId() string

func (*ConnectionDeleted) ProtoMessage added in v0.8.34

func (*ConnectionDeleted) ProtoMessage()

func (*ConnectionDeleted) ProtoReflect added in v0.8.34

func (x *ConnectionDeleted) ProtoReflect() protoreflect.Message

func (*ConnectionDeleted) Reset added in v0.8.34

func (x *ConnectionDeleted) Reset()

func (*ConnectionDeleted) String added in v0.8.34

func (x *ConnectionDeleted) String() string

type ConnectionUpdated added in v0.8.34

type ConnectionUpdated struct {
	TenantId     string          `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ConnectionId string          `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Kind         v1.ProviderKind `protobuf:"varint,3,opt,name=kind,proto3,enum=aserto.api.v1.ProviderKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionUpdated) Descriptor deprecated added in v0.8.34

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

Deprecated: Use ConnectionUpdated.ProtoReflect.Descriptor instead.

func (*ConnectionUpdated) GetConnectionId added in v0.8.34

func (x *ConnectionUpdated) GetConnectionId() string

func (*ConnectionUpdated) GetKind added in v0.8.34

func (x *ConnectionUpdated) GetKind() v1.ProviderKind

func (*ConnectionUpdated) GetTenantId added in v0.8.34

func (x *ConnectionUpdated) GetTenantId() string

func (*ConnectionUpdated) ProtoMessage added in v0.8.34

func (*ConnectionUpdated) ProtoMessage()

func (*ConnectionUpdated) ProtoReflect added in v0.8.34

func (x *ConnectionUpdated) ProtoReflect() protoreflect.Message

func (*ConnectionUpdated) Reset added in v0.8.34

func (x *ConnectionUpdated) Reset()

func (*ConnectionUpdated) String added in v0.8.34

func (x *ConnectionUpdated) String() string

type DiscoveryCommand added in v0.8.19

type DiscoveryCommand struct {
	// contains filtered or unexported fields
}

Run OPA discovery immediatley

func (*DiscoveryCommand) Descriptor deprecated added in v0.8.19

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

Deprecated: Use DiscoveryCommand.ProtoReflect.Descriptor instead.

func (*DiscoveryCommand) ProtoMessage added in v0.8.19

func (*DiscoveryCommand) ProtoMessage()

func (*DiscoveryCommand) ProtoReflect added in v0.8.19

func (x *DiscoveryCommand) ProtoReflect() protoreflect.Message

func (*DiscoveryCommand) Reset added in v0.8.19

func (x *DiscoveryCommand) Reset()

func (*DiscoveryCommand) String added in v0.8.19

func (x *DiscoveryCommand) String() string

type Instance

type Instance struct {
	PolicyId     string                 `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`    // Policy ID.
	Label        string                 `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`                          // Unique human-readable label for the instance.
	Tag          string                 `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`                              // Default repository tag to be run by the instance.
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Timestamp of when the instance was created.
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Timestamp of when the instance was last updated.
	InstanceType InstanceType           ``                                                                                         // Type of instance (hosted or edge).
	/* 130-byte string literal not displayed */
	DecisionLogging *bool `protobuf:"varint,7,opt,name=decision_logging,json=decisionLogging,proto3,oneof" json:"decision_logging,omitempty"` // Whether to enable decision logging.
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreatedAt

func (x *Instance) GetCreatedAt() *timestamppb.Timestamp

func (*Instance) GetDecisionLogging added in v0.8.14

func (x *Instance) GetDecisionLogging() bool

func (*Instance) GetInstanceType added in v0.8.14

func (x *Instance) GetInstanceType() InstanceType

func (*Instance) GetLabel

func (x *Instance) GetLabel() string

func (*Instance) GetPolicyId

func (x *Instance) GetPolicyId() string

func (*Instance) GetTag

func (x *Instance) GetTag() string

func (*Instance) GetUpdatedAt

func (x *Instance) GetUpdatedAt() *timestamppb.Timestamp

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type InstanceInfo added in v0.8.19

type InstanceInfo struct {
	PolicyId      string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`                // The id of the policy associated with the instance.
	PolicyLabel   string `protobuf:"bytes,2,opt,name=policy_label,json=policyLabel,proto3" json:"policy_label,omitempty"`       // The label of the policy associated with the instance.
	RemoteHost    string `protobuf:"bytes,3,opt,name=remote_host,json=remoteHost,proto3" json:"remote_host,omitempty"`          // The name of the host where the instance is running.
	ConnectionId  string `protobuf:"bytes,4,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`    // The connection an edge authorizer used to connect to the control plane.
	CertificateId string `protobuf:"bytes,5,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // The id of the certificate used to connect to the control plane.
	// contains filtered or unexported fields
}

InstanceInfo has data about a running aserto instance that is registered with the control plane.

func (*InstanceInfo) Descriptor deprecated added in v0.8.19

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

Deprecated: Use InstanceInfo.ProtoReflect.Descriptor instead.

func (*InstanceInfo) GetCertificateId added in v0.8.37

func (x *InstanceInfo) GetCertificateId() string

func (*InstanceInfo) GetConnectionId added in v0.8.31

func (x *InstanceInfo) GetConnectionId() string

func (*InstanceInfo) GetPolicyId added in v0.8.19

func (x *InstanceInfo) GetPolicyId() string

func (*InstanceInfo) GetPolicyLabel added in v0.8.19

func (x *InstanceInfo) GetPolicyLabel() string

func (*InstanceInfo) GetRemoteHost added in v0.8.19

func (x *InstanceInfo) GetRemoteHost() string

func (*InstanceInfo) ProtoMessage added in v0.8.19

func (*InstanceInfo) ProtoMessage()

func (*InstanceInfo) ProtoReflect added in v0.8.19

func (x *InstanceInfo) ProtoReflect() protoreflect.Message

func (*InstanceInfo) Reset added in v0.8.19

func (x *InstanceInfo) Reset()

func (*InstanceInfo) String added in v0.8.19

func (x *InstanceInfo) String() string

type InstanceRegistration added in v0.8.19

type InstanceRegistration struct {
	Id   string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // Unique id of the instance registration, generated by the control plane.
	Info *InstanceInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // Information about the registered instance.
	// contains filtered or unexported fields
}

InstanceRegistration has data about an instance's registration with the control plane.

func (*InstanceRegistration) Descriptor deprecated added in v0.8.19

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

Deprecated: Use InstanceRegistration.ProtoReflect.Descriptor instead.

func (*InstanceRegistration) GetId added in v0.8.19

func (x *InstanceRegistration) GetId() string

func (*InstanceRegistration) GetInfo added in v0.8.19

func (x *InstanceRegistration) GetInfo() *InstanceInfo

func (*InstanceRegistration) ProtoMessage added in v0.8.19

func (*InstanceRegistration) ProtoMessage()

func (*InstanceRegistration) ProtoReflect added in v0.8.19

func (x *InstanceRegistration) ProtoReflect() protoreflect.Message

func (*InstanceRegistration) Reset added in v0.8.19

func (x *InstanceRegistration) Reset()

func (*InstanceRegistration) String added in v0.8.19

func (x *InstanceRegistration) String() string

type InstanceType

type InstanceType int32
const (
	InstanceType_INSTANCE_TYPE_UNKNOWN         InstanceType = 0 // Value not set.
	InstanceType_INSTANCE_TYPE_HOSTED          InstanceType = 1 // Instance runs in a hosted environment.
	InstanceType_INSTANCE_TYPE_EDGE_AUTHORIZER InstanceType = 2 // Instance runs in the user's network.
)

func (InstanceType) Descriptor

func (InstanceType) Enum

func (x InstanceType) Enum() *InstanceType

func (InstanceType) EnumDescriptor deprecated

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

Deprecated: Use InstanceType.Descriptor instead.

func (InstanceType) Number

func (InstanceType) String

func (x InstanceType) String() string

func (InstanceType) Type

type Policy

type Policy struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetCreatedAt

func (x *Policy) GetCreatedAt() *timestamppb.Timestamp

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetName

func (x *Policy) GetName() string

func (*Policy) GetUpdatedAt

func (x *Policy) GetUpdatedAt() *timestamppb.Timestamp

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

func (x *Policy) ProtoReflect() protoreflect.Message

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type PolicyDesiredState added in v0.8.38

type PolicyDesiredState struct {
	Policy     *Policy     `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	Source     *Source     `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Instance   []*Instance `protobuf:"bytes,4,rep,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyDesiredState) Descriptor deprecated added in v0.8.38

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

Deprecated: Use PolicyDesiredState.ProtoReflect.Descriptor instead.

func (*PolicyDesiredState) GetInstance added in v0.8.38

func (x *PolicyDesiredState) GetInstance() []*Instance

func (*PolicyDesiredState) GetPolicy added in v0.8.38

func (x *PolicyDesiredState) GetPolicy() *Policy

func (*PolicyDesiredState) GetRepository added in v0.8.38

func (x *PolicyDesiredState) GetRepository() *Repository

func (*PolicyDesiredState) GetSource added in v0.8.38

func (x *PolicyDesiredState) GetSource() *Source

func (*PolicyDesiredState) ProtoMessage added in v0.8.38

func (*PolicyDesiredState) ProtoMessage()

func (*PolicyDesiredState) ProtoReflect added in v0.8.38

func (x *PolicyDesiredState) ProtoReflect() protoreflect.Message

func (*PolicyDesiredState) Reset added in v0.8.38

func (x *PolicyDesiredState) Reset()

func (*PolicyDesiredState) String added in v0.8.38

func (x *PolicyDesiredState) String() string

type PolicyRefDeleted added in v0.8.39

type PolicyRefDeleted struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	PolicyId string `protobuf:"bytes,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyRefDeleted) Descriptor deprecated added in v0.8.39

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

Deprecated: Use PolicyRefDeleted.ProtoReflect.Descriptor instead.

func (*PolicyRefDeleted) GetPolicyId added in v0.8.39

func (x *PolicyRefDeleted) GetPolicyId() string

func (*PolicyRefDeleted) GetTenantId added in v0.8.39

func (x *PolicyRefDeleted) GetTenantId() string

func (*PolicyRefDeleted) ProtoMessage added in v0.8.39

func (*PolicyRefDeleted) ProtoMessage()

func (*PolicyRefDeleted) ProtoReflect added in v0.8.39

func (x *PolicyRefDeleted) ProtoReflect() protoreflect.Message

func (*PolicyRefDeleted) Reset added in v0.8.39

func (x *PolicyRefDeleted) Reset()

func (*PolicyRefDeleted) String added in v0.8.39

func (x *PolicyRefDeleted) String() string

type PolicyRefUpdated added in v0.8.39

type PolicyRefUpdated struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	PolicyId string `protobuf:"bytes,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyRefUpdated) Descriptor deprecated added in v0.8.39

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

Deprecated: Use PolicyRefUpdated.ProtoReflect.Descriptor instead.

func (*PolicyRefUpdated) GetPolicyId added in v0.8.39

func (x *PolicyRefUpdated) GetPolicyId() string

func (*PolicyRefUpdated) GetTenantId added in v0.8.39

func (x *PolicyRefUpdated) GetTenantId() string

func (*PolicyRefUpdated) ProtoMessage added in v0.8.39

func (*PolicyRefUpdated) ProtoMessage()

func (*PolicyRefUpdated) ProtoReflect added in v0.8.39

func (x *PolicyRefUpdated) ProtoReflect() protoreflect.Message

func (*PolicyRefUpdated) Reset added in v0.8.39

func (x *PolicyRefUpdated) Reset()

func (*PolicyRefUpdated) String added in v0.8.39

func (x *PolicyRefUpdated) String() string

type Repository

type Repository struct {
	PolicyId     string                 `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	ConnectionId string                 `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Org          string                 `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"`
	Repo         string                 `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Repository) Descriptor deprecated

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

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetConnectionId

func (x *Repository) GetConnectionId() string

func (*Repository) GetCreatedAt

func (x *Repository) GetCreatedAt() *timestamppb.Timestamp

func (*Repository) GetOrg

func (x *Repository) GetOrg() string

func (*Repository) GetPolicyId

func (x *Repository) GetPolicyId() string

func (*Repository) GetRepo

func (x *Repository) GetRepo() string

func (*Repository) GetUpdatedAt

func (x *Repository) GetUpdatedAt() *timestamppb.Timestamp

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

func (x *Repository) ProtoReflect() protoreflect.Message

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) String

func (x *Repository) String() string

type Source

type Source struct {
	PolicyId     string                 `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	ConnectionId string                 `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Org          string                 `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"`
	Repo         string                 `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetConnectionId

func (x *Source) GetConnectionId() string

func (*Source) GetCreatedAt

func (x *Source) GetCreatedAt() *timestamppb.Timestamp

func (*Source) GetOrg

func (x *Source) GetOrg() string

func (*Source) GetPolicyId

func (x *Source) GetPolicyId() string

func (*Source) GetRepo

func (x *Source) GetRepo() string

func (*Source) GetUpdatedAt

func (x *Source) GetUpdatedAt() *timestamppb.Timestamp

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type SyncEdgeDirectoryCommand added in v0.8.24

type SyncEdgeDirectoryCommand struct {
	// contains filtered or unexported fields
}

Sync the edge directory

func (*SyncEdgeDirectoryCommand) Descriptor deprecated added in v0.8.24

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

Deprecated: Use SyncEdgeDirectoryCommand.ProtoReflect.Descriptor instead.

func (*SyncEdgeDirectoryCommand) ProtoMessage added in v0.8.24

func (*SyncEdgeDirectoryCommand) ProtoMessage()

func (*SyncEdgeDirectoryCommand) ProtoReflect added in v0.8.24

func (x *SyncEdgeDirectoryCommand) ProtoReflect() protoreflect.Message

func (*SyncEdgeDirectoryCommand) Reset added in v0.8.24

func (x *SyncEdgeDirectoryCommand) Reset()

func (*SyncEdgeDirectoryCommand) String added in v0.8.24

func (x *SyncEdgeDirectoryCommand) String() string

type User added in v0.8.15

type User struct {
	Id          string                        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                      // user internal ID
	Enabled     bool                          `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`                           // enabled
	DisplayName string                        `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // display name of user
	Email       string                        `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`                                // main email address of user
	Identities  map[string]*v1.IdentitySource ``                                                                                               // identity source collection of user
	/* 161-byte string literal not displayed */
	Metadata   *v1.Metadata     `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`      // object metadata
	Deleted    bool             `protobuf:"varint,10,opt,name=deleted,proto3" json:"deleted,omitempty"`      // soft delete markation
	Properties *structpb.Struct `protobuf:"bytes,11,opt,name=properties,proto3" json:"properties,omitempty"` // property bag
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated added in v0.8.15

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetDeleted added in v0.8.15

func (x *User) GetDeleted() bool

func (*User) GetDisplayName added in v0.8.15

func (x *User) GetDisplayName() string

func (*User) GetEmail added in v0.8.15

func (x *User) GetEmail() string

func (*User) GetEnabled added in v0.8.15

func (x *User) GetEnabled() bool

func (*User) GetId added in v0.8.15

func (x *User) GetId() string

func (*User) GetIdentities added in v0.8.15

func (x *User) GetIdentities() map[string]*v1.IdentitySource

func (*User) GetMetadata added in v0.8.15

func (x *User) GetMetadata() *v1.Metadata

func (*User) GetProperties added in v0.8.15

func (x *User) GetProperties() *structpb.Struct

func (*User) ProtoMessage added in v0.8.15

func (*User) ProtoMessage()

func (*User) ProtoReflect added in v0.8.15

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset added in v0.8.15

func (x *User) Reset()

func (*User) String added in v0.8.15

func (x *User) String() string

type WorkflowEvent added in v0.8.38

type WorkflowEvent struct {
	WorkflowId   string           `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	RunId        string           `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	WorkflowName string           `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty"`
	Status       WorkflowState    `protobuf:"varint,4,opt,name=status,proto3,enum=aserto.api.v2.WorkflowState" json:"status,omitempty"`
	Event        *structpb.Struct `protobuf:"bytes,5,opt,name=event,proto3" json:"event,omitempty"`
	Message      string           `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkflowEvent) Descriptor deprecated added in v0.8.38

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

Deprecated: Use WorkflowEvent.ProtoReflect.Descriptor instead.

func (*WorkflowEvent) GetEvent added in v0.8.38

func (x *WorkflowEvent) GetEvent() *structpb.Struct

func (*WorkflowEvent) GetMessage added in v0.8.38

func (x *WorkflowEvent) GetMessage() string

func (*WorkflowEvent) GetRunId added in v0.8.38

func (x *WorkflowEvent) GetRunId() string

func (*WorkflowEvent) GetStatus added in v0.8.38

func (x *WorkflowEvent) GetStatus() WorkflowState

func (*WorkflowEvent) GetWorkflowId added in v0.8.38

func (x *WorkflowEvent) GetWorkflowId() string

func (*WorkflowEvent) GetWorkflowName added in v0.8.38

func (x *WorkflowEvent) GetWorkflowName() string

func (*WorkflowEvent) ProtoMessage added in v0.8.38

func (*WorkflowEvent) ProtoMessage()

func (*WorkflowEvent) ProtoReflect added in v0.8.38

func (x *WorkflowEvent) ProtoReflect() protoreflect.Message

func (*WorkflowEvent) Reset added in v0.8.38

func (x *WorkflowEvent) Reset()

func (*WorkflowEvent) String added in v0.8.38

func (x *WorkflowEvent) String() string

type WorkflowState added in v0.8.38

type WorkflowState int32
const (
	WorkflowState_WORKFLOW_STATE_UNKNOWN WorkflowState = 0 // Value not set.
	WorkflowState_WORKFLOW_STATE_RUNNING WorkflowState = 1 // Workflow is running.
	WorkflowState_WORKFLOW_STATE_DONE    WorkflowState = 2 // Workflow has completed.
)

func (WorkflowState) Descriptor added in v0.8.38

func (WorkflowState) Enum added in v0.8.38

func (x WorkflowState) Enum() *WorkflowState

func (WorkflowState) EnumDescriptor deprecated added in v0.8.38

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

Deprecated: Use WorkflowState.Descriptor instead.

func (WorkflowState) Number added in v0.8.38

func (WorkflowState) String added in v0.8.38

func (x WorkflowState) String() string

func (WorkflowState) Type added in v0.8.38

Jump to

Keyboard shortcuts

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