fixtures

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestPolicy

type TestPolicy struct {
	Stream     object.Hash
	Parents    []object.Hash
	Owners     []crypto.PublicKey
	Policy     object.Policy
	Signatures []object.Signature
	Subjects   []string
	Resources  []string
	Conditions []string
	Action     string
	// contains filtered or unexported fields
}

func (*TestPolicy) FromObject

func (e *TestPolicy) FromObject(o object.Object) error

func (TestPolicy) GetSchema

func (e TestPolicy) GetSchema() *object.SchemaObject

func (TestPolicy) GetType

func (e TestPolicy) GetType() string

func (TestPolicy) ToObject

func (e TestPolicy) ToObject() object.Object

type TestStream

type TestStream struct {
	Stream          object.Hash
	Parents         []object.Hash
	Owners          []crypto.PublicKey
	Policy          object.Policy
	Signatures      []object.Signature
	Nonce           string
	CreatedDateTime string
	// contains filtered or unexported fields
}

func (*TestStream) FromObject

func (e *TestStream) FromObject(o object.Object) error

func (TestStream) GetSchema

func (e TestStream) GetSchema() *object.SchemaObject

func (TestStream) GetType

func (e TestStream) GetType() string

func (TestStream) ToObject

func (e TestStream) ToObject() object.Object

type TestSubscribed

type TestSubscribed struct {
	Stream     object.Hash
	Parents    []object.Hash
	Owners     []crypto.PublicKey
	Policy     object.Policy
	Signatures []object.Signature
	Nonce      string
	// contains filtered or unexported fields
}

func (*TestSubscribed) FromObject

func (e *TestSubscribed) FromObject(o object.Object) error

func (TestSubscribed) GetSchema

func (e TestSubscribed) GetSchema() *object.SchemaObject

func (TestSubscribed) GetType

func (e TestSubscribed) GetType() string

func (TestSubscribed) ToObject

func (e TestSubscribed) ToObject() object.Object

type TestUnsubscribed

type TestUnsubscribed struct {
	Stream     object.Hash
	Parents    []object.Hash
	Owners     []crypto.PublicKey
	Policy     object.Policy
	Signatures []object.Signature
	Nonce      string
	// contains filtered or unexported fields
}

func (*TestUnsubscribed) FromObject

func (e *TestUnsubscribed) FromObject(o object.Object) error

func (TestUnsubscribed) GetSchema

func (e TestUnsubscribed) GetSchema() *object.SchemaObject

func (TestUnsubscribed) GetType

func (e TestUnsubscribed) GetType() string

func (TestUnsubscribed) ToObject

func (e TestUnsubscribed) ToObject() object.Object

Jump to

Keyboard shortcuts

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