Documentation ¶
Overview ¶
Copyright 2018 The Knative Authors
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.
Index ¶
- func FromCRD(u *v1alpha1.BuildSpec) (*cloudbuild.Build, error)
- func ToAssociativeListFromEnv(og []corev1.EnvVar) ([]string, error)
- func ToCRD(u *cloudbuild.Build) (*v1alpha1.BuildSpec, error)
- func ToContainerFromStep(og *cloudbuild.BuildStep) (*corev1.Container, error)
- func ToEnvFromAssociativeList(og []string) ([]corev1.EnvVar, error)
- func ToEnvVarFromString(og string) (*corev1.EnvVar, error)
- func ToGCSFromStorageSource(og *cloudbuild.StorageSource) *v1alpha1.GCSSourceSpec
- func ToStepFromContainer(og *corev1.Container) (*cloudbuild.BuildStep, error)
- func ToStorageSourceFromGCS(og *v1alpha1.GCSSourceSpec) (*cloudbuild.StorageSource, error)
- func ToStringFromEnvVar(og *corev1.EnvVar) (string, error)
- func ToVolumeFromVolumeMount(og *corev1.VolumeMount) (*cloudbuild.Volume, error)
- func ToVolumeMountFromVolume(og *cloudbuild.Volume) (*corev1.VolumeMount, error)
- func ToVolumeMountsFromVolumes(og []*cloudbuild.Volume) ([]corev1.VolumeMount, error)
- func ToVolumesFromVolumeMounts(og []corev1.VolumeMount) ([]*cloudbuild.Volume, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToContainerFromStep ¶
func ToGCSFromStorageSource ¶
func ToGCSFromStorageSource(og *cloudbuild.StorageSource) *v1alpha1.GCSSourceSpec
func ToStepFromContainer ¶
func ToStorageSourceFromGCS ¶
func ToStorageSourceFromGCS(og *v1alpha1.GCSSourceSpec) (*cloudbuild.StorageSource, error)
func ToVolumeFromVolumeMount ¶
func ToVolumeFromVolumeMount(og *corev1.VolumeMount) (*cloudbuild.Volume, error)
func ToVolumeMountFromVolume ¶
func ToVolumeMountFromVolume(og *cloudbuild.Volume) (*corev1.VolumeMount, error)
func ToVolumeMountsFromVolumes ¶
func ToVolumeMountsFromVolumes(og []*cloudbuild.Volume) ([]corev1.VolumeMount, error)
func ToVolumesFromVolumeMounts ¶
func ToVolumesFromVolumeMounts(og []corev1.VolumeMount) ([]*cloudbuild.Volume, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.