sdp

package module
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 39 Imported by: 45

README

Go Reference

SDP Go Libraries

A set of Golang libraries for State Description Protocol

Auth

These libraries contain an EnsureValidToken HTTP middleware that can be used as follows:

router := http.NewServeMux()
router.Handle(withCORS(
    sdp.EnsureValidTokenWithPattern(
        sdpconnect.NewBookmarksServiceHandler(
            &bookmarkHandler,
            connect.WithInterceptors(otelconnect.NewInterceptor(otelconnect.WithTrustRemote(), otelconnect.WithoutTraceEvents())),
        ))))
router.Handle(withCORS(
    sdp.EnsureValidTokenWithPattern(
        sdpconnect.NewSnapshotsServiceHandler(
            &snapshotHandler,
            connect.WithInterceptors(otelconnect.NewInterceptor(otelconnect.WithTrustRemote(), otelconnect.WithoutTraceEvents())),
        ))))

serverAddress := fmt.Sprintf(":%v", "8080")
gatewayHTTPServer = &http.Server{
    Addr:    serverAddress,
    Handler: router,
}

err := gatewayHTTPServer.ListenAndServe()

Note however that using this will require the following environment variables to be present:

Name Description
AUTH0_DOMAIN The domain to validate token against e.g. om-dogfood.eu.auth0.com
AUTH0_AUDIENCE The audience e.g. https://api.overmind.tech
AUTH_COOKIE_NAME (Optional) The name of the cookie to extract a token from if not present in the Authorization header

Documentation

Index

Constants

View Source
const DefaultDrainDelay = (100 * time.Millisecond)

DefaultDrainDelay How long to wait after all is complete before draining all NATS connections

View Source
const DefaultResponseInterval = (5 * time.Second)

DefaultResponseInterval is the default period of time within which responses are sent (5 seconds)

View Source
const ErrorTemplate string = `%v

ErrorType: %v
Scope: %v
SourceName: %v
ItemType: %v
ResponderName: %v`
View Source
const WILDCARD = "*"

Variables

View Source
var (
	SourceStatus_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PROGRESSING",
		2: "STATUS_HEALTHY",
		3: "STATUS_UNHEALTHY",
	}
	SourceStatus_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_PROGRESSING": 1,
		"STATUS_HEALTHY":     2,
		"STATUS_UNHEALTHY":   3,
	}
)

Enum value maps for SourceStatus.

View Source
var (
	KeyStatus_name = map[int32]string{
		0: "KEY_STATUS_UNKNOWN",
		1: "KEY_STATUS_UNAUTHORIZED",
		2: "KEY_STATUS_READY",
		3: "KEY_STATUS_ERROR",
		4: "KEY_STATUS_REVOKED",
	}
	KeyStatus_value = map[string]int32{
		"KEY_STATUS_UNKNOWN":      0,
		"KEY_STATUS_UNAUTHORIZED": 1,
		"KEY_STATUS_READY":        2,
		"KEY_STATUS_ERROR":        3,
		"KEY_STATUS_REVOKED":      4,
	}
)

Enum value maps for KeyStatus.

View Source
var (
	ItemDiffStatus_name = map[int32]string{
		0: "ITEM_DIFF_STATUS_UNSPECIFIED",
		1: "ITEM_DIFF_STATUS_UNCHANGED",
		2: "ITEM_DIFF_STATUS_CREATED",
		3: "ITEM_DIFF_STATUS_UPDATED",
		4: "ITEM_DIFF_STATUS_DELETED",
		5: "ITEM_DIFF_STATUS_REPLACED",
	}
	ItemDiffStatus_value = map[string]int32{
		"ITEM_DIFF_STATUS_UNSPECIFIED": 0,
		"ITEM_DIFF_STATUS_UNCHANGED":   1,
		"ITEM_DIFF_STATUS_CREATED":     2,
		"ITEM_DIFF_STATUS_UPDATED":     3,
		"ITEM_DIFF_STATUS_DELETED":     4,
		"ITEM_DIFF_STATUS_REPLACED":    5,
	}
)

Enum value maps for ItemDiffStatus.

View Source
var (
	ChangeStatus_name = map[int32]string{
		0: "CHANGE_STATUS_UNSPECIFIED",
		1: "CHANGE_STATUS_DEFINING",
		2: "CHANGE_STATUS_HAPPENING",
		3: "CHANGE_STATUS_PROCESSING",
		4: "CHANGE_STATUS_DONE",
	}
	ChangeStatus_value = map[string]int32{
		"CHANGE_STATUS_UNSPECIFIED": 0,
		"CHANGE_STATUS_DEFINING":    1,
		"CHANGE_STATUS_HAPPENING":   2,
		"CHANGE_STATUS_PROCESSING":  3,
		"CHANGE_STATUS_DONE":        4,
	}
)

Enum value maps for ChangeStatus.

View Source
var (
	OnboardingStatus_name = map[int32]string{
		0: "ONBOARDING_STATUS_UNSPECIFIED",
		1: "ONBOARDING_STATUS_ADD_AWS_ACCOUNT",
		2: "ONBOARDING_STATUS_ADD_APP",
		3: "ONBOARDING_STATUS_CREATE_CHANGE",
		4: "ONBOARDING_STATUS_SIMULATE_CHANGE",
		5: "ONBOARDING_STATUS_DONE",
	}
	OnboardingStatus_value = map[string]int32{
		"ONBOARDING_STATUS_UNSPECIFIED":     0,
		"ONBOARDING_STATUS_ADD_AWS_ACCOUNT": 1,
		"ONBOARDING_STATUS_ADD_APP":         2,
		"ONBOARDING_STATUS_CREATE_CHANGE":   3,
		"ONBOARDING_STATUS_SIMULATE_CHANGE": 4,
		"ONBOARDING_STATUS_DONE":            5,
	}
)

Enum value maps for OnboardingStatus.

View Source
var (
	CalculateBlastRadiusResponse_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_DISCOVERING",
		2: "STATE_SAVING",
		3: "STATE_FINDING_APPS",
		4: "STATE_DONE",
	}
	CalculateBlastRadiusResponse_State_value = map[string]int32{
		"STATE_UNSPECIFIED":  0,
		"STATE_DISCOVERING":  1,
		"STATE_SAVING":       2,
		"STATE_FINDING_APPS": 3,
		"STATE_DONE":         4,
	}
)

Enum value maps for CalculateBlastRadiusResponse_State.

View Source
var (
	StartChangeResponse_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_TAKING_SNAPSHOT",
		2: "STATE_SAVING_SNAPSHOT",
		3: "STATE_DONE",
	}
	StartChangeResponse_State_value = map[string]int32{
		"STATE_UNSPECIFIED":     0,
		"STATE_TAKING_SNAPSHOT": 1,
		"STATE_SAVING_SNAPSHOT": 2,
		"STATE_DONE":            3,
	}
)

Enum value maps for StartChangeResponse_State.

View Source
var (
	EndChangeResponse_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_TAKING_SNAPSHOT",
		2: "STATE_SAVING_SNAPSHOT",
		3: "STATE_DONE",
	}
	EndChangeResponse_State_value = map[string]int32{
		"STATE_UNSPECIFIED":     0,
		"STATE_TAKING_SNAPSHOT": 1,
		"STATE_SAVING_SNAPSHOT": 2,
		"STATE_DONE":            3,
	}
)

Enum value maps for EndChangeResponse_State.

View Source
var (
	Risk_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "SEVERITY_LOW",
		2: "SEVERITY_MEDIUM",
		3: "SEVERITY_HIGH",
	}
	Risk_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"SEVERITY_LOW":         1,
		"SEVERITY_MEDIUM":      2,
		"SEVERITY_HIGH":        3,
	}
)

Enum value maps for Risk_Severity.

View Source
var (
	RiskCalculationStatus_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_INPROGRESS",
		2: "STATUS_SKIPPED",
		3: "STATUS_DONE",
		4: "STATUS_ERROR",
	}
	RiskCalculationStatus_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_INPROGRESS":  1,
		"STATUS_SKIPPED":     2,
		"STATUS_DONE":        3,
		"STATUS_ERROR":       4,
	}
)

Enum value maps for RiskCalculationStatus_Status.

View Source
var (
	RiskCalculationStatus_ProgressMilestone_Status_name = map[int32]string{
		0: "STATUS_PENDING",
		1: "STATUS_INPROGRESS",
		2: "STATUS_DONE",
		3: "STATUS_ERROR",
		4: "STATUS_SKIPPED",
	}
	RiskCalculationStatus_ProgressMilestone_Status_value = map[string]int32{
		"STATUS_PENDING":    0,
		"STATUS_INPROGRESS": 1,
		"STATUS_DONE":       2,
		"STATUS_ERROR":      3,
		"STATUS_SKIPPED":    4,
	}
)

Enum value maps for RiskCalculationStatus_ProgressMilestone_Status.

View Source
var (
	Invite_InviteStatus_name = map[int32]string{
		0: "INVITE_STATUS_UNSPECIFIED",
		1: "INVITE_STATUS_INVITED",
		2: "INVITE_STATUS_ACCEPTED",
	}
	Invite_InviteStatus_value = map[string]int32{
		"INVITE_STATUS_UNSPECIFIED": 0,
		"INVITE_STATUS_INVITED":     1,
		"INVITE_STATUS_ACCEPTED":    2,
	}
)

Enum value maps for Invite_InviteStatus.

View Source
var (
	Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "HEALTH_OK",
		2: "HEALTH_WARNING",
		3: "HEALTH_ERROR",
		4: "HEALTH_PENDING",
	}
	Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"HEALTH_OK":      1,
		"HEALTH_WARNING": 2,
		"HEALTH_ERROR":   3,
		"HEALTH_PENDING": 4,
	}
)

Enum value maps for Health.

View Source
var (
	QueryMethod_name = map[int32]string{
		0: "GET",
		1: "LIST",
		2: "SEARCH",
	}
	QueryMethod_value = map[string]int32{
		"GET":    0,
		"LIST":   1,
		"SEARCH": 2,
	}
)

Enum value maps for QueryMethod.

View Source
var (
	QueryStatus_Status_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "STARTED",
		3: "CANCELLED",
		4: "ERRORED",
		5: "FINISHED",
	}
	QueryStatus_Status_value = map[string]int32{
		"UNSPECIFIED": 0,
		"STARTED":     1,
		"CANCELLED":   3,
		"ERRORED":     4,
		"FINISHED":    5,
	}
)

Enum value maps for QueryStatus_Status.

View Source
var (
	QueryError_ErrorType_name = map[int32]string{
		0: "OTHER",
		1: "NOTFOUND",
		2: "NOSCOPE",
		3: "TIMEOUT",
	}
	QueryError_ErrorType_value = map[string]int32{
		"OTHER":    0,
		"NOTFOUND": 1,
		"NOSCOPE":  2,
		"TIMEOUT":  3,
	}
)

Enum value maps for QueryError_ErrorType.

View Source
var (
	ResponderState_name = map[int32]string{
		0: "WORKING",
		1: "COMPLETE",
		2: "ERROR",
		3: "CANCELLED",
		4: "STALLED",
	}
	ResponderState_value = map[string]int32{
		"WORKING":   0,
		"COMPLETE":  1,
		"ERROR":     2,
		"CANCELLED": 3,
		"STALLED":   4,
	}
)

Enum value maps for ResponderState.

View Source
var DefaultTransforms = TransformMap{

	reflect.TypeOf(time.Time{}): func(i interface{}) interface{} {
		return i.(time.Time).Format(time.RFC3339Nano)
	},

	reflect.TypeOf(time.Duration(0)): func(i interface{}) interface{} {
		return i.(time.Duration).String()
	},
}

The default transforms that are used when converting to attributes

View Source
var ErrNoClaims = errors.New("error extracting claims from token")
View Source
var ErrNoResponders = errors.New("no responders available")
View Source
var File_account_proto protoreflect.FileDescriptor
View Source
var File_apikey_proto protoreflect.FileDescriptor
View Source
var File_auth0support_proto protoreflect.FileDescriptor
View Source
var File_bookmarks_proto protoreflect.FileDescriptor
View Source
var File_changes_proto protoreflect.FileDescriptor
View Source
var File_config_proto protoreflect.FileDescriptor
View Source
var File_gateway_proto protoreflect.FileDescriptor
View Source
var File_invites_proto protoreflect.FileDescriptor
View Source
var File_items_proto protoreflect.FileDescriptor
View Source
var File_responses_proto protoreflect.FileDescriptor
View Source
var File_revlink_proto protoreflect.FileDescriptor
View Source
var File_snapshots_proto protoreflect.FileDescriptor

Functions

func AddBypassAuthConfig added in v0.26.0

func AddBypassAuthConfig(ctx context.Context) context.Context

AddBypassAuthConfig Adds the requires keys to the context so that authentication is bypassed. This is intended to be used in tests

func ExtractAccount added in v0.29.1

func ExtractAccount(ctx context.Context) (string, error)

ExtractAccount Extracts the account name from a context

func HasAllScopes added in v0.49.4

func HasAllScopes(ctx context.Context, requiredScopes ...string) bool

HasAllScopes checks that the authenticated user in the request context has all the required scopes. If auth has been bypassed, this will always return true

func HasAnyScopes added in v0.49.4

func HasAnyScopes(ctx context.Context, requiredScopes ...string) bool

HasAnyScopes checks that the authenticated user in the request context has any of the required scopes. If auth has been bypassed, this will always return true

func HasScopes added in v0.22.0

func HasScopes(ctx context.Context, requiredScopes ...string) bool

HasScopes compatibility alias for HasAllScopes

func InjectOtelTraceContext added in v0.15.0

func InjectOtelTraceContext(ctx context.Context, msg *nats.Msg)

func LogRecoverToReturn added in v0.33.0

func LogRecoverToReturn(ctx context.Context, loc string)

LogRecoverToReturn Recovers from a panic, logs and forwards it sentry and otel, then returns Does nothing when there is no panic.

func NewAsyncOtelExtractingHandler added in v0.16.0

func NewAsyncOtelExtractingHandler(spanName string, h CtxMsgHandler, t trace.Tracer, spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewAsyncRawCancelQueryHandler added in v0.18.0

func NewAsyncRawCancelQueryHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *CancelQuery), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewAsyncRawGatewayResponseHandler added in v0.16.0

func NewAsyncRawGatewayResponseHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *GatewayResponse), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewAsyncRawQueryHandler added in v0.18.0

func NewAsyncRawQueryHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *Query), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewAsyncRawQueryResponseHandler added in v0.32.0

func NewAsyncRawQueryResponseHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *QueryResponse), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewAsyncRawUndoQueryHandler added in v0.18.0

func NewAsyncRawUndoQueryHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *UndoQuery), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewAuthMiddleware added in v0.25.0

func NewAuthMiddleware(config AuthConfig, next http.Handler) http.Handler

NewAuthMiddleware Creates new auth middleware. The options allow you to bypass the authentication process or not, but either way this middleware will set the `CustomClaimsContextKey` in the request context which allows you to use the `HasScopes()` function to check the scopes without having to worry about whether the server is using auth or not.

If auth is not bypassed, then tokens will be validated using Auth0 and therefore the following environment variables must be set: AUTH0_DOMAIN, AUTH0_AUDIENCE. If cookie auth is intended to be used, then AUTH_COOKIE_NAME must also be set.

func NewCancelQueryHandler added in v0.18.0

