v1

package
v3.10.48-1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_defaults_BuildDefaultsConfig_To_v1_BuildDefaultsConfig

func Convert_defaults_BuildDefaultsConfig_To_v1_BuildDefaultsConfig(in *defaults.BuildDefaultsConfig, out *BuildDefaultsConfig, s conversion.Scope) error

Convert_defaults_BuildDefaultsConfig_To_v1_BuildDefaultsConfig is an autogenerated conversion function.

func Convert_defaults_SourceStrategyDefaultsConfig_To_v1_SourceStrategyDefaultsConfig

func Convert_defaults_SourceStrategyDefaultsConfig_To_v1_SourceStrategyDefaultsConfig(in *defaults.SourceStrategyDefaultsConfig, out *SourceStrategyDefaultsConfig, s conversion.Scope) error

Convert_defaults_SourceStrategyDefaultsConfig_To_v1_SourceStrategyDefaultsConfig is an autogenerated conversion function.

func Convert_v1_BuildDefaultsConfig_To_defaults_BuildDefaultsConfig

func Convert_v1_BuildDefaultsConfig_To_defaults_BuildDefaultsConfig(in *BuildDefaultsConfig, out *defaults.BuildDefaultsConfig, s conversion.Scope) error

Convert_v1_BuildDefaultsConfig_To_defaults_BuildDefaultsConfig is an autogenerated conversion function.

func Convert_v1_SourceStrategyDefaultsConfig_To_defaults_SourceStrategyDefaultsConfig

func Convert_v1_SourceStrategyDefaultsConfig_To_defaults_SourceStrategyDefaultsConfig(in *SourceStrategyDefaultsConfig, out *defaults.SourceStrategyDefaultsConfig, s conversion.Scope) error

Convert_v1_SourceStrategyDefaultsConfig_To_defaults_SourceStrategyDefaultsConfig is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

type BuildDefaultsConfig

type BuildDefaultsConfig struct {
	metav1.TypeMeta `json:",inline"`

	// gitHTTPProxy is the location of the HTTPProxy for Git source
	GitHTTPProxy string `json:"gitHTTPProxy,omitempty"`

	// gitHTTPSProxy is the location of the HTTPSProxy for Git source
	GitHTTPSProxy string `json:"gitHTTPSProxy,omitempty"`

	// gitNoProxy is the list of domains for which the proxy should not be used
	GitNoProxy string `json:"gitNoProxy,omitempty"`

	// env is a set of default environment variables that will be applied to the
	// build if the specified variables do not exist on the build
	Env []kapi.EnvVar `json:"env,omitempty"`

	// sourceStrategyDefaults are default values that apply to builds using the
	// source strategy.
	SourceStrategyDefaults *SourceStrategyDefaultsConfig `json:"sourceStrategyDefaults,omitempty"`

	// imageLabels is a list of docker labels that are applied to the resulting image.
	// User can override a default label by providing a label with the same name in their
	// Build/BuildConfig.
	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"`

	// resources defines resource requirements to execute the build.
	Resources kapi.ResourceRequirements `json:"resources,omitempty"`
}

BuildDefaultsConfig controls the default information for Builds

func (*BuildDefaultsConfig) DeepCopy

func (in *BuildDefaultsConfig) DeepCopy() *BuildDefaultsConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildDefaultsConfig.

func (*BuildDefaultsConfig) DeepCopyInto

func (in *BuildDefaultsConfig) DeepCopyInto(out *BuildDefaultsConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildDefaultsConfig) DeepCopyObject

func (in *BuildDefaultsConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BuildDefaultsConfig) GetObjectKind

func (obj *BuildDefaultsConfig) GetObjectKind() schema.ObjectKind

func (BuildDefaultsConfig) SwaggerDoc

func (BuildDefaultsConfig) SwaggerDoc() map[string]string

type SourceStrategyDefaultsConfig

type SourceStrategyDefaultsConfig struct {

	// incremental indicates if s2i build strategies should perform an incremental
	// build or not
	Incremental *bool `json:"incremental,omitempty"`
}

SourceStrategyDefaultsConfig contains values that apply to builds using the source strategy.

func (*SourceStrategyDefaultsConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceStrategyDefaultsConfig.

func (*SourceStrategyDefaultsConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (SourceStrategyDefaultsConfig) SwaggerDoc

func (SourceStrategyDefaultsConfig) SwaggerDoc() map[string]string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL