service_model

package
v0.0.0-...-13a6dad Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentStateResponseAgentState

type AgentStateResponseAgentState struct {

	// List of apply runs
	Apply interface{} `json:"apply,omitempty"`

	// List of deleting runs
	Deleting interface{} `json:"deleting,omitempty"`

	// A flag to tell the agent that the queues are still full
	Full bool `json:"full,omitempty"`

	// List of hooks runs
	Hooks interface{} `json:"hooks,omitempty"`

	// List of queued runs
	Queued interface{} `json:"queued,omitempty"`

	// List of schdules runs
	Schedules interface{} `json:"schedules,omitempty"`

	// List of stopping runs
	Stopping interface{} `json:"stopping,omitempty"`

	// List of tuners runs
	Tuners interface{} `json:"tuners,omitempty"`

	// List of watchdogs runs
	Watchdogs interface{} `json:"watchdogs,omitempty"`
}

AgentStateResponseAgentState agent state response agent state

swagger:model AgentStateResponseAgentState

func (*AgentStateResponseAgentState) ContextValidate

func (m *AgentStateResponseAgentState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this agent state response agent state based on context it is used

func (*AgentStateResponseAgentState) MarshalBinary

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

MarshalBinary interface implementation

func (*AgentStateResponseAgentState) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AgentStateResponseAgentState) Validate

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

Validate validates this agent state response agent state

type ProtobufAny

type ProtobufAny struct {

	// A URL/resource name that uniquely identifies the type of the serialized
	// protocol buffer message. This string must contain at least
	// one "/" character. The last segment of the URL's path must represent
	// the fully qualified name of the type (as in
	// `path/google.protobuf.Duration`). The name should be in a canonical form
	// (e.g., leading "." is not accepted).
	//
	// In practice, teams usually precompile into the binary all types that they
	// expect it to use in the context of Any. However, for URLs which use the
	// scheme `http`, `https`, or no scheme, one can optionally set up a type
	// server that maps type URLs to message definitions as follows:
	//
	// * If no scheme is provided, `https` is assumed.
	// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
	//   value in binary format, or produce an error.
	// * Applications are allowed to cache lookup results based on the
	//   URL, or have them precompiled into a binary to avoid any
	//   lookup. Therefore, binary compatibility needs to be preserved
	//   on changes to types. (Use versioned type names to manage
	//   breaking changes.)
	//
	// Note: this functionality is not currently available in the official
	// protobuf release, and it is not used for type URLs beginning with
	// type.googleapis.com.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	TypeURL string `json:"type_url,omitempty"`

	// Must be a valid serialized protocol buffer of the above specified type.
	// Format: byte
	Value strfmt.Base64 `json:"value,omitempty"`
}

ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

   Foo foo = ...;
   Any any = Any.pack(foo);
   ...
   if (any.is(Foo.class)) {
     foo = any.unpack(Foo.class);
   }

Example 3: Pack and unpack a message in Python.

   foo = Foo(...)
   any = Any()
   any.Pack(foo)
   ...
   if any.Is(Foo.DESCRIPTOR):
     any.Unpack(foo)
     ...

Example 4: Pack and unpack a message in Go

    foo := &pb.Foo{...}
    any, err := anypb.New(foo)
    if err != nil {
      ...
    }
    ...
    foo := &pb.Foo{}
    if err := any.UnmarshalTo(foo); err != nil {
      ...
    }

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

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

MarshalBinary interface implementation

func (*ProtobufAny) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

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

Validate validates this protobuf any

type ProtobufNullValue

type ProtobufNullValue string

ProtobufNullValue `NullValue` is a singleton enumeration to represent the null value for the `Value` type union.

The JSON representation for `NullValue` is JSON `null`.

- NULL_VALUE: Null value.

swagger:model protobufNullValue

const (

	// ProtobufNullValueNULLVALUE captures enum value "NULL_VALUE"
	ProtobufNullValueNULLVALUE ProtobufNullValue = "NULL_VALUE"
)

func NewProtobufNullValue

func NewProtobufNullValue(value ProtobufNullValue) *ProtobufNullValue

func (ProtobufNullValue) ContextValidate

