fixtures

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 1 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 `nimona:"metadata:m,omitempty"`
	Subjects   []string
	Resources  []string
	Conditions []string
	Action     string
}

func (*TestPolicy) FromObject

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

func (TestPolicy) ToObject

func (e TestPolicy) ToObject() *object.Object

func (*TestPolicy) Type added in v0.12.0

func (e *TestPolicy) Type() string

type TestRequest added in v0.15.5

type TestRequest struct {
	Metadata  object.Metadata `nimona:"metadata:m,omitempty"`
	RequestID string
	Foo       string
}

func (*TestRequest) FromObject added in v0.15.5

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

func (TestRequest) ToObject added in v0.15.5

func (e TestRequest) ToObject() *object.Object

func (*TestRequest) Type added in v0.15.5

func (e *TestRequest) Type() string

type TestResponse added in v0.15.5

type TestResponse struct {
	Metadata  object.Metadata `nimona:"metadata:m,omitempty"`
	RequestID string
	Foo       string
}

func (*TestResponse) FromObject added in v0.15.5

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

func (TestResponse) ToObject added in v0.15.5

func (e TestResponse) ToObject() *object.Object

func (*TestResponse) Type added in v0.15.5

func (e *TestResponse) Type() string

type TestStream

type TestStream struct {
	Metadata        object.Metadata `nimona:"metadata:m,omitempty"`
	Nonce           string
	CreatedDateTime string
}

func (*TestStream) FromObject

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

func (TestStream) ToObject

func (e TestStream) ToObject() *object.Object

func (*TestStream) Type added in v0.12.0

func (e *TestStream) Type() string

type TestSubscribed

type TestSubscribed struct {
	Metadata object.Metadata `nimona:"metadata:m,omitempty"`
	Nonce    string
}

func (*TestSubscribed) FromObject

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

func (TestSubscribed) ToObject

func (e TestSubscribed) ToObject() *object.Object

func (*TestSubscribed) Type added in v0.12.0

func (e *TestSubscribed) Type() string

type TestUnsubscribed

type TestUnsubscribed struct {
	Metadata object.Metadata `nimona:"metadata:m,omitempty"`
	Nonce    string
}

func (*TestUnsubscribed) FromObject

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

func (TestUnsubscribed) ToObject

func (e TestUnsubscribed) ToObject() *object.Object

func (*TestUnsubscribed) Type added in v0.12.0

func (e *TestUnsubscribed) Type() string

Jump to

Keyboard shortcuts

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