model

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by avro/gen. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Schema string

Functions

This section is empty.

Types

type Condition

type Condition struct {
	Variable string   `avro:"variable"`
	Operator string   `avro:"operator"`
	Values   []string `avro:"values"`
}

Condition is a generated struct.

type Envelope added in v0.2.1

type Envelope struct {
	Key           EnvelopeKey `json:"key"`
	EncryptedBlob string      `json:"encryptedBlob"`
}

type EnvelopeKey added in v0.2.1

type EnvelopeKey struct {
	TargetID    string `json:"targetId"`
	NamespaceID string `json:"namespaceId"`
	NskVersion  int    `json:"nskVersion"`
}

type Fig

type Fig struct {
	FigID               string  `avro:"figId"`
	Version             string  `avro:"version"`
	Payload             []byte  `avro:"payload"`
	IsEncrypted         bool    `avro:"isEncrypted"`
	WrappedDek          []byte  `avro:"wrappedDek"`
	EncryptionAlgorithm *string `avro:"encryptionAlgorithm"`
	KeyID               *string `avro:"keyId"`
}

Fig is a generated struct.

type FigDefinition

type FigDefinition struct {
	Namespace     string    `avro:"namespace"`
	Key           string    `avro:"key"`
	FigID         string    `avro:"figId"`
	SchemaURI     string    `avro:"schemaUri"`
	SchemaVersion string    `avro:"schemaVersion"`
	CreatedAt     time.Time `avro:"createdAt"`
	UpdatedAt     time.Time `avro:"updatedAt"`
}

FigDefinition is a generated struct.

type FigFamily

type FigFamily struct {
	Definition     FigDefinition `avro:"definition"`
	Figs           []Fig         `avro:"figs"`
	Rules          []Rule        `avro:"rules"`
	DefaultVersion *string       `avro:"defaultVersion"`
}

FigFamily is a generated struct.

type InitialFetchRequest

type InitialFetchRequest struct {
	Namespace     string     `avro:"namespace"`
	EnvironmentID string     `avro:"environmentId"`
	AsOfTimestamp *time.Time `avro:"asOfTimestamp"`
}

InitialFetchRequest is a generated struct.

type InitialFetchResponse

type InitialFetchResponse struct {
	FigFamilies   []FigFamily       `avro:"figFamilies"`
	Cursor        string            `avro:"cursor"`
	EnvironmentID string            `avro:"environmentId"`
	Schemas       map[string]string `avro:"schemas"`
}

InitialFetchResponse is a generated struct.

type NamespaceKey added in v0.2.0

type NamespaceKey struct {
	WrappedKey string `json:"wrappedKey"`
	KeyID      string `json:"keyId"`
}

type Rule

type Rule struct {
	Description   *string     `avro:"description"`
	Conditions    []Condition `avro:"conditions"`
	TargetVersion string      `avro:"targetVersion"`
}

Rule is a generated struct.

type UpdateFetchRequest

type UpdateFetchRequest struct {
	Namespace     string `avro:"namespace"`
	Cursor        string `avro:"cursor"`
	EnvironmentID string `avro:"environmentId"`
}

UpdateFetchRequest is a generated struct.

type UpdateFetchResponse

type UpdateFetchResponse struct {
	FigFamilies []FigFamily       `avro:"figFamilies"`
	Cursor      string            `avro:"cursor"`
	Schemas     map[string]string `avro:"schemas"`
}

UpdateFetchResponse is a generated struct.

type UserPublicKey added in v0.2.0

type UserPublicKey struct {
	Email     string `json:"email"`
	PublicKey string `json:"publicKey"`
	Algorithm string `json:"algorithm"`
}

Jump to

Keyboard shortcuts

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