func (m ProtobufNullValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf null value based on context it is used

func (ProtobufNullValue) Validate

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

Validate validates this protobuf null value

type RuntimeError

type RuntimeError struct {

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

	// details
	Details []*ProtobufAny `json:"details"`

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

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

RuntimeError runtime error

swagger:model runtimeError

func (*RuntimeError) ContextValidate

func (m *RuntimeError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this runtime error based on the context it is used

func (*RuntimeError) MarshalBinary

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

MarshalBinary interface implementation

func (*RuntimeError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RuntimeError) Validate

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

Validate validates this runtime error

type SearchView

type SearchView string

SearchView Search view

- any: Any view

  • runs: Runs view
  • analytics: Analytics view
  • projects: Projects view

swagger:model SearchView

const (

	// SearchViewAny captures enum value "any"
	SearchViewAny SearchView = "any"

	// SearchViewRuns captures enum value "runs"
	SearchViewRuns SearchView = "runs"

	// SearchViewAnalytics captures enum value "analytics"
	SearchViewAnalytics SearchView = "analytics"

	// SearchViewProjects captures enum value "projects"
	SearchViewProjects SearchView = "projects"
)

func NewSearchView

func NewSearchView(value SearchView) *SearchView

func (SearchView) ContextValidate

func (m SearchView) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search view based on context it is used

func (SearchView) Validate

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

Validate validates this search view

type SparkDeployMode

type SparkDeployMode string

SparkDeployMode spark deploy mode

swagger:model SparkDeployMode

const (

	// SparkDeployModeCluster captures enum value "cluster"
	SparkDeployModeCluster SparkDeployMode = "cluster"

	// SparkDeployModeClient captures enum value "client"
	SparkDeployModeClient SparkDeployMode = "client"

	// SparkDeployModeInClusterClient captures enum value "in_cluster_client"
	SparkDeployModeInClusterClient SparkDeployMode = "in_cluster_client"
)

func NewSparkDeployMode

func NewSparkDeployMode(value SparkDeployMode) *SparkDeployMode

func (SparkDeployMode) ContextValidate

func (m SparkDeployMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this spark deploy mode based on context it is used

func (SparkDeployMode) Validate

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

Validate validates this spark deploy mode

type V1Activity

type V1Activity struct {

	// Actor
	Actor string `json:"actor,omitempty"`

	// Created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Event action
	EventAction string `json:"event_action,omitempty"`

	// Event subject
	EventSubject string `json:"event_subject,omitempty"`

	// Object name
	ObjectName string `json:"object_name,omitempty"`

	// Object parent
	ObjectParent string `json:"object_parent,omitempty"`

	// Object uuid
	ObjectUUID string `json:"object_uuid,omitempty"`

	// Owner
	Owner string `json:"owner,omitempty"`
}

V1Activity Activity specification

swagger:model v1Activity

func (*V1Activity) ContextValidate

func (m *V1Activity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 activity based on context it is used

func (*V1Activity) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Activity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Activity) Validate

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

Validate validates this v1 activity

type V1Affinity

type V1Affinity interface{}

V1Affinity Placeholder for Affinity

swagger:model v1Affinity

type V1Agent

type V1Agent struct {

	// Content of the agent config
	Content string `json:"content,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Agent is in replica mode
	IsReplica bool `json:"is_replica,omitempty"`

	// Agent is updatable and managed from the UI
	IsUIManaged bool `json:"is_ui_managed,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

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

	// Namespace where the agent is deployed
	Namespace string `json:"namespace,omitempty"`

	// Optional settings
	Settings interface{} `json:"settings,omitempty"`

	// Optional latest status of this entity
	Status *V1Statuses `json:"status,omitempty"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`

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

	// Optional version api
	VersionAPI interface{} `json:"version_api,omitempty"`
}

V1Agent Agent specification

swagger:model v1Agent

func (*V1Agent) ContextValidate

func (m *V1Agent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 agent based on the context it is used

func (*V1Agent) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Agent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Agent) Validate

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

Validate validates this v1 agent

type V1AgentStateResponse

type V1AgentStateResponse struct {

	// compatible updates
	CompatibleUpdates interface{} `json:"compatible_updates,omitempty"`

	// live state
	LiveState int32 `json:"live_state,omitempty"`

	// state
	State *AgentStateResponseAgentState `json:"state,omitempty"`

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

V1AgentStateResponse Contains the agents (queues/runs) state

swagger:model v1AgentStateResponse

func (*V1AgentStateResponse) ContextValidate

func (m *V1AgentStateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 agent state response based on the context it is used

func (*V1AgentStateResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1AgentStateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1AgentStateResponse) Validate

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

Validate validates this v1 agent state response

type V1AgentStatusBodyRequest

type V1AgentStatusBodyRequest struct {

	// Status to set
	Condition *V1StatusCondition `json:"condition,omitempty"`

	// Owner of the namespace
	Owner string `json:"owner,omitempty"`

	// Uuid identifier of the entity
	UUID string `json:"uuid,omitempty"`
}

V1AgentStatusBodyRequest Request data to create/update agent status

swagger:model v1AgentStatusBodyRequest

func (*V1AgentStatusBodyRequest) ContextValidate

func (m *V1AgentStatusBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 agent status body request based on the context it is used

func (*V1AgentStatusBodyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1AgentStatusBodyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1AgentStatusBodyRequest) Validate

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

Validate validates this v1 agent status body request

type V1AnalyticsSpec

type V1AnalyticsSpec struct {

	// Stats frequency
	Frequency string `json:"frequency,omitempty"`

	// Groupby field
	Groupby string `json:"groupby,omitempty"`

	// Trunc field
	Trunc string `json:"trunc,omitempty"`

	// View
	View string `json:"view,omitempty"`
}

V1AnalyticsSpec Analytics spec definition

swagger:model v1AnalyticsSpec

func (*V1AnalyticsSpec) ContextValidate

func (m *V1AnalyticsSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 analytics spec based on context it is used

func (*V1AnalyticsSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*V1AnalyticsSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1AnalyticsSpec) Validate

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

Validate validates this v1 analytics spec

type V1ArtifactKind

type V1ArtifactKind string

V1ArtifactKind Artifact kind

- model: Model asset/event

  • audio: Audio asset/event
  • video: Vidio asset/event
  • histogram: Histogram asset/event
  • image: Image asset/event
  • tensor: Tensor asset/event
  • dataframe: Dataframe asset/event
  • chart: plotly/bokeh/vega chart
  • csv: Comma separated values
  • tsv: Tab separated values
  • psv: Pipe separated values
  • ssv: Space separated values
  • metric: Metric asset/event
  • env: Env file
  • html: HTML asset/event
  • text: Text asset/event
  • file: File asset/lineage
  • dir: Dir asset/lineage
  • dockerfile: Dockerfile asset
  • docker_image: Docker image
  • data: Data asset/event
  • coderef: Coderef lineage
  • table: Table asset/event
  • tensorboard: Tensorboard lineage
  • curve: Curve event
  • analysis: Analysis lineage
  • iteration: Iteration lineage
  • markdown: Mardown event

swagger:model v1ArtifactKind

const (

	// V1ArtifactKindModel captures enum value "model"
	V1ArtifactKindModel V1ArtifactKind = "model"

	// V1ArtifactKindAudio captures enum value "audio"
	V1ArtifactKindAudio V1ArtifactKind = "audio"

	// V1ArtifactKindVideo captures enum value "video"
	V1ArtifactKindVideo V1ArtifactKind = "video"

	// V1ArtifactKindHistogram captures enum value "histogram"
	V1ArtifactKindHistogram V1ArtifactKind = "histogram"

	// V1ArtifactKindImage captures enum value "image"
	V1ArtifactKindImage V1ArtifactKind = "image"

	// V1ArtifactKindTensor captures enum value "tensor"
	V1ArtifactKindTensor V1ArtifactKind = "tensor"

	// V1ArtifactKindDataframe captures enum value "dataframe"
	V1ArtifactKindDataframe V1ArtifactKind = "dataframe"

	// V1ArtifactKindChart captures enum value "chart"
	V1ArtifactKindChart V1ArtifactKind = "chart"

	// V1ArtifactKindCsv captures enum value "csv"
	V1ArtifactKindCsv V1ArtifactKind = "csv"

	// V1ArtifactKindTsv captures enum value "tsv"
	V1ArtifactKindTsv V1ArtifactKind = "tsv"

	// V1ArtifactKindPsv captures enum value "psv"
	V1ArtifactKindPsv V1ArtifactKind = "psv"

	// V1ArtifactKindSsv captures enum value "ssv"
	V1ArtifactKindSsv V1ArtifactKind = "ssv"

	// V1ArtifactKindMetric captures enum value "metric"
	V1ArtifactKindMetric V1ArtifactKind = "metric"

	// V1ArtifactKindEnv captures enum value "env"
	V1ArtifactKindEnv V1ArtifactKind = "env"

	// V1ArtifactKindHTML captures enum value "html"
	V1ArtifactKindHTML V1ArtifactKind = "html"

	// V1ArtifactKindText captures enum value "text"
	V1ArtifactKindText V1ArtifactKind = "text"

	// V1ArtifactKindFile captures enum value "file"
	V1ArtifactKindFile V1ArtifactKind = "file"

	// V1ArtifactKindDir captures enum value "dir"
	V1ArtifactKindDir V1ArtifactKind = "dir"

	// V1ArtifactKindDockerfile captures enum value "dockerfile"
	V1ArtifactKindDockerfile V1ArtifactKind = "dockerfile"

	// V1ArtifactKindDockerImage captures enum value "docker_image"
	V1ArtifactKindDockerImage V1ArtifactKind = "docker_image"

	// V1ArtifactKindData captures enum value "data"
	V1ArtifactKindData V1ArtifactKind = "data"

	// V1ArtifactKindCoderef captures enum value "coderef"
	V1ArtifactKindCoderef V1ArtifactKind = "coderef"

	// V1ArtifactKindTable captures enum value "table"
	V1ArtifactKindTable V1ArtifactKind = "table"

	// V1ArtifactKindTensorboard captures enum value "tensorboard"
	V1ArtifactKindTensorboard V1ArtifactKind = "tensorboard"

	// V1ArtifactKindCurve captures enum value "curve"
	V1ArtifactKindCurve V1ArtifactKind = "curve"

	// V1ArtifactKindAnalysis captures enum value "analysis"
	V1ArtifactKindAnalysis V1ArtifactKind = "analysis"

	// V1ArtifactKindIteration captures enum value "iteration"
	V1ArtifactKindIteration V1ArtifactKind = "iteration"

	// V1ArtifactKindMarkdown captures enum value "markdown"
	V1ArtifactKindMarkdown V1ArtifactKind = "markdown"
)

func NewV1ArtifactKind

func NewV1ArtifactKind(value V1ArtifactKind) *V1ArtifactKind

func (V1ArtifactKind) ContextValidate

func (m V1ArtifactKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 artifact kind based on context it is used

func (V1ArtifactKind) Validate

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

Validate validates this v1 artifact kind

type V1ArtifactTree

type V1ArtifactTree struct {

	// dirs
	Dirs []string `json:"dirs"`

	// files
	Files map[string]string `json:"files,omitempty"`

	// is done
	IsDone bool `json:"is_done,omitempty"`
}

V1ArtifactTree Artifact tree response

swagger:model v1ArtifactTree

func (*V1ArtifactTree) ContextValidate

func (m *V1ArtifactTree) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 artifact tree based on context it is used

func (*V1ArtifactTree) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ArtifactTree) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ArtifactTree) Validate

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

Validate validates this v1 artifact tree

type V1ArtifactsMount

type V1ArtifactsMount struct {

	// Name of the artifact(connection)
	Name string `json:"name,omitempty"`

	// Paths to mount
	Paths []string `json:"paths"`
}

V1ArtifactsMount Artifact mount specification

swagger:model v1ArtifactsMount

func (*V1ArtifactsMount) ContextValidate

func (m *V1ArtifactsMount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 artifacts mount based on context it is used

func (*V1ArtifactsMount) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ArtifactsMount) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ArtifactsMount) Validate

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

Validate validates this v1 artifacts mount

type V1ArtifactsType

type V1ArtifactsType struct {

	// Optional dirs to initialize
	Dirs []interface{} `json:"dirs"`

	// Optional files to initialize
	Files []interface{} `json:"files"`

	// Optional number of concurrent threads to use
	Workers int32 `json:"workers,omitempty"`
}

V1ArtifactsType Artifacts type specification

swagger:model v1ArtifactsType

func (*V1ArtifactsType) ContextValidate

func (m *V1ArtifactsType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 artifacts type based on context it is used

func (*V1ArtifactsType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ArtifactsType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ArtifactsType) Validate

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

Validate validates this v1 artifacts type

type V1Auth

type V1Auth struct {

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

V1Auth Auth specification

swagger:model v1Auth

func (*V1Auth) ContextValidate

func (m *V1Auth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 auth based on context it is used

func (*V1Auth) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Auth) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Auth) Validate

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

Validate validates this v1 auth

type V1AuthType

type V1AuthType struct {

	// Optional password
	Password string `json:"password,omitempty"`

	// Optional user
	User string `json:"user,omitempty"`
}

V1AuthType Auth type specification

swagger:model v1AuthType

func (*V1AuthType) ContextValidate

func (m *V1AuthType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 auth type based on context it is used

func (*V1AuthType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1AuthType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1AuthType) Validate

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

Validate validates this v1 auth type

type V1AverageStoppingPolicy

type V1AverageStoppingPolicy struct {

	// kind
	Kind interface{} `json:"kind,omitempty"`
}

V1AverageStoppingPolicy v1 average stopping policy

swagger:model v1AverageStoppingPolicy

func (*V1AverageStoppingPolicy) ContextValidate

func (m *V1AverageStoppingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 average stopping policy based on context it is used

func (*V1AverageStoppingPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*V1AverageStoppingPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1AverageStoppingPolicy) Validate

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

Validate validates this v1 average stopping policy

type V1Bayes

type V1Bayes struct {

	// Number of concurrent runs
	Concurrency int32 `json:"concurrency,omitempty"`

	// A list of Early stopping objects, accpets both metric and failure early stopping mechanisms
	EarlyStopping []interface{} `json:"earlyStopping"`

	// Kind of matrix, should be equal to "bayes"
	Kind *string `json:"kind,omitempty"`

	// Maximim number of iteration to produce new observations
	MaxIterations int32 `json:"maxIterations,omitempty"`

	// Metric to optimize during the iterations
	Metric *V1OptimizationMetric `json:"metric,omitempty"`

	// Number of intial random observations to create
	NumInitialRuns int32 `json:"numInitialRuns,omitempty"`

	// Hyperparams/Space definition of params to traverse
	Params map[string]interface{} `json:"params,omitempty"`

	// Seed for the random generator
	Seed int32 `json:"seed,omitempty"`

	// Tuner reference (hubRef) to use
	Tuner *V1Tuner `json:"tuner,omitempty"`

	// A utility function to use for the bayesian optimization
	UtilityFunction interface{} `json:"utilityFunction,omitempty"`
}

V1Bayes Matrix based on Bayesian Optimization

swagger:model v1Bayes

func (*V1Bayes) ContextValidate

func (m *V1Bayes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 bayes based on the context it is used

func (*V1Bayes) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Bayes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Bayes) Validate

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

Validate validates this v1 bayes

type V1BucketConnection

type V1BucketConnection struct {

	// Bucket
	Bucket string `json:"bucket,omitempty"`
}

V1BucketConnection Bucket connection schema validation specification

swagger:model v1BucketConnection

func (*V1BucketConnection) ContextValidate

func (m *V1BucketConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 bucket connection based on context it is used

func (*V1BucketConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*V1BucketConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1BucketConnection) Validate

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

Validate validates this v1 bucket connection

type V1Build

type V1Build struct {

	// Optional flag to disable cache validation and force run this operation
	Cache *V1Cache `json:"cache,omitempty"`

	// Connection to use
	Connection string `json:"connection,omitempty"`

	// Component name to use
	HubRef string `json:"hubRef,omitempty"`

	// Optional dict of params
	Params map[string]V1Param `json:"params,omitempty"`

	// Optional patch strategy, default post_merge
	PatchStrategy *V1PatchStrategy `json:"patchStrategy,omitempty"`

	// Optional list of presets to use for running this tuner
	Presets []string `json:"presets"`

	// Optional queue to use for scheduling the tuner
	Queue string `json:"queue,omitempty"`

	// Optional a run section to override the content of the run in the template
	RunPatch interface{} `json:"runPatch,omitempty"`
}

V1Build Build definition

swagger:model v1Build

func (*V1Build) ContextValidate

func (m *V1Build) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 build based on the context it is used

func (*V1Build) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Build) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Build) Validate

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

Validate validates this v1 build

type V1Cache

type V1Cache struct {

	// Optional flag to disable cache, Cache is enabled by default
	Disable bool `json:"disable,omitempty"`

	// Optional Inputs/Outputs' names to consider for the cache
	Io []string `json:"io"`

	// Optional time to live for the cache before it gets invalidated automatically,
	// the TTL is caclculated based on the time the run starts
	TTL int32 `json:"ttl,omitempty"`
}

V1Cache Cache specification Cache is calculated based on inputs state as well as component version if used

swagger:model v1Cache

func (*V1Cache) ContextValidate

func (m *V1Cache) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cache based on context it is used

func (*V1Cache) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Cache) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Cache) Validate

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

Validate validates this v1 cache

type V1ClaimConnection

type V1ClaimConnection struct {

	// kind
	Kind interface{} `json:"kind,omitempty"`

	// Mount path
	MountPath string `json:"mountPath,omitempty"`

	// Read Only
	ReadOnly bool `json:"readOnly,omitempty"`

	// Claim name
	VolumeClaim string `json:"volumeClaim,omitempty"`
}

V1ClaimConnection Claim connection schema validation specification

swagger:model v1ClaimConnection

func (*V1ClaimConnection) ContextValidate

func (m *V1ClaimConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 claim connection based on context it is used

func (*V1ClaimConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ClaimConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ClaimConnection) Validate

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

Validate validates this v1 claim connection

type V1CleanPodPolicy

type V1CleanPodPolicy string

V1CleanPodPolicy CleanPodPolicy

swagger:model v1CleanPodPolicy

const (

	// V1CleanPodPolicyAll captures enum value "All"
	V1CleanPodPolicyAll V1CleanPodPolicy = "All"

	// V1CleanPodPolicyRunning captures enum value "Running"
	V1CleanPodPolicyRunning V1CleanPodPolicy = "Running"

	// V1CleanPodPolicyNone captures enum value "None"
	V1CleanPodPolicyNone V1CleanPodPolicy = "None"
)

func NewV1CleanPodPolicy

func NewV1CleanPodPolicy(value V1CleanPodPolicy) *V1CleanPodPolicy

func (V1CleanPodPolicy) ContextValidate

func (m V1CleanPodPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 clean pod policy based on context it is used

func (V1CleanPodPolicy) Validate

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

Validate validates this v1 clean pod policy

type V1Cloning

type V1Cloning struct {

	// Optional if this run was restarted/copied/resumed/cached
	Kind *V1CloningKind `json:"kind,omitempty"`

	// Optional name of the original run
	Name string `json:"name,omitempty"`

	// Optional uuid of the original run
	UUID string `json:"uuid,omitempty"`
}

V1Cloning v1 cloning

swagger:model v1Cloning

func (*V1Cloning) ContextValidate

func (m *V1Cloning) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloning based on the context it is used

func (*V1Cloning) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Cloning) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Cloning) Validate

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

Validate validates this v1 cloning

type V1CloningKind

type V1CloningKind string

V1CloningKind v1 cloning kind

swagger:model v1CloningKind

const (

	// V1CloningKindCopy captures enum value "copy"
	V1CloningKindCopy V1CloningKind = "copy"

	// V1CloningKindRestart captures enum value "restart"
	V1CloningKindRestart V1CloningKind = "restart"

	// V1CloningKindCache captures enum value "cache"
	V1CloningKindCache V1CloningKind = "cache"
)

func NewV1CloningKind

func NewV1CloningKind(value V1CloningKind) *V1CloningKind

func (V1CloningKind) ContextValidate

func (m V1CloningKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloning kind based on context it is used

func (V1CloningKind) Validate

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

Validate validates this v1 cloning kind

type V1Compatibility

type V1Compatibility struct {

	// agent
	Agent *V1Version `json:"agent,omitempty"`

	// cli
	Cli *V1Version `json:"cli,omitempty"`

	// platform
	Platform *V1Version `json:"platform,omitempty"`

	// ui
	UI *V1Version `json:"ui,omitempty"`
}

V1Compatibility v1 compatibility

swagger:model v1Compatibility

func (*V1Compatibility) ContextValidate

func (m *V1Compatibility) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 compatibility based on the context it is used

func (*V1Compatibility) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Compatibility) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Compatibility) Validate

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

Validate validates this v1 compatibility

type V1CompiledOperation

type V1CompiledOperation struct {

	// Optional build process
	Build *V1Build `json:"build,omitempty"`

	// Optional flag to disable cache validation and force run this component
	Cache *V1Cache `json:"cache,omitempty"`

	// An optional template containing conditions to check before starting the run
	Conditions string `json:"conditions,omitempty"`

	// Optional outputs definition
	Contexts []*V1IO `json:"contexts"`

	// Optional field to assign cost to this Component
	Cost float32 `json:"cost,omitempty"`

	// Optional graph dependencies of this op
	Dependencies []string `json:"dependencies"`

	// Optional component description
	Description string `json:"description,omitempty"`

	// Optional events section, must be a valid List of EventTrigger option (Run/Git/Alert/Webhook/Dataset)
	Events []*V1EventTrigger `json:"events"`

	// Optional hooks section
	Hooks []*V1Hook `json:"hooks"`

	// Optional inputs definition
	Inputs []*V1IO `json:"inputs"`

	// Optional flag to mark this specification requires approval before running
	IsApproved bool `json:"isApproved,omitempty"`

	// Optional dict of joins
	Joins map[string]V1Join `json:"joins,omitempty"`

	// Optional component kind, should be equal to 'operation'
	Kind string `json:"kind,omitempty"`

	// Optional matrix section, must be a valid matrix option (Random/Grid/BO/Hyperband/Hyperopt/Mapping/Iterative)
	Matrix interface{} `json:"matrix,omitempty"`

	// Optional component name, should a valid slug
	Name string `json:"name,omitempty"`

	// Optional outputs definition
	Outputs []*V1IO `json:"outputs"`

	// Optional plugins to enable
	Plugins *V1Plugins `json:"plugins,omitempty"`

	// Optional presets to use for running this component
	Presets []string `json:"presets"`

	// Optional queue to use for running this component
	Queue string `json:"queue,omitempty"`

	// Run definition, should be one of run composition: Container/Spark/Flink/Kubeflow/Dask/Dag
	Run interface{} `json:"run,omitempty"`

	// Optional schedule section, must be a valid Schedule option (Cron/Interval/Repeatable/ExactTime)
	Schedule interface{} `json:"schedule,omitempty"`

	// Optional flag to skip this run if upstream was skipped
	SkipOnUpstreamSkip bool `json:"skipOnUpstreamSkip,omitempty"`

	// Optional component tags
	Tags []string `json:"tags"`

	// optional termination section
	Termination *V1Termination `json:"termination,omitempty"`

	// Optional trigger policy
	Trigger *V1TriggerPolicy `json:"trigger,omitempty"`

	// Spec version
	Version float32 `json:"version,omitempty"`
}

V1CompiledOperation CompiledOperation specification

swagger:model v1CompiledOperation

func (*V1CompiledOperation) ContextValidate

func (m *V1CompiledOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 compiled operation based on the context it is used

func (*V1CompiledOperation) MarshalBinary

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

MarshalBinary interface implementation

func (*V1CompiledOperation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1CompiledOperation) Validate

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

Validate validates this v1 compiled operation

type V1Component

type V1Component struct {

	// Optional build process
	Build *V1Build `json:"build,omitempty"`

	// Optional flag to disable cache validation and force run this component
	Cache *V1Cache `json:"cache,omitempty"`

	// Optional field to assign cost to this Component
	Cost float32 `json:"cost,omitempty"`

	// Optional component description
	Description string `json:"description,omitempty"`

	// Optional hooks section
	Hooks []*V1Hook `json:"hooks"`

	// Optional inputs definition
	Inputs []*V1IO `json:"inputs"`

	// Optional flag to mark this specification requires approval before running
	IsApproved bool `json:"isApproved,omitempty"`

	// Optional component kind, should be equal to 'operation'
	Kind string `json:"kind,omitempty"`

	// Optional component name, should be a valid fully qualified value: name[:version]
	Name string `json:"name,omitempty"`

	// Optional outputs definition
	Outputs []*V1IO `json:"outputs"`

	// Optional plugins to enable
	Plugins *V1Plugins `json:"plugins,omitempty"`

	// Optional presets to use for running this component
	Presets []string `json:"presets"`

	// Optional queue to use for running this component
	Queue string `json:"queue,omitempty"`

	// Run definition, should be one of: Job/Service/Spark/Flink/Kubeflow/Dask/Dag
	Run interface{} `json:"run,omitempty"`

	// Optional component tags
	Tags []string `json:"tags"`

	// Optional flag to mark this specification as template
	Template *V1Template `json:"template,omitempty"`

	// optional termination section
	Termination *V1Termination `json:"termination,omitempty"`

	// Spec version
	Version float32 `json:"version,omitempty"`
}

V1Component Component specification

swagger:model v1Component

func (*V1Component) ContextValidate

func (m *V1Component) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 component based on the context it is used

func (*V1Component) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Component) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Component) Validate

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

Validate validates this v1 component

type V1ComponentHub

type V1ComponentHub struct {

	// Optional if this entity was bookmarked
	Bookmarked bool `json:"bookmarked,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Optional flag to tell if this project is public
	IsPublic bool `json:"is_public,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

	// Optional component name, should be a valid fully qualified value: name[:version]
	Name string `json:"name,omitempty"`

	// Owner/namespace where the component hub was created
	Owner string `json:"owner,omitempty"`

	// Markdown description/readme
	Readme string `json:"readme,omitempty"`

	// Current user's role in this (org/teams)/project
	Role string `json:"role,omitempty"`

	// Settings
	Settings *V1ComponentHubSettings `json:"settings,omitempty"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1ComponentHub component hub specification

swagger:model v1ComponentHub

func (*V1ComponentHub) ContextValidate

func (m *V1ComponentHub) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 component hub based on the context it is used

func (*V1ComponentHub) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ComponentHub) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ComponentHub) Validate

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

Validate validates this v1 component hub

type V1ComponentHubSettings

type V1ComponentHubSettings struct {

	// Authorized teams
	Teams []string `json:"teams"`

	// Authorized users
	Users []string `json:"users"`
}

V1ComponentHubSettings Hub Settings specification

swagger:model v1ComponentHubSettings

func (*V1ComponentHubSettings) ContextValidate

func (m *V1ComponentHubSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 component hub settings based on context it is used

func (*V1ComponentHubSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ComponentHubSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ComponentHubSettings) Validate

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

Validate validates this v1 component hub settings

type V1ComponentVersion

type V1ComponentVersion struct {

	// The Component body content
	Content string `json:"content,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

	// Optional component name, should be a valid fully qualified value: name[:version]
	Name string `json:"name,omitempty"`

	// Current user's role in this (org/teams)/hub/version
	Role string `json:"role,omitempty"`

	// Optional latest stage of this entity
	Stage *V1Stages `json:"stage,omitempty"`

	// The status conditions timeline
	StageConditions []*V1StageCondition `json:"stage_conditions"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1ComponentVersion component hub specification

swagger:model v1ComponentVersion

func (*V1ComponentVersion) ContextValidate

func (m *V1ComponentVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 component version based on the context it is used

func (*V1ComponentVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ComponentVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ComponentVersion) Validate

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

Validate validates this v1 component version

type V1ConnectionKind

type V1ConnectionKind string

V1ConnectionKind Connection kinds

swagger:model v1ConnectionKind

const (

	// V1ConnectionKindHostPath captures enum value "host_path"
	V1ConnectionKindHostPath V1ConnectionKind = "host_path"

	// V1ConnectionKindVolumeClaim captures enum value "volume_claim"
	V1ConnectionKindVolumeClaim V1ConnectionKind = "volume_claim"

	// V1ConnectionKindGcs captures enum value "gcs"
	V1ConnectionKindGcs V1ConnectionKind = "gcs"

	// V1ConnectionKindS3 captures enum value "s3"
	V1ConnectionKindS3 V1ConnectionKind = "s3"

	// V1ConnectionKindWasb captures enum value "wasb"
	V1ConnectionKindWasb V1ConnectionKind = "wasb"

	// V1ConnectionKindRegistry captures enum value "registry"
	V1ConnectionKindRegistry V1ConnectionKind = "registry"

	// V1ConnectionKindGit captures enum value "git"
	V1ConnectionKindGit V1ConnectionKind = "git"

	// V1ConnectionKindAws captures enum value "aws"
	V1ConnectionKindAws V1ConnectionKind = "aws"

	// V1ConnectionKindGcp captures enum value "gcp"
	V1ConnectionKindGcp V1ConnectionKind = "gcp"

	// V1ConnectionKindAzure captures enum value "azure"
	V1ConnectionKindAzure V1ConnectionKind = "azure"

	// V1ConnectionKindMysql captures enum value "mysql"
	V1ConnectionKindMysql V1ConnectionKind = "mysql"

	// V1ConnectionKindPostgres captures enum value "postgres"
	V1ConnectionKindPostgres V1ConnectionKind = "postgres"

	// V1ConnectionKindOracle captures enum value "oracle"
	V1ConnectionKindOracle V1ConnectionKind = "oracle"

	// V1ConnectionKindVertica captures enum value "vertica"
	V1ConnectionKindVertica V1ConnectionKind = "vertica"

	// V1ConnectionKindSqlite captures enum value "sqlite"
	V1ConnectionKindSqlite V1ConnectionKind = "sqlite"

	// V1ConnectionKindMssql captures enum value "mssql"
	V1ConnectionKindMssql V1ConnectionKind = "mssql"

	// V1ConnectionKindRedis captures enum value "redis"
	V1ConnectionKindRedis V1ConnectionKind = "redis"

	// V1ConnectionKindPresto captures enum value "presto"
	V1ConnectionKindPresto V1ConnectionKind = "presto"

	// V1ConnectionKindMongo captures enum value "mongo"
	V1ConnectionKindMongo V1ConnectionKind = "mongo"

	// V1ConnectionKindCassandra captures enum value "cassandra"
	V1ConnectionKindCassandra V1ConnectionKind = "cassandra"

	// V1ConnectionKindFtp captures enum value "ftp"
	V1ConnectionKindFtp V1ConnectionKind = "ftp"

	// V1ConnectionKindGrpc captures enum value "grpc"
	V1ConnectionKindGrpc V1ConnectionKind = "grpc"

	// V1ConnectionKindHdfs captures enum value "hdfs"
	V1ConnectionKindHdfs V1ConnectionKind = "hdfs"

	// V1ConnectionKindHTTP captures enum value "http"
	V1ConnectionKindHTTP V1ConnectionKind = "http"

	// V1ConnectionKindPigCli captures enum value "pig_cli"
	V1ConnectionKindPigCli V1ConnectionKind = "pig_cli"

	// V1ConnectionKindHiveCli captures enum value "hive_cli"
	V1ConnectionKindHiveCli V1ConnectionKind = "hive_cli"

	// V1ConnectionKindHiveMetastore captures enum value "hive_metastore"
	V1ConnectionKindHiveMetastore V1ConnectionKind = "hive_metastore"

	// V1ConnectionKindHiveServer2 captures enum value "hive_server2"
	V1ConnectionKindHiveServer2 V1ConnectionKind = "hive_server2"

	// V1ConnectionKindJdbc captures enum value "jdbc"
	V1ConnectionKindJdbc V1ConnectionKind = "jdbc"

	// V1ConnectionKindJenkins captures enum value "jenkins"
	V1ConnectionKindJenkins V1ConnectionKind = "jenkins"

	// V1ConnectionKindSamba captures enum value "samba"
	V1ConnectionKindSamba V1ConnectionKind = "samba"

	// V1ConnectionKindSnowflake captures enum value "snowflake"
	V1ConnectionKindSnowflake V1ConnectionKind = "snowflake"

	// V1ConnectionKindSSH captures enum value "ssh"
	V1ConnectionKindSSH V1ConnectionKind = "ssh"

	// V1ConnectionKindCloudant captures enum value "cloudant"
	V1ConnectionKindCloudant V1ConnectionKind = "cloudant"

	// V1ConnectionKindDatabricks captures enum value "databricks"
	V1ConnectionKindDatabricks V1ConnectionKind = "databricks"

	// V1ConnectionKindSegment captures enum value "segment"
	V1ConnectionKindSegment V1ConnectionKind = "segment"

	// V1ConnectionKindSlack captures enum value "slack"
	V1ConnectionKindSlack V1ConnectionKind = "slack"

	// V1ConnectionKindDiscord captures enum value "discord"
	V1ConnectionKindDiscord V1ConnectionKind = "discord"

	// V1ConnectionKindMattermost captures enum value "mattermost"
	V1ConnectionKindMattermost V1ConnectionKind = "mattermost"

	// V1ConnectionKindPagerduty captures enum value "pagerduty"
	V1ConnectionKindPagerduty V1ConnectionKind = "pagerduty"

	// V1ConnectionKindHipchat captures enum value "hipchat"
	V1ConnectionKindHipchat V1ConnectionKind = "hipchat"

	// V1ConnectionKindWebhook captures enum value "webhook"
	V1ConnectionKindWebhook V1ConnectionKind = "webhook"

	// V1ConnectionKindCustom captures enum value "custom"
	V1ConnectionKindCustom V1ConnectionKind = "custom"
)

func NewV1ConnectionKind

func NewV1ConnectionKind(value V1ConnectionKind) *V1ConnectionKind

func (V1ConnectionKind) ContextValidate

func (m V1ConnectionKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 connection kind based on context it is used

func (V1ConnectionKind) Validate

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

Validate validates this v1 connection kind

type V1ConnectionResponse

type V1ConnectionResponse struct {

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

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// The connection kind
	Kind *V1ConnectionKind `json:"kind,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

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

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1ConnectionResponse Connection specification

swagger:model v1ConnectionResponse

func (*V1ConnectionResponse) ContextValidate

func (m *V1ConnectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 connection response based on the context it is used

func (*V1ConnectionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ConnectionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ConnectionResponse) Validate

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

Validate validates this v1 connection response

type V1ConnectionSchema

type V1ConnectionSchema struct {

	// bucket connection
	BucketConnection *V1BucketConnection `json:"bucketConnection,omitempty"`

	// claim connection
	ClaimConnection *V1ClaimConnection `json:"claimConnection,omitempty"`

	// git connection
	GitConnection *V1GitConnection `json:"gitConnection,omitempty"`

	// host connection
	HostConnection *V1HostConnection `json:"hostConnection,omitempty"`

	// host path connection
	HostPathConnection *V1HostPathConnection `json:"hostPathConnection,omitempty"`
}

V1ConnectionSchema v1 connection schema

swagger:model v1ConnectionSchema

func (*V1ConnectionSchema) ContextValidate

func (m *V1ConnectionSchema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 connection schema based on the context it is used

func (*V1ConnectionSchema) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ConnectionSchema) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ConnectionSchema) Validate

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

Validate validates this v1 connection schema

type V1ConnectionType

type V1ConnectionType struct {

	// ConfigMap resource schema
	ConfigMap *V1K8sResourceSchema `json:"configMap,omitempty"`

	// Optional connection description
	Description string `json:"description,omitempty"`

	// Connection kind
	Kind *V1ConnectionKind `json:"kind,omitempty"`

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

	// The connection schema should be a valid ConnectionSchema
	Schema interface{} `json:"schema,omitempty"`

	// Secret resource schema
	Secret *V1K8sResourceSchema `json:"secret,omitempty"`

	// Optional connection tags
	Tags string `json:"tags,omitempty"`
}

V1ConnectionType v1 connection type

swagger:model v1ConnectionType

func (*V1ConnectionType) ContextValidate

func (m *V1ConnectionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 connection type based on the context it is used

func (*V1ConnectionType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ConnectionType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ConnectionType) Validate

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

Validate validates this v1 connection type

type V1Container

type V1Container interface{}

V1Container Placeholder for Container

swagger:model v1Container

type V1Credentials

type V1Credentials struct {

	// User password
	Password string `json:"password,omitempty"`

	// User username or email
	Username string `json:"username,omitempty"`
}

V1Credentials Login

swagger:model v1Credentials

func (*V1Credentials) ContextValidate

func (m *V1Credentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 credentials based on context it is used

func (*V1Credentials) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Credentials) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Credentials) Validate

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

Validate validates this v1 credentials

type V1CronSchedule

type V1CronSchedule struct {

	// Cron definition, e.g. 0 1 * * *
	Cron string `json:"cron,omitempty"`

	// A flag to set a dependency on past executions
	DependsOnPast bool `json:"dependsOnPast,omitempty"`

	// Whan to end this cron schedule
	// Format: date-time
	EndAt strfmt.DateTime `json:"endAt,omitempty"`

	// Kind of schedule, should be equal to "cron"
	Kind *string `json:"kind,omitempty"`

	// Limit to stop executing this schedule
	MaxRuns int32 `json:"maxRuns,omitempty"`

	// Whan to start this cron schedule
	// Format: date-time
	StartAt strfmt.DateTime `json:"startAt,omitempty"`
}

V1CronSchedule Cron schedule specification

swagger:model v1CronSchedule

func (*V1CronSchedule) ContextValidate

func (m *V1CronSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cron schedule based on context it is used

func (*V1CronSchedule) MarshalBinary

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

MarshalBinary interface implementation

func (*V1CronSchedule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1CronSchedule) Validate

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

Validate validates this v1 cron schedule

type V1Dag

type V1Dag struct {

	// Optional component refrences
	Components []*V1Component `json:"components"`

	// Optional component description
	Concurrency int32 `json:"concurrency,omitempty"`

	// Optional connections section
	Connections []string `json:"connections"`

	// Optional component tags
	EarlyStopping []interface{} `json:"earlyStopping"`

	// Optional environment section
	Environment *V1Environment `json:"environment,omitempty"`

	// Optional component kind, should be equal to 'dag'
	Kind *string `json:"kind,omitempty"`

	// Ops used in the graph
	Operations []*V1Operation `json:"operations"`

	// Volumes is a list of volumes that can be mounted.
	Volumes []V1Volume `json:"volumes"`
}

V1Dag Dag specificaiton

swagger:model v1Dag

func (*V1Dag) ContextValidate

func (m *V1Dag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 dag based on the context it is used

func (*V1Dag) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Dag) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Dag) Validate

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

Validate validates this v1 dag

type V1DagRef

type V1DagRef struct {

	// Kind of reference, should be equal to "dag_ref"
	Kind *string `json:"kind,omitempty"`

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

V1DagRef Dag reference specification

swagger:model v1DagRef

func (*V1DagRef) ContextValidate

func (m *V1DagRef) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 dag ref based on context it is used

func (*V1DagRef) MarshalBinary

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

MarshalBinary interface implementation

func (*V1DagRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1DagRef) Validate

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

Validate validates this v1 dag ref

type V1Dashboard

type V1Dashboard struct {

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

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

	// Optional dashboard specification
	Spec *V1DashboardSpec `json:"spec,omitempty"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1Dashboard Dashboard specification

swagger:model v1Dashboard

func (*V1Dashboard) ContextValidate

func (m *V1Dashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 dashboard based on the context it is used

func (*V1Dashboard) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Dashboard) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Dashboard) Validate

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

Validate validates this v1 dashboard

type V1DashboardSpec

type V1DashboardSpec struct {

	// Section Spec
	Sections []*V1SectionSpec `json:"sections"`
}

V1DashboardSpec Dashboard spec definition

swagger:model v1DashboardSpec

func (*V1DashboardSpec) ContextValidate

func (m *V1DashboardSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 dashboard spec based on the context it is used

func (*V1DashboardSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*V1DashboardSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1DashboardSpec) Validate

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

Validate validates this v1 dashboard spec

type V1Dask

type V1Dask struct {

	// Adaptive config interval
	AdaptInterval string `json:"adaptInterval,omitempty"`

	// Adaptive config max workers
	AdaptMax int32 `json:"adaptMax,omitempty"`

	// Adaptive config min workers
	AdaptMin int32 `json:"adaptMin,omitempty"`

	// Optional connections section
	Connections []string `json:"connections"`

	// Optional container to run
	Container V1Container `json:"container,omitempty"`

	// Optional environment section
	Environment *V1Environment `json:"environment,omitempty"`

	// Optional init connections/containers section
	Init []*V1Init `json:"init"`

	// Optional component kind, should be equal to 'Dask'
	Kind *string `json:"kind,omitempty"`

	// Number of workers
	Scale int32 `json:"scale,omitempty"`

	// Optional sidecars section
	Sidecars []V1Container `json:"sidecars"`

	// Number of threads
	Threads int32 `json:"threads,omitempty"`

	// Volumes is a list of volumes that can be mounted.
	Volumes []V1Volume `json:"volumes"`
}

V1Dask Dask specification

swagger:model v1Dask

func (*V1Dask) ContextValidate

func (m *V1Dask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 dask based on the context it is used

func (*V1Dask) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Dask) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Dask) Validate

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

Validate validates this v1 dask

type V1DateTimeSchedule

type V1DateTimeSchedule struct {

	// Kind of schedule, should be equal to "datetime"
	Kind *string `json:"kind,omitempty"`

	// Whan to start this cron schedule
	// Format: date-time
	StartAt strfmt.DateTime `json:"startAt,omitempty"`
}

V1DateTimeSchedule DateTime schedule specification

swagger:model v1DateTimeSchedule

func (*V1DateTimeSchedule) ContextValidate

func (m *V1DateTimeSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 date time schedule based on context it is used

func (*V1DateTimeSchedule) MarshalBinary

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

MarshalBinary interface implementation

func (*V1DateTimeSchedule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1DateTimeSchedule) Validate

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

Validate validates this v1 date time schedule

type V1DiffStoppingPolicy

type V1DiffStoppingPolicy struct {

	// Interval/Frequency for applying the policy.
	EvaluationInterval int32 `json:"evaluationInterval,omitempty"`

	// Kind of this stopping policy, should be equal to "average"
	Kind string `json:"kind,omitempty"`

	// Min interval (e.g steps) before starting the process
	MinInterval int32 `json:"minInterval,omitempty"`

	// Min samples runs succeeded before starting the process
	MinSamples int32 `json:"minSamples,omitempty"`

	// The diff factor, if not given than a zero tolerance policy is applied
	Percent float32 `json:"percent,omitempty"`
}

V1DiffStoppingPolicy Early stopping with diff factor stopping, this policy computes checks runs against the best run and stops those whose performance is worse than the best by the factor defined by the user.

swagger:model v1DiffStoppingPolicy

func (*V1DiffStoppingPolicy) ContextValidate

func (m *V1DiffStoppingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 diff stopping policy based on context it is used

func (*V1DiffStoppingPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*V1DiffStoppingPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1DiffStoppingPolicy) Validate

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

Validate validates this v1 diff stopping policy

type V1DockerfileType

type V1DockerfileType struct {

	// An optional list of tuples for copying paths, translate to a COPY statements
	Copy map[string]string `json:"copy,omitempty"`

	// An optional list of tuples(key, value) for defining env vars, translate to an ENV statements
	Env map[string]string `json:"env,omitempty"`

	// A filename to give to the generated dockerfile
	Filename string `json:"filename,omitempty"`

	// A gid to use when creating the docker image
	Gid int32 `json:"gid,omitempty"`

	// Docker image to use as a base
	Image string `json:"image,omitempty"`

	// An optional string defining a language, e.g. en_US.UTF-8
	LangEnv string `json:"langEnv,omitempty"`

	// An optional list of tuples for exporting paths, translate to a PATH statements
	Path map[string]string `json:"path,omitempty"`

	// An optional list of strubg for executing Run commands, translate to a RUN statements
	Run []string `json:"run"`

	// An optional shell type, defaults to "/bin/bash"
	Shell string `json:"shell,omitempty"`

	// A uid to use when creating the docker image
	UID int32 `json:"uid,omitempty"`

	// A work dir to copy code to, default to /code
	Workdir string `json:"workdir,omitempty"`

	// An optional workdir path
	WorkdirPath string `json:"workdirPath,omitempty"`
}

V1DockerfileType Dockerfile type specification

swagger:model v1DockerfileType

func (*V1DockerfileType) ContextValidate

func (m *V1DockerfileType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 dockerfile type based on context it is used

func (*V1DockerfileType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1DockerfileType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1DockerfileType) Validate

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

Validate validates this v1 dockerfile type

type V1EarlyStopping

type V1EarlyStopping struct {

	// diff
	Diff *V1DiffStoppingPolicy `json:"diff,omitempty"`

	// failure
	Failure *V1FailureEarlyStopping `json:"failure,omitempty"`

	// median
	Median *V1MedianStoppingPolicy `json:"median,omitempty"`

	// metric
	Metric *V1MetricEarlyStopping `json:"metric,omitempty"`

	// truncation
	Truncation *V1TruncationStoppingPolicy `json:"truncation,omitempty"`
}

V1EarlyStopping All Schemas message

swagger:model v1EarlyStopping

func (*V1EarlyStopping) ContextValidate

func (m *V1EarlyStopping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 early stopping based on the context it is used

func (*V1EarlyStopping) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EarlyStopping) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EarlyStopping) Validate

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

Validate validates this v1 early stopping

type V1EntitiesTags

type V1EntitiesTags struct {

	// tags
	Tags []string `json:"tags"`

	// uuids
	Uuids []string `json:"uuids"`
}

V1EntitiesTags v1 entities tags

swagger:model v1EntitiesTags

func (*V1EntitiesTags) ContextValidate

func (m *V1EntitiesTags) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 entities tags based on context it is used

func (*V1EntitiesTags) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EntitiesTags) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EntitiesTags) Validate

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

Validate validates this v1 entities tags

type V1EntityNotificationBody

type V1EntityNotificationBody struct {

	// Status condition
	Condition *V1StatusCondition `json:"condition,omitempty"`

	// Connections to notify
	Connections []string `json:"connections"`

	// Optional name of the entity
	Name string `json:"name,omitempty"`

	// Na,espace
	Namespace string `json:"namespace,omitempty"`

	// Owner of the namespace
	Owner string `json:"owner,omitempty"`

	// Project where the run will be assigned
	Project string `json:"project,omitempty"`

	// Uuid identifier of the entity
	UUID string `json:"uuid,omitempty"`
}

V1EntityNotificationBody Request data to create/update entity status

swagger:model v1EntityNotificationBody

func (*V1EntityNotificationBody) ContextValidate

func (m *V1EntityNotificationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 entity notification body based on the context it is used

func (*V1EntityNotificationBody) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EntityNotificationBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EntityNotificationBody) Validate

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

Validate validates this v1 entity notification body

type V1EntityStageBodyRequest

type V1EntityStageBodyRequest struct {

	// Stage to set
	Condition *V1StageCondition `json:"condition,omitempty"`

	// Entity namespace
	Entity string `json:"entity,omitempty"`

	// Name of the version to apply the stage to
	Name string `json:"name,omitempty"`

	// Owner of the namespace
	Owner string `json:"owner,omitempty"`
}

V1EntityStageBodyRequest Request data to create/update entity stage

swagger:model v1EntityStageBodyRequest

func (*V1EntityStageBodyRequest) ContextValidate

func (m *V1EntityStageBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 entity stage body request based on the context it is used

func (*V1EntityStageBodyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EntityStageBodyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EntityStageBodyRequest) Validate

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

Validate validates this v1 entity stage body request

type V1EntityStatusBodyRequest

type V1EntityStatusBodyRequest struct {

	// Status to set
	Condition *V1StatusCondition `json:"condition,omitempty"`

	// Owner of the namespace
	Owner string `json:"owner,omitempty"`

	// Project where the run will be assigned
	Project string `json:"project,omitempty"`

	// Uuid identifier of the entity
	UUID string `json:"uuid,omitempty"`
}

V1EntityStatusBodyRequest Request data to create/update entity status

swagger:model v1EntityStatusBodyRequest

func (*V1EntityStatusBodyRequest) ContextValidate

func (m *V1EntityStatusBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 entity status body request based on the context it is used

func (*V1EntityStatusBodyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EntityStatusBodyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EntityStatusBodyRequest) Validate

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

Validate validates this v1 entity status body request

type V1Environment

type V1Environment struct {

	// Optional Affinity sets the scheduling constraints.
	Affinity V1Affinity `json:"affinity,omitempty"`

	// Optional Metadata annotations to pass to the k8s
	Annotations map[string]string `json:"annotations,omitempty"`

	// PodDNSConfig defines the DNS parameters of a pod in addition to
	// those generated from DNSPolicy.
	DNSConfig V1PodDNSConfig `json:"dnsConfig,omitempty"`

	// Set DNS policy for the pod.
	// Defaults to "ClusterFirst".
	// Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
	// DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
	// To have DNS options set along with hostNetwork, you have to specify DNS policy
	// explicitly to 'ClusterFirstWithHostNet'.
	DNSPolicy string `json:"dnsPolicy,omitempty"`

	// Optional HostAliases is an optional list of hosts and IPs that will be injected into the pod spec.
	HostAliases []V1HostAlias `json:"hostAliases"`

	// Host networking requested for this workflow pod. Default to false.
	HostNetwork bool `json:"hostNetwork,omitempty"`

	// Use the host's pid namespace. Default to false.
	HostPID string `json:"hostPID,omitempty"`

	// Optional image pull secrets to use for this run
	// ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
	// in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
	// can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
	// More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
	ImagePullSecrets []string `json:"imagePullSecrets"`

	// Optional Metadata labels to pass to the k8s
	Labels map[string]string `json:"labels,omitempty"`

	// Optional NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
	// the scheduler simply schedules this pod onto that node, assuming that it fits resource
	// requirements.
	NodeName string `json:"nodeName,omitempty"`

	// Optional NodeSelector is a selector which must be true for the pod to fit on a node.
	// Selector which must match a node's labels for the pod to be scheduled on that node.
	// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	// The priority value. Various system components use this field to find the
	// priority of the pod. When Priority Admission Controller is enabled, it
	// prevents users from setting this field. The admission controller populates
	// this field from PriorityClassName.
	// The higher the value, the higher the priority.
	Priority int32 `json:"priority,omitempty"`

	// If specified, indicates the pod's priority. "system-node-critical" and
	// "system-cluster-critical" are two special keywords which indicate the
	// highest priorities with the former being the highest priority. Any other
	// name must be defined by creating a PriorityClass object with that name.
	// If not specified, the pod priority will be default or zero if there is no
	// default.
	PriorityClassName string `json:"priorityClassName,omitempty"`

	// A valid restart policy
	RestartPolicy string `json:"restartPolicy,omitempty"`

	// If specified, the pod will be dispatched by specified scheduler.
	// Or it will be dispatched by workflow scope scheduler if specified.
	// If neither specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty"`

	// PodSecurityContext holds pod-level security attributes and common container settings.
	// Some fields are also present in container.securityContext.  Field values of
	// container.securityContext take precedence over field values of PodSecurityContext.
	SecurityContext V1PodSecurityContext `json:"securityContext,omitempty"`

	// Optional service account name to use for this run
	ServiceAccountName string `json:"serviceAccountName,omitempty"`

	// Optional Tolerations to apply.
	Tolerations []V1Toleration `json:"tolerations"`
}

V1Environment Environment specification

swagger:model v1Environment

func (*V1Environment) ContextValidate

func (m *V1Environment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 environment based on context it is used

func (*V1Environment) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Environment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Environment) Validate

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

Validate validates this v1 environment

type V1Event

type V1Event struct {

	// artifact
	Artifact *V1EventArtifact `json:"artifact,omitempty"`

	// audio
	Audio *V1EventAudio `json:"audio,omitempty"`

	// chart
	Chart *V1EventChart `json:"chart,omitempty"`

	// curve
	Curve *V1EventCurve `json:"curve,omitempty"`

	// dataframe
	Dataframe *V1EventDataframe `json:"dataframe,omitempty"`

	// histogram
	Histogram *V1EventHistogram `json:"histogram,omitempty"`

	// html
	HTML string `json:"html,omitempty"`

	// image
	Image *V1EventImage `json:"image,omitempty"`

	// metric
	Metric float32 `json:"metric,omitempty"`

	// model
	Model *V1EventModel `json:"model,omitempty"`

	// Global step of the event.
	Step int32 `json:"step,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// video
	Video *V1EventVideo `json:"video,omitempty"`
}

V1Event Event spec definition

swagger:model v1Event

func (*V1Event) ContextValidate

func (m *V1Event) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 event based on the context it is used

func (*V1Event) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Event) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Event) Validate

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

Validate validates this v1 event

type V1EventArtifact

type V1EventArtifact struct {

	// Artifact kind
	Kind *V1ArtifactKind `json:"kind,omitempty"`

	// Filepath
	Path string `json:"path,omitempty"`
}

V1EventArtifact Artifact spec definition

swagger:model v1EventArtifact

func (*V1EventArtifact) ContextValidate

func (m *V1EventArtifact) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 event artifact based on the context it is used

func (*V1EventArtifact) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventArtifact) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventArtifact) Validate

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

Validate validates this v1 event artifact

type V1EventAudio

type V1EventAudio struct {

	// Content type of the audio
	ContentType string `json:"content_type,omitempty"`

	// Length of the audio in frames (samples per channel).
	LengthFrames int32 `json:"length_frames,omitempty"`

	// Number of channels of audio.
	NumChannels int32 `json:"num_channels,omitempty"`

	// / Filepath
	Path string `json:"path,omitempty"`

	// Sample rate of the audio in Hz.
	SampleRate float32 `json:"sample_rate,omitempty"`
}

V1EventAudio Audio spec definition

swagger:model v1EventAudio

func (*V1EventAudio) ContextValidate

func (m *V1EventAudio) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event audio based on context it is used

func (*V1EventAudio) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventAudio) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventAudio) Validate

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

Validate validates this v1 event audio

type V1EventChart

type V1EventChart struct {

	// Figure json object
	Figure interface{} `json:"figure,omitempty"`

	// Chart kind
	Kind *V1EventChartKind `json:"kind,omitempty"`
}

V1EventChart Chart spec definition

swagger:model v1EventChart

func (*V1EventChart) ContextValidate

func (m *V1EventChart) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 event chart based on the context it is used

func (*V1EventChart) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventChart) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventChart) Validate

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

Validate validates this v1 event chart

type V1EventChartKind

type V1EventChartKind string

V1EventChartKind Chart kind

- plotly: Plotly chart

  • bokeh: Bokeh chart
  • vega: Vega chart

swagger:model v1EventChartKind

const (

	// V1EventChartKindPlotly captures enum value "plotly"
	V1EventChartKindPlotly V1EventChartKind = "plotly"

	// V1EventChartKindBokeh captures enum value "bokeh"
	V1EventChartKindBokeh V1EventChartKind = "bokeh"

	// V1EventChartKindVega captures enum value "vega"
	V1EventChartKindVega V1EventChartKind = "vega"
)

func NewV1EventChartKind

func NewV1EventChartKind(value V1EventChartKind) *V1EventChartKind

func (V1EventChartKind) ContextValidate

func (m V1EventChartKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event chart kind based on context it is used

func (V1EventChartKind) Validate

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

Validate validates this v1 event chart kind

type V1EventCurve

type V1EventCurve struct {

	// Annotation
	Annotation string `json:"annotation,omitempty"`

	// Curve kind
	Kind *V1EventCurveKind `json:"kind,omitempty"`

	// X
	X []float32 `json:"x"`

	// Y
	Y []float32 `json:"y"`
}

V1EventCurve Custom Curve spec definition

swagger:model v1EventCurve

func (*V1EventCurve) ContextValidate

func (m *V1EventCurve) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 event curve based on the context it is used

func (*V1EventCurve) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventCurve) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventCurve) Validate

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

Validate validates this v1 event curve

type V1EventCurveKind

type V1EventCurveKind string

V1EventCurveKind Curve kind

- roc: ROC curve

  • pr: Precision Recall curve
  • custom: Custom curve

swagger:model v1EventCurveKind

const (

	// V1EventCurveKindRoc captures enum value "roc"
	V1EventCurveKindRoc V1EventCurveKind = "roc"

	// V1EventCurveKindPr captures enum value "pr"
	V1EventCurveKindPr V1EventCurveKind = "pr"

	// V1EventCurveKindCustom captures enum value "custom"
	V1EventCurveKindCustom V1EventCurveKind = "custom"
)

func NewV1EventCurveKind

func NewV1EventCurveKind(value V1EventCurveKind) *V1EventCurveKind

func (V1EventCurveKind) ContextValidate

func (m V1EventCurveKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event curve kind based on context it is used

func (V1EventCurveKind) Validate

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

Validate validates this v1 event curve kind

type V1EventDataframe

type V1EventDataframe struct {

	// Format
	ContentType string `json:"content_type,omitempty"`

	// Filepath
	Path string `json:"path,omitempty"`
}

V1EventDataframe Dataframe spec definition

swagger:model v1EventDataframe

func (*V1EventDataframe) ContextValidate

func (m *V1EventDataframe) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event dataframe based on context it is used

func (*V1EventDataframe) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventDataframe) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventDataframe) Validate

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

Validate validates this v1 event dataframe

type V1EventHistogram

type V1EventHistogram struct {

	// counts
	Counts []float64 `json:"counts"`

	// values
	Values []float64 `json:"values"`
}

V1EventHistogram Histogram spec definition

swagger:model v1EventHistogram

func (*V1EventHistogram) ContextValidate

func (m *V1EventHistogram) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event histogram based on context it is used

func (*V1EventHistogram) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventHistogram) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventHistogram) Validate

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

Validate validates this v1 event histogram

type V1EventImage

type V1EventImage struct {

	// Valid colorspace values are
	//   1 - grayscale
	//   2 - grayscale + alpha
	//   3 - RGB
	//   4 - RGBA
	//   5 - DIGITAL_YUV
	//   6 - BGRA
	Colorspace int32 `json:"colorspace,omitempty"`

	// Height of the image.
	Height int32 `json:"height,omitempty"`

	// Filepath
	Path string `json:"path,omitempty"`

	// Width of the image.
	Width int32 `json:"width,omitempty"`
}

V1EventImage Image spec definition

swagger:model v1EventImage

func (*V1EventImage) ContextValidate

func (m *V1EventImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event image based on context it is used

func (*V1EventImage) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventImage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventImage) Validate

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

Validate validates this v1 event image

type V1EventKind

type V1EventKind string

V1EventKind v1 event kind

swagger:model v1EventKind

const (

	// V1EventKindRunStatusCreated captures enum value "run_status_created"
	V1EventKindRunStatusCreated V1EventKind = "run_status_created"

	// V1EventKindRunStatusResuming captures enum value "run_status_resuming"
	V1EventKindRunStatusResuming V1EventKind = "run_status_resuming"

	// V1EventKindRunStatusCompiled captures enum value "run_status_compiled"
	V1EventKindRunStatusCompiled V1EventKind = "run_status_compiled"

	// V1EventKindRunStatusOnSchedule captures enum value "run_status_on_schedule"
	V1EventKindRunStatusOnSchedule V1EventKind = "run_status_on_schedule"

	// V1EventKindRunStatusQueued captures enum value "run_status_queued"
	V1EventKindRunStatusQueued V1EventKind = "run_status_queued"

	// V1EventKindRunStatusScheduled captures enum value "run_status_scheduled"
	V1EventKindRunStatusScheduled V1EventKind = "run_status_scheduled"

	// V1EventKindRunStatusStarting captures enum value "run_status_starting"
	V1EventKindRunStatusStarting V1EventKind = "run_status_starting"

	// V1EventKindRunStatusRunning captures enum value "run_status_running"
	V1EventKindRunStatusRunning V1EventKind = "run_status_running"

	// V1EventKindRunStatusProcessing captures enum value "run_status_processing"
	V1EventKindRunStatusProcessing V1EventKind = "run_status_processing"

	// V1EventKindRunStatusStopping captures enum value "run_status_stopping"
	V1EventKindRunStatusStopping V1EventKind = "run_status_stopping"

	// V1EventKindRunStatusFailed captures enum value "run_status_failed"
	V1EventKindRunStatusFailed V1EventKind = "run_status_failed"

	// V1EventKindRunStatusStopped captures enum value "run_status_stopped"
	V1EventKindRunStatusStopped V1EventKind = "run_status_stopped"

	// V1EventKindRunStatusSucceeded captures enum value "run_status_succeeded"
	V1EventKindRunStatusSucceeded V1EventKind = "run_status_succeeded"

	// V1EventKindRunStatusSkipped captures enum value "run_status_skipped"
	V1EventKindRunStatusSkipped V1EventKind = "run_status_skipped"

	// V1EventKindRunStatusWarning captures enum value "run_status_warning"
	V1EventKindRunStatusWarning V1EventKind = "run_status_warning"

	// V1EventKindRunStatusUnschedulable captures enum value "run_status_unschedulable"
	V1EventKindRunStatusUnschedulable V1EventKind = "run_status_unschedulable"

	// V1EventKindRunStatusUpstreamFailed captures enum value "run_status_upstream_failed"
	V1EventKindRunStatusUpstreamFailed V1EventKind = "run_status_upstream_failed"

	// V1EventKindRunStatusRetrying captures enum value "run_status_retrying"
	V1EventKindRunStatusRetrying V1EventKind = "run_status_retrying"

	// V1EventKindRunStatusUnknown captures enum value "run_status_unknown"
	V1EventKindRunStatusUnknown V1EventKind = "run_status_unknown"

	// V1EventKindRunStatusDone captures enum value "run_status_done"
	V1EventKindRunStatusDone V1EventKind = "run_status_done"

	// V1EventKindRunApprovedActor captures enum value "run_approved_actor"
	V1EventKindRunApprovedActor V1EventKind = "run_approved_actor"

	// V1EventKindRunInvalidatedActor captures enum value "run_invalidated_actor"
	V1EventKindRunInvalidatedActor V1EventKind = "run_invalidated_actor"

	// V1EventKindRunNewArtifacts captures enum value "run_new_artifacts"
	V1EventKindRunNewArtifacts V1EventKind = "run_new_artifacts"

	// V1EventKindConnectionGitCommit captures enum value "connection_git_commit"
	V1EventKindConnectionGitCommit V1EventKind = "connection_git_commit"

	// V1EventKindConnectionDatasetVersion captures enum value "connection_dataset_version"
	V1EventKindConnectionDatasetVersion V1EventKind = "connection_dataset_version"

	// V1EventKindConnectionRegistryImage captures enum value "connection_registry_image"
	V1EventKindConnectionRegistryImage V1EventKind = "connection_registry_image"

	// V1EventKindAlertInfo captures enum value "alert_info"
	V1EventKindAlertInfo V1EventKind = "alert_info"

	// V1EventKindAlertWarning captures enum value "alert_warning"
	V1EventKindAlertWarning V1EventKind = "alert_warning"

	// V1EventKindAlertCritical captures enum value "alert_critical"
	V1EventKindAlertCritical V1EventKind = "alert_critical"

	// V1EventKindModelVersionNewMetric captures enum value "model_version_new_metric"
	V1EventKindModelVersionNewMetric V1EventKind = "model_version_new_metric"

	// V1EventKindProjectCustomEvent captures enum value "project_custom_event"
	V1EventKindProjectCustomEvent V1EventKind = "project_custom_event"

	// V1EventKindOrgCustomEvent captures enum value "org_custom_event"
	V1EventKindOrgCustomEvent V1EventKind = "org_custom_event"
)

func NewV1EventKind

func NewV1EventKind(value V1EventKind) *V1EventKind

func (V1EventKind) ContextValidate

func (m V1EventKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event kind based on context it is used

func (V1EventKind) Validate

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

Validate validates this v1 event kind

type V1EventModel

type V1EventModel struct {

	// Model framwork
	Framework string `json:"framework,omitempty"`

	// Filepath
	Path string `json:"path,omitempty"`

	// Model spec (a dictionnary defnining the requirement for the model)
	Spec interface{} `json:"spec,omitempty"`
}

V1EventModel Model spec definition

swagger:model v1EventModel

func (*V1EventModel) ContextValidate

func (m *V1EventModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event model based on context it is used

func (*V1EventModel) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventModel) Validate

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

Validate validates this v1 event model

type V1EventTrigger

type V1EventTrigger struct {

	// The event kinds to subscribe to for the current reference
	Kinds []*V1EventKind `json:"kinds"`

	// Ref corresponds to a reference of an object
	Ref string `json:"ref,omitempty"`
}

V1EventTrigger Event definition

swagger:model v1EventTrigger

func (*V1EventTrigger) ContextValidate

func (m *V1EventTrigger) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 event trigger based on the context it is used

func (*V1EventTrigger) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventTrigger) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventTrigger) Validate

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

Validate validates this v1 event trigger

type V1EventType

type V1EventType struct {

	// Type of the event
	Kind *V1ArtifactKind `json:"kind,omitempty"`

	// Name of the event
	Name string `json:"name,omitempty"`
}

V1EventType Event type specification

swagger:model v1EventType

func (*V1EventType) ContextValidate

func (m *V1EventType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 event type based on the context it is used

func (*V1EventType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventType) Validate

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

Validate validates this v1 event type

type V1EventVideo

type V1EventVideo struct {

	// Valid colorspace values are
	//   1 - grayscale
	//   2 - grayscale + alpha
	//   3 - RGB
	//   4 - RGBA
	//   5 - DIGITAL_YUV
	//   6 - BGRA
	Colorspace int32 `json:"colorspace,omitempty"`

	// Content type of the video
	ContentType string `json:"content_type,omitempty"`

	// Height of the video.
	Height int32 `json:"height,omitempty"`

	// Filepath
	Path string `json:"path,omitempty"`

	// Width of the video.
	Width int32 `json:"width,omitempty"`
}

V1EventVideo Video spec definition

swagger:model v1EventVideo

func (*V1EventVideo) ContextValidate

func (m *V1EventVideo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 event video based on context it is used

func (*V1EventVideo) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventVideo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventVideo) Validate

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

Validate validates this v1 event video

type V1EventsResponse

type V1EventsResponse struct {

	// Events data
	Data []interface{} `json:"data"`
}

V1EventsResponse Events response definition

swagger:model v1EventsResponse

func (*V1EventsResponse) ContextValidate

func (m *V1EventsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 events response based on context it is used

func (*V1EventsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1EventsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1EventsResponse) Validate

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

Validate validates this v1 events response

type V1FailureEarlyStopping

type V1FailureEarlyStopping struct {

	// Kind of this metric early stopping policy, should be equal to "failure_early_stopping"
	Kind *string `json:"kind,omitempty"`

	// The percentage of failed runs, at each evaluation interval.
	// e.g. 1 - 99.
	Percent int32 `json:"percent,omitempty"`
}

V1FailureEarlyStopping FailureEarlyStoppingSchema specification Early stopping based on failure config. this policy stops based on a percentage of failed runs at every evaluation.

swagger:model v1FailureEarlyStopping

func (*V1FailureEarlyStopping) ContextValidate

func (m *V1FailureEarlyStopping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 failure early stopping based on context it is used

func (*V1FailureEarlyStopping) MarshalBinary

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

MarshalBinary interface implementation

func (*V1FailureEarlyStopping) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1FailureEarlyStopping) Validate

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

Validate validates this v1 failure early stopping

type V1FileType

type V1FileType struct {

	// An optional permissions to apply to the file after creation, e.g +x
	Chmod string `json:"chmod,omitempty"`

	// File content
	Content string `json:"content,omitempty"`

	// A name to give to the generated file
	Filename string `json:"filename,omitempty"`

	// An optional Artifact kind to log the lineage information
	Kind string `json:"kind,omitempty"`
}

V1FileType File type specification

swagger:model v1FileType

func (*V1FileType) ContextValidate

func (m *V1FileType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 file type based on context it is used

func (*V1FileType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1FileType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1FileType) Validate

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

Validate validates this v1 file type

type V1Flink struct {

	// Kind of runtime, should be equal to "flink"
	Kind *string `json:"kind,omitempty"`

	// Flink specification
	Spec interface{} `json:"spec,omitempty"`
}

V1Flink Flink specification

swagger:model v1Flink

func (*V1Flink) ContextValidate

func (m *V1Flink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 flink based on context it is used

func (*V1Flink) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Flink) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Flink) Validate

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

Validate validates this v1 flink

type V1GcsType

type V1GcsType struct {

	// Optional storage_account
	Blob string `json:"blob,omitempty"`

	// Optional container
	Bucket string `json:"bucket,omitempty"`
}

V1GcsType Wasb type specification

swagger:model v1GcsType

func (*V1GcsType) ContextValidate

func (m *V1GcsType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 gcs type based on context it is used

func (*V1GcsType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1GcsType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1GcsType) Validate

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

Validate validates this v1 gcs type

type V1GitConnection

type V1GitConnection struct {

	// Addional command flag
	Flags []string `json:"flags"`

	// revision
	Revision bool `json:"revision,omitempty"`

	// Url
	URL string `json:"url,omitempty"`
}

V1GitConnection Git connection schema validation connection

swagger:model v1GitConnection

func (*V1GitConnection) ContextValidate

func (m *V1GitConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 git connection based on context it is used

func (*V1GitConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*V1GitConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1GitConnection) Validate

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

Validate validates this v1 git connection

type V1GitType

type V1GitType struct {

	// Addional command flag
	Flags []string `json:"flags"`

	// Optional revision
	Revision string `json:"revision,omitempty"`

	// Optional Url
	URL string `json:"url,omitempty"`
}

V1GitType Git type specification, url or a connection is required

swagger:model v1GitType

func (*V1GitType) ContextValidate

func (m *V1GitType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 git type based on context it is used

func (*V1GitType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1GitType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1GitType) Validate

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

Validate validates this v1 git type

type V1GridSearch

type V1GridSearch struct {

	// Number of concurrent runs
	Concurrency int32 `json:"concurrency,omitempty"`

	// A list of Early stopping objects, accpets both metric and failure early stopping mechanisms
	EarlyStopping []interface{} `json:"earlyStopping"`

	// Kind of matrix, should be equal to "grid"
	Kind *string `json:"kind,omitempty"`

	// Number of runs to generate and search
	NumRuns int32 `json:"numRuns,omitempty"`

	// Hyperparams/Space definition of params to traverse
	Params map[string]interface{} `json:"params,omitempty"`

	// Seed for the random generator
	Seed int32 `json:"seed,omitempty"`
}

V1GridSearch Matrix based on grid/cartesian product generated search space

swagger:model v1GridSearch

func (*V1GridSearch) ContextValidate

func (m *V1GridSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 grid search based on context it is used

func (*V1GridSearch) MarshalBinary

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

MarshalBinary interface implementation

func (*V1GridSearch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1GridSearch) Validate

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

Validate validates this v1 grid search

type V1Hook

type V1Hook struct {

	// An optional template containing conditions to check before starting the run
	Conditions string `json:"conditions,omitempty"`

	// Connection to use
	Connection string `json:"connection,omitempty"`

	// Optional params context from the main operation
	DisableDefaults bool `json:"disableDefaults,omitempty"`

	// Component name to use
	HubRef string `json:"hubRef,omitempty"`

	// Optional dict of params
	Params map[string]V1Param `json:"params,omitempty"`

	// Optional preset to use for running this operation
	Presets []string `json:"presets"`

	// Optional queue to use for scheduling the hook
	Queue string `json:"queue,omitempty"`

	// Optional trigger policy, default done
	Trigger *V1Statuses `json:"trigger,omitempty"`
}

V1Hook Hook definition

swagger:model v1Hook

func (*V1Hook) ContextValidate

func (m *V1Hook) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 hook based on the context it is used

func (*V1Hook) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Hook) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Hook) Validate

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

Validate validates this v1 hook

type V1HostAlias

type V1HostAlias interface{}

V1HostAlias Placeholder for HostAlias

swagger:model v1HostAlias

type V1HostConnection

type V1HostConnection struct {

	// insecure
	Insecure bool `json:"insecure,omitempty"`

	// Url
	URL string `json:"url,omitempty"`
}

V1HostConnection Host connection schema validation connection

swagger:model v1HostConnection

func (*V1HostConnection) ContextValidate

func (m *V1HostConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 host connection based on context it is used

func (*V1HostConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HostConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HostConnection) Validate

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

Validate validates this v1 host connection

type V1HostPathConnection

type V1HostPathConnection struct {

	// host path
	HostPath string `json:"hostPath,omitempty"`

	// kind
	Kind interface{} `json:"kind,omitempty"`

	// Mount path
	MountPath string `json:"mountPath,omitempty"`

	// Read Only
	ReadOnly bool `json:"readOnly,omitempty"`
}

V1HostPathConnection Host path connection schema validation specification

swagger:model v1HostPathConnection

func (*V1HostPathConnection) ContextValidate

func (m *V1HostPathConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 host path connection based on context it is used

func (*V1HostPathConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HostPathConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HostPathConnection) Validate

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

Validate validates this v1 host path connection

type V1HpChoice

type V1HpChoice struct {

	// Kind of hp, should be equal to "choice"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpChoice HP Choice specification

swagger:model v1HpChoice

func (*V1HpChoice) ContextValidate

func (m *V1HpChoice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp choice based on context it is used

func (*V1HpChoice) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpChoice) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpChoice) Validate

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

Validate validates this v1 hp choice

type V1HpGeomSpace

type V1HpGeomSpace struct {

	// Kind of hp, should be equal to "geomspace"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpGeomSpace HP Geom Space specification

swagger:model v1HpGeomSpace

func (*V1HpGeomSpace) ContextValidate

func (m *V1HpGeomSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp geom space based on context it is used

func (*V1HpGeomSpace) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpGeomSpace) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpGeomSpace) Validate

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

Validate validates this v1 hp geom space

type V1HpLinSpace

type V1HpLinSpace struct {

	// Kind of hp, should be equal to "linspace"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpLinSpace HP Linear Space specification

swagger:model v1HpLinSpace

func (*V1HpLinSpace) ContextValidate

func (m *V1HpLinSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp lin space based on context it is used

func (*V1HpLinSpace) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpLinSpace) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpLinSpace) Validate

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

Validate validates this v1 hp lin space

type V1HpLogNormal

type V1HpLogNormal struct {

	// Kind of hp, should be equal to "lognormal"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpLogNormal HP Log Normal Dist specification

swagger:model v1HpLogNormal

func (*V1HpLogNormal) ContextValidate

func (m *V1HpLogNormal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp log normal based on context it is used

func (*V1HpLogNormal) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpLogNormal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpLogNormal) Validate

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

Validate validates this v1 hp log normal

type V1HpLogSpace

type V1HpLogSpace struct {

	// Kind of hp, should be equal to "logspace"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpLogSpace HP Log Space specification

swagger:model v1HpLogSpace

func (*V1HpLogSpace) ContextValidate

func (m *V1HpLogSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp log space based on context it is used

func (*V1HpLogSpace) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpLogSpace) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpLogSpace) Validate

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

Validate validates this v1 hp log space

type V1HpLogUniform

type V1HpLogUniform struct {

	// Kind of hp, should be equal to "loguniform"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpLogUniform HP Log Uniform Dist specification

swagger:model v1HpLogUniform

func (*V1HpLogUniform) ContextValidate

func (m *V1HpLogUniform) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp log uniform based on context it is used

func (*V1HpLogUniform) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpLogUniform) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpLogUniform) Validate

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

Validate validates this v1 hp log uniform

type V1HpNormal

type V1HpNormal struct {

	// Kind of hp, should be equal to "normal"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpNormal HP Normal Dist specification

swagger:model v1HpNormal

func (*V1HpNormal) ContextValidate

func (m *V1HpNormal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp normal based on context it is used

func (*V1HpNormal) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpNormal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpNormal) Validate

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

Validate validates this v1 hp normal

type V1HpPChoice

type V1HpPChoice struct {

	// Kind of hp, should be equal to "pchoice"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpPChoice HP Probabilistic Choice specification

swagger:model v1HpPChoice

func (*V1HpPChoice) ContextValidate

func (m *V1HpPChoice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp p choice based on context it is used

func (*V1HpPChoice) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpPChoice) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpPChoice) Validate

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

Validate validates this v1 hp p choice

type V1HpParams

type V1HpParams struct {

	// choice
	Choice *V1HpChoice `json:"choice,omitempty"`

	// geomspace
	Geomspace *V1HpGeomSpace `json:"geomspace,omitempty"`

	// linspace
	Linspace *V1HpLinSpace `json:"linspace,omitempty"`

	// lognormal
	Lognormal *V1HpLogNormal `json:"lognormal,omitempty"`

	// logspace
	Logspace *V1HpLogSpace `json:"logspace,omitempty"`

	// loguniform
	Loguniform *V1HpLogUniform `json:"loguniform,omitempty"`

	// normal
	Normal *V1HpNormal `json:"normal,omitempty"`

	// pchoice
	Pchoice *V1HpPChoice `json:"pchoice,omitempty"`

	// qlognormal
	Qlognormal *V1HpQLogNormal `json:"qlognormal,omitempty"`

	// qloguniform
	Qloguniform *V1HpQLogUniform `json:"qloguniform,omitempty"`

	// qnormal
	Qnormal *V1HpQNormal `json:"qnormal,omitempty"`

	// quniform
	Quniform *V1HpQUniform `json:"quniform,omitempty"`

	// range
	Range *V1HpRange `json:"range,omitempty"`

	// uniform
	Uniform *V1HpUniform `json:"uniform,omitempty"`
}

V1HpParams Hp Matrix specification

swagger:model v1HpParams

func (*V1HpParams) ContextValidate

func (m *V1HpParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 hp params based on the context it is used

func (*V1HpParams) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpParams) Validate

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

Validate validates this v1 hp params

type V1HpQLogNormal

type V1HpQLogNormal struct {

	// Kind of hp, should be equal to "qlognormal"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpQLogNormal HP Quantized Log Normal Dist specification

swagger:model v1HpQLogNormal

func (*V1HpQLogNormal) ContextValidate

func (m *V1HpQLogNormal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp q log normal based on context it is used

func (*V1HpQLogNormal) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpQLogNormal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpQLogNormal) Validate

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

Validate validates this v1 hp q log normal

type V1HpQLogUniform

type V1HpQLogUniform struct {

	// Kind of hp, should be equal to "qloguniform"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpQLogUniform HP Quantized Log Uniform Dist specification

swagger:model v1HpQLogUniform

func (*V1HpQLogUniform) ContextValidate

func (m *V1HpQLogUniform) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp q log uniform based on context it is used

func (*V1HpQLogUniform) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpQLogUniform) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpQLogUniform) Validate

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

Validate validates this v1 hp q log uniform

type V1HpQNormal

type V1HpQNormal struct {

	// Kind of hp, should be equal to "qnormal"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpQNormal HP Quantized Normal Dist specification

swagger:model v1HpQNormal

func (*V1HpQNormal) ContextValidate

func (m *V1HpQNormal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp q normal based on context it is used

func (*V1HpQNormal) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpQNormal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpQNormal) Validate

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

Validate validates this v1 hp q normal

type V1HpQUniform

type V1HpQUniform struct {

	// Kind of hp, should be equal to "quniform"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpQUniform HP Quantized Uniform Dist specification

swagger:model v1HpQUniform

func (*V1HpQUniform) ContextValidate

func (m *V1HpQUniform) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp q uniform based on context it is used

func (*V1HpQUniform) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpQUniform) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpQUniform) Validate

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

Validate validates this v1 hp q uniform

type V1HpRange

type V1HpRange struct {

	// Kind of hp, should be equal to "range"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpRange HP Range specification

swagger:model v1HpRange

func (*V1HpRange) ContextValidate

func (m *V1HpRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp range based on context it is used

func (*V1HpRange) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpRange) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpRange) Validate

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

Validate validates this v1 hp range

type V1HpUniform

type V1HpUniform struct {

	// Kind of hp, should be equal to "uniform"
	Kind *string `json:"kind,omitempty"`

	// Value
	Value interface{} `json:"value,omitempty"`
}

V1HpUniform HP Uniform Dist specification

swagger:model v1HpUniform

func (*V1HpUniform) ContextValidate

func (m *V1HpUniform) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hp uniform based on context it is used

func (*V1HpUniform) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HpUniform) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HpUniform) Validate

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

Validate validates this v1 hp uniform

type V1HubRef

type V1HubRef struct {

	// Kind of reference, should be equal to "hub_ref"
	Kind *string `json:"kind,omitempty"`

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

V1HubRef Hub reference specification

swagger:model v1HubRef

func (*V1HubRef) ContextValidate

func (m *V1HubRef) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hub ref based on context it is used

func (*V1HubRef) MarshalBinary

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

MarshalBinary interface implementation

func (*V1HubRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1HubRef) Validate

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

Validate validates this v1 hub ref

type V1Hyperband

type V1Hyperband struct {

	// Number of concurrent runs
	Concurrency int32 `json:"concurrency,omitempty"`

	// A list of Early stopping objects, accpets both metric and failure early stopping mechanisms
	EarlyStopping []interface{} `json:"earlyStopping"`

	// Eta
	Eta int32 `json:"eta,omitempty"`

	// Kind of matrix, should be equal to "hyperband"
	Kind *string `json:"kind,omitempty"`

	// Maximim number of iteration to produce new observations
	MaxIterations int32 `json:"maxIterations,omitempty"`

	// Metric to optimize during the iterations
	Metric *V1OptimizationMetric `json:"metric,omitempty"`

	// Hyperparams/Space definition of params to traverse
	Params map[string]interface{} `json:"params,omitempty"`

	// Resource to optimize (should be an integer or a float)
	Resource *V1OptimizationResource `json:"resource,omitempty"`

	// A flag to resume or restart the selected runs
	Resume bool `json:"resume,omitempty"`

	// Seed for the random generator
	Seed int32 `json:"seed,omitempty"`

	// Tuner reference (hubRef) to use
	Tuner *V1Tuner `json:"tuner,omitempty"`
}

V1Hyperband Matrix based on hyperband

swagger:model v1Hyperband

func (*V1Hyperband) ContextValidate

func (m *V1Hyperband) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 hyperband based on the context it is used

func (*V1Hyperband) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Hyperband) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Hyperband) Validate

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

Validate validates this v1 hyperband

type V1Hyperopt

type V1Hyperopt struct {

	// Algorithm to use from the hyperopt library
	Algorithm *V1HyperoptAlgorithms `json:"algorithm,omitempty"`

	// Number of concurrent runs
	Concurrency int32 `json:"concurrency,omitempty"`

	// A list of Early stopping objects, accepts both metric and failure early stopping mechanisms
	EarlyStopping []interface{} `json:"earlyStopping"`

	// Kind of matrix, should be equal to "hyperopt"
	Kind *string `json:"kind,omitempty"`

	// Maximum number of iteration to produce new observations
	MaxIterations int32 `json:"maxIterations,omitempty"`

	// Metric to optimize during the iterations
	Metric *V1OptimizationMetric `json:"metric,omitempty"`

	// Number of runs to generate and search
	NumRuns int32 `json:"numRuns,omitempty"`

	// Hyperparams/Space definition of params to traverse
	Params map[string]interface{} `json:"params,omitempty"`

	// Seed for the random generator
	Seed int32 `json:"seed,omitempty"`

	// Tuner reference (hubRef) to use
	Tuner *V1Tuner `json:"tuner,omitempty"`
}

V1Hyperopt Matrix based on hyperopt

swagger:model v1Hyperopt

func (*V1Hyperopt) ContextValidate

func (m *V1Hyperopt) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 hyperopt based on the context it is used

func (*V1Hyperopt) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Hyperopt) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Hyperopt) Validate

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

Validate validates this v1 hyperopt

type V1HyperoptAlgorithms

type V1HyperoptAlgorithms string

V1HyperoptAlgorithms Hyperopt algorithms enum

- tpe: tpe algorithm

  • rand: random algorithm
  • anneal: anneal algorithm

swagger:model v1HyperoptAlgorithms

const (

	// V1HyperoptAlgorithmsTpe captures enum value "tpe"
	V1HyperoptAlgorithmsTpe V1HyperoptAlgorithms = "tpe"

	// V1HyperoptAlgorithmsRand captures enum value "rand"
	V1HyperoptAlgorithmsRand V1HyperoptAlgorithms = "rand"

	// V1HyperoptAlgorithmsAnneal captures enum value "anneal"
	V1HyperoptAlgorithmsAnneal V1HyperoptAlgorithms = "anneal"
)

func NewV1HyperoptAlgorithms

func NewV1HyperoptAlgorithms(value V1HyperoptAlgorithms) *V1HyperoptAlgorithms

func (V1HyperoptAlgorithms) ContextValidate

func (m V1HyperoptAlgorithms) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 hyperopt algorithms based on context it is used

func (V1HyperoptAlgorithms) Validate

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

Validate validates this v1 hyperopt algorithms

type V1IO

type V1IO struct {

	// An optional argFromat of the input/output to be used instead of passing the value as is
	ArgFormat string `json:"argFormat,omitempty"`

	// A flag to signal to Polyaxon that this io is used with a connection
	Connection string `json:"connection,omitempty"`

	// A flag to tell if param validation for this input/output should be delayed
	DelayValidation bool `json:"delayValidation,omitempty"`

	// Description for the input/output
	Description string `json:"description,omitempty"`

	// A flag to tell if this input/output is flag, only valid for bool type
	IsFlag bool `json:"isFlag,omitempty"`

	// A flag to tell if this input/output is list
	IsList bool `json:"isList,omitempty"`

	// A flag to tell if this input/output is optional
	IsOptional bool `json:"isOptional,omitempty"`

	// Name for the input/output
	Name string `json:"name,omitempty"`

	// An optional field to provide possible values for validation
	Options []interface{} `json:"options"`

	// A flag to signal to Polyaxon that this io must be tranformed to an init container
	ToInit bool `json:"toInit,omitempty"`

	// The type of the input/output
	Type string `json:"type,omitempty"`

	// The value of the input/output should be compatible with the type
	Value interface{} `json:"value,omitempty"`
}

V1IO Inputs/Outputs specification

swagger:model v1IO

func (*V1IO) ContextValidate

func (m *V1IO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 i o based on context it is used

func (*V1IO) MarshalBinary

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

MarshalBinary interface implementation

func (*V1IO) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1IO) Validate

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

Validate validates this v1 i o

type V1Init

type V1Init struct {

	// Override Schema for artifacts/mounts connections
	Artifacts *V1ArtifactsType `json:"artifacts,omitempty"`

	// Optional, connection to use with this initializer
	Connection string `json:"connection,omitempty"`

	// Container to override
	Container V1Container `json:"container,omitempty"`

	// Schema of the dockerfile to init
	Dockerfile *V1DockerfileType `json:"dockerfile,omitempty"`

	// File intializer
	File *V1FileType `json:"file,omitempty"`

	// Override for git connections
	Git *V1GitType `json:"git,omitempty"`

	// Optional context path, the path to mount to main the container
	Path string `json:"path,omitempty"`
}

V1Init Artifacts initializer specification

swagger:model v1Init

func (*V1Init) ContextValidate

func (m *V1Init) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 init based on the context it is used

func (*V1Init) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Init) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Init) Validate

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

Validate validates this v1 init

type V1Installation

type V1Installation struct {

	// auth
	Auth []string `json:"auth"`

	// dist
	Dist string `json:"dist,omitempty"`

	// hmac
	Hmac string `json:"hmac,omitempty"`

	// host
	Host string `json:"host,omitempty"`

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

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

V1Installation v1 installation

swagger:model v1Installation

func (*V1Installation) ContextValidate

func (m *V1Installation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 installation based on context it is used

func (*V1Installation) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Installation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Installation) Validate

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

Validate validates this v1 installation

type V1IntervalSchedule

type V1IntervalSchedule struct {

	// A flag to set a dependency on past executions
	DependsOnPast bool `json:"dependsOnPast,omitempty"`

	// Whan to end this interval schedule
	// Format: date-time
	EndAt strfmt.DateTime `json:"endAt,omitempty"`

	// Frequency (timedelta) at which to execute the runs
	Frequency int32 `json:"frequency,omitempty"`

	// Kind of schedule, should be equal to "interval"
	Kind *string `json:"kind,omitempty"`

	// Limit to stop executing this schedule
	MaxRuns int32 `json:"maxRuns,omitempty"`

	// When to start this interval schedule
	// Format: date-time
	StartAt strfmt.DateTime `json:"startAt,omitempty"`
}

V1IntervalSchedule Interval schedule specification

swagger:model v1IntervalSchedule

func (*V1IntervalSchedule) ContextValidate

func (m *V1IntervalSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 interval schedule based on context it is used

func (*V1IntervalSchedule) MarshalBinary

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

MarshalBinary interface implementation

func (*V1IntervalSchedule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1IntervalSchedule) Validate

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

Validate validates this v1 interval schedule

type V1Iterative

type V1Iterative struct {

	// Number of concurrent runs
	Concurrency int32 `json:"concurrency,omitempty"`

	// A list of Early stopping objects, accepts both metric and failure early stopping mechanisms
	EarlyStopping []interface{} `json:"earlyStopping"`

	// Kind of matrix, should be equal to "iterative"
	Kind *string `json:"kind,omitempty"`

	// Maximum number of iteration to produce new observations
	MaxIterations int32 `json:"maxIterations,omitempty"`

	// Hyperparam/Space definition of params to traverse
	Params map[string]interface{} `json:"params,omitempty"`

	// Seed for the random generator
	Seed int32 `json:"seed,omitempty"`

	// Tuner reference (hubRef) to use
	Tuner *V1Tuner `json:"tuner,omitempty"`
}

V1Iterative Matrix based on a custom iterative algorithm (suggestions -> mapping -> reduce -> repeat)

swagger:model v1Iterative

func (*V1Iterative) ContextValidate

func (m *V1Iterative) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 iterative based on the context it is used

func (*V1Iterative) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Iterative) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Iterative) Validate

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

Validate validates this v1 iterative

type V1Job

type V1Job struct {

	// Optional connections section
	Connections []string `json:"connections"`

	// Optional container to run
	Container V1Container `json:"container,omitempty"`

	// Optional environment section
	Environment *V1Environment `json:"environment,omitempty"`

	// Optional init connections/containers section
	Init []*V1Init `json:"init"`

	// Optional component kind, should be equal to 'job'
	Kind *string `json:"kind,omitempty"`

	// Optional sidecars section
	Sidecars []V1Container `json:"sidecars"`

	// Volumes is a list of volumes that can be mounted.
	Volumes []V1Volume `json:"volumes"`
}

V1Job Job specification

swagger:model v1Job

func (*V1Job) ContextValidate

func (m *V1Job) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 job based on the context it is used

func (*V1Job) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Job) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Job) Validate

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

Validate validates this v1 job

type V1Join

type V1Join struct {

	// The search limit
	Limit int32 `json:"limit,omitempty"`

	// The search offset
	Offset int32 `json:"offset,omitempty"`

	// The params mapping keys to the values to pull from the join
	Params map[string]V1JoinParam `json:"params,omitempty"`

	// The search query
	Query string `json:"query,omitempty"`

	// An optional ref to an already saved search
	Ref string `json:"ref,omitempty"`

	// The search sort
	Sort string `json:"sort,omitempty"`
}

V1Join Join specification

swagger:model v1Join

func (*V1Join) ContextValidate

func (m *V1Join) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 join based on the context it is used

func (*V1Join) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Join) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Join) Validate

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

Validate validates this v1 join

type V1JoinParam

type V1JoinParam struct {

	// A flag to signal to Polyaxon that this param is used with a connection
	Connection string `json:"connection,omitempty"`

	// A flag to signal to Polyaxon that this param should not be validated against io
	ContextOnly bool `json:"contextOnly,omitempty"`

	// A flag to signal to Polyaxon that this param must be tranformed to an init container
	ToInit bool `json:"toInit,omitempty"`

	// The value to pass, if no ref or search is passed then it corresponds to a literal value
	Value string `json:"value,omitempty"`
}

V1JoinParam JoinParam specification

swagger:model v1JoinParam

func (*V1JoinParam) ContextValidate

func (m *V1JoinParam) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 join param based on context it is used

func (*V1JoinParam) MarshalBinary

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

MarshalBinary interface implementation

func (*V1JoinParam) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1JoinParam) Validate

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

Validate validates this v1 join param

type V1K8sResourceSchema

type V1K8sResourceSchema struct {

	// default mode
	DefaultMode int32 `json:"defaultMode,omitempty"`

	// items
	Items []string `json:"items"`

	// mount path
	MountPath string `json:"mountPath,omitempty"`

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

V1K8sResourceSchema K8S resource schema validation

swagger:model v1K8sResourceSchema

func (*V1K8sResourceSchema) ContextValidate

func (m *V1K8sResourceSchema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 k8s resource schema based on context it is used

func (*V1K8sResourceSchema) MarshalBinary

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

MarshalBinary interface implementation

func (*V1K8sResourceSchema) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1K8sResourceSchema) Validate

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

Validate validates this v1 k8s resource schema

type V1K8sResourceType

type V1K8sResourceType struct {

	// Option if the config resource is requested
	IsRequested bool `json:"isRequested,omitempty"`

	// Name of the resource
	Name string `json:"name,omitempty"`

	// The connection schema should be a valid ConnectionSchema
	Schema *V1K8sResourceSchema `json:"schema,omitempty"`
}

V1K8sResourceType K8S resource specification

swagger:model v1K8sResourceType

func (*V1K8sResourceType) ContextValidate

func (m *V1K8sResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 k8s resource type based on the context it is used

func (*V1K8sResourceType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1K8sResourceType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1K8sResourceType) Validate

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

Validate validates this v1 k8s resource type

type V1KFReplica

type V1KFReplica struct {

	// Optional connections section
	Connections []string `json:"connections"`

	// Optional container to run
	Container V1Container `json:"container,omitempty"`

	// Optional environment section
	Environment *V1Environment `json:"environment,omitempty"`

	// Optional init connections section
	Init []*V1Init `json:"init"`

	// Number of replicas
	Replicas int32 `json:"replicas,omitempty"`

	// Optional sidecars section
	Sidecars []V1Container `json:"sidecars"`

	// Optional connections section
	Volumes []V1Volume `json:"volumes"`
}

V1KFReplica Distributed Replica specification

swagger:model v1KFReplica

func (*V1KFReplica) ContextValidate

func (m *V1KFReplica) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 k f replica based on the context it is used

func (*V1KFReplica) MarshalBinary

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

MarshalBinary interface implementation

func (*V1KFReplica) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1KFReplica) Validate

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

Validate validates this v1 k f replica

type V1ListActivitiesResponse

type V1ListActivitiesResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Activity `json:"results"`
}

V1ListActivitiesResponse Contains list activities

swagger:model v1ListActivitiesResponse

func (*V1ListActivitiesResponse) ContextValidate

func (m *V1ListActivitiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list activities response based on the context it is used

func (*V1ListActivitiesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListActivitiesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListActivitiesResponse) Validate

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

Validate validates this v1 list activities response

type V1ListAgentsResponse

type V1ListAgentsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Agent `json:"results"`
}

V1ListAgentsResponse Contains list agents

swagger:model v1ListAgentsResponse

func (*V1ListAgentsResponse) ContextValidate

func (m *V1ListAgentsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list agents response based on the context it is used

func (*V1ListAgentsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListAgentsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListAgentsResponse) Validate

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

Validate validates this v1 list agents response

type V1ListBookmarksResponse

type V1ListBookmarksResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []interface{} `json:"results"`
}

V1ListBookmarksResponse Contains list of bookmarks

swagger:model v1ListBookmarksResponse

func (*V1ListBookmarksResponse) ContextValidate

func (m *V1ListBookmarksResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 list bookmarks response based on context it is used

func (*V1ListBookmarksResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListBookmarksResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListBookmarksResponse) Validate

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

Validate validates this v1 list bookmarks response

type V1ListComponentHubsResponse

type V1ListComponentHubsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1ComponentHub `json:"results"`
}

V1ListComponentHubsResponse Contains list component hub

swagger:model v1ListComponentHubsResponse

func (*V1ListComponentHubsResponse) ContextValidate

func (m *V1ListComponentHubsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list component hubs response based on the context it is used

func (*V1ListComponentHubsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListComponentHubsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListComponentHubsResponse) Validate

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

Validate validates this v1 list component hubs response

type V1ListComponentVersionsResponse

type V1ListComponentVersionsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1ComponentVersion `json:"results"`
}

V1ListComponentVersionsResponse Contains list component hub

swagger:model v1ListComponentVersionsResponse

func (*V1ListComponentVersionsResponse) ContextValidate

func (m *V1ListComponentVersionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list component versions response based on the context it is used

func (*V1ListComponentVersionsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListComponentVersionsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListComponentVersionsResponse) Validate

Validate validates this v1 list component versions response

type V1ListConnectionsResponse

type V1ListConnectionsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1ConnectionResponse `json:"results"`
}

V1ListConnectionsResponse Contains list connections

swagger:model v1ListConnectionsResponse

func (*V1ListConnectionsResponse) ContextValidate

func (m *V1ListConnectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list connections response based on the context it is used

func (*V1ListConnectionsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListConnectionsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListConnectionsResponse) Validate

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

Validate validates this v1 list connections response

type V1ListDashboardsResponse

type V1ListDashboardsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Dashboard `json:"results"`
}

V1ListDashboardsResponse Contains list dashboards

swagger:model v1ListDashboardsResponse

func (*V1ListDashboardsResponse) ContextValidate

func (m *V1ListDashboardsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list dashboards response based on the context it is used

func (*V1ListDashboardsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListDashboardsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListDashboardsResponse) Validate

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

Validate validates this v1 list dashboards response

type V1ListModelRegistriesResponse

type V1ListModelRegistriesResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1ModelRegistry `json:"results"`
}

V1ListModelRegistriesResponse Contains list model registries

swagger:model v1ListModelRegistriesResponse

func (*V1ListModelRegistriesResponse) ContextValidate

func (m *V1ListModelRegistriesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list model registries response based on the context it is used

func (*V1ListModelRegistriesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListModelRegistriesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListModelRegistriesResponse) Validate

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

Validate validates this v1 list model registries response

type V1ListModelVersionsResponse

type V1ListModelVersionsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1ModelVersion `json:"results"`
}

V1ListModelVersionsResponse Contains list model versions

swagger:model v1ListModelVersionsResponse

func (*V1ListModelVersionsResponse) ContextValidate

func (m *V1ListModelVersionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list model versions response based on the context it is used

func (*V1ListModelVersionsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListModelVersionsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListModelVersionsResponse) Validate

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

Validate validates this v1 list model versions response

type V1ListOrganizationMembersResponse

type V1ListOrganizationMembersResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1OrganizationMember `json:"results"`
}

V1ListOrganizationMembersResponse Contains list organization members

swagger:model v1ListOrganizationMembersResponse

func (*V1ListOrganizationMembersResponse) ContextValidate

func (m *V1ListOrganizationMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list organization members response based on the context it is used

func (*V1ListOrganizationMembersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListOrganizationMembersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListOrganizationMembersResponse) Validate

Validate validates this v1 list organization members response

type V1ListOrganizationsResponse

type V1ListOrganizationsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Organization `json:"results"`
}

V1ListOrganizationsResponse Contains list organizations

swagger:model v1ListOrganizationsResponse

func (*V1ListOrganizationsResponse) ContextValidate

func (m *V1ListOrganizationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list organizations response based on the context it is used

func (*V1ListOrganizationsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListOrganizationsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListOrganizationsResponse) Validate

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

Validate validates this v1 list organizations response

type V1ListPresetsResponse

type V1ListPresetsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Preset `json:"results"`
}

V1ListPresetsResponse Contains list scheduling presets

swagger:model v1ListPresetsResponse

func (*V1ListPresetsResponse) ContextValidate

func (m *V1ListPresetsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list presets response based on the context it is used

func (*V1ListPresetsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListPresetsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListPresetsResponse) Validate

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

Validate validates this v1 list presets response

type V1ListProjectsResponse

type V1ListProjectsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Project `json:"results"`
}

V1ListProjectsResponse Contains list projects

swagger:model v1ListProjectsResponse

func (*V1ListProjectsResponse) ContextValidate

func (m *V1ListProjectsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list projects response based on the context it is used

func (*V1ListProjectsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListProjectsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListProjectsResponse) Validate

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

Validate validates this v1 list projects response

type V1ListQueuesResponse

type V1ListQueuesResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Queue `json:"results"`
}

V1ListQueuesResponse Contains list agents

swagger:model v1ListQueuesResponse

func (*V1ListQueuesResponse) ContextValidate

func (m *V1ListQueuesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list queues response based on the context it is used

func (*V1ListQueuesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListQueuesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListQueuesResponse) Validate

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

Validate validates this v1 list queues response

type V1ListRunArtifactsResponse

type V1ListRunArtifactsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1RunArtifact `json:"results"`
}

V1ListRunArtifactsResponse Contains list run artifacts

swagger:model v1ListRunArtifactsResponse

func (*V1ListRunArtifactsResponse) ContextValidate

func (m *V1ListRunArtifactsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list run artifacts response based on the context it is used

func (*V1ListRunArtifactsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListRunArtifactsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListRunArtifactsResponse) Validate

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

Validate validates this v1 list run artifacts response

type V1ListRunConnectionsResponse

type V1ListRunConnectionsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1RunConnection `json:"results"`
}

V1ListRunConnectionsResponse Contains list runs

swagger:model v1ListRunConnectionsResponse

func (*V1ListRunConnectionsResponse) ContextValidate

func (m *V1ListRunConnectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list run connections response based on the context it is used

func (*V1ListRunConnectionsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListRunConnectionsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListRunConnectionsResponse) Validate

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

Validate validates this v1 list run connections response

type V1ListRunEdgesResponse

type V1ListRunEdgesResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1RunEdge `json:"results"`
}

V1ListRunEdgesResponse Contains list run edges

swagger:model v1ListRunEdgesResponse

func (*V1ListRunEdgesResponse) ContextValidate

func (m *V1ListRunEdgesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list run edges response based on the context it is used

func (*V1ListRunEdgesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListRunEdgesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListRunEdgesResponse) Validate

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

Validate validates this v1 list run edges response

type V1ListRunsResponse

type V1ListRunsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Run `json:"results"`
}

V1ListRunsResponse Contains list runs

swagger:model v1ListRunsResponse

func (*V1ListRunsResponse) ContextValidate

func (m *V1ListRunsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list runs response based on the context it is used

func (*V1ListRunsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListRunsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListRunsResponse) Validate

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

Validate validates this v1 list runs response

type V1ListSearchesResponse

type V1ListSearchesResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Search `json:"results"`
}

V1ListSearchesResponse Contains list searches

swagger:model v1ListSearchesResponse

func (*V1ListSearchesResponse) ContextValidate

func (m *V1ListSearchesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list searches response based on the context it is used

func (*V1ListSearchesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListSearchesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListSearchesResponse) Validate

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

Validate validates this v1 list searches response

type V1ListTeamMembersResponse

type V1ListTeamMembersResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1TeamMember `json:"results"`
}

V1ListTeamMembersResponse Contains list organization members

swagger:model v1ListTeamMembersResponse

func (*V1ListTeamMembersResponse) ContextValidate

func (m *V1ListTeamMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list team members response based on the context it is used

func (*V1ListTeamMembersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListTeamMembersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListTeamMembersResponse) Validate

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

Validate validates this v1 list team members response

type V1ListTeamsResponse

type V1ListTeamsResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Team `json:"results"`
}

V1ListTeamsResponse Contains list teams

swagger:model v1ListTeamsResponse

func (*V1ListTeamsResponse) ContextValidate

func (m *V1ListTeamsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list teams response based on the context it is used

func (*V1ListTeamsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListTeamsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListTeamsResponse) Validate

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

Validate validates this v1 list teams response

type V1ListTokenResponse

type V1ListTokenResponse struct {

	// Count of the entities
	Count int32 `json:"count,omitempty"`

	// Next page
	Next string `json:"next,omitempty"`

	// Previous page
	Previous string `json:"previous,omitempty"`

	// List of all entities
	Results []*V1Token `json:"results"`
}

V1ListTokenResponse Contains list tokens

swagger:model v1ListTokenResponse

func (*V1ListTokenResponse) ContextValidate

func (m *V1ListTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list token response based on the context it is used

func (*V1ListTokenResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ListTokenResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ListTokenResponse) Validate

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

Validate validates this v1 list token response

type V1Log

type V1Log struct {

	// Container id
	Container string `json:"container,omitempty"`

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

	// Pod name
	Pod string `json:"pod,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

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

V1Log Log spec definition

swagger:model v1Log

func (*V1Log) ContextValidate

func (m *V1Log) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 log based on context it is used

func (*V1Log) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Log) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Log) Validate

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

Validate validates this v1 log

type V1LogHandler

type V1LogHandler struct {

	// dsn
	Dsn string `json:"dsn,omitempty"`

	// environment
	Environment string `json:"environment,omitempty"`
}

V1LogHandler v1 log handler

swagger:model v1LogHandler

func (*V1LogHandler) ContextValidate

func (m *V1LogHandler) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 log handler based on context it is used

func (*V1LogHandler) MarshalBinary

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

MarshalBinary interface implementation

func (*V1LogHandler) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1LogHandler) Validate

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

Validate validates this v1 log handler

type V1Logs

type V1Logs struct {

	// Log files
	Files []string `json:"files"`

	// Last log file
	LastFile string `json:"last_file,omitempty"`

	// Last log time
	// Format: date-time
	LastTime strfmt.DateTime `json:"last_time,omitempty"`

	// Log lines
	Logs []*V1Log `json:"logs"`
}

V1Logs Logs

swagger:model v1Logs

func (*V1Logs) ContextValidate

func (m *V1Logs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 logs based on the context it is used

func (*V1Logs) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Logs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Logs) Validate

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

Validate validates this v1 logs

type V1MPIJob

type V1MPIJob struct {

	// optional clean pod policy section
	CleanPodPolicy *V1CleanPodPolicy `json:"cleanPodPolicy,omitempty"`

	// Optional component kind, should be equal to 'mpi_job'
	Kind *string `json:"kind,omitempty"`

	// Optional launcher replica definition
	Launcher *V1KFReplica `json:"launcher,omitempty"`

	// Optional slots per worker
	SlotsPerWorker int32 `json:"slotsPerWorker,omitempty"`

	// Optional worker replica definition
	Worker *V1KFReplica `json:"worker,omitempty"`
}

V1MPIJob MPI Job specification

swagger:model v1MPIJob

func (*V1MPIJob) ContextValidate

func (m *V1MPIJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 m p i job based on the context it is used

func (*V1MPIJob) MarshalBinary

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

MarshalBinary interface implementation

func (*V1MPIJob) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1MPIJob) Validate

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

Validate validates this v1 m p i job

type V1Mapping

type V1Mapping struct {

	// Number of concurrent runs
	Concurrency int32 `json:"concurrency,omitempty"`

	// A list of Early stopping objects, accpets both metric and failure early stopping mechanisms
	EarlyStopping []interface{} `json:"earlyStopping"`

	// Kind of matrix, should be equal to "mapping"
	Kind *string `json:"kind,omitempty"`

	// The mapping values
	Values []interface{} `json:"values"`
}

V1Mapping Matrix based on map/array either specified manually by the user or passed from another step

swagger:model v1Mapping

func (*V1Mapping) ContextValidate

func (m *V1Mapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 mapping based on context it is used

func (*V1Mapping) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Mapping) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Mapping) Validate

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

Validate validates this v1 mapping

type V1Matrix

type V1Matrix struct {

	// bayes
	Bayes *V1Bayes `json:"bayes,omitempty"`

	// grid
	Grid *V1GridSearch `json:"grid,omitempty"`

	// hyperband
	Hyperband *V1Hyperband `json:"hyperband,omitempty"`

	// hyperopt
	Hyperopt *V1Hyperopt `json:"hyperopt,omitempty"`

	// iterative
	Iterative *V1Iterative `json:"iterative,omitempty"`

	// mapping
	Mapping *V1Mapping `json:"mapping,omitempty"`

	// random
	Random *V1RandomSearch `json:"random,omitempty"`
}

V1Matrix All Schemas message

swagger:model v1Matrix

func (*V1Matrix) ContextValidate

func (m *V1Matrix) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 matrix based on the context it is used

func (*V1Matrix) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Matrix) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Matrix) Validate

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

Validate validates this v1 matrix

type V1MatrixKind

type V1MatrixKind string

V1MatrixKind v1 matrix kind

swagger:model v1MatrixKind

const (

	// V1MatrixKindRandom captures enum value "random"
	V1MatrixKindRandom V1MatrixKind = "random"

	// V1MatrixKindGrid captures enum value "grid"
	V1MatrixKindGrid V1MatrixKind = "grid"

	// V1MatrixKindHyperband captures enum value "hyperband"
	V1MatrixKindHyperband V1MatrixKind = "hyperband"

	// V1MatrixKindBayes captures enum value "bayes"
	V1MatrixKindBayes V1MatrixKind = "bayes"

	// V1MatrixKindHyperopt captures enum value "hyperopt"
	V1MatrixKindHyperopt V1MatrixKind = "hyperopt"

	// V1MatrixKindIterative captures enum value "iterative"
	V1MatrixKindIterative V1MatrixKind = "iterative"

	// V1MatrixKindMapping captures enum value "mapping"
	V1MatrixKindMapping V1MatrixKind = "mapping"
)

func NewV1MatrixKind

func NewV1MatrixKind(value V1MatrixKind) *V1MatrixKind

func (V1MatrixKind) ContextValidate

func (m V1MatrixKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 matrix kind based on context it is used

func (V1MatrixKind) Validate

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

Validate validates this v1 matrix kind

type V1MedianStoppingPolicy

type V1MedianStoppingPolicy struct {

	// Interval/Frequency for applying the policy.
	EvaluationInterval int32 `json:"evaluationInterval,omitempty"`

	// Kind of this stopping policy, should be equal to "median"
	Kind *string `json:"kind,omitempty"`

	// Min interval (e.g steps) before starting the process
	MinInterval int32 `json:"minInterval,omitempty"`

	// Min samples runs succeeded before starting the process
	MinSamples int32 `json:"minSamples,omitempty"`
}

V1MedianStoppingPolicy Early stopping with median stopping, this policy computes running medians across all runs and stops those whose best performance is worse than the median of the running runs.

swagger:model v1MedianStoppingPolicy

func (*V1MedianStoppingPolicy) ContextValidate

func (m *V1MedianStoppingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 median stopping policy based on context it is used

func (*V1MedianStoppingPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*V1MedianStoppingPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1MedianStoppingPolicy) Validate

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

Validate validates this v1 median stopping policy

type V1MetricEarlyStopping

type V1MetricEarlyStopping struct {

	// Kind of this metric early stopping policy, should be equal to "metric_early_stopping"
	Kind *string `json:"kind,omitempty"`

	// Metric name to use for early stopping.
	Metric string `json:"metric,omitempty"`

	// Optimization to do: maximize or minimize.
	Optimization *V1Optimization `json:"optimization,omitempty"`

	// Policy to use, should be one of the stopping policies:
	// MedianStoppingPolicy, AverageStoppingPolicy, TruncationStoppingPolicy
	Policy interface{} `json:"policy,omitempty"`

	// Metric value to use for the condition.
	Value string `json:"value,omitempty"`
}

V1MetricEarlyStopping MetricEarlyStoppingSchema specification Early stopping based on metric config.

swagger:model v1MetricEarlyStopping

func (*V1MetricEarlyStopping) ContextValidate

func (m *V1MetricEarlyStopping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 metric early stopping based on the context it is used

func (*V1MetricEarlyStopping) MarshalBinary

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

MarshalBinary interface implementation

func (*V1MetricEarlyStopping) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1MetricEarlyStopping) Validate

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

Validate validates this v1 metric early stopping

type V1ModelRegistry

type V1ModelRegistry struct {

	// Optional if this entity was bookmarked
	Bookmarked bool `json:"bookmarked,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Optional flag to tell if this project is public
	IsPublic bool `json:"is_public,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

	// Optional component name, should be a valid fully qualified value: name[:version]
	Name string `json:"name,omitempty"`

	// Owner/namespace where the model regitry was created
	Owner string `json:"owner,omitempty"`

	// Markdown description/readme
	Readme string `json:"readme,omitempty"`

	// Current user's role in this (org/teams)/project
	Role string `json:"role,omitempty"`

	// Settings
	Settings *V1ModelRegistrySettings `json:"settings,omitempty"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1ModelRegistry Model regsitry specification

swagger:model v1ModelRegistry

func (*V1ModelRegistry) ContextValidate

func (m *V1ModelRegistry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 model registry based on the context it is used

func (*V1ModelRegistry) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ModelRegistry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ModelRegistry) Validate

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

Validate validates this v1 model registry

type V1ModelRegistrySettings

type V1ModelRegistrySettings struct {

	// Authorized projects
	Projects []string `json:"projects"`

	// Authorized teams
	Teams []string `json:"teams"`

	// Authorized users
	Users []string `json:"users"`
}

V1ModelRegistrySettings Model registry Settings specification

swagger:model v1ModelRegistrySettings

func (*V1ModelRegistrySettings) ContextValidate

func (m *V1ModelRegistrySettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 model registry settings based on context it is used

func (*V1ModelRegistrySettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ModelRegistrySettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ModelRegistrySettings) Validate

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

Validate validates this v1 model registry settings

type V1ModelVersion

type V1ModelVersion struct {

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

	// Model spec metadata
	Metadata string `json:"metadata,omitempty"`

	// Optional component name, should be a valid fully qualified value: name[:version]
	Name string `json:"name,omitempty"`

	// Current user's role in this (org/teams)/model/version
	Role string `json:"role,omitempty"`

	// Run lineage
	Run string `json:"run,omitempty"`

	// Extra information related to the run (lineage, project, ...)
	RunInfo interface{} `json:"run_info,omitempty"`

	// Optional latest stage of this entity
	Stage *V1Stages `json:"stage,omitempty"`

	// The status conditions timeline
	StageConditions []*V1StageCondition `json:"stage_conditions"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1ModelVersion Model Version specification

swagger:model v1ModelVersion

func (*V1ModelVersion) ContextValidate

func (m *V1ModelVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 model version based on the context it is used

func (*V1ModelVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ModelVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ModelVersion) Validate

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

Validate validates this v1 model version

type V1Notification

type V1Notification struct {

	// Connections to use for notification
	Connections []string `json:"connections"`

	// Optional trigger policy, default done
	Trigger *V1Statuses `json:"trigger,omitempty"`
}

V1Notification Notification message

swagger:model v1Notification

func (*V1Notification) ContextValidate

func (m *V1Notification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 notification based on the context it is used

func (*V1Notification) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Notification) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Notification) Validate

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

Validate validates this v1 notification

type V1Operation

type V1Operation struct {

	// Optional build process
	Build *V1Build `json:"build,omitempty"`

	// Optional flag to disable cache validation and force run this operation
	Cache *V1Cache `json:"cache,omitempty"`

	// component
	Component *V1Component `json:"component,omitempty"`

	// An optional template containing conditions to check before starting the run
	Conditions string `json:"conditions,omitempty"`

	// Optional field to assign cost to this Component
	Cost float32 `json:"cost,omitempty"`

	// dag ref
	DagRef string `json:"dagRef,omitempty"`

	// Optional graph dependencies of this op
	Dependencies []string `json:"dependencies"`

	// Optional component description override
	Description string `json:"description,omitempty"`

	// Optional events section, must be a valid List of EventTrigger option (Run/Git/Alert/Webhook/Dataset)
	Events []*V1EventTrigger `json:"events"`

	// Optional hooks section
	Hooks []*V1Hook `json:"hooks"`

	// hub ref
	HubRef string `json:"hubRef,omitempty"`

	// Optional flag to mark this specification requires approval before running
	IsApproved bool `json:"isApproved,omitempty"`

	// Optional flag to mark this specification as preset
	IsPreset bool `json:"isPreset,omitempty"`

	// Optional dict of joins
	Joins map[string]V1Join `json:"joins,omitempty"`

	// Optional component kind, should be equal to 'operation'
	Kind string `json:"kind,omitempty"`

	// Optional matrix section, must be a valid matrix option (Random/Grid/BO/Hyperband/Hyperopt/Mapping/Iterative)
	Matrix interface{} `json:"matrix,omitempty"`

	// Optional component name override, should a valid slug
	Name string `json:"name,omitempty"`

	// Optional dict of params
	Params map[string]V1Param `json:"params,omitempty"`

	// Optional patch strategy, default post_merge
	PatchStrategy *V1PatchStrategy `json:"patchStrategy,omitempty"`

	// path ref
	PathRef string `json:"pathRef,omitempty"`

	// Optional plugins to enable
	Plugins *V1Plugins `json:"plugins,omitempty"`

	// Optional list of presets to use for running this operation
	Presets []string `json:"presets"`

	// Optional queue to use for running this operation
	Queue string `json:"queue,omitempty"`

	// Optional a run section to override the content of the run in the template
	// should be one of: Job/Service/Spark/Flink/Kubeflow/Dask/Dag
	RunPatch interface{} `json:"runPatch,omitempty"`

	// Optional schedule section, must be a valid Schedule option (Cron/Interval/Repeatable/ExactTime)
	Schedule interface{} `json:"schedule,omitempty"`

	// Optional flag to skip this run if upstream was skipped
	SkipOnUpstreamSkip bool `json:"skipOnUpstreamSkip,omitempty"`

	// Optional component tags override
	Tags []string `json:"tags"`

	// Optional to mark this specification as template with instructions
	Template *V1Template `json:"template,omitempty"`

	// optional termination section
	Termination *V1Termination `json:"termination,omitempty"`

	// Optional trigger policy
	Trigger *V1TriggerPolicy `json:"trigger,omitempty"`

	// url ref
	URLRef string `json:"urlRef,omitempty"`

	// Spec version
	Version float32 `json:"version,omitempty"`
}

V1Operation Operation specification

swagger:model v1Operation

func (*V1Operation) ContextValidate

func (m *V1Operation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 operation based on the context it is used

func (*V1Operation) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Operation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Operation) Validate

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

Validate validates this v1 operation

type V1OperationBody

type V1OperationBody struct {

	// The Operation body content as dump string
	Content string `json:"content,omitempty"`

	// Optional, only useful if is_managed is false
	Description string `json:"description,omitempty"`

	// Optional, if the run is managed, true by default, this flag should be false if starting a non-managed run
	IsManaged bool `json:"is_managed,omitempty"`

	// Meta
	MetaInfo interface{} `json:"meta_info,omitempty"`

	// Optional, only usefule if is_managed is false
	Name string `json:"name,omitempty"`

	// Optional, if the run is approved, true by default, this flag should be false if a run requires human validation
	Pending *V1RunPending `json:"pending,omitempty"`

	// Optional, only useful if is_managed is false
	Tags []string `json:"tags"`
}

V1OperationBody Operation creation

swagger:model v1OperationBody

func (*V1OperationBody) ContextValidate

func (m *V1OperationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 operation body based on the context it is used

func (*V1OperationBody) MarshalBinary

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

MarshalBinary interface implementation

func (*V1OperationBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1OperationBody) Validate

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

Validate validates this v1 operation body

type V1Optimization

type V1Optimization string

V1Optimization Optimization enum for metrics

- maximize: Minimize a metric

  • minimize: Minimize a metric

swagger:model v1Optimization

const (

	// V1OptimizationMaximize captures enum value "maximize"
	V1OptimizationMaximize V1Optimization = "maximize"

	// V1OptimizationMinimize captures enum value "minimize"
	V1OptimizationMinimize V1Optimization = "minimize"
)

func NewV1Optimization

func NewV1Optimization(value V1Optimization) *V1Optimization

func (V1Optimization) ContextValidate

func (m V1Optimization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 optimization based on context it is used

func (V1Optimization) Validate

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

Validate validates this v1 optimization

type V1OptimizationMetric

type V1OptimizationMetric struct {

	// Name of the metric to optimize
	Name string `json:"name,omitempty"`

	// Optimization to use fot the metric
	Optimization *V1Optimization `json:"optimization,omitempty"`
}

V1OptimizationMetric OptimizationMetric specification

swagger:model v1OptimizationMetric

func (*V1OptimizationMetric) ContextValidate

func (m *V1OptimizationMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 optimization metric based on the context it is used

func (*V1OptimizationMetric) MarshalBinary

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

MarshalBinary interface implementation

func (*V1OptimizationMetric) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1OptimizationMetric) Validate

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

Validate validates this v1 optimization metric

type V1OptimizationResource

type V1OptimizationResource struct {

	// Name of the resource to allocate
	Name string `json:"name,omitempty"`

	// Type to use fot the resource
	Type *V1ResourceType `json:"type,omitempty"`
}

V1OptimizationResource OptimizationResource specification

swagger:model v1OptimizationResource

func (*V1OptimizationResource) ContextValidate

func (m *V1OptimizationResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 optimization resource based on the context it is used

func (*V1OptimizationResource) MarshalBinary

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

MarshalBinary interface implementation

func (*V1OptimizationResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1OptimizationResource) Validate

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

Validate validates this v1 optimization resource

type V1Organization

type V1Organization struct {

	// Auth Settings
	Auth interface{} `json:"auth,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional expiration for support
	Expiration int32 `json:"expiration,omitempty"`

	// Setting to enable viewable metadata on cloud
	IsCloudViewable bool `json:"is_cloud_viewable,omitempty"`

	// Optional flag to tell if this organization is public
	IsPublic bool `json:"is_public,omitempty"`

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

	// Plan settings
	Plan interface{} `json:"plan,omitempty"`

	// Default preset
	Preset string `json:"preset,omitempty"`

	// Default queue
	Queue string `json:"queue,omitempty"`

	// Current user's role in this org
	Role string `json:"role,omitempty"`

	// Optional time to revoke support access
	// Format: date-time
	SupportRevokeAt strfmt.DateTime `json:"support_revoke_at,omitempty"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Usage info
	Usage interface{} `json:"usage,omitempty"`

	// User
	User string `json:"user,omitempty"`

	// Read-only User email
	UserEmail string `json:"user_email,omitempty"`
}

V1Organization Organization specification

swagger:model v1Organization

func (*V1Organization) ContextValidate

func (m *V1Organization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 organization based on context it is used

func (*V1Organization) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Organization) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Organization) Validate

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

Validate validates this v1 organization

type V1OrganizationMember

type V1OrganizationMember struct {

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Role
	Role string `json:"role,omitempty"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// User
	User string `json:"user,omitempty"`

	// Read-only User email
	UserEmail string `json:"user_email,omitempty"`
}

V1OrganizationMember Organization member specification

swagger:model v1OrganizationMember

func (*V1OrganizationMember) ContextValidate

func (m *V1OrganizationMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 organization member based on context it is used

func (*V1OrganizationMember) MarshalBinary

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

MarshalBinary interface implementation

func (*V1OrganizationMember) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1OrganizationMember) Validate

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

Validate validates this v1 organization member

type V1OwnerSubEntityResourceRequestByUID

type V1OwnerSubEntityResourceRequestByUID struct {

	// Entity: project name, hub name, registry name, ...
	Entity string `json:"entity,omitempty"`

	// Owner of the namespace
	Owner string `json:"owner,omitempty"`

	// Uuid identifier of the sub-entity
	UUID string `json:"uuid,omitempty"`
}

V1OwnerSubEntityResourceRequestByUID Request data to get/delete sub-entity

swagger:model v1OwnerSubEntityResourceRequestByUid

func (*V1OwnerSubEntityResourceRequestByUID) ContextValidate

func (m *V1OwnerSubEntityResourceRequestByUID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 owner sub entity resource request by Uid based on context it is used

func (*V1OwnerSubEntityResourceRequestByUID) MarshalBinary

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

MarshalBinary interface implementation

func (*V1OwnerSubEntityResourceRequestByUID) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1OwnerSubEntityResourceRequestByUID) Validate

Validate validates this v1 owner sub entity resource request by Uid

type V1Param

type V1Param struct {

	// A flag to signal to Polyaxon that this param is used with a connection
	Connection string `json:"connection,omitempty"`

	// A flag to signal to Polyaxon that this param should not be validated against io
	ContextOnly bool `json:"contextOnly,omitempty"`

	// Ref corresponds to a reference of an object
	Ref string `json:"ref,omitempty"`

	// A flag to signal to Polyaxon that this param must be tranformed to an init container
	ToInit bool `json:"toInit,omitempty"`

	// The value to pass, if no ref or search is passed then it corresponds to a literal value
	Value interface{} `json:"value,omitempty"`
}

V1Param Param specification

swagger:model v1Param

func (*V1Param) ContextValidate

func (m *V1Param) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 param based on context it is used

func (*V1Param) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Param) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Param) Validate

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

Validate validates this v1 param

type V1PasswordChange

type V1PasswordChange struct {

	// New password
	NewPassword1 string `json:"new_password1,omitempty"`

	// New password confirmation
	NewPassword2 string `json:"new_password2,omitempty"`

	// Old password
	OldPassword string `json:"old_password,omitempty"`
}

V1PasswordChange User password change

swagger:model v1PasswordChange

func (*V1PasswordChange) ContextValidate

func (m *V1PasswordChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 password change based on context it is used

func (*V1PasswordChange) MarshalBinary

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

MarshalBinary interface implementation

func (*V1PasswordChange) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1PasswordChange) Validate

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

Validate validates this v1 password change

type V1PatchStrategy

type V1PatchStrategy string

V1PatchStrategy PatchStrategy

- replace: Replaces the keys

  • isnull: Only set the keys if they do not exist or if they are null
  • post_merge: Merge the all keys and replace by new one
  • pre_merge: Merge the all keys and keep old ones

swagger:model v1PatchStrategy

const (

	// V1PatchStrategyReplace captures enum value "replace"
	V1PatchStrategyReplace V1PatchStrategy = "replace"

	// V1PatchStrategyIsnull captures enum value "isnull"
	V1PatchStrategyIsnull V1PatchStrategy = "isnull"

	// V1PatchStrategyPostMerge captures enum value "post_merge"
	V1PatchStrategyPostMerge V1PatchStrategy = "post_merge"

	// V1PatchStrategyPreMerge captures enum value "pre_merge"
	V1PatchStrategyPreMerge V1PatchStrategy = "pre_merge"
)

func NewV1PatchStrategy

func NewV1PatchStrategy(value V1PatchStrategy) *V1PatchStrategy

func (V1PatchStrategy) ContextValidate

func (m V1PatchStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 patch strategy based on context it is used

func (V1PatchStrategy) Validate

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

Validate validates this v1 patch strategy

type V1PathRef

type V1PathRef struct {

	// Kind of reference, should be equal to "path_ref"
	Kind *string `json:"kind,omitempty"`

	// Value
	Path string `json:"path,omitempty"`
}

V1PathRef Path reference specification

swagger:model v1PathRef

func (*V1PathRef) ContextValidate

func (m *V1PathRef) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 path ref based on context it is used

func (*V1PathRef) MarshalBinary

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

MarshalBinary interface implementation

func (*V1PathRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1PathRef) Validate

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

Validate validates this v1 path ref

type V1Pipeline

type V1Pipeline struct {

	// Optional if the pipeline kind dag/matrix
	Kind *V1PipelineKind `json:"kind,omitempty"`

	// Optional name of the pipeline run
	Name string `json:"name,omitempty"`

	// Optional uuid of the pipeline run
	UUID string `json:"uuid,omitempty"`
}

V1Pipeline v1 pipeline

swagger:model v1Pipeline

func (*V1Pipeline) ContextValidate

func (m *V1Pipeline) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 pipeline based on the context it is used

func (*V1Pipeline) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Pipeline) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Pipeline) Validate

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

Validate validates this v1 pipeline

type V1PipelineKind

type V1PipelineKind string

V1PipelineKind v1 pipeline kind

swagger:model v1PipelineKind

const (

	// V1PipelineKindDag captures enum value "dag"
	V1PipelineKindDag V1PipelineKind = "dag"

	// V1PipelineKindMatrix captures enum value "matrix"
	V1PipelineKindMatrix V1PipelineKind = "matrix"
)

func NewV1PipelineKind

func NewV1PipelineKind(value V1PipelineKind) *V1PipelineKind

func (V1PipelineKind) ContextValidate

func (m V1PipelineKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 pipeline kind based on context it is used

func (V1PipelineKind) Validate

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

Validate validates this v1 pipeline kind

type V1Plugins

type V1Plugins struct {

	// Optional flag to tell Polyaxon if it should set an auth context for the run, default true
	Auth bool `json:"auth,omitempty"`

	// Auto resume a run's artifacts (applies to resume and retries), works if collects_artifacts is enabled
	AutoResume bool `json:"autoResume,omitempty"`

	// Optional flag to tell Polyaxon to collect articats and outputs
	CollectArtifacts bool `json:"collectArtifacts,omitempty"`

	// Optional flag to tell Polyaxon to collect logs
	CollectLogs bool `json:"collectLogs,omitempty"`

	// Optional flag to tell Polyaxon to collect container resouces (cpu/memory/gpu)
	CollectResources string `json:"collectResources,omitempty"`

	// Optional flag to tell Polyaxon if it should set a docker socket context for the run, default false
	Docker bool `json:"docker,omitempty"`

	// Optional flag to tell Polyaxon to connect to the control plan via the external host
	ExternalHost bool `json:"externalHost,omitempty"`

	// Optional log level
	LogLevel string `json:"logLevel,omitempty"`

	// Optional flag to mount the artifacts store to the main container
	MountArtifactsStore bool `json:"mountArtifactsStore,omitempty"`

	// Option Notifications: Deprecated
	Notifications []*V1Notification `json:"notifications"`

	// Optional flag to tell Polyaxon if it should set a shm context for the run, default false
	Shm bool `json:"shm,omitempty"`

	// Optional to override the sidecar's default config
	Sidecar *V1PolyaxonSidecarContainer `json:"sidecar,omitempty"`

	// Optional flag to tell Polyaxon to sync statuses
	SyncStatuses bool `json:"syncStatuses,omitempty"`
}

V1Plugins Plugins specification

swagger:model v1Plugins

func (*V1Plugins) ContextValidate

func (m *V1Plugins) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 plugins based on the context it is used

func (*V1Plugins) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Plugins) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Plugins) Validate

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

Validate validates this v1 plugins

type V1PodDNSConfig

type V1PodDNSConfig interface{}

V1PodDNSConfig Placeholder for PodDNSConfig

swagger:model v1PodDNSConfig

type V1PodSecurityContext

type V1PodSecurityContext interface{}

V1PodSecurityContext Placeholder for PodSecurityContext

swagger:model v1PodSecurityContext

type V1PolyaxonInitContainer

type V1PolyaxonInitContainer struct {

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

	// image pull policy
	ImagePullPolicy string `json:"imagePullPolicy,omitempty"`

	// image tag
	ImageTag string `json:"imageTag,omitempty"`

	// resources
	Resources V1ResourceRequirements `json:"resources,omitempty"`
}

V1PolyaxonInitContainer Polyaxon init specification

swagger:model v1PolyaxonInitContainer

func (*V1PolyaxonInitContainer) ContextValidate

func (m *V1PolyaxonInitContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 polyaxon init container based on context it is used

func (*V1PolyaxonInitContainer) MarshalBinary

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

MarshalBinary interface implementation

func (*V1PolyaxonInitContainer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1PolyaxonInitContainer) Validate

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

Validate validates this v1 polyaxon init container

type V1PolyaxonSidecarContainer

type V1PolyaxonSidecarContainer struct {

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

	// image pull policy
	ImagePullPolicy string `json:"imagePullPolicy,omitempty"`

	// image tag
	ImageTag string `json:"imageTag,omitempty"`

	// monitor logs
	MonitorLogs bool `json:"monitorLogs,omitempty"`

	// resources
	Resources V1ResourceRequirements `json:"resources,omitempty"`

	// sleep interval
	SleepInterval int32 `json:"sleepInterval,omitempty"`

	// sync interval
	SyncInterval int32 `json:"syncInterval,omitempty"`
}

V1PolyaxonSidecarContainer Polyaxon sidecar specification

swagger:model v1PolyaxonSidecarContainer

func (*V1PolyaxonSidecarContainer) ContextValidate

func (m *V1PolyaxonSidecarContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 polyaxon sidecar container based on context it is used

func (*V1PolyaxonSidecarContainer) MarshalBinary

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

MarshalBinary interface implementation

func (*V1PolyaxonSidecarContainer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1PolyaxonSidecarContainer) Validate

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

Validate validates this v1 polyaxon sidecar container

type V1Preset

type V1Preset struct {

	// The content of the preset
	Content string `json:"content,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Optional a flag to freeze the scheduling preset
	Frozen bool `json:"frozen,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

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

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1Preset Preset specification

swagger:model v1Preset

func (*V1Preset) ContextValidate

func (m *V1Preset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 preset based on context it is used

func (*V1Preset) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Preset) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Preset) Validate

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

Validate validates this v1 preset

type V1Project

type V1Project struct {

	// Optional if this entity was bookmarked
	Bookmarked bool `json:"bookmarked,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Optional project definition
	ExcludedRuntimes []string `json:"excluded_runtimes"`

	// Optional flag to tell if this project is public
	IsPublic bool `json:"is_public,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

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

	// Owner/namespace where the project was created
	Owner string `json:"owner,omitempty"`

	// Optional a readme text describing this entity
	Readme string `json:"readme,omitempty"`

	// Current user's role in this (org/teams)/project
	Role string `json:"role,omitempty"`

	// Optional project settings
	Settings *V1ProjectSettings `json:"settings,omitempty"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1Project Project specification

swagger:model v1Project

func (*V1Project) ContextValidate

func (m *V1Project) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 project based on the context it is used

func (*V1Project) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Project) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Project) Validate

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

Validate validates this v1 project

type V1ProjectSettings

type V1ProjectSettings struct {

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

	// Authorized connections
	Connections []string `json:"connections"`

	// Default Preset
	Preset string `json:"preset,omitempty"`

	// Authorized Presets
	Presets []string `json:"presets"`

	// Default Queue
	Queue string `json:"queue,omitempty"`

	// Authorized queues
	Queues []string `json:"queues"`

	// Authorized teams
	Teams []string `json:"teams"`

	// Authorized users
	UserAccesses []*V1ProjectUserAccess `json:"user_accesses"`
}

V1ProjectSettings Project Settings specification

swagger:model v1ProjectSettings

func (*V1ProjectSettings) ContextValidate

func (m *V1ProjectSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 project settings based on the context it is used

func (*V1ProjectSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ProjectSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ProjectSettings) Validate

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

Validate validates this v1 project settings

type V1ProjectUserAccess

type V1ProjectUserAccess struct {

	// Optional preset to configure for user
	Preset string `json:"preset,omitempty"`

	// Optional queue to configure for user
	Queue string `json:"queue,omitempty"`

	// User to give access to
	User string `json:"user,omitempty"`
}

V1ProjectUserAccess v1 project user access

swagger:model v1ProjectUserAccess

func (*V1ProjectUserAccess) ContextValidate

func (m *V1ProjectUserAccess) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 project user access based on context it is used

func (*V1ProjectUserAccess) MarshalBinary

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

MarshalBinary interface implementation

func (*V1ProjectUserAccess) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1ProjectUserAccess) Validate

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

Validate validates this v1 project user access

type V1PytorchJob

type V1PytorchJob struct {

	// optional clean pod policy section
	CleanPodPolicy *V1CleanPodPolicy `json:"cleanPodPolicy,omitempty"`

	// Optional component kind, should be equal to 'pytorch_job'
	Kind *string `json:"kind,omitempty"`

	// Optional master replica definition
	Master *V1KFReplica `json:"master,omitempty"`

	// Optional worker replica definition
	Worker *V1KFReplica `json:"worker,omitempty"`
}

V1PytorchJob Pytorch Job specification

swagger:model v1PytorchJob

func (*V1PytorchJob) ContextValidate

func (m *V1PytorchJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 pytorch job based on the context it is used

func (*V1PytorchJob) MarshalBinary

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

MarshalBinary interface implementation

func (*V1PytorchJob) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1PytorchJob) Validate

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

Validate validates this v1 pytorch job

type V1Queue

type V1Queue struct {

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

	// The queue concurrency
	Concurrency int32 `json:"concurrency,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

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

	// The queue priority
	Priority int32 `json:"priority,omitempty"`

	// Optional queue quota
	Quota string `json:"quota,omitempty"`

	// Optional queue resource
	Resource string `json:"resource,omitempty"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1Queue Queue specification

swagger:model v1Queue

func (*V1Queue) ContextValidate

func (m *V1Queue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 queue based on context it is used

func (*V1Queue) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Queue) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Queue) Validate

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

Validate validates this v1 queue

type V1RandomSearch

type V1RandomSearch struct {

	// Number of concurrent runs
	Concurrency int32 `json:"concurrency,omitempty"`

	// A list of Early stoppings, accpets both metric and failure early stopping mechanisms
	EarlyStopping []interface{} `json:"earlyStopping"`

	// Kind of matrix, should be equal to "random"
	Kind *string `json:"kind,omitempty"`

	// Number of runs to generate and search
	NumRuns int32 `json:"numRuns,omitempty"`

	// Hyperparams/Space definition of params to traverse
	Params map[string]interface{} `json:"params,omitempty"`

	// Seed for the random generator
	Seed int32 `json:"seed,omitempty"`
}

V1RandomSearch Matrix based on randomly generated search space

swagger:model v1RandomSearch

func (*V1RandomSearch) ContextValidate

func (m *V1RandomSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 random search based on context it is used

func (*V1RandomSearch) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RandomSearch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RandomSearch) Validate

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

Validate validates this v1 random search

type V1Ray

type V1Ray struct {

	// Kind of runtime, should be equal to "ray"
	Kind string `json:"kind,omitempty"`

	// Spark specification
	Spec interface{} `json:"spec,omitempty"`
}

V1Ray Ray specification

swagger:model v1Ray

func (*V1Ray) ContextValidate

func (m *V1Ray) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 ray based on context it is used

func (*V1Ray) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Ray) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Ray) Validate

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

Validate validates this v1 ray

type V1Reference

type V1Reference struct {

	// dag ref
	DagRef *V1DagRef `json:"dagRef,omitempty"`

	// hub ref
	HubRef *V1HubRef `json:"hubRef,omitempty"`

	// path ref
	PathRef *V1PathRef `json:"pathRef,omitempty"`

	// url ref
	URLRef *V1URLRef `json:"urlRef,omitempty"`
}

V1Reference Reference specification

swagger:model v1Reference

func (*V1Reference) ContextValidate

func (m *V1Reference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 reference based on the context it is used

func (*V1Reference) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Reference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Reference) Validate

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

Validate validates this v1 reference

type V1ResourceRequirements

type V1ResourceRequirements interface{}

V1ResourceRequirements Placeholder Resource Requirements

swagger:model v1ResourceRequirements

type V1ResourceType

type V1ResourceType string

V1ResourceType ResourceTypes enum for optmiztion resources

- int: Int resource

  • float: Float resource

swagger:model v1ResourceType

const (

	// V1ResourceTypeInt captures enum value "int"
	V1ResourceTypeInt V1ResourceType = "int"

	// V1ResourceTypeFloat captures enum value "float"
	V1ResourceTypeFloat V1ResourceType = "float"
)

func NewV1ResourceType

func NewV1ResourceType(value V1ResourceType) *V1ResourceType

func (V1ResourceType) ContextValidate

func (m V1ResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 resource type based on context it is used

func (V1ResourceType) Validate

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

Validate validates this v1 resource type

type V1Run

type V1Run struct {

	// Optional if this entity was bookmarked
	Bookmarked bool `json:"bookmarked,omitempty"`

	// Optional content of the entity's spec
	Content string `json:"content,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Optional duration of the entity
	Duration int32 `json:"duration,omitempty"`

	// Optional last time the entity was started
	// Format: date-time
	FinishedAt strfmt.DateTime `json:"finished_at,omitempty"`

	// Optional graph definition
	Graph interface{} `json:"graph,omitempty"`

	// Optional inputs of this entity
	Inputs interface{} `json:"inputs,omitempty"`

	// Deprecated flag that was replaced by "pending", and it will be completely dropped after v1.15
	IsApproved bool `json:"is_approved,omitempty"`

	// Optional flag to tell if this entity is managed by the platform
	IsManaged bool `json:"is_managed,omitempty"`

	// Optional kind to tell the kind of this run
	Kind *V1RunKind `json:"kind,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

	// Optional merge flag
	Merge bool `json:"merge,omitempty"`

	// Optional run meta info
	MetaInfo interface{} `json:"meta_info,omitempty"`

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

	// Optional original run meta information
	Original *V1Cloning `json:"original,omitempty"`

	// Optional outputs of this entity
	Outputs interface{} `json:"outputs,omitempty"`

	// Required name of owner of this entity
	Owner string `json:"owner,omitempty"`

	// Optional to tell if this entity requires approval before it should be scheduled
	Pending *V1RunPending `json:"pending,omitempty"`

	// Optional pipeline run meta information
	Pipeline *V1Pipeline `json:"pipeline,omitempty"`

	// Required project name
	Project string `json:"project,omitempty"`

	// Optional content of the entity's spec
	RawContent string `json:"raw_content,omitempty"`

	// Markdown description/readme
	Readme string `json:"readme,omitempty"`

	// Options resources
	Resources *V1RunResources `json:"resources,omitempty"`

	// Current user's role in this (org/teams)/project/runs
	Role string `json:"role,omitempty"`

	// Optional meta kind to tell the nature of this run
	Runtime *V1RunKind `json:"runtime,omitempty"`

	// Optional last time the entity was started
	// Format: date-time
	ScheduleAt strfmt.DateTime `json:"schedule_at,omitempty"`

	// Optional settings
	Settings *V1RunSettings `json:"settings,omitempty"`

	// Optional last time the entity was started
	// Format: date-time
	StartedAt strfmt.DateTime `json:"started_at,omitempty"`

	// Optional latest status of this entity
	Status *V1Statuses `json:"status,omitempty"`

	// The status conditions timeline
	StatusConditions []*V1StatusCondition `json:"status_conditions"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Required name of user started this entity
	User string `json:"user,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`

	// Optional wait time of the entity
	WaitTime int32 `json:"wait_time,omitempty"`
}

V1Run Run specification

swagger:model v1Run

func (*V1Run) ContextValidate

func (m *V1Run) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 run based on the context it is used

func (*V1Run) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Run) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Run) Validate

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

Validate validates this v1 run

type V1RunArtifact

type V1RunArtifact struct {

	// Connection
	Connection string `json:"connection,omitempty"`

	// Optional flag to check the use of the artifact in a context
	IsInput bool `json:"is_input,omitempty"`

	// Artifact type
	Kind *V1ArtifactKind `json:"kind,omitempty"`

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

	// Artifact path
	Path string `json:"path,omitempty"`

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

	// Artifact schema
	Summary interface{} `json:"summary,omitempty"`
}

V1RunArtifact Run Artifact spec definition

swagger:model v1RunArtifact

func (*V1RunArtifact) ContextValidate

func (m *V1RunArtifact) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 run artifact based on the context it is used

func (*V1RunArtifact) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RunArtifact) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RunArtifact) Validate

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

