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 `nimona:"subjects:as,omitempty"` Resources []string `nimona:"resources:as,omitempty"` Conditions []string `nimona:"conditions:as,omitempty"` Action string `nimona:"action:s,omitempty"` }
func (*TestPolicy) FromObject ¶
func (e *TestPolicy) FromObject(o *object.Object) error
func (TestPolicy) ToObject ¶
func (e TestPolicy) ToObject() *object.Object
func (TestPolicy) ToObjectMap ¶ added in v0.14.4
func (e TestPolicy) ToObjectMap() map[string]interface{}
func (*TestPolicy) Type ¶ added in v0.12.0
func (e *TestPolicy) Type() string
type TestStream ¶
type TestStream struct { Metadata object.Metadata `nimona:"metadata:m,omitempty"` Nonce string `nimona:"nonce:s,omitempty"` CreatedDateTime string `nimona:"createdDateTime:s,omitempty"` }
func (*TestStream) FromObject ¶
func (e *TestStream) FromObject(o *object.Object) error
func (TestStream) ToObject ¶
func (e TestStream) ToObject() *object.Object
func (TestStream) ToObjectMap ¶ added in v0.14.4
func (e TestStream) ToObjectMap() map[string]interface{}
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 `nimona:"nonce:s,omitempty"` }
func (*TestSubscribed) FromObject ¶
func (e *TestSubscribed) FromObject(o *object.Object) error
func (TestSubscribed) ToObject ¶
func (e TestSubscribed) ToObject() *object.Object
func (TestSubscribed) ToObjectMap ¶ added in v0.14.4
func (e TestSubscribed) ToObjectMap() map[string]interface{}
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 `nimona:"nonce:s,omitempty"` }
func (*TestUnsubscribed) FromObject ¶
func (e *TestUnsubscribed) FromObject(o *object.Object) error
func (TestUnsubscribed) ToObject ¶
func (e TestUnsubscribed) ToObject() *object.Object
func (TestUnsubscribed) ToObjectMap ¶ added in v0.14.4
func (e TestUnsubscribed) ToObjectMap() map[string]interface{}
func (*TestUnsubscribed) Type ¶ added in v0.12.0
func (e *TestUnsubscribed) Type() string
Click to show internal directories.
Click to hide internal directories.