models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 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 ResponseAgentInfo

type ResponseAgentInfo struct {

	// address
	Address string `json:"address,omitempty"`

	// available
	Available bool `json:"available,omitempty"`

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

	// secure
	Secure bool `json:"secure,omitempty"`
}

ResponseAgentInfo response agent info

swagger:model response.AgentInfo

func (*ResponseAgentInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseAgentInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseAgentInfo) Validate

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

Validate validates this response agent info

type ResponseAgentSecretInfo

type ResponseAgentSecretInfo struct {

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

	// type
	Type string `json:"type,omitempty"`
}

ResponseAgentSecretInfo response agent secret info

swagger:model response.AgentSecretInfo

func (*ResponseAgentSecretInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseAgentSecretInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseAgentSecretInfo) Validate

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

Validate validates this response agent secret info

type ResponseAgentTriggerInfo

type ResponseAgentTriggerInfo struct {

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

	// pipelines
	Pipelines []string `json:"pipelines"`
}

ResponseAgentTriggerInfo response agent trigger info

swagger:model response.AgentTriggerInfo

func (*ResponseAgentTriggerInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseAgentTriggerInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseAgentTriggerInfo) Validate

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

Validate validates this response agent trigger info

type ResponseAgentVerboseInfo

type ResponseAgentVerboseInfo struct {

	// address
	Address string `json:"address,omitempty"`

	// healthy
	Healthy bool `json:"healthy,omitempty"`

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

	// secrets
	Secrets []*ResponseAgentSecretInfo `json:"secrets"`

	// secure
	Secure bool `json:"secure,omitempty"`

	// server name
	ServerName string `json:"serverName,omitempty"`

	// workflows
	Workflows []*ResponseAgentWorkflowInfo `json:"workflows"`
}

ResponseAgentVerboseInfo response agent verbose info

swagger:model response.AgentVerboseInfo

func (*ResponseAgentVerboseInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseAgentVerboseInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseAgentVerboseInfo) Validate

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

Validate validates this response agent verbose info

type ResponseAgentWorkflowInfo

type ResponseAgentWorkflowInfo struct {

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

	// triggers
	Triggers []*ResponseAgentTriggerInfo `json:"triggers"`
}

ResponseAgentWorkflowInfo response agent workflow info

swagger:model response.AgentWorkflowInfo

func (*ResponseAgentWorkflowInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseAgentWorkflowInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseAgentWorkflowInfo) Validate

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

Validate validates this response agent workflow info

type ResponseHTTPError

type ResponseHTTPError struct {

	// error
	Error string `json:"error,omitempty"`
}

ResponseHTTPError response HTTP error

swagger:model response.HTTPError

func (*ResponseHTTPError) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseHTTPError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseHTTPError) Validate

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

Validate validates this response HTTP error

type ResponseHTTPMessage

type ResponseHTTPMessage struct {

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

ResponseHTTPMessage response HTTP message

swagger:model response.HTTPMessage

func (*ResponseHTTPMessage) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseHTTPMessage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseHTTPMessage) Validate

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

Validate validates this response HTTP message

type ResponseItemsList

type ResponseItemsList struct {

	// list
	List []string `json:"list"`
}

ResponseItemsList response items list

swagger:model response.ItemsList

func (*ResponseItemsList) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseItemsList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseItemsList) Validate

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

Validate validates this response items list

type ResponseJWTAuth