Validate validates this v1 run artifact

type V1RunArtifacts

type V1RunArtifacts struct {

	// Run Artifacts
	Artifacts []*V1RunArtifact `json:"artifacts"`
}

V1RunArtifacts Run Artifacts spec definition

swagger:model v1RunArtifacts

func (*V1RunArtifacts) ContextValidate

func (m *V1RunArtifacts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 run artifacts based on the context it is used

func (*V1RunArtifacts) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RunArtifacts) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RunArtifacts) Validate

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

Validate validates this v1 run artifacts

type V1RunConnection

type V1RunConnection struct {

	// Kind
	Kind string `json:"kind,omitempty"`

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

	// Uuid
	UUID string `json:"uuid,omitempty"`
}

V1RunConnection v1 run connection

swagger:model v1RunConnection

func (*V1RunConnection) ContextValidate

func (m *V1RunConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 run connection based on context it is used

func (*V1RunConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RunConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RunConnection) Validate

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

Validate validates this v1 run connection

type V1RunEdge

type V1RunEdge struct {

	// Optional name of the edge run
	Downstream *V1Run `json:"downstream,omitempty"`

	// Optional edge run kind
	Kind *V1RunEdgeKind `json:"kind,omitempty"`

	// Options statuses events
	Statuses []*V1Statuses `json:"statuses"`

	// Optional uuid of the edge run
	Upstream *V1Run `json:"upstream,omitempty"`

	// Optional edge values
	Values interface{} `json:"values,omitempty"`
}

V1RunEdge v1 run edge

swagger:model v1RunEdge

func (*V1RunEdge) ContextValidate

func (m *V1RunEdge) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 run edge based on the context it is used

func (*V1RunEdge) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RunEdge) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RunEdge) Validate

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

