This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# apiVersion and kind of Kustomization | |
# apiVersion: kustomize.config.k8s.io/v1beta1 | |
kind: Kustomization | |
# Adds namespace to all resources. | |
# namespace: my-namespace | |
# Value of this field is prepended to the | |
# names of all resources, e.g. a deployment named | |
# "wordpress" becomes "alices-wordpress". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Seek whence values. | |
// | |
// Deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. | |
const ( | |
SEEK_SET int = 0 // seek relative to the origin of the file | |
SEEK_CUR int = 1 // seek relative to the current offset | |
SEEK_END int = 2 // seek relative to the end | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "github.com/pkg/errors" | |
func someFunc() error { | |
pem, err := ioutil.ReadFile(caPath) | |
if err != nil { | |
return errors.Errorf("open %s: %v", caPath, err) | |
} | |
} |