Skip to content

Commit

Permalink
Generated from 5fa239f0f0abdd6dbba20252958288384b5fe797
Browse files Browse the repository at this point in the history
Fix Error status, fix version (#5)

* Remove error schema

* Add default response back

* Fix abandoned as system error

* Fix Error status

* Use preview tag

* Fix tag

* Remove error response schema as they are not used
  • Loading branch information
AutorestCI committed Apr 20, 2018
1 parent 7eeb74b commit d719281
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 4,432 deletions.
212 changes: 8 additions & 204 deletions profiles/latest/containerregistry/mgmt/containerregistry/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,64 +21,11 @@ package containerregistry

import original "github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry"

type BuildsClient = original.BuildsClient
type BuildStepsClient = original.BuildStepsClient
type BuildTasksClient = original.BuildTasksClient

const (
DefaultBaseURI = original.DefaultBaseURI
)

type BaseClient = original.BaseClient
type BaseImageDependencyType = original.BaseImageDependencyType

const (
BuildTime BaseImageDependencyType = original.BuildTime
RunTime BaseImageDependencyType = original.RunTime
)

type BaseImageTriggerType = original.BaseImageTriggerType

const (
All BaseImageTriggerType = original.All
None BaseImageTriggerType = original.None
Runtime BaseImageTriggerType = original.Runtime
)

type BuildStatus = original.BuildStatus

const (
AbandonedAsSystemError BuildStatus = original.AbandonedAsSystemError
Canceled BuildStatus = original.Canceled
Failed BuildStatus = original.Failed
Queued BuildStatus = original.Queued
Running BuildStatus = original.Running
Started BuildStatus = original.Started
Succeeded BuildStatus = original.Succeeded
Timeout BuildStatus = original.Timeout
)

type BuildTaskStatus = original.BuildTaskStatus

const (
Disabled BuildTaskStatus = original.Disabled
Enabled BuildTaskStatus = original.Enabled
)

type BuildType = original.BuildType

const (
AutoBuild BuildType = original.AutoBuild
QuickBuild BuildType = original.QuickBuild
)

type OsType = original.OsType

const (
Linux OsType = original.Linux
Windows OsType = original.Windows
)

type PasswordName = original.PasswordName

const (
Expand All @@ -89,12 +36,12 @@ const (
type ProvisioningState = original.ProvisioningState

const (
ProvisioningStateCanceled ProvisioningState = original.ProvisioningStateCanceled
ProvisioningStateCreating ProvisioningState = original.ProvisioningStateCreating
ProvisioningStateDeleting ProvisioningState = original.ProvisioningStateDeleting
ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
ProvisioningStateUpdating ProvisioningState = original.ProvisioningStateUpdating
Canceled ProvisioningState = original.Canceled
Creating ProvisioningState = original.Creating
Deleting ProvisioningState = original.Deleting
Failed ProvisioningState = original.Failed
Succeeded ProvisioningState = original.Succeeded
Updating ProvisioningState = original.Updating
)

type RegistryUsageUnit = original.RegistryUsageUnit
Expand Down Expand Up @@ -122,42 +69,6 @@ const (
SkuTierStandard SkuTier = original.SkuTierStandard
)

type SourceControlType = original.SourceControlType

const (
Github SourceControlType = original.Github
VisualStudioTeamService SourceControlType = original.VisualStudioTeamService
)

type TokenType = original.TokenType

const (
OAuth TokenType = original.OAuth
PAT TokenType = original.PAT
)

type Type = original.Type

const (
TypeBuildStepProperties Type = original.TypeBuildStepProperties
TypeDocker Type = original.TypeDocker
)

type TypeBasicBuildStepPropertiesUpdateParameters = original.TypeBasicBuildStepPropertiesUpdateParameters

const (
TypeBasicBuildStepPropertiesUpdateParametersTypeBuildStepPropertiesUpdateParameters TypeBasicBuildStepPropertiesUpdateParameters = original.TypeBasicBuildStepPropertiesUpdateParametersTypeBuildStepPropertiesUpdateParameters
TypeBasicBuildStepPropertiesUpdateParametersTypeDocker TypeBasicBuildStepPropertiesUpdateParameters = original.TypeBasicBuildStepPropertiesUpdateParametersTypeDocker
)

type TypeBasicQueueBuildRequest = original.TypeBasicQueueBuildRequest

const (
TypeBuildTask TypeBasicQueueBuildRequest = original.TypeBuildTask
TypeQueueBuildRequest TypeBasicQueueBuildRequest = original.TypeQueueBuildRequest
TypeQuickBuild TypeBasicQueueBuildRequest = original.TypeQuickBuild
)

type WebhookAction = original.WebhookAction

const (
Expand All @@ -168,55 +79,12 @@ const (
type WebhookStatus = original.WebhookStatus

const (
WebhookStatusDisabled WebhookStatus = original.WebhookStatusDisabled
WebhookStatusEnabled WebhookStatus = original.WebhookStatusEnabled
Disabled WebhookStatus = original.Disabled
Enabled WebhookStatus = original.Enabled
)

type Actor = original.Actor
type BaseImageDependency = original.BaseImageDependency
type Build = original.Build
type BuildArgument = original.BuildArgument
type BuildArgumentList = original.BuildArgumentList
type BuildArgumentListIterator = original.BuildArgumentListIterator
type BuildArgumentListPage = original.BuildArgumentListPage
type BuildFilter = original.BuildFilter
type BuildGetLogResult = original.BuildGetLogResult
type BuildListResult = original.BuildListResult
type BuildListResultIterator = original.BuildListResultIterator
type BuildListResultPage = original.BuildListResultPage
type BuildProperties = original.BuildProperties
type BuildsCancelFuture = original.BuildsCancelFuture
type BuildStep = original.BuildStep
type BuildStepList = original.BuildStepList
type BuildStepListIterator = original.BuildStepListIterator
type BuildStepListPage = original.BuildStepListPage
type BasicBuildStepProperties = original.BasicBuildStepProperties
type BuildStepProperties = original.BuildStepProperties
type BasicBuildStepPropertiesUpdateParameters = original.BasicBuildStepPropertiesUpdateParameters
type BuildStepPropertiesUpdateParameters = original.BuildStepPropertiesUpdateParameters
type BuildStepsCreateFuture = original.BuildStepsCreateFuture
type BuildStepsDeleteFuture = original.BuildStepsDeleteFuture
type BuildStepsUpdateFuture = original.BuildStepsUpdateFuture
type BuildStepUpdateParameters = original.BuildStepUpdateParameters
type BuildsUpdateFuture = original.BuildsUpdateFuture
type BuildTask = original.BuildTask
type BuildTaskBuildRequest = original.BuildTaskBuildRequest
type BuildTaskFilter = original.BuildTaskFilter
type BuildTaskListResult = original.BuildTaskListResult
type BuildTaskListResultIterator = original.BuildTaskListResultIterator
type BuildTaskListResultPage = original.BuildTaskListResultPage
type BuildTaskProperties = original.BuildTaskProperties
type BuildTaskPropertiesUpdateParameters = original.BuildTaskPropertiesUpdateParameters
type BuildTasksCreateFuture = original.BuildTasksCreateFuture
type BuildTasksDeleteFuture = original.BuildTasksDeleteFuture
type BuildTasksUpdateFuture = original.BuildTasksUpdateFuture
type BuildTaskUpdateParameters = original.BuildTaskUpdateParameters
type BuildUpdateParameters = original.BuildUpdateParameters
type CallbackConfig = original.CallbackConfig
type DockerBuildStep = original.DockerBuildStep
type DockerBuildStepUpdateParameters = original.DockerBuildStepUpdateParameters
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type Event = original.Event
type EventContent = original.EventContent
type EventInfo = original.EventInfo
Expand All @@ -225,23 +93,14 @@ type EventListResultIterator = original.EventListResultIterator
type EventListResultPage = original.EventListResultPage
type EventRequestMessage = original.EventRequestMessage
type EventResponseMessage = original.EventResponseMessage
type GitCommitTrigger = original.GitCommitTrigger
type ImageDescriptor = original.ImageDescriptor
type ImageUpdateTrigger = original.ImageUpdateTrigger
type OperationDefinition = original.OperationDefinition
type OperationDisplayDefinition = original.OperationDisplayDefinition
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type PlatformProperties = original.PlatformProperties
type ProxyResource = original.ProxyResource
type BasicQueueBuildRequest = original.BasicQueueBuildRequest
type QueueBuildRequest = original.QueueBuildRequest
type QuickBuildRequest = original.QuickBuildRequest
type RegenerateCredentialParameters = original.RegenerateCredentialParameters
type RegistriesCreateFuture = original.RegistriesCreateFuture
type RegistriesDeleteFuture = original.RegistriesDeleteFuture
type RegistriesQueueBuildFuture = original.RegistriesQueueBuildFuture
type RegistriesUpdateFuture = original.RegistriesUpdateFuture
type Registry = original.Registry
type RegistryListCredentialsResult = original.RegistryListCredentialsResult
Expand Down Expand Up @@ -269,10 +128,6 @@ type Request = original.Request
type Resource = original.Resource
type Sku = original.Sku
type Source = original.Source
type SourceControlAuthInfo = original.SourceControlAuthInfo
type SourceRepositoryProperties = original.SourceRepositoryProperties
type SourceRepositoryUpdateParameters = original.SourceRepositoryUpdateParameters
type SourceUploadDefinition = original.SourceUploadDefinition
type Status = original.Status
type StorageAccountProperties = original.StorageAccountProperties
type Target = original.Target
Expand All @@ -293,48 +148,12 @@ type RegistriesClient = original.RegistriesClient
type ReplicationsClient = original.ReplicationsClient
type WebhooksClient = original.WebhooksClient

func NewBuildsClient(subscriptionID string) BuildsClient {
return original.NewBuildsClient(subscriptionID)
}
func NewBuildsClientWithBaseURI(baseURI string, subscriptionID string) BuildsClient {
return original.NewBuildsClientWithBaseURI(baseURI, subscriptionID)
}
func NewBuildStepsClient(subscriptionID string) BuildStepsClient {
return original.NewBuildStepsClient(subscriptionID)
}
func NewBuildStepsClientWithBaseURI(baseURI string, subscriptionID string) BuildStepsClient {
return original.NewBuildStepsClientWithBaseURI(baseURI, subscriptionID)
}
func NewBuildTasksClient(subscriptionID string) BuildTasksClient {
return original.NewBuildTasksClient(subscriptionID)
}
func NewBuildTasksClientWithBaseURI(baseURI string, subscriptionID string) BuildTasksClient {
return original.NewBuildTasksClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleBaseImageDependencyTypeValues() []BaseImageDependencyType {
return original.PossibleBaseImageDependencyTypeValues()
}
func PossibleBaseImageTriggerTypeValues() []BaseImageTriggerType {
return original.PossibleBaseImageTriggerTypeValues()
}
func PossibleBuildStatusValues() []BuildStatus {
return original.PossibleBuildStatusValues()
}
func PossibleBuildTaskStatusValues() []BuildTaskStatus {
return original.PossibleBuildTaskStatusValues()
}
func PossibleBuildTypeValues() []BuildType {
return original.PossibleBuildTypeValues()
}
func PossibleOsTypeValues() []OsType {
return original.PossibleOsTypeValues()
}
func PossiblePasswordNameValues() []PasswordName {
return original.PossiblePasswordNameValues()
}
Expand All @@ -350,21 +169,6 @@ func PossibleSkuNameValues() []SkuName {
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func PossibleSourceControlTypeValues() []SourceControlType {
return original.PossibleSourceControlTypeValues()
}
func PossibleTokenTypeValues() []TokenType {
return original.PossibleTokenTypeValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleTypeBasicBuildStepPropertiesUpdateParametersValues() []TypeBasicBuildStepPropertiesUpdateParameters {
return original.PossibleTypeBasicBuildStepPropertiesUpdateParametersValues()
}
func PossibleTypeBasicQueueBuildRequestValues() []TypeBasicQueueBuildRequest {
return original.PossibleTypeBasicQueueBuildRequestValues()
}
func PossibleWebhookActionValues() []WebhookAction {
return original.PossibleWebhookActionValues()
}
Expand Down
Loading

0 comments on commit d719281

Please sign in to comment.