Validate validates this v1 run edge

type V1RunEdgeKind

type V1RunEdgeKind string

V1RunEdgeKind v1 run edge kind

swagger:model v1RunEdgeKind

const (

	// V1RunEdgeKindAction captures enum value "action"
	V1RunEdgeKindAction V1RunEdgeKind = "action"

	// V1RunEdgeKindEvent captures enum value "event"
	V1RunEdgeKindEvent V1RunEdgeKind = "event"

	// V1RunEdgeKindHook captures enum value "hook"
	V1RunEdgeKindHook V1RunEdgeKind = "hook"

	// V1RunEdgeKindDag captures enum value "dag"
	V1RunEdgeKindDag V1RunEdgeKind = "dag"

	// V1RunEdgeKindJoin captures enum value "join"
	V1RunEdgeKindJoin V1RunEdgeKind = "join"

	// V1RunEdgeKindRun captures enum value "run"
	V1RunEdgeKindRun V1RunEdgeKind = "run"

	// V1RunEdgeKindTb captures enum value "tb"
	V1RunEdgeKindTb V1RunEdgeKind = "tb"

	// V1RunEdgeKindBuild captures enum value "build"
	V1RunEdgeKindBuild V1RunEdgeKind = "build"
)

func NewV1RunEdgeKind

