ARO-RP/pkg/api/openshiftversion.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"`
2022-09-20 00:09:45 +03:00
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
2022-09-20 00:09:45 +03:00
// The properties for the OpenShiftVersion resource.
Properties OpenShiftVersionProperties `json:"properties,omitempty"`
}
// OpenShiftVersionProperties represents the properties of an OpenShiftVersion.
type OpenShiftVersionProperties struct {
MissingFields
2022-09-20 00:09:45 +03:00
// 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"`
}