fixtures

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 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 Child added in v0.18.0

type Child struct {
	Metadata object.Metadata
	Foo      string
}

func (*Child) FromObject added in v0.18.0

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

func (*Child) MarshalMap added in v0.18.0

func (e *Child) MarshalMap() (object.Map, error)

func (*Child) MarshalObject added in v0.18.0

func (e *Child) MarshalObject() (*object.Object, error)

func (Child) ToObject added in v0.18.0

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

func (*Child) Type added in v0.18.0

func (e *Child) Type() string

func (*Child) UnmarshalMap added in v0.18.0

func (e *Child) UnmarshalMap(m object.Map) error

func (*Child) UnmarshalObject added in v0.18.0

func (e *Child) UnmarshalObject(o *object.Object) error

type Composite added in v0.18.0

type Composite struct {
	Foo string
}

func (Composite) MarshalBytes added in v0.18.0

func (c Composite) MarshalBytes() ([]byte, error)

func (Composite) MarshalString added in v0.18.0

func (c Composite) MarshalString() (string, error)

func (*Composite) UnmarshalBytes added in v0.18.0

func (c *Composite) UnmarshalBytes(s []byte) error

func (*Composite) UnmarshalString added in v0.18.0

func (c *Composite) UnmarshalString(s string) error

type CompositeTest added in v0.18.0

type CompositeTest struct {
	Metadata                    object.Metadata
	CompositeStringTest         *Composite
	CompositeDataTest           *Composite
	RepeatedCompositeStringTest []*Composite
	RepeatedCompositeDataTest   []*Composite
}

func (*CompositeTest) FromObject added in v0.18.0

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

func (*CompositeTest) MarshalMap added in v0.18.0

func (e *CompositeTest) MarshalMap() (object.Map, error)

func (*CompositeTest) MarshalObject added in v0.18.0

func (e *CompositeTest) MarshalObject() (*object.Object, error)

func (CompositeTest) ToObject added in v0.18.0

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

func (*CompositeTest) Type added in v0.18.0

func (e *CompositeTest) Type() string

func (*CompositeTest) UnmarshalMap added in v0.18.0

func (e *CompositeTest) UnmarshalMap(m object.Map) error

func (*CompositeTest) UnmarshalObject added in v0.18.0

func (e *CompositeTest) UnmarshalObject(o *object.Object) error

type Parent added in v0.18.0

type Parent struct {
	Metadata      object.Metadata
	Foo           string
	Child         *Child
	RepeatedChild []*Child
}

func (*Parent) FromObject added in v0.18.0

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

func (*Parent) MarshalMap added in v0.18.0

func (e *Parent) MarshalMap() (object.Map, error)

func (*Parent) MarshalObject added in v0.18.0

func (e *Parent) MarshalObject() (*object.Object, error)

func (Parent) ToObject added in v0.18.0

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

func (*Parent) Type added in v0.18.0

func (e *Parent) Type() string

func (*Parent) UnmarshalMap added in v0.18.0

func (e *Parent) UnmarshalMap(m object.Map) error

func (*Parent) UnmarshalObject added in v0.18.0

func (e *Parent) UnmarshalObject(o *object.Object) error

type TestPolicy

type TestPolicy struct {
	Metadata   object.Metadata
	Subjects   []string
	Resources  []string
	Conditions []string
	Action     string
}

func (*TestPolicy) FromObject

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

func (*TestPolicy) MarshalMap added in v0.18.0

func (e *TestPolicy) MarshalMap() (object.Map, error)

func (*TestPolicy) MarshalObject added in v0.18.0

func (e *TestPolicy) MarshalObject() (*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

func (*TestPolicy) UnmarshalMap added in v0.18.0

func (e *TestPolicy) UnmarshalMap(m object.Map) error

func (*TestPolicy) UnmarshalObject added in v0.18.0

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

type TestRequest added in v0.15.5

type TestRequest struct {
	Metadata  object.Metadata
	RequestID string
	Foo       string
}

func (*TestRequest) FromObject added in v0.15.5

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

func (*TestRequest) MarshalMap added in v0.18.0

func (e *TestRequest) MarshalMap() (object.Map, error)

func (*TestRequest) MarshalObject added in v0.18.0

func (e *TestRequest) MarshalObject() (*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

func (*TestRequest) UnmarshalMap added in v0.18.0

func (e *TestRequest) UnmarshalMap(m object.Map) error

func (*TestRequest) UnmarshalObject added in v0.18.0

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

type TestResponse added in v0.15.5

type TestResponse struct {
	Metadata  object.Metadata
	RequestID string
	Foo       string
}

func (*TestResponse) FromObject added in v0.15.5

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

func (*TestResponse) MarshalMap added in v0.18.0

func (e *TestResponse) MarshalMap() (object.Map, error)

func (*TestResponse) MarshalObject added in v0.18.0

func (e *TestResponse) MarshalObject() (*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

func (*TestResponse) UnmarshalMap added in v0.18.0

func (e *TestResponse) UnmarshalMap(m object.Map) error

func (*TestResponse) UnmarshalObject added in v0.18.0

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

type TestStream

type TestStream struct {
	Metadata        object.Metadata
	Nonce           string
	CreatedDateTime string
}

func (*TestStream) FromObject

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

func (*TestStream) MarshalMap added in v0.18.0

func (e *TestStream) MarshalMap() (object.Map, error)

func (*TestStream) MarshalObject added in v0.18.0

func (e *TestStream) MarshalObject() (*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

func (*TestStream) UnmarshalMap added in v0.18.0

func (e *TestStream) UnmarshalMap(m object.Map) error

func (*TestStream) UnmarshalObject added in v0.18.0

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

type TestSubscribed

type TestSubscribed struct {
	Metadata object.Metadata
	Nonce    string
}

func (*TestSubscribed) FromObject

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

func (*TestSubscribed) MarshalMap added in v0.18.0

func (e *TestSubscribed) MarshalMap() (object.Map, error)

func (*TestSubscribed) MarshalObject added in v0.18.0

func (e *TestSubscribed) MarshalObject() (*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

func (*TestSubscribed) UnmarshalMap added in v0.18.0

func (e *TestSubscribed) UnmarshalMap(m object.Map) error

func (*TestSubscribed) UnmarshalObject added in v0.18.0

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

type TestUnsubscribed

type TestUnsubscribed struct {
	Metadata object.Metadata
	Nonce    string
}

func (*TestUnsubscribed) FromObject

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

func (*TestUnsubscribed) MarshalMap added in v0.18.0

func (e *TestUnsubscribed) MarshalMap() (object.Map, error)

func (*TestUnsubscribed) MarshalObject added in v0.18.0

func (e *TestUnsubscribed) MarshalObject() (*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

func (*TestUnsubscribed) UnmarshalMap added in v0.18.0

func (e *TestUnsubscribed) UnmarshalMap(m object.Map) error

func (*TestUnsubscribed) UnmarshalObject added in v0.18.0

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

Jump to

Keyboard shortcuts

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