func NewV1RunEdgeKind(value V1RunEdgeKind) *V1RunEdgeKind

func (V1RunEdgeKind) ContextValidate

func (m V1RunEdgeKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 run edge kind based on context it is used

func (V1RunEdgeKind) Validate

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

Validate validates this v1 run edge kind

type V1RunKind

type V1RunKind string

V1RunKind Run kind enum Kinds: job, service, dag, matrix, schedule Runtime kinds: job, service, dag, spark, dask, flink, ray, mpijob, tfjob helper kinds: tuner, watchdog, notifier, cleaner, build

swagger:model v1RunKind

const (

	// V1RunKindJob captures enum value "job"
	V1RunKindJob V1RunKind = "job"

	// V1RunKindService captures enum value "service"
	V1RunKindService V1RunKind = "service"

	// V1RunKindDag captures enum value "dag"
	V1RunKindDag V1RunKind = "dag"

	// V1RunKindSpark captures enum value "spark"
	V1RunKindSpark V1RunKind = "spark"

	// V1RunKindDask captures enum value "dask"
	V1RunKindDask V1RunKind = "dask"

	// V1RunKindFlink captures enum value "flink"
	V1RunKindFlink V1RunKind = "flink"

	// V1RunKindRay captures enum value "ray"
	V1RunKindRay V1RunKind = "ray"

	// V1RunKindMpijob captures enum value "mpijob"
	V1RunKindMpijob V1RunKind = "mpijob"

	// V1RunKindTfjob captures enum value "tfjob"
	V1RunKindTfjob V1RunKind = "tfjob"

	// V1RunKindPytorchjob captures enum value "pytorchjob"
	V1RunKindPytorchjob V1RunKind = "pytorchjob"

	// V1RunKindMatrix captures enum value "matrix"
	V1RunKindMatrix V1RunKind = "matrix"

	// V1RunKindSchedule captures enum value "schedule"
	V1RunKindSchedule V1RunKind = "schedule"

	// V1RunKindTuner captures enum value "tuner"
	V1RunKindTuner V1RunKind = "tuner"

	// V1RunKindWatchdog captures enum value "watchdog"
	V1RunKindWatchdog V1RunKind = "watchdog"

	// V1RunKindNotifier captures enum value "notifier"
	V1RunKindNotifier V1RunKind = "notifier"

	// V1RunKindCleaner captures enum value "cleaner"
	V1RunKindCleaner V1RunKind = "cleaner"

	// V1RunKindBuilder captures enum value "builder"
	V1RunKindBuilder V1RunKind = "builder"
)

func NewV1RunKind

func NewV1RunKind(value V1RunKind) *V1RunKind

func (V1RunKind) ContextValidate

func (m V1RunKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 run kind based on context it is used

func (V1RunKind) Validate

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

Validate validates this v1 run kind

type V1RunPending

type V1RunPending string

V1RunPending v1 run pending

swagger:model v1RunPending

const (

	// V1RunPendingApproval captures enum value "approval"
	V1RunPendingApproval V1RunPending = "approval"

	// V1RunPendingUpload captures enum value "upload"
	V1RunPendingUpload V1RunPending = "upload"

	// V1RunPendingCache captures enum value "cache"
	V1RunPendingCache V1RunPending = "cache"

	// V1RunPendingBuild captures enum value "build"
	V1RunPendingBuild V1RunPending = "build"
)

func NewV1RunPending

func NewV1RunPending(value V1RunPending) *V1RunPending

func (V1RunPending) ContextValidate

func (m V1RunPending) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 run pending based on context it is used

func (V1RunPending) Validate

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

Validate validates this v1 run pending

type V1RunReferenceCatalog

type V1RunReferenceCatalog struct {

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

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

V1RunReferenceCatalog Run Settings catalog specification

swagger:model v1RunReferenceCatalog

func (*V1RunReferenceCatalog) ContextValidate

func (m *V1RunReferenceCatalog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 run reference catalog based on context it is used

func (*V1RunReferenceCatalog) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RunReferenceCatalog) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RunReferenceCatalog) Validate

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

Validate validates this v1 run reference catalog

type V1RunResources

type V1RunResources struct {

	// cost
	Cost float32 `json:"cost,omitempty"`

	// cpu
	CPU float32 `json:"cpu,omitempty"`

	// custom
	Custom float32 `json:"custom,omitempty"`

	// gpu
	Gpu float32 `json:"gpu,omitempty"`

	// memory
	Memory float32 `json:"memory,omitempty"`
}

V1RunResources Run Resources specification

swagger:model v1RunResources

func (*V1RunResources) ContextValidate

func (m *V1RunResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 run resources based on context it is used

func (*V1RunResources) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RunResources) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RunResources) Validate

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

Validate validates this v1 run resources

type V1RunSchema

type V1RunSchema struct {

	// dag
	Dag *V1Dag `json:"dag,omitempty"`

	// dask
	Dask *V1Dask `json:"dask,omitempty"`

	// flink
	Flink *V1Flink `json:"flink,omitempty"`

	// job
	Job *V1Job `json:"job,omitempty"`

	// mpi job
	MpiJob *V1MPIJob `json:"mpiJob,omitempty"`

	// pytorch job
	PytorchJob *V1PytorchJob `json:"pytorchJob,omitempty"`

	// ruy
	Ruy *V1Ray `json:"ruy,omitempty"`

	// service
	Service *V1Service `json:"service,omitempty"`

	// spark
	Spark *V1Spark `json:"spark,omitempty"`

	// tf job
	TfJob *V1TFJob `json:"tfJob,omitempty"`
}

V1RunSchema v1 run schema

swagger:model v1RunSchema

func (*V1RunSchema) ContextValidate

func (m *V1RunSchema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 run schema based on the context it is used

func (*V1RunSchema) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RunSchema) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RunSchema) Validate

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

