models

package
v0.0.0-...-6a25cbf Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {

	// deployment id
	ID string `json:"id,omitempty"`

	// deployment name
	Name string `json:"name,omitempty"`

	// data reader's name
	Reader string `json:"reader,omitempty"`

	// data reader's configuration
	ReaderConfigs string `json:"readerConfigs,omitempty"`

	// rule chain that the deployment will be applied to
	RuleChainID string `json:"ruleChainId,omitempty"`
}

Deployment rule chain deployment swagger:model deployment

func (*Deployment) MarshalBinary

func (m *Deployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Deployment) UnmarshalBinary

func (m *Deployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Deployment) Validate

func (m *Deployment) Validate(formats strfmt.Registry) error

Validate validates this deployment

type DeploymentControl

type DeploymentControl struct {

	// action name
	Action string `json:"action,omitempty"`
}

DeploymentControl rule chain deployment control action swagger:model deploymentControl

func (*DeploymentControl) MarshalBinary

func (m *DeploymentControl) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentControl) UnmarshalBinary

func (m *DeploymentControl) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentControl) Validate

func (m *DeploymentControl) Validate(formats strfmt.Registry) error

Validate validates this deployment control

type Principal

type Principal struct {

	// User Id
	ID string `json:"id,omitempty"`

	// User name
	Name string `json:"name,omitempty"`

	// User roles
	Roles []string `json:"roles"`
}

Principal principal swagger:model principal

func (*Principal) MarshalBinary

func (m *Principal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary

func (m *Principal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Principal) Validate

func (m *Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

type RuleChain

type RuleChain struct {

	// debug mode flag
	DebugMode bool `json:"debugMode,omitempty"`

	// rule chain description
	Description string `json:"description,omitempty"`

	// rule chain id
	ID string `json:"id,omitempty"`

	// rule chain's name
	Name string `json:"name,omitempty"`

	// root flag
	Root bool `json:"root,omitempty"`
}

RuleChain one rule chain info swagger:model ruleChain

func (*RuleChain) MarshalBinary

func (m *RuleChain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RuleChain) UnmarshalBinary

func (m *RuleChain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RuleChain) Validate

func (m *RuleChain) Validate(formats strfmt.Registry) error

Validate validates this rule chain

Jump to

Keyboard shortcuts

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