Documentation
¶
Index ¶
- type AgentStateResponseAgentState
- func (m *AgentStateResponseAgentState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AgentStateResponseAgentState) MarshalBinary() ([]byte, error)
- func (m *AgentStateResponseAgentState) UnmarshalBinary(b []byte) error
- func (m *AgentStateResponseAgentState) Validate(formats strfmt.Registry) error
- type MXJobMode
- type ProtobufAny
- type ProtobufNullValue
- type RuntimeError
- type SearchView
- type SparkDeployMode
- type V1Activity
- type V1Affinity
- type V1Agent
- type V1AgentStateResponse
- type V1AgentStatusBodyRequest
- func (m *V1AgentStatusBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1AgentStatusBodyRequest) MarshalBinary() ([]byte, error)
- func (m *V1AgentStatusBodyRequest) UnmarshalBinary(b []byte) error
- func (m *V1AgentStatusBodyRequest) Validate(formats strfmt.Registry) error
- type V1AnalyticsSpec
- type V1ArtifactKind
- type V1ArtifactTree
- type V1ArtifactsMount
- type V1ArtifactsType
- type V1Auth
- type V1AuthType
- type V1AverageStoppingPolicy
- func (m *V1AverageStoppingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1AverageStoppingPolicy) MarshalBinary() ([]byte, error)
- func (m *V1AverageStoppingPolicy) UnmarshalBinary(b []byte) error
- func (m *V1AverageStoppingPolicy) Validate(formats strfmt.Registry) error
- type V1Bayes
- type V1BucketConnection
- type V1Build
- type V1Cache
- type V1ClaimConnection
- type V1CleanPodPolicy
- type V1Cloning
- type V1CloningKind
- type V1Compatibility
- type V1CompiledOperation
- type V1Component
- type V1ConnectionKind
- type V1ConnectionResponse
- type V1ConnectionSchema
- type V1ConnectionType
- type V1Container
- type V1Credentials
- type V1CronSchedule
- type V1Dag
- type V1DagRef
- type V1Dashboard
- type V1DashboardSpec
- type V1Dask
- type V1DateTimeSchedule
- type V1DiffStoppingPolicy
- type V1DockerfileType
- type V1EarlyStopping
- type V1EntitiesTags
- type V1EntitiesTransfer
- type V1EntityNotificationBody
- func (m *V1EntityNotificationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1EntityNotificationBody) MarshalBinary() ([]byte, error)
- func (m *V1EntityNotificationBody) UnmarshalBinary(b []byte) error
- func (m *V1EntityNotificationBody) Validate(formats strfmt.Registry) error
- type V1EntityStageBodyRequest
- func (m *V1EntityStageBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1EntityStageBodyRequest) MarshalBinary() ([]byte, error)
- func (m *V1EntityStageBodyRequest) UnmarshalBinary(b []byte) error
- func (m *V1EntityStageBodyRequest) Validate(formats strfmt.Registry) error
- type V1EntityStatusBodyRequest
- func (m *V1EntityStatusBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1EntityStatusBodyRequest) MarshalBinary() ([]byte, error)
- func (m *V1EntityStatusBodyRequest) UnmarshalBinary(b []byte) error
- func (m *V1EntityStatusBodyRequest) Validate(formats strfmt.Registry) error
- type V1Environment
- type V1Event
- type V1EventArtifact
- type V1EventAudio
- type V1EventChart
- type V1EventChartKind
- type V1EventConfusionMatrix
- func (m *V1EventConfusionMatrix) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1EventConfusionMatrix) MarshalBinary() ([]byte, error)
- func (m *V1EventConfusionMatrix) UnmarshalBinary(b []byte) error
- func (m *V1EventConfusionMatrix) Validate(formats strfmt.Registry) error
- type V1EventCurve
- type V1EventCurveKind
- type V1EventDataframe
- type V1EventHistogram
- type V1EventImage
- type V1EventKind
- type V1EventModel
- type V1EventTrigger
- type V1EventType
- type V1EventVideo
- type V1EventsResponse
- type V1FailureEarlyStopping
- func (m *V1FailureEarlyStopping) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FailureEarlyStopping) MarshalBinary() ([]byte, error)
- func (m *V1FailureEarlyStopping) UnmarshalBinary(b []byte) error
- func (m *V1FailureEarlyStopping) Validate(formats strfmt.Registry) error
- type V1FileType
- type V1Flink
- type V1GcsType
- type V1GitConnection
- type V1GitType
- type V1GridSearch
- type V1Hook
- type V1HostAlias
- type V1HostConnection
- type V1HostPathConnection
- type V1HpChoice
- type V1HpDateRange
- type V1HpDateTimeRange
- type V1HpGeomSpace
- type V1HpLinSpace
- type V1HpLogNormal
- type V1HpLogSpace
- type V1HpLogUniform
- type V1HpNormal
- type V1HpPChoice
- type V1HpParams
- type V1HpQLogNormal
- type V1HpQLogUniform
- type V1HpQNormal
- type V1HpQUniform
- type V1HpRange
- type V1HpUniform
- type V1HubRef
- type V1Hyperband
- type V1Hyperopt
- type V1HyperoptAlgorithms
- type V1IO
- type V1Init
- type V1Installation
- type V1IntervalSchedule
- type V1Iterative
- type V1Job
- type V1Join
- type V1JoinParam
- type V1K8sResourceSchema
- type V1K8sResourceType
- type V1KFReplica
- type V1ListActivitiesResponse
- func (m *V1ListActivitiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListActivitiesResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListActivitiesResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListActivitiesResponse) Validate(formats strfmt.Registry) error
- type V1ListAgentsResponse
- type V1ListBookmarksResponse
- func (m *V1ListBookmarksResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListBookmarksResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListBookmarksResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListBookmarksResponse) Validate(formats strfmt.Registry) error
- type V1ListConnectionsResponse
- func (m *V1ListConnectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListConnectionsResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListConnectionsResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListConnectionsResponse) Validate(formats strfmt.Registry) error
- type V1ListDashboardsResponse
- func (m *V1ListDashboardsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListDashboardsResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListDashboardsResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListDashboardsResponse) Validate(formats strfmt.Registry) error
- type V1ListOrganizationMembersResponse
- func (m *V1ListOrganizationMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListOrganizationMembersResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListOrganizationMembersResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListOrganizationMembersResponse) Validate(formats strfmt.Registry) error
- type V1ListOrganizationsResponse
- func (m *V1ListOrganizationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListOrganizationsResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListOrganizationsResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListOrganizationsResponse) Validate(formats strfmt.Registry) error
- type V1ListPresetsResponse
- type V1ListProjectVersionsResponse
- func (m *V1ListProjectVersionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListProjectVersionsResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListProjectVersionsResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListProjectVersionsResponse) Validate(formats strfmt.Registry) error
- type V1ListProjectsResponse
- func (m *V1ListProjectsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListProjectsResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListProjectsResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListProjectsResponse) Validate(formats strfmt.Registry) error
- type V1ListQueuesResponse
- type V1ListRunArtifactsResponse
- func (m *V1ListRunArtifactsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListRunArtifactsResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListRunArtifactsResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListRunArtifactsResponse) Validate(formats strfmt.Registry) error
- type V1ListRunConnectionsResponse
- func (m *V1ListRunConnectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListRunConnectionsResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListRunConnectionsResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListRunConnectionsResponse) Validate(formats strfmt.Registry) error
- type V1ListRunEdgesResponse
- func (m *V1ListRunEdgesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListRunEdgesResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListRunEdgesResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListRunEdgesResponse) Validate(formats strfmt.Registry) error
- type V1ListRunsResponse
- type V1ListSearchesResponse
- func (m *V1ListSearchesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListSearchesResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListSearchesResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListSearchesResponse) Validate(formats strfmt.Registry) error
- type V1ListServiceAccountsResponse
- func (m *V1ListServiceAccountsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListServiceAccountsResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListServiceAccountsResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListServiceAccountsResponse) Validate(formats strfmt.Registry) error
- type V1ListTagsResponse
- type V1ListTeamMembersResponse
- func (m *V1ListTeamMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListTeamMembersResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListTeamMembersResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListTeamMembersResponse) Validate(formats strfmt.Registry) error
- type V1ListTeamsResponse
- type V1ListTokenResponse
- type V1Log
- type V1LogHandler
- type V1Logs
- type V1MPIJob
- type V1MXJob
- type V1Mapping
- type V1Matrix
- type V1MatrixKind
- type V1MedianStoppingPolicy
- func (m *V1MedianStoppingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MedianStoppingPolicy) MarshalBinary() ([]byte, error)
- func (m *V1MedianStoppingPolicy) UnmarshalBinary(b []byte) error
- func (m *V1MedianStoppingPolicy) Validate(formats strfmt.Registry) error
- type V1MetricEarlyStopping
- type V1Notification
- type V1Operation
- type V1OperationBody
- type V1Optimization
- type V1OptimizationMetric
- type V1OptimizationResource
- func (m *V1OptimizationResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1OptimizationResource) MarshalBinary() ([]byte, error)
- func (m *V1OptimizationResource) UnmarshalBinary(b []byte) error
- func (m *V1OptimizationResource) Validate(formats strfmt.Registry) error
- type V1Organization
- type V1OrganizationMember
- type V1PaddleJob
- type V1Param
- type V1PasswordChange
- type V1PatchStrategy
- type V1PathRef
- type V1Pipeline
- type V1PipelineKind
- type V1Plugins
- type V1PodDNSConfig
- type V1PodSecurityContext
- type V1PolyaxonInitContainer
- func (m *V1PolyaxonInitContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1PolyaxonInitContainer) MarshalBinary() ([]byte, error)
- func (m *V1PolyaxonInitContainer) UnmarshalBinary(b []byte) error
- func (m *V1PolyaxonInitContainer) Validate(formats strfmt.Registry) error
- type V1PolyaxonSidecarContainer
- func (m *V1PolyaxonSidecarContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1PolyaxonSidecarContainer) MarshalBinary() ([]byte, error)
- func (m *V1PolyaxonSidecarContainer) UnmarshalBinary(b []byte) error
- func (m *V1PolyaxonSidecarContainer) Validate(formats strfmt.Registry) error
- type V1Preset
- type V1Project
- type V1ProjectSettings
- type V1ProjectUserAccess
- type V1ProjectVersion
- type V1ProjectVersionKind
- type V1PytorchJob
- type V1Queue
- type V1RandomSearch
- type V1Ray
- type V1Reference
- type V1ResourceRequirements
- type V1ResourceType
- type V1Run
- type V1RunArtifact
- type V1RunArtifacts
- type V1RunConnection
- type V1RunEdge
- type V1RunEdgeKind
- type V1RunKind
- type V1RunPending
- type V1RunReferenceCatalog
- type V1RunResources
- type V1RunSchema
- type V1RunSettings
- type V1S3Type
- type V1Schedule
- type V1ScheduleKind
- type V1SchedulingPolicy
- type V1Schemas
- type V1Search
- type V1SearchSpec
- type V1SectionSpec
- type V1Service
- type V1ServiceAccount
- type V1SettingsCatalog
- type V1Spark
- type V1SparkReplica
- type V1SparkType
- type V1Stage
- type V1StageCondition
- type V1Stages
- type V1Status
- type V1StatusCondition
- type V1Statuses
- type V1TFJob
- type V1Tag
- type V1Team
- type V1TeamMember
- type V1TeamSettings
- type V1Template
- type V1TensorboardType
- type V1Termination
- type V1Token
- type V1Toleration
- type V1TrialStart
- type V1TriggerPolicy
- type V1TruncationStoppingPolicy
- func (m *V1TruncationStoppingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1TruncationStoppingPolicy) MarshalBinary() ([]byte, error)
- func (m *V1TruncationStoppingPolicy) UnmarshalBinary(b []byte) error
- func (m *V1TruncationStoppingPolicy) Validate(formats strfmt.Registry) error
- type V1Tuner
- type V1URIType
- type V1URLRef
- type V1User
- type V1UserEmail
- type V1UserSingup
- type V1Uuids
- type V1Version
- type V1Volume
- type V1WasbType
- type V1XGBoostJob
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 run checks Checks interface{} `json:"checks,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
type MXJobMode ¶
type MXJobMode string
MXJobMode - MXTrain: Train Mode, requires Server, Scheduler, Worker
- MXTune: Tune Mode, requires Tuner
swagger:model MXJobMode
func NewMXJobMode ¶
func (MXJobMode) ContextValidate ¶
ContextValidate validates this m x job mode based on context it is used
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 ¶
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
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 ¶
ContextValidate validates this protobuf null value based on context it is used
func (ProtobufNullValue) Pointer ¶ added in v1.14.3
func (m ProtobufNullValue) Pointer() *ProtobufNullValue
Pointer returns a pointer to a freshly-allocated ProtobufNullValue.
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 ¶
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
type SearchView ¶
type SearchView string
SearchView Search view
- any: Any view
- runs: Runs view
- selection: Selection view
- analytics: Analytics view
- components: Components view
- models: Models view
- artifacts: Artifacts view
- projects: Projects view
swagger:model SearchView
const ( // SearchViewAny captures enum value "any" SearchViewAny SearchView = "any" // SearchViewRuns captures enum value "runs" SearchViewRuns SearchView = "runs" // SearchViewSelection captures enum value "selection" SearchViewSelection SearchView = "selection" // SearchViewAnalytics captures enum value "analytics" SearchViewAnalytics SearchView = "analytics" // SearchViewComponents captures enum value "components" SearchViewComponents SearchView = "components" // SearchViewModels captures enum value "models" SearchViewModels SearchView = "models" // SearchViewArtifacts captures enum value "artifacts" SearchViewArtifacts SearchView = "artifacts" // SearchViewProjects captures enum value "projects" SearchViewProjects SearchView = "projects" )
func NewSearchView ¶
func NewSearchView(value SearchView) *SearchView
func (SearchView) ContextValidate ¶
ContextValidate validates this search view based on context it is used
func (SearchView) Pointer ¶ added in v1.14.3
func (m SearchView) Pointer() *SearchView
Pointer returns a pointer to a freshly-allocated SearchView.
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 ¶
ContextValidate validates this spark deploy mode based on context it is used
func (SparkDeployMode) Pointer ¶ added in v1.14.3
func (m SparkDeployMode) Pointer() *SparkDeployMode
Pointer returns a pointer to a freshly-allocated SparkDeployMode.
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 ¶
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
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 ¶
ContextValidate validate this v1 agent based on the context it is used
func (*V1Agent) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Agent) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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
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 ¶
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
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
- confusion: Confusion matrix event
- analysis: Analysis lineage
- iteration: Iteration lineage
- markdown: Mardown event
- system: System event
- artifact: Generic artifact
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" // V1ArtifactKindConfusion captures enum value "confusion" V1ArtifactKindConfusion V1ArtifactKind = "confusion" // V1ArtifactKindAnalysis captures enum value "analysis" V1ArtifactKindAnalysis V1ArtifactKind = "analysis" // V1ArtifactKindIteration captures enum value "iteration" V1ArtifactKindIteration V1ArtifactKind = "iteration" // V1ArtifactKindMarkdown captures enum value "markdown" V1ArtifactKindMarkdown V1ArtifactKind = "markdown" // V1ArtifactKindSystem captures enum value "system" V1ArtifactKindSystem V1ArtifactKind = "system" // V1ArtifactKindArtifact captures enum value "artifact" V1ArtifactKindArtifact V1ArtifactKind = "artifact" )
func NewV1ArtifactKind ¶
func NewV1ArtifactKind(value V1ArtifactKind) *V1ArtifactKind
func (V1ArtifactKind) ContextValidate ¶
ContextValidate validates this v1 artifact kind based on context it is used
func (V1ArtifactKind) Pointer ¶ added in v1.14.3
func (m V1ArtifactKind) Pointer() *V1ArtifactKind
Pointer returns a pointer to a freshly-allocated V1ArtifactKind.
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 ¶
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
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 ¶
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
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 ¶
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
type V1Auth ¶
type V1Auth struct { // token hash Token string `json:"token,omitempty"` }
V1Auth Auth specification
swagger:model v1Auth
func (*V1Auth) ContextValidate ¶
ContextValidate validates this v1 auth based on context it is used
func (*V1Auth) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Auth) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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
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 ¶
ContextValidate validate this v1 bayes based on the context it is used
func (*V1Bayes) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Bayes) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1BucketConnection ¶
type V1BucketConnection struct { // Bucket Bucket string `json:"bucket,omitempty"` }
V1BucketConnection Bucket connection schema validation specification
swagger:model v1BucketConnection
func (*V1BucketConnection) ContextValidate ¶
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
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 ¶
ContextValidate validate this v1 build based on the context it is used
func (*V1Build) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Build) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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, default behavior to consider all inputs/outputs Io []string `json:"io"` // Optional sections to consider for the cache, default behavior to consider container(command, args), init section, and connections section Sections []string `json:"sections"` // 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 ¶
ContextValidate validates this v1 cache based on context it is used
func (*V1Cache) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Cache) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 clean pod policy based on context it is used
func (V1CleanPodPolicy) Pointer ¶ added in v1.14.3
func (m V1CleanPodPolicy) Pointer() *V1CleanPodPolicy
Pointer returns a pointer to a freshly-allocated V1CleanPodPolicy.
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 ¶
ContextValidate validate this v1 cloning based on the context it is used
func (*V1Cloning) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Cloning) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 cloning kind based on context it is used
func (V1CloningKind) Pointer ¶ added in v1.14.3
func (m V1CloningKind) Pointer() *V1CloningKind
Pointer returns a pointer to a freshly-allocated V1CloningKind.
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this v1 connection kind based on context it is used
func (V1ConnectionKind) Pointer ¶ added in v1.14.3
func (m V1ConnectionKind) Pointer() *V1ConnectionKind
Pointer returns a pointer to a freshly-allocated V1ConnectionKind.
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 ¶
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
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 ¶
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
type V1ConnectionType ¶
type V1ConnectionType struct { // Optional Metadata annotations to pass to k8s Annotations map[string]string `json:"annotations,omitempty"` // ConfigMap resource schema ConfigMap *V1K8sResourceSchema `json:"configMap,omitempty"` // Optional connection description Description string `json:"description,omitempty"` // Environment variables Env []interface{} `json:"env"` // 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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validate this v1 dag based on the context it is used
func (*V1Dag) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Dag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 dag ref based on context it is used
func (*V1DagRef) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1DagRef) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 level OrgLevel bool `json:"org_level,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 ¶
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
type V1DashboardSpec ¶
type V1DashboardSpec struct { // Section Spec Sections []*V1SectionSpec `json:"sections"` }
V1DashboardSpec Dashboard spec definition
swagger:model v1DashboardSpec
func (*V1DashboardSpec) ContextValidate ¶
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
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 ¶
ContextValidate validate this v1 dask based on the context it is used
func (*V1Dask) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Dask) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
type V1DockerfileType ¶
type V1DockerfileType struct { // An optional list of strings or tuples for copying paths, translate to a COPY statements, if string is passed the path is copy to the workdir Copy []interface{} `json:"copy"` // 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 strings for exporting paths, translate to a PATH statements Path []string `json:"path"` // An optional list of strings or tuples for copying paths post run commands to leverage the cache, translate to a COPY statements, if string is passed the path is copy to the workdir PostRunCopy []interface{} `json:"post_run_copy"` // An optional list of strings 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"` // Optional username value to use, default to "polyaxon" Username int32 `json:"username,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 ¶
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
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 ¶
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
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 ¶
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
type V1EntitiesTransfer ¶
type V1EntitiesTransfer struct { // project Project string `json:"project,omitempty"` // uuids Uuids []string `json:"uuids"` }
V1EntitiesTransfer v1 entities transfer
swagger:model v1EntitiesTransfer
func (*V1EntitiesTransfer) ContextValidate ¶
ContextValidate validates this v1 entities transfer based on context it is used
func (*V1EntitiesTransfer) MarshalBinary ¶
func (m *V1EntitiesTransfer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1EntitiesTransfer) UnmarshalBinary ¶
func (m *V1EntitiesTransfer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type V1EntityStageBodyRequest ¶
type V1EntityStageBodyRequest struct { // Stage to set Condition *V1StageCondition `json:"condition,omitempty"` // Entity namespace Entity string `json:"entity,omitempty"` // Optional kind, only required for an version entity Kind string `json:"kind,omitempty"` // Name of the entity 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
type V1EntityStatusBodyRequest ¶
type V1EntityStatusBodyRequest struct { // Status to set Condition *V1StatusCondition `json:"condition,omitempty"` // Force flag Force bool `json:"force,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
type V1Environment ¶
type V1Environment struct { // Optional Affinity sets the scheduling constraints. Affinity V1Affinity `json:"affinity,omitempty"` // Optional Metadata annotations to pass to 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 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 ¶
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
type V1Event ¶
type V1Event struct { // artifact Artifact *V1EventArtifact `json:"artifact,omitempty"` // audio Audio *V1EventAudio `json:"audio,omitempty"` // chart Chart *V1EventChart `json:"chart,omitempty"` // confusion Confusion *V1EventConfusionMatrix `json:"confusion,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 ¶
ContextValidate validate this v1 event based on the context it is used
func (*V1Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this v1 event chart kind based on context it is used
func (V1EventChartKind) Pointer ¶ added in v1.14.3
func (m V1EventChartKind) Pointer() *V1EventChartKind
Pointer returns a pointer to a freshly-allocated V1EventChartKind.
type V1EventConfusionMatrix ¶
type V1EventConfusionMatrix struct { // X X []interface{} `json:"x"` // Y Y []interface{} `json:"y"` // Z Z []interface{} `json:"z"` }
V1EventConfusionMatrix Cofusion matrix spec definition
swagger:model v1EventConfusionMatrix
func (*V1EventConfusionMatrix) ContextValidate ¶
func (m *V1EventConfusionMatrix) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 event confusion matrix based on context it is used
func (*V1EventConfusionMatrix) MarshalBinary ¶
func (m *V1EventConfusionMatrix) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1EventConfusionMatrix) UnmarshalBinary ¶
func (m *V1EventConfusionMatrix) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 event curve kind based on context it is used
func (V1EventCurveKind) Pointer ¶ added in v1.14.3
func (m V1EventCurveKind) Pointer() *V1EventCurveKind
Pointer returns a pointer to a freshly-allocated V1EventCurveKind.
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this v1 event kind based on context it is used
func (V1EventKind) Pointer ¶ added in v1.14.3
func (m V1EventKind) Pointer() *V1EventKind
Pointer returns a pointer to a freshly-allocated V1EventKind.
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type V1EventsResponse ¶
type V1EventsResponse struct {
// Events data
Data []interface{} `json:"data"`
}
V1EventsResponse Events response definition
swagger:model v1EventsResponse
func (*V1EventsResponse) ContextValidate ¶
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
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
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 ¶
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
type V1Flink ¶
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 ¶
ContextValidate validates this v1 flink based on context it is used
func (*V1Flink) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Flink) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 gcs type based on context it is used
func (*V1GcsType) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1GcsType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 git type based on context it is used
func (*V1GitType) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1GitType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validate this v1 hook based on the context it is used
func (*V1Hook) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Hook) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
type V1HpDateRange ¶
type V1HpDateRange struct { // Kind of hp, should be equal to "daterange" Kind *string `json:"kind,omitempty"` // Value Value interface{} `json:"value,omitempty"` }
V1HpDateRange DateRange specification
swagger:model v1HpDateRange
func (*V1HpDateRange) ContextValidate ¶
ContextValidate validates this v1 hp date range based on context it is used
func (*V1HpDateRange) MarshalBinary ¶
func (m *V1HpDateRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1HpDateRange) UnmarshalBinary ¶
func (m *V1HpDateRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1HpDateTimeRange ¶
type V1HpDateTimeRange struct { // Kind of hp, should be equal to "datetimerange" Kind *string `json:"kind,omitempty"` // Value Value interface{} `json:"value,omitempty"` }
V1HpDateTimeRange DateTimeRange specification
swagger:model v1HpDateTimeRange
func (*V1HpDateTimeRange) ContextValidate ¶
ContextValidate validates this v1 hp date time range based on context it is used
func (*V1HpDateTimeRange) MarshalBinary ¶
func (m *V1HpDateTimeRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1HpDateTimeRange) UnmarshalBinary ¶
func (m *V1HpDateTimeRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type V1HpParams ¶
type V1HpParams struct { // choice Choice *V1HpChoice `json:"choice,omitempty"` // daterange Daterange *V1HpDateRange `json:"daterange,omitempty"` // datetimerange Datetimerange *V1HpDateTimeRange `json:"datetimerange,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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this v1 hp range based on context it is used
func (*V1HpRange) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1HpRange) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 hub ref based on context it is used
func (*V1HubRef) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1HubRef) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this v1 hyperopt algorithms based on context it is used
func (V1HyperoptAlgorithms) Pointer ¶ added in v1.14.3
func (m V1HyperoptAlgorithms) Pointer() *V1HyperoptAlgorithms
Pointer returns a pointer to a freshly-allocated V1HyperoptAlgorithms.
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 the environment variable passed ToEnv string `json:"toEnv,omitempty"` // 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 ¶
ContextValidate validates this v1 i o based on context it is used
func (*V1IO) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1IO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1Init ¶
type V1Init struct { // Artifact version initializer ArtifactRef string `json:"artifactRef,omitempty"` // Artifacts initializer 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 initializer File *V1FileType `json:"file,omitempty"` // Override for git connections Git *V1GitType `json:"git,omitempty"` // Lineage reference initializer LineageRef string `json:"lineageRef,omitempty"` // Model version initializer ModelRef string `json:"modelRef,omitempty"` // Optional context path, the path to mount to main the container Path string `json:"path,omitempty"` // Paths initializer Paths []interface{} `json:"paths"` // Tensorboard initializer Tensorboard *V1TensorboardType `json:"tensorboard,omitempty"` }
V1Init Initializer specification
swagger:model v1Init
func (*V1Init) ContextValidate ¶
ContextValidate validate this v1 init based on the context it is used
func (*V1Init) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Init) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validate this v1 job based on the context it is used
func (*V1Job) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Job) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this v1 join based on the context it is used
func (*V1Join) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Join) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 the environment variable passed ToEnv string `json:"toEnv,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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 of 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
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 of agents
swagger:model v1ListAgentsResponse
func (*V1ListAgentsResponse) ContextValidate ¶
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
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 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
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 of 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
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 of 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
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 of 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
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 of 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
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 of scheduling presets
swagger:model v1ListPresetsResponse
func (*V1ListPresetsResponse) ContextValidate ¶
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
type V1ListProjectVersionsResponse ¶ added in v1.14.0
type V1ListProjectVersionsResponse 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 []*V1ProjectVersion `json:"results"` }
V1ListProjectVersionsResponse Contains list of component hub
swagger:model v1ListProjectVersionsResponse
func (*V1ListProjectVersionsResponse) ContextValidate ¶ added in v1.14.0
func (m *V1ListProjectVersionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 list project versions response based on the context it is used
func (*V1ListProjectVersionsResponse) MarshalBinary ¶ added in v1.14.0
func (m *V1ListProjectVersionsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListProjectVersionsResponse) UnmarshalBinary ¶ added in v1.14.0
func (m *V1ListProjectVersionsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 of 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
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 of agents
swagger:model v1ListQueuesResponse
func (*V1ListQueuesResponse) ContextValidate ¶
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
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 of 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
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 of 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
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 of 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
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 of runs
swagger:model v1ListRunsResponse
func (*V1ListRunsResponse) ContextValidate ¶
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
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 of 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
type V1ListServiceAccountsResponse ¶
type V1ListServiceAccountsResponse 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 []*V1ServiceAccount `json:"results"` }
V1ListServiceAccountsResponse Contains list of service accounts
swagger:model v1ListServiceAccountsResponse
func (*V1ListServiceAccountsResponse) ContextValidate ¶
func (m *V1ListServiceAccountsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 list service accounts response based on the context it is used
func (*V1ListServiceAccountsResponse) MarshalBinary ¶
func (m *V1ListServiceAccountsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListServiceAccountsResponse) UnmarshalBinary ¶
func (m *V1ListServiceAccountsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ListTagsResponse ¶
type V1ListTagsResponse 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 []*V1Tag `json:"results"` }
V1ListTagsResponse Contains list of tags
swagger:model v1ListTagsResponse
func (*V1ListTagsResponse) ContextValidate ¶
ContextValidate validate this v1 list tags response based on the context it is used
func (*V1ListTagsResponse) MarshalBinary ¶
func (m *V1ListTagsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListTagsResponse) UnmarshalBinary ¶
func (m *V1ListTagsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 of 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
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 of teams
swagger:model v1ListTeamsResponse
func (*V1ListTeamsResponse) ContextValidate ¶
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
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 of tokens
swagger:model v1ListTokenResponse
func (*V1ListTokenResponse) ContextValidate ¶
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
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 ¶
ContextValidate validates this v1 log based on context it is used
func (*V1Log) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Log) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validate this v1 logs based on the context it is used
func (*V1Logs) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Logs) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` // Launcher replicas definition Launcher *V1KFReplica `json:"launcher,omitempty"` // optional scheduling policy section SchedulingPolicy *V1SchedulingPolicy `json:"schedulingPolicy,omitempty"` // Optional slots per worker SlotsPerWorker int32 `json:"slotsPerWorker,omitempty"` // Worker replicas definition Worker *V1KFReplica `json:"worker,omitempty"` }
V1MPIJob MPI Job specification
swagger:model v1MPIJob
func (*V1MPIJob) ContextValidate ¶
ContextValidate validate this v1 m p i job based on the context it is used
func (*V1MPIJob) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1MPIJob) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1MXJob ¶
type V1MXJob struct { // optional clean pod policy section CleanPodPolicy *V1CleanPodPolicy `json:"cleanPodPolicy,omitempty"` // Optional component kind, should be equal to 'mx_job' Kind *string `json:"kind,omitempty"` // MXJob mode "MXTrain" and "MXTune". Mode *MXJobMode `json:"mode,omitempty"` // Scheduler replicas definition Scheduler *V1KFReplica `json:"scheduler,omitempty"` // optional scheduling policy section SchedulingPolicy *V1SchedulingPolicy `json:"schedulingPolicy,omitempty"` // Server replicas definition Server *V1KFReplica `json:"server,omitempty"` // Tuner replicas definition Tuner *V1KFReplica `json:"tuner,omitempty"` // TunerServer replicas definition TunerServer *V1KFReplica `json:"tuner_server,omitempty"` // TunerTracker replicas definition TunerTracker *V1KFReplica `json:"tuner_tracker,omitempty"` // Worker replicas definition Worker *V1KFReplica `json:"worker,omitempty"` }
V1MXJob MXNet Job specification
swagger:model v1MXJob
func (*V1MXJob) ContextValidate ¶
ContextValidate validate this v1 m x job based on the context it is used
func (*V1MXJob) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1MXJob) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 mapping based on context it is used
func (*V1Mapping) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Mapping) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this v1 matrix based on the context it is used
func (*V1Matrix) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Matrix) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 matrix kind based on context it is used
func (V1MatrixKind) Pointer ¶ added in v1.14.3
func (m V1MatrixKind) Pointer() *V1MatrixKind
Pointer returns a pointer to a freshly-allocated V1MatrixKind.
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this v1 optimization based on context it is used
func (V1Optimization) Pointer ¶ added in v1.14.3
func (m V1Optimization) Pointer() *V1Optimization
Pointer returns a pointer to a freshly-allocated V1Optimization.
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 ¶
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
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
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 ¶
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
type V1OrganizationMember ¶
type V1OrganizationMember struct { // Optional time when the entity was created // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Kind Kind string `json:"kind,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 ¶
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
type V1PaddleJob ¶ added in v1.22.0
type V1PaddleJob struct { // optional clean pod policy section CleanPodPolicy *V1CleanPodPolicy `json:"cleanPodPolicy,omitempty"` // Optional component kind, should be equal to 'paddle_job' Kind *string `json:"kind,omitempty"` // Master replicas definition Master *V1KFReplica `json:"master,omitempty"` // optional scheduling policy section SchedulingPolicy *V1SchedulingPolicy `json:"schedulingPolicy,omitempty"` // Worker replicas definition Worker *V1KFReplica `json:"worker,omitempty"` }
V1PaddleJob Paddle Job specification
swagger:model v1PaddleJob
func (*V1PaddleJob) ContextValidate ¶ added in v1.22.0
ContextValidate validate this v1 paddle job based on the context it is used
func (*V1PaddleJob) MarshalBinary ¶ added in v1.22.0
func (m *V1PaddleJob) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PaddleJob) UnmarshalBinary ¶ added in v1.22.0
func (m *V1PaddleJob) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 io must be tranformed to the environment variable passed ToEnv string `json:"toEnv,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 ¶
ContextValidate validates this v1 param based on context it is used
func (*V1Param) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Param) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 patch strategy based on context it is used
func (V1PatchStrategy) Pointer ¶ added in v1.14.3
func (m V1PatchStrategy) Pointer() *V1PatchStrategy
Pointer returns a pointer to a freshly-allocated V1PatchStrategy.
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 ¶
ContextValidate validates this v1 path ref based on context it is used
func (*V1PathRef) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1PathRef) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 pipeline kind based on context it is used
func (V1PipelineKind) Pointer ¶ added in v1.14.3
func (m V1PipelineKind) Pointer() *V1PipelineKind
Pointer returns a pointer to a freshly-allocated V1PipelineKind.
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 ¶
ContextValidate validate this v1 plugins based on the context it is used
func (*V1Plugins) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Plugins) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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 ¶
ContextValidate validates this v1 preset based on context it is used
func (*V1Preset) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Preset) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 excluded features ExcludedFeatures []string `json:"excluded_features"` // Optional project excluded runtimes 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 Markdown description/readme 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 ¶
ContextValidate validate this v1 project based on the context it is used
func (*V1Project) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` // Authorized projects Projects []string `json:"projects"` // 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 ¶
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
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 ¶
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
type V1ProjectVersion ¶ added in v1.14.0
type V1ProjectVersion struct { // Artifacts lineage Artifacts []string `json:"artifacts"` // Connection name Connection string `json:"connection,omitempty"` // The metadata/content body 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 kind to tell the kind of this version Kind *V1ProjectVersionKind `json:"kind,omitempty"` // Extra information related to the run, lineage, artifacts, ... MetaInfo interface{} `json:"meta_info,omitempty"` // Optional component name, should be a valid fully qualified value: name[:version] Name string `json:"name,omitempty"` // Owner of this entity Owner string `json:"owner,omitempty"` // Project name Project string `json:"project,omitempty"` // Optional Markdown description/readme Readme string `json:"readme,omitempty"` // Current user's role in this (org/teams)/hub/version Role string `json:"role,omitempty"` // Run lineage Run string `json:"run,omitempty"` // Optional latest stage of this entity Stage *V1Stages `json:"stage,omitempty"` // The status conditions timeline StageConditions []*V1StageCondition `json:"stage_conditions"` // The version state read-only State string `json:"state,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"` }
V1ProjectVersion component hub specification
swagger:model v1ProjectVersion
func (*V1ProjectVersion) ContextValidate ¶ added in v1.14.0
ContextValidate validate this v1 project version based on the context it is used
func (*V1ProjectVersion) MarshalBinary ¶ added in v1.14.0
func (m *V1ProjectVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ProjectVersion) UnmarshalBinary ¶ added in v1.14.0
func (m *V1ProjectVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ProjectVersionKind ¶ added in v1.14.0
type V1ProjectVersionKind string
V1ProjectVersionKind v1 project version kind
swagger:model v1ProjectVersionKind
const ( // V1ProjectVersionKindComponent captures enum value "component" V1ProjectVersionKindComponent V1ProjectVersionKind = "component" // V1ProjectVersionKindModel captures enum value "model" V1ProjectVersionKindModel V1ProjectVersionKind = "model" // V1ProjectVersionKindArtifact captures enum value "artifact" V1ProjectVersionKindArtifact V1ProjectVersionKind = "artifact" )
func NewV1ProjectVersionKind ¶ added in v1.14.0
func NewV1ProjectVersionKind(value V1ProjectVersionKind) *V1ProjectVersionKind
func (V1ProjectVersionKind) ContextValidate ¶ added in v1.14.0
ContextValidate validates this v1 project version kind based on context it is used
func (V1ProjectVersionKind) Pointer ¶ added in v1.14.3
func (m V1ProjectVersionKind) Pointer() *V1ProjectVersionKind
Pointer returns a pointer to a freshly-allocated V1ProjectVersionKind.
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"` // Master replicas definition Master *V1KFReplica `json:"master,omitempty"` // optional scheduling policy section SchedulingPolicy *V1SchedulingPolicy `json:"schedulingPolicy,omitempty"` // Worker replicas definition Worker *V1KFReplica `json:"worker,omitempty"` }
V1PytorchJob Pytorch Job specification
swagger:model v1PytorchJob
func (*V1PytorchJob) ContextValidate ¶
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
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 queue quota Stats interface{} `json:"stats,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 ¶
ContextValidate validates this v1 queue based on context it is used
func (*V1Queue) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Queue) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 ray based on context it is used
func (*V1Ray) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Ray) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 resource type based on context it is used
func (V1ResourceType) Pointer ¶ added in v1.14.3
func (m V1ResourceType) Pointer() *V1ResourceType
Pointer returns a pointer to a freshly-allocated V1ResourceType.
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"` // Optional 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 ¶
ContextValidate validate this v1 run based on the context it is used
func (*V1Run) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Run) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1RunArtifact ¶
type V1RunArtifact struct { // Optional 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"` // Optional meta information MetaInfo interface{} `json:"meta_info,omitempty"` // Artifact name Name string `json:"name,omitempty"` // Artifact path Path string `json:"path,omitempty"` // Optional Run Run string `json:"run,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 ¶
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
type V1RunArtifacts ¶
type V1RunArtifacts struct { // Run Artifacts Artifacts []*V1RunArtifact `json:"artifacts"` }
V1RunArtifacts Run Artifacts spec definition
swagger:model v1RunArtifacts
func (*V1RunArtifacts) ContextValidate ¶
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
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 ¶
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
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 ¶
ContextValidate validate this v1 run edge based on the context it is used
func (*V1RunEdge) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1RunEdge) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 run edge kind based on context it is used
func (V1RunEdgeKind) Pointer ¶ added in v1.14.3
func (m V1RunEdgeKind) Pointer() *V1RunEdgeKind
Pointer returns a pointer to a freshly-allocated V1RunEdgeKind.
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" // V1RunKindPaddlejob captures enum value "paddlejob" V1RunKindPaddlejob V1RunKind = "paddlejob" // V1RunKindMxjob captures enum value "mxjob" V1RunKindMxjob V1RunKind = "mxjob" // V1RunKindXgbjob captures enum value "xgbjob" V1RunKindXgbjob V1RunKind = "xgbjob" // 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 (V1RunKind) ContextValidate ¶
ContextValidate validates this v1 run kind based on context it is used
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 ¶
ContextValidate validates this v1 run pending based on context it is used
func (V1RunPending) Pointer ¶ added in v1.14.3
func (m V1RunPending) Pointer() *V1RunPending
Pointer returns a pointer to a freshly-allocated V1RunPending.
type V1RunReferenceCatalog ¶
type V1RunReferenceCatalog struct { // Name Name string `json:"name,omitempty"` // Owner Owner string `json:"owner,omitempty"` // Project Project string `json:"project,omitempty"` }
V1RunReferenceCatalog Run Settings catalog specification
swagger:model v1RunReferenceCatalog
func (*V1RunReferenceCatalog) ContextValidate ¶
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
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 ¶
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
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"` // mx job MxJob *V1MXJob `json:"mxJob,omitempty"` // paddle job PaddleJob *V1PaddleJob `json:"paddleJob,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"` // xgboost job XgboostJob *V1XGBoostJob `json:"xgboostJob,omitempty"` }
V1RunSchema v1 run schema
swagger:model v1RunSchema
func (*V1RunSchema) ContextValidate ¶
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
type V1RunSettings ¶
type V1RunSettings struct { // Agent Agent *V1SettingsCatalog `json:"agent,omitempty"` // Artifact version references Artifacts []*V1RunReferenceCatalog `json:"artifacts"` // Artifacts Store ArtifactsStore *V1SettingsCatalog `json:"artifacts_store,omitempty"` // Build reference, if it exists Build interface{} `json:"build,omitempty"` // Component reference Component interface{} `json:"component,omitempty"` // Model version references Models []*V1RunReferenceCatalog `json:"models"` // 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 ¶
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
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 ¶
ContextValidate validates this v1 s3 type based on context it is used
func (*V1S3Type) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1S3Type) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 schedule kind based on context it is used
func (V1ScheduleKind) Pointer ¶ added in v1.14.3
func (m V1ScheduleKind) Pointer() *V1ScheduleKind
Pointer returns a pointer to a freshly-allocated V1ScheduleKind.
type V1SchedulingPolicy ¶
type V1SchedulingPolicy struct { // min available MinAvailable int32 `json:"minAvailable,omitempty"` // priority class PriorityClass string `json:"priorityClass,omitempty"` // queue Queue string `json:"queue,omitempty"` }
V1SchedulingPolicy v1 scheduling policy
swagger:model v1SchedulingPolicy
func (*V1SchedulingPolicy) ContextValidate ¶
ContextValidate validates this v1 scheduling policy based on context it is used
func (*V1SchedulingPolicy) MarshalBinary ¶
func (m *V1SchedulingPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SchedulingPolicy) UnmarshalBinary ¶
func (m *V1SchedulingPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this v1 schemas based on the context it is used
func (*V1Schemas) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Schemas) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` // Optional search level OrgLevel bool `json:"org_level,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 search view View *SearchView `json:"view,omitempty"` }
V1Search Search specification
swagger:model v1Search
func (*V1Search) ContextValidate ¶
ContextValidate validate this v1 search based on the context it is used
func (*V1Search) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Search) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1SearchSpec ¶
type V1SearchSpec struct { // Optional analytics specification Analytics *V1AnalyticsSpec `json:"analytics,omitempty"` // Search columns Columns string `json:"columns,omitempty"` // Compare Flags Compares string `json:"compares,omitempty"` // Optional events specification Events *V1DashboardSpec `json:"events,omitempty"` // Search group bys Groupby string `json:"groupby,omitempty"` // Optional heat fields Heat string `json:"heat,omitempty"` // Optional histograms specification Histograms interface{} `json:"histograms,omitempty"` // Search layout Layout string `json:"layout,omitempty"` // Limit size Limit int32 `json:"limit,omitempty"` // Offset value Offset int32 `json:"offset,omitempty"` // Search query Query string `json:"query,omitempty"` // Search sections 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 ¶
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
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 ¶
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
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 flag to signal to Polyaxon that this service should not go through Polyaxon's auth // Default is false, the service will be controlled by Polyaxon's auth. IsExternal bool `json:"isExternal,omitempty"` // Optional component kind, should be equal to 'service' Kind *string `json:"kind,omitempty"` // Optional service section Ports []int32 `json:"ports"` // Optional value to provision more than a single replica for the service Replicas int32 `json:"replicas,omitempty"` // 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 ¶
ContextValidate validate this v1 service based on the context it is used
func (*V1Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1ServiceAccount ¶
type V1ServiceAccount 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"` // Name Name string `json:"name,omitempty"` // Optional scopes allowed for this service account Scopes []string `json:"scopes"` // Optional services allowed for this service account Services []string `json:"services"` // 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"` }
V1ServiceAccount ServiceAccount specification
swagger:model v1ServiceAccount
func (*V1ServiceAccount) ContextValidate ¶
ContextValidate validates this v1 service account based on context it is used
func (*V1ServiceAccount) MarshalBinary ¶
func (m *V1ServiceAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ServiceAccount) UnmarshalBinary ¶
func (m *V1ServiceAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validate this v1 spark based on the context it is used
func (*V1Spark) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Spark) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 spark type based on context it is used
func (V1SparkType) Pointer ¶ added in v1.14.3
func (m V1SparkType) Pointer() *V1SparkType
Pointer returns a pointer to a freshly-allocated V1SparkType.
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 ¶
ContextValidate validate this v1 stage based on the context it is used
func (*V1Stage) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Stage) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 (V1Stages) ContextValidate ¶
ContextValidate validates this v1 stages based on context it is used
type V1Status ¶
type V1Status struct { // Additional optional meta_info MetaInfo interface{} `json:"meta_info,omitempty"` // 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 ¶
ContextValidate validate this v1 status based on the context it is used
func (*V1Status) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Status) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 statuses based on context it is used
func (V1Statuses) Pointer ¶ added in v1.14.3
func (m V1Statuses) Pointer() *V1Statuses
Pointer returns a pointer to a freshly-allocated V1Statuses.
type V1TFJob ¶
type V1TFJob struct { // Chief replicas definition Chief *V1KFReplica `json:"chief,omitempty"` // optional clean pod policy section CleanPodPolicy *V1CleanPodPolicy `json:"cleanPodPolicy,omitempty"` // optional flag to enable dynamic worker EnableDynamicWorker bool `json:"enableDynamicWorker,omitempty"` // Evaluator replicas definition Evaluator *V1KFReplica `json:"evaluator,omitempty"` // Optional component kind, should be equal to 'tf_job' Kind *string `json:"kind,omitempty"` // PS replicas definition Ps *V1KFReplica `json:"ps,omitempty"` // optional scheduling policy section SchedulingPolicy *V1SchedulingPolicy `json:"schedulingPolicy,omitempty"` // Worker replicas definition Worker *V1KFReplica `json:"worker,omitempty"` }
V1TFJob TF Job specification
swagger:model v1TFJob
func (*V1TFJob) ContextValidate ¶
ContextValidate validate this v1 t f job based on the context it is used
func (*V1TFJob) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1TFJob) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1Tag ¶
type V1Tag struct { // Optional Tag color Color string `json:"color,omitempty"` // Optional tag description Description string `json:"description,omitempty"` // Optional tag icon Icon string `json:"icon,omitempty"` // Tag name Name string `json:"name,omitempty"` // Optional tag stats Stats interface{} `json:"stats,omitempty"` // UUID UUID string `json:"uuid,omitempty"` }
V1Tag Tag specification
swagger:model v1Tag
func (*V1Tag) ContextValidate ¶
ContextValidate validates this v1 tag based on context it is used
func (*V1Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this v1 team based on the context it is used
func (*V1Team) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Team) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
type V1TensorboardType ¶ added in v1.18.2
type V1TensorboardType struct { // An optional path prefix to use for exposing the service PathPrefix string `json:"path_prefix,omitempty"` // An optional comma separated list of plugins to install before starting the tensorboard service Plugins string `json:"plugins,omitempty"` // Port to expose the tensorboard service Port int32 `json:"port,omitempty"` // A flag to initialize the paths under the operation's names UseNames bool `json:"use_names,omitempty"` // A comma separated list of operation's uuids to load the tensorboard logs from Uuids []string `json:"uuids"` }
V1TensorboardType Tensorboard type specification
swagger:model v1TensorboardType
func (*V1TensorboardType) ContextValidate ¶ added in v1.18.2
ContextValidate validates this v1 tensorboard type based on context it is used
func (*V1TensorboardType) MarshalBinary ¶ added in v1.18.2
func (m *V1TensorboardType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TensorboardType) UnmarshalBinary ¶ added in v1.18.2
func (m *V1TensorboardType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 token based on context it is used
func (*V1Token) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Token) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this v1 trigger policy based on context it is used
func (V1TriggerPolicy) Pointer ¶ added in v1.14.3
func (m V1TriggerPolicy) Pointer() *V1TriggerPolicy
Pointer returns a pointer to a freshly-allocated V1TriggerPolicy.
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
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 ¶
ContextValidate validate this v1 tuner based on the context it is used
func (*V1Tuner) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Tuner) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 Uri type based on context it is used
func (*V1URIType) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1URIType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 Url ref based on context it is used
func (*V1URLRef) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1URLRef) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1User ¶
type V1User struct { // Email Email string `json:"email,omitempty"` // Kind Kind string `json:"kind,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 ¶
ContextValidate validates this v1 user based on context it is used
func (*V1User) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1UserEmail ¶
type V1UserEmail struct { // User username Email string `json:"email,omitempty"` }
V1UserEmail User email
swagger:model v1UserEmail
func (*V1UserEmail) ContextValidate ¶
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
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 ¶
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
type V1Uuids ¶
type V1Uuids struct { // uuids Uuids []string `json:"uuids"` }
V1Uuids v1 uuids
swagger:model v1Uuids
func (*V1Uuids) ContextValidate ¶
ContextValidate validates this v1 uuids based on context it is used
func (*V1Uuids) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Uuids) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this v1 version based on context it is used
func (*V1Version) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Version) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
type V1XGBoostJob ¶
type V1XGBoostJob struct { // optional clean pod policy section CleanPodPolicy *V1CleanPodPolicy `json:"cleanPodPolicy,omitempty"` // Optional component kind, should be equal to 'xgboost_job' Kind *string `json:"kind,omitempty"` // Master replicas definition Master *V1KFReplica `json:"master,omitempty"` // optional scheduling policy section SchedulingPolicy *V1SchedulingPolicy `json:"schedulingPolicy,omitempty"` // Worker replicas definition Worker *V1KFReplica `json:"worker,omitempty"` }
V1XGBoostJob XGBoost Job specification
swagger:model v1XGBoostJob
func (*V1XGBoostJob) ContextValidate ¶
ContextValidate validate this v1 x g boost job based on the context it is used
func (*V1XGBoostJob) MarshalBinary ¶
func (m *V1XGBoostJob) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1XGBoostJob) UnmarshalBinary ¶
func (m *V1XGBoostJob) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- agent_state_response_agent_state.go
- m_x_job_mode.go
- protobuf_any.go
- protobuf_null_value.go
- runtime_error.go
- search_view.go
- spark_deploy_mode.go
- v1_activity.go
- v1_affinity.go
- v1_agent.go
- v1_agent_state_response.go
- v1_agent_status_body_request.go
- v1_analytics_spec.go
- v1_artifact_kind.go
- v1_artifact_tree.go
- v1_artifacts_mount.go
- v1_artifacts_type.go
- v1_auth.go
- v1_auth_type.go
- v1_average_stopping_policy.go
- v1_bayes.go
- v1_bucket_connection.go
- v1_build.go
- v1_cache.go
- v1_claim_connection.go
- v1_clean_pod_policy.go
- v1_cloning.go
- v1_cloning_kind.go
- v1_compatibility.go
- v1_compiled_operation.go
- v1_component.go
- v1_connection_kind.go
- v1_connection_response.go
- v1_connection_schema.go
- v1_connection_type.go
- v1_container.go
- v1_credentials.go
- v1_cron_schedule.go
- v1_dag.go
- v1_dag_ref.go
- v1_dashboard.go
- v1_dashboard_spec.go
- v1_dask.go
- v1_date_time_schedule.go
- v1_diff_stopping_policy.go
- v1_dockerfile_type.go
- v1_early_stopping.go
- v1_entities_tags.go
- v1_entities_transfer.go
- v1_entity_notification_body.go
- v1_entity_stage_body_request.go
- v1_entity_status_body_request.go
- v1_environment.go
- v1_event.go
- v1_event_artifact.go
- v1_event_audio.go
- v1_event_chart.go
- v1_event_chart_kind.go
- v1_event_confusion_matrix.go
- v1_event_curve.go
- v1_event_curve_kind.go
- v1_event_dataframe.go
- v1_event_histogram.go
- v1_event_image.go
- v1_event_kind.go
- v1_event_model.go
- v1_event_trigger.go
- v1_event_type.go
- v1_event_video.go
- v1_events_response.go
- v1_failure_early_stopping.go
- v1_file_type.go
- v1_flink.go
- v1_gcs_type.go
- v1_git_connection.go
- v1_git_type.go
- v1_grid_search.go
- v1_hook.go
- v1_host_alias.go
- v1_host_connection.go
- v1_host_path_connection.go
- v1_hp_choice.go
- v1_hp_date_range.go
- v1_hp_date_time_range.go
- v1_hp_geom_space.go
- v1_hp_lin_space.go
- v1_hp_log_normal.go
- v1_hp_log_space.go
- v1_hp_log_uniform.go
- v1_hp_normal.go
- v1_hp_p_choice.go
- v1_hp_params.go
- v1_hp_q_log_normal.go
- v1_hp_q_log_uniform.go
- v1_hp_q_normal.go
- v1_hp_q_uniform.go
- v1_hp_range.go
- v1_hp_uniform.go
- v1_hub_ref.go
- v1_hyperband.go
- v1_hyperopt.go
- v1_hyperopt_algorithms.go
- v1_i_o.go
- v1_init.go
- v1_installation.go
- v1_interval_schedule.go
- v1_iterative.go
- v1_job.go
- v1_join.go
- v1_join_param.go
- v1_k8s_resource_schema.go
- v1_k8s_resource_type.go
- v1_k_f_replica.go
- v1_list_activities_response.go
- v1_list_agents_response.go
- v1_list_bookmarks_response.go
- v1_list_connections_response.go
- v1_list_dashboards_response.go
- v1_list_organization_members_response.go
- v1_list_organizations_response.go
- v1_list_presets_response.go
- v1_list_project_versions_response.go
- v1_list_projects_response.go
- v1_list_queues_response.go
- v1_list_run_artifacts_response.go
- v1_list_run_connections_response.go
- v1_list_run_edges_response.go
- v1_list_runs_response.go
- v1_list_searches_response.go
- v1_list_service_accounts_response.go
- v1_list_tags_response.go
- v1_list_team_members_response.go
- v1_list_teams_response.go
- v1_list_token_response.go
- v1_log.go
- v1_log_handler.go
- v1_logs.go
- v1_m_p_i_job.go
- v1_m_x_job.go
- v1_mapping.go
- v1_matrix.go
- v1_matrix_kind.go
- v1_median_stopping_policy.go
- v1_metric_early_stopping.go
- v1_notification.go
- v1_operation.go
- v1_operation_body.go
- v1_optimization.go
- v1_optimization_metric.go
- v1_optimization_resource.go
- v1_organization.go
- v1_organization_member.go
- v1_paddle_job.go
- v1_param.go
- v1_password_change.go
- v1_patch_strategy.go
- v1_path_ref.go
- v1_pipeline.go
- v1_pipeline_kind.go
- v1_plugins.go
- v1_pod_dns_config.go
- v1_pod_security_context.go
- v1_polyaxon_init_container.go
- v1_polyaxon_sidecar_container.go
- v1_preset.go
- v1_project.go
- v1_project_settings.go
- v1_project_user_access.go
- v1_project_version.go
- v1_project_version_kind.go
- v1_pytorch_job.go
- v1_queue.go
- v1_random_search.go
- v1_ray.go
- v1_reference.go
- v1_resource_requirements.go
- v1_resource_type.go
- v1_run.go
- v1_run_artifact.go
- v1_run_artifacts.go
- v1_run_connection.go
- v1_run_edge.go
- v1_run_edge_kind.go
- v1_run_kind.go
- v1_run_pending.go
- v1_run_reference_catalog.go
- v1_run_resources.go
- v1_run_schema.go
- v1_run_settings.go
- v1_s3_type.go
- v1_schedule.go
- v1_schedule_kind.go
- v1_scheduling_policy.go
- v1_schemas.go
- v1_search.go
- v1_search_spec.go
- v1_section_spec.go
- v1_service.go
- v1_service_account.go
- v1_settings_catalog.go
- v1_spark.go
- v1_spark_replica.go
- v1_spark_type.go
- v1_stage.go
- v1_stage_condition.go
- v1_stages.go
- v1_status.go
- v1_status_condition.go
- v1_statuses.go
- v1_t_f_job.go
- v1_tag.go
- v1_team.go
- v1_team_member.go
- v1_team_settings.go
- v1_template.go
- v1_tensorboard_type.go
- v1_termination.go
- v1_token.go
- v1_toleration.go
- v1_trial_start.go
- v1_trigger_policy.go
- v1_truncation_stopping_policy.go
- v1_tuner.go
- v1_uri_type.go
- v1_url_ref.go
- v1_user.go
- v1_user_email.go
- v1_user_singup.go
- v1_uuids.go
- v1_version.go
- v1_volume.go
- v1_wasb_type.go
- v1_x_g_boost_job.go