Validate validates this v1 run schema

type V1RunSettings

type V1RunSettings struct {

	// Agent
	Agent *V1SettingsCatalog `json:"agent,omitempty"`

	// Artifacts Store
	ArtifactsStore *V1SettingsCatalog `json:"artifacts_store,omitempty"`

	// Build reference, if it exists
	Build interface{} `json:"build,omitempty"`

	// Component version reference
	ComponentVersion *V1RunReferenceCatalog `json:"component_version,omitempty"`

	// Model registry version references
	ModelVersions []*V1RunReferenceCatalog `json:"model_versions"`

	// Namespace
	Namespace string `json:"namespace,omitempty"`

	// Queue
	Queue *V1SettingsCatalog `json:"queue,omitempty"`

	// Latest Tensorboard reference, if it exists
	Tensorboard interface{} `json:"tensorboard,omitempty"`
}

V1RunSettings Run Settings specification

swagger:model v1RunSettings

func (*V1RunSettings) ContextValidate

func (m *V1RunSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 run settings based on the context it is used

func (*V1RunSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1RunSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1RunSettings) Validate

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

Validate validates this v1 run settings

type V1S3Type

type V1S3Type struct {

	// Optional container
	Bucket string `json:"bucket,omitempty"`

	// Optional storage_account
	Key string `json:"key,omitempty"`
}

V1S3Type Wasb type specification

swagger:model v1S3Type

func (*V1S3Type) ContextValidate

func (m *V1S3Type) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 s3 type based on context it is used

func (*V1S3Type) MarshalBinary

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

MarshalBinary interface implementation

func (*V1S3Type) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1S3Type) Validate

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