type ResponseJWTAuth struct {

	// expires in
	ExpiresIn string `json:"expiresIn,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// user email
	UserEmail string `json:"userEmail,omitempty"`

	// user name
	UserName string `json:"userName,omitempty"`
}

ResponseJWTAuth response j w t auth

swagger:model response.JWTAuth

func (*ResponseJWTAuth) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseJWTAuth) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseJWTAuth) Validate

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

Validate validates this response j w t auth

type ResponseKVPair

type ResponseKVPair struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ResponseKVPair response k v pair

swagger:model response.KVPair

func (*ResponseKVPair) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseKVPair) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseKVPair) Validate

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

Validate validates this response k v pair

type ResponseOauthLogin

type ResponseOauthLogin struct {

	// LoginURL is the URL to be used for logging in.
	LoginURL string `json:"loginURL,omitempty"`
}

ResponseOauthLogin response oauth login

swagger:model response.OauthLogin

func (*ResponseOauthLogin) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseOauthLogin) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseOauthLogin) Validate

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

Validate validates this response oauth login

type ResponsePipelineInfo

type ResponsePipelineInfo struct {

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

	// runs
	Runs []*ResponsePipelineRunInfo `json:"runs"`

	// spec
	Spec string `json:"spec,omitempty"`

	// warnings
	Warnings []string `json:"warnings"`

	// workflow
	Workflow string `json:"workflow,omitempty"`
}

ResponsePipelineInfo response pipeline info

swagger:model response.PipelineInfo

func (*ResponsePipelineInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponsePipelineInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponsePipelineInfo) Validate

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

Validate validates this response pipeline info

type ResponsePipelineRunInfo

type ResponsePipelineRunInfo struct {

	// agent
	Agent string `json:"agent,omitempty"`

	// end time
	EndTime int64 `json:"endTime,omitempty"`

	// run ID
	RunID string `json:"runID,omitempty"`

	// start time
	StartTime int64 `json:"startTime,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

ResponsePipelineRunInfo response pipeline run info

swagger:model response.PipelineRunInfo

func (*ResponsePipelineRunInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponsePipelineRunInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponsePipelineRunInfo) Validate

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

Validate validates this response pipeline run info

type ResponsePipelineRunVerboseInfo

type ResponsePipelineRunVerboseInfo struct {

	// base log URL
	BaseLogURL string `json:"baseLogURL,omitempty"`

	// run ID
	RunID string `json:"runID,omitempty"`

	// run info
	RunInfo string `json:"runInfo,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

ResponsePipelineRunVerboseInfo response pipeline run verbose info

swagger:model response.PipelineRunVerboseInfo

func (*ResponsePipelineRunVerboseInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponsePipelineRunVerboseInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponsePipelineRunVerboseInfo) Validate

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

Validate validates this response pipeline run verbose info

type ResponseRegistryItem

type ResponseRegistryItem struct {

	// Items contains the Serialized kvstore item
	Item *ResponseKVPair `json:"item,omitempty"`
}

ResponseRegistryItem response registry item

swagger:model response.RegistryItem

func (*ResponseRegistryItem) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseRegistryItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseRegistryItem) Validate

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

Validate validates this response registry item

type ResponseRegistryItemsFromPrefix

type ResponseRegistryItemsFromPrefix struct {

	// count
	Count int64 `json:"count,omitempty"`

	// Items contains the Serialized kvstore items
	Items []*ResponseKVPair `json:"items"`
}

ResponseRegistryItemsFromPrefix response registry items from prefix

swagger:model response.RegistryItemsFromPrefix

func (*ResponseRegistryItemsFromPrefix) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseRegistryItemsFromPrefix) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseRegistryItemsFromPrefix) Validate

Validate validates this response registry items from prefix

type ResponseSecretInfo

type ResponseSecretInfo struct {

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

	// restricted
	Restricted bool `json:"restricted,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

ResponseSecretInfo response secret info

swagger:model response.SecretInfo

func (*ResponseSecretInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseSecretInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseSecretInfo) Validate

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

Validate validates this response secret info

type ResponseWorkflowInfo

type ResponseWorkflowInfo struct {

	// agents
	Agents []string `json:"agents"`

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

	// pipelines
	Pipelines []string `json:"pipelines"`

	// triggers
	Triggers []string `json:"triggers"`
}

ResponseWorkflowInfo response workflow info

swagger:model response.WorkflowInfo

func (*ResponseWorkflowInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseWorkflowInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseWorkflowInfo) Validate

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

Validate validates this response workflow info

type ResponseWorkflowVerboseInfo

type ResponseWorkflowVerboseInfo interface{}

ResponseWorkflowVerboseInfo response workflow verbose info

swagger:model response.WorkflowVerboseInfo

Jump to

Keyboard shortcuts

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