fixtures

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 2 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 {
	Metadata   object.Metadata
	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) IsStreamRoot added in v0.11.0

func (e TestPolicy) IsStreamRoot() bool

func (TestPolicy) ToObject

func (e TestPolicy) ToObject() object.Object

type TestStream

type TestStream struct {
	Metadata        object.Metadata
	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) IsStreamRoot added in v0.11.0

func (e TestStream) IsStreamRoot() bool

func (TestStream) ToObject

func (e TestStream) ToObject() object.Object

type TestSubscribed

type TestSubscribed struct {
	Metadata object.Metadata
	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) IsStreamRoot added in v0.11.0

func (e TestSubscribed) IsStreamRoot() bool

func (TestSubscribed) ToObject

func (e TestSubscribed) ToObject() object.Object

type TestUnsubscribed

type TestUnsubscribed struct {
	Metadata object.Metadata
	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) IsStreamRoot added in v0.11.0

func (e TestUnsubscribed) IsStreamRoot() bool

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