func NewCancelQueryHandler(spanName string, h func(ctx context.Context, i *CancelQuery), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewGatewayResponseHandler added in v0.15.0

func NewGatewayResponseHandler(spanName string, h func(ctx context.Context, i *GatewayResponse), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewOtelExtractingHandler added in v0.15.0

func NewOtelExtractingHandler(spanName string, h CtxMsgHandler, t trace.Tracer, spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewQueryHandler added in v0.18.0

func NewQueryHandler(spanName string, h func(ctx context.Context, i *Query), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewQueryResponseHandler added in v0.32.0

func NewQueryResponseHandler(spanName string, h func(ctx context.Context, i *QueryResponse), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewRawCancelQueryHandler added in v0.18.0

func NewRawCancelQueryHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *CancelQuery), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewRawGatewayResponseHandler added in v0.15.0

func NewRawGatewayResponseHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *GatewayResponse), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewRawQueryHandler added in v0.18.0

func NewRawQueryHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *Query), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewRawQueryResponseHandler added in v0.32.0

func NewRawQueryResponseHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *QueryResponse), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewRawUndoQueryHandler added in v0.18.0

func NewRawUndoQueryHandler(spanName string, h func(ctx context.Context, m *nats.Msg, i *UndoQuery), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func NewSentryInterceptor added in v0.26.3

func NewSentryInterceptor() connect.Interceptor

NewSentryInterceptor pass this to connect handlers as `connect.WithInterceptors(NewSentryInterceptor())` to recover from panics in the handler and report them to sentry. Otherwise panics get recovered by connect-go itself and do not get reported to sentry.

func NewUndoQueryHandler added in v0.18.0

func NewUndoQueryHandler(spanName string, h func(ctx context.Context, i *UndoQuery), spanOpts ...trace.SpanStartOption) nats.MsgHandler

func OverrideAuthContext added in v0.49.7

func OverrideAuthContext(ctx context.Context, claims *validator.ValidatedClaims) context.Context

OverrideAuthContext overrides the authentication data and token stored in the context. This is mostly useful for testing or delegating access locally into a protected API.

func OverrideCustomClaims added in v0.26.0

func OverrideCustomClaims(ctx context.Context, scope *string, account *string) context.Context

OverrideCustomClaims Overrides the custom claims in the context that have been set at CustomClaimsContextKey

func Unmarshal added in v0.15.0

func Unmarshal(ctx context.Context, b []byte, m proto.Message) error

Unmarshal Does a proto.Unmarshal and logs errors in a consistent way. The user should still validate that the message is valid as it's possible to unmarshal data from one message format into another without an error. Validation should be based on the type that the data is being unmarshaled into.

Types

type APIKey added in v0.34.3

type APIKey struct {
	Metadata   *APIKeyMetadata   `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Properties *APIKeyProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*APIKey) Descriptor deprecated added in v0.34.3

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

Deprecated: Use APIKey.ProtoReflect.Descriptor instead.

func (*APIKey) GetMetadata added in v0.34.3

func (x *APIKey) GetMetadata() *APIKeyMetadata

func (*APIKey) GetProperties added in v0.34.3

func (x *APIKey) GetProperties() *APIKeyProperties

func (*APIKey) ProtoMessage added in v0.34.3

func (*APIKey) ProtoMessage()

func (*APIKey) ProtoReflect added in v0.34.3

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

func (*APIKey) Reset added in v0.34.3

func (x *APIKey) Reset()

func (*APIKey) String added in v0.34.3

func (x *APIKey) String() string

type APIKeyMetadata added in v0.34.3

type APIKeyMetadata struct {

	// The ID of this API key
	Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// When the API Key was created
	Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// The last time the API key was exchanged for an access token
	LastUsed *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=lastUsed,proto3" json:"lastUsed,omitempty"`
	// The actual API key
	Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	// The list of scopes that this token has access to
	Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// The status of the key
	Status KeyStatus `protobuf:"varint,6,opt,name=status,proto3,enum=apikeys.KeyStatus" json:"status,omitempty"`
	// The error encountered when authorizing the key. This will only be set if
	// the status is ERROR
	Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*APIKeyMetadata) Descriptor deprecated added in v0.34.3

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

Deprecated: Use APIKeyMetadata.ProtoReflect.Descriptor instead.

func (*APIKeyMetadata) GetCreated added in v0.34.3

func (x *APIKeyMetadata) GetCreated() *timestamppb.Timestamp

func (*APIKeyMetadata) GetError added in v0.34.3

func (x *APIKeyMetadata) GetError() string

func (*APIKeyMetadata) GetKey added in v0.34.3

func (x *APIKeyMetadata) GetKey() string

func (*APIKeyMetadata) GetLastUsed added in v0.34.3

func (x *APIKeyMetadata) GetLastUsed() *timestamppb.Timestamp

func (*APIKeyMetadata) GetScopes added in v0.34.3

func (x *APIKeyMetadata) GetScopes() []string

func (*APIKeyMetadata) GetStatus added in v0.34.3

func (x *APIKeyMetadata) GetStatus() KeyStatus

func (*APIKeyMetadata) GetUUIDParsed added in v0.34.6

func (a *APIKeyMetadata) GetUUIDParsed() *uuid.UUID

func (*APIKeyMetadata) GetUuid added in v0.34.3

func (x *APIKeyMetadata) GetUuid() []byte

func (*APIKeyMetadata) ProtoMessage added in v0.34.3

func (*APIKeyMetadata) ProtoMessage()

func (*APIKeyMetadata) ProtoReflect added in v0.34.3

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

func (*APIKeyMetadata) Reset added in v0.34.3

func (x *APIKeyMetadata) Reset()

func (*APIKeyMetadata) String added in v0.34.3

func (x *APIKeyMetadata) String() string

type APIKeyProperties added in v0.34.3

type APIKeyProperties struct {

	// The name of the API key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*APIKeyProperties) Descriptor deprecated added in v0.34.3

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

Deprecated: Use APIKeyProperties.ProtoReflect.Descriptor instead.

func (*APIKeyProperties) GetName added in v0.34.3

func (x *APIKeyProperties) GetName() string

func (*APIKeyProperties) ProtoMessage added in v0.34.3

func (*APIKeyProperties) ProtoMessage()

func (*APIKeyProperties) ProtoReflect added in v0.34.3

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

func (*APIKeyProperties) Reset added in v0.34.3

func (x *APIKeyProperties) Reset()

func (*APIKeyProperties) String added in v0.34.3

func (x *APIKeyProperties) String() string

type Account added in v0.29.0

type Account struct {
	Metadata   *AccountMetadata   `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Properties *AccountProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated added in v0.29.0

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetMetadata added in v0.29.0

func (x *Account) GetMetadata() *AccountMetadata

func (*Account) GetProperties added in v0.29.0

func (x *Account) GetProperties() *AccountProperties

func (*Account) ProtoMessage added in v0.29.0

func (*Account) ProtoMessage()

func (*Account) ProtoReflect added in v0.29.0

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

func (*Account) Reset added in v0.29.0

func (x *Account) Reset()

func (*Account) String added in v0.29.0

func (x *Account) String() string

type AccountMetadata added in v0.29.0

type AccountMetadata struct {

	// The public Nkey which signs all NATS "user" tokens
	PublicNkey string `protobuf:"bytes,2,opt,name=PublicNkey,proto3" json:"PublicNkey,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountMetadata) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AccountMetadata.ProtoReflect.Descriptor instead.

func (*AccountMetadata) GetPublicNkey added in v0.29.0

func (x *AccountMetadata) GetPublicNkey() string

func (*AccountMetadata) ProtoMessage added in v0.29.0

func (*AccountMetadata) ProtoMessage()

func (*AccountMetadata) ProtoReflect added in v0.29.0

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

func (*AccountMetadata) Reset added in v0.29.0

func (x *AccountMetadata) Reset()

func (*AccountMetadata) String added in v0.29.0

func (x *AccountMetadata) String() string

type AccountNameContextKey added in v0.22.0

type AccountNameContextKey struct{}

AccountNameContextKey is the key that is used to store the currently acting account name

type AccountProperties added in v0.29.0

type AccountProperties struct {

	// The name of the account
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountProperties) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AccountProperties.ProtoReflect.Descriptor instead.

func (*AccountProperties) GetName added in v0.29.0

func (x *AccountProperties) GetName() string

func (*AccountProperties) ProtoMessage added in v0.29.0

func (*AccountProperties) ProtoMessage()

func (*AccountProperties) ProtoReflect added in v0.29.0

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

func (*AccountProperties) Reset added in v0.29.0

func (x *AccountProperties) Reset()

func (*AccountProperties) String added in v0.29.0

func (x *AccountProperties) String() string

type AdminCreateSourceRequest added in v0.29.0

type AdminCreateSourceRequest struct {
	Account string               `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Request *CreateSourceRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminCreateSourceRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AdminCreateSourceRequest.ProtoReflect.Descriptor instead.

func (*AdminCreateSourceRequest) GetAccount added in v0.29.0

func (x *AdminCreateSourceRequest) GetAccount() string

func (*AdminCreateSourceRequest) GetRequest added in v0.29.0

func (*AdminCreateSourceRequest) ProtoMessage added in v0.29.0

func (*AdminCreateSourceRequest) ProtoMessage()

func (*AdminCreateSourceRequest) ProtoReflect added in v0.29.0

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

func (*AdminCreateSourceRequest) Reset added in v0.29.0

func (x *AdminCreateSourceRequest) Reset()

func (*AdminCreateSourceRequest) String added in v0.29.0

func (x *AdminCreateSourceRequest) String() string

type AdminCreateTokenRequest added in v0.29.0

type AdminCreateTokenRequest struct {
	Account string              `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Request *CreateTokenRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminCreateTokenRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AdminCreateTokenRequest.ProtoReflect.Descriptor instead.

func (*AdminCreateTokenRequest) GetAccount added in v0.29.0

func (x *AdminCreateTokenRequest) GetAccount() string

func (*AdminCreateTokenRequest) GetRequest added in v0.29.0

func (*AdminCreateTokenRequest) ProtoMessage added in v0.29.0

func (*AdminCreateTokenRequest) ProtoMessage()

func (*AdminCreateTokenRequest) ProtoReflect added in v0.29.0

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

func (*AdminCreateTokenRequest) Reset added in v0.29.0

func (x *AdminCreateTokenRequest) Reset()

func (*AdminCreateTokenRequest) String added in v0.29.0

func (x *AdminCreateTokenRequest) String() string

type AdminDeleteSourceRequest added in v0.29.0

type AdminDeleteSourceRequest struct {
	Account string               `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Request *DeleteSourceRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminDeleteSourceRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AdminDeleteSourceRequest.ProtoReflect.Descriptor instead.

func (*AdminDeleteSourceRequest) GetAccount added in v0.29.0

func (x *AdminDeleteSourceRequest) GetAccount() string

func (*AdminDeleteSourceRequest) GetRequest added in v0.29.0

func (*AdminDeleteSourceRequest) ProtoMessage added in v0.29.0

func (*AdminDeleteSourceRequest) ProtoMessage()

func (*AdminDeleteSourceRequest) ProtoReflect added in v0.29.0

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

func (*AdminDeleteSourceRequest) Reset added in v0.29.0

func (x *AdminDeleteSourceRequest) Reset()

func (*AdminDeleteSourceRequest) String added in v0.29.0

func (x *AdminDeleteSourceRequest) String() string

type AdminGetAccountRequest added in v0.29.0

type AdminGetAccountRequest struct {

	// The name of the account to get
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminGetAccountRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AdminGetAccountRequest.ProtoReflect.Descriptor instead.

func (*AdminGetAccountRequest) GetName added in v0.29.0

func (x *AdminGetAccountRequest) GetName() string

func (*AdminGetAccountRequest) ProtoMessage added in v0.29.0

func (*AdminGetAccountRequest) ProtoMessage()

func (*AdminGetAccountRequest) ProtoReflect added in v0.29.0

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

func (*AdminGetAccountRequest) Reset added in v0.29.0

func (x *AdminGetAccountRequest) Reset()

func (*AdminGetAccountRequest) String added in v0.29.0

func (x *AdminGetAccountRequest) String() string

type AdminGetSourceRequest added in v0.29.0

type AdminGetSourceRequest struct {
	Account string            `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Request *GetSourceRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminGetSourceRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AdminGetSourceRequest.ProtoReflect.Descriptor instead.

func (*AdminGetSourceRequest) GetAccount added in v0.29.0

func (x *AdminGetSourceRequest) GetAccount() string

func (*AdminGetSourceRequest) GetRequest added in v0.29.0

func (x *AdminGetSourceRequest) GetRequest() *GetSourceRequest

func (*AdminGetSourceRequest) ProtoMessage added in v0.29.0

func (*AdminGetSourceRequest) ProtoMessage()

func (*AdminGetSourceRequest) ProtoReflect added in v0.29.0

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

func (*AdminGetSourceRequest) Reset added in v0.29.0

func (x *AdminGetSourceRequest) Reset()

func (*AdminGetSourceRequest) String added in v0.29.0

func (x *AdminGetSourceRequest) String() string

type AdminKeepaliveSourcesRequest added in v0.29.0

type AdminKeepaliveSourcesRequest struct {
	Account string                   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Request *KeepaliveSourcesRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminKeepaliveSourcesRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AdminKeepaliveSourcesRequest.ProtoReflect.Descriptor instead.

func (*AdminKeepaliveSourcesRequest) GetAccount added in v0.29.0

func (x *AdminKeepaliveSourcesRequest) GetAccount() string

func (*AdminKeepaliveSourcesRequest) GetRequest added in v0.29.0

func (*AdminKeepaliveSourcesRequest) ProtoMessage added in v0.29.0

func (*AdminKeepaliveSourcesRequest) ProtoMessage()

func (*AdminKeepaliveSourcesRequest) ProtoReflect added in v0.29.0

func (*AdminKeepaliveSourcesRequest) Reset added in v0.29.0

func (x *AdminKeepaliveSourcesRequest) Reset()

func (*AdminKeepaliveSourcesRequest) String added in v0.29.0

type AdminListSourcesRequest added in v0.29.0

type AdminListSourcesRequest struct {
	Account string              `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Request *ListSourcesRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminListSourcesRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AdminListSourcesRequest.ProtoReflect.Descriptor instead.

func (*AdminListSourcesRequest) GetAccount added in v0.29.0

func (x *AdminListSourcesRequest) GetAccount() string

func (*AdminListSourcesRequest) GetRequest added in v0.29.0

func (*AdminListSourcesRequest) ProtoMessage added in v0.29.0

func (*AdminListSourcesRequest) ProtoMessage()

func (*AdminListSourcesRequest) ProtoReflect added in v0.29.0

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

func (*AdminListSourcesRequest) Reset added in v0.29.0

func (x *AdminListSourcesRequest) Reset()

func (*AdminListSourcesRequest) String added in v0.29.0

func (x *AdminListSourcesRequest) String() string

type AdminUpdateSourceRequest added in v0.29.0

type AdminUpdateSourceRequest struct {
	Account string               `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Request *UpdateSourceRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminUpdateSourceRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AdminUpdateSourceRequest.ProtoReflect.Descriptor instead.

func (*AdminUpdateSourceRequest) GetAccount added in v0.29.0

func (x *AdminUpdateSourceRequest) GetAccount() string

func (*AdminUpdateSourceRequest) GetRequest added in v0.29.0

func (*AdminUpdateSourceRequest) ProtoMessage added in v0.29.0

func (*AdminUpdateSourceRequest) ProtoMessage()

func (*AdminUpdateSourceRequest) ProtoReflect added in v0.29.0

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

func (*AdminUpdateSourceRequest) Reset added in v0.29.0

func (x *AdminUpdateSourceRequest) Reset()

func (*AdminUpdateSourceRequest) String added in v0.29.0

func (x *AdminUpdateSourceRequest) String() string

type App added in v0.23.0

type App struct {

	// machine-generated metadata of this app
	Metadata *AppMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// user-supplied properties of this app
	Properties *AppProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

a complete App with machine-supplied and user-supplied values

func (*App) Descriptor deprecated added in v0.23.0

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetMetadata added in v0.23.0

func (x *App) GetMetadata() *AppMetadata

func (*App) GetProperties added in v0.23.0

func (x *App) GetProperties() *AppProperties

func (*App) ProtoMessage added in v0.23.0

func (*App) ProtoMessage()

func (*App) ProtoReflect added in v0.23.0

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

func (*App) Reset added in v0.23.0

func (x *App) Reset()

func (*App) String added in v0.23.0

func (x *App) String() string

type AppMetadata added in v0.23.0

type AppMetadata struct {

	// unique id to identify this app
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// timestamp when this app was created
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// timestamp when this app was last updated
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// items that are part of the app
	Items []*Reference `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// the last time that the list of items was updated
	ItemsLastUpdated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=itemsLastUpdated,proto3" json:"itemsLastUpdated,omitempty"`
	// number of changes that have affected this app
	NumChangesAffecting int32 `protobuf:"varint,6,opt,name=numChangesAffecting,proto3" json:"numChangesAffecting,omitempty"`
	// the number of items that make up this app
	NumItems int32 `protobuf:"varint,8,opt,name=numItems,proto3" json:"numItems,omitempty"`
	// the name of the person that created the app
	CreatorName string `protobuf:"bytes,7,opt,name=creatorName,proto3" json:"creatorName,omitempty"`
	// the url for this app. This will only be set if the app was created using
	// the `CreateSimpleApp` RPC.
	Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

machine-generated metadata of this app

func (*AppMetadata) Descriptor deprecated added in v0.23.0

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

Deprecated: Use AppMetadata.ProtoReflect.Descriptor instead.

func (*AppMetadata) GetCreatedAt added in v0.26.2

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

func (*AppMetadata) GetCreatorName added in v0.31.0

func (x *AppMetadata) GetCreatorName() string

func (*AppMetadata) GetItems added in v0.24.0

func (x *AppMetadata) GetItems() []*Reference

func (*AppMetadata) GetItemsLastUpdated added in v0.24.0

func (x *AppMetadata) GetItemsLastUpdated() *timestamppb.Timestamp

func (*AppMetadata) GetNumChangesAffecting added in v0.31.0

func (x *AppMetadata) GetNumChangesAffecting() int32

func (*AppMetadata) GetNumItems added in v0.31.0

func (x *AppMetadata) GetNumItems() int32

func (*AppMetadata) GetUUID added in v0.23.0

func (x *AppMetadata) GetUUID() []byte

func (*AppMetadata) GetUUIDParsed added in v0.26.2

func (a *AppMetadata) GetUUIDParsed() *uuid.UUID

func (*AppMetadata) GetUpdatedAt added in v0.26.2

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

func (*AppMetadata) GetUrl added in v0.31.0

func (x *AppMetadata) GetUrl() string

func (*AppMetadata) ProtoMessage added in v0.23.0

func (*AppMetadata) ProtoMessage()

func (*AppMetadata) ProtoReflect added in v0.23.0

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

func (*AppMetadata) Reset added in v0.23.0

func (x *AppMetadata) Reset()

func (*AppMetadata) String added in v0.23.0

func (x *AppMetadata) String() string

type AppProperties added in v0.23.0

type AppProperties struct {

	// Name of this App
	// Example: "Contoso Manager"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this App. Example: "The Contoso Manager manages the contoso.
	// Notable components are storage, compute and the web. Talk to Jimmy or Susan
	// on 555-CM LEAD for more details."
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// UUID of the bookmark query that returns all items in this app
	BookmarkUUID []byte `protobuf:"bytes,3,opt,name=bookmarkUUID,proto3" json:"bookmarkUUID,omitempty"`
	// contains filtered or unexported fields
}

user-supplied properties of this app

func (*AppProperties) Descriptor deprecated added in v0.23.0

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

Deprecated: Use AppProperties.ProtoReflect.Descriptor instead.

func (*AppProperties) GetBookmarkUUID added in v0.24.0

func (x *AppProperties) GetBookmarkUUID() []byte

func (*AppProperties) GetBookmarkUUIDParsed added in v0.26.2

func (a *AppProperties) GetBookmarkUUIDParsed() *uuid.UUID

func (*AppProperties) GetDescription added in v0.23.0

func (x *AppProperties) GetDescription() string

func (*AppProperties) GetName added in v0.23.0

func (x *AppProperties) GetName() string

func (*AppProperties) ProtoMessage added in v0.23.0

func (*AppProperties) ProtoMessage()

func (*AppProperties) ProtoReflect added in v0.23.0

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

func (*AppProperties) Reset added in v0.23.0

func (x *AppProperties) Reset()

func (*AppProperties) String added in v0.23.0

func (x *AppProperties) String() string

type AppSummary added in v0.31.0

type AppSummary struct {

	// unique id to identify this app
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// Name of this App
	// Example: "Contoso Manager"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this App Example: "The Contoso Manager manages the contoso.
	// Notable components are storage, compute and the web. Talk to Jimmy or Susan
	// on 555-CM LEAD for more details."
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// number of changes that have affected this app
	NumChangesAffecting int32 `protobuf:"varint,4,opt,name=numChangesAffecting,proto3" json:"numChangesAffecting,omitempty"`
	// the number of items that make up this app
	NumItems int32 `protobuf:"varint,5,opt,name=numItems,proto3" json:"numItems,omitempty"`
	// timestamp when this app was created
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// The name of the person that created the app
	CreatorName string `protobuf:"bytes,7,opt,name=creatorName,proto3" json:"creatorName,omitempty"`
	// the url for this app. This will only be set if the app was created using
	// the `CreateSimpleApp` RPC.
	Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"`
	// UUID of the bookmark query that returns all items in this app
	BookmarkUUID []byte `protobuf:"bytes,10,opt,name=bookmarkUUID,proto3" json:"bookmarkUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*AppSummary) Descriptor deprecated added in v0.31.0

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

Deprecated: Use AppSummary.ProtoReflect.Descriptor instead.

func (*AppSummary) GetBookmarkUUID added in v0.31.0

func (x *AppSummary) GetBookmarkUUID() []byte

func (*AppSummary) GetCreatedAt added in v0.31.0

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

func (*AppSummary) GetCreatorName added in v0.31.0

func (x *AppSummary) GetCreatorName() string

func (*AppSummary) GetDescription added in v0.31.0

func (x *AppSummary) GetDescription() string

func (*AppSummary) GetName added in v0.31.0

func (x *AppSummary) GetName() string

func (*AppSummary) GetNumChangesAffecting added in v0.31.0

func (x *AppSummary) GetNumChangesAffecting() int32

func (*AppSummary) GetNumItems added in v0.31.0

func (x *AppSummary) GetNumItems() int32

func (*AppSummary) GetUUID added in v0.31.0

func (x *AppSummary) GetUUID() []byte

func (*AppSummary) GetUrl added in v0.31.0

func (x *AppSummary) GetUrl() string

func (*AppSummary) ProtoMessage added in v0.31.0

func (*AppSummary) ProtoMessage()

func (*AppSummary) ProtoReflect added in v0.31.0

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

func (*AppSummary) Reset added in v0.31.0

func (x *AppSummary) Reset()

func (*AppSummary) String added in v0.31.0

func (x *AppSummary) String() string

type Auth0CreateUserRequest added in v0.50.0

type Auth0CreateUserRequest struct {

	// The Auth0 User ID
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The user's email address
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// The user's full name
	//
	// Deprecated: Marked as deprecated in auth0support.proto.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Whether the user's email address has been verified
	EmailVerified bool `protobuf:"varint,4,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"`
	// The user's first name
	FirstName string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// The user's last name
	LastName string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Auth0CreateUserRequest) Descriptor deprecated added in v0.50.0

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

Deprecated: Use Auth0CreateUserRequest.ProtoReflect.Descriptor instead.

func (*Auth0CreateUserRequest) GetEmail added in v0.50.0

func (x *Auth0CreateUserRequest) GetEmail() string

func (*Auth0CreateUserRequest) GetEmailVerified added in v0.54.0

func (x *Auth0CreateUserRequest) GetEmailVerified() bool

func (*Auth0CreateUserRequest) GetFirstName added in v0.58.0

func (x *Auth0CreateUserRequest) GetFirstName() string

func (*Auth0CreateUserRequest) GetLastName added in v0.58.0

func (x *Auth0CreateUserRequest) GetLastName() string

func (*Auth0CreateUserRequest) GetName deprecated added in v0.50.0

func (x *Auth0CreateUserRequest) GetName() string

Deprecated: Marked as deprecated in auth0support.proto.

func (*Auth0CreateUserRequest) GetUserId added in v0.50.0

func (x *Auth0CreateUserRequest) GetUserId() string

func (*Auth0CreateUserRequest) ProtoMessage added in v0.50.0

func (*Auth0CreateUserRequest) ProtoMessage()

func (*Auth0CreateUserRequest) ProtoReflect added in v0.50.0

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

func (*Auth0CreateUserRequest) Reset added in v0.50.0

func (x *Auth0CreateUserRequest) Reset()

func (*Auth0CreateUserRequest) String added in v0.50.0

func (x *Auth0CreateUserRequest) String() string

type Auth0CreateUserResponse added in v0.50.0

type Auth0CreateUserResponse struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Auth0CreateUserResponse) Descriptor deprecated added in v0.50.0

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

Deprecated: Use Auth0CreateUserResponse.ProtoReflect.Descriptor instead.

func (*Auth0CreateUserResponse) GetOrgId added in v0.50.0

func (x *Auth0CreateUserResponse) GetOrgId() string

func (*Auth0CreateUserResponse) ProtoMessage added in v0.50.0

func (*Auth0CreateUserResponse) ProtoMessage()

func (*Auth0CreateUserResponse) ProtoReflect added in v0.50.0

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

func (*Auth0CreateUserResponse) Reset added in v0.50.0

func (x *Auth0CreateUserResponse) Reset()

func (*Auth0CreateUserResponse) String added in v0.50.0

func (x *Auth0CreateUserResponse) String() string

type AuthBypassedContextKey added in v0.26.0

type AuthBypassedContextKey struct{}

AuthBypassedContextKey is a key that is stored in the request context when auth is actively being bypassed, e.g. in development. When this is set the `HasScopes()` function will always return true, and can be set using the `BypassAuth()` middleware.

type AuthConfig added in v0.26.0

type AuthConfig struct {
	Auth0Domain    string
	Auth0Audience  string
	AuthCookieName string // leave this empty to disable cookie auth

	// Bypasses all auth checks, meaning that HasScopes() will always return
	// true. This should be used in conjunction with the `AccountOverride` field
	// since there won't be a token to parse the account from
	BypassAuth bool

	// Bypasses auth for the given paths. This is a regular expression that is
	// matched against the path of the request. If the regex matches then the
	// request will be allowed through without auth. This should be used with
	// `AccountOverride` in order to avoid the required context values not being
	// set and therefore causing issues (probably nil pointer panics)
	BypassAuthForPaths *regexp.Regexp

	// Overrides the account name stored in the CustomClaimsContextKey
	AccountOverride *string

	// Overrides the scope stored in the CustomClaimsContextKey
	ScopeOverride *string
}

AuthConfig Configuration for the auth middleware

type BlastPropagation added in v0.30.0

type BlastPropagation struct {

	// is true if changes on linked items can affect this item
	In bool `protobuf:"varint,1,opt,name=in,proto3" json:"in,omitempty"`
	// is true if changes on this item can affect linked items
	Out bool `protobuf:"varint,2,opt,name=out,proto3" json:"out,omitempty"`
	// contains filtered or unexported fields
}

This message stores additional information on Edges (and edge-like constructs) to determine how configuration changes can impact the linked items.

Blast Propagation options:

|-------|-------|---------------------- | in | out | result |-------|-------|---------------------- | false | false | no change in any item can affect the other | false | true | a change to this item can affect its linked items | | | example: a change to an EC2 instance can affect its DNS name (in the sense that other items depending on that DNS name will see the impact) | true | false | a change to linked items can affect this item | | | example: changing the KMS key used by a DynamoDB table can impact the table, but no change to the table can impact the key | true | true | changes on boths sides of the link can affect the other | | | example: changes to both EC2 Instances and their volumes can affect the other side of the relation.

func (*BlastPropagation) Copy added in v0.30.0

func (liq *BlastPropagation) Copy(dest *BlastPropagation)

Copy copies all information from one item pointer to another

func (*BlastPropagation) Descriptor deprecated added in v0.30.0

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

Deprecated: Use BlastPropagation.ProtoReflect.Descriptor instead.

func (*BlastPropagation) GetIn added in v0.30.0

func (x *BlastPropagation) GetIn() bool

func (*BlastPropagation) GetOut added in v0.30.0

func (x *BlastPropagation) GetOut() bool

func (*BlastPropagation) ProtoMessage added in v0.30.0

func (*BlastPropagation) ProtoMessage()

func (*BlastPropagation) ProtoReflect added in v0.30.0

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

func (*BlastPropagation) Reset added in v0.30.0

func (x *BlastPropagation) Reset()

func (*BlastPropagation) String added in v0.30.0

func (x *BlastPropagation) String() string

type Bookmark added in v0.22.0

type Bookmark struct {
	Metadata   *BookmarkMetadata   `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Properties *BookmarkProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

a complete Bookmark with user-supplied and machine-supplied values

func (*Bookmark) Descriptor deprecated added in v0.22.0

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

Deprecated: Use Bookmark.ProtoReflect.Descriptor instead.

func (*Bookmark) GetMetadata added in v0.22.0

func (x *Bookmark) GetMetadata() *BookmarkMetadata

func (*Bookmark) GetProperties added in v0.22.0

func (x *Bookmark) GetProperties() *BookmarkProperties

func (*Bookmark) ProtoMessage added in v0.22.0

func (*Bookmark) ProtoMessage()

func (*Bookmark) ProtoReflect added in v0.22.0

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

func (*Bookmark) Reset added in v0.22.0

func (x *Bookmark) Reset()

func (*Bookmark) String added in v0.22.0

func (x *Bookmark) String() string

func (*Bookmark) ToMap added in v0.44.5

func (b *Bookmark) ToMap() map[string]any

type BookmarkLoadResult added in v0.19.0

type BookmarkLoadResult struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// UUIDs of all queries that have been started as a result of loading this bookmark
	StartedQueryUUIDs [][]byte `protobuf:"bytes,3,rep,name=startedQueryUUIDs,proto3" json:"startedQueryUUIDs,omitempty"`
	// a correlation ID to match up requests and responses. this field returns the contents of the request's msgID
	MsgID []byte `protobuf:"bytes,4,opt,name=msgID,proto3" json:"msgID,omitempty"`
	// contains filtered or unexported fields
}

func (*BookmarkLoadResult) Descriptor deprecated added in v0.19.0

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

Deprecated: Use BookmarkLoadResult.ProtoReflect.Descriptor instead.

func (*BookmarkLoadResult) GetErrorMessage added in v0.19.0

func (x *BookmarkLoadResult) GetErrorMessage() string

func (*BookmarkLoadResult) GetMsgID added in v0.27.0

func (x *BookmarkLoadResult) GetMsgID() []byte

func (*BookmarkLoadResult) GetMsgIDLogString added in v0.28.0

func (x *BookmarkLoadResult) GetMsgIDLogString() string

GetMsgIDLogString returns the correlation ID as string for logging

func (*BookmarkLoadResult) GetStartedQueryUUIDs added in v0.26.3

func (x *BookmarkLoadResult) GetStartedQueryUUIDs() [][]byte

func (*BookmarkLoadResult) GetSuccess added in v0.19.0

func (x *BookmarkLoadResult) GetSuccess() bool

func (*BookmarkLoadResult) ProtoMessage added in v0.19.0

func (*BookmarkLoadResult) ProtoMessage()

func (*BookmarkLoadResult) ProtoReflect added in v0.19.0

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

func (*BookmarkLoadResult) Reset added in v0.19.0

func (x *BookmarkLoadResult) Reset()

func (*BookmarkLoadResult) String added in v0.19.0

func (x *BookmarkLoadResult) String() string

type BookmarkMetadata added in v0.22.0

type BookmarkMetadata struct {

	// unique id to identify this bookmark
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// timestamp when this bookmark was created
	Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

Descriptor for a bookmark

func (*BookmarkMetadata) Descriptor deprecated added in v0.22.0

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

Deprecated: Use BookmarkMetadata.ProtoReflect.Descriptor instead.

func (*BookmarkMetadata) GetCreated added in v0.22.0

func (x *BookmarkMetadata) GetCreated() *timestamppb.Timestamp

func (*BookmarkMetadata) GetUUID added in v0.22.0

func (x *BookmarkMetadata) GetUUID() []byte

func (*BookmarkMetadata) ProtoMessage added in v0.22.0

func (*BookmarkMetadata) ProtoMessage()

func (*BookmarkMetadata) ProtoReflect added in v0.22.0

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

func (*BookmarkMetadata) Reset added in v0.22.0

func (x *BookmarkMetadata) Reset()

func (*BookmarkMetadata) String added in v0.22.0

func (x *BookmarkMetadata) String() string

func (*BookmarkMetadata) ToMap added in v0.44.5

func (bm *BookmarkMetadata) ToMap() map[string]any

type BookmarkProperties added in v0.22.0

type BookmarkProperties struct {

	// user supplied name of this bookmark
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// user supplied description of this bookmark
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// queries that make up the bookmark
	Queries []*Query `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"`
	// Items that should be excluded from the bookmark's results
	ExcludedItems []*Reference `protobuf:"bytes,4,rep,name=excludedItems,proto3" json:"excludedItems,omitempty"`
	// Whether this bookmark is a system bookmark. System bookmarks are hidden
	// from list results and can therefore only be accessed by their UUID.
	// Bookmarks created by users are not system bookmarks.
	IsSystem bool `protobuf:"varint,5,opt,name=isSystem,proto3" json:"isSystem,omitempty"`
	// contains filtered or unexported fields
}

The user-editable parts of a Bookmark

func (*BookmarkProperties) Descriptor deprecated added in v0.22.0

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

Deprecated: Use BookmarkProperties.ProtoReflect.Descriptor instead.

func (*BookmarkProperties) GetDescription added in v0.22.0

func (x *BookmarkProperties) GetDescription() string

func (*BookmarkProperties) GetExcludedItems added in v0.24.0

func (x *BookmarkProperties) GetExcludedItems() []*Reference

func (*BookmarkProperties) GetIsSystem added in v0.51.0

func (x *BookmarkProperties) GetIsSystem() bool

func (*BookmarkProperties) GetName added in v0.22.0

func (x *BookmarkProperties) GetName() string

func (*BookmarkProperties) GetQueries added in v0.24.0

func (x *BookmarkProperties) GetQueries() []*Query

func (*BookmarkProperties) ProtoMessage added in v0.22.0

func (*BookmarkProperties) ProtoMessage()

func (*BookmarkProperties) ProtoReflect added in v0.22.0

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

func (*BookmarkProperties) Reset added in v0.22.0

func (x *BookmarkProperties) Reset()

func (*BookmarkProperties) String added in v0.22.0

func (x *BookmarkProperties) String() string

func (*BookmarkProperties) ToMap added in v0.44.5

func (bp *BookmarkProperties) ToMap() map[string]any

type BookmarkStoreResult added in v0.19.0

type BookmarkStoreResult struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// a correlation ID to match up requests and responses. this field returns the contents of the request's msgID
	MsgID []byte `protobuf:"bytes,4,opt,name=msgID,proto3" json:"msgID,omitempty"`
	// UUID of the newly created bookmark
	BookmarkID []byte `protobuf:"bytes,5,opt,name=bookmarkID,proto3" json:"bookmarkID,omitempty"`
	// contains filtered or unexported fields
}

After a bookmark is successfully stored, this reply with the new bookmark's details is sent.

func (*BookmarkStoreResult) Descriptor deprecated added in v0.19.0

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

Deprecated: Use BookmarkStoreResult.ProtoReflect.Descriptor instead.

func (*BookmarkStoreResult) GetBookmarkID added in v0.33.0

func (x *BookmarkStoreResult) GetBookmarkID() []byte

func (*BookmarkStoreResult) GetErrorMessage added in v0.19.0

func (x *BookmarkStoreResult) GetErrorMessage() string

func (*BookmarkStoreResult) GetMsgID added in v0.27.0

func (x *BookmarkStoreResult) GetMsgID() []byte

func (*BookmarkStoreResult) GetMsgIDLogString added in v0.28.0

func (x *BookmarkStoreResult) GetMsgIDLogString() string

GetMsgIDLogString returns the correlation ID as string for logging

func (*BookmarkStoreResult) GetSuccess added in v0.19.0

func (x *BookmarkStoreResult) GetSuccess() bool

func (*BookmarkStoreResult) ProtoMessage added in v0.19.0

func (*BookmarkStoreResult) ProtoMessage()

func (*BookmarkStoreResult) ProtoReflect added in v0.19.0

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

func (*BookmarkStoreResult) Reset added in v0.19.0

func (x *BookmarkStoreResult) Reset()

func (*BookmarkStoreResult) String added in v0.19.0

func (x *BookmarkStoreResult) String() string

type CalculateBlastRadiusRequest added in v0.27.0

type CalculateBlastRadiusRequest struct {

	// ID of the change to calculate the blast radius for.
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// If true, the blast radius will be calculated again, even if it was already.
	// Otherwise if the blast radius has already been calculated (i.e. the status
	// is `DEFINING` and `blastRadiusBookmarkUUID` is set) an error will be
	// returned.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*CalculateBlastRadiusRequest) Descriptor deprecated added in v0.27.0

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

Deprecated: Use CalculateBlastRadiusRequest.ProtoReflect.Descriptor instead.

func (*CalculateBlastRadiusRequest) GetChangeUUID added in v0.27.0

func (x *CalculateBlastRadiusRequest) GetChangeUUID() []byte

func (*CalculateBlastRadiusRequest) GetChangeUUIDParsed added in v0.46.2

func (x *CalculateBlastRadiusRequest) GetChangeUUIDParsed() *uuid.UUID

func (*CalculateBlastRadiusRequest) GetForce added in v0.27.0

func (x *CalculateBlastRadiusRequest) GetForce() bool

func (*CalculateBlastRadiusRequest) ProtoMessage added in v0.27.0

func (*CalculateBlastRadiusRequest) ProtoMessage()

func (*CalculateBlastRadiusRequest) ProtoReflect added in v0.27.0

func (*CalculateBlastRadiusRequest) Reset added in v0.27.0

func (x *CalculateBlastRadiusRequest) Reset()

func (*CalculateBlastRadiusRequest) String added in v0.27.0

func (x *CalculateBlastRadiusRequest) String() string

type CalculateBlastRadiusResponse added in v0.27.0

type CalculateBlastRadiusResponse struct {
	State    CalculateBlastRadiusResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=changes.CalculateBlastRadiusResponse_State" json:"state,omitempty"`
	NumItems uint32                             `protobuf:"varint,2,opt,name=numItems,proto3" json:"numItems,omitempty"`
	NumEdges uint32                             `protobuf:"varint,3,opt,name=numEdges,proto3" json:"numEdges,omitempty"`
	// A list of errors that were encountered as part of calculating the blast
	// radius. These should only be populated if the state is `STATE_DONE` to
	// avoid sending them repeatedly
	Errors []string `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*CalculateBlastRadiusResponse) Descriptor deprecated added in v0.27.0

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

Deprecated: Use CalculateBlastRadiusResponse.ProtoReflect.Descriptor instead.

func (*CalculateBlastRadiusResponse) GetErrors added in v0.66.0

func (x *CalculateBlastRadiusResponse) GetErrors() []string

func (*CalculateBlastRadiusResponse) GetNumEdges added in v0.27.0

func (x *CalculateBlastRadiusResponse) GetNumEdges() uint32

func (*CalculateBlastRadiusResponse) GetNumItems added in v0.27.0

func (x *CalculateBlastRadiusResponse) GetNumItems() uint32

func (*CalculateBlastRadiusResponse) GetState added in v0.27.0

func (*CalculateBlastRadiusResponse) ProtoMessage added in v0.27.0

func (*CalculateBlastRadiusResponse) ProtoMessage()

func (*CalculateBlastRadiusResponse) ProtoReflect added in v0.27.0

func (*CalculateBlastRadiusResponse) Reset added in v0.27.0

func (x *CalculateBlastRadiusResponse) Reset()

func (*CalculateBlastRadiusResponse) String added in v0.27.0

type CalculateBlastRadiusResponse_State added in v0.27.0

type CalculateBlastRadiusResponse_State int32
const (
	// No state has been specified
	CalculateBlastRadiusResponse_STATE_UNSPECIFIED CalculateBlastRadiusResponse_State = 0
	// The blast radius is being calculated.
	CalculateBlastRadiusResponse_STATE_DISCOVERING CalculateBlastRadiusResponse_State = 1
	// The blast radius has been calculated and is being saved
	CalculateBlastRadiusResponse_STATE_SAVING CalculateBlastRadiusResponse_State = 2
	// Determining which apps are within the blast radius
	CalculateBlastRadiusResponse_STATE_FINDING_APPS CalculateBlastRadiusResponse_State = 3
	// Everything is complete
	CalculateBlastRadiusResponse_STATE_DONE CalculateBlastRadiusResponse_State = 4
)

func (CalculateBlastRadiusResponse_State) Descriptor added in v0.27.0

func (CalculateBlastRadiusResponse_State) Enum added in v0.27.0

func (CalculateBlastRadiusResponse_State) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use CalculateBlastRadiusResponse_State.Descriptor instead.

func (CalculateBlastRadiusResponse_State) Number added in v0.27.0

func (CalculateBlastRadiusResponse_State) String added in v0.27.0

func (CalculateBlastRadiusResponse_State) Type added in v0.27.0

type CancelQuery added in v0.18.0

type CancelQuery struct {

	// UUID of the Query to cancel
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

The message signals that the Query with the corresponding UUID should be cancelled. Work should stop immediately, and a final response should be sent with a state of CANCELLED to acknowledge that the query has ended due to a cancellation

func (*CancelQuery) Copy added in v0.18.0

func (c *CancelQuery) Copy(dest *CancelQuery)

Copy copies all information from one CancelQuery pointer to another

func (*CancelQuery) Descriptor deprecated added in v0.18.0

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

Deprecated: Use CancelQuery.ProtoReflect.Descriptor instead.

func (*CancelQuery) GetUUID added in v0.18.0

func (x *CancelQuery) GetUUID() []byte

func (*CancelQuery) GetUUIDParsed added in v0.46.0

func (x *CancelQuery) GetUUIDParsed() *uuid.UUID

func (*CancelQuery) ProtoMessage added in v0.18.0

func (*CancelQuery) ProtoMessage()

func (*CancelQuery) ProtoReflect added in v0.18.0

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

func (*CancelQuery) Reset added in v0.18.0

func (x *CancelQuery) Reset()

func (*CancelQuery) String added in v0.18.0

func (x *CancelQuery) String() string

type Change added in v0.23.0

type Change struct {

	// machine-generated metadata of this change
	Metadata *ChangeMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// user-supplied properties of this change
	Properties *ChangeProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

a complete Change with machine-supplied and user-supplied values

func (*Change) Descriptor deprecated added in v0.23.0

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

Deprecated: Use Change.ProtoReflect.Descriptor instead.

func (*Change) GetMetadata added in v0.23.0

func (x *Change) GetMetadata() *ChangeMetadata

func (*Change) GetProperties added in v0.23.0

func (x *Change) GetProperties() *ChangeProperties

func (*Change) ProtoMessage added in v0.23.0

func (*Change) ProtoMessage()

func (*Change) ProtoReflect added in v0.23.0

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

func (*Change) Reset added in v0.23.0

func (x *Change) Reset()

func (*Change) String added in v0.23.0

func (x *Change) String() string

func (*Change) ToMap added in v0.44.5

func (c *Change) ToMap() map[string]any

type ChangeArchive added in v0.58.2

type ChangeArchive struct {
	Change                *Change                `protobuf:"bytes,1,opt,name=Change,proto3" json:"Change,omitempty"`
	ChangingItemsBookmark *Bookmark              `protobuf:"bytes,2,opt,name=changingItemsBookmark,proto3,oneof" json:"changingItemsBookmark,omitempty"`
	BlastRadiusSnapshot   *Snapshot              `protobuf:"bytes,3,opt,name=blastRadiusSnapshot,proto3,oneof" json:"blastRadiusSnapshot,omitempty"`
	SystemBeforeSnapshot  *Snapshot              `protobuf:"bytes,4,opt,name=systemBeforeSnapshot,proto3,oneof" json:"systemBeforeSnapshot,omitempty"`
	SystemAfterSnapshot   *Snapshot              `protobuf:"bytes,5,opt,name=systemAfterSnapshot,proto3,oneof" json:"systemAfterSnapshot,omitempty"`
	AffectedApps          []*App                 `protobuf:"bytes,6,rep,name=affectedApps,proto3" json:"affectedApps,omitempty"`
	Timeline              []*ChangeTimelineEntry `protobuf:"bytes,7,rep,name=timeline,proto3" json:"timeline,omitempty"`
	ChangeRiskMetadata    *ChangeRiskMetadata    `protobuf:"bytes,8,opt,name=changeRiskMetadata,proto3" json:"changeRiskMetadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeArchive) Descriptor deprecated added in v0.58.2

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

Deprecated: Use ChangeArchive.ProtoReflect.Descriptor instead.

func (*ChangeArchive) GetAffectedApps added in v0.58.2

func (x *ChangeArchive) GetAffectedApps() []*App

func (*ChangeArchive) GetBlastRadiusSnapshot added in v0.58.2

func (x *ChangeArchive) GetBlastRadiusSnapshot() *Snapshot

func (*ChangeArchive) GetChange added in v0.58.2

func (x *ChangeArchive) GetChange() *Change

func (*ChangeArchive) GetChangeRiskMetadata added in v0.65.0

func (x *ChangeArchive) GetChangeRiskMetadata() *ChangeRiskMetadata

func (*ChangeArchive) GetChangingItemsBookmark added in v0.58.2

func (x *ChangeArchive) GetChangingItemsBookmark() *Bookmark

func (*ChangeArchive) GetSystemAfterSnapshot added in v0.58.2

func (x *ChangeArchive) GetSystemAfterSnapshot() *Snapshot

func (*ChangeArchive) GetSystemBeforeSnapshot added in v0.58.2

func (x *ChangeArchive) GetSystemBeforeSnapshot() *Snapshot

func (*ChangeArchive) GetTimeline added in v0.58.2

func (x *ChangeArchive) GetTimeline() []*ChangeTimelineEntry

func (*ChangeArchive) ProtoMessage added in v0.58.2

func (*ChangeArchive) ProtoMessage()

func (*ChangeArchive) ProtoReflect added in v0.58.2

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

func (*ChangeArchive) Reset added in v0.58.2

func (x *ChangeArchive) Reset()

func (*ChangeArchive) String added in v0.58.2

func (x *ChangeArchive) String() string

type ChangeMetadata added in v0.23.0

type ChangeMetadata struct {

	// unique id to identify this change
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// timestamp when this change was created
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// timestamp when this change was last updated
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// The current status of this change. This is changed by the lifecycle
	// functions such as `StartChange` and `EndChange`.
	Status ChangeStatus `protobuf:"varint,4,opt,name=status,proto3,enum=changes.ChangeStatus" json:"status,omitempty"`
	// The name of the user that created the change
	CreatorName string `protobuf:"bytes,5,opt,name=creatorName,proto3" json:"creatorName,omitempty"`
	// The number of apps that will be affected by this change
	NumAffectedApps int32 `protobuf:"varint,6,opt,name=numAffectedApps,proto3" json:"numAffectedApps,omitempty"`
	// The number of items in the blast radius if this change
	NumAffectedItems int32 `protobuf:"varint,7,opt,name=numAffectedItems,proto3" json:"numAffectedItems,omitempty"`
	// The number of edges in the blast radius if this change
	NumAffectedEdges int32 `protobuf:"varint,17,opt,name=numAffectedEdges,proto3" json:"numAffectedEdges,omitempty"`
	// The number of items within the blast radius that were not affected by this
	// change
	NumUnchangedItems int32 `protobuf:"varint,8,opt,name=numUnchangedItems,proto3" json:"numUnchangedItems,omitempty"`
	// The number of items that were created as part of this change
	NumCreatedItems int32 `protobuf:"varint,9,opt,name=numCreatedItems,proto3" json:"numCreatedItems,omitempty"`
	// The number of items that were updated as part of this change
	NumUpdatedItems int32 `protobuf:"varint,10,opt,name=numUpdatedItems,proto3" json:"numUpdatedItems,omitempty"`
	// The number of items that were replaced as part of this change
	NumReplacedItems int32 `protobuf:"varint,18,opt,name=numReplacedItems,proto3" json:"numReplacedItems,omitempty"`
	// The number of items that were deleted as part of this change
	NumDeletedItems     int32                        `protobuf:"varint,11,opt,name=numDeletedItems,proto3" json:"numDeletedItems,omitempty"`
	UnknownHealthChange *ChangeMetadata_HealthChange `protobuf:"bytes,12,opt,name=UnknownHealthChange,proto3" json:"UnknownHealthChange,omitempty"`
	OkHealthChange      *ChangeMetadata_HealthChange `protobuf:"bytes,13,opt,name=OkHealthChange,proto3" json:"OkHealthChange,omitempty"`
	WarningHealthChange *ChangeMetadata_HealthChange `protobuf:"bytes,14,opt,name=WarningHealthChange,proto3" json:"WarningHealthChange,omitempty"`
	ErrorHealthChange   *ChangeMetadata_HealthChange `protobuf:"bytes,15,opt,name=ErrorHealthChange,proto3" json:"ErrorHealthChange,omitempty"`
	PendingHealthChange *ChangeMetadata_HealthChange `protobuf:"bytes,16,opt,name=PendingHealthChange,proto3" json:"PendingHealthChange,omitempty"`
	// contains filtered or unexported fields
}

machine-generated metadata of this change

func (*ChangeMetadata) Descriptor deprecated added in v0.23.0

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

Deprecated: Use ChangeMetadata.ProtoReflect.Descriptor instead.

func (*ChangeMetadata) GetCreatedAt added in v0.26.2

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

func (*ChangeMetadata) GetCreatorName added in v0.31.0

func (x *ChangeMetadata) GetCreatorName() string

func (*ChangeMetadata) GetErrorHealthChange added in v0.31.0

func (x *ChangeMetadata) GetErrorHealthChange() *ChangeMetadata_HealthChange

func (*ChangeMetadata) GetNumAffectedApps added in v0.31.0

func (x *ChangeMetadata) GetNumAffectedApps() int32

func (*ChangeMetadata) GetNumAffectedEdges added in v0.48.0

func (x *ChangeMetadata) GetNumAffectedEdges() int32

func (*ChangeMetadata) GetNumAffectedItems added in v0.31.0

func (x *ChangeMetadata) GetNumAffectedItems() int32

func (*ChangeMetadata) GetNumCreatedItems added in v0.31.0

func (x *ChangeMetadata) GetNumCreatedItems() int32

func (*ChangeMetadata) GetNumDeletedItems added in v0.31.0

func (x *ChangeMetadata) GetNumDeletedItems() int32

func (*ChangeMetadata) GetNumReplacedItems added in v0.54.1

func (x *ChangeMetadata) GetNumReplacedItems() int32

func (*ChangeMetadata) GetNumUnchangedItems added in v0.31.0

func (x *ChangeMetadata) GetNumUnchangedItems() int32

func (*ChangeMetadata) GetNumUpdatedItems added in v0.31.0

func (x *ChangeMetadata) GetNumUpdatedItems() int32

func (*ChangeMetadata) GetOkHealthChange added in v0.31.0

func (x *ChangeMetadata) GetOkHealthChange() *ChangeMetadata_HealthChange

func (*ChangeMetadata) GetPendingHealthChange added in v0.31.0

func (x *ChangeMetadata) GetPendingHealthChange() *ChangeMetadata_HealthChange

func (*ChangeMetadata) GetStatus added in v0.28.0

func (x *ChangeMetadata) GetStatus() ChangeStatus

func (*ChangeMetadata) GetUUID added in v0.23.0

func (x *ChangeMetadata) GetUUID() []byte

func (*ChangeMetadata) GetUUIDParsed added in v0.26.2

func (a *ChangeMetadata) GetUUIDParsed() *uuid.UUID

func (*ChangeMetadata) GetUnknownHealthChange added in v0.31.0

func (x *ChangeMetadata) GetUnknownHealthChange() *ChangeMetadata_HealthChange

func (*ChangeMetadata) GetUpdatedAt added in v0.26.2

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

func (*ChangeMetadata) GetWarningHealthChange added in v0.31.0

func (x *ChangeMetadata) GetWarningHealthChange() *ChangeMetadata_HealthChange

func (*ChangeMetadata) ProtoMessage added in v0.23.0

func (*ChangeMetadata) ProtoMessage()

func (*ChangeMetadata) ProtoReflect added in v0.23.0

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

func (*ChangeMetadata) Reset added in v0.23.0

func (x *ChangeMetadata) Reset()

func (*ChangeMetadata) String added in v0.23.0

func (x *ChangeMetadata) String() string

func (*ChangeMetadata) ToMap added in v0.44.5

func (cm *ChangeMetadata) ToMap() map[string]any

type ChangeMetadata_HealthChange added in v0.31.0

type ChangeMetadata_HealthChange struct {

	// The number of items that were added to this health state as part of the
	// change
	Added int32 `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"`
	// The number of items that were removed them this health state as part of
	// the change
	Removed int32 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"`
	// The final number of items that were in this health state
	FinalTotal int32 `protobuf:"varint,3,opt,name=finalTotal,proto3" json:"finalTotal,omitempty"`
	// contains filtered or unexported fields
}

Represents the current state of a given health state, and the amount that it has changed. This doesn't just look at the change in total number of items, but also the number of items that have been added and removed, even if they were to add to the same number

func (*ChangeMetadata_HealthChange) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ChangeMetadata_HealthChange.ProtoReflect.Descriptor instead.

func (*ChangeMetadata_HealthChange) GetAdded added in v0.31.0

func (x *ChangeMetadata_HealthChange) GetAdded() int32

func (*ChangeMetadata_HealthChange) GetFinalTotal added in v0.31.0

func (x *ChangeMetadata_HealthChange) GetFinalTotal() int32

func (*ChangeMetadata_HealthChange) GetRemoved added in v0.31.0

func (x *ChangeMetadata_HealthChange) GetRemoved() int32

func (*ChangeMetadata_HealthChange) ProtoMessage added in v0.31.0

func (*ChangeMetadata_HealthChange) ProtoMessage()

func (*ChangeMetadata_HealthChange) ProtoReflect added in v0.31.0

func (*ChangeMetadata_HealthChange) Reset added in v0.31.0

func (x *ChangeMetadata_HealthChange) Reset()

func (*ChangeMetadata_HealthChange) String added in v0.31.0

func (x *ChangeMetadata_HealthChange) String() string

type ChangeProperties added in v0.23.0

type ChangeProperties struct {

	// Short title for this change.
	// Example: "database upgrade"
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Quick description of the change.
	// Example: "upgrade of the database to get access to the new contoso management processor"
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Link to the ticket for this change.
	// Example: "http://jira.contoso-engineering.com/browse/CM-1337"
	TicketLink string `protobuf:"bytes,4,opt,name=ticketLink,proto3" json:"ticketLink,omitempty"`
	// The owner of this change.
	// Example: Susan
	Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	// A comma-separated list of emails to keep updated with the status of this change.
	// Example: susan@contoso.com, jimmy@contoso.com
	CcEmails string `protobuf:"bytes,6,opt,name=ccEmails,proto3" json:"ccEmails,omitempty"`
	// UUID of a bookmark for the item queries of the items *directly* affected by
	// this change. This might be parsed from a terraform plan, added from the API,
	// parsed from a freeform ticket description etc.
	ChangingItemsBookmarkUUID []byte `protobuf:"bytes,7,opt,name=changingItemsBookmarkUUID,proto3" json:"changingItemsBookmarkUUID,omitempty"`
	// UUID of a snapshot for the item queries of the items *indirectly* affected
	// by this change i.e. the blast radius. The initial selection will be determined
	// automatically based off changingItemsBookmark, but can refined by the user.
	BlastRadiusSnapshotUUID []byte `protobuf:"bytes,11,opt,name=blastRadiusSnapshotUUID,proto3" json:"blastRadiusSnapshotUUID,omitempty"`
	// UUID of the whole-system snapshot created before the change has started.
	SystemBeforeSnapshotUUID []byte `protobuf:"bytes,8,opt,name=systemBeforeSnapshotUUID,proto3" json:"systemBeforeSnapshotUUID,omitempty"`
	// UUID of the whole-system snapshot created after the change has finished.
	SystemAfterSnapshotUUID []byte `protobuf:"bytes,9,opt,name=systemAfterSnapshotUUID,proto3" json:"systemAfterSnapshotUUID,omitempty"`
	// list of UUIDs for apps affected by this change.
	AffectedAppsUUID [][]byte `protobuf:"bytes,10,rep,name=affectedAppsUUID,proto3" json:"affectedAppsUUID,omitempty"`
	// a list of item diffs that were planned to be changed as part of this change. For all items that we could map, the ItemDiff.Reference will be set to the actual item found.
	PlannedChanges []*ItemDiff `protobuf:"bytes,12,rep,name=plannedChanges,proto3" json:"plannedChanges,omitempty"`
	// The raw plan output for calculating the change's risks.
	RawPlan string `protobuf:"bytes,13,opt,name=rawPlan,proto3" json:"rawPlan,omitempty"`
	// The code changes of this change for calculating the change's risks.
	CodeChanges string `protobuf:"bytes,14,opt,name=codeChanges,proto3" json:"codeChanges,omitempty"`
	// contains filtered or unexported fields
}

user-supplied properties of this change

func (*ChangeProperties) Descriptor deprecated added in v0.23.0

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

Deprecated: Use ChangeProperties.ProtoReflect.Descriptor instead.

func (*ChangeProperties) GetAffectedAppsUUID added in v0.23.0

func (x *ChangeProperties) GetAffectedAppsUUID() [][]byte

func (*ChangeProperties) GetBlastRadiusSnapshotUUID added in v0.31.0

func (x *ChangeProperties) GetBlastRadiusSnapshotUUID() []byte

func (*ChangeProperties) GetCcEmails added in v0.23.0

func (x *ChangeProperties) GetCcEmails() string

func (*ChangeProperties) GetChangingItemsBookmarkUUID added in v0.31.0

func (x *ChangeProperties) GetChangingItemsBookmarkUUID() []byte

func (*ChangeProperties) GetChangingItemsBookmarkUUIDParsed added in v0.32.0

func (a *ChangeProperties) GetChangingItemsBookmarkUUIDParsed() *uuid.UUID

func (*ChangeProperties) GetCodeChanges added in v0.58.1

func (x *ChangeProperties) GetCodeChanges() string

func (*ChangeProperties) GetDescription added in v0.23.0

func (x *ChangeProperties) GetDescription() string

func (*ChangeProperties) GetOwner added in v0.23.0

func (x *ChangeProperties) GetOwner() string

func (*ChangeProperties) GetPlannedChanges added in v0.55.0

func (x *ChangeProperties) GetPlannedChanges() []*ItemDiff

func (*ChangeProperties) GetRawPlan added in v0.58.1

func (x *ChangeProperties) GetRawPlan() string

func (*ChangeProperties) GetSystemAfterSnapshotUUID added in v0.23.0

func (x *ChangeProperties) GetSystemAfterSnapshotUUID() []byte

func (*ChangeProperties) GetSystemAfterSnapshotUUIDParsed added in v0.26.2

func (a *ChangeProperties) GetSystemAfterSnapshotUUIDParsed() *uuid.UUID

func (*ChangeProperties) GetSystemBeforeSnapshotUUID added in v0.23.0

func (x *ChangeProperties) GetSystemBeforeSnapshotUUID() []byte

func (*ChangeProperties) GetSystemBeforeSnapshotUUIDParsed added in v0.26.2

func (a *ChangeProperties) GetSystemBeforeSnapshotUUIDParsed() *uuid.UUID
func (x *ChangeProperties) GetTicketLink() string

func (*ChangeProperties) GetTitle added in v0.23.0

func (x *ChangeProperties) GetTitle() string

func (*ChangeProperties) ProtoMessage added in v0.23.0

func (*ChangeProperties) ProtoMessage()

func (*ChangeProperties) ProtoReflect added in v0.23.0

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

func (*ChangeProperties) Reset added in v0.23.0

func (x *ChangeProperties) Reset()

func (*ChangeProperties) String added in v0.23.0

func (x *ChangeProperties) String() string

func (*ChangeProperties) ToMap added in v0.44.5

func (cp *ChangeProperties) ToMap() map[string]any

type ChangeRiskMetadata added in v0.65.0

type ChangeRiskMetadata struct {

	// The status of the risk calculation
	RiskCalculationStatus *RiskCalculationStatus `protobuf:"bytes,1,opt,name=riskCalculationStatus,proto3" json:"riskCalculationStatus,omitempty"`
	// The risks that are related to this change
	Risks []*Risk `protobuf:"bytes,5,rep,name=risks,proto3" json:"risks,omitempty"`
	// The number of low risks in this change
	NumLowRisk int32 `protobuf:"varint,6,opt,name=numLowRisk,proto3" json:"numLowRisk,omitempty"`
	// The number of medium risks in this change
	NumMediumRisk int32 `protobuf:"varint,7,opt,name=numMediumRisk,proto3" json:"numMediumRisk,omitempty"`
	// The number of high risks in this change
	NumHighRisk int32 `protobuf:"varint,8,opt,name=numHighRisk,proto3" json:"numHighRisk,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeRiskMetadata) Descriptor deprecated added in v0.65.0

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

Deprecated: Use ChangeRiskMetadata.ProtoReflect.Descriptor instead.

func (*ChangeRiskMetadata) GetNumHighRisk added in v0.65.0

func (x *ChangeRiskMetadata) GetNumHighRisk() int32

func (*ChangeRiskMetadata) GetNumLowRisk added in v0.65.0

func (x *ChangeRiskMetadata) GetNumLowRisk() int32

func (*ChangeRiskMetadata) GetNumMediumRisk added in v0.65.0

func (x *ChangeRiskMetadata) GetNumMediumRisk() int32

func (*ChangeRiskMetadata) GetRiskCalculationStatus added in v0.65.0

func (x *ChangeRiskMetadata) GetRiskCalculationStatus() *RiskCalculationStatus

func (*ChangeRiskMetadata) GetRisks added in v0.65.0

func (x *ChangeRiskMetadata) GetRisks() []*Risk

func (*ChangeRiskMetadata) ProtoMessage added in v0.65.0

func (*ChangeRiskMetadata) ProtoMessage()

func (*ChangeRiskMetadata) ProtoReflect added in v0.65.0

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

func (*ChangeRiskMetadata) Reset added in v0.65.0

func (x *ChangeRiskMetadata) Reset()

func (*ChangeRiskMetadata) String added in v0.65.0

func (x *ChangeRiskMetadata) String() string

type ChangeStatus added in v0.23.0

type ChangeStatus int32
const (
	// The change has been created, but the blast radius has not yet been
	// calculated. The blast radius can be calculated using the
	// `CalculateBlastRadius` RPC.
	ChangeStatus_CHANGE_STATUS_UNSPECIFIED ChangeStatus = 0
	// The blast radius has been calculated, but the change has not yet started.
	// The change can be started using the `StartChange` RPC.
	ChangeStatus_CHANGE_STATUS_DEFINING ChangeStatus = 1
	// The change is in progress. The change can be ended using the `EndChange`
	// RPC.
	ChangeStatus_CHANGE_STATUS_HAPPENING ChangeStatus = 2
	// The change has been ended, but the results have not yet been processed.
	ChangeStatus_CHANGE_STATUS_PROCESSING ChangeStatus = 3
	// The change has been ended and the results have been processed.
	ChangeStatus_CHANGE_STATUS_DONE ChangeStatus = 4
)

func (ChangeStatus) Descriptor added in v0.23.0

func (ChangeStatus) Enum added in v0.23.0

func (x ChangeStatus) Enum() *ChangeStatus

func (ChangeStatus) EnumDescriptor deprecated added in v0.23.0

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

Deprecated: Use ChangeStatus.Descriptor instead.

func (ChangeStatus) Number added in v0.23.0

func (ChangeStatus) String added in v0.23.0

func (x ChangeStatus) String() string

func (ChangeStatus) Type added in v0.23.0

type ChangeSummary added in v0.31.0

type ChangeSummary struct {

	// unique id to identify this change
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// Short title for this change.
	// Example: "database upgrade"
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The current status of this change. This is changed by the lifecycle
	// functions such as `StartChange` and `EndChange`.
	Status ChangeStatus `protobuf:"varint,3,opt,name=status,proto3,enum=changes.ChangeStatus" json:"status,omitempty"`
	// Link to the ticket for this change.
	// Example: "http://jira.contoso-engineering.com/browse/CM-1337"
	TicketLink string `protobuf:"bytes,4,opt,name=ticketLink,proto3" json:"ticketLink,omitempty"`
	// timestamp when this change was created
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// The name of the user that created the change
	CreatorName string `protobuf:"bytes,6,opt,name=creatorName,proto3" json:"creatorName,omitempty"`
	// The number of apps that will be affected by this change
	NumAffectedApps int32 `protobuf:"varint,8,opt,name=numAffectedApps,proto3" json:"numAffectedApps,omitempty"`
	// The number of items in the blast radius of this change
	NumAffectedItems int32 `protobuf:"varint,9,opt,name=numAffectedItems,proto3" json:"numAffectedItems,omitempty"`
	// The number of edges in the blast radius of this change
	NumAffectedEdges int32 `protobuf:"varint,10,opt,name=numAffectedEdges,proto3" json:"numAffectedEdges,omitempty"`
	// The number of low risks in this change
	NumLowRisk int32 `protobuf:"varint,11,opt,name=numLowRisk,proto3" json:"numLowRisk,omitempty"`
	// The number of medium risks in this change
	NumMediumRisk int32 `protobuf:"varint,12,opt,name=numMediumRisk,proto3" json:"numMediumRisk,omitempty"`
	// The number of high risks in this change
	NumHighRisk int32 `protobuf:"varint,13,opt,name=numHighRisk,proto3" json:"numHighRisk,omitempty"`
	// Quick description of the change.
	// Example: "upgrade of the database to get access to the new contoso management processor"
	Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

A smaller summary of a change

func (*ChangeSummary) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ChangeSummary.ProtoReflect.Descriptor instead.

func (*ChangeSummary) GetCreatedAt added in v0.31.0

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

func (*ChangeSummary) GetCreatorName added in v0.31.0

func (x *ChangeSummary) GetCreatorName() string

func (*ChangeSummary) GetDescription added in v0.66.2

func (x *ChangeSummary) GetDescription() string

func (*ChangeSummary) GetNumAffectedApps added in v0.31.0

func (x *ChangeSummary) GetNumAffectedApps() int32

func (*ChangeSummary) GetNumAffectedEdges added in v0.48.0

func (x *ChangeSummary) GetNumAffectedEdges() int32

func (*ChangeSummary) GetNumAffectedItems added in v0.31.0

func (x *ChangeSummary) GetNumAffectedItems() int32

func (*ChangeSummary) GetNumHighRisk added in v0.57.0

func (x *ChangeSummary) GetNumHighRisk() int32

func (*ChangeSummary) GetNumLowRisk added in v0.57.0

func (x *ChangeSummary) GetNumLowRisk() int32

func (*ChangeSummary) GetNumMediumRisk added in v0.57.0

func (x *ChangeSummary) GetNumMediumRisk() int32

func (*ChangeSummary) GetStatus added in v0.31.0

func (x *ChangeSummary) GetStatus() ChangeStatus
func (x *ChangeSummary) GetTicketLink() string

func (*ChangeSummary) GetTitle added in v0.31.0

func (x *ChangeSummary) GetTitle() string

func (*ChangeSummary) GetUUID added in v0.31.0

func (x *ChangeSummary) GetUUID() []byte

func (*ChangeSummary) ProtoMessage added in v0.31.0

func (*ChangeSummary) ProtoMessage()

func (*ChangeSummary) ProtoReflect added in v0.31.0

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

func (*ChangeSummary) Reset added in v0.31.0

func (x *ChangeSummary) Reset()

func (*ChangeSummary) String added in v0.31.0

func (x *ChangeSummary) String() string

type ChangeTimelineEntry added in v0.40.0

type ChangeTimelineEntry struct {

	// The status that this event should be associated with. Usually this would be
	// the status that the changed ended up in as a result of this action
	Status ChangeStatus `protobuf:"varint,1,opt,name=status,proto3,enum=changes.ChangeStatus" json:"status,omitempty"`
	// The message that describes this event
	StatusMessage string `protobuf:"bytes,2,opt,name=statusMessage,proto3" json:"statusMessage,omitempty"`
	// The time that this event happened
	HappenedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=happenedAt,proto3" json:"happenedAt,omitempty"`
	// The name of the user that performed this action
	ActorName string `protobuf:"bytes,4,opt,name=actorName,proto3" json:"actorName,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeTimelineEntry) Descriptor deprecated added in v0.40.0

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

Deprecated: Use ChangeTimelineEntry.ProtoReflect.Descriptor instead.

func (*ChangeTimelineEntry) GetActorName added in v0.40.0

func (x *ChangeTimelineEntry) GetActorName() string

func (*ChangeTimelineEntry) GetHappenedAt added in v0.40.0

func (x *ChangeTimelineEntry) GetHappenedAt() *timestamppb.Timestamp

func (*ChangeTimelineEntry) GetStatus added in v0.40.0

func (x *ChangeTimelineEntry) GetStatus() ChangeStatus

func (*ChangeTimelineEntry) GetStatusMessage added in v0.40.0

func (x *ChangeTimelineEntry) GetStatusMessage() string

func (*ChangeTimelineEntry) ProtoMessage added in v0.40.0

func (*ChangeTimelineEntry) ProtoMessage()

func (*ChangeTimelineEntry) ProtoReflect added in v0.40.0

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

func (*ChangeTimelineEntry) Reset added in v0.40.0

func (x *ChangeTimelineEntry) Reset()

func (*ChangeTimelineEntry) String added in v0.40.0

func (x *ChangeTimelineEntry) String() string

type CompareError

type CompareError Item

CompareError is returned when two Items cannot be compared because their UniqueAttributeValue() is not sortable

func (*CompareError) Error

func (c *CompareError) Error() string

Error returns the string when the error is handled

type Comparer

type Comparer interface {
	Compare(b *Item) int
}

Comparer is an object that can be compared for the ourposes of sorting. Basically anything that implements this interface is sortable

type CreateAPIKeyRequest added in v0.34.3

type CreateAPIKeyRequest struct {

	// The name of the key to create
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The scopes that the key should have
	Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// The URL that the user should be redirected to after the whole process is
	// over. This should be a page in the frontend, probably the one they
	// started from, but could also be a detail page for this particular API key
	FinalFrontendRedirect string `protobuf:"bytes,3,opt,name=finalFrontendRedirect,proto3" json:"finalFrontendRedirect,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAPIKeyRequest) Descriptor deprecated added in v0.34.3

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

Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateAPIKeyRequest) GetFinalFrontendRedirect added in v0.34.3

func (x *CreateAPIKeyRequest) GetFinalFrontendRedirect() string

func (*CreateAPIKeyRequest) GetName added in v0.34.3

func (x *CreateAPIKeyRequest) GetName() string

func (*CreateAPIKeyRequest) GetScopes added in v0.34.3

func (x *CreateAPIKeyRequest) GetScopes() []string

func (*CreateAPIKeyRequest) ProtoMessage added in v0.34.3

func (*CreateAPIKeyRequest) ProtoMessage()

func (*CreateAPIKeyRequest) ProtoReflect added in v0.34.3

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

func (*CreateAPIKeyRequest) Reset added in v0.34.3

func (x *CreateAPIKeyRequest) Reset()

func (*CreateAPIKeyRequest) String added in v0.34.3

func (x *CreateAPIKeyRequest) String() string

type CreateAPIKeyResponse added in v0.34.3

type CreateAPIKeyResponse struct {

	// Details of the newly created API Key
	Key *APIKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The URL that the user should visit in order to authorize the newly
	// created key. This will allow Auth0 to generate a code that will be passed
	// to the API server via a callback. This code is then exchanged by the API
	// server for an access token and refresh token. The user will be redirected
	// back to the frontend once this process is complete.
	//
	// The authorizeURL will contain a `state` paremeter which is a UUID that
	// can be used to look up the API key in the database once the callback is
	// received
	AuthorizeURL string `protobuf:"bytes,2,opt,name=authorizeURL,proto3" json:"authorizeURL,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAPIKeyResponse) Descriptor deprecated added in v0.34.3

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

Deprecated: Use CreateAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateAPIKeyResponse) GetAuthorizeURL added in v0.34.3

func (x *CreateAPIKeyResponse) GetAuthorizeURL() string

func (*CreateAPIKeyResponse) GetKey added in v0.34.3

func (x *CreateAPIKeyResponse) GetKey() *APIKey

func (*CreateAPIKeyResponse) ProtoMessage added in v0.34.3

func (*CreateAPIKeyResponse) ProtoMessage()

func (*CreateAPIKeyResponse) ProtoReflect added in v0.34.3

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

func (*CreateAPIKeyResponse) Reset added in v0.34.3

func (x *CreateAPIKeyResponse) Reset()

func (*CreateAPIKeyResponse) String added in v0.34.3

func (x *CreateAPIKeyResponse) String() string

type CreateAccountRequest added in v0.29.0

type CreateAccountRequest struct {
	Properties *AccountProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetProperties added in v0.29.0

func (x *CreateAccountRequest) GetProperties() *AccountProperties

func (*CreateAccountRequest) ProtoMessage added in v0.29.0

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect added in v0.29.0

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

func (*CreateAccountRequest) Reset added in v0.29.0

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String added in v0.29.0

func (x *CreateAccountRequest) String() string

type CreateAccountResponse added in v0.29.0

type CreateAccountResponse struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetAccount added in v0.29.0

func (x *CreateAccountResponse) GetAccount() *Account

func (*CreateAccountResponse) ProtoMessage added in v0.29.0

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) ProtoReflect added in v0.29.0

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

func (*CreateAccountResponse) Reset added in v0.29.0

func (x *CreateAccountResponse) Reset()

func (*CreateAccountResponse) String added in v0.29.0

func (x *CreateAccountResponse) String() string

type CreateAppRequest added in v0.23.0

type CreateAppRequest struct {
	Properties *AppProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

create a new app

func (*CreateAppRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use CreateAppRequest.ProtoReflect.Descriptor instead.

func (*CreateAppRequest) GetProperties added in v0.24.0

func (x *CreateAppRequest) GetProperties() *AppProperties

func (*CreateAppRequest) ProtoMessage added in v0.23.0

func (*CreateAppRequest) ProtoMessage()

func (*CreateAppRequest) ProtoReflect added in v0.23.0

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

func (*CreateAppRequest) Reset added in v0.23.0

func (x *CreateAppRequest) Reset()

func (*CreateAppRequest) String added in v0.23.0

func (x *CreateAppRequest) String() string

type CreateAppResponse added in v0.23.0

type CreateAppResponse struct {
	App *App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use CreateAppResponse.ProtoReflect.Descriptor instead.

func (*CreateAppResponse) GetApp added in v0.24.0

func (x *CreateAppResponse) GetApp() *App

func (*CreateAppResponse) ProtoMessage added in v0.23.0

func (*CreateAppResponse) ProtoMessage()

func (*CreateAppResponse) ProtoReflect added in v0.23.0

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

func (*CreateAppResponse) Reset added in v0.23.0

func (x *CreateAppResponse) Reset()

func (*CreateAppResponse) String added in v0.23.0

func (x *CreateAppResponse) String() string

type CreateBookmarkRequest added in v0.24.0

type CreateBookmarkRequest struct {
	Properties *BookmarkProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

creates a new bookmark

func (*CreateBookmarkRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use CreateBookmarkRequest.ProtoReflect.Descriptor instead.

func (*CreateBookmarkRequest) GetProperties added in v0.24.0

func (x *CreateBookmarkRequest) GetProperties() *BookmarkProperties

func (*CreateBookmarkRequest) ProtoMessage added in v0.24.0

func (*CreateBookmarkRequest) ProtoMessage()

func (*CreateBookmarkRequest) ProtoReflect added in v0.24.0

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

func (*CreateBookmarkRequest) Reset added in v0.24.0

func (x *CreateBookmarkRequest) Reset()

func (*CreateBookmarkRequest) String added in v0.24.0

func (x *CreateBookmarkRequest) String() string

type CreateBookmarkResponse added in v0.24.0

type CreateBookmarkResponse struct {
	Bookmark *Bookmark `protobuf:"bytes,1,opt,name=bookmark,proto3" json:"bookmark,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBookmarkResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use CreateBookmarkResponse.ProtoReflect.Descriptor instead.

func (*CreateBookmarkResponse) GetBookmark added in v0.24.0

func (x *CreateBookmarkResponse) GetBookmark() *Bookmark

func (*CreateBookmarkResponse) ProtoMessage added in v0.24.0

func (*CreateBookmarkResponse) ProtoMessage()

func (*CreateBookmarkResponse) ProtoReflect added in v0.24.0

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

func (*CreateBookmarkResponse) Reset added in v0.24.0

func (x *CreateBookmarkResponse) Reset()

func (*CreateBookmarkResponse) String added in v0.24.0

func (x *CreateBookmarkResponse) String() string

type CreateChangeRequest added in v0.23.0

type CreateChangeRequest struct {
	Properties *ChangeProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

create a new change

func (*CreateChangeRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use CreateChangeRequest.ProtoReflect.Descriptor instead.

func (*CreateChangeRequest) GetProperties added in v0.24.0

func (x *CreateChangeRequest) GetProperties() *ChangeProperties

func (*CreateChangeRequest) ProtoMessage added in v0.23.0

func (*CreateChangeRequest) ProtoMessage()

func (*CreateChangeRequest) ProtoReflect added in v0.23.0

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

func (*CreateChangeRequest) Reset added in v0.23.0

func (x *CreateChangeRequest) Reset()

func (*CreateChangeRequest) String added in v0.23.0

func (x *CreateChangeRequest) String() string

type CreateChangeResponse added in v0.23.0

type CreateChangeResponse struct {
	Change *Change `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateChangeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use CreateChangeResponse.ProtoReflect.Descriptor instead.

func (*CreateChangeResponse) GetChange added in v0.24.0

func (x *CreateChangeResponse) GetChange() *Change

func (*CreateChangeResponse) ProtoMessage added in v0.23.0

func (*CreateChangeResponse) ProtoMessage()

func (*CreateChangeResponse) ProtoReflect added in v0.23.0

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

func (*CreateChangeResponse) Reset added in v0.23.0

func (x *CreateChangeResponse) Reset()

func (*CreateChangeResponse) String added in v0.23.0

func (x *CreateChangeResponse) String() string

type CreateInviteRequest added in v0.50.0

type CreateInviteRequest struct {
	Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateInviteRequest) Descriptor deprecated added in v0.50.0

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

Deprecated: Use CreateInviteRequest.ProtoReflect.Descriptor instead.

func (*CreateInviteRequest) GetEmails added in v0.50.0

func (x *CreateInviteRequest) GetEmails() []string

func (*CreateInviteRequest) ProtoMessage added in v0.50.0

func (*CreateInviteRequest) ProtoMessage()

func (*CreateInviteRequest) ProtoReflect added in v0.50.0

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

func (*CreateInviteRequest) Reset added in v0.50.0

func (x *CreateInviteRequest) Reset()

func (*CreateInviteRequest) String added in v0.50.0

func (x *CreateInviteRequest) String() string

type CreateInviteResponse added in v0.50.0

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

func (*CreateInviteResponse) Descriptor deprecated added in v0.50.0

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

Deprecated: Use CreateInviteResponse.ProtoReflect.Descriptor instead.

func (*CreateInviteResponse) ProtoMessage added in v0.50.0

func (*CreateInviteResponse) ProtoMessage()

func (*CreateInviteResponse) ProtoReflect added in v0.50.0

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

func (*CreateInviteResponse) Reset added in v0.50.0

func (x *CreateInviteResponse) Reset()

func (*CreateInviteResponse) String added in v0.50.0

func (x *CreateInviteResponse) String() string

type CreateSimpleAppRequest added in v0.31.0

type CreateSimpleAppRequest struct {

	// The name of the app
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the app
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The URL of the app
	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSimpleAppRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use CreateSimpleAppRequest.ProtoReflect.Descriptor instead.

func (*CreateSimpleAppRequest) GetDescription added in v0.31.0

func (x *CreateSimpleAppRequest) GetDescription() string

func (*CreateSimpleAppRequest) GetName added in v0.31.0

func (x *CreateSimpleAppRequest) GetName() string

func (*CreateSimpleAppRequest) GetUrl added in v0.31.0

func (x *CreateSimpleAppRequest) GetUrl() string

func (*CreateSimpleAppRequest) ProtoMessage added in v0.31.0

func (*CreateSimpleAppRequest) ProtoMessage()

func (*CreateSimpleAppRequest) ProtoReflect added in v0.31.0

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

func (*CreateSimpleAppRequest) Reset added in v0.31.0

func (x *CreateSimpleAppRequest) Reset()

func (*CreateSimpleAppRequest) String added in v0.31.0

func (x *CreateSimpleAppRequest) String() string

type CreateSimpleAppResponse added in v0.31.0

type CreateSimpleAppResponse struct {
	App *App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSimpleAppResponse) Descriptor deprecated added in v0.31.0

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

Deprecated: Use CreateSimpleAppResponse.ProtoReflect.Descriptor instead.

func (*CreateSimpleAppResponse) GetApp added in v0.31.0

func (x *CreateSimpleAppResponse) GetApp() *App

func (*CreateSimpleAppResponse) ProtoMessage added in v0.31.0

func (*CreateSimpleAppResponse) ProtoMessage()

func (*CreateSimpleAppResponse) ProtoReflect added in v0.31.0

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

func (*CreateSimpleAppResponse) Reset added in v0.31.0

func (x *CreateSimpleAppResponse) Reset()

func (*CreateSimpleAppResponse) String added in v0.31.0

func (x *CreateSimpleAppResponse) String() string

type CreateSnapshotRequest added in v0.24.0

type CreateSnapshotRequest struct {

	// properties of the new snapshot
	Properties *SnapshotProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

creates a new snapshot

func (*CreateSnapshotRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.

func (*CreateSnapshotRequest) GetProperties added in v0.24.0

func (x *CreateSnapshotRequest) GetProperties() *SnapshotProperties

func (*CreateSnapshotRequest) ProtoMessage added in v0.24.0

func (*CreateSnapshotRequest) ProtoMessage()

func (*CreateSnapshotRequest) ProtoReflect added in v0.24.0

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

func (*CreateSnapshotRequest) Reset added in v0.24.0

func (x *CreateSnapshotRequest) Reset()

func (*CreateSnapshotRequest) String added in v0.24.0

func (x *CreateSnapshotRequest) String() string

type CreateSnapshotResponse added in v0.24.0

type CreateSnapshotResponse struct {

	// the newly created snapshot
	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSnapshotResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use CreateSnapshotResponse.ProtoReflect.Descriptor instead.

func (*CreateSnapshotResponse) GetSnapshot added in v0.24.0

func (x *CreateSnapshotResponse) GetSnapshot() *Snapshot

func (*CreateSnapshotResponse) ProtoMessage added in v0.24.0

func (*CreateSnapshotResponse) ProtoMessage()

func (*CreateSnapshotResponse) ProtoReflect added in v0.24.0

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

func (*CreateSnapshotResponse) Reset added in v0.24.0

func (x *CreateSnapshotResponse) Reset()

func (*CreateSnapshotResponse) String added in v0.24.0

func (x *CreateSnapshotResponse) String() string

type CreateSourceRequest added in v0.29.0

type CreateSourceRequest struct {
	Properties *SourceProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSourceRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use CreateSourceRequest.ProtoReflect.Descriptor instead.

func (*CreateSourceRequest) GetProperties added in v0.29.0

func (x *CreateSourceRequest) GetProperties() *SourceProperties

func (*CreateSourceRequest) ProtoMessage added in v0.29.0

func (*CreateSourceRequest) ProtoMessage()

func (*CreateSourceRequest) ProtoReflect added in v0.29.0

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

func (*CreateSourceRequest) Reset added in v0.29.0

func (x *CreateSourceRequest) Reset()

func (*CreateSourceRequest) String added in v0.29.0

func (x *CreateSourceRequest) String() string

type CreateSourceResponse added in v0.29.0

type CreateSourceResponse struct {
	Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSourceResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use CreateSourceResponse.ProtoReflect.Descriptor instead.

func (*CreateSourceResponse) GetSource added in v0.29.0

func (x *CreateSourceResponse) GetSource() *Source

func (*CreateSourceResponse) ProtoMessage added in v0.29.0

func (*CreateSourceResponse) ProtoMessage()

func (*CreateSourceResponse) ProtoReflect added in v0.29.0

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

func (*CreateSourceResponse) Reset added in v0.29.0

func (x *CreateSourceResponse) Reset()

func (*CreateSourceResponse) String added in v0.29.0

func (x *CreateSourceResponse) String() string

type CreateTokenRequest added in v0.29.0

type CreateTokenRequest struct {

	// The Public NKey of the user that is requesting a token
	UserPublicNkey string `protobuf:"bytes,1,opt,name=userPublicNkey,proto3" json:"userPublicNkey,omitempty"`
	// Friendly user name
	UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateTokenRequest) GetUserName added in v0.29.0

func (x *CreateTokenRequest) GetUserName() string

func (*CreateTokenRequest) GetUserPublicNkey added in v0.29.0

func (x *CreateTokenRequest) GetUserPublicNkey() string

func (*CreateTokenRequest) ProtoMessage added in v0.29.0

func (*CreateTokenRequest) ProtoMessage()

func (*CreateTokenRequest) ProtoReflect added in v0.29.0

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

func (*CreateTokenRequest) Reset added in v0.29.0

func (x *CreateTokenRequest) Reset()

func (*CreateTokenRequest) String added in v0.29.0

func (x *CreateTokenRequest) String() string

type CreateTokenResponse added in v0.29.0

type CreateTokenResponse struct {

	// The JWT as a raw string
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateTokenResponse) GetToken added in v0.29.0

func (x *CreateTokenResponse) GetToken() string

func (*CreateTokenResponse) ProtoMessage added in v0.29.0

func (*CreateTokenResponse) ProtoMessage()

func (*CreateTokenResponse) ProtoReflect added in v0.29.0

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

func (*CreateTokenResponse) Reset added in v0.29.0

func (x *CreateTokenResponse) Reset()

func (*CreateTokenResponse) String added in v0.29.0

func (x *CreateTokenResponse) String() string

type CtxMsgHandler added in v0.15.0

type CtxMsgHandler func(ctx context.Context, msg *nats.Msg)

type CurrentSubjectContextKey added in v0.49.7

type CurrentSubjectContextKey struct{}

CurrentSubjectContextKey is the key that is used to store the current subject attribute. This will be the auth0 `user_id` from the tokens `sub` claim.

type CustomClaims added in v0.22.0

type CustomClaims struct {
	Scope       string `json:"scope"`
	AccountName string `json:"https://api.overmind.tech/account-name"`
}

CustomClaims contains custom data we want from the token.

func (CustomClaims) HasScope added in v0.22.0

func (c CustomClaims) HasScope(expectedScope string) bool

HasScope checks whether our claims have a specific scope.

func (CustomClaims) Validate added in v0.22.0

func (c CustomClaims) Validate(ctx context.Context) error

Validate does nothing for this example, but we need it to satisfy validator.CustomClaims interface.

type CustomClaimsContextKey added in v0.26.0

type CustomClaimsContextKey struct{}

CustomClaimsContextKey is the key that is used to store the custom claims from the JWT

type DeleteAPIKeyRequest added in v0.34.3

type DeleteAPIKeyRequest struct {

	// The UUID of the API key to delete
	Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAPIKeyRequest) Descriptor deprecated added in v0.34.3

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

Deprecated: Use DeleteAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteAPIKeyRequest) GetUuid added in v0.34.3

func (x *DeleteAPIKeyRequest) GetUuid() []byte

func (*DeleteAPIKeyRequest) ProtoMessage added in v0.34.3

func (*DeleteAPIKeyRequest) ProtoMessage()

func (*DeleteAPIKeyRequest) ProtoReflect added in v0.34.3

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

func (*DeleteAPIKeyRequest) Reset added in v0.34.3

func (x *DeleteAPIKeyRequest) Reset()

func (*DeleteAPIKeyRequest) String added in v0.34.3

func (x *DeleteAPIKeyRequest) String() string

type DeleteAPIKeyResponse added in v0.34.3

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

func (*DeleteAPIKeyResponse) Descriptor deprecated added in v0.34.3

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

Deprecated: Use DeleteAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteAPIKeyResponse) ProtoMessage added in v0.34.3

func (*DeleteAPIKeyResponse) ProtoMessage()

func (*DeleteAPIKeyResponse) ProtoReflect added in v0.34.3

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

func (*DeleteAPIKeyResponse) Reset added in v0.34.3

func (x *DeleteAPIKeyResponse) Reset()

func (*DeleteAPIKeyResponse) String added in v0.34.3

func (x *DeleteAPIKeyResponse) String() string

type DeleteAccountRequest added in v0.29.0

type DeleteAccountRequest struct {

	// The name of the account to delete
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAccountRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetName added in v0.29.0

func (x *DeleteAccountRequest) GetName() string

func (*DeleteAccountRequest) ProtoMessage added in v0.29.0

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect added in v0.29.0

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

func (*DeleteAccountRequest) Reset added in v0.29.0

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String added in v0.29.0

func (x *DeleteAccountRequest) String() string

type DeleteAccountResponse added in v0.29.0

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

func (*DeleteAccountResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccountResponse) ProtoMessage added in v0.29.0

func (*DeleteAccountResponse) ProtoMessage()

func (*DeleteAccountResponse) ProtoReflect added in v0.29.0

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

func (*DeleteAccountResponse) Reset added in v0.29.0

func (x *DeleteAccountResponse) Reset()

func (*DeleteAccountResponse) String added in v0.29.0

func (x *DeleteAccountResponse) String() string

type DeleteAppRequest added in v0.23.0

type DeleteAppRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

delete an app

func (*DeleteAppRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use DeleteAppRequest.ProtoReflect.Descriptor instead.

func (*DeleteAppRequest) GetUUID added in v0.23.0

func (x *DeleteAppRequest) GetUUID() []byte

func (*DeleteAppRequest) GetUUIDParsed added in v0.26.2

func (a *DeleteAppRequest) GetUUIDParsed() *uuid.UUID

func (*DeleteAppRequest) ProtoMessage added in v0.23.0

func (*DeleteAppRequest) ProtoMessage()

func (*DeleteAppRequest) ProtoReflect added in v0.23.0

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

func (*DeleteAppRequest) Reset added in v0.23.0

func (x *DeleteAppRequest) Reset()

func (*DeleteAppRequest) String added in v0.23.0

func (x *DeleteAppRequest) String() string

type DeleteAppResponse added in v0.23.0

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

func (*DeleteAppResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use DeleteAppResponse.ProtoReflect.Descriptor instead.

func (*DeleteAppResponse) ProtoMessage added in v0.23.0

func (*DeleteAppResponse) ProtoMessage()

func (*DeleteAppResponse) ProtoReflect added in v0.23.0

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

func (*DeleteAppResponse) Reset added in v0.23.0

func (x *DeleteAppResponse) Reset()

func (*DeleteAppResponse) String added in v0.23.0

func (x *DeleteAppResponse) String() string

type DeleteBookmarkRequest added in v0.22.0

type DeleteBookmarkRequest struct {

	// unique id of the bookmark to delete
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

Delete the bookmark with the specified ID.

func (*DeleteBookmarkRequest) Descriptor deprecated added in v0.22.0

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

Deprecated: Use DeleteBookmarkRequest.ProtoReflect.Descriptor instead.

func (*DeleteBookmarkRequest) GetUUID added in v0.22.0

func (x *DeleteBookmarkRequest) GetUUID() []byte

func (*DeleteBookmarkRequest) ProtoMessage added in v0.22.0

func (*DeleteBookmarkRequest) ProtoMessage()

func (*DeleteBookmarkRequest) ProtoReflect added in v0.22.0

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

func (*DeleteBookmarkRequest) Reset added in v0.22.0

func (x *DeleteBookmarkRequest) Reset()

func (*DeleteBookmarkRequest) String added in v0.22.0

func (x *DeleteBookmarkRequest) String() string

type DeleteBookmarkResponse added in v0.22.0

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

func (*DeleteBookmarkResponse) Descriptor deprecated added in v0.22.0

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

Deprecated: Use DeleteBookmarkResponse.ProtoReflect.Descriptor instead.

func (*DeleteBookmarkResponse) ProtoMessage added in v0.22.0

func (*DeleteBookmarkResponse) ProtoMessage()

func (*DeleteBookmarkResponse) ProtoReflect added in v0.22.0

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

func (*DeleteBookmarkResponse) Reset added in v0.22.0

func (x *DeleteBookmarkResponse) Reset()

func (*DeleteBookmarkResponse) String added in v0.22.0

func (x *DeleteBookmarkResponse) String() string

type DeleteChangeRequest added in v0.23.0

type DeleteChangeRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

delete a change

func (*DeleteChangeRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use DeleteChangeRequest.ProtoReflect.Descriptor instead.

func (*DeleteChangeRequest) GetUUID added in v0.23.0

func (x *DeleteChangeRequest) GetUUID() []byte

func (*DeleteChangeRequest) GetUUIDParsed added in v0.26.2

func (a *DeleteChangeRequest) GetUUIDParsed() *uuid.UUID

func (*DeleteChangeRequest) ProtoMessage added in v0.23.0

func (*DeleteChangeRequest) ProtoMessage()

func (*DeleteChangeRequest) ProtoReflect added in v0.23.0

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

func (*DeleteChangeRequest) Reset added in v0.23.0

func (x *DeleteChangeRequest) Reset()

func (*DeleteChangeRequest) String added in v0.23.0

func (x *DeleteChangeRequest) String() string

type DeleteChangeResponse added in v0.23.0

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

func (*DeleteChangeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use DeleteChangeResponse.ProtoReflect.Descriptor instead.

func (*DeleteChangeResponse) ProtoMessage added in v0.23.0

func (*DeleteChangeResponse) ProtoMessage()

func (*DeleteChangeResponse) ProtoReflect added in v0.23.0

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

func (*DeleteChangeResponse) Reset added in v0.23.0

func (x *DeleteChangeResponse) Reset()

func (*DeleteChangeResponse) String added in v0.23.0

func (x *DeleteChangeResponse) String() string

type DeleteSnapshotRequest added in v0.24.0

type DeleteSnapshotRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

deletes a given snapshot

func (*DeleteSnapshotRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotRequest) GetUUID added in v0.24.0

func (x *DeleteSnapshotRequest) GetUUID() []byte

func (*DeleteSnapshotRequest) ProtoMessage added in v0.24.0

func (*DeleteSnapshotRequest) ProtoMessage()

func (*DeleteSnapshotRequest) ProtoReflect added in v0.24.0

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

func (*DeleteSnapshotRequest) Reset added in v0.24.0

func (x *DeleteSnapshotRequest) Reset()

func (*DeleteSnapshotRequest) String added in v0.24.0

func (x *DeleteSnapshotRequest) String() string

type DeleteSnapshotResponse added in v0.24.0

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

func (*DeleteSnapshotResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use DeleteSnapshotResponse.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotResponse) ProtoMessage added in v0.24.0

func (*DeleteSnapshotResponse) ProtoMessage()

func (*DeleteSnapshotResponse) ProtoReflect added in v0.24.0

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

func (*DeleteSnapshotResponse) Reset added in v0.24.0

func (x *DeleteSnapshotResponse) Reset()

func (*DeleteSnapshotResponse) String added in v0.24.0

func (x *DeleteSnapshotResponse) String() string

type DeleteSourceRequest added in v0.29.0

type DeleteSourceRequest struct {

	// ID if the source to delete
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSourceRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use DeleteSourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteSourceRequest) GetUUID added in v0.29.0

func (x *DeleteSourceRequest) GetUUID() []byte

func (*DeleteSourceRequest) ProtoMessage added in v0.29.0

func (*DeleteSourceRequest) ProtoMessage()

func (*DeleteSourceRequest) ProtoReflect added in v0.29.0

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

func (*DeleteSourceRequest) Reset added in v0.29.0

func (x *DeleteSourceRequest) Reset()

func (*DeleteSourceRequest) String added in v0.29.0

func (x *DeleteSourceRequest) String() string

type DeleteSourceResponse added in v0.29.0

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

func (*DeleteSourceResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use DeleteSourceResponse.ProtoReflect.Descriptor instead.

func (*DeleteSourceResponse) ProtoMessage added in v0.29.0

func (*DeleteSourceResponse) ProtoMessage()

func (*DeleteSourceResponse) ProtoReflect added in v0.29.0

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

func (*DeleteSourceResponse) Reset added in v0.29.0

func (x *DeleteSourceResponse) Reset()

func (*DeleteSourceResponse) String added in v0.29.0

func (x *DeleteSourceResponse) String() string

type Edge added in v0.11.0

type Edge struct {
	From             *Reference        `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To               *Reference        `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	BlastPropagation *BlastPropagation `protobuf:"bytes,3,opt,name=blastPropagation,proto3" json:"blastPropagation,omitempty"`
	// contains filtered or unexported fields
}

Edge Represents a link between two items, it is not used in regular SDP queries as it's up to the client to infer the edges from the LinkedItems field, however request managed by the gateway will explicitly send edges to reduce the processing burden on the client side

func (*Edge) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Edge.ProtoReflect.Descriptor instead.

func (*Edge) GetBlastPropagation added in v0.30.0

func (x *Edge) GetBlastPropagation() *BlastPropagation

func (*Edge) GetFrom added in v0.11.0

func (x *Edge) GetFrom() *Reference

func (*Edge) GetTo added in v0.11.0

func (x *Edge) GetTo() *Reference

func (*Edge) ProtoMessage added in v0.11.0

func (*Edge) ProtoMessage()

func (*Edge) ProtoReflect added in v0.11.0

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

func (*Edge) Reset added in v0.11.0

func (x *Edge) Reset()

func (*Edge) String added in v0.11.0

func (x *Edge) String() string

func (*Edge) Validate added in v0.12.0

func (e *Edge) Validate() error

Validate Ensures an edge is valid

type EncodedConnection added in v0.7.0

type EncodedConnection interface {
	Publish(ctx context.Context, subj string, m proto.Message) error
	PublishMsg(ctx context.Context, msg *nats.Msg) error
	Subscribe(subj string, cb nats.MsgHandler) (*nats.Subscription, error)
	QueueSubscribe(subj, queue string, cb nats.MsgHandler) (*nats.Subscription, error)
	RequestMsg(ctx context.Context, msg *nats.Msg) (*nats.Msg, error)

	Status() nats.Status
	Stats() nats.Statistics
	LastError() error

	Drain() error
	Close()

	Underlying() *nats.Conn
	Drop()
}

EncodedConnection is an interface that allows messages to be published to it. In production this would always be filled by a *nats.EncodedConn, however in testing we will mock this with something that does nothing

type EncodedConnectionImpl added in v0.15.0

type EncodedConnectionImpl struct {
	*nats.Conn
}

func (*EncodedConnectionImpl) Close added in v0.15.0

func (ec *EncodedConnectionImpl) Close()

func (*EncodedConnectionImpl) Drain added in v0.15.0

func (ec *EncodedConnectionImpl) Drain() error

func (*EncodedConnectionImpl) Drop added in v0.15.0

func (ec *EncodedConnectionImpl) Drop()

Drop Drops the underlying connection completely

func (*EncodedConnectionImpl) LastError added in v0.15.0

func (ec *EncodedConnectionImpl) LastError() error

func (*EncodedConnectionImpl) Publish added in v0.15.0

func (ec *EncodedConnectionImpl) Publish(ctx context.Context, subj string, m proto.Message) error

func (*EncodedConnectionImpl) PublishMsg added in v0.15.0

func (ec *EncodedConnectionImpl) PublishMsg(ctx context.Context, msg *nats.Msg) error

func (*EncodedConnectionImpl) QueueSubscribe added in v0.15.0

func (ec *EncodedConnectionImpl) QueueSubscribe(subj, queue string, cb nats.MsgHandler) (*nats.Subscription, error)

QueueSubscribe Use NewMsgHandler to get a nats.MsgHandler with otel propagation and protobuf marshaling

func (*EncodedConnectionImpl) RequestMsg added in v0.15.0

func (ec *EncodedConnectionImpl) RequestMsg(ctx context.Context, msg *nats.Msg) (*nats.Msg, error)

func (*EncodedConnectionImpl) Stats added in v0.15.0

func (ec *EncodedConnectionImpl) Stats() nats.Statistics

func (*EncodedConnectionImpl) Status added in v0.15.0

func (ec *EncodedConnectionImpl) Status() nats.Status

func (*EncodedConnectionImpl) Subscribe added in v0.15.0

func (ec *EncodedConnectionImpl) Subscribe(subj string, cb nats.MsgHandler) (*nats.Subscription, error)

Subscribe Use NewMsgHandler to get a nats.MsgHandler with otel propagation and protobuf marshaling

func (*EncodedConnectionImpl) Underlying added in v0.15.0

func (ec *EncodedConnectionImpl) Underlying() *nats.Conn

type EndChangeRequest added in v0.27.0

type EndChangeRequest struct {
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*EndChangeRequest) Descriptor deprecated added in v0.27.0

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

Deprecated: Use EndChangeRequest.ProtoReflect.Descriptor instead.

func (*EndChangeRequest) GetChangeUUID added in v0.27.0

func (x *EndChangeRequest) GetChangeUUID() []byte

func (*EndChangeRequest) GetChangeUUIDParsed added in v0.46.2

func (x *EndChangeRequest) GetChangeUUIDParsed() *uuid.UUID

func (*EndChangeRequest) ProtoMessage added in v0.27.0

func (*EndChangeRequest) ProtoMessage()

func (*EndChangeRequest) ProtoReflect added in v0.27.0

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

func (*EndChangeRequest) Reset added in v0.27.0

func (x *EndChangeRequest) Reset()

func (*EndChangeRequest) String added in v0.27.0

func (x *EndChangeRequest) String() string

type EndChangeResponse added in v0.27.0

type EndChangeResponse struct {
	State    EndChangeResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=changes.EndChangeResponse_State" json:"state,omitempty"`
	NumItems uint32                  `protobuf:"varint,2,opt,name=numItems,proto3" json:"numItems,omitempty"`
	NumEdges uint32                  `protobuf:"varint,3,opt,name=NumEdges,proto3" json:"NumEdges,omitempty"`
	// contains filtered or unexported fields
}

func (*EndChangeResponse) Descriptor deprecated added in v0.27.0

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

Deprecated: Use EndChangeResponse.ProtoReflect.Descriptor instead.

func (*EndChangeResponse) GetNumEdges added in v0.27.0

func (x *EndChangeResponse) GetNumEdges() uint32

func (*EndChangeResponse) GetNumItems added in v0.27.0

func (x *EndChangeResponse) GetNumItems() uint32

func (*EndChangeResponse) GetState added in v0.27.0

func (*EndChangeResponse) ProtoMessage added in v0.27.0

func (*EndChangeResponse) ProtoMessage()

func (*EndChangeResponse) ProtoReflect added in v0.27.0

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

func (*EndChangeResponse) Reset added in v0.27.0

func (x *EndChangeResponse) Reset()

func (*EndChangeResponse) String added in v0.27.0

func (x *EndChangeResponse) String() string

type EndChangeResponse_State added in v0.27.0

type EndChangeResponse_State int32
const (
	// No state has been specified
	EndChangeResponse_STATE_UNSPECIFIED EndChangeResponse_State = 0
	// Snapshot is being taken
	EndChangeResponse_STATE_TAKING_SNAPSHOT EndChangeResponse_State = 1
	// Snapshot is being saved
	EndChangeResponse_STATE_SAVING_SNAPSHOT EndChangeResponse_State = 2
	// Everything is complete
	EndChangeResponse_STATE_DONE EndChangeResponse_State = 3
)

func (EndChangeResponse_State) Descriptor added in v0.27.0

func (EndChangeResponse_State) Enum added in v0.27.0

func (EndChangeResponse_State) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use EndChangeResponse_State.Descriptor instead.

func (EndChangeResponse_State) Number added in v0.27.0

func (EndChangeResponse_State) String added in v0.27.0

func (x EndChangeResponse_State) String() string

func (EndChangeResponse_State) Type added in v0.27.0

type ExchangeKeyForTokenRequest added in v0.34.3

type ExchangeKeyForTokenRequest struct {

	// The API Key that you want to exchange for an Oauth access token
	ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeKeyForTokenRequest) Descriptor deprecated added in v0.34.3

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

Deprecated: Use ExchangeKeyForTokenRequest.ProtoReflect.Descriptor instead.

func (*ExchangeKeyForTokenRequest) GetApiKey added in v0.34.3

func (x *ExchangeKeyForTokenRequest) GetApiKey() string

func (*ExchangeKeyForTokenRequest) ProtoMessage added in v0.34.3

func (*ExchangeKeyForTokenRequest) ProtoMessage()

func (*ExchangeKeyForTokenRequest) ProtoReflect added in v0.34.3

func (*ExchangeKeyForTokenRequest) Reset added in v0.34.3

func (x *ExchangeKeyForTokenRequest) Reset()

func (*ExchangeKeyForTokenRequest) String added in v0.34.3

func (x *ExchangeKeyForTokenRequest) String() string

type ExchangeKeyForTokenResponse added in v0.34.3

type ExchangeKeyForTokenResponse struct {

	// The access token that can now be use to authenticate to Overmind and its
	// APIs
	AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeKeyForTokenResponse) Descriptor deprecated added in v0.34.3

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

Deprecated: Use ExchangeKeyForTokenResponse.ProtoReflect.Descriptor instead.

func (*ExchangeKeyForTokenResponse) GetAccessToken added in v0.34.3

func (x *ExchangeKeyForTokenResponse) GetAccessToken() string

func (*ExchangeKeyForTokenResponse) ProtoMessage added in v0.34.3

func (*ExchangeKeyForTokenResponse) ProtoMessage()

func (*ExchangeKeyForTokenResponse) ProtoReflect added in v0.34.3

func (*ExchangeKeyForTokenResponse) Reset added in v0.34.3

func (x *ExchangeKeyForTokenResponse) Reset()

func (*ExchangeKeyForTokenResponse) String added in v0.34.3

func (x *ExchangeKeyForTokenResponse) String() string

type Expand added in v0.18.0

type Expand struct {

	// The item that should be expanded
	Item *Reference `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// How many levels of expansion should be run
	LinkDepth uint32 `protobuf:"varint,2,opt,name=linkDepth,proto3" json:"linkDepth,omitempty"`
	// A UUID to uniquely identify the request. This should be stored by the
	// requester as it will be needed later if the requester wants to cancel a
	// request. It should be stored as 128 bytes, as opposed to the textual
	// representation
	UUID []byte `protobuf:"bytes,3,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// The time at which the gateway should stop processing the queries spawned by this request
	Deadline *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deadline,proto3" json:"deadline,omitempty"`
	// contains filtered or unexported fields
}

This requests that the gateway "expands" an item. This involves executing all linked item queries within the session and sending the results to the client. It is recommended that this be used rather than simply sending each linked item request. Using this request type allows the Gateway to save the session more intelligently so that it can be bookmarked and used later. "Expanding" an item will mean an item always acts the same, even if its linked item queries have changed

func (*Expand) Descriptor deprecated added in v0.18.0

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

Deprecated: Use Expand.ProtoReflect.Descriptor instead.

func (*Expand) GetDeadline added in v0.49.5

func (x *Expand) GetDeadline() *timestamppb.Timestamp

func (*Expand) GetItem added in v0.18.0

func (x *Expand) GetItem() *Reference

func (*Expand) GetLinkDepth added in v0.18.0

func (x *Expand) GetLinkDepth() uint32

func (*Expand) GetUUID added in v0.18.0

func (x *Expand) GetUUID() []byte

func (*Expand) GetUUIDParsed added in v0.46.0

func (x *Expand) GetUUIDParsed() *uuid.UUID

func (*Expand) ProtoMessage added in v0.18.0

func (*Expand) ProtoMessage()

func (*Expand) ProtoReflect added in v0.18.0

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

func (*Expand) Reset added in v0.18.0

func (x *Expand) Reset()

func (*Expand) String added in v0.18.0

func (x *Expand) String() string

type GatewayRequest added in v0.11.0

type GatewayRequest struct {

	// Types that are assignable to RequestType:
	//
	//	*GatewayRequest_Query
	//	*GatewayRequest_CancelQuery
	//	*GatewayRequest_UndoQuery
	//	*GatewayRequest_Expand
	//	*GatewayRequest_UndoExpand
	//	*GatewayRequest_StoreSnapshot
	//	*GatewayRequest_LoadSnapshot
	//	*GatewayRequest_StoreBookmark
	//	*GatewayRequest_LoadBookmark
	RequestType       isGatewayRequest_RequestType `protobuf_oneof:"request_type"`
	MinStatusInterval *durationpb.Duration         `protobuf:"bytes,2,opt,name=minStatusInterval,proto3,oneof" json:"minStatusInterval,omitempty"` // Minimum time between status updates. Setting this value too low can result in too many status messages
	// contains filtered or unexported fields
}

A union of all request made to the gateway.

func (*GatewayRequest) Descriptor deprecated added in v0.11.0

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

Deprecated: Use GatewayRequest.ProtoReflect.Descriptor instead.

func (*GatewayRequest) GetCancelQuery added in v0.18.0

func (x *GatewayRequest) GetCancelQuery() *CancelQuery

func (*GatewayRequest) GetExpand added in v0.18.0

func (x *GatewayRequest) GetExpand() *Expand

func (*GatewayRequest) GetLoadBookmark added in v0.19.0

func (x *GatewayRequest) GetLoadBookmark() *LoadBookmark

func (*GatewayRequest) GetLoadSnapshot added in v0.17.0

func (x *GatewayRequest) GetLoadSnapshot() *LoadSnapshot

func (*GatewayRequest) GetMinStatusInterval added in v0.11.0

func (x *GatewayRequest) GetMinStatusInterval() *durationpb.Duration

func (*GatewayRequest) GetQuery added in v0.18.0

func (x *GatewayRequest) GetQuery() *Query

func (*GatewayRequest) GetRequestType added in v0.11.0

func (m *GatewayRequest) GetRequestType() isGatewayRequest_RequestType

func (*GatewayRequest) GetStoreBookmark added in v0.19.0

func (x *GatewayRequest) GetStoreBookmark() *StoreBookmark

func (*GatewayRequest) GetStoreSnapshot added in v0.17.0

func (x *GatewayRequest) GetStoreSnapshot() *StoreSnapshot

func (*GatewayRequest) GetUndoExpand added in v0.18.0

func (x *GatewayRequest) GetUndoExpand() *UndoExpand

func (*GatewayRequest) GetUndoQuery added in v0.18.0

func (x *GatewayRequest) GetUndoQuery() *UndoQuery

func (*GatewayRequest) ProtoMessage added in v0.11.0

func (*GatewayRequest) ProtoMessage()

func (*GatewayRequest) ProtoReflect added in v0.11.0

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

func (*GatewayRequest) Reset added in v0.11.0

func (x *GatewayRequest) Reset()

func (*GatewayRequest) String added in v0.11.0

func (x *GatewayRequest) String() string

type GatewayRequestStatus added in v0.11.0

type GatewayRequestStatus struct {
	ResponderStates map[string]ResponderState     `` /* 192-byte string literal not displayed */
	Summary         *GatewayRequestStatus_Summary `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
	// Whether all items have finished being processed by the gateway. It is
	// possible for all responders to be complete, but the gateway is still
	// working. A request should only be considered complete when all working ==
	// 0 and postProcessingComplete == true
	PostProcessingComplete bool `protobuf:"varint,4,opt,name=postProcessingComplete,proto3" json:"postProcessingComplete,omitempty"`
	// contains filtered or unexported fields
}

Contains the status of the gateway request.

func (*GatewayRequestStatus) Descriptor deprecated added in v0.11.0

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

Deprecated: Use GatewayRequestStatus.ProtoReflect.Descriptor instead.

func (*GatewayRequestStatus) Done added in v0.12.1

func (x *GatewayRequestStatus) Done() bool

Whether the gateway request is complete

func (*GatewayRequestStatus) Equal added in v0.11.0

Equal Returns whether two statuses are functionally equal

func (*GatewayRequestStatus) GetPostProcessingComplete added in v0.12.1

func (x *GatewayRequestStatus) GetPostProcessingComplete() bool

func (*GatewayRequestStatus) GetResponderStates added in v0.11.0

func (x *GatewayRequestStatus) GetResponderStates() map[string]ResponderState

func (*GatewayRequestStatus) GetSummary added in v0.11.0

func (*GatewayRequestStatus) ProtoMessage added in v0.11.0

func (*GatewayRequestStatus) ProtoMessage()

func (*GatewayRequestStatus) ProtoReflect added in v0.11.0

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

func (*GatewayRequestStatus) Reset added in v0.11.0

func (x *GatewayRequestStatus) Reset()

func (*GatewayRequestStatus) String added in v0.11.0

func (x *GatewayRequestStatus) String() string

type GatewayRequestStatus_Summary added in v0.11.0

type GatewayRequestStatus_Summary struct {
	Working    int32 `protobuf:"varint,1,opt,name=working,proto3" json:"working,omitempty"`
	Stalled    int32 `protobuf:"varint,2,opt,name=stalled,proto3" json:"stalled,omitempty"`
	Complete   int32 `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"`
	Error      int32 `protobuf:"varint,4,opt,name=error,proto3" json:"error,omitempty"`
	Cancelled  int32 `protobuf:"varint,5,opt,name=cancelled,proto3" json:"cancelled,omitempty"`
	Responders int32 `protobuf:"varint,6,opt,name=responders,proto3" json:"responders,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayRequestStatus_Summary) Descriptor deprecated added in v0.11.0

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

Deprecated: Use GatewayRequestStatus_Summary.ProtoReflect.Descriptor instead.

func (*GatewayRequestStatus_Summary) GetCancelled added in v0.11.0

func (x *GatewayRequestStatus_Summary) GetCancelled() int32

func (*GatewayRequestStatus_Summary) GetComplete added in v0.11.0

func (x *GatewayRequestStatus_Summary) GetComplete() int32

func (*GatewayRequestStatus_Summary) GetError added in v0.11.0

func (x *GatewayRequestStatus_Summary) GetError() int32

func (*GatewayRequestStatus_Summary) GetResponders added in v0.11.0

func (x *GatewayRequestStatus_Summary) GetResponders() int32

func (*GatewayRequestStatus_Summary) GetStalled added in v0.11.0

func (x *GatewayRequestStatus_Summary) GetStalled() int32

func (*GatewayRequestStatus_Summary) GetWorking added in v0.11.0

func (x *GatewayRequestStatus_Summary) GetWorking() int32

func (*GatewayRequestStatus_Summary) ProtoMessage added in v0.11.0

func (*GatewayRequestStatus_Summary) ProtoMessage()

func (*GatewayRequestStatus_Summary) ProtoReflect added in v0.11.0

func (*GatewayRequestStatus_Summary) Reset added in v0.11.0

func (x *GatewayRequestStatus_Summary) Reset()

func (*GatewayRequestStatus_Summary) String added in v0.11.0

type GatewayRequest_CancelQuery added in v0.18.0

type GatewayRequest_CancelQuery struct {
	// Cancel a running query
	CancelQuery *CancelQuery `protobuf:"bytes,3,opt,name=cancelQuery,proto3,oneof"`
}

type GatewayRequest_Expand added in v0.18.0

type GatewayRequest_Expand struct {
	// Expand all linked items for the given item
	Expand *Expand `protobuf:"bytes,7,opt,name=expand,proto3,oneof"`
}

type GatewayRequest_LoadBookmark added in v0.19.0

type GatewayRequest_LoadBookmark struct {
	// load and execute a bookmark into the current state
	LoadBookmark *LoadBookmark `protobuf:"bytes,15,opt,name=loadBookmark,proto3,oneof"`
}

type GatewayRequest_LoadSnapshot added in v0.17.0

type GatewayRequest_LoadSnapshot struct {
	// load a snapshot into the current state
	LoadSnapshot *LoadSnapshot `protobuf:"bytes,11,opt,name=loadSnapshot,proto3,oneof"`
}

type GatewayRequest_Query added in v0.18.0

type GatewayRequest_Query struct {
	// Adds a new query for items to the session, starting it immediately
	Query *Query `protobuf:"bytes,1,opt,name=query,proto3,oneof"`
}

type GatewayRequest_StoreBookmark added in v0.19.0

type GatewayRequest_StoreBookmark struct {
	// store the current set of queries as bookmarks
	StoreBookmark *StoreBookmark `protobuf:"bytes,14,opt,name=storeBookmark,proto3,oneof"`
}

type GatewayRequest_StoreSnapshot added in v0.17.0

type GatewayRequest_StoreSnapshot struct {
	// store the current session state as snapshot
	StoreSnapshot *StoreSnapshot `protobuf:"bytes,10,opt,name=storeSnapshot,proto3,oneof"`
}

type GatewayRequest_UndoExpand added in v0.18.0

type GatewayRequest_UndoExpand struct {
	// Undo the specified item expansion
	UndoExpand *UndoExpand `protobuf:"bytes,8,opt,name=undoExpand,proto3,oneof"` // TODO: CancelExpand?
}

type GatewayRequest_UndoQuery added in v0.18.0

type GatewayRequest_UndoQuery struct {
	// Undo the specified query, if it was the last query received by the gateway. This removes it and all of its effects from the session
	UndoQuery *UndoQuery `protobuf:"bytes,4,opt,name=undoQuery,proto3,oneof"`
}

type GatewayResponse added in v0.11.0

type GatewayResponse struct {

	// Types that are assignable to ResponseType:
	//
	//	*GatewayResponse_NewItem
	//	*GatewayResponse_NewEdge
	//	*GatewayResponse_Status
	//	*GatewayResponse_Error
	//	*GatewayResponse_QueryError
	//	*GatewayResponse_DeleteItem
	//	*GatewayResponse_DeleteEdge
	//	*GatewayResponse_UpdateItem
	//	*GatewayResponse_SnapshotStoreResult
	//	*GatewayResponse_SnapshotLoadResult
	//	*GatewayResponse_BookmarkStoreResult
	//	*GatewayResponse_BookmarkLoadResult
	//	*GatewayResponse_QueryStatus
	ResponseType isGatewayResponse_ResponseType `protobuf_oneof:"response_type"`
	// contains filtered or unexported fields
}

The gateway will always respond with this type of message, however the purpose of it is purely as a wrapper to the many different types of messages that the gateway can send

func (*GatewayResponse) Descriptor deprecated added in v0.11.0

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

Deprecated: Use GatewayResponse.ProtoReflect.Descriptor instead.

func (*GatewayResponse) GetBookmarkLoadResult added in v0.19.0

func (x *GatewayResponse) GetBookmarkLoadResult() *BookmarkLoadResult

func (*GatewayResponse) GetBookmarkStoreResult added in v0.19.0

func (x *GatewayResponse) GetBookmarkStoreResult() *BookmarkStoreResult

func (*GatewayResponse) GetDeleteEdge added in v0.15.0

func (x *GatewayResponse) GetDeleteEdge() *Edge

func (*GatewayResponse) GetDeleteItem added in v0.15.0

func (x *GatewayResponse) GetDeleteItem() *Reference

func (*GatewayResponse) GetError added in v0.11.0

func (x *GatewayResponse) GetError() string

func (*GatewayResponse) GetNewEdge added in v0.11.0

func (x *GatewayResponse) GetNewEdge() *Edge

func (*GatewayResponse) GetNewItem added in v0.11.0

func (x *GatewayResponse) GetNewItem() *Item

func (*GatewayResponse) GetQueryError added in v0.18.0

func (x *GatewayResponse) GetQueryError() *QueryError

func (*GatewayResponse) GetQueryStatus added in v0.26.3

func (x *GatewayResponse) GetQueryStatus() *QueryStatus

func (*GatewayResponse) GetResponseType added in v0.11.0

func (m *GatewayResponse) GetResponseType() isGatewayResponse_ResponseType

func (*GatewayResponse) GetSnapshotLoadResult added in v0.17.0

func (x *GatewayResponse) GetSnapshotLoadResult() *SnapshotLoadResult

func (*GatewayResponse) GetSnapshotStoreResult added in v0.18.3

func (x *GatewayResponse) GetSnapshotStoreResult() *SnapshotStoreResult

func (*GatewayResponse) GetStatus added in v0.11.0

func (x *GatewayResponse) GetStatus() *GatewayRequestStatus

func (*GatewayResponse) GetUpdateItem added in v0.15.0

func (x *GatewayResponse) GetUpdateItem() *Item

func (*GatewayResponse) ProtoMessage added in v0.11.0

func (*GatewayResponse) ProtoMessage()

func (*GatewayResponse) ProtoReflect added in v0.11.0

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

func (*GatewayResponse) Reset added in v0.11.0

func (x *GatewayResponse) Reset()

func (*GatewayResponse) String added in v0.11.0

func (x *GatewayResponse) String() string

type GatewayResponse_BookmarkLoadResult added in v0.19.0

type GatewayResponse_BookmarkLoadResult struct {
	BookmarkLoadResult *BookmarkLoadResult `protobuf:"bytes,16,opt,name=bookmarkLoadResult,proto3,oneof"`
}

type GatewayResponse_BookmarkStoreResult added in v0.19.0

type GatewayResponse_BookmarkStoreResult struct {
	BookmarkStoreResult *BookmarkStoreResult `protobuf:"bytes,15,opt,name=bookmarkStoreResult,proto3,oneof"`
}

type GatewayResponse_DeleteEdge added in v0.15.0

type GatewayResponse_DeleteEdge struct {
	DeleteEdge *Edge `protobuf:"bytes,8,opt,name=deleteEdge,proto3,oneof"` // An edge that should be deleted form local state
}

type GatewayResponse_DeleteItem added in v0.15.0

type GatewayResponse_DeleteItem struct {
	DeleteItem *Reference `protobuf:"bytes,7,opt,name=deleteItem,proto3,oneof"` // An item that should be deleted from local state
}

type GatewayResponse_Error added in v0.11.0

type GatewayResponse_Error struct {
	Error string `protobuf:"bytes,5,opt,name=error,proto3,oneof"` // An error that means the request couldn't be executed
}

type GatewayResponse_NewEdge added in v0.11.0

type GatewayResponse_NewEdge struct {
	NewEdge *Edge `protobuf:"bytes,3,opt,name=newEdge,proto3,oneof"` // A new edge between two items
}

type GatewayResponse_NewItem added in v0.11.0

type GatewayResponse_NewItem struct {
	NewItem *Item `protobuf:"bytes,2,opt,name=newItem,proto3,oneof"` // A new item that has been discovered
}

type GatewayResponse_QueryError added in v0.18.0

type GatewayResponse_QueryError struct {
	QueryError *QueryError `protobuf:"bytes,6,opt,name=queryError,proto3,oneof"` // A new error that was encountered as part of a query
}

type GatewayResponse_QueryStatus added in v0.26.3

type GatewayResponse_QueryStatus struct {
	QueryStatus *QueryStatus `protobuf:"bytes,17,opt,name=queryStatus,proto3,oneof"` // Status of requested queries
}

type GatewayResponse_SnapshotLoadResult added in v0.17.0

type GatewayResponse_SnapshotLoadResult struct {
	SnapshotLoadResult *SnapshotLoadResult `protobuf:"bytes,12,opt,name=snapshotLoadResult,proto3,oneof"`
}

type GatewayResponse_SnapshotStoreResult added in v0.18.3

type GatewayResponse_SnapshotStoreResult struct {
	SnapshotStoreResult *SnapshotStoreResult `protobuf:"bytes,11,opt,name=snapshotStoreResult,proto3,oneof"`
}

type GatewayResponse_Status added in v0.11.0

type GatewayResponse_Status struct {
	Status *GatewayRequestStatus `protobuf:"bytes,4,opt,name=status,proto3,oneof"` // Status of the overall request
}

type GatewayResponse_UpdateItem added in v0.15.0

type GatewayResponse_UpdateItem struct {
	UpdateItem *Item `protobuf:"bytes,9,opt,name=updateItem,proto3,oneof"` // An item that has already been sent, but contains new data, it should be updated to reflect this version
}

type GetAPIKeyRequest added in v0.34.3

type GetAPIKeyRequest struct {

	// The UUID of the API Key to get
	Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAPIKeyRequest) Descriptor deprecated added in v0.34.3

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

Deprecated: Use GetAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*GetAPIKeyRequest) GetUuid added in v0.34.3

func (x *GetAPIKeyRequest) GetUuid() []byte

func (*GetAPIKeyRequest) ProtoMessage added in v0.34.3

func (*GetAPIKeyRequest) ProtoMessage()

func (*GetAPIKeyRequest) ProtoReflect added in v0.34.3

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

func (*GetAPIKeyRequest) Reset added in v0.34.3

func (x *GetAPIKeyRequest) Reset()

func (*GetAPIKeyRequest) String added in v0.34.3

func (x *GetAPIKeyRequest) String() string

type GetAPIKeyResponse added in v0.34.3

type GetAPIKeyResponse struct {
	Key *APIKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAPIKeyResponse) Descriptor deprecated added in v0.34.3

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

Deprecated: Use GetAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*GetAPIKeyResponse) GetKey added in v0.34.3

func (x *GetAPIKeyResponse) GetKey() *APIKey

func (*GetAPIKeyResponse) ProtoMessage added in v0.34.3

func (*GetAPIKeyResponse) ProtoMessage()

func (*GetAPIKeyResponse) ProtoReflect added in v0.34.3

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

func (*GetAPIKeyResponse) Reset added in v0.34.3

func (x *GetAPIKeyResponse) Reset()

func (*GetAPIKeyResponse) String added in v0.34.3

func (x *GetAPIKeyResponse) String() string

type GetAccountRequest added in v0.29.0

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

func (*GetAccountRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) ProtoMessage added in v0.29.0

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect added in v0.29.0

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

func (*GetAccountRequest) Reset added in v0.29.0

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String added in v0.29.0

func (x *GetAccountRequest) String() string

type GetAccountResponse added in v0.29.0

type GetAccountResponse struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.

func (*GetAccountResponse) GetAccount added in v0.29.0

func (x *GetAccountResponse) GetAccount() *Account

func (*GetAccountResponse) ProtoMessage added in v0.29.0

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) ProtoReflect added in v0.29.0

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

func (*GetAccountResponse) Reset added in v0.29.0

func (x *GetAccountResponse) Reset()

func (*GetAccountResponse) String added in v0.29.0

func (x *GetAccountResponse) String() string

type GetAffectedAppsRequest added in v0.31.0

type GetAffectedAppsRequest struct {
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAffectedAppsRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use GetAffectedAppsRequest.ProtoReflect.Descriptor instead.

func (*GetAffectedAppsRequest) GetChangeUUID added in v0.31.0

func (x *GetAffectedAppsRequest) GetChangeUUID() []byte

func (*GetAffectedAppsRequest) GetChangeUUIDParsed added in v0.46.2

func (x *GetAffectedAppsRequest) GetChangeUUIDParsed() *uuid.UUID

func (*GetAffectedAppsRequest) ProtoMessage added in v0.31.0

func (*GetAffectedAppsRequest) ProtoMessage()

func (*GetAffectedAppsRequest) ProtoReflect added in v0.31.0

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

func (*GetAffectedAppsRequest) Reset added in v0.31.0

func (x *GetAffectedAppsRequest) Reset()

func (*GetAffectedAppsRequest) String added in v0.31.0

func (x *GetAffectedAppsRequest) String() string

type GetAffectedAppsResponse added in v0.31.0

type GetAffectedAppsResponse struct {
	Apps []*AppSummary `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAffectedAppsResponse) Descriptor deprecated added in v0.31.0

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

Deprecated: Use GetAffectedAppsResponse.ProtoReflect.Descriptor instead.

func (*GetAffectedAppsResponse) GetApps added in v0.31.0

func (x *GetAffectedAppsResponse) GetApps() []*AppSummary

func (*GetAffectedAppsResponse) ProtoMessage added in v0.31.0

func (*GetAffectedAppsResponse) ProtoMessage()

func (*GetAffectedAppsResponse) ProtoReflect added in v0.31.0

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

func (*GetAffectedAppsResponse) Reset added in v0.31.0

func (x *GetAffectedAppsResponse) Reset()

func (*GetAffectedAppsResponse) String added in v0.31.0

func (x *GetAffectedAppsResponse) String() string

type GetAffectedBookmarksRequest added in v0.32.2

type GetAffectedBookmarksRequest struct {

	// the snapshot to consider
	SnapshotUUID []byte `protobuf:"bytes,1,opt,name=snapshotUUID,proto3" json:"snapshotUUID,omitempty"`
	// the bookmarks to filter
	BookmarkUUIDs [][]byte `protobuf:"bytes,2,rep,name=bookmarkUUIDs,proto3" json:"bookmarkUUIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAffectedBookmarksRequest) Descriptor deprecated added in v0.32.2

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

Deprecated: Use GetAffectedBookmarksRequest.ProtoReflect.Descriptor instead.

func (*GetAffectedBookmarksRequest) GetBookmarkUUIDs added in v0.32.2

func (x *GetAffectedBookmarksRequest) GetBookmarkUUIDs() [][]byte

func (*GetAffectedBookmarksRequest) GetSnapshotUUID added in v0.32.2

func (x *GetAffectedBookmarksRequest) GetSnapshotUUID() []byte

func (*GetAffectedBookmarksRequest) ProtoMessage added in v0.32.2

func (*GetAffectedBookmarksRequest) ProtoMessage()

func (*GetAffectedBookmarksRequest) ProtoReflect added in v0.32.2

func (*GetAffectedBookmarksRequest) Reset added in v0.32.2

func (x *GetAffectedBookmarksRequest) Reset()

func (*GetAffectedBookmarksRequest) String added in v0.32.2

func (x *GetAffectedBookmarksRequest) String() string

type GetAffectedBookmarksResponse added in v0.32.2

type GetAffectedBookmarksResponse struct {

	// the bookmarks that intersected with the snapshot
	BookmarkUUIDs [][]byte `protobuf:"bytes,1,rep,name=bookmarkUUIDs,proto3" json:"bookmarkUUIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAffectedBookmarksResponse) Descriptor deprecated added in v0.32.2

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

Deprecated: Use GetAffectedBookmarksResponse.ProtoReflect.Descriptor instead.

func (*GetAffectedBookmarksResponse) GetBookmarkUUIDs added in v0.32.2

func (x *GetAffectedBookmarksResponse) GetBookmarkUUIDs() [][]byte

func (*GetAffectedBookmarksResponse) ProtoMessage added in v0.32.2

func (*GetAffectedBookmarksResponse) ProtoMessage()

func (*GetAffectedBookmarksResponse) ProtoReflect added in v0.32.2

func (*GetAffectedBookmarksResponse) Reset added in v0.32.2

func (x *GetAffectedBookmarksResponse) Reset()

func (*GetAffectedBookmarksResponse) String added in v0.32.2

type GetAppRequest added in v0.23.0

type GetAppRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

get the details of an existing app

func (*GetAppRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use GetAppRequest.ProtoReflect.Descriptor instead.

func (*GetAppRequest) GetUUID added in v0.23.0

func (x *GetAppRequest) GetUUID() []byte

func (*GetAppRequest) GetUUIDParsed added in v0.26.2

func (a *GetAppRequest) GetUUIDParsed() *uuid.UUID

func (*GetAppRequest) ProtoMessage added in v0.23.0

func (*GetAppRequest) ProtoMessage()

func (*GetAppRequest) ProtoReflect added in v0.23.0

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

func (*GetAppRequest) Reset added in v0.23.0

func (x *GetAppRequest) Reset()

func (*GetAppRequest) String added in v0.23.0

func (x *GetAppRequest) String() string

type GetAppResponse added in v0.23.0

type GetAppResponse struct {
	App *App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use GetAppResponse.ProtoReflect.Descriptor instead.

func (*GetAppResponse) GetApp added in v0.24.0

func (x *GetAppResponse) GetApp() *App

func (*GetAppResponse) ProtoMessage added in v0.23.0

func (*GetAppResponse) ProtoMessage()

func (*GetAppResponse) ProtoReflect added in v0.23.0

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

func (*GetAppResponse) Reset added in v0.23.0

func (x *GetAppResponse) Reset()

func (*GetAppResponse) String added in v0.23.0

func (x *GetAppResponse) String() string

type GetAppSummariesRequest added in v0.36.0

type GetAppSummariesRequest struct {
	UUIDs [][]byte `protobuf:"bytes,1,rep,name=UUIDs,proto3" json:"UUIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppSummariesRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use GetAppSummariesRequest.ProtoReflect.Descriptor instead.

func (*GetAppSummariesRequest) GetUUIDs added in v0.36.0

func (x *GetAppSummariesRequest) GetUUIDs() [][]byte

func (*GetAppSummariesRequest) ProtoMessage added in v0.36.0

func (*GetAppSummariesRequest) ProtoMessage()

func (*GetAppSummariesRequest) ProtoReflect added in v0.36.0

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

func (*GetAppSummariesRequest) Reset added in v0.36.0

func (x *GetAppSummariesRequest) Reset()

func (*GetAppSummariesRequest) String added in v0.36.0

func (x *GetAppSummariesRequest) String() string

type GetAppSummariesResponse added in v0.36.0

type GetAppSummariesResponse struct {
	Apps []*AppSummary `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppSummariesResponse) Descriptor deprecated added in v0.36.0

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

Deprecated: Use GetAppSummariesResponse.ProtoReflect.Descriptor instead.

func (*GetAppSummariesResponse) GetApps added in v0.36.0

func (x *GetAppSummariesResponse) GetApps() []*AppSummary

func (*GetAppSummariesResponse) ProtoMessage added in v0.36.0

func (*GetAppSummariesResponse) ProtoMessage()

func (*GetAppSummariesResponse) ProtoReflect added in v0.36.0

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

func (*GetAppSummariesResponse) Reset added in v0.36.0

func (x *GetAppSummariesResponse) Reset()

func (*GetAppSummariesResponse) String added in v0.36.0

func (x *GetAppSummariesResponse) String() string

type GetAppSummaryRequest added in v0.31.0

type GetAppSummaryRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppSummaryRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use GetAppSummaryRequest.ProtoReflect.Descriptor instead.

func (*GetAppSummaryRequest) GetUUID added in v0.31.0

func (x *GetAppSummaryRequest) GetUUID() []byte

func (*GetAppSummaryRequest) ProtoMessage added in v0.31.0

func (*GetAppSummaryRequest) ProtoMessage()

func (*GetAppSummaryRequest) ProtoReflect added in v0.31.0

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

func (*GetAppSummaryRequest) Reset added in v0.31.0

func (x *GetAppSummaryRequest) Reset()

func (*GetAppSummaryRequest) String added in v0.31.0

func (x *GetAppSummaryRequest) String() string

type GetAppSummaryResponse added in v0.31.0

type GetAppSummaryResponse struct {
	App *AppSummary `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppSummaryResponse) Descriptor deprecated added in v0.31.0

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

Deprecated: Use GetAppSummaryResponse.ProtoReflect.Descriptor instead.

func (*GetAppSummaryResponse) GetApp added in v0.31.0

func (x *GetAppSummaryResponse) GetApp() *AppSummary

func (*GetAppSummaryResponse) ProtoMessage added in v0.31.0

func (*GetAppSummaryResponse) ProtoMessage()

func (*GetAppSummaryResponse) ProtoReflect added in v0.31.0

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

func (*GetAppSummaryResponse) Reset added in v0.31.0

func (x *GetAppSummaryResponse) Reset()

func (*GetAppSummaryResponse) String added in v0.31.0

func (x *GetAppSummaryResponse) String() string

type GetBookmarkRequest added in v0.24.0

type GetBookmarkRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

gets a specific bookmark

func (*GetBookmarkRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use GetBookmarkRequest.ProtoReflect.Descriptor instead.

func (*GetBookmarkRequest) GetUUID added in v0.24.0

func (x *GetBookmarkRequest) GetUUID() []byte

func (*GetBookmarkRequest) ProtoMessage added in v0.24.0

func (*GetBookmarkRequest) ProtoMessage()

func (*GetBookmarkRequest) ProtoReflect added in v0.24.0

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

func (*GetBookmarkRequest) Reset added in v0.24.0

func (x *GetBookmarkRequest) Reset()

func (*GetBookmarkRequest) String added in v0.24.0

func (x *GetBookmarkRequest) String() string

type GetBookmarkResponse added in v0.24.0

type GetBookmarkResponse struct {
	Bookmark *Bookmark `protobuf:"bytes,1,opt,name=bookmark,proto3" json:"bookmark,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBookmarkResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use GetBookmarkResponse.ProtoReflect.Descriptor instead.

func (*GetBookmarkResponse) GetBookmark added in v0.24.0

func (x *GetBookmarkResponse) GetBookmark() *Bookmark

func (*GetBookmarkResponse) ProtoMessage added in v0.24.0

func (*GetBookmarkResponse) ProtoMessage()

func (*GetBookmarkResponse) ProtoReflect added in v0.24.0

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

func (*GetBookmarkResponse) Reset added in v0.24.0

func (x *GetBookmarkResponse) Reset()

func (*GetBookmarkResponse) String added in v0.24.0

func (x *GetBookmarkResponse) String() string

type GetChangeArchiveRequest added in v0.58.2

type GetChangeArchiveRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChangeArchiveRequest) Descriptor deprecated added in v0.58.2

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

Deprecated: Use GetChangeArchiveRequest.ProtoReflect.Descriptor instead.

func (*GetChangeArchiveRequest) GetUUID added in v0.58.2

func (x *GetChangeArchiveRequest) GetUUID() []byte

func (*GetChangeArchiveRequest) ProtoMessage added in v0.58.2

func (*GetChangeArchiveRequest) ProtoMessage()

func (*GetChangeArchiveRequest) ProtoReflect added in v0.58.2

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

func (*GetChangeArchiveRequest) Reset added in v0.58.2

func (x *GetChangeArchiveRequest) Reset()

func (*GetChangeArchiveRequest) String added in v0.58.2

func (x *GetChangeArchiveRequest) String() string

type GetChangeArchiveResponse added in v0.58.2

type GetChangeArchiveResponse struct {
	ChangeArchive *ChangeArchive `protobuf:"bytes,1,opt,name=changeArchive,proto3" json:"changeArchive,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChangeArchiveResponse) Descriptor deprecated added in v0.58.2

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

Deprecated: Use GetChangeArchiveResponse.ProtoReflect.Descriptor instead.

func (*GetChangeArchiveResponse) GetChangeArchive added in v0.58.2

func (x *GetChangeArchiveResponse) GetChangeArchive() *ChangeArchive

func (*GetChangeArchiveResponse) ProtoMessage added in v0.58.2

func (*GetChangeArchiveResponse) ProtoMessage()

func (*GetChangeArchiveResponse) ProtoReflect added in v0.58.2

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

func (*GetChangeArchiveResponse) Reset added in v0.58.2

func (x *GetChangeArchiveResponse) Reset()

func (*GetChangeArchiveResponse) String added in v0.58.2

func (x *GetChangeArchiveResponse) String() string

type GetChangeRequest added in v0.23.0

type GetChangeRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

get the details of a specific change

func (*GetChangeRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use GetChangeRequest.ProtoReflect.Descriptor instead.

func (*GetChangeRequest) GetUUID added in v0.23.0

func (x *GetChangeRequest) GetUUID() []byte

func (*GetChangeRequest) GetUUIDParsed added in v0.26.2

func (a *GetChangeRequest) GetUUIDParsed() *uuid.UUID

func (*GetChangeRequest) ProtoMessage added in v0.23.0

func (*GetChangeRequest) ProtoMessage()

func (*GetChangeRequest) ProtoReflect added in v0.23.0

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

func (*GetChangeRequest) Reset added in v0.23.0

func (x *GetChangeRequest) Reset()

func (*GetChangeRequest) String added in v0.23.0

func (x *GetChangeRequest) String() string

type GetChangeResponse added in v0.23.0

type GetChangeResponse struct {
	Change *Change `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChangeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use GetChangeResponse.ProtoReflect.Descriptor instead.

func (*GetChangeResponse) GetChange added in v0.24.0

func (x *GetChangeResponse) GetChange() *Change

func (*GetChangeResponse) ProtoMessage added in v0.23.0

func (*GetChangeResponse) ProtoMessage()

func (*GetChangeResponse) ProtoReflect added in v0.23.0

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

func (*GetChangeResponse) Reset added in v0.23.0

func (x *GetChangeResponse) Reset()

func (*GetChangeResponse) String added in v0.23.0

func (x *GetChangeResponse) String() string

type GetChangeRisksRequest added in v0.64.0

type GetChangeRisksRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

get the details of a specific change

func (*GetChangeRisksRequest) Descriptor deprecated added in v0.64.0

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

Deprecated: Use GetChangeRisksRequest.ProtoReflect.Descriptor instead.

func (*GetChangeRisksRequest) GetUUID added in v0.64.0

func (x *GetChangeRisksRequest) GetUUID() []byte

func (*GetChangeRisksRequest) ProtoMessage added in v0.64.0

func (*GetChangeRisksRequest) ProtoMessage()

func (*GetChangeRisksRequest) ProtoReflect added in v0.64.0

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

func (*GetChangeRisksRequest) Reset added in v0.64.0

func (x *GetChangeRisksRequest) Reset()

func (*GetChangeRisksRequest) String added in v0.64.0

func (x *GetChangeRisksRequest) String() string

type GetChangeRisksResponse added in v0.64.0

type GetChangeRisksResponse struct {
	ChangeRiskMetadata *ChangeRiskMetadata `protobuf:"bytes,1,opt,name=changeRiskMetadata,proto3" json:"changeRiskMetadata,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChangeRisksResponse) Descriptor deprecated added in v0.64.0

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

Deprecated: Use GetChangeRisksResponse.ProtoReflect.Descriptor instead.

func (*GetChangeRisksResponse) GetChangeRiskMetadata added in v0.65.0

func (x *GetChangeRisksResponse) GetChangeRiskMetadata() *ChangeRiskMetadata

func (*GetChangeRisksResponse) ProtoMessage added in v0.64.0

func (*GetChangeRisksResponse) ProtoMessage()

func (*GetChangeRisksResponse) ProtoReflect added in v0.64.0

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

func (*GetChangeRisksResponse) Reset added in v0.64.0

func (x *GetChangeRisksResponse) Reset()

func (*GetChangeRisksResponse) String added in v0.64.0

func (x *GetChangeRisksResponse) String() string

func (*GetChangeRisksResponse) ToMap added in v0.65.0

func (r *GetChangeRisksResponse) ToMap() map[string]any

type GetChangeTimelineRequest added in v0.40.0

type GetChangeTimelineRequest struct {
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChangeTimelineRequest) Descriptor deprecated added in v0.40.0

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

Deprecated: Use GetChangeTimelineRequest.ProtoReflect.Descriptor instead.

func (*GetChangeTimelineRequest) GetChangeUUID added in v0.40.0

func (x *GetChangeTimelineRequest) GetChangeUUID() []byte

func (*GetChangeTimelineRequest) GetChangeUUIDParsed added in v0.46.2

func (x *GetChangeTimelineRequest) GetChangeUUIDParsed() *uuid.UUID

func (*GetChangeTimelineRequest) ProtoMessage added in v0.40.0

func (*GetChangeTimelineRequest) ProtoMessage()

func (*GetChangeTimelineRequest) ProtoReflect added in v0.40.0

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

func (*GetChangeTimelineRequest) Reset added in v0.40.0

func (x *GetChangeTimelineRequest) Reset()

func (*GetChangeTimelineRequest) String added in v0.40.0

func (x *GetChangeTimelineRequest) String() string

type GetChangeTimelineResponse added in v0.40.0

type GetChangeTimelineResponse struct {
	Entries []*ChangeTimelineEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChangeTimelineResponse) Descriptor deprecated added in v0.40.0

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

Deprecated: Use GetChangeTimelineResponse.ProtoReflect.Descriptor instead.

func (*GetChangeTimelineResponse) GetEntries added in v0.40.0

func (*GetChangeTimelineResponse) ProtoMessage added in v0.40.0

func (*GetChangeTimelineResponse) ProtoMessage()

func (*GetChangeTimelineResponse) ProtoReflect added in v0.40.0

func (*GetChangeTimelineResponse) Reset added in v0.40.0

func (x *GetChangeTimelineResponse) Reset()

func (*GetChangeTimelineResponse) String added in v0.40.0

func (x *GetChangeTimelineResponse) String() string

type GetConfigRequest added in v0.68.1

type GetConfigRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigRequest) Descriptor deprecated added in v0.68.1

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

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) GetKey added in v0.68.1

func (x *GetConfigRequest) GetKey() string

func (*GetConfigRequest) ProtoMessage added in v0.68.1

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect added in v0.68.1

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

func (*GetConfigRequest) Reset added in v0.68.1

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) String added in v0.68.1

func (x *GetConfigRequest) String() string

type GetConfigResponse added in v0.68.1

type GetConfigResponse struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigResponse) Descriptor deprecated added in v0.68.1

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

Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.

func (*GetConfigResponse) GetValue added in v0.68.1

func (x *GetConfigResponse) GetValue() string

func (*GetConfigResponse) ProtoMessage added in v0.68.1

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) ProtoReflect added in v0.68.1

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

func (*GetConfigResponse) Reset added in v0.68.1

func (x *GetConfigResponse) Reset()

func (*GetConfigResponse) String added in v0.68.1

func (x *GetConfigResponse) String() string

type GetDiffRequest added in v0.31.0

type GetDiffRequest struct {
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDiffRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use GetDiffRequest.ProtoReflect.Descriptor instead.

func (*GetDiffRequest) GetChangeUUID added in v0.31.0

func (x *GetDiffRequest) GetChangeUUID() []byte

func (*GetDiffRequest) GetChangeUUIDParsed added in v0.46.2

func (x *GetDiffRequest) GetChangeUUIDParsed() *uuid.UUID

func (*GetDiffRequest) ProtoMessage added in v0.31.0

func (*GetDiffRequest) ProtoMessage()

func (*GetDiffRequest) ProtoReflect added in v0.31.0

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

func (*GetDiffRequest) Reset added in v0.31.0

func (x *GetDiffRequest) Reset()

func (*GetDiffRequest) String added in v0.31.0

func (x *GetDiffRequest) String() string

type GetDiffResponse added in v0.31.0

type GetDiffResponse struct {

	// Items that were planned to be changed, and were changed
	ExpectedItems []*ItemDiff `protobuf:"bytes,1,rep,name=expectedItems,proto3" json:"expectedItems,omitempty"`
	// Items that were changed, but were not planned to be changed
	UnexpectedItems []*ItemDiff `protobuf:"bytes,3,rep,name=unexpectedItems,proto3" json:"unexpectedItems,omitempty"`
	Edges           []*Edge     `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
	// Items that were planned to be changed, but were not changed
	MissingItems []*ItemDiff `protobuf:"bytes,4,rep,name=missingItems,proto3" json:"missingItems,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDiffResponse) Descriptor deprecated added in v0.31.0

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

Deprecated: Use GetDiffResponse.ProtoReflect.Descriptor instead.

func (*GetDiffResponse) GetEdges added in v0.31.0

func (x *GetDiffResponse) GetEdges() []*Edge

func (*GetDiffResponse) GetExpectedItems added in v0.41.1

func (x *GetDiffResponse) GetExpectedItems() []*ItemDiff

func (*GetDiffResponse) GetMissingItems added in v0.59.2

func (x *GetDiffResponse) GetMissingItems() []*ItemDiff

func (*GetDiffResponse) GetUnexpectedItems added in v0.41.1

func (x *GetDiffResponse) GetUnexpectedItems() []*ItemDiff

func (*GetDiffResponse) ProtoMessage added in v0.31.0

func (*GetDiffResponse) ProtoMessage()

func (*GetDiffResponse) ProtoReflect added in v0.31.0

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

func (*GetDiffResponse) Reset added in v0.31.0

func (x *GetDiffResponse) Reset()

func (*GetDiffResponse) String added in v0.31.0

func (x *GetDiffResponse) String() string

type GetInitialDataRequest added in v0.39.3

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

get the initial data

func (*GetInitialDataRequest) Descriptor deprecated added in v0.39.3

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

Deprecated: Use GetInitialDataRequest.ProtoReflect.Descriptor instead.

func (*GetInitialDataRequest) ProtoMessage added in v0.39.3

func (*GetInitialDataRequest) ProtoMessage()

func (*GetInitialDataRequest) ProtoReflect added in v0.39.3

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

func (*GetInitialDataRequest) Reset added in v0.39.3

func (x *GetInitialDataRequest) Reset()

func (*GetInitialDataRequest) String added in v0.39.3

func (x *GetInitialDataRequest) String() string

type GetInitialDataResponse added in v0.39.3

type GetInitialDataResponse struct {
	BlastRadiusSnapshot   *Snapshot `protobuf:"bytes,1,opt,name=blastRadiusSnapshot,proto3" json:"blastRadiusSnapshot,omitempty"`
	ChangingItemsBookmark *Bookmark `protobuf:"bytes,2,opt,name=changingItemsBookmark,proto3" json:"changingItemsBookmark,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInitialDataResponse) Descriptor deprecated added in v0.39.3

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

Deprecated: Use GetInitialDataResponse.ProtoReflect.Descriptor instead.

func (*GetInitialDataResponse) GetBlastRadiusSnapshot added in v0.39.3

func (x *GetInitialDataResponse) GetBlastRadiusSnapshot() *Snapshot

func (*GetInitialDataResponse) GetChangingItemsBookmark added in v0.39.3

func (x *GetInitialDataResponse) GetChangingItemsBookmark() *Bookmark

func (*GetInitialDataResponse) ProtoMessage added in v0.39.3

func (*GetInitialDataResponse) ProtoMessage()

func (*GetInitialDataResponse) ProtoReflect added in v0.39.3

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

func (*GetInitialDataResponse) Reset added in v0.39.3

func (x *GetInitialDataResponse) Reset()

func (*GetInitialDataResponse) String added in v0.39.3

func (x *GetInitialDataResponse) String() string

type GetOnboardingRequest added in v0.23.0

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

get the onboarding status

func (*GetOnboardingRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use GetOnboardingRequest.ProtoReflect.Descriptor instead.

func (*GetOnboardingRequest) ProtoMessage added in v0.23.0

func (*GetOnboardingRequest) ProtoMessage()

func (*GetOnboardingRequest) ProtoReflect added in v0.23.0

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

func (*GetOnboardingRequest) Reset added in v0.23.0

func (x *GetOnboardingRequest) Reset()

func (*GetOnboardingRequest) String added in v0.23.0

func (x *GetOnboardingRequest) String() string

type GetOnboardingResponse added in v0.23.0

type GetOnboardingResponse struct {
	Onboarding *Onboarding `protobuf:"bytes,1,opt,name=onboarding,proto3" json:"onboarding,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOnboardingResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use GetOnboardingResponse.ProtoReflect.Descriptor instead.

func (*GetOnboardingResponse) GetOnboarding added in v0.24.0

func (x *GetOnboardingResponse) GetOnboarding() *Onboarding

func (*GetOnboardingResponse) ProtoMessage added in v0.23.0

func (*GetOnboardingResponse) ProtoMessage()

func (*GetOnboardingResponse) ProtoReflect added in v0.23.0

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

func (*GetOnboardingResponse) Reset added in v0.23.0

func (x *GetOnboardingResponse) Reset()

func (*GetOnboardingResponse) String added in v0.23.0

func (x *GetOnboardingResponse) String() string

type GetReverseLinksRequest added in v0.52.0

type GetReverseLinksRequest struct {

	// The account that the item belongs to
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The item that you would like to find reverse links for
	Item *Reference `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// set to true to only return links that propagate configuration change impact
	FollowOnlyBlastPropagation bool `protobuf:"varint,3,opt,name=followOnlyBlastPropagation,proto3" json:"followOnlyBlastPropagation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReverseLinksRequest) Descriptor deprecated added in v0.52.0

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

Deprecated: Use GetReverseLinksRequest.ProtoReflect.Descriptor instead.

func (*GetReverseLinksRequest) GetAccount added in v0.52.0

func (x *GetReverseLinksRequest) GetAccount() string

func (*GetReverseLinksRequest) GetFollowOnlyBlastPropagation added in v0.52.0

func (x *GetReverseLinksRequest) GetFollowOnlyBlastPropagation() bool

func (*GetReverseLinksRequest) GetItem added in v0.52.0

func (x *GetReverseLinksRequest) GetItem() *Reference

func (*GetReverseLinksRequest) ProtoMessage added in v0.52.0

func (*GetReverseLinksRequest) ProtoMessage()

func (*GetReverseLinksRequest) ProtoReflect added in v0.52.0

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

func (*GetReverseLinksRequest) Reset added in v0.52.0

func (x *GetReverseLinksRequest) Reset()

func (*GetReverseLinksRequest) String added in v0.52.0

func (x *GetReverseLinksRequest) String() string

type GetReverseLinksResponse added in v0.52.0

type GetReverseLinksResponse struct {

	// The item queries that should be executed in order to find items that link
	// to the requested item
	LinkedItemQueries []*LinkedItemQuery `protobuf:"bytes,1,rep,name=linkedItemQueries,proto3" json:"linkedItemQueries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReverseLinksResponse) Descriptor deprecated added in v0.52.0

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

Deprecated: Use GetReverseLinksResponse.ProtoReflect.Descriptor instead.

func (*GetReverseLinksResponse) GetLinkedItemQueries added in v0.52.0

func (x *GetReverseLinksResponse) GetLinkedItemQueries() []*LinkedItemQuery

func (*GetReverseLinksResponse) ProtoMessage added in v0.52.0

func (*GetReverseLinksResponse) ProtoMessage()

func (*GetReverseLinksResponse) ProtoReflect added in v0.52.0

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

func (*GetReverseLinksResponse) Reset added in v0.52.0

func (x *GetReverseLinksResponse) Reset()

func (*GetReverseLinksResponse) String added in v0.52.0

func (x *GetReverseLinksResponse) String() string

type GetSnapshotRequest added in v0.24.0

type GetSnapshotRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

get the details of a specific snapshot

func (*GetSnapshotRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.

func (*GetSnapshotRequest) GetUUID added in v0.24.0

func (x *GetSnapshotRequest) GetUUID() []byte

func (*GetSnapshotRequest) ProtoMessage added in v0.24.0

func (*GetSnapshotRequest) ProtoMessage()

func (*GetSnapshotRequest) ProtoReflect added in v0.24.0

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

func (*GetSnapshotRequest) Reset added in v0.24.0

func (x *GetSnapshotRequest) Reset()

func (*GetSnapshotRequest) String added in v0.24.0

func (x *GetSnapshotRequest) String() string

type GetSnapshotResponse added in v0.24.0

type GetSnapshotResponse struct {
	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSnapshotResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use GetSnapshotResponse.ProtoReflect.Descriptor instead.

func (*GetSnapshotResponse) GetSnapshot added in v0.24.0

func (x *GetSnapshotResponse) GetSnapshot() *Snapshot

func (*GetSnapshotResponse) ProtoMessage added in v0.24.0

func (*GetSnapshotResponse) ProtoMessage()

func (*GetSnapshotResponse) ProtoReflect added in v0.24.0

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

func (*GetSnapshotResponse) Reset added in v0.24.0

func (x *GetSnapshotResponse) Reset()

func (*GetSnapshotResponse) String added in v0.24.0

func (x *GetSnapshotResponse) String() string

type GetSourceRequest added in v0.29.0

type GetSourceRequest struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSourceRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use GetSourceRequest.ProtoReflect.Descriptor instead.

func (*GetSourceRequest) GetUUID added in v0.29.0

func (x *GetSourceRequest) GetUUID() []byte

func (*GetSourceRequest) ProtoMessage added in v0.29.0

func (*GetSourceRequest) ProtoMessage()

func (*GetSourceRequest) ProtoReflect added in v0.29.0

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

func (*GetSourceRequest) Reset added in v0.29.0

func (x *GetSourceRequest) Reset()

func (*GetSourceRequest) String added in v0.29.0

func (x *GetSourceRequest) String() string

type GetSourceResponse added in v0.29.0

type GetSourceResponse struct {
	Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSourceResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use GetSourceResponse.ProtoReflect.Descriptor instead.

func (*GetSourceResponse) GetSource added in v0.29.0

func (x *GetSourceResponse) GetSource() *Source

func (*GetSourceResponse) ProtoMessage added in v0.29.0

func (*GetSourceResponse) ProtoMessage()

func (*GetSourceResponse) ProtoReflect added in v0.29.0

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

func (*GetSourceResponse) Reset added in v0.29.0

func (x *GetSourceResponse) Reset()

func (*GetSourceResponse) String added in v0.29.0

func (x *GetSourceResponse) String() string

type Health added in v0.21.0

type Health int32

Represents the health of something, the meaning of each state may depend on the context in which it is used but should be reasonably obvious

const (
	Health_HEALTH_UNKNOWN Health = 0 // The health could not be determined
	Health_HEALTH_OK      Health = 1 // Functioning normally
	Health_HEALTH_WARNING Health = 2 // Functioning, but degraded
	Health_HEALTH_ERROR   Health = 3 // Not functioning
	Health_HEALTH_PENDING Health = 4 // Health state is transitioning, such as when something is first provisioned
)

func (Health) Descriptor added in v0.21.0

func (Health) Descriptor() protoreflect.EnumDescriptor

func (Health) Enum added in v0.21.0

func (x Health) Enum() *Health

func (Health) EnumDescriptor deprecated added in v0.21.0

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

Deprecated: Use Health.Descriptor instead.

func (Health) Number added in v0.21.0

func (x Health) Number() protoreflect.EnumNumber

func (Health) String added in v0.21.0

func (x Health) String() string

func (Health) Type added in v0.21.0

func (Health) Type() protoreflect.EnumType

type IngestGatewayResponseRequest added in v0.52.0

type IngestGatewayResponseRequest struct {

	// The account that the response belongs to
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The response type to ingest
	//
	// Types that are assignable to ResponseType:
	//
	//	*IngestGatewayResponseRequest_NewItem
	//	*IngestGatewayResponseRequest_NewEdge
	ResponseType isIngestGatewayResponseRequest_ResponseType `protobuf_oneof:"response_type"`
	// contains filtered or unexported fields
}

func (*IngestGatewayResponseRequest) Descriptor deprecated added in v0.52.0

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

Deprecated: Use IngestGatewayResponseRequest.ProtoReflect.Descriptor instead.

func (*IngestGatewayResponseRequest) GetAccount added in v0.52.0

func (x *IngestGatewayResponseRequest) GetAccount() string

func (*IngestGatewayResponseRequest) GetNewEdge added in v0.52.0

func (x *IngestGatewayResponseRequest) GetNewEdge() *Edge

func (*IngestGatewayResponseRequest) GetNewItem added in v0.52.0

func (x *IngestGatewayResponseRequest) GetNewItem() *Item

func (*IngestGatewayResponseRequest) GetResponseType added in v0.52.0

func (m *IngestGatewayResponseRequest) GetResponseType() isIngestGatewayResponseRequest_ResponseType

func (*IngestGatewayResponseRequest) ProtoMessage added in v0.52.0

func (*IngestGatewayResponseRequest) ProtoMessage()

func (*IngestGatewayResponseRequest) ProtoReflect added in v0.52.0

func (*IngestGatewayResponseRequest) Reset added in v0.52.0

func (x *IngestGatewayResponseRequest) Reset()

func (*IngestGatewayResponseRequest) String added in v0.52.0

type IngestGatewayResponseRequest_NewEdge added in v0.52.0

type IngestGatewayResponseRequest_NewEdge struct {
	NewEdge *Edge `protobuf:"bytes,3,opt,name=newEdge,proto3,oneof"` // A new edge between two items
}

type IngestGatewayResponseRequest_NewItem added in v0.52.0

type IngestGatewayResponseRequest_NewItem struct {
	NewItem *Item `protobuf:"bytes,2,opt,name=newItem,proto3,oneof"` // A new item that has been discovered
}

type IngestGatewayResponsesResponse added in v0.52.0

type IngestGatewayResponsesResponse struct {
	NumItemsReceived int32 `protobuf:"varint,1,opt,name=numItemsReceived,proto3" json:"numItemsReceived,omitempty"`
	NumEdgesReceived int32 `protobuf:"varint,2,opt,name=numEdgesReceived,proto3" json:"numEdgesReceived,omitempty"`
	// contains filtered or unexported fields
}

func (*IngestGatewayResponsesResponse) Descriptor deprecated added in v0.52.0

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

Deprecated: Use IngestGatewayResponsesResponse.ProtoReflect.Descriptor instead.

func (*IngestGatewayResponsesResponse) GetNumEdgesReceived added in v0.52.0

func (x *IngestGatewayResponsesResponse) GetNumEdgesReceived() int32

func (*IngestGatewayResponsesResponse) GetNumItemsReceived added in v0.52.0

func (x *IngestGatewayResponsesResponse) GetNumItemsReceived() int32

func (*IngestGatewayResponsesResponse) ProtoMessage added in v0.52.0

func (*IngestGatewayResponsesResponse) ProtoMessage()

func (*IngestGatewayResponsesResponse) ProtoReflect added in v0.52.0

func (*IngestGatewayResponsesResponse) Reset added in v0.52.0

func (x *IngestGatewayResponsesResponse) Reset()

func (*IngestGatewayResponsesResponse) String added in v0.52.0

type Invite added in v0.50.0

type Invite struct {
	Email  string              `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Status Invite_InviteStatus `protobuf:"varint,2,opt,name=status,proto3,enum=invites.Invite_InviteStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Invite) Descriptor deprecated added in v0.50.0

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

Deprecated: Use Invite.ProtoReflect.Descriptor instead.

func (*Invite) GetEmail added in v0.50.0

func (x *Invite) GetEmail() string

func (*Invite) GetStatus added in v0.50.0

func (x *Invite) GetStatus() Invite_InviteStatus

func (*Invite) ProtoMessage added in v0.50.0

func (*Invite) ProtoMessage()

func (*Invite) ProtoReflect added in v0.50.0

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

func (*Invite) Reset added in v0.50.0

func (x *Invite) Reset()

func (*Invite) String added in v0.50.0

func (x *Invite) String() string

type Invite_InviteStatus added in v0.50.0

type Invite_InviteStatus int32
const (
	Invite_INVITE_STATUS_UNSPECIFIED Invite_InviteStatus = 0
	// The user has been invited but has not yet accepted
	Invite_INVITE_STATUS_INVITED Invite_InviteStatus = 1
	// The user has accepted the invitation
	Invite_INVITE_STATUS_ACCEPTED Invite_InviteStatus = 2
)

func (Invite_InviteStatus) Descriptor added in v0.50.0

func (Invite_InviteStatus) Enum added in v0.50.0

func (Invite_InviteStatus) EnumDescriptor deprecated added in v0.50.0

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

Deprecated: Use Invite_InviteStatus.Descriptor instead.

func (Invite_InviteStatus) Number added in v0.50.0

func (Invite_InviteStatus) String added in v0.50.0

func (x Invite_InviteStatus) String() string

func (Invite_InviteStatus) Type added in v0.50.0

type Item

type Item struct {
	Type            string          `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	UniqueAttribute string          `protobuf:"bytes,2,opt,name=uniqueAttribute,proto3" json:"uniqueAttribute,omitempty"`
	Attributes      *ItemAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"`
	Metadata        *Metadata       `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The scope within which the item is unique. Item uniqueness is determined
	// by the combination of type and uniqueAttribute value. However it is
	// possible for the same item to exist in many scopes. There is not formal
	// definition for what a scope should be other than the fact that it should
	// be somewhat descriptive and should ensure item uniqueness
	Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	// Not all items will have relatedItems we are are using a two byte
	// integer to save one byte integers for more common things
	LinkedItemQueries []*LinkedItemQuery `protobuf:"bytes,16,rep,name=linkedItemQueries,proto3" json:"linkedItemQueries,omitempty"`
	// Linked items
	LinkedItems []*LinkedItem `protobuf:"bytes,17,rep,name=linkedItems,proto3" json:"linkedItems,omitempty"`
	// (optional) Represents the health of the item. Only items that have a
	// clearly relevant health attribute should return a value for health
	Health *Health `protobuf:"varint,18,opt,name=health,proto3,enum=Health,oneof" json:"health,omitempty"`
	// Arbitrary key-value pairs that can be used to store additional information.
	// These tags are retrieved from the source and map to the target's definition
	// of a tag (e.g. AWS tags, Kubernetes labels, etc.)
	Tags map[string]string `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

This is the same as Item within the package with a couple of exceptions, no real reason why this whole thing couldn't be modelled in protobuf though if required. Just need to decide what if anything should remain private

func (*Item) Compare

func (i *Item) Compare(r *Item) (int, error)

Compare compares two Items for the purposes of sorting. This sorts based on the string conversion of the Type, followed by the UniqueAttribute

func (*Item) Copy

func (i *Item) Copy(dest *Item)

Copy copies all information from one item pointer to another

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetAttributes

func (x *Item) GetAttributes() *ItemAttributes

func (*Item) GetHealth added in v0.21.0

func (x *Item) GetHealth() Health

func (*Item) GetLinkedItemQueries added in v0.18.0

func (x *Item) GetLinkedItemQueries() []*LinkedItemQuery

func (*Item) GetLinkedItems

func (x *Item) GetLinkedItems() []*LinkedItem

func (*Item) GetMetadata

func (x *Item) GetMetadata() *Metadata

func (*Item) GetScope added in v0.14.0

func (x *Item) GetScope() string

func (*Item) GetTags added in v0.50.0

func (x *Item) GetTags() map[string]string

func (*Item) GetType

func (x *Item) GetType() string

func (*Item) GetUniqueAttribute

func (x *Item) GetUniqueAttribute() string

func (*Item) GloballyUniqueName

func (i *Item) GloballyUniqueName() string

GloballyUniqueName Returns a string that defines the Item globally. This a combination of the following values:

  • scope
  • type
  • uniqueAttributeValue

They are concatenated with dots (.)

func (*Item) Hash

func (i *Item) Hash() string

Hash Returns a 12 character hash for the item. This is likely but not guaranteed to be unique. The hash is calculated using the GloballyUniqueName

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reference

func (i *Item) Reference() *Reference

Reference returns an SDP reference for the item

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

func (*Item) ToMap added in v0.58.0

func (i *Item) ToMap() map[string]any

func (*Item) UniqueAttributeValue

func (i *Item) UniqueAttributeValue() string

UniqueAttributeValue returns the value of whatever the Unique Attribute is for this item. This will then be converted to a string and returned

func (*Item) Validate added in v0.12.0

func (i *Item) Validate() error

Validate Ensures that en item is valid (e.g. contains the required fields)

type ItemAttributes

type ItemAttributes struct {
	AttrStruct *structpb.Struct `protobuf:"bytes,1,opt,name=attrStruct,proto3" json:"attrStruct,omitempty"`
	// contains filtered or unexported fields
}

ItemAttributes represents the known attributes for an item. These are likely to be common to a given type, but even this is not guaranteed. All items must have at least one attribute however as it needs something to uniquely identify it

func ToAttributes

func ToAttributes(m map[string]interface{}) (*ItemAttributes, error)

ToAttributes Converts a map[string]interface{} to an ItemAttributes object

func ToAttributesCustom added in v0.63.0

func ToAttributesCustom(m map[string]interface{}, sort bool, customTransforms TransformMap) (*ItemAttributes, error)

Converts to attributes using an additional set of custom transformers. These can be used to change the transform behaviour of known types to do things like redaction of sensitive data or simplification of complex types.

For example this could be used to completely remove anything of type `Secret`:

```go

TransformMap{
	reflect.TypeOf(Secret{}): func(i interface{}) interface{} {
		// Remove it
		return nil
	},
}

```

func ToAttributesSorted added in v0.47.0

func ToAttributesSorted(m map[string]interface{}) (*ItemAttributes, error)

Converts a map[string]interface{} to an ItemAttributes object, sorting all slices alphabetically.This should be used when the item doesn't contain array attributes that are explicitly sorted, especially if these are sometimes returned in a different order

func ToAttributesViaJson added in v0.6.0

func ToAttributesViaJson(v interface{}) (*ItemAttributes, error)

ToAttributesViaJson Converts any struct to a set of attributes by marshalling to JSON and then back again. This is less performant than ToAttributes() but does save work when copying large structs to attributes in their entirety

func (*ItemAttributes) Copy

func (a *ItemAttributes) Copy(dest *ItemAttributes)

Copy copies all information from one ItemAttributes pointer to another

func (*ItemAttributes) Descriptor deprecated

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

Deprecated: Use ItemAttributes.ProtoReflect.Descriptor instead.

func (*ItemAttributes) Get

func (a *ItemAttributes) Get(name string) (interface{}, error)

Get Returns the value of a given attribute by name. If the attribute is a nested hash, nested values can be referenced using dot notation e.g. location.country

func (*ItemAttributes) GetAttrStruct

func (x *ItemAttributes) GetAttrStruct() *structpb.Struct

func (*ItemAttributes) ProtoMessage

func (*ItemAttributes) ProtoMessage()

func (*ItemAttributes) ProtoReflect

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

func (*ItemAttributes) Reset

func (x *ItemAttributes) Reset()

func (*ItemAttributes) Set

func (a *ItemAttributes) Set(name string, value interface{}) error

Set sets an attribute. Values are converted to structpb versions and an error will be returned if this fails. Note that this does *not* yet support dot notation e.g. location.country

func (*ItemAttributes) String

func (x *ItemAttributes) String() string

type ItemDiff added in v0.31.0

type ItemDiff struct {

	// A reference to the item that this diff is related to
	Item *Reference `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// The staus of the item
	Status ItemDiffStatus `protobuf:"varint,2,opt,name=status,proto3,enum=changes.ItemDiffStatus" json:"status,omitempty"`
	Before *Item          `protobuf:"bytes,3,opt,name=before,proto3" json:"before,omitempty"`
	After  *Item          `protobuf:"bytes,4,opt,name=after,proto3" json:"after,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemDiff) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ItemDiff.ProtoReflect.Descriptor instead.

func (*ItemDiff) GetAfter added in v0.31.0

func (x *ItemDiff) GetAfter() *Item

func (*ItemDiff) GetBefore added in v0.31.0

func (x *ItemDiff) GetBefore() *Item

func (*ItemDiff) GetItem added in v0.31.0

func (x *ItemDiff) GetItem() *Reference

func (*ItemDiff) GetStatus added in v0.31.0

func (x *ItemDiff) GetStatus() ItemDiffStatus

func (*ItemDiff) GloballyUniqueName added in v0.59.2

func (id *ItemDiff) GloballyUniqueName() string

func (*ItemDiff) ProtoMessage added in v0.31.0

func (*ItemDiff) ProtoMessage()

func (*ItemDiff) ProtoReflect added in v0.31.0

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

func (*ItemDiff) Reset added in v0.31.0

func (x *ItemDiff) Reset()

func (*ItemDiff) String added in v0.31.0

func (x *ItemDiff) String() string

func (*ItemDiff) ToMap added in v0.58.0

func (id *ItemDiff) ToMap() map[string]any

type ItemDiffStatus added in v0.31.0

type ItemDiffStatus int32
const (
	ItemDiffStatus_ITEM_DIFF_STATUS_UNSPECIFIED ItemDiffStatus = 0
	ItemDiffStatus_ITEM_DIFF_STATUS_UNCHANGED   ItemDiffStatus = 1
	ItemDiffStatus_ITEM_DIFF_STATUS_CREATED     ItemDiffStatus = 2
	ItemDiffStatus_ITEM_DIFF_STATUS_UPDATED     ItemDiffStatus = 3
	ItemDiffStatus_ITEM_DIFF_STATUS_DELETED     ItemDiffStatus = 4
	ItemDiffStatus_ITEM_DIFF_STATUS_REPLACED    ItemDiffStatus = 5
)

func (ItemDiffStatus) Descriptor added in v0.31.0

func (ItemDiffStatus) Enum added in v0.31.0

func (x ItemDiffStatus) Enum() *ItemDiffStatus

func (ItemDiffStatus) EnumDescriptor deprecated added in v0.31.0

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

Deprecated: Use ItemDiffStatus.Descriptor instead.

func (ItemDiffStatus) Number added in v0.31.0

func (ItemDiffStatus) String added in v0.31.0

func (x ItemDiffStatus) String() string

func (ItemDiffStatus) Type added in v0.31.0

type ItemDiffSummary added in v0.31.0

type ItemDiffSummary struct {

	// A reference to the item that this diff is related to
	Item *Reference `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// The staus of the item
	Status ItemDiffStatus `protobuf:"varint,4,opt,name=status,proto3,enum=changes.ItemDiffStatus" json:"status,omitempty"`
	// The health of the item currently (as opposed to before the change)
	HealthAfter Health `protobuf:"varint,5,opt,name=healthAfter,proto3,enum=Health" json:"healthAfter,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemDiffSummary) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ItemDiffSummary.ProtoReflect.Descriptor instead.

func (*ItemDiffSummary) GetHealthAfter added in v0.31.0

func (x *ItemDiffSummary) GetHealthAfter() Health

func (*ItemDiffSummary) GetItem added in v0.31.0

func (x *ItemDiffSummary) GetItem() *Reference

func (*ItemDiffSummary) GetStatus added in v0.31.0

func (x *ItemDiffSummary) GetStatus() ItemDiffStatus

func (*ItemDiffSummary) ProtoMessage added in v0.31.0

func (*ItemDiffSummary) ProtoMessage()

func (*ItemDiffSummary) ProtoReflect added in v0.31.0

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

func (*ItemDiffSummary) Reset added in v0.31.0

func (x *ItemDiffSummary) Reset()

func (*ItemDiffSummary) String added in v0.31.0

func (x *ItemDiffSummary) String() string

type Items

type Items struct {
	Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

This is a list of items, like a List() would return

func (*Items) Descriptor deprecated

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

Deprecated: Use Items.ProtoReflect.Descriptor instead.

func (*Items) GetItems

func (x *Items) GetItems() []*Item

func (*Items) ProtoMessage

func (*Items) ProtoMessage()

func (*Items) ProtoReflect

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

func (*Items) Reset

func (x *Items) Reset()

func (*Items) String

func (x *Items) String() string

type KeepaliveSourcesRequest added in v0.29.0

type KeepaliveSourcesRequest struct {

	// Set to true to have the API call wait until the source is up and healthy
	WaitForHealthy bool `protobuf:"varint,1,opt,name=waitForHealthy,proto3" json:"waitForHealthy,omitempty"`
	// contains filtered or unexported fields
}

func (*KeepaliveSourcesRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use KeepaliveSourcesRequest.ProtoReflect.Descriptor instead.

func (*KeepaliveSourcesRequest) GetWaitForHealthy added in v0.49.3

func (x *KeepaliveSourcesRequest) GetWaitForHealthy() bool

func (*KeepaliveSourcesRequest) ProtoMessage added in v0.29.0

func (*KeepaliveSourcesRequest) ProtoMessage()

func (*KeepaliveSourcesRequest) ProtoReflect added in v0.29.0

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

func (*KeepaliveSourcesRequest) Reset added in v0.29.0

func (x *KeepaliveSourcesRequest) Reset()

func (*KeepaliveSourcesRequest) String added in v0.29.0

func (x *KeepaliveSourcesRequest) String() string

type KeepaliveSourcesResponse added in v0.29.0

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

func (*KeepaliveSourcesResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use KeepaliveSourcesResponse.ProtoReflect.Descriptor instead.

func (*KeepaliveSourcesResponse) ProtoMessage added in v0.29.0

func (*KeepaliveSourcesResponse) ProtoMessage()

func (*KeepaliveSourcesResponse) ProtoReflect added in v0.29.0

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

func (*KeepaliveSourcesResponse) Reset added in v0.29.0

func (x *KeepaliveSourcesResponse) Reset()

func (*KeepaliveSourcesResponse) String added in v0.29.0

func (x *KeepaliveSourcesResponse) String() string

type KeyStatus added in v0.34.3

type KeyStatus int32
const (
	KeyStatus_KEY_STATUS_UNKNOWN KeyStatus = 0
	// This means the key has been created but we have not yet received the
	// callback from Auth0 which allows us to fetch the access token
	KeyStatus_KEY_STATUS_UNAUTHORIZED KeyStatus = 1
	// Key is ready for use
	KeyStatus_KEY_STATUS_READY KeyStatus = 2
	// There was an error getting the access token from Auth0
	KeyStatus_KEY_STATUS_ERROR KeyStatus = 3
	// The API key has been revoked
	KeyStatus_KEY_STATUS_REVOKED KeyStatus = 4
)

func (KeyStatus) Descriptor added in v0.34.3

func (KeyStatus) Descriptor() protoreflect.EnumDescriptor

func (KeyStatus) Enum added in v0.34.3

func (x KeyStatus) Enum() *KeyStatus

func (KeyStatus) EnumDescriptor deprecated added in v0.34.3

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

Deprecated: Use KeyStatus.Descriptor instead.

func (KeyStatus) Number added in v0.34.3

func (x KeyStatus) Number() protoreflect.EnumNumber

func (KeyStatus) String added in v0.34.3

func (x KeyStatus) String() string

func (KeyStatus) Type added in v0.34.3

type LinkedItem added in v0.30.0

type LinkedItem struct {

	// the linked item
	Item *Reference `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// how configuration changes (i.e. the "blast") propagates over this link
	BlastPropagation *BlastPropagation `protobuf:"bytes,2,opt,name=blastPropagation,proto3" json:"blastPropagation,omitempty"`
	// contains filtered or unexported fields
}

An annotated reference to list linked items.

func (*LinkedItem) Copy added in v0.30.0

func (li *LinkedItem) Copy(dest *LinkedItem)

Copy copies all information from one item pointer to another

func (*LinkedItem) Descriptor deprecated added in v0.30.0

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

Deprecated: Use LinkedItem.ProtoReflect.Descriptor instead.

func (*LinkedItem) GetBlastPropagation added in v0.30.0

func (x *LinkedItem) GetBlastPropagation() *BlastPropagation

func (*LinkedItem) GetItem added in v0.30.0

func (x *LinkedItem) GetItem() *Reference

func (*LinkedItem) ProtoMessage added in v0.30.0

func (*LinkedItem) ProtoMessage()

func (*LinkedItem) ProtoReflect added in v0.30.0

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

func (*LinkedItem) Reset added in v0.30.0

func (x *LinkedItem) Reset()

func (*LinkedItem) String added in v0.30.0

func (x *LinkedItem) String() string

type LinkedItemQuery added in v0.30.0

type LinkedItemQuery struct {

	// the query that would find linked items
	Query *Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// how configuration changes (i.e. the "blast") propagates over this link
	BlastPropagation *BlastPropagation `protobuf:"bytes,2,opt,name=blastPropagation,proto3" json:"blastPropagation,omitempty"`
	// contains filtered or unexported fields
}

An annotated query to indicate potential linked items.

func (*LinkedItemQuery) Copy added in v0.30.0

func (liq *LinkedItemQuery) Copy(dest *LinkedItemQuery)

Copy copies all information from one item pointer to another

func (*LinkedItemQuery) Descriptor deprecated added in v0.30.0

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

Deprecated: Use LinkedItemQuery.ProtoReflect.Descriptor instead.

func (*LinkedItemQuery) GetBlastPropagation added in v0.30.0

func (x *LinkedItemQuery) GetBlastPropagation() *BlastPropagation

func (*LinkedItemQuery) GetQuery added in v0.30.0

func (x *LinkedItemQuery) GetQuery() *Query

func (*LinkedItemQuery) ProtoMessage added in v0.30.0

func (*LinkedItemQuery) ProtoMessage()

func (*LinkedItemQuery) ProtoReflect added in v0.30.0

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

func (*LinkedItemQuery) Reset added in v0.30.0

func (x *LinkedItemQuery) Reset()

func (*LinkedItemQuery) String added in v0.30.0

func (x *LinkedItemQuery) String() string

type ListAPIKeysRequest added in v0.34.3

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

func (*ListAPIKeysRequest) Descriptor deprecated added in v0.34.3

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

Deprecated: Use ListAPIKeysRequest.ProtoReflect.Descriptor instead.

func (*ListAPIKeysRequest) ProtoMessage added in v0.34.3

func (*ListAPIKeysRequest) ProtoMessage()

func (*ListAPIKeysRequest) ProtoReflect added in v0.34.3

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

func (*ListAPIKeysRequest) Reset added in v0.34.3

func (x *ListAPIKeysRequest) Reset()

func (*ListAPIKeysRequest) String added in v0.34.3

func (x *ListAPIKeysRequest) String() string

type ListAPIKeysResponse added in v0.34.3

type ListAPIKeysResponse struct {
	Keys []*APIKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAPIKeysResponse) Descriptor deprecated added in v0.34.3

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

Deprecated: Use ListAPIKeysResponse.ProtoReflect.Descriptor instead.

func (*ListAPIKeysResponse) GetKeys added in v0.34.3

func (x *ListAPIKeysResponse) GetKeys() []*APIKey

func (*ListAPIKeysResponse) ProtoMessage added in v0.34.3

func (*ListAPIKeysResponse) ProtoMessage()

func (*ListAPIKeysResponse) ProtoReflect added in v0.34.3

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

func (*ListAPIKeysResponse) Reset added in v0.34.3

func (x *ListAPIKeysResponse) Reset()

func (*ListAPIKeysResponse) String added in v0.34.3

func (x *ListAPIKeysResponse) String() string

type ListAccountsRequest added in v0.29.0

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

func (*ListAccountsRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountsRequest) ProtoMessage added in v0.29.0

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) ProtoReflect added in v0.29.0

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

func (*ListAccountsRequest) Reset added in v0.29.0

func (x *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String added in v0.29.0

func (x *ListAccountsRequest) String() string

type ListAccountsResponse added in v0.29.0

type ListAccountsResponse struct {
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAccountsResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListAccountsResponse) GetAccounts added in v0.29.0

func (x *ListAccountsResponse) GetAccounts() []*Account

func (*ListAccountsResponse) ProtoMessage added in v0.29.0

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) ProtoReflect added in v0.29.0

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

func (*ListAccountsResponse) Reset added in v0.29.0

func (x *ListAccountsResponse) Reset()

func (*ListAccountsResponse) String added in v0.29.0

func (x *ListAccountsResponse) String() string

type ListAppChangesRequest added in v0.27.0

type ListAppChangesRequest struct {

	// The UUID of the app to list changes for
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

list all changes for an app

func (*ListAppChangesRequest) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ListAppChangesRequest.ProtoReflect.Descriptor instead.

func (*ListAppChangesRequest) GetUUID added in v0.27.0

func (x *ListAppChangesRequest) GetUUID() []byte

func (*ListAppChangesRequest) GetUUIDParsed added in v0.28.1

func (a *ListAppChangesRequest) GetUUIDParsed() *uuid.UUID

func (*ListAppChangesRequest) ProtoMessage added in v0.27.0

func (*ListAppChangesRequest) ProtoMessage()

func (*ListAppChangesRequest) ProtoReflect added in v0.27.0

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

func (*ListAppChangesRequest) Reset added in v0.27.0

func (x *ListAppChangesRequest) Reset()

func (*ListAppChangesRequest) String added in v0.27.0

func (x *ListAppChangesRequest) String() string

type ListAppChangesResponse added in v0.27.0

type ListAppChangesResponse struct {

	// The list of changes related to an app
	Changes []*Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppChangesResponse) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ListAppChangesResponse.ProtoReflect.Descriptor instead.

func (*ListAppChangesResponse) GetChanges added in v0.27.0

func (x *ListAppChangesResponse) GetChanges() []*Change

func (*ListAppChangesResponse) ProtoMessage added in v0.27.0

func (*ListAppChangesResponse) ProtoMessage()

func (*ListAppChangesResponse) ProtoReflect added in v0.27.0

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

func (*ListAppChangesResponse) Reset added in v0.27.0

func (x *ListAppChangesResponse) Reset()

func (*ListAppChangesResponse) String added in v0.27.0

func (x *ListAppChangesResponse) String() string

type ListAppChangesSummaryRequest added in v0.31.0

type ListAppChangesSummaryRequest struct {
	AppUUID []byte `protobuf:"bytes,1,opt,name=appUUID,proto3" json:"appUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppChangesSummaryRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ListAppChangesSummaryRequest.ProtoReflect.Descriptor instead.

func (*ListAppChangesSummaryRequest) GetAppUUID added in v0.31.0

func (x *ListAppChangesSummaryRequest) GetAppUUID() []byte

func (*ListAppChangesSummaryRequest) ProtoMessage added in v0.31.0

func (*ListAppChangesSummaryRequest) ProtoMessage()

func (*ListAppChangesSummaryRequest) ProtoReflect added in v0.31.0

func (*ListAppChangesSummaryRequest) Reset added in v0.31.0

func (x *ListAppChangesSummaryRequest) Reset()

func (*ListAppChangesSummaryRequest) String added in v0.31.0

type ListAppChangesSummaryResponse added in v0.31.0

type ListAppChangesSummaryResponse struct {
	Changes []*ChangeSummary `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppChangesSummaryResponse) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ListAppChangesSummaryResponse.ProtoReflect.Descriptor instead.

func (*ListAppChangesSummaryResponse) GetChanges added in v0.31.0

func (x *ListAppChangesSummaryResponse) GetChanges() []*ChangeSummary

func (*ListAppChangesSummaryResponse) ProtoMessage added in v0.31.0

func (*ListAppChangesSummaryResponse) ProtoMessage()

func (*ListAppChangesSummaryResponse) ProtoReflect added in v0.31.0

func (*ListAppChangesSummaryResponse) Reset added in v0.31.0

func (x *ListAppChangesSummaryResponse) Reset()

func (*ListAppChangesSummaryResponse) String added in v0.31.0

type ListAppsRequest added in v0.24.0

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

list all apps

func (*ListAppsRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use ListAppsRequest.ProtoReflect.Descriptor instead.

func (*ListAppsRequest) ProtoMessage added in v0.24.0

func (*ListAppsRequest) ProtoMessage()

func (*ListAppsRequest) ProtoReflect added in v0.24.0

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

func (*ListAppsRequest) Reset added in v0.24.0

func (x *ListAppsRequest) Reset()

func (*ListAppsRequest) String added in v0.24.0

func (x *ListAppsRequest) String() string

type ListAppsResponse added in v0.24.0

type ListAppsResponse struct {
	Apps []*App `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppsResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use ListAppsResponse.ProtoReflect.Descriptor instead.

func (*ListAppsResponse) GetApps added in v0.24.0

func (x *ListAppsResponse) GetApps() []*App

func (*ListAppsResponse) ProtoMessage added in v0.24.0

func (*ListAppsResponse) ProtoMessage()

func (*ListAppsResponse) ProtoReflect added in v0.24.0

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

func (*ListAppsResponse) Reset added in v0.24.0

func (x *ListAppsResponse) Reset()

func (*ListAppsResponse) String added in v0.24.0

func (x *ListAppsResponse) String() string

type ListBookmarkResponse added in v0.22.0

type ListBookmarkResponse struct {
	Bookmarks []*Bookmark `protobuf:"bytes,3,rep,name=bookmarks,proto3" json:"bookmarks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBookmarkResponse) Descriptor deprecated added in v0.22.0

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

Deprecated: Use ListBookmarkResponse.ProtoReflect.Descriptor instead.

func (*ListBookmarkResponse) GetBookmarks added in v0.22.0

func (x *ListBookmarkResponse) GetBookmarks() []*Bookmark

func (*ListBookmarkResponse) ProtoMessage added in v0.22.0

func (*ListBookmarkResponse) ProtoMessage()

func (*ListBookmarkResponse) ProtoReflect added in v0.22.0

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

func (*ListBookmarkResponse) Reset added in v0.22.0

func (x *ListBookmarkResponse) Reset()

func (*ListBookmarkResponse) String added in v0.22.0

func (x *ListBookmarkResponse) String() string

type ListBookmarksRequest added in v0.22.0

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

list all bookmarks

func (*ListBookmarksRequest) Descriptor deprecated added in v0.22.0

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

Deprecated: Use ListBookmarksRequest.ProtoReflect.Descriptor instead.

func (*ListBookmarksRequest) ProtoMessage added in v0.22.0

func (*ListBookmarksRequest) ProtoMessage()

func (*ListBookmarksRequest) ProtoReflect added in v0.22.0

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

func (*ListBookmarksRequest) Reset added in v0.22.0

func (x *ListBookmarksRequest) Reset()

func (*ListBookmarksRequest) String added in v0.22.0

func (x *ListBookmarksRequest) String() string

type ListChangesByStatusRequest added in v0.43.0

type ListChangesByStatusRequest struct {
	Status ChangeStatus `protobuf:"varint,1,opt,name=status,proto3,enum=changes.ChangeStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

list all changes in a specific status

func (*ListChangesByStatusRequest) Descriptor deprecated added in v0.43.0

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

Deprecated: Use ListChangesByStatusRequest.ProtoReflect.Descriptor instead.

func (*ListChangesByStatusRequest) GetStatus added in v0.43.0

func (*ListChangesByStatusRequest) ProtoMessage added in v0.43.0

func (*ListChangesByStatusRequest) ProtoMessage()

func (*ListChangesByStatusRequest) ProtoReflect added in v0.43.0

func (*ListChangesByStatusRequest) Reset added in v0.43.0

func (x *ListChangesByStatusRequest) Reset()

func (*ListChangesByStatusRequest) String added in v0.43.0

func (x *ListChangesByStatusRequest) String() string

type ListChangesByStatusResponse added in v0.43.0

type ListChangesByStatusResponse struct {
	Changes []*Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChangesByStatusResponse) Descriptor deprecated added in v0.43.0

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

Deprecated: Use ListChangesByStatusResponse.ProtoReflect.Descriptor instead.

func (*ListChangesByStatusResponse) GetChanges added in v0.43.0

func (x *ListChangesByStatusResponse) GetChanges() []*Change

func (*ListChangesByStatusResponse) ProtoMessage added in v0.43.0

func (*ListChangesByStatusResponse) ProtoMessage()

func (*ListChangesByStatusResponse) ProtoReflect added in v0.43.0

func (*ListChangesByStatusResponse) Reset added in v0.43.0

func (x *ListChangesByStatusResponse) Reset()

func (*ListChangesByStatusResponse) String added in v0.43.0

func (x *ListChangesByStatusResponse) String() string

type ListChangesRequest added in v0.24.0

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

list all changes

func (*ListChangesRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use ListChangesRequest.ProtoReflect.Descriptor instead.

func (*ListChangesRequest) ProtoMessage added in v0.24.0

func (*ListChangesRequest) ProtoMessage()

func (*ListChangesRequest) ProtoReflect added in v0.24.0

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

func (*ListChangesRequest) Reset added in v0.24.0

func (x *ListChangesRequest) Reset()

func (*ListChangesRequest) String added in v0.24.0

func (x *ListChangesRequest) String() string

type ListChangesResponse added in v0.24.0

type ListChangesResponse struct {
	Changes []*Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChangesResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use ListChangesResponse.ProtoReflect.Descriptor instead.

func (*ListChangesResponse) GetChanges added in v0.24.0

func (x *ListChangesResponse) GetChanges() []*Change

func (*ListChangesResponse) ProtoMessage added in v0.24.0

func (*ListChangesResponse) ProtoMessage()

func (*ListChangesResponse) ProtoReflect added in v0.24.0

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

func (*ListChangesResponse) Reset added in v0.24.0

func (x *ListChangesResponse) Reset()

func (*ListChangesResponse) String added in v0.24.0

func (x *ListChangesResponse) String() string

type ListChangingItemsSummaryRequest added in v0.31.0

type ListChangingItemsSummaryRequest struct {
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChangingItemsSummaryRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ListChangingItemsSummaryRequest.ProtoReflect.Descriptor instead.

func (*ListChangingItemsSummaryRequest) GetChangeUUID added in v0.31.0

func (x *ListChangingItemsSummaryRequest) GetChangeUUID() []byte

func (*ListChangingItemsSummaryRequest) GetChangeUUIDParsed added in v0.46.2

func (x *ListChangingItemsSummaryRequest) GetChangeUUIDParsed() *uuid.UUID

func (*ListChangingItemsSummaryRequest) ProtoMessage added in v0.31.0

func (*ListChangingItemsSummaryRequest) ProtoMessage()

func (*ListChangingItemsSummaryRequest) ProtoReflect added in v0.31.0

func (*ListChangingItemsSummaryRequest) Reset added in v0.31.0

func (*ListChangingItemsSummaryRequest) String added in v0.31.0

type ListChangingItemsSummaryResponse added in v0.31.0

type ListChangingItemsSummaryResponse struct {
	Items []*ItemDiffSummary `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChangingItemsSummaryResponse) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ListChangingItemsSummaryResponse.ProtoReflect.Descriptor instead.

func (*ListChangingItemsSummaryResponse) GetItems added in v0.31.0

func (*ListChangingItemsSummaryResponse) ProtoMessage added in v0.31.0

func (*ListChangingItemsSummaryResponse) ProtoMessage()

func (*ListChangingItemsSummaryResponse) ProtoReflect added in v0.31.0

func (*ListChangingItemsSummaryResponse) Reset added in v0.31.0

func (*ListChangingItemsSummaryResponse) String added in v0.31.0

type ListHomeAppsRequest added in v0.31.0

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

func (*ListHomeAppsRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ListHomeAppsRequest.ProtoReflect.Descriptor instead.

func (*ListHomeAppsRequest) ProtoMessage added in v0.31.0

func (*ListHomeAppsRequest) ProtoMessage()

func (*ListHomeAppsRequest) ProtoReflect added in v0.31.0

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

func (*ListHomeAppsRequest) Reset added in v0.31.0

func (x *ListHomeAppsRequest) Reset()

func (*ListHomeAppsRequest) String added in v0.31.0

func (x *ListHomeAppsRequest) String() string

type ListHomeAppsResponse added in v0.31.0

type ListHomeAppsResponse struct {
	Apps []*AppSummary `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHomeAppsResponse) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ListHomeAppsResponse.ProtoReflect.Descriptor instead.

func (*ListHomeAppsResponse) GetApps added in v0.31.0

func (x *ListHomeAppsResponse) GetApps() []*AppSummary

func (*ListHomeAppsResponse) ProtoMessage added in v0.31.0

func (*ListHomeAppsResponse) ProtoMessage()

func (*ListHomeAppsResponse) ProtoReflect added in v0.31.0

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

func (*ListHomeAppsResponse) Reset added in v0.31.0

func (x *ListHomeAppsResponse) Reset()

func (*ListHomeAppsResponse) String added in v0.31.0

func (x *ListHomeAppsResponse) String() string

type ListHomeChangesRequest added in v0.31.0

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

func (*ListHomeChangesRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ListHomeChangesRequest.ProtoReflect.Descriptor instead.

func (*ListHomeChangesRequest) ProtoMessage added in v0.31.0

func (*ListHomeChangesRequest) ProtoMessage()

func (*ListHomeChangesRequest) ProtoReflect added in v0.31.0

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

func (*ListHomeChangesRequest) Reset added in v0.31.0

func (x *ListHomeChangesRequest) Reset()

func (*ListHomeChangesRequest) String added in v0.31.0

func (x *ListHomeChangesRequest) String() string

type ListHomeChangesResponse added in v0.31.0

type ListHomeChangesResponse struct {
	Changes []*ChangeSummary `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHomeChangesResponse) Descriptor deprecated added in v0.31.0

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

Deprecated: Use ListHomeChangesResponse.ProtoReflect.Descriptor instead.

func (*ListHomeChangesResponse) GetChanges added in v0.31.0

func (x *ListHomeChangesResponse) GetChanges() []*ChangeSummary

func (*ListHomeChangesResponse) ProtoMessage added in v0.31.0

func (*ListHomeChangesResponse) ProtoMessage()

func (*ListHomeChangesResponse) ProtoReflect added in v0.31.0

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

func (*ListHomeChangesResponse) Reset added in v0.31.0

func (x *ListHomeChangesResponse) Reset()

func (*ListHomeChangesResponse) String added in v0.31.0

func (x *ListHomeChangesResponse) String() string

type ListInvitesRequest added in v0.50.0

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

func (*ListInvitesRequest) Descriptor deprecated added in v0.50.0

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

Deprecated: Use ListInvitesRequest.ProtoReflect.Descriptor instead.

func (*ListInvitesRequest) ProtoMessage added in v0.50.0

func (*ListInvitesRequest) ProtoMessage()

func (*ListInvitesRequest) ProtoReflect added in v0.50.0

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

func (*ListInvitesRequest) Reset added in v0.50.0

func (x *ListInvitesRequest) Reset()

func (*ListInvitesRequest) String added in v0.50.0

func (x *ListInvitesRequest) String() string

type ListInvitesResponse added in v0.50.0

type ListInvitesResponse struct {
	Invites []*Invite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvitesResponse) Descriptor deprecated added in v0.50.0

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

Deprecated: Use ListInvitesResponse.ProtoReflect.Descriptor instead.

func (*ListInvitesResponse) GetInvites added in v0.50.0

func (x *ListInvitesResponse) GetInvites() []*Invite

func (*ListInvitesResponse) ProtoMessage added in v0.50.0

func (*ListInvitesResponse) ProtoMessage()

func (*ListInvitesResponse) ProtoReflect added in v0.50.0

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

func (*ListInvitesResponse) Reset added in v0.50.0

func (x *ListInvitesResponse) Reset()

func (*ListInvitesResponse) String added in v0.50.0

func (x *ListInvitesResponse) String() string

type ListSnapshotResponse added in v0.24.0

type ListSnapshotResponse struct {

	// the list of all snapshots
	Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use ListSnapshotResponse.ProtoReflect.Descriptor instead.

func (*ListSnapshotResponse) GetSnapshots added in v0.24.0

func (x *ListSnapshotResponse) GetSnapshots() []*Snapshot

func (*ListSnapshotResponse) ProtoMessage added in v0.24.0

func (*ListSnapshotResponse) ProtoMessage()

func (*ListSnapshotResponse) ProtoReflect added in v0.24.0

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

func (*ListSnapshotResponse) Reset added in v0.24.0

func (x *ListSnapshotResponse) Reset()

func (*ListSnapshotResponse) String added in v0.24.0

func (x *ListSnapshotResponse) String() string

type ListSnapshotsRequest added in v0.24.0

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

lists all snapshots

func (*ListSnapshotsRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListSnapshotsRequest) ProtoMessage added in v0.24.0

func (*ListSnapshotsRequest) ProtoMessage()

func (*ListSnapshotsRequest) ProtoReflect added in v0.24.0

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

func (*ListSnapshotsRequest) Reset added in v0.24.0

func (x *ListSnapshotsRequest) Reset()

func (*ListSnapshotsRequest) String added in v0.24.0

func (x *ListSnapshotsRequest) String() string

type ListSourcesRequest added in v0.29.0

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

func (*ListSourcesRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use ListSourcesRequest.ProtoReflect.Descriptor instead.

func (*ListSourcesRequest) ProtoMessage added in v0.29.0

func (*ListSourcesRequest) ProtoMessage()

func (*ListSourcesRequest) ProtoReflect added in v0.29.0

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

func (*ListSourcesRequest) Reset added in v0.29.0

func (x *ListSourcesRequest) Reset()

func (*ListSourcesRequest) String added in v0.29.0

func (x *ListSourcesRequest) String() string

type ListSourcesResponse added in v0.29.0

type ListSourcesResponse struct {
	Sources []*Source `protobuf:"bytes,1,rep,name=Sources,proto3" json:"Sources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSourcesResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use ListSourcesResponse.ProtoReflect.Descriptor instead.

func (*ListSourcesResponse) GetSources added in v0.29.0

func (x *ListSourcesResponse) GetSources() []*Source

func (*ListSourcesResponse) ProtoMessage added in v0.29.0

func (*ListSourcesResponse) ProtoMessage()

func (*ListSourcesResponse) ProtoReflect added in v0.29.0

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

func (*ListSourcesResponse) Reset added in v0.29.0

func (x *ListSourcesResponse) Reset()

func (*ListSourcesResponse) String added in v0.29.0

func (x *ListSourcesResponse) String() string

type LoadBookmark added in v0.19.0

type LoadBookmark struct {

	// unique id of the bookmark to load
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// a correlation ID to match up requests and responses. set this to a value unique per connection
	MsgID []byte `protobuf:"bytes,2,opt,name=msgID,proto3" json:"msgID,omitempty"`
	// set to true to force fetching fresh data
	IgnoreCache bool `protobuf:"varint,3,opt,name=ignoreCache,proto3" json:"ignoreCache,omitempty"`
	// The time at which the gateway should stop processing the queries spawned by this request
	Deadline *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deadline,proto3" json:"deadline,omitempty"`
	// contains filtered or unexported fields
}

Ask the gateway to load the specified bookmark into the current state. Results are streamed to the client in the same way query results are.

func (*LoadBookmark) Descriptor deprecated added in v0.19.0

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

Deprecated: Use LoadBookmark.ProtoReflect.Descriptor instead.

func (*LoadBookmark) GetDeadline added in v0.49.5

func (x *LoadBookmark) GetDeadline() *timestamppb.Timestamp

func (*LoadBookmark) GetIgnoreCache added in v0.44.3

func (x *LoadBookmark) GetIgnoreCache() bool

func (*LoadBookmark) GetMsgID added in v0.27.0

func (x *LoadBookmark) GetMsgID() []byte

func (*LoadBookmark) GetMsgIDLogString added in v0.28.0

func (x *LoadBookmark) GetMsgIDLogString() string

GetMsgIDLogString returns the correlation ID as string for logging

func (*LoadBookmark) GetUUID added in v0.19.0

func (x *LoadBookmark) GetUUID() []byte

func (*LoadBookmark) ProtoMessage added in v0.19.0

func (*LoadBookmark) ProtoMessage()

func (*LoadBookmark) ProtoReflect added in v0.19.0

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

func (*LoadBookmark) Reset added in v0.19.0

func (x *LoadBookmark) Reset()

func (*LoadBookmark) String added in v0.19.0

func (x *LoadBookmark) String() string

type LoadSnapshot added in v0.17.0

type LoadSnapshot struct {

	// unique id of the snapshot to load
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// a correlation ID to match up requests and responses. set this to a value unique per connection
	MsgID []byte `protobuf:"bytes,2,opt,name=msgID,proto3" json:"msgID,omitempty"`
	// contains filtered or unexported fields
}

Ask the gateway to load the specified snapshot into the current state. Results are streamed to the client in the same way query results are.

func (*LoadSnapshot) Descriptor deprecated added in v0.17.0

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

Deprecated: Use LoadSnapshot.ProtoReflect.Descriptor instead.

func (*LoadSnapshot) GetMsgID added in v0.27.0

func (x *LoadSnapshot) GetMsgID() []byte

func (*LoadSnapshot) GetMsgIDLogString added in v0.28.0

func (x *LoadSnapshot) GetMsgIDLogString() string

GetMsgIDLogString returns the correlation ID as string for logging

func (*LoadSnapshot) GetUUID added in v0.17.0

func (x *LoadSnapshot) GetUUID() []byte

func (*LoadSnapshot) ProtoMessage added in v0.17.0

func (*LoadSnapshot) ProtoMessage()

func (*LoadSnapshot) ProtoReflect added in v0.17.0

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

func (*LoadSnapshot) Reset added in v0.17.0

func (x *LoadSnapshot) Reset()

func (*LoadSnapshot) String added in v0.17.0

func (x *LoadSnapshot) String() string

type MappedItemDiff added in v0.55.0

type MappedItemDiff struct {

	// The item that is changing and any known changes to it
	Item *ItemDiff `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// a mapping query that can be used to find the item. this can be empty if the
	// submitter does not know how to map this item.
	MappingQuery *Query `protobuf:"bytes,2,opt,name=mappingQuery,proto3,oneof" json:"mappingQuery,omitempty"`
	// contains filtered or unexported fields
}

func (*MappedItemDiff) Descriptor deprecated added in v0.55.0

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

Deprecated: Use MappedItemDiff.ProtoReflect.Descriptor instead.

func (*MappedItemDiff) GetItem added in v0.55.0

func (x *MappedItemDiff) GetItem() *ItemDiff

func (*MappedItemDiff) GetMappingQuery added in v0.55.0

func (x *MappedItemDiff) GetMappingQuery() *Query

func (*MappedItemDiff) ProtoMessage added in v0.55.0

func (*MappedItemDiff) ProtoMessage()

func (*MappedItemDiff) ProtoReflect added in v0.55.0

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

func (*MappedItemDiff) Reset added in v0.55.0

func (x *MappedItemDiff) Reset()

func (*MappedItemDiff) String added in v0.55.0

func (x *MappedItemDiff) String() string

type Metadata

type Metadata struct {

	// This is the name of the source that was used to find the item.
	SourceName string `protobuf:"bytes,2,opt,name=sourceName,proto3" json:"sourceName,omitempty"`
	// The query that caused this item to be found. This is for gateway-internal use and will not be exposed to the frontend.
	SourceQuery *Query `protobuf:"bytes,3,opt,name=sourceQuery,proto3" json:"sourceQuery,omitempty"`
	// The time that the item was found
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// How long the source took to execute in total when processing the
	// Query
	SourceDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=sourceDuration,proto3" json:"sourceDuration,omitempty"`
	// How long the source took to execute per item when processing the
	// Query
	SourceDurationPerItem *durationpb.Duration `protobuf:"bytes,6,opt,name=sourceDurationPerItem,proto3" json:"sourceDurationPerItem,omitempty"`
	// Whether the item should be hidden/ignored by user-facing things such as
	// GUIs and databases.
	//
	// Some types of items are only relevant in calculating higher-layer
	// abstractions and are therefore always hidden. A good example of this would
	// be the output of a command. This could be used by a remote source to gather
	// information, but we don't actually want to show the user all the commands
	// that were run, just the final item returned by the source
	Hidden bool `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"`
	// The UUID of the QUERY that caused this item to be found
	//
	// Deprecated: Marked as deprecated in items.proto.
	SourceQueryUUID []byte `protobuf:"bytes,8,opt,name=sourceQueryUUID,proto3" json:"sourceQueryUUID,omitempty"`
	// contains filtered or unexported fields
}

Metadata about the item. Where it came from, how long it took, etc.

func (*Metadata) Copy

func (m *Metadata) Copy(dest *Metadata)

Copy copies all information from one Metadata pointer to another

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetHidden added in v0.2.0

func (x *Metadata) GetHidden() bool

func (*Metadata) GetSourceDuration

func (x *Metadata) GetSourceDuration() *durationpb.Duration

func (*Metadata) GetSourceDurationPerItem

func (x *Metadata) GetSourceDurationPerItem() *durationpb.Duration

func (*Metadata) GetSourceName

func (x *Metadata) GetSourceName() string

func (*Metadata) GetSourceQuery added in v0.18.0

func (x *Metadata) GetSourceQuery() *Query

func (*Metadata) GetSourceQueryUUID deprecated added in v0.18.0

func (x *Metadata) GetSourceQueryUUID() []byte

Deprecated: Marked as deprecated in items.proto.

func (*Metadata) GetTimestamp

func (x *Metadata) GetTimestamp() *timestamppb.Timestamp

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Onboarding added in v0.23.0

type Onboarding struct {

	// machine-generated metadata of this onboarding info
	Metadata *OnboardingMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// user-supplied properties of this onboarding info
	Properties *OnboardingProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

complete Onboarding information with machine-supplied and user-supplied values

func (*Onboarding) Descriptor deprecated added in v0.23.0

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

Deprecated: Use Onboarding.ProtoReflect.Descriptor instead.

func (*Onboarding) GetMetadata added in v0.23.0

func (x *Onboarding) GetMetadata() *OnboardingMetadata

func (*Onboarding) GetProperties added in v0.23.0

func (x *Onboarding) GetProperties() *OnboardingProperties

func (*Onboarding) ProtoMessage added in v0.23.0

func (*Onboarding) ProtoMessage()

func (*Onboarding) ProtoReflect added in v0.23.0

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

func (*Onboarding) Reset added in v0.23.0

func (x *Onboarding) Reset()

func (*Onboarding) String added in v0.23.0

func (x *Onboarding) String() string

type OnboardingMetadata added in v0.23.0

type OnboardingMetadata struct {

	// timestamp when this onboarding info was created
	Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// whether or not the user already has an AWS source configured
	HasAwsSource bool `protobuf:"varint,3,opt,name=hasAwsSource,proto3" json:"hasAwsSource,omitempty"`
	// contains filtered or unexported fields
}

machine-generated metadata of this onboarding info

func (*OnboardingMetadata) Descriptor deprecated added in v0.23.0

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

Deprecated: Use OnboardingMetadata.ProtoReflect.Descriptor instead.

func (*OnboardingMetadata) GetCreated added in v0.23.0

func (x *OnboardingMetadata) GetCreated() *timestamppb.Timestamp

func (*OnboardingMetadata) GetHasAwsSource added in v0.34.0

func (x *OnboardingMetadata) GetHasAwsSource() bool

func (*OnboardingMetadata) ProtoMessage added in v0.23.0

func (*OnboardingMetadata) ProtoMessage()

func (*OnboardingMetadata) ProtoReflect added in v0.23.0

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

func (*OnboardingMetadata) Reset added in v0.23.0

func (x *OnboardingMetadata) Reset()

func (*OnboardingMetadata) String added in v0.23.0

func (x *OnboardingMetadata) String() string

type OnboardingProperties added in v0.23.0

type OnboardingProperties struct {

	// The current status of this onboarding info.
	Status OnboardingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=changes.OnboardingStatus" json:"status,omitempty"`
	// The UUID for the aws-source that was configured as part of onboarding
	AwsSourceUUID []byte `protobuf:"bytes,2,opt,name=awsSourceUUID,proto3" json:"awsSourceUUID,omitempty"`
	// The UUID of the app that was created as part of onboarding
	AppUUID []byte `protobuf:"bytes,3,opt,name=appUUID,proto3" json:"appUUID,omitempty"`
	// The UUID of the change that was created as part of onboarding
	ChangeUUID []byte `protobuf:"bytes,4,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// contains filtered or unexported fields
}

user-supplied properties of this onboarding info

func (*OnboardingProperties) Descriptor deprecated added in v0.23.0

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

Deprecated: Use OnboardingProperties.ProtoReflect.Descriptor instead.

func (*OnboardingProperties) GetAppUUID added in v0.23.0

func (x *OnboardingProperties) GetAppUUID() []byte

func (*OnboardingProperties) GetAppUUIDParsed added in v0.26.1

func (ob *OnboardingProperties) GetAppUUIDParsed() *uuid.UUID

func (*OnboardingProperties) GetAwsSourceUUID added in v0.23.0

func (x *OnboardingProperties) GetAwsSourceUUID() []byte

func (*OnboardingProperties) GetAwsSourceUUIDParsed added in v0.26.1

func (ob *OnboardingProperties) GetAwsSourceUUIDParsed() *uuid.UUID

func (*OnboardingProperties) GetChangeUUID added in v0.23.0

func (x *OnboardingProperties) GetChangeUUID() []byte

func (*OnboardingProperties) GetChangeUUIDParsed added in v0.26.1

func (ob *OnboardingProperties) GetChangeUUIDParsed() *uuid.UUID

func (*OnboardingProperties) GetStatus added in v0.23.0

func (x *OnboardingProperties) GetStatus() OnboardingStatus

func (*OnboardingProperties) ProtoMessage added in v0.23.0

func (*OnboardingProperties) ProtoMessage()

func (*OnboardingProperties) ProtoReflect added in v0.23.0

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

func (*OnboardingProperties) Reset added in v0.23.0

func (x *OnboardingProperties) Reset()

func (*OnboardingProperties) String added in v0.23.0

func (x *OnboardingProperties) String() string

type OnboardingStatus added in v0.23.0

type OnboardingStatus int32
const (
	OnboardingStatus_ONBOARDING_STATUS_UNSPECIFIED     OnboardingStatus = 0
	OnboardingStatus_ONBOARDING_STATUS_ADD_AWS_ACCOUNT OnboardingStatus = 1
	OnboardingStatus_ONBOARDING_STATUS_ADD_APP         OnboardingStatus = 2
	OnboardingStatus_ONBOARDING_STATUS_CREATE_CHANGE   OnboardingStatus = 3
	OnboardingStatus_ONBOARDING_STATUS_SIMULATE_CHANGE OnboardingStatus = 4
	OnboardingStatus_ONBOARDING_STATUS_DONE            OnboardingStatus = 5
)

func (OnboardingStatus) Descriptor added in v0.23.0

func (OnboardingStatus) Enum added in v0.23.0

func (OnboardingStatus) EnumDescriptor deprecated added in v0.23.0

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

Deprecated: Use OnboardingStatus.Descriptor instead.

func (OnboardingStatus) Number added in v0.23.0

func (OnboardingStatus) String added in v0.23.0

func (x OnboardingStatus) String() string

func (OnboardingStatus) Type added in v0.23.0

type Query added in v0.18.0

type Query struct {

	// The type of item to search for. "*" means all types
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Which method to use when looking for it
	Method QueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=QueryMethod" json:"method,omitempty"`
	// What query should be passed to that method
	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// Defines how this query should behave when finding new items
	RecursionBehaviour *Query_RecursionBehaviour `protobuf:"bytes,4,opt,name=recursionBehaviour,proto3" json:"recursionBehaviour,omitempty"`
	// The scope for which we are requesting. To query all scopes use the the
	// wildcard '*'
	Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	// Whether to ignore the cache and execute the query regardless.
	//
	// By default sources will implement some level of caching, this is
	// particularly important for linked items as a single query with a large link
	// depth may result in the same item being queried many times as links are
	// resolved and more and more items link to each other. However if required
	// this caching can be turned off using this parameter
	IgnoreCache bool `protobuf:"varint,6,opt,name=ignoreCache,proto3" json:"ignoreCache,omitempty"`
	// A UUID to uniquely identify the query. This should be stored by the
	// requester as it will be needed later if the requester wants to cancel a
	// query. It should be stored as 128 bytes, as opposed to the textual
	// representation
	UUID []byte `protobuf:"bytes,7,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// The deadline for this query. When the deadline elapses, results become
	// irrelevant for the sender and any processing can stop. The deadline gets
	// propagated to all related queries (e.g. for linked items) and processes.
	// Note: there is currently a migration going on from timeouts to durations,
	// so depending on which service is hit, either one is evaluated.
	Deadline *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deadline,proto3" json:"deadline,omitempty"`
	// contains filtered or unexported fields
}

Query represents a query for an item or a list of items.

func (*Query) Copy added in v0.18.0

func (q *Query) Copy(dest *Query)

Copy copies all information from one Query pointer to another

func (*Query) Descriptor deprecated added in v0.18.0

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetDeadline added in v0.48.2

func (x *Query) GetDeadline() *timestamppb.Timestamp

func (*Query) GetIgnoreCache added in v0.18.0

func (x *Query) GetIgnoreCache() bool

func (*Query) GetMethod added in v0.18.0

func (x *Query) GetMethod() QueryMethod

func (*Query) GetQuery added in v0.18.0

func (x *Query) GetQuery() string

func (*Query) GetRecursionBehaviour added in v0.30.0

func (x *Query) GetRecursionBehaviour() *Query_RecursionBehaviour

func (*Query) GetScope added in v0.18.0

func (x *Query) GetScope() string

func (*Query) GetType added in v0.18.0

func (x *Query) GetType() string

func (*Query) GetUUID added in v0.18.0

func (x *Query) GetUUID() []byte

func (*Query) ParseUuid added in v0.18.0

func (r *Query) ParseUuid() uuid.UUID

ParseUuid returns this request's UUID. If there's an error parsing it, generates and stores a fresh one

func (*Query) ProtoMessage added in v0.18.0

func (*Query) ProtoMessage()

func (*Query) ProtoReflect added in v0.18.0

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

func (*Query) Reset added in v0.18.0

func (x *Query) Reset()

func (*Query) String added in v0.18.0

func (x *Query) String() string

func (*Query) Subject added in v0.32.0

func (q *Query) Subject() string

Subject returns a NATS subject for all traffic relating to this query

func (*Query) TimeoutContext added in v0.18.0

func (q *Query) TimeoutContext(ctx context.Context) (context.Context, context.CancelFunc)

TimeoutContext returns a context and cancel function representing the timeout for this request

func (*Query) Validate added in v0.18.0

func (q *Query) Validate() error

Validate Ensures a Query is valid

type QueryError added in v0.18.0

type QueryError struct {

	// UUID of the item query that this response is in relation to (in binary
	// format)
	UUID      []byte               `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	ErrorType QueryError_ErrorType `protobuf:"varint,2,opt,name=errorType,proto3,enum=QueryError_ErrorType" json:"errorType,omitempty"`
	// The string contents of the error
	ErrorString string `protobuf:"bytes,3,opt,name=errorString,proto3" json:"errorString,omitempty"`
	// The scope from which the error was raised
	Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// The name of the source which raised the error (if relevant)
	SourceName string `protobuf:"bytes,5,opt,name=sourceName,proto3" json:"sourceName,omitempty"`
	// The type of item that we were looking for at the time of the error
	ItemType string `protobuf:"bytes,6,opt,name=itemType,proto3" json:"itemType,omitempty"`
	// The name of the responder that this error was raised from
	ResponderName string `protobuf:"bytes,7,opt,name=responderName,proto3" json:"responderName,omitempty"`
	// contains filtered or unexported fields
}

QueryError is sent back when an item query fails

func NewQueryError added in v0.18.0

func NewQueryError(err error) *QueryError

NewQueryError converts a regular error to a QueryError of type OTHER. If the input error is already a QueryError then it is preserved

func (*QueryError) Descriptor deprecated added in v0.18.0

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

Deprecated: Use QueryError.ProtoReflect.Descriptor instead.

func (*QueryError) Error added in v0.18.0

func (e *QueryError) Error() string

Ensure that the QueryError is seen as a valid error in golang

func (*QueryError) GetErrorString added in v0.18.0

func (x *QueryError) GetErrorString() string

func (*QueryError) GetErrorType added in v0.18.0

func (x *QueryError) GetErrorType() QueryError_ErrorType

func (*QueryError) GetItemType added in v0.18.0

func (x *QueryError) GetItemType() string

func (*QueryError) GetResponderName added in v0.18.0

func (x *QueryError) GetResponderName() string

func (*QueryError) GetScope added in v0.18.0

func (x *QueryError) GetScope() string

func (*QueryError) GetSourceName added in v0.18.0

func (x *QueryError) GetSourceName() string

func (*QueryError) GetUUID added in v0.18.0

func (x *QueryError) GetUUID() []byte

func (*QueryError) GetUUIDParsed added in v0.46.0

func (e *QueryError) GetUUIDParsed() *uuid.UUID

func (*QueryError) ProtoMessage added in v0.18.0

func (*QueryError) ProtoMessage()

func (*QueryError) ProtoReflect added in v0.18.0

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

func (*QueryError) Reset added in v0.18.0

func (x *QueryError) Reset()

func (*QueryError) String added in v0.18.0

func (x *QueryError) String() string

func (*QueryError) Validate added in v0.18.0

func (e *QueryError) Validate() error

Validate Ensures a QueryError is valid

type QueryError_ErrorType added in v0.18.0

type QueryError_ErrorType int32

The error type. Any types in here will be gracefully handled unless the type os "OTHER"

const (
	// This should be used of all other failure modes, such as timeouts,
	// unexpected failures when querying state, permissions errors etc. Errors
	// that return this type should not be cached as the error may be transient.
	QueryError_OTHER QueryError_ErrorType = 0
	// NOTFOUND means that the item was not found. This is only returned as the
	// result of a GET query since all other queries would return an empty
	// list instead
	QueryError_NOTFOUND QueryError_ErrorType = 1
	// NOSCOPE means that the item was not found because we don't have
	// access to the requested scope. This should not be interpreted as "The
	// item doesn't exist" (as with a NOTFOUND error) but rather as "We can't
	// tell you whether or not the item exists"
	QueryError_NOSCOPE QueryError_ErrorType = 2
	// TIMEOUT means that the source times out when trying to query the item.
	// The timeout is provided in the original query
	QueryError_TIMEOUT QueryError_ErrorType = 3
)

func (QueryError_ErrorType) Descriptor added in v0.18.0

func (QueryError_ErrorType) Enum added in v0.18.0

func (QueryError_ErrorType) EnumDescriptor deprecated added in v0.18.0

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

Deprecated: Use QueryError_ErrorType.Descriptor instead.

func (QueryError_ErrorType) Number added in v0.18.0

func (QueryError_ErrorType) String added in v0.18.0

func (x QueryError_ErrorType) String() string

func (QueryError_ErrorType) Type added in v0.18.0

type QueryMethod added in v0.18.3

type QueryMethod int32

QueryMethod represents the available query methods. The details of these methods are:

GET: This takes a single unique query and should only return a single item.

If an item matching the parameter passed doesn't exist the server should
fail

LIST: This takes no query (or ignores it) and should return all items that it

can find

SEARCH: This takes a non-unique query which is designed to be used as a

search term. It should return some number of items (or zero) which
match the query
const (
	QueryMethod_GET    QueryMethod = 0
	QueryMethod_LIST   QueryMethod = 1
	QueryMethod_SEARCH QueryMethod = 2
)

func (QueryMethod) Descriptor added in v0.18.3

func (QueryMethod) Enum added in v0.18.3

func (x QueryMethod) Enum() *QueryMethod

func (QueryMethod) EnumDescriptor deprecated added in v0.18.3

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

Deprecated: Use QueryMethod.Descriptor instead.

func (QueryMethod) Number added in v0.18.3

func (x QueryMethod) Number() protoreflect.EnumNumber

func (QueryMethod) String added in v0.18.3

func (x QueryMethod) String() string

func (QueryMethod) Type added in v0.18.3

type QueryProgress added in v0.18.0

type QueryProgress struct {
	// How long to wait after `MarkStarted()` has been called to get at least
	// one responder, if there are no responders in this time, the request will
	// be marked as completed
	StartTimeout        time.Duration
	StartTimeoutElapsed atomic.Bool // Whether the start timeout has elapsed
	Query               *Query

	// How long to wait before draining NATS connections after all have
	// completed
	DrainDelay time.Duration
	// contains filtered or unexported fields
}

QueryProgress represents the status of a query

func NewQueryProgress added in v0.18.0

func NewQueryProgress(q *Query) *QueryProgress

NewQueryProgress returns a pointer to a QueryProgress object with the responders map initialized

func (*QueryProgress) AsyncCancel added in v0.18.0

func (qp *QueryProgress) AsyncCancel(ec EncodedConnection) error

Cancel Sends a cancellation request for a given request

func (*QueryProgress) Cancel added in v0.18.0

func (qp *QueryProgress) Cancel(ctx context.Context, ec EncodedConnection) bool

Cancel Cancels a request and waits for all responders to report that they were finished, cancelled or to be marked as stalled. If the context expires before this happens, the request is cancelled forcibly, with subscriptions being removed and channels closed. This method will only return when cancellation is complete

Returns a boolean indicating whether the cancellation needed to be forced

func (*QueryProgress) Done added in v0.18.0

func (qp *QueryProgress) Done() <-chan struct{}

Done Returns a channel when the request is fully complete and all channels closed

func (*QueryProgress) Drain added in v0.18.0

func (qp *QueryProgress) Drain()

Drain Tries to drain connections gracefully. If not though, connections are forcibly closed and the item and error channels closed

func (*QueryProgress) Execute added in v0.18.0

func (qp *QueryProgress) Execute(ctx context.Context, ec EncodedConnection) ([]*Item, []*QueryError, error)

Execute Executes a given request and waits for it to finish, returns the items that were found and any errors. The third return error value will only be returned only if there is a problem making the request. Details of which responders have failed etc. should be determined using the typical methods like `NumError()`.

func (*QueryProgress) NumCancelled added in v0.18.0

func (qp *QueryProgress) NumCancelled() int

NumCancelled returns the number of responders that are in the CANCELLED state

func (*QueryProgress) NumComplete added in v0.18.0

func (qp *QueryProgress) NumComplete() int

NumComplete returns the number of responders that are in the COMPLETE state

func (*QueryProgress) NumError added in v0.18.0

func (qp *QueryProgress) NumError() int

NumError returns the number of responders that are in the ERROR state

func (*QueryProgress) NumResponders added in v0.18.0

func (qp *QueryProgress) NumResponders() int

NumResponders returns the total number of unique responders

func (*QueryProgress) NumStalled added in v0.18.0

func (qp *QueryProgress) NumStalled() int

NumStalled returns the number of responders that are in the STALLED state

func (*QueryProgress) NumWorking added in v0.18.0

func (qp *QueryProgress) NumWorking() int

NumWorking returns the number of responders that are in the Working state

func (*QueryProgress) ProcessResponse added in v0.18.0

func (qp *QueryProgress) ProcessResponse(ctx context.Context, response *Response)

ProcessResponse processes an SDP Response and updates the database accordingly

func (*QueryProgress) ResponderStates added in v0.18.0

func (qp *QueryProgress) ResponderStates() map[string]ResponderState

ResponderStates Returns the status details for all responders as a map. Where the key is the name of the responder and the value is its status

func (*QueryProgress) Start added in v0.18.0

func (qp *QueryProgress) Start(ctx context.Context, ec EncodedConnection, itemChannel chan<- *Item, errorChannel chan<- *QueryError) error

Start starts a given request, sending items to the supplied itemChannel. It is up to the user to watch for completion. When the request does complete, the NATS subscriptions will automatically drain and the itemChannel will be closed.

The fact that the items chan is closed when all items have been received means that the only thing a user needs to do in order to process all items and then continue is range over the channel e.g.

for item := range itemChannel {
	// Do something with the item
	fmt.Println(item)

	// This loop  will exit once the request is finished
}

func (*QueryProgress) String added in v0.18.0

func (qp *QueryProgress) String() string

type QueryResponse added in v0.32.0

type QueryResponse struct {

	// Types that are assignable to ResponseType:
	//
	//	*QueryResponse_NewItem
	//	*QueryResponse_Response
	//	*QueryResponse_Error
	ResponseType isQueryResponse_ResponseType `protobuf_oneof:"response_type"`
	// contains filtered or unexported fields
}

func (*QueryResponse) Descriptor deprecated added in v0.32.0

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

Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.

func (*QueryResponse) GetError added in v0.32.0

func (x *QueryResponse) GetError() *QueryError

func (*QueryResponse) GetNewItem added in v0.32.0

func (x *QueryResponse) GetNewItem() *Item

func (*QueryResponse) GetResponse added in v0.32.0

func (x *QueryResponse) GetResponse() *Response

func (*QueryResponse) GetResponseType added in v0.32.0

func (m *QueryResponse) GetResponseType() isQueryResponse_ResponseType

func (*QueryResponse) ProtoMessage added in v0.32.0

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect added in v0.32.0

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

func (*QueryResponse) Reset added in v0.32.0

func (x *QueryResponse) Reset()

func (*QueryResponse) String added in v0.32.0

func (x *QueryResponse) String() string

type QueryResponse_Error added in v0.32.0

type QueryResponse_Error struct {
	Error *QueryError `protobuf:"bytes,4,opt,name=error,proto3,oneof"` // An error has been encountered
}

type QueryResponse_NewItem added in v0.32.0

type QueryResponse_NewItem struct {
	NewItem *Item `protobuf:"bytes,2,opt,name=newItem,proto3,oneof"` // A new item that has been discovered
}

type QueryResponse_Response added in v0.32.0

type QueryResponse_Response struct {
	Response *Response `protobuf:"bytes,3,opt,name=response,proto3,oneof"` // Status update
}

type QueryStatus added in v0.26.3

type QueryStatus struct {

	// UUID of the query
	UUID   []byte             `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Status QueryStatus_Status `protobuf:"varint,2,opt,name=status,proto3,enum=QueryStatus_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

QueryStatus informs the client of status updates of all queries running in this session.

func (*QueryStatus) Descriptor deprecated added in v0.26.3

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

Deprecated: Use QueryStatus.ProtoReflect.Descriptor instead.

func (*QueryStatus) GetStatus added in v0.26.3

func (x *QueryStatus) GetStatus() QueryStatus_Status

func (*QueryStatus) GetUUID added in v0.26.3

func (x *QueryStatus) GetUUID() []byte

func (*QueryStatus) GetUUIDParsed added in v0.28.0

func (x *QueryStatus) GetUUIDParsed() *uuid.UUID

GetMsgIDLogString returns the correlation ID as string for logging

func (*QueryStatus) ProtoMessage added in v0.26.3

func (*QueryStatus) ProtoMessage()

func (*QueryStatus) ProtoReflect added in v0.26.3

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

func (*QueryStatus) Reset added in v0.26.3

func (x *QueryStatus) Reset()

func (*QueryStatus) String added in v0.26.3

func (x *QueryStatus) String() string

type QueryStatus_Status added in v0.26.3

type QueryStatus_Status int32

The error type. Any types in here will be gracefully handled unless the type os "OTHER"

const (
	// the status has not been specified
	QueryStatus_UNSPECIFIED QueryStatus_Status = 0
	// the query has been started
	QueryStatus_STARTED QueryStatus_Status = 1
	// the query has been cancelled.
	// This is a final state.
	QueryStatus_CANCELLED QueryStatus_Status = 3
	// the query has finished with an error status. expect a separate QueryError describing that.
	// This is a final state.
	// TODO: fold the error details into this message
	QueryStatus_ERRORED QueryStatus_Status = 4
	// The query has finished and all results have been sent over the wire
	// This is a final state.
	QueryStatus_FINISHED QueryStatus_Status = 5
)

func (QueryStatus_Status) Descriptor added in v0.26.3

func (QueryStatus_Status) Enum added in v0.26.3

func (QueryStatus_Status) EnumDescriptor deprecated added in v0.26.3

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

Deprecated: Use QueryStatus_Status.Descriptor instead.

func (QueryStatus_Status) Number added in v0.26.3

func (QueryStatus_Status) String added in v0.26.3

func (x QueryStatus_Status) String() string

func (QueryStatus_Status) Type added in v0.26.3

type Query_RecursionBehaviour added in v0.30.0

type Query_RecursionBehaviour struct {

	// How deeply to link items. A value of 0 will mean that items are not linked.
	// To resolve linked items "infinitely" simply set this to a high number, with
	// the highest being 4,294,967,295. While this isn't truly *infinite*, chances
	// are that it is effectively the same, think six degrees of separation etc.
	LinkDepth uint32 `protobuf:"varint,1,opt,name=linkDepth,proto3" json:"linkDepth,omitempty"`
	// set to true to only follow links that propagate configuration change impact
	FollowOnlyBlastPropagation bool `protobuf:"varint,2,opt,name=followOnlyBlastPropagation,proto3" json:"followOnlyBlastPropagation,omitempty"`
	// contains filtered or unexported fields
}

Defines how this query should behave when finding new items

func (*Query_RecursionBehaviour) Copy added in v0.30.0

Copy copies all information from one Query pointer to another

func (*Query_RecursionBehaviour) Descriptor deprecated added in v0.30.0

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

Deprecated: Use Query_RecursionBehaviour.ProtoReflect.Descriptor instead.

func (*Query_RecursionBehaviour) GetFollowOnlyBlastPropagation added in v0.30.0

func (x *Query_RecursionBehaviour) GetFollowOnlyBlastPropagation() bool

func (*Query_RecursionBehaviour) GetLinkDepth added in v0.30.0

func (x *Query_RecursionBehaviour) GetLinkDepth() uint32

func (*Query_RecursionBehaviour) ProtoMessage added in v0.30.0

func (*Query_RecursionBehaviour) ProtoMessage()

func (*Query_RecursionBehaviour) ProtoReflect added in v0.30.0

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

func (*Query_RecursionBehaviour) Reset added in v0.30.0

func (x *Query_RecursionBehaviour) Reset()

func (*Query_RecursionBehaviour) String added in v0.30.0

func (x *Query_RecursionBehaviour) String() string

type Reference

type Reference struct {
	Type                 string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	UniqueAttributeValue string `protobuf:"bytes,2,opt,name=uniqueAttributeValue,proto3" json:"uniqueAttributeValue,omitempty"`
	Scope                string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

Reference to an item

The uniqueness of an item is determined by the combination of:

  • Type
  • UniqueAttributeValue
  • Scope

func (*Reference) Copy

func (r *Reference) Copy(dest *Reference)

Copy copies all information from one Reference pointer to another

func (*Reference) Descriptor deprecated

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

Deprecated: Use Reference.ProtoReflect.Descriptor instead.

func (*Reference) GetScope added in v0.14.0

func (x *Reference) GetScope() string

func (*Reference) GetType

func (x *Reference) GetType() string

func (*Reference) GetUniqueAttributeValue

func (x *Reference) GetUniqueAttributeValue() string

func (*Reference) GloballyUniqueName

func (r *Reference) GloballyUniqueName() string

GloballyUniqueName Returns a string that defines the Item globally. This a combination of the following values:

  • scope
  • type
  • uniqueAttributeValue

They are concatenated with dots (.)

func (*Reference) Hash

func (r *Reference) Hash() string

Hash Returns a 12 character hash for the item. This is likely but not guaranteed to be unique. The hash is calculated using the GloballyUniqueName

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) ProtoReflect

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

func (*Reference) Reset

func (x *Reference) Reset()

func (*Reference) String

func (x *Reference) String() string

func (*Reference) ToMap added in v0.58.0

func (r *Reference) ToMap() map[string]any

func (*Reference) Validate added in v0.12.0

func (r *Reference) Validate() error

Validate Ensures a reference is valid

type RefreshStateRequest added in v0.34.3

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

func (*RefreshStateRequest) Descriptor deprecated added in v0.34.3

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

Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead.

func (*RefreshStateRequest) ProtoMessage added in v0.34.3

func (*RefreshStateRequest) ProtoMessage()

func (*RefreshStateRequest) ProtoReflect added in v0.34.3

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

func (*RefreshStateRequest) Reset added in v0.34.3

func (x *RefreshStateRequest) Reset()

func (*RefreshStateRequest) String added in v0.34.3

func (x *RefreshStateRequest) String() string

type RefreshStateResponse added in v0.34.3

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

func (*RefreshStateResponse) Descriptor deprecated added in v0.34.3

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

Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead.

func (*RefreshStateResponse) ProtoMessage added in v0.34.3

func (*RefreshStateResponse) ProtoMessage()

func (*RefreshStateResponse) ProtoReflect added in v0.34.3

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

func (*RefreshStateResponse) Reset added in v0.34.3

func (x *RefreshStateResponse) Reset()

func (*RefreshStateResponse) String added in v0.34.3

func (x *RefreshStateResponse) String() string

type ResendInviteRequest added in v0.68.0

type ResendInviteRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*ResendInviteRequest) Descriptor deprecated added in v0.68.0

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

Deprecated: Use ResendInviteRequest.ProtoReflect.Descriptor instead.

func (*ResendInviteRequest) GetEmail added in v0.68.0

func (x *ResendInviteRequest) GetEmail() string

func (*ResendInviteRequest) ProtoMessage added in v0.68.0

func (*ResendInviteRequest) ProtoMessage()

func (*ResendInviteRequest) ProtoReflect added in v0.68.0

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

func (*ResendInviteRequest) Reset added in v0.68.0

func (x *ResendInviteRequest) Reset()

func (*ResendInviteRequest) String added in v0.68.0

func (x *ResendInviteRequest) String() string

type ResendInviteResponse added in v0.68.0

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

func (*ResendInviteResponse) Descriptor deprecated added in v0.68.0

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

Deprecated: Use ResendInviteResponse.ProtoReflect.Descriptor instead.

func (*ResendInviteResponse) ProtoMessage added in v0.68.0

func (*ResendInviteResponse) ProtoMessage()

func (*ResendInviteResponse) ProtoReflect added in v0.68.0

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

func (*ResendInviteResponse) Reset added in v0.68.0

func (x *ResendInviteResponse) Reset()

func (*ResendInviteResponse) String added in v0.68.0

func (x *ResendInviteResponse) String() string

type Responder

type Responder struct {
	Name string
	// contains filtered or unexported fields
}

Responder represents the status of a responder

func (*Responder) CancelMonitor added in v0.9.2

func (re *Responder) CancelMonitor()

CancelMonitor Cancels the running stall monitor goroutine if there is one

func (*Responder) LastState added in v0.11.0

func (re *Responder) LastState() ResponderState

LastState Returns the last state response for a given responder

func (*Responder) LastStateTime added in v0.11.0

func (re *Responder) LastStateTime() time.Time

LastStateTime Returns the last state response for a given responder

func (*Responder) SetMonitorContext added in v0.9.2

func (re *Responder) SetMonitorContext(ctx context.Context, cancel context.CancelFunc)

SetMonitorContext Saves the context details for the monitor goroutine so that it can be cancelled later, freeing up resources

func (*Responder) SetState added in v0.11.0

func (re *Responder) SetState(s ResponderState)

SetState updates the state and last state time of the responder

type ResponderState added in v0.11.0

type ResponderState int32

ResponderState represents the state of the responder, note that both COMPLETE and ERROR are completion states i.e. do not expect any more items to be returned from the query

const (
	// The responder is still gathering data
	ResponderState_WORKING ResponderState = 0
	// The query is complete
	ResponderState_COMPLETE ResponderState = 1
	// All sources have returned errors
	ResponderState_ERROR ResponderState = 2
	// Work has been cancelled while in progress
	ResponderState_CANCELLED ResponderState = 3
	// The responder has not set a response in the expected interval
	ResponderState_STALLED ResponderState = 4
)

func (ResponderState) Descriptor added in v0.11.0

func (ResponderState) Enum added in v0.11.0

func (x ResponderState) Enum() *ResponderState

func (ResponderState) EnumDescriptor deprecated added in v0.11.0

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

Deprecated: Use ResponderState.Descriptor instead.

func (ResponderState) Number added in v0.11.0

func (ResponderState) String added in v0.11.0

func (x ResponderState) String() string

func (ResponderState) Type added in v0.11.0

type Response

type Response struct {

	// The name of the responder that is working on a response. This is purely
	// informational
	Responder string `protobuf:"bytes,1,opt,name=responder,proto3" json:"responder,omitempty"`
	// The state of the responder
	State ResponderState `protobuf:"varint,2,opt,name=state,proto3,enum=ResponderState" json:"state,omitempty"`
	// The timespan within which to expect the next update. (e.g. 10s) If no
	// further interim responses are received within this time the connection
	// can be considered stale and the requester may give up
	NextUpdateIn *durationpb.Duration `protobuf:"bytes,3,opt,name=nextUpdateIn,proto3" json:"nextUpdateIn,omitempty"`
	// UUID of the item query that this response is in relation to (in binary
	// format)
	UUID []byte `protobuf:"bytes,4,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

Response is returned when a query is made

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetNextUpdateIn

func (x *Response) GetNextUpdateIn() *durationpb.Duration

func (*Response) GetResponder

func (x *Response) GetResponder() string

func (*Response) GetState

func (x *Response) GetState() ResponderState

func (*Response) GetUUID added in v0.18.0

func (x *Response) GetUUID() []byte

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

func (*Response) Validate added in v0.12.0

func (r *Response) Validate() error

Validate Ensures a Response is valid

type ResponseMessage added in v0.10.0

type ResponseMessage struct {
	Subject string
	V       interface{}
}

type ResponseSender

type ResponseSender struct {
	// How often to send responses. The expected next update will be 230% of
	// this value, allowing for one-and-a-bit missed responses before it is
	// marked as stalled
	ResponseInterval time.Duration
	ResponseSubject  string
	// contains filtered or unexported fields
}

ResponseSender is a struct responsible for sending responses out on behalf of agents that are working on that request. Think of it as the agent side component of Responder

func (*ResponseSender) Cancel added in v0.4.1

func (rs *ResponseSender) Cancel()

Cancel Marks the request as CANCELLED and sends the final response

func (*ResponseSender) Done

func (rs *ResponseSender) Done()

Done kills the responder but sends a final completion message

func (*ResponseSender) Error

func (rs *ResponseSender) Error()

Error marks the request and completed with error, and sends the final error response

func (*ResponseSender) Kill

func (rs *ResponseSender) Kill()

Kill Kills the response sender immediately. This should be used if something has failed and you don't want to send a completed response

func (*ResponseSender) Start

func (rs *ResponseSender) Start(ctx context.Context, ec EncodedConnection, responderName string)

Start sends the first response on the given subject and connection to say that the request is being worked on. It also starts a go routine to continue sending responses.

The user should make sure to call Done(), Error() or Cancel() once the query has finished to make sure this process stops sending responses. The sender will also be stopped if the context is cancelled

type RevokeInviteRequest added in v0.50.0

type RevokeInviteRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeInviteRequest) Descriptor deprecated added in v0.50.0

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

Deprecated: Use RevokeInviteRequest.ProtoReflect.Descriptor instead.

func (*RevokeInviteRequest) GetEmail added in v0.50.0

func (x *RevokeInviteRequest) GetEmail() string

func (*RevokeInviteRequest) ProtoMessage added in v0.50.0

func (*RevokeInviteRequest) ProtoMessage()

func (*RevokeInviteRequest) ProtoReflect added in v0.50.0

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

func (*RevokeInviteRequest) Reset added in v0.50.0

func (x *RevokeInviteRequest) Reset()

func (*RevokeInviteRequest) String added in v0.50.0

func (x *RevokeInviteRequest) String() string

type RevokeInviteResponse added in v0.50.0

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

func (*RevokeInviteResponse) Descriptor deprecated added in v0.50.0

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

Deprecated: Use RevokeInviteResponse.ProtoReflect.Descriptor instead.

func (*RevokeInviteResponse) ProtoMessage added in v0.50.0

func (*RevokeInviteResponse) ProtoMessage()

func (*RevokeInviteResponse) ProtoReflect added in v0.50.0

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

func (*RevokeInviteResponse) Reset added in v0.50.0

func (x *RevokeInviteResponse) Reset()

func (*RevokeInviteResponse) String added in v0.50.0

func (x *RevokeInviteResponse) String() string

type Risk added in v0.57.0

type Risk struct {
	UUID         []byte        `protobuf:"bytes,5,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Title        string        `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Severity     Risk_Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=changes.Risk_Severity" json:"severity,omitempty"`
	Description  string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	RelatedItems []*Reference  `protobuf:"bytes,4,rep,name=relatedItems,proto3" json:"relatedItems,omitempty"`
	// contains filtered or unexported fields
}

func (*Risk) Descriptor deprecated added in v0.57.0

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

Deprecated: Use Risk.ProtoReflect.Descriptor instead.

func (*Risk) GetDescription added in v0.57.0

func (x *Risk) GetDescription() string

func (*Risk) GetRelatedItems added in v0.57.0

func (x *Risk) GetRelatedItems() []*Reference

func (*Risk) GetSeverity added in v0.57.0

func (x *Risk) GetSeverity() Risk_Severity

func (*Risk) GetTitle added in v0.57.0

func (x *Risk) GetTitle() string

func (*Risk) GetUUID added in v0.57.0

func (x *Risk) GetUUID() []byte

func (*Risk) ProtoMessage added in v0.57.0

func (*Risk) ProtoMessage()

func (*Risk) ProtoReflect added in v0.57.0

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

func (*Risk) Reset added in v0.57.0

func (x *Risk) Reset()

func (*Risk) String added in v0.57.0

func (x *Risk) String() string

func (*Risk) ToMap added in v0.58.0

func (r *Risk) ToMap() map[string]any

type RiskCalculationStatus added in v0.57.0

type RiskCalculationStatus struct {
	Status RiskCalculationStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=changes.RiskCalculationStatus_Status" json:"status,omitempty"`
	// A message that should be rendered along with the status. This won't be
	// shown when the status is `STATUS_DONE` since nothing went wrong. But other
	// status could show this message e.g. if a calculation was skipped because
	// the user opted out or didn't have enough credits
	//
	// # This is deprecated in favour of the `progressMilestones` field
	//
	// Deprecated: Marked as deprecated in changes.proto.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// The total number of steps within the STATUS_INPROGRESS status
	//
	// # This is deprecated in favour of the `progressMilestones` field
	//
	// Deprecated: Marked as deprecated in changes.proto.
	NumSteps int32 `protobuf:"varint,3,opt,name=numSteps,proto3" json:"numSteps,omitempty"`
	// The current step within the STATUS_INPROGRESS status. These give more
	// granularity and should be shown to the user so they can see that the
	// calculation is progressing
	//
	// # This is deprecated in favour of the `progressMilestones` field
	//
	// Deprecated: Marked as deprecated in changes.proto.
	CurrentStep int32 `protobuf:"varint,4,opt,name=currentStep,proto3" json:"currentStep,omitempty"`
	// Milestones within the risk calculation process. They will be populated when
	// the status is `STATUS_INPROGRESS` and show a more detailed breakdown of the
	// progress
	ProgressMilestones []*RiskCalculationStatus_ProgressMilestone `protobuf:"bytes,5,rep,name=progressMilestones,proto3" json:"progressMilestones,omitempty"`
	// contains filtered or unexported fields
}

func (*RiskCalculationStatus) Descriptor deprecated added in v0.57.0

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

Deprecated: Use RiskCalculationStatus.ProtoReflect.Descriptor instead.

func (*RiskCalculationStatus) GetCurrentStep deprecated added in v0.65.0

func (x *RiskCalculationStatus) GetCurrentStep() int32

Deprecated: Marked as deprecated in changes.proto.

func (*RiskCalculationStatus) GetMessage deprecated added in v0.57.0

func (x *RiskCalculationStatus) GetMessage() string

Deprecated: Marked as deprecated in changes.proto.

func (*RiskCalculationStatus) GetNumSteps deprecated added in v0.65.0

func (x *RiskCalculationStatus) GetNumSteps() int32

Deprecated: Marked as deprecated in changes.proto.

func (*RiskCalculationStatus) GetProgressMilestones added in v0.66.0

func (x *RiskCalculationStatus) GetProgressMilestones() []*RiskCalculationStatus_ProgressMilestone

func (*RiskCalculationStatus) GetStatus added in v0.57.0

func (*RiskCalculationStatus) ProtoMessage added in v0.57.0

func (*RiskCalculationStatus) ProtoMessage()

func (*RiskCalculationStatus) ProtoReflect added in v0.57.0

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

func (*RiskCalculationStatus) Reset added in v0.57.0

func (x *RiskCalculationStatus) Reset()

func (*RiskCalculationStatus) String added in v0.57.0

func (x *RiskCalculationStatus) String() string

func (*RiskCalculationStatus) ToMap added in v0.61.5

func (rcs *RiskCalculationStatus) ToMap() map[string]any

type RiskCalculationStatus_ProgressMilestone added in v0.66.0

type RiskCalculationStatus_ProgressMilestone struct {

	// The description of this milestone
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// The status of this milestone
	Status RiskCalculationStatus_ProgressMilestone_Status `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RiskCalculationStatus_ProgressMilestone) Descriptor deprecated added in v0.66.0

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

Deprecated: Use RiskCalculationStatus_ProgressMilestone.ProtoReflect.Descriptor instead.

func (*RiskCalculationStatus_ProgressMilestone) GetDescription added in v0.66.0

func (x *RiskCalculationStatus_ProgressMilestone) GetDescription() string

func (*RiskCalculationStatus_ProgressMilestone) GetStatus added in v0.66.0

func (*RiskCalculationStatus_ProgressMilestone) ProtoMessage added in v0.66.0

func (*RiskCalculationStatus_ProgressMilestone) ProtoReflect added in v0.66.0

func (*RiskCalculationStatus_ProgressMilestone) Reset added in v0.66.0

func (*RiskCalculationStatus_ProgressMilestone) String added in v0.66.0

type RiskCalculationStatus_ProgressMilestone_Status added in v0.66.0

type RiskCalculationStatus_ProgressMilestone_Status int32
const (
	// The milestone hasn't been reached yet
	RiskCalculationStatus_ProgressMilestone_STATUS_PENDING RiskCalculationStatus_ProgressMilestone_Status = 0
	// The milestone is currently being worked on
	RiskCalculationStatus_ProgressMilestone_STATUS_INPROGRESS RiskCalculationStatus_ProgressMilestone_Status = 1
	// The milestone has been completed
	RiskCalculationStatus_ProgressMilestone_STATUS_DONE RiskCalculationStatus_ProgressMilestone_Status = 2
	// The milestone failed
	RiskCalculationStatus_ProgressMilestone_STATUS_ERROR RiskCalculationStatus_ProgressMilestone_Status = 3
	// The milestone was skipped. This will happen to future milestones if
	// there is an error. For example an error at step 1 will mean the others
	// were skipped
	RiskCalculationStatus_ProgressMilestone_STATUS_SKIPPED RiskCalculationStatus_ProgressMilestone_Status = 4
)

func (RiskCalculationStatus_ProgressMilestone_Status) Descriptor added in v0.66.0

func (RiskCalculationStatus_ProgressMilestone_Status) Enum added in v0.66.0

func (RiskCalculationStatus_ProgressMilestone_Status) EnumDescriptor deprecated added in v0.66.0

Deprecated: Use RiskCalculationStatus_ProgressMilestone_Status.Descriptor instead.

func (RiskCalculationStatus_ProgressMilestone_Status) Number added in v0.66.0

func (RiskCalculationStatus_ProgressMilestone_Status) String added in v0.66.0

func (RiskCalculationStatus_ProgressMilestone_Status) Type added in v0.66.0

type RiskCalculationStatus_Status added in v0.57.0

type RiskCalculationStatus_Status int32
const (
	RiskCalculationStatus_STATUS_UNSPECIFIED RiskCalculationStatus_Status = 0
	RiskCalculationStatus_STATUS_INPROGRESS  RiskCalculationStatus_Status = 1
	RiskCalculationStatus_STATUS_SKIPPED     RiskCalculationStatus_Status = 2
	RiskCalculationStatus_STATUS_DONE        RiskCalculationStatus_Status = 3
	RiskCalculationStatus_STATUS_ERROR       RiskCalculationStatus_Status = 4
)

func (RiskCalculationStatus_Status) Descriptor added in v0.57.0

func (RiskCalculationStatus_Status) Enum added in v0.57.0

func (RiskCalculationStatus_Status) EnumDescriptor deprecated added in v0.57.0

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

Deprecated: Use RiskCalculationStatus_Status.Descriptor instead.

func (RiskCalculationStatus_Status) Number added in v0.57.0

func (RiskCalculationStatus_Status) String added in v0.57.0

func (RiskCalculationStatus_Status) Type added in v0.57.0

type Risk_Severity added in v0.57.0

type Risk_Severity int32
const (
	Risk_SEVERITY_UNSPECIFIED Risk_Severity = 0
	Risk_SEVERITY_LOW         Risk_Severity = 1
	Risk_SEVERITY_MEDIUM      Risk_Severity = 2
	Risk_SEVERITY_HIGH        Risk_Severity = 3
)

func (Risk_Severity) Descriptor added in v0.57.0

func (Risk_Severity) Enum added in v0.57.0

func (x Risk_Severity) Enum() *Risk_Severity

func (Risk_Severity) EnumDescriptor deprecated added in v0.57.0

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

Deprecated: Use Risk_Severity.Descriptor instead.

func (Risk_Severity) Number added in v0.57.0

func (Risk_Severity) String added in v0.57.0

func (x Risk_Severity) String() string

func (Risk_Severity) Type added in v0.57.0

type SetConfigRequest added in v0.68.1

type SetConfigRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SetConfigRequest) Descriptor deprecated added in v0.68.1

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

Deprecated: Use SetConfigRequest.ProtoReflect.Descriptor instead.

func (*SetConfigRequest) GetKey added in v0.68.1

func (x *SetConfigRequest) GetKey() string

func (*SetConfigRequest) GetValue added in v0.68.1

func (x *SetConfigRequest) GetValue() string

func (*SetConfigRequest) ProtoMessage added in v0.68.1

func (*SetConfigRequest) ProtoMessage()

func (*SetConfigRequest) ProtoReflect added in v0.68.1

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

func (*SetConfigRequest) Reset added in v0.68.1

func (x *SetConfigRequest) Reset()

func (*SetConfigRequest) String added in v0.68.1

func (x *SetConfigRequest) String() string

type SetConfigResponse added in v0.68.1

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

func (*SetConfigResponse) Descriptor deprecated added in v0.68.1

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

Deprecated: Use SetConfigResponse.ProtoReflect.Descriptor instead.

func (*SetConfigResponse) ProtoMessage added in v0.68.1

func (*SetConfigResponse) ProtoMessage()

func (*SetConfigResponse) ProtoReflect added in v0.68.1

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

func (*SetConfigResponse) Reset added in v0.68.1

func (x *SetConfigResponse) Reset()

func (*SetConfigResponse) String added in v0.68.1

func (x *SetConfigResponse) String() string

type SimulateChangeRequest added in v0.28.1

type SimulateChangeRequest struct {

	// The ID of the change to simulate
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*SimulateChangeRequest) Descriptor deprecated added in v0.28.1

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

Deprecated: Use SimulateChangeRequest.ProtoReflect.Descriptor instead.

func (*SimulateChangeRequest) GetChangeUUID added in v0.28.1

func (x *SimulateChangeRequest) GetChangeUUID() []byte

func (*SimulateChangeRequest) GetChangeUUIDParsed added in v0.46.2

func (x *SimulateChangeRequest) GetChangeUUIDParsed() *uuid.UUID

func (*SimulateChangeRequest) ProtoMessage added in v0.28.1

func (*SimulateChangeRequest) ProtoMessage()

func (*SimulateChangeRequest) ProtoReflect added in v0.28.1

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

func (*SimulateChangeRequest) Reset added in v0.28.1

func (x *SimulateChangeRequest) Reset()

func (*SimulateChangeRequest) String added in v0.28.1

func (x *SimulateChangeRequest) String() string

type SimulateChangeResponse added in v0.28.1

type SimulateChangeResponse struct {

	// Whether the simulation is complete
	Done bool `protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"`
	// How far through the simulation process we are. This will be pretty
	// apprioximate as it's not expected to take very long and is more to give the
	// sense of progress than to be an accurate measure
	PercentComplete uint32 `protobuf:"varint,2,opt,name=percentComplete,proto3" json:"percentComplete,omitempty"`
	// contains filtered or unexported fields
}

func (*SimulateChangeResponse) Descriptor deprecated added in v0.28.1

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

Deprecated: Use SimulateChangeResponse.ProtoReflect.Descriptor instead.

func (*SimulateChangeResponse) GetDone added in v0.28.1

func (x *SimulateChangeResponse) GetDone() bool

func (*SimulateChangeResponse) GetPercentComplete added in v0.28.1

func (x *SimulateChangeResponse) GetPercentComplete() uint32

func (*SimulateChangeResponse) ProtoMessage added in v0.28.1

func (*SimulateChangeResponse) ProtoMessage()

func (*SimulateChangeResponse) ProtoReflect added in v0.28.1

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

func (*SimulateChangeResponse) Reset added in v0.28.1

func (x *SimulateChangeResponse) Reset()

func (*SimulateChangeResponse) String added in v0.28.1

func (x *SimulateChangeResponse) String() string

type Snapshot added in v0.24.0

type Snapshot struct {
	Metadata   *SnapshotMetadata   `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Properties *SnapshotProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Snapshot) Descriptor deprecated added in v0.24.0

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

Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.

func (*Snapshot) GetMetadata added in v0.24.0

func (x *Snapshot) GetMetadata() *SnapshotMetadata

func (*Snapshot) GetProperties added in v0.24.0

func (x *Snapshot) GetProperties() *SnapshotProperties

func (*Snapshot) ProtoMessage added in v0.24.0

func (*Snapshot) ProtoMessage()

func (*Snapshot) ProtoReflect added in v0.24.0

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

func (*Snapshot) Reset added in v0.24.0

func (x *Snapshot) Reset()

func (*Snapshot) String added in v0.24.0

func (x *Snapshot) String() string

func (*Snapshot) ToMap added in v0.44.5

func (s *Snapshot) ToMap() map[string]any

type SnapshotLoadResult added in v0.17.0

type SnapshotLoadResult struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// a correlation ID to match up requests and responses. this field returns the contents of the request's msgID
	MsgID []byte `protobuf:"bytes,4,opt,name=msgID,proto3" json:"msgID,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotLoadResult) Descriptor deprecated added in v0.17.0

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

Deprecated: Use SnapshotLoadResult.ProtoReflect.Descriptor instead.

func (*SnapshotLoadResult) GetErrorMessage added in v0.17.0

func (x *SnapshotLoadResult) GetErrorMessage() string

func (*SnapshotLoadResult) GetMsgID added in v0.27.0

func (x *SnapshotLoadResult) GetMsgID() []byte

func (*SnapshotLoadResult) GetMsgIDLogString added in v0.28.0

func (x *SnapshotLoadResult) GetMsgIDLogString() string

GetMsgIDLogString returns the correlation ID as string for logging

func (*SnapshotLoadResult) GetSuccess added in v0.17.0

func (x *SnapshotLoadResult) GetSuccess() bool

func (*SnapshotLoadResult) ProtoMessage added in v0.17.0

func (*SnapshotLoadResult) ProtoMessage()

func (*SnapshotLoadResult) ProtoReflect added in v0.17.0

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

func (*SnapshotLoadResult) Reset added in v0.17.0

func (x *SnapshotLoadResult) Reset()

func (*SnapshotLoadResult) String added in v0.17.0

func (x *SnapshotLoadResult) String() string

type SnapshotMetadata added in v0.24.0

type SnapshotMetadata struct {

	// unique id to identify this snapshot
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// timestamp when this snapshot was created
	Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotMetadata) Descriptor deprecated added in v0.24.0

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

Deprecated: Use SnapshotMetadata.ProtoReflect.Descriptor instead.

func (*SnapshotMetadata) GetCreated added in v0.24.0

func (x *SnapshotMetadata) GetCreated() *timestamppb.Timestamp

func (*SnapshotMetadata) GetUUID added in v0.24.0

func (x *SnapshotMetadata) GetUUID() []byte

func (*SnapshotMetadata) ProtoMessage added in v0.24.0

func (*SnapshotMetadata) ProtoMessage()

func (*SnapshotMetadata) ProtoReflect added in v0.24.0

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

func (*SnapshotMetadata) Reset added in v0.24.0

func (x *SnapshotMetadata) Reset()

func (*SnapshotMetadata) String added in v0.24.0

func (x *SnapshotMetadata) String() string

func (*SnapshotMetadata) ToMap added in v0.44.5

func (sm *SnapshotMetadata) ToMap() map[string]any

type SnapshotProperties added in v0.24.0

type SnapshotProperties struct {

	// name of this snapshot
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// description of this snapshot
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// queries that make up the snapshot
	Queries []*Query `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"`
	// items that should be excluded from the snapshot's results
	ExcludedItems []*Reference `protobuf:"bytes,4,rep,name=excludedItems,proto3" json:"excludedItems,omitempty"`
	// items stored in the snapshot
	Items []*Item `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotProperties) Descriptor deprecated added in v0.24.0

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

Deprecated: Use SnapshotProperties.ProtoReflect.Descriptor instead.

func (*SnapshotProperties) GetDescription added in v0.24.0

func (x *SnapshotProperties) GetDescription() string

func (*SnapshotProperties) GetExcludedItems added in v0.24.0

func (x *SnapshotProperties) GetExcludedItems() []*Reference

func (*SnapshotProperties) GetItems added in v0.24.0

func (x *SnapshotProperties) GetItems() []*Item

func (*SnapshotProperties) GetName added in v0.24.0

func (x *SnapshotProperties) GetName() string

func (*SnapshotProperties) GetQueries added in v0.24.0

func (x *SnapshotProperties) GetQueries() []*Query

func (*SnapshotProperties) ProtoMessage added in v0.24.0

func (*SnapshotProperties) ProtoMessage()

func (*SnapshotProperties) ProtoReflect added in v0.24.0

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

func (*SnapshotProperties) Reset added in v0.24.0

func (x *SnapshotProperties) Reset()

func (*SnapshotProperties) String added in v0.24.0

func (x *SnapshotProperties) String() string

func (*SnapshotProperties) ToMap added in v0.44.5

func (sp *SnapshotProperties) ToMap() map[string]any

type SnapshotStoreResult added in v0.18.0

type SnapshotStoreResult struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// a correlation ID to match up requests and responses. this field returns the contents of the request's msgID
	MsgID      []byte `protobuf:"bytes,4,opt,name=msgID,proto3" json:"msgID,omitempty"`
	SnapshotID []byte `protobuf:"bytes,5,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"` // The UUID of the newly stored snapshot
	// contains filtered or unexported fields
}

After a snapshot is successfully stored, this reply with the new snapshot's details is sent.

func (*SnapshotStoreResult) Descriptor deprecated added in v0.18.0

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

Deprecated: Use SnapshotStoreResult.ProtoReflect.Descriptor instead.

func (*SnapshotStoreResult) GetErrorMessage added in v0.18.0

func (x *SnapshotStoreResult) GetErrorMessage() string

func (*SnapshotStoreResult) GetMsgID added in v0.27.0

func (x *SnapshotStoreResult) GetMsgID() []byte

func (*SnapshotStoreResult) GetMsgIDLogString added in v0.28.0

func (x *SnapshotStoreResult) GetMsgIDLogString() string

GetMsgIDLogString returns the correlation ID as string for logging

func (*SnapshotStoreResult) GetSnapshotID added in v0.33.0

func (x *SnapshotStoreResult) GetSnapshotID() []byte

func (*SnapshotStoreResult) GetSuccess added in v0.18.0

func (x *SnapshotStoreResult) GetSuccess() bool

func (*SnapshotStoreResult) ProtoMessage added in v0.18.0

func (*SnapshotStoreResult) ProtoMessage()

func (*SnapshotStoreResult) ProtoReflect added in v0.18.0

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

func (*SnapshotStoreResult) Reset added in v0.18.0

func (x *SnapshotStoreResult) Reset()

func (*SnapshotStoreResult) String added in v0.18.0

func (x *SnapshotStoreResult) String() string

type Source added in v0.29.0

type Source struct {
	Metadata   *SourceMetadata   `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Properties *SourceProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated added in v0.29.0

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetMetadata added in v0.29.0

func (x *Source) GetMetadata() *SourceMetadata

func (*Source) GetProperties added in v0.29.0

func (x *Source) GetProperties() *SourceProperties

func (*Source) ProtoMessage added in v0.29.0

func (*Source) ProtoMessage()

func (*Source) ProtoReflect added in v0.29.0

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

func (*Source) Reset added in v0.29.0

func (x *Source) Reset()

func (*Source) String added in v0.29.0

func (x *Source) String() string

type SourceMetadata added in v0.29.0

type SourceMetadata struct {
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // TOOD: Change to ID along with everything else
	// The name of the NATS JWT that has been generated for this source
	TokenName string `protobuf:"bytes,2,opt,name=TokenName,proto3" json:"TokenName,omitempty"`
	// When the NATS JWT expires (unix time)
	TokenExpiry *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=TokenExpiry,proto3" json:"TokenExpiry,omitempty"`
	// The public NKey associated with the NATS JWT
	PublicNkey string `protobuf:"bytes,5,opt,name=PublicNkey,proto3" json:"PublicNkey,omitempty"`
	// Status of the source
	Status SourceStatus `protobuf:"varint,9,opt,name=Status,proto3,enum=account.SourceStatus" json:"Status,omitempty"`
	// The error message if the source is unhealthy
	Error string `protobuf:"bytes,10,opt,name=Error,proto3" json:"Error,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceMetadata) Descriptor deprecated added in v0.29.0

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

Deprecated: Use SourceMetadata.ProtoReflect.Descriptor instead.

func (*SourceMetadata) GetError added in v0.29.0

func (x *SourceMetadata) GetError() string

func (*SourceMetadata) GetPublicNkey added in v0.29.0

func (x *SourceMetadata) GetPublicNkey() string

func (*SourceMetadata) GetStatus added in v0.29.0

func (x *SourceMetadata) GetStatus() SourceStatus

func (*SourceMetadata) GetTokenExpiry added in v0.29.0

func (x *SourceMetadata) GetTokenExpiry() *timestamppb.Timestamp

func (*SourceMetadata) GetTokenName added in v0.29.0

func (x *SourceMetadata) GetTokenName() string

func (*SourceMetadata) GetUUID added in v0.29.0

func (x *SourceMetadata) GetUUID() []byte

func (*SourceMetadata) ProtoMessage added in v0.29.0

func (*SourceMetadata) ProtoMessage()

func (*SourceMetadata) ProtoReflect added in v0.29.0

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

func (*SourceMetadata) Reset added in v0.29.0

func (x *SourceMetadata) Reset()

func (*SourceMetadata) String added in v0.29.0

func (x *SourceMetadata) String() string

type SourceProperties added in v0.29.0

type SourceProperties struct {

	// The descriptive name of the source
	DescriptiveName string `protobuf:"bytes,1,opt,name=DescriptiveName,proto3" json:"DescriptiveName,omitempty"`
	// What source to configure. Currently either "stdlib" or "aws"
	Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
	// Config for this source. See the source documentation for what
	// source-specific config is available/required. This will be supplied
	// directly to viper via a config file at `/etc/srcman/config/source.yaml`
	Config *structpb.Struct `protobuf:"bytes,3,opt,name=Config,proto3" json:"Config,omitempty"`
	// Additional config options that should be passed to the source. The keys
	// of this object should be file names, and the values should be their
	// content. These files will be made available to the source at runtime.
	// Check the source's documentation for what to configure here if required
	AdditionalConfig *structpb.Struct `protobuf:"bytes,4,opt,name=AdditionalConfig,proto3" json:"AdditionalConfig,omitempty"`
	// contains filtered or unexported fields
}

A source that is capable of discovering items

func (*SourceProperties) Descriptor deprecated added in v0.29.0

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

Deprecated: Use SourceProperties.ProtoReflect.Descriptor instead.

func (*SourceProperties) GetAdditionalConfig added in v0.29.0

func (x *SourceProperties) GetAdditionalConfig() *structpb.Struct

func (*SourceProperties) GetConfig added in v0.29.0

func (x *SourceProperties) GetConfig() *structpb.Struct

func (*SourceProperties) GetDescriptiveName added in v0.29.0

func (x *SourceProperties) GetDescriptiveName() string

func (*SourceProperties) GetType added in v0.29.0

func (x *SourceProperties) GetType() string

func (*SourceProperties) ProtoMessage added in v0.29.0

func (*SourceProperties) ProtoMessage()

func (*SourceProperties) ProtoReflect added in v0.29.0

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

func (*SourceProperties) Reset added in v0.29.0

func (x *SourceProperties) Reset()

func (*SourceProperties) String added in v0.29.0

func (x *SourceProperties) String() string

type SourceStatus added in v0.29.0

type SourceStatus int32
const (
	SourceStatus_STATUS_UNSPECIFIED SourceStatus = 0
	// The source is starting or updating
	SourceStatus_STATUS_PROGRESSING SourceStatus = 1
	// The source is healthy
	SourceStatus_STATUS_HEALTHY SourceStatus = 2
	// The source is unhealthy
	SourceStatus_STATUS_UNHEALTHY SourceStatus = 3
)

func (SourceStatus) Descriptor added in v0.29.0

func (SourceStatus) Enum added in v0.29.0

func (x SourceStatus) Enum() *SourceStatus

func (SourceStatus) EnumDescriptor deprecated added in v0.29.0

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

Deprecated: Use SourceStatus.Descriptor instead.

func (SourceStatus) Number added in v0.29.0

func (SourceStatus) String added in v0.29.0

func (x SourceStatus) String() string

func (SourceStatus) Type added in v0.29.0

type StartChangeRequest added in v0.27.0

type StartChangeRequest struct {
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*StartChangeRequest) Descriptor deprecated added in v0.27.0

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

Deprecated: Use StartChangeRequest.ProtoReflect.Descriptor instead.

func (*StartChangeRequest) GetChangeUUID added in v0.27.0

func (x *StartChangeRequest) GetChangeUUID() []byte

func (*StartChangeRequest) GetChangeUUIDParsed added in v0.46.2

func (x *StartChangeRequest) GetChangeUUIDParsed() *uuid.UUID

func (*StartChangeRequest) ProtoMessage added in v0.27.0

func (*StartChangeRequest) ProtoMessage()

func (*StartChangeRequest) ProtoReflect added in v0.27.0

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

func (*StartChangeRequest) Reset added in v0.27.0

func (x *StartChangeRequest) Reset()

func (*StartChangeRequest) String added in v0.27.0

func (x *StartChangeRequest) String() string

type StartChangeResponse added in v0.27.0

type StartChangeResponse struct {
	State    StartChangeResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=changes.StartChangeResponse_State" json:"state,omitempty"`
	NumItems uint32                    `protobuf:"varint,2,opt,name=numItems,proto3" json:"numItems,omitempty"`
	NumEdges uint32                    `protobuf:"varint,3,opt,name=NumEdges,proto3" json:"NumEdges,omitempty"`
	// contains filtered or unexported fields
}

func (*StartChangeResponse) Descriptor deprecated added in v0.27.0

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

Deprecated: Use StartChangeResponse.ProtoReflect.Descriptor instead.

func (*StartChangeResponse) GetNumEdges added in v0.27.0

func (x *StartChangeResponse) GetNumEdges() uint32

func (*StartChangeResponse) GetNumItems added in v0.27.0

func (x *StartChangeResponse) GetNumItems() uint32

func (*StartChangeResponse) GetState added in v0.27.0

func (*StartChangeResponse) ProtoMessage added in v0.27.0

func (*StartChangeResponse) ProtoMessage()

func (*StartChangeResponse) ProtoReflect added in v0.27.0

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

func (*StartChangeResponse) Reset added in v0.27.0

func (x *StartChangeResponse) Reset()

func (*StartChangeResponse) String added in v0.27.0

func (x *StartChangeResponse) String() string

type StartChangeResponse_State added in v0.27.0

type StartChangeResponse_State int32
const (
	// No state has been specified
	StartChangeResponse_STATE_UNSPECIFIED StartChangeResponse_State = 0
	// Snapshot is being taken
	StartChangeResponse_STATE_TAKING_SNAPSHOT StartChangeResponse_State = 1
	// Snapshot is being saved
	StartChangeResponse_STATE_SAVING_SNAPSHOT StartChangeResponse_State = 2
	// Everything is complete
	StartChangeResponse_STATE_DONE StartChangeResponse_State = 3
)

func (StartChangeResponse_State) Descriptor added in v0.27.0

func (StartChangeResponse_State) Enum added in v0.27.0

func (StartChangeResponse_State) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use StartChangeResponse_State.Descriptor instead.

func (StartChangeResponse_State) Number added in v0.27.0

func (StartChangeResponse_State) String added in v0.27.0

func (x StartChangeResponse_State) String() string

func (StartChangeResponse_State) Type added in v0.27.0

type StoreBookmark added in v0.19.0

type StoreBookmark struct {

	// user supplied name of this bookmark
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// user supplied description of this bookmark
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// a correlation ID to match up requests and responses. set this to a value unique per connection
	MsgID []byte `protobuf:"bytes,3,opt,name=msgID,proto3" json:"msgID,omitempty"`
	// whether this bookmark should be stored as a system bookmark. System
	// bookmarks are hidden and can only be returned via the UUID, they don't
	// show up in lists
	IsSystem bool `protobuf:"varint,4,opt,name=isSystem,proto3" json:"isSystem,omitempty"`
	// contains filtered or unexported fields
}

Ask the gateway to store the current state as bookmark with the specified details. Returns a BookmarkStored message when the bookmark is stored

func (*StoreBookmark) Descriptor deprecated added in v0.19.0

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

Deprecated: Use StoreBookmark.ProtoReflect.Descriptor instead.

func (*StoreBookmark) GetDescription added in v0.19.0

func (x *StoreBookmark) GetDescription() string

func (*StoreBookmark) GetIsSystem added in v0.51.0

func (x *StoreBookmark) GetIsSystem() bool

func (*StoreBookmark) GetMsgID added in v0.27.0

func (x *StoreBookmark) GetMsgID() []byte

func (*StoreBookmark) GetMsgIDLogString added in v0.28.0

func (x *StoreBookmark) GetMsgIDLogString() string

GetMsgIDLogString returns the correlation ID as string for logging

func (*StoreBookmark) GetName added in v0.19.0

func (x *StoreBookmark) GetName() string

func (*StoreBookmark) ProtoMessage added in v0.19.0

func (*StoreBookmark) ProtoMessage()

func (*StoreBookmark) ProtoReflect added in v0.19.0

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

func (*StoreBookmark) Reset added in v0.19.0

func (x *StoreBookmark) Reset()

func (*StoreBookmark) String added in v0.19.0

func (x *StoreBookmark) String() string

type StoreSnapshot added in v0.17.0

type StoreSnapshot struct {

	// user supplied name of this snapshot
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// user supplied description of this snapshot
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// a correlation ID to match up requests and responses. set this to a value unique per connection
	MsgID []byte `protobuf:"bytes,3,opt,name=msgID,proto3" json:"msgID,omitempty"`
	// contains filtered or unexported fields
}

Ask the gateway to store the current state as snapshot with the specified details. Returns a SnapshotStored message when the snapshot is stored

func (*StoreSnapshot) Descriptor deprecated added in v0.17.0

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

Deprecated: Use StoreSnapshot.ProtoReflect.Descriptor instead.

func (*StoreSnapshot) GetDescription added in v0.17.0

func (x *StoreSnapshot) GetDescription() string

func (*StoreSnapshot) GetMsgID added in v0.27.0

func (x *StoreSnapshot) GetMsgID() []byte

func (*StoreSnapshot) GetMsgIDLogString added in v0.28.0

func (x *StoreSnapshot) GetMsgIDLogString() string

GetMsgIDLogString returns the correlation ID as string for logging

func (*StoreSnapshot) GetName added in v0.17.0

func (x *StoreSnapshot) GetName() string

func (*StoreSnapshot) ProtoMessage added in v0.17.0

func (*StoreSnapshot) ProtoMessage()

func (*StoreSnapshot) ProtoReflect added in v0.17.0

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

func (*StoreSnapshot) Reset added in v0.17.0

func (x *StoreSnapshot) Reset()

func (*StoreSnapshot) String added in v0.17.0

func (x *StoreSnapshot) String() string

type TestConnection added in v0.10.0

type TestConnection struct {
	Messages []ResponseMessage

	Subscriptions map[*regexp.Regexp][]nats.MsgHandler
	// contains filtered or unexported fields
}

TestConnection Used to mock a NATS connection for testing

func (*TestConnection) Close added in v0.15.0

func (n *TestConnection) Close()

Close Does nothing

func (*TestConnection) Drain added in v0.15.0

func (n *TestConnection) Drain() error

Drain Always returns nil

func (*TestConnection) Drop added in v0.15.0

func (n *TestConnection) Drop()

Drop Does nothing

func (*TestConnection) LastError added in v0.15.0

func (n *TestConnection) LastError() error

LastError Always returns nil

func (*TestConnection) Publish added in v0.10.0

func (t *TestConnection) Publish(ctx context.Context, subj string, m proto.Message) error

Publish Test publish method, notes down the subject and the message

func (*TestConnection) PublishMsg added in v0.15.0

func (t *TestConnection) PublishMsg(ctx context.Context, msg *nats.Msg) error

PublishMsg Test publish method, notes down the subject and the message

func (*TestConnection) QueueSubscribe added in v0.15.0

func (t *TestConnection) QueueSubscribe(subj, queue string, cb nats.MsgHandler) (*nats.Subscription, error)

func (*TestConnection) RequestMsg added in v0.15.0

func (t *TestConnection) RequestMsg(ctx context.Context, msg *nats.Msg) (*nats.Msg, error)

RequestMsg Simulates a request on the given subject, assigns a random response subject then calls the handler on the given subject, we are expecting the handler to be in the format: func(msg *nats.Msg)

func (*TestConnection) Stats added in v0.15.0

func (n *TestConnection) Stats() nats.Statistics

Stats Always returns empty/zero nats.Statistics

func (*TestConnection) Status added in v0.15.0

func (n *TestConnection) Status() nats.Status

Status Always returns nats.CONNECTED

func (*TestConnection) Subscribe added in v0.10.0

func (t *TestConnection) Subscribe(subj string, cb nats.MsgHandler) (*nats.Subscription, error)

func (*TestConnection) Underlying added in v0.15.0

func (n *TestConnection) Underlying() *nats.Conn

Underlying Always returns nil

type TransformFunc added in v0.63.0

type TransformFunc func(interface{}) interface{}

A function that transforms one data type into another that is compatible with protobuf. This is used to convert things like time.Time into a string

type TransformMap added in v0.63.0

type TransformMap map[reflect.Type]TransformFunc

A map of types to transform functions

type UndoExpand added in v0.18.0

type UndoExpand struct {

	// UUID of the Expand to cancel
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

This message is sent to the gateway to instruct it to "undo" an Expand. This means that the expansion will be removed from the session, along with all items and edges that were a result of that request. If these items have already been sent to the client, the gateway will send `deleteItem` messages instructing the client to delete them

func (*UndoExpand) Descriptor deprecated added in v0.18.0

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

Deprecated: Use UndoExpand.ProtoReflect.Descriptor instead.

func (*UndoExpand) GetUUID added in v0.18.0

func (x *UndoExpand) GetUUID() []byte

func (*UndoExpand) GetUUIDParsed added in v0.46.0

func (x *UndoExpand) GetUUIDParsed() *uuid.UUID

func (*UndoExpand) ProtoMessage added in v0.18.0

func (*UndoExpand) ProtoMessage()

func (*UndoExpand) ProtoReflect added in v0.18.0

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

func (*UndoExpand) Reset added in v0.18.0

func (x *UndoExpand) Reset()

func (*UndoExpand) String added in v0.18.0

func (x *UndoExpand) String() string

type UndoQuery added in v0.18.0

type UndoQuery struct {

	// UUID of the Query to cancel
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

This message is sent to the gateway to instruct it to "undo" a query. This means that the query will be removed from the session, along with all items and edges that were a result of that query. If these items have already been sent to the client, the gateway will send `deleteItem` messages instructing the client to delete them

func (*UndoQuery) Descriptor deprecated added in v0.18.0

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

Deprecated: Use UndoQuery.ProtoReflect.Descriptor instead.

func (*UndoQuery) GetUUID added in v0.18.0

func (x *UndoQuery) GetUUID() []byte

func (*UndoQuery) GetUUIDParsed added in v0.46.0

func (x *UndoQuery) GetUUIDParsed() *uuid.UUID

func (*UndoQuery) ProtoMessage added in v0.18.0

func (*UndoQuery) ProtoMessage()

func (*UndoQuery) ProtoReflect added in v0.18.0

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

func (*UndoQuery) Reset added in v0.18.0

func (x *UndoQuery) Reset()

func (*UndoQuery) String added in v0.18.0

func (x *UndoQuery) String() string

type UpdateAPIKeyRequest added in v0.34.5

type UpdateAPIKeyRequest struct {

	// The UUID of the API key to update
	Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// New properties to update
	Properties *APIKeyProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAPIKeyRequest) Descriptor deprecated added in v0.34.5

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

Deprecated: Use UpdateAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*UpdateAPIKeyRequest) GetProperties added in v0.34.5

func (x *UpdateAPIKeyRequest) GetProperties() *APIKeyProperties

func (*UpdateAPIKeyRequest) GetUuid added in v0.34.5

func (x *UpdateAPIKeyRequest) GetUuid() []byte

func (*UpdateAPIKeyRequest) ProtoMessage added in v0.34.5

func (*UpdateAPIKeyRequest) ProtoMessage()

func (*UpdateAPIKeyRequest) ProtoReflect added in v0.34.5

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

func (*UpdateAPIKeyRequest) Reset added in v0.34.5

func (x *UpdateAPIKeyRequest) Reset()

func (*UpdateAPIKeyRequest) String added in v0.34.5

func (x *UpdateAPIKeyRequest) String() string

type UpdateAPIKeyResponse added in v0.34.5

type UpdateAPIKeyResponse struct {

	// The updated API key
	Key *APIKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAPIKeyResponse) Descriptor deprecated added in v0.34.5

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

Deprecated: Use UpdateAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*UpdateAPIKeyResponse) GetKey added in v0.34.5

func (x *UpdateAPIKeyResponse) GetKey() *APIKey

func (*UpdateAPIKeyResponse) ProtoMessage added in v0.34.5

func (*UpdateAPIKeyResponse) ProtoMessage()

func (*UpdateAPIKeyResponse) ProtoReflect added in v0.34.5

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

func (*UpdateAPIKeyResponse) Reset added in v0.34.5

func (x *UpdateAPIKeyResponse) Reset()

func (*UpdateAPIKeyResponse) String added in v0.34.5

func (x *UpdateAPIKeyResponse) String() string

type UpdateAppRequest added in v0.23.0

type UpdateAppRequest struct {
	UUID       []byte         `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Properties *AppProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

update an expsting app

func (*UpdateAppRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use UpdateAppRequest.ProtoReflect.Descriptor instead.

func (*UpdateAppRequest) GetProperties added in v0.24.0

func (x *UpdateAppRequest) GetProperties() *AppProperties

func (*UpdateAppRequest) GetUUID added in v0.23.0

func (x *UpdateAppRequest) GetUUID() []byte

func (*UpdateAppRequest) GetUUIDParsed added in v0.26.2

func (a *UpdateAppRequest) GetUUIDParsed() *uuid.UUID

func (*UpdateAppRequest) ProtoMessage added in v0.23.0

func (*UpdateAppRequest) ProtoMessage()

func (*UpdateAppRequest) ProtoReflect added in v0.23.0

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

func (*UpdateAppRequest) Reset added in v0.23.0

func (x *UpdateAppRequest) Reset()

func (*UpdateAppRequest) String added in v0.23.0

func (x *UpdateAppRequest) String() string

type UpdateAppResponse added in v0.23.0

type UpdateAppResponse struct {
	App *App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAppResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use UpdateAppResponse.ProtoReflect.Descriptor instead.

func (*UpdateAppResponse) GetApp added in v0.24.0

func (x *UpdateAppResponse) GetApp() *App

func (*UpdateAppResponse) ProtoMessage added in v0.23.0

func (*UpdateAppResponse) ProtoMessage()

func (*UpdateAppResponse) ProtoReflect added in v0.23.0

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

func (*UpdateAppResponse) Reset added in v0.23.0

func (x *UpdateAppResponse) Reset()

func (*UpdateAppResponse) String added in v0.23.0

func (x *UpdateAppResponse) String() string

type UpdateBookmarkRequest added in v0.22.0

type UpdateBookmarkRequest struct {

	// unique id to identify this bookmark
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// new attributes for this bookmark
	Properties *BookmarkProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

updates an existing bookmark

func (*UpdateBookmarkRequest) Descriptor deprecated added in v0.22.0

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

Deprecated: Use UpdateBookmarkRequest.ProtoReflect.Descriptor instead.

func (*UpdateBookmarkRequest) GetProperties added in v0.22.0

func (x *UpdateBookmarkRequest) GetProperties() *BookmarkProperties

func (*UpdateBookmarkRequest) GetUUID added in v0.22.0

func (x *UpdateBookmarkRequest) GetUUID() []byte

func (*UpdateBookmarkRequest) ProtoMessage added in v0.22.0

func (*UpdateBookmarkRequest) ProtoMessage()

func (*UpdateBookmarkRequest) ProtoReflect added in v0.22.0

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

func (*UpdateBookmarkRequest) Reset added in v0.22.0

func (x *UpdateBookmarkRequest) Reset()

func (*UpdateBookmarkRequest) String added in v0.22.0

func (x *UpdateBookmarkRequest) String() string

type UpdateBookmarkResponse added in v0.22.0

type UpdateBookmarkResponse struct {
	Bookmark *Bookmark `protobuf:"bytes,3,opt,name=bookmark,proto3" json:"bookmark,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBookmarkResponse) Descriptor deprecated added in v0.22.0

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

Deprecated: Use UpdateBookmarkResponse.ProtoReflect.Descriptor instead.

func (*UpdateBookmarkResponse) GetBookmark added in v0.22.0

func (x *UpdateBookmarkResponse) GetBookmark() *Bookmark

func (*UpdateBookmarkResponse) ProtoMessage added in v0.22.0

func (*UpdateBookmarkResponse) ProtoMessage()

func (*UpdateBookmarkResponse) ProtoReflect added in v0.22.0

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

func (*UpdateBookmarkResponse) Reset added in v0.22.0

func (x *UpdateBookmarkResponse) Reset()

func (*UpdateBookmarkResponse) String added in v0.22.0

func (x *UpdateBookmarkResponse) String() string

type UpdateChangeRequest added in v0.23.0

type UpdateChangeRequest struct {
	UUID       []byte            `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Properties *ChangeProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

update an existing change

func (*UpdateChangeRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use UpdateChangeRequest.ProtoReflect.Descriptor instead.

func (*UpdateChangeRequest) GetProperties added in v0.24.0

func (x *UpdateChangeRequest) GetProperties() *ChangeProperties

func (*UpdateChangeRequest) GetUUID added in v0.23.0

func (x *UpdateChangeRequest) GetUUID() []byte

func (*UpdateChangeRequest) GetUUIDParsed added in v0.26.2

func (a *UpdateChangeRequest) GetUUIDParsed() *uuid.UUID

func (*UpdateChangeRequest) ProtoMessage added in v0.23.0

func (*UpdateChangeRequest) ProtoMessage()

func (*UpdateChangeRequest) ProtoReflect added in v0.23.0

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

func (*UpdateChangeRequest) Reset added in v0.23.0

func (x *UpdateChangeRequest) Reset()

func (*UpdateChangeRequest) String added in v0.23.0

func (x *UpdateChangeRequest) String() string

type UpdateChangeResponse added in v0.23.0

type UpdateChangeResponse struct {
	Change *Change `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateChangeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use UpdateChangeResponse.ProtoReflect.Descriptor instead.

func (*UpdateChangeResponse) GetChange added in v0.24.0

func (x *UpdateChangeResponse) GetChange() *Change

func (*UpdateChangeResponse) ProtoMessage added in v0.23.0

func (*UpdateChangeResponse) ProtoMessage()

func (*UpdateChangeResponse) ProtoReflect added in v0.23.0

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

func (*UpdateChangeResponse) Reset added in v0.23.0

func (x *UpdateChangeResponse) Reset()

func (*UpdateChangeResponse) String added in v0.23.0

func (x *UpdateChangeResponse) String() string

type UpdateChangingItemsRequest added in v0.31.0

type UpdateChangingItemsRequest struct {

	// The change to update
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// References to the items that are changing
	ChangingItems []*Reference `protobuf:"bytes,2,rep,name=changingItems,proto3" json:"changingItems,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateChangingItemsRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use UpdateChangingItemsRequest.ProtoReflect.Descriptor instead.

func (*UpdateChangingItemsRequest) GetChangeUUID added in v0.31.0

func (x *UpdateChangingItemsRequest) GetChangeUUID() []byte

func (*UpdateChangingItemsRequest) GetChangeUUIDParsed added in v0.32.1

func (x *UpdateChangingItemsRequest) GetChangeUUIDParsed() *uuid.UUID

func (*UpdateChangingItemsRequest) GetChangingItems added in v0.31.0

func (x *UpdateChangingItemsRequest) GetChangingItems() []*Reference

func (*UpdateChangingItemsRequest) ProtoMessage added in v0.31.0

func (*UpdateChangingItemsRequest) ProtoMessage()

func (*UpdateChangingItemsRequest) ProtoReflect added in v0.31.0

func (*UpdateChangingItemsRequest) Reset added in v0.31.0

func (x *UpdateChangingItemsRequest) Reset()

func (*UpdateChangingItemsRequest) String added in v0.31.0

func (x *UpdateChangingItemsRequest) String() string

type UpdateOnboardingRequest added in v0.23.0

type UpdateOnboardingRequest struct {
	Properties *OnboardingProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

update onboarding status

func (*UpdateOnboardingRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use UpdateOnboardingRequest.ProtoReflect.Descriptor instead.

func (*UpdateOnboardingRequest) GetProperties added in v0.24.0

func (x *UpdateOnboardingRequest) GetProperties() *OnboardingProperties

func (*UpdateOnboardingRequest) ProtoMessage added in v0.23.0

func (*UpdateOnboardingRequest) ProtoMessage()

func (*UpdateOnboardingRequest) ProtoReflect added in v0.23.0

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

func (*UpdateOnboardingRequest) Reset added in v0.23.0

func (x *UpdateOnboardingRequest) Reset()

func (*UpdateOnboardingRequest) String added in v0.23.0

func (x *UpdateOnboardingRequest) String() string

type UpdateOnboardingResponse added in v0.23.0

type UpdateOnboardingResponse struct {
	Onboarding *Onboarding `protobuf:"bytes,1,opt,name=onboarding,proto3" json:"onboarding,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOnboardingResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use UpdateOnboardingResponse.ProtoReflect.Descriptor instead.

func (*UpdateOnboardingResponse) GetOnboarding added in v0.24.0

func (x *UpdateOnboardingResponse) GetOnboarding() *Onboarding

func (*UpdateOnboardingResponse) ProtoMessage added in v0.23.0

func (*UpdateOnboardingResponse) ProtoMessage()

func (*UpdateOnboardingResponse) ProtoReflect added in v0.23.0

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

func (*UpdateOnboardingResponse) Reset added in v0.23.0

func (x *UpdateOnboardingResponse) Reset()

func (*UpdateOnboardingResponse) String added in v0.23.0

func (x *UpdateOnboardingResponse) String() string

type UpdatePlannedChangesRequest added in v0.55.0

type UpdatePlannedChangesRequest struct {

	// The change to update
	ChangeUUID []byte `protobuf:"bytes,1,opt,name=changeUUID,proto3" json:"changeUUID,omitempty"`
	// the changing items
	ChangingItems []*MappedItemDiff `protobuf:"bytes,2,rep,name=changingItems,proto3" json:"changingItems,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePlannedChangesRequest) Descriptor deprecated added in v0.55.0

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

Deprecated: Use UpdatePlannedChangesRequest.ProtoReflect.Descriptor instead.

func (*UpdatePlannedChangesRequest) GetChangeUUID added in v0.55.0

func (x *UpdatePlannedChangesRequest) GetChangeUUID() []byte

func (*UpdatePlannedChangesRequest) GetChangeUUIDParsed added in v0.55.0

func (x *UpdatePlannedChangesRequest) GetChangeUUIDParsed() *uuid.UUID

func (*UpdatePlannedChangesRequest) GetChangingItems added in v0.55.0

func (x *UpdatePlannedChangesRequest) GetChangingItems() []*MappedItemDiff

func (*UpdatePlannedChangesRequest) ProtoMessage added in v0.55.0

func (*UpdatePlannedChangesRequest) ProtoMessage()

func (*UpdatePlannedChangesRequest) ProtoReflect added in v0.55.0

func (*UpdatePlannedChangesRequest) Reset added in v0.55.0

func (x *UpdatePlannedChangesRequest) Reset()

func (*UpdatePlannedChangesRequest) String added in v0.55.0

func (x *UpdatePlannedChangesRequest) String() string

type UpdateSnapshotRequest added in v0.24.0

type UpdateSnapshotRequest struct {
	UUID       []byte              `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Properties *SnapshotProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

updates the properties of an existing snapshot

func (*UpdateSnapshotRequest) Descriptor deprecated added in v0.24.0

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

Deprecated: Use UpdateSnapshotRequest.ProtoReflect.Descriptor instead.

func (*UpdateSnapshotRequest) GetProperties added in v0.24.0

func (x *UpdateSnapshotRequest) GetProperties() *SnapshotProperties

func (*UpdateSnapshotRequest) GetUUID added in v0.24.0

func (x *UpdateSnapshotRequest) GetUUID() []byte

func (*UpdateSnapshotRequest) ProtoMessage added in v0.24.0

func (*UpdateSnapshotRequest) ProtoMessage()

func (*UpdateSnapshotRequest) ProtoReflect added in v0.24.0

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

func (*UpdateSnapshotRequest) Reset added in v0.24.0

func (x *UpdateSnapshotRequest) Reset()

func (*UpdateSnapshotRequest) String added in v0.24.0

func (x *UpdateSnapshotRequest) String() string

type UpdateSnapshotResponse added in v0.24.0

type UpdateSnapshotResponse struct {

	// the updated version of the snapshot
	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSnapshotResponse) Descriptor deprecated added in v0.24.0

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

Deprecated: Use UpdateSnapshotResponse.ProtoReflect.Descriptor instead.

func (*UpdateSnapshotResponse) GetSnapshot added in v0.24.0

func (x *UpdateSnapshotResponse) GetSnapshot() *Snapshot

func (*UpdateSnapshotResponse) ProtoMessage added in v0.24.0

func (*UpdateSnapshotResponse) ProtoMessage()

func (*UpdateSnapshotResponse) ProtoReflect added in v0.24.0

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

func (*UpdateSnapshotResponse) Reset added in v0.24.0

func (x *UpdateSnapshotResponse) Reset()

func (*UpdateSnapshotResponse) String added in v0.24.0

func (x *UpdateSnapshotResponse) String() string

type UpdateSourceRequest added in v0.29.0

type UpdateSourceRequest struct {

	// ID of the source to update
	UUID []byte `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// Properties to update
	Properties *SourceProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSourceRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use UpdateSourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateSourceRequest) GetProperties added in v0.29.0

func (x *UpdateSourceRequest) GetProperties() *SourceProperties

func (*UpdateSourceRequest) GetUUID added in v0.29.0

func (x *UpdateSourceRequest) GetUUID() []byte

func (*UpdateSourceRequest) ProtoMessage added in v0.29.0

func (*UpdateSourceRequest) ProtoMessage()

func (*UpdateSourceRequest) ProtoReflect added in v0.29.0

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

func (*UpdateSourceRequest) Reset added in v0.29.0

func (x *UpdateSourceRequest) Reset()

func (*UpdateSourceRequest) String added in v0.29.0

func (x *UpdateSourceRequest) String() string

type UpdateSourceResponse added in v0.29.0

type UpdateSourceResponse struct {
	Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSourceResponse) Descriptor deprecated added in v0.29.0

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

Deprecated: Use UpdateSourceResponse.ProtoReflect.Descriptor instead.

func (*UpdateSourceResponse) GetSource added in v0.29.0

func (x *UpdateSourceResponse) GetSource() *Source

func (*UpdateSourceResponse) ProtoMessage added in v0.29.0

func (*UpdateSourceResponse) ProtoMessage()

func (*UpdateSourceResponse) ProtoReflect added in v0.29.0

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

func (*UpdateSourceResponse) Reset added in v0.29.0

func (x *UpdateSourceResponse) Reset()

func (*UpdateSourceResponse) String added in v0.29.0

func (x *UpdateSourceResponse) String() string

type UserTokenContextKey added in v0.26.4

type UserTokenContextKey struct{}

UserTokenContextKey is the key that is used to store the full JWT token of the user

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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