models

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DebugAttachmentStatusStateNone captures enum value "none"
	DebugAttachmentStatusStateNone string = "none"
	// DebugAttachmentStatusStateAttaching captures enum value "attaching"
	DebugAttachmentStatusStateAttaching string = "attaching"
	// DebugAttachmentStatusStateAttached captures enum value "attached"
	DebugAttachmentStatusStateAttached string = "attached"
	// DebugAttachmentStatusStateError captures enum value "error"
	DebugAttachmentStatusStateError string = "error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment interface{}

Attachment attachment swagger:model Attachment

type DebugAttachment added in v0.2.0

type DebugAttachment struct {

	// metadata
	Metadata *ObjectMeta `json:"metadata,omitempty"`

	// spec
	// Required: true
	Spec *DebugAttachmentSpec `json:"spec"`

	// status
	Status *DebugAttachmentStatus `json:"status,omitempty"`
}

DebugAttachment debug attachment swagger:model DebugAttachment

func (*DebugAttachment) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*DebugAttachment) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*DebugAttachment) Validate added in v0.2.0

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

Validate validates this debug attachment

type DebugAttachmentSpec added in v0.2.0

type DebugAttachmentSpec struct {

	// attachment
	// Required: true
	Attachment Attachment `json:"attachment"`

	// debugger
	Debugger string `json:"debugger,omitempty"`

	// image
	Image string `json:"image,omitempty"`

	// If true, this attachment must match a pending debug request.
	MatchRequest bool `json:"match_request,omitempty"`

	// node
	Node string `json:"node,omitempty"`

	// process name
	ProcessName string `json:"process_name,omitempty"`
}

DebugAttachmentSpec debug attachment spec swagger:model DebugAttachmentSpec

func (*DebugAttachmentSpec) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*DebugAttachmentSpec) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*DebugAttachmentSpec) Validate added in v0.2.0

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

Validate validates this debug attachment spec

type DebugAttachmentStatus added in v0.2.0

type DebugAttachmentStatus struct {

	// debug server address
	DebugServerAddress string `json:"debug_server_address,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

DebugAttachmentStatus debug attachment status swagger:model DebugAttachmentStatus

func (*DebugAttachmentStatus) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*DebugAttachmentStatus) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*DebugAttachmentStatus) Validate added in v0.2.0

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

Validate validates this debug attachment status

type DebugRequest added in v0.2.0

type DebugRequest struct {

	// metadata
	Metadata *ObjectMeta `json:"metadata,omitempty"`

	// spec
	// Required: true
	Spec *DebugRequestSpec `json:"spec"`

	// status
	Status *DebugRequestStatus `json:"status,omitempty"`
}

DebugRequest debug request swagger:model DebugRequest

func (*DebugRequest) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*DebugRequest) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*DebugRequest) Validate added in v0.2.0

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

Validate validates this debug request

type DebugRequestSpec added in v0.2.0

type DebugRequestSpec struct {

	// debugger
	// Required: true
	Debugger *string `json:"debugger"`

	// image
	// Required: true
	Image *string `json:"image"`

	// process name
	ProcessName string `json:"process_name,omitempty"`
}

DebugRequestSpec debug request spec swagger:model DebugRequestSpec

func (*DebugRequestSpec) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*DebugRequestSpec) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*DebugRequestSpec) Validate added in v0.2.0

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

Validate validates this debug request spec

type DebugRequestStatus added in v0.2.0

type DebugRequestStatus struct {

	// debug attachment ref
	DebugAttachmentRef string `json:"debug_attachment_ref,omitempty"`
}

DebugRequestStatus debug request status swagger:model DebugRequestStatus

func (*DebugRequestStatus) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*DebugRequestStatus) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*DebugRequestStatus) Validate added in v0.2.0

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

Validate validates this debug request status

type GetDebugAttachmentsOKBody added in v0.2.0

type GetDebugAttachmentsOKBody []*DebugAttachment

GetDebugAttachmentsOKBody get debug attachments o k body swagger:model getDebugAttachmentsOKBody

func (GetDebugAttachmentsOKBody) Validate added in v0.2.0

func (m GetDebugAttachmentsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get debug attachments o k body

type GetDebugRequestsOKBody added in v0.2.0

type GetDebugRequestsOKBody []*DebugRequest

GetDebugRequestsOKBody get debug requests o k body swagger:model getDebugRequestsOKBody

func (GetDebugRequestsOKBody) Validate added in v0.2.0

func (m GetDebugRequestsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get debug requests o k body

type ObjectMeta added in v0.2.0

type ObjectMeta struct {

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

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

ObjectMeta object meta swagger:model ObjectMeta

func (*ObjectMeta) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*ObjectMeta) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*ObjectMeta) Validate added in v0.2.0

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

Validate validates this object meta

Jump to

Keyboard shortcuts

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