Documentation
¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
- Variables
- type BuildOverridesConfig
- func (in *BuildOverridesConfig) DeepCopy() *BuildOverridesConfig
- func (in *BuildOverridesConfig) DeepCopyInto(out *BuildOverridesConfig)
- func (in *BuildOverridesConfig) DeepCopyObject() runtime.Object
- func (obj *BuildOverridesConfig) GetObjectKind() schema.ObjectKind
- func (BuildOverridesConfig) SwaggerDoc() map[string]string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type BuildOverridesConfig ¶
type BuildOverridesConfig struct {
metav1.TypeMeta `json:",inline"`
// forcePull indicates whether the build strategy should always be set to ForcePull=true
ForcePull bool `json:"forcePull"`
// imageLabels is a list of docker labels that are applied to the resulting image.
// If user provided a label in their Build/BuildConfig with the same name as one in this
// list, the user's label will be overwritten.
ImageLabels []buildapi.ImageLabel `json:"imageLabels,omitempty"`
// nodeSelector is a selector which must be true for the build pod to fit on a node
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// annotations are annotations that will be added to the build pod
Annotations map[string]string `json:"annotations,omitempty"`
// tolerations is a list of Tolerations that will override any existing
// tolerations set on a build pod.
Tolerations []kapi.Toleration `json:"tolerations,omitempty"`
}
BuildOverridesConfig controls override settings for builds
func (*BuildOverridesConfig) DeepCopy ¶
func (in *BuildOverridesConfig) DeepCopy() *BuildOverridesConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildOverridesConfig.
func (*BuildOverridesConfig) DeepCopyInto ¶
func (in *BuildOverridesConfig) DeepCopyInto(out *BuildOverridesConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildOverridesConfig) DeepCopyObject ¶
func (in *BuildOverridesConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BuildOverridesConfig) GetObjectKind ¶
func (obj *BuildOverridesConfig) GetObjectKind() schema.ObjectKind
func (BuildOverridesConfig) SwaggerDoc ¶
func (BuildOverridesConfig) SwaggerDoc() map[string]string
Click to show internal directories.
Click to hide internal directories.