pkg/api/v20191231preview/register.go (28 lines of code) (raw):

package v20191231preview // Copyright (c) Microsoft Corporation. // Licensed under the Apache License 2.0. import ( "github.com/Azure/ARO-RP/pkg/api" ) // APIVersion contains a version string as it will be used by clients const APIVersion = "2019-12-31-preview" const ( resourceProviderNamespace = "Microsoft.RedHatOpenShift" resourceType = "openShiftClusters" ) func init() { api.APIs[APIVersion] = &api.Version{ OpenShiftClusterConverter: openShiftClusterConverter{}, OpenShiftClusterStaticValidator: openShiftClusterStaticValidator{}, OpenShiftClusterCredentialsConverter: openShiftClusterCredentialsConverter{}, OperationList: api.OperationList{ Operations: []api.Operation{ api.OperationResultsRead, api.OperationStatusRead, api.OperationRead, api.OperationOpenShiftClusterRead, api.OperationOpenShiftClusterWrite, api.OperationOpenShiftClusterDelete, api.OperationOpenShiftClusterListCredentials, api.OperationOpenShiftClusterGetDetectors, }, }, } }