Validate validates this v1 s3 type

type V1Schedule

type V1Schedule struct {

	// cron
	Cron *V1CronSchedule `json:"cron,omitempty"`

	// datetime
	Datetime *V1DateTimeSchedule `json:"datetime,omitempty"`

	// interval
	Interval *V1IntervalSchedule `json:"interval,omitempty"`
}

V1Schedule All Schemas message

swagger:model v1Schedule

func (*V1Schedule) ContextValidate

func (m *V1Schedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 schedule based on the context it is used

func (*V1Schedule) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Schedule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Schedule) Validate

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

Validate validates this v1 schedule

type V1ScheduleKind

type V1ScheduleKind string

V1ScheduleKind v1 schedule kind

swagger:model v1ScheduleKind

const (

	// V1ScheduleKindCron captures enum value "cron"
	V1ScheduleKindCron V1ScheduleKind = "cron"

	// V1ScheduleKindInterval captures enum value "interval"
	V1ScheduleKindInterval V1ScheduleKind = "interval"

	// V1ScheduleKindDatetime captures enum value "datetime"
	V1ScheduleKindDatetime V1ScheduleKind = "datetime"
)

func NewV1ScheduleKind

func NewV1ScheduleKind(value V1ScheduleKind) *V1ScheduleKind

func (V1ScheduleKind) ContextValidate

func (m V1ScheduleKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 schedule kind based on context it is used

func (V1ScheduleKind) Validate

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

Validate validates this v1 schedule kind

type V1Schemas

type V1Schemas struct {

	// artifacs
	Artifacs *V1ArtifactsType `json:"artifacs,omitempty"`

	// artifacts mount
	ArtifactsMount *V1ArtifactsMount `json:"artifactsMount,omitempty"`

	// auth
	Auth *V1AuthType `json:"auth,omitempty"`

	// compiled operation
	CompiledOperation *V1CompiledOperation `json:"compiledOperation,omitempty"`

	// connection
	Connection *V1ConnectionType `json:"connection,omitempty"`

	// connection schema
	ConnectionSchema *V1ConnectionSchema `json:"connectionSchema,omitempty"`

	// early stopping
	EarlyStopping *V1EarlyStopping `json:"earlyStopping,omitempty"`

	// event
	Event *V1Event `json:"event,omitempty"`

	// event type
	EventType *V1EventType `json:"eventType,omitempty"`

	// gcs
	Gcs *V1GcsType `json:"gcs,omitempty"`

	// hp params
	HpParams *V1HpParams `json:"hpParams,omitempty"`

	// k8s resource
	K8sResource *V1K8sResourceType `json:"k8sResource,omitempty"`

	// matrix
	Matrix *V1Matrix `json:"matrix,omitempty"`

	// matrix kind
	MatrixKind *V1MatrixKind `json:"matrixKind,omitempty"`

	// operation
	Operation *V1Operation `json:"operation,omitempty"`

	// polyaxon init container
	PolyaxonInitContainer *V1PolyaxonInitContainer `json:"polyaxonInitContainer,omitempty"`

	// polyaxon sidecar container
	PolyaxonSidecarContainer *V1PolyaxonSidecarContainer `json:"polyaxonSidecarContainer,omitempty"`

	// reference
	Reference *V1Reference `json:"reference,omitempty"`

	// run
	Run *V1RunSchema `json:"run,omitempty"`

	// s3
	S3 *V1S3Type `json:"s3,omitempty"`

	// schedule
	Schedule *V1Schedule `json:"schedule,omitempty"`

	// schedule kind
	ScheduleKind *V1ScheduleKind `json:"scheduleKind,omitempty"`

	// uri
	URI *V1URIType `json:"uri,omitempty"`

	// wasb
	Wasb *V1WasbType `json:"wasb,omitempty"`
}

V1Schemas v1 schemas

swagger:model v1Schemas

func (*V1Schemas) ContextValidate

func (m *V1Schemas) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 schemas based on the context it is used

func (*V1Schemas) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Schemas) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Schemas) Validate

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

Validate validates this v1 schemas

type V1Search

type V1Search struct {

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Optional description
	Description string `json:"description,omitempty"`

	// Current live state
	LiveState int32 `json:"live_state,omitempty"`

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

	// Search spec
	Spec *V1SearchSpec `json:"spec,omitempty"`

	// Optional tags of this entity
	Tags []string `json:"tags"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`

	// Optional dashboard level
	View *SearchView `json:"view,omitempty"`
}

V1Search Search specification

swagger:model v1Search

func (*V1Search) ContextValidate

func (m *V1Search) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 search based on the context it is used

func (*V1Search) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Search) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Search) Validate

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

Validate validates this v1 search

type V1SearchSpec

type V1SearchSpec struct {

	// Optional analytics specification
	Analytics *V1AnalyticsSpec `json:"analytics,omitempty"`

	// Search columns
	Columns string `json:"columns,omitempty"`

	// Optional events specification
	Events *V1DashboardSpec `json:"events,omitempty"`

	// Search group bys
	Groupby string `json:"groupby,omitempty"`

	// Optional histograms specification
	Histograms interface{} `json:"histograms,omitempty"`

	// Widgets layout
	Layout string `json:"layout,omitempty"`

	// Limit size
	Limit int32 `json:"limit,omitempty"`

	// Offset value
	Offset int32 `json:"offset,omitempty"`

	// Search pins
	Pins string `json:"pins,omitempty"`

	// Search query
	Query string `json:"query,omitempty"`

	// Widgets layout
	Sections string `json:"sections,omitempty"`

	// Search sort
	Sort string `json:"sort,omitempty"`

	// Optional trends specification
	Trends interface{} `json:"trends,omitempty"`
}

V1SearchSpec Search spec definition

swagger:model v1SearchSpec

func (*V1SearchSpec) ContextValidate

func (m *V1SearchSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 search spec based on the context it is used

func (*V1SearchSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*V1SearchSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1SearchSpec) Validate

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

Validate validates this v1 search spec

type V1SectionSpec

type V1SectionSpec struct {

	// Number of columns
	Columns int32 `json:"columns,omitempty"`

	// Height
	Height int32 `json:"height,omitempty"`

	// Minimize
	IsMinimized bool `json:"is_minimized,omitempty"`

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

	// Page index
	PageIndex int32 `json:"pageIndex,omitempty"`

	// Page size
	PageSize int32 `json:"pageSize,omitempty"`

	// Section's widgets
	Widgets []interface{} `json:"widgets"`
}

V1SectionSpec Dashboard section definition

swagger:model v1SectionSpec

func (*V1SectionSpec) ContextValidate

func (m *V1SectionSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 section spec based on context it is used

func (*V1SectionSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*V1SectionSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1SectionSpec) Validate

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

Validate validates this v1 section spec

type V1Service

type V1Service struct {

	// Optional connections section
	Connections []string `json:"connections"`

	// Optional container to notification
	Container V1Container `json:"container,omitempty"`

	// Optional environment section
	Environment *V1Environment `json:"environment,omitempty"`

	// Optional init connections/containers section
	Init []*V1Init `json:"init"`

	// Optional component kind, should be equal to 'service'
	Kind *string `json:"kind,omitempty"`

	// Optional service section
	Ports []int32 `json:"ports"`

	// Rewrite path to remove polyaxon base url(i.e. /v1/services/namespace/owner/project/).
	// Default is false, the service shoud handle a base url.
	RewritePath bool `json:"rewritePath,omitempty"`

	// Optional sidecars section
	Sidecars []V1Container `json:"sidecars"`

	// Volumes is a list of volumes that can be mounted.
	Volumes []V1Volume `json:"volumes"`
}

V1Service Service specification

swagger:model v1Service

func (*V1Service) ContextValidate

func (m *V1Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service based on the context it is used

func (*V1Service) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Service) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Service) Validate

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

Validate validates this v1 service

type V1SettingsCatalog

type V1SettingsCatalog struct {

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

	// Uuid
	UUID string `json:"uuid,omitempty"`
}

V1SettingsCatalog Settings catalog specification

swagger:model v1SettingsCatalog

func (*V1SettingsCatalog) ContextValidate

func (m *V1SettingsCatalog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 settings catalog based on context it is used

func (*V1SettingsCatalog) MarshalBinary

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

MarshalBinary interface implementation

func (*V1SettingsCatalog) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1SettingsCatalog) Validate

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

Validate validates this v1 settings catalog

type V1Spark

type V1Spark struct {

	// Arguments is a list of arguments to be passed to the application.
	Arguments []string `json:"arguments"`

	// Optional connections section
	Connections []string `json:"connections"`

	// Mode is the deployment mode of the Spark application.
	DeployMode *SparkDeployMode `json:"deployMode,omitempty"`

	// Optional spark driver definition
	Driver *V1SparkReplica `json:"driver,omitempty"`

	// Optional spark executor definition
	Executor *V1SparkReplica `json:"executor,omitempty"`

	// HadoopConf carries user-specified Hadoop configuration properties as they would use the  the "--conf" option
	// in spark-submit.  The SparkApplication controller automatically adds prefix "spark.hadoop." to Hadoop
	// configuration properties.
	HadoopConf map[string]string `json:"hadoopConf,omitempty"`

	// HadoopConfigMap carries the name of the ConfigMap containing Hadoop configuration files such as core-site.xml.
	// The controller will add environment variable HADOOP_CONF_DIR to the path where the ConfigMap is mounted to.
	HadoopConfigMap string `json:"hadoopConfigMap,omitempty"`

	// Kind of runtime, should be equal to "spark"
	Kind *string `json:"kind,omitempty"`

	// MainFile is the path to a bundled JAR, Python, or R file of the application.
	MainApplicationFile string `json:"mainApplicationFile,omitempty"`

	// MainClass is the fully-qualified main class of the Spark application.
	// This only applies to Java/Scala Spark applications.
	MainClass string `json:"mainClass,omitempty"`

	// Spark version is the version of Spark the application uses.
	PythonVersion string `json:"pythonVersion,omitempty"`

	// HadoopConf carries user-specified Hadoop configuration properties as they would use the  the "--conf" option
	// in spark-submit.  The SparkApplication controller automatically adds prefix "spark.hadoop." to Hadoop
	// configuration properties.
	SparkConf map[string]string `json:"sparkConf,omitempty"`

	// SparkConfigMap carries the name of the ConfigMap containing Spark configuration files such as log4j.properties.
	// The controller will add environment variable SPARK_CONF_DIR to the path where the ConfigMap is mounted to.
	SparkConfigMap string `json:"sparkConfigMap,omitempty"`

	// Spark version is the version of Spark the application uses.
	SparkVersion string `json:"sparkVersion,omitempty"`

	// Type tells the type of the Spark application.
	Type *V1SparkType `json:"type,omitempty"`

	// Volumes is a list of volumes that can be mounted.
	Volumes []V1Volume `json:"volumes"`
}

V1Spark Spark specification

swagger:model v1Spark

func (*V1Spark) ContextValidate

func (m *V1Spark) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 spark based on the context it is used

func (*V1Spark) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Spark) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Spark) Validate

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

Validate validates this v1 spark

type V1SparkReplica

type V1SparkReplica struct {

	// Optional container to run
	Container V1Container `json:"container,omitempty"`

	// Optional environment section
	Environment *V1Environment `json:"environment,omitempty"`

	// Optional init connections section
	Init []*V1Init `json:"init"`

	// Number of replicas
	Replicas int32 `json:"replicas,omitempty"`

	// Optional sidecars section
	Sidecars []V1Container `json:"sidecars"`
}

V1SparkReplica Spark replica definition

swagger:model v1SparkReplica

func (*V1SparkReplica) ContextValidate

func (m *V1SparkReplica) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 spark replica based on the context it is used

func (*V1SparkReplica) MarshalBinary

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

MarshalBinary interface implementation

func (*V1SparkReplica) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1SparkReplica) Validate

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

Validate validates this v1 spark replica

type V1SparkType

type V1SparkType string

V1SparkType v1 spark type

swagger:model v1SparkType

const (

	// V1SparkTypeJava captures enum value "java"
	V1SparkTypeJava V1SparkType = "java"

	// V1SparkTypeScala captures enum value "scala"
	V1SparkTypeScala V1SparkType = "scala"

	// V1SparkTypePython captures enum value "python"
	V1SparkTypePython V1SparkType = "python"

	// V1SparkTypeR captures enum value "r"
	V1SparkTypeR V1SparkType = "r"
)

func NewV1SparkType

func NewV1SparkType(value V1SparkType) *V1SparkType

func (V1SparkType) ContextValidate

func (m V1SparkType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 spark type based on context it is used

func (V1SparkType) Validate

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

Validate validates this v1 spark type

type V1Stage

type V1Stage struct {

	// The current stage
	Stage *V1Stages `json:"stage,omitempty"`

	// The stage conditions timeline
	StageConditions []*V1StageCondition `json:"stage_conditions"`

	// The uuid of the stage
	UUID string `json:"uuid,omitempty"`
}

V1Stage Stage specification

swagger:model v1Stage

func (*V1Stage) ContextValidate

func (m *V1Stage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 stage based on the context it is used

func (*V1Stage) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Stage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Stage) Validate

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

Validate validates this v1 stage

type V1StageCondition

type V1StageCondition struct {

	// last transition time
	// Format: date-time
	LastTransitionTime strfmt.DateTime `json:"last_transition_time,omitempty"`

	// last update time
	// Format: date-time
	LastUpdateTime strfmt.DateTime `json:"last_update_time,omitempty"`

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

	// Status reason
	Reason string `json:"reason,omitempty"`

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

	// Status type
	Type *V1Stages `json:"type,omitempty"`
}

V1StageCondition stage condition specification

swagger:model v1StageCondition

func (*V1StageCondition) ContextValidate

func (m *V1StageCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 stage condition based on the context it is used

func (*V1StageCondition) MarshalBinary

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

MarshalBinary interface implementation

func (*V1StageCondition) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1StageCondition) Validate

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

Validate validates this v1 stage condition

type V1Stages

type V1Stages string

V1Stages v1 stages

swagger:model v1Stages

const (

	// V1StagesTesting captures enum value "testing"
	V1StagesTesting V1Stages = "testing"

	// V1StagesStaging captures enum value "staging"
	V1StagesStaging V1Stages = "staging"

	// V1StagesProduction captures enum value "production"
	V1StagesProduction V1Stages = "production"

	// V1StagesDisabled captures enum value "disabled"
	V1StagesDisabled V1Stages = "disabled"
)

func NewV1Stages

func NewV1Stages(value V1Stages) *V1Stages

func (V1Stages) ContextValidate

func (m V1Stages) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 stages based on context it is used

func (V1Stages) Validate

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

Validate validates this v1 stages

type V1Status

type V1Status struct {

	// The current status
	Status *V1Statuses `json:"status,omitempty"`

	// The status conditions timeline
	StatusConditions []*V1StatusCondition `json:"status_conditions"`

	// The uuid of the status
	UUID string `json:"uuid,omitempty"`
}

V1Status Status specification

swagger:model v1Status

func (*V1Status) ContextValidate

func (m *V1Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 status based on the context it is used

func (*V1Status) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Status) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Status) Validate

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

Validate validates this v1 status

type V1StatusCondition

type V1StatusCondition struct {

	// last transition time
	// Format: date-time
	LastTransitionTime strfmt.DateTime `json:"last_transition_time,omitempty"`

	// last update time
	// Format: date-time
	LastUpdateTime strfmt.DateTime `json:"last_update_time,omitempty"`

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

	// Status reason
	Reason string `json:"reason,omitempty"`

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

	// Status type
	Type *V1Statuses `json:"type,omitempty"`
}

V1StatusCondition Status condition specification

swagger:model v1StatusCondition

func (*V1StatusCondition) ContextValidate

func (m *V1StatusCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 status condition based on the context it is used

func (*V1StatusCondition) MarshalBinary

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

MarshalBinary interface implementation

func (*V1StatusCondition) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1StatusCondition) Validate

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

Validate validates this v1 status condition

type V1Statuses

type V1Statuses string

V1Statuses v1 statuses

swagger:model v1Statuses

const (

	// V1StatusesCreated captures enum value "created"
	V1StatusesCreated V1Statuses = "created"

	// V1StatusesResuming captures enum value "resuming"
	V1StatusesResuming V1Statuses = "resuming"

	// V1StatusesOnSchedule captures enum value "on_schedule"
	V1StatusesOnSchedule V1Statuses = "on_schedule"

	// V1StatusesCompiled captures enum value "compiled"
	V1StatusesCompiled V1Statuses = "compiled"

	// V1StatusesQueued captures enum value "queued"
	V1StatusesQueued V1Statuses = "queued"

	// V1StatusesScheduled captures enum value "scheduled"
	V1StatusesScheduled V1Statuses = "scheduled"

	// V1StatusesStarting captures enum value "starting"
	V1StatusesStarting V1Statuses = "starting"

	// V1StatusesRunning captures enum value "running"
	V1StatusesRunning V1Statuses = "running"

	// V1StatusesProcessing captures enum value "processing"
	V1StatusesProcessing V1Statuses = "processing"

	// V1StatusesStopping captures enum value "stopping"
	V1StatusesStopping V1Statuses = "stopping"

	// V1StatusesFailed captures enum value "failed"
	V1StatusesFailed V1Statuses = "failed"

	// V1StatusesStopped captures enum value "stopped"
	V1StatusesStopped V1Statuses = "stopped"

	// V1StatusesSucceeded captures enum value "succeeded"
	V1StatusesSucceeded V1Statuses = "succeeded"

	// V1StatusesSkipped captures enum value "skipped"
	V1StatusesSkipped V1Statuses = "skipped"

	// V1StatusesWarning captures enum value "warning"
	V1StatusesWarning V1Statuses = "warning"

	// V1StatusesUnschedulable captures enum value "unschedulable"
	V1StatusesUnschedulable V1Statuses = "unschedulable"

	// V1StatusesUpstreamFailed captures enum value "upstream_failed"
	V1StatusesUpstreamFailed V1Statuses = "upstream_failed"

	// V1StatusesRetrying captures enum value "retrying"
	V1StatusesRetrying V1Statuses = "retrying"

	// V1StatusesUnknown captures enum value "unknown"
	V1StatusesUnknown V1Statuses = "unknown"

	// V1StatusesDone captures enum value "done"
	V1StatusesDone V1Statuses = "done"
)

func NewV1Statuses

func NewV1Statuses(value V1Statuses) *V1Statuses

func (V1Statuses) ContextValidate

func (m V1Statuses) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 statuses based on context it is used

func (V1Statuses) Validate

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

Validate validates this v1 statuses

type V1TFJob

type V1TFJob struct {

	// Optional chief replica definition
	Chief *V1KFReplica `json:"chief,omitempty"`

	// optional clean pod policy section
	CleanPodPolicy *V1CleanPodPolicy `json:"cleanPodPolicy,omitempty"`

	// Optional evaluator replica definition
	Evaluator *V1KFReplica `json:"evaluator,omitempty"`

	// Optional component kind, should be equal to 'pytorch_job'
	Kind *string `json:"kind,omitempty"`

	// Optional ps replica definition
	Ps *V1KFReplica `json:"ps,omitempty"`

	// Optional worker replica definition
	Worker *V1KFReplica `json:"worker,omitempty"`
}

V1TFJob TF Job specification

swagger:model v1TFJob

func (*V1TFJob) ContextValidate

func (m *V1TFJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 t f job based on the context it is used

func (*V1TFJob) MarshalBinary

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

MarshalBinary interface implementation

func (*V1TFJob) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1TFJob) Validate

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

Validate validates this v1 t f job

type V1Team

type V1Team struct {

	// hubs
	ComponentHubs []string `json:"component_hubs"`

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// registries
	ModelRegistries []string `json:"model_registries"`

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

	// projects
	Projects []string `json:"projects"`

	// settings
	Settings *V1TeamSettings `json:"settings,omitempty"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Uuid
	UUID string `json:"uuid,omitempty"`
}

V1Team Team specification

swagger:model v1Team

func (*V1Team) ContextValidate

func (m *V1Team) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 team based on the context it is used

func (*V1Team) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Team) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Team) Validate

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

Validate validates this v1 team

type V1TeamMember

type V1TeamMember struct {

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Organization Role
	OrgRole string `json:"org_role,omitempty"`

	// Role
	Role string `json:"role,omitempty"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// User
	User string `json:"user,omitempty"`

	// User email
	UserEmail string `json:"user_email,omitempty"`
}

V1TeamMember Team member specification

swagger:model v1TeamMember

func (*V1TeamMember) ContextValidate

func (m *V1TeamMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 team member based on context it is used

func (*V1TeamMember) MarshalBinary

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

MarshalBinary interface implementation

func (*V1TeamMember) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1TeamMember) Validate

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

Validate validates this v1 team member

type V1TeamSettings

type V1TeamSettings struct {

	// Component hubs
	Hubs []*V1SettingsCatalog `json:"hubs"`

	// Projects
	Projects []*V1SettingsCatalog `json:"projects"`

	// Model registries
	Registries []*V1SettingsCatalog `json:"registries"`
}

V1TeamSettings Run Settings specification

swagger:model v1TeamSettings

func (*V1TeamSettings) ContextValidate

func (m *V1TeamSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 team settings based on the context it is used

func (*V1TeamSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1TeamSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1TeamSettings) Validate

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

Validate validates this v1 team settings

type V1Template

type V1Template struct {

	// Template description
	Description string `json:"description,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// Fields that require customization
	Fields []string `json:"fields"`
}

V1Template Template specification

swagger:model v1Template

func (*V1Template) ContextValidate

func (m *V1Template) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 template based on context it is used

func (*V1Template) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Template) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Template) Validate

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

Validate validates this v1 template

type V1Termination

type V1Termination struct {

	// Max retries for a specific run
	MaxRetries int32 `json:"maxRetries,omitempty"`

	// A timeout in seconds
	Timeout int32 `json:"timeout,omitempty"`

	// A TTL definition
	TTL int32 `json:"ttl,omitempty"`
}

V1Termination Termination specification, it defines how to handle failures, job runtime, and cleanup policy.

swagger:model v1Termination

func (*V1Termination) ContextValidate

func (m *V1Termination) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 termination based on context it is used

func (*V1Termination) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Termination) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Termination) Validate

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

Validate validates this v1 termination

type V1Token

type V1Token struct {

	// Optional time when the entity was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Write only expiration day
	Expiration int32 `json:"expiration,omitempty"`

	// Optional time when the entity was created
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expires_at,omitempty"`

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

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

	// Optional scopes allowed for this token
	Scopes []string `json:"scopes"`

	// Optional services allowed for this token
	Services []string `json:"services"`

	// Optional time when the entity was created
	// Format: date-time
	StartedAt strfmt.DateTime `json:"started_at,omitempty"`

	// Optional last time the entity was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// UUID
	UUID string `json:"uuid,omitempty"`
}

V1Token Token specification

swagger:model v1Token

func (*V1Token) ContextValidate

func (m *V1Token) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 token based on context it is used

func (*V1Token) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Token) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Token) Validate

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

Validate validates this v1 token

type V1Toleration

type V1Toleration interface{}

V1Toleration Placeholder for Toleration

swagger:model v1Toleration

type V1TrialStart

type V1TrialStart struct {

	// Details
	Details interface{} `json:"details,omitempty"`

	// Email
	Email string `json:"email,omitempty"`

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

	// Organization
	Organization string `json:"organization,omitempty"`

	// Plan
	Plan string `json:"plan,omitempty"`

	// Sets
	Seats int32 `json:"seats,omitempty"`
}

V1TrialStart Trial start

swagger:model v1TrialStart

func (*V1TrialStart) ContextValidate

func (m *V1TrialStart) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 trial start based on context it is used

func (*V1TrialStart) MarshalBinary

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

MarshalBinary interface implementation

func (*V1TrialStart) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1TrialStart) Validate

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

Validate validates this v1 trial start

type V1TriggerPolicy

type V1TriggerPolicy string

V1TriggerPolicy TriggerPolicy enum

swagger:model v1TriggerPolicy

const (

	// V1TriggerPolicyAllSucceeded captures enum value "all_succeeded"
	V1TriggerPolicyAllSucceeded V1TriggerPolicy = "all_succeeded"

	// V1TriggerPolicyAllFailed captures enum value "all_failed"
	V1TriggerPolicyAllFailed V1TriggerPolicy = "all_failed"

	// V1TriggerPolicyAllDone captures enum value "all_done"
	V1TriggerPolicyAllDone V1TriggerPolicy = "all_done"

	// V1TriggerPolicyOneSucceeded captures enum value "one_succeeded"
	V1TriggerPolicyOneSucceeded V1TriggerPolicy = "one_succeeded"

	// V1TriggerPolicyOneFailed captures enum value "one_failed"
	V1TriggerPolicyOneFailed V1TriggerPolicy = "one_failed"

	// V1TriggerPolicyOneDone captures enum value "one_done"
	V1TriggerPolicyOneDone V1TriggerPolicy = "one_done"
)

func NewV1TriggerPolicy

func NewV1TriggerPolicy(value V1TriggerPolicy) *V1TriggerPolicy

func (V1TriggerPolicy) ContextValidate

func (m V1TriggerPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 trigger policy based on context it is used

func (V1TriggerPolicy) Validate

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

Validate validates this v1 trigger policy

type V1TruncationStoppingPolicy

type V1TruncationStoppingPolicy struct {

	// Interval/Frequency for applying the policy.
	EvaluationInterval int32 `json:"evaluationInterval,omitempty"`

	// Flag to include or not the succeeded runs in the calculation
	IncludeSucceeded bool `json:"includeSucceeded,omitempty"`

	// Kind of this stopping policy, should be equal to "truncation"
	Kind *string `json:"kind,omitempty"`

	// Min interval (e.g steps) before starting the process
	MinInterval int32 `json:"minInterval,omitempty"`

	// Min samples runs succeeded before starting the process
	MinSamples int32 `json:"minSamples,omitempty"`

	// The percentage of runs to stop, at each evaluation interval.
	// e.g. 1 - 99.
	Percent int32 `json:"percent,omitempty"`
}

V1TruncationStoppingPolicy Early stopping with truncation stopping, this policy stops a percentage of all running runs at every evaluation.

swagger:model v1TruncationStoppingPolicy

func (*V1TruncationStoppingPolicy) ContextValidate

func (m *V1TruncationStoppingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 truncation stopping policy based on context it is used

func (*V1TruncationStoppingPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*V1TruncationStoppingPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1TruncationStoppingPolicy) Validate

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

Validate validates this v1 truncation stopping policy

type V1Tuner

type V1Tuner struct {

	// Component name to use
	HubRef string `json:"hubRef,omitempty"`

	// Optional dict of params
	Params map[string]V1Param `json:"params,omitempty"`

	// Optional list of presets to use for running this tuner
	Presets []string `json:"presets"`

	// Optional queue to use for scheduling the tuner
	Queue string `json:"queue,omitempty"`
}

V1Tuner Tuner definition

swagger:model v1Tuner

func (*V1Tuner) ContextValidate

func (m *V1Tuner) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 tuner based on the context it is used

func (*V1Tuner) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Tuner) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Tuner) Validate

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

Validate validates this v1 tuner

type V1URIType

type V1URIType struct {

	// Optional host
	Host bool `json:"host,omitempty"`

	// Optional password
	Password string `json:"password,omitempty"`

	// Optional user
	User string `json:"user,omitempty"`
}

V1URIType Uri type specification

swagger:model v1UriType

func (*V1URIType) ContextValidate

func (m *V1URIType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 Uri type based on context it is used

func (*V1URIType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1URIType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1URIType) Validate

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

Validate validates this v1 Uri type

type V1URLRef

type V1URLRef struct {

	// Kind of reference, should be equal to "url_ref"
	Kind *string `json:"kind,omitempty"`

	// Value
	URL string `json:"url,omitempty"`
}

V1URLRef Url reference specification

swagger:model v1UrlRef

func (*V1URLRef) ContextValidate

func (m *V1URLRef) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 Url ref based on context it is used

func (*V1URLRef) MarshalBinary

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

MarshalBinary interface implementation

func (*V1URLRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1URLRef) Validate

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

Validate validates this v1 Url ref

type V1User

type V1User struct {

	// Email
	Email string `json:"email,omitempty"`

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

	// Default organization
	Organization string `json:"organization,omitempty"`

	// Theme
	Theme int32 `json:"theme,omitempty"`

	// Username
	Username string `json:"username,omitempty"`
}

V1User Auth specification

swagger:model v1User

func (*V1User) ContextValidate

func (m *V1User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 user based on context it is used

func (*V1User) MarshalBinary

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

MarshalBinary interface implementation

func (*V1User) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1User) Validate

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

Validate validates this v1 user

type V1UserEmail

type V1UserEmail struct {

	// User username
	Email string `json:"email,omitempty"`
}

V1UserEmail User email

swagger:model v1UserEmail

func (*V1UserEmail) ContextValidate

func (m *V1UserEmail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 user email based on context it is used

func (*V1UserEmail) MarshalBinary

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

MarshalBinary interface implementation

func (*V1UserEmail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1UserEmail) Validate

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

Validate validates this v1 user email

type V1UserSingup

type V1UserSingup struct {

	// User email
	Email string `json:"email,omitempty"`

	// Invitation key
	InvitationKey string `json:"invitation_key,omitempty"`

	// User organization
	Organization string `json:"organization,omitempty"`

	// User password
	Password string `json:"password,omitempty"`

	// User username
	Username string `json:"username,omitempty"`
}

V1UserSingup User singup

swagger:model v1UserSingup

func (*V1UserSingup) ContextValidate

func (m *V1UserSingup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 user singup based on context it is used

func (*V1UserSingup) MarshalBinary

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

MarshalBinary interface implementation

func (*V1UserSingup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1UserSingup) Validate

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

Validate validates this v1 user singup

type V1Uuids

type V1Uuids struct {

	// uuids
	Uuids []string `json:"uuids"`
}

V1Uuids v1 uuids

swagger:model v1Uuids

func (*V1Uuids) ContextValidate

func (m *V1Uuids) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 uuids based on context it is used

func (*V1Uuids) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Uuids) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Uuids) Validate

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

Validate validates this v1 uuids

type V1Version

type V1Version struct {

	// Latest version
	Latest string `json:"latest,omitempty"`

	// Min version
	Min string `json:"min,omitempty"`
}

V1Version Version specification

swagger:model v1Version

func (*V1Version) ContextValidate

func (m *V1Version) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 version based on context it is used

func (*V1Version) MarshalBinary

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

MarshalBinary interface implementation

func (*V1Version) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1Version) Validate

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

Validate validates this v1 version

type V1Volume

type V1Volume interface{}

V1Volume Placeholder for Volume

swagger:model v1Volume

type V1WasbType

type V1WasbType struct {

	// Optional container
	Container string `json:"container,omitempty"`

	// Optional path
	Path bool `json:"path,omitempty"`

	// Optional storage_account
	StorageAccount string `json:"storageAccount,omitempty"`
}

V1WasbType Wasb type specification

swagger:model v1WasbType

func (*V1WasbType) ContextValidate

func (m *V1WasbType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 wasb type based on context it is used

func (*V1WasbType) MarshalBinary

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

MarshalBinary interface implementation

func (*V1WasbType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1WasbType) Validate

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

Validate validates this v1 wasb type

Source Files

Jump to

Keyboard shortcuts

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