зеркало из https://github.com/Azure/ARO-RP.git
30 строки
1.1 KiB
Go
30 строки
1.1 KiB
Go
package api
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the Apache License 2.0.
|
|
|
|
// OpenShiftVersion represents an OpenShift version that can be installed
|
|
type OpenShiftVersion struct {
|
|
MissingFields
|
|
|
|
ID string `json:"id,omitempty"`
|
|
Name string `json:"name,omitempty"`
|
|
Type string `json:"type,omitempty"`
|
|
Deleting bool `json:"deleting,omitempty"` // https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed-design-patterns#deletes
|
|
|
|
// The properties for the OpenShiftVersion resource.
|
|
Properties OpenShiftVersionProperties `json:"properties,omitempty"`
|
|
}
|
|
|
|
// OpenShiftVersionProperties represents the properties of an OpenShiftVersion.
|
|
type OpenShiftVersionProperties struct {
|
|
MissingFields
|
|
|
|
// Version represents the version to create the cluster at.
|
|
Version string `json:"version,omitempty"`
|
|
OpenShiftPullspec string `json:"openShiftPullspec,omitempty"`
|
|
InstallerPullspec string `json:"installerPullspec,omitempty"`
|
|
Enabled bool `json:"enabled,omitempty"`
|
|
Default bool `json:"default,omitempty"`
|
|
}
|