models

package
v0.0.0-...-0704e8f Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirhalProject

type VirhalProject struct {

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

	// version
	Version string `json:"Version,omitempty"`

	// services
	Services map[string]VirhalService `json:"services,omitempty"`
}

VirhalProject virhal project swagger:model virhalProject

func (*VirhalProject) MarshalBinary

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

MarshalBinary interface implementation

func (*VirhalProject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VirhalProject) Validate

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

Validate validates this virhal project

type VirhalResponse

type VirhalResponse struct {

	// code
	Code int32 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

VirhalResponse virhal response swagger:model virhalResponse

func (*VirhalResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*VirhalResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VirhalResponse) Validate

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

Validate validates this virhal response

type VirhalService

type VirhalService struct {

	// file
	File strfmt.Base64 `json:"File,omitempty"`

	// mode
	Mode string `json:"Mode,omitempty"`

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

	// tags
	Tags map[string]string `json:"Tags,omitempty"`
}

VirhalService virhal service swagger:model virhalService

func (*VirhalService) MarshalBinary

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

MarshalBinary interface implementation

func (*VirhalService) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VirhalService) Validate

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

Validate validates this virhal service

Jump to

Keyboard shortcuts

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