Skip to content

Commit

Permalink
Merge pull request #519 from dgonyeo/translation-refactor
Browse files Browse the repository at this point in the history
Translation/config refactor
  • Loading branch information
Derek Gonyeo authored Mar 12, 2018
2 parents e9376ab + d5de59e commit c0f1de9
Show file tree
Hide file tree
Showing 121 changed files with 6,549 additions and 5,160 deletions.
235 changes: 0 additions & 235 deletions config/config.go

This file was deleted.

28 changes: 28 additions & 0 deletions config/errors/errors.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright 2018 CoreOS, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package errors

import "errors"

var (
ErrInvalid = errors.New("config is not valid")
ErrCloudConfig = errors.New("not a config (found coreos-cloudconfig)")
ErrEmpty = errors.New("not a config (empty)")
ErrUnknownVersion = errors.New("unsupported config version")
ErrScript = errors.New("not a config (found coreos-cloudinit script)")
ErrDeprecated = errors.New("config format deprecated")
ErrVersion = errors.New("incorrect config version")
ErrCompressionInvalid = errors.New("invalid compression method")
)
Loading

0 comments on commit c0f1de9

Please sign in to comment.