Skip to content

Commit

Permalink
Remove GitSource. HTTPProxy, HTTPSProxy, NoProxy, Flavor as unused
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Mar 18, 2021
1 parent c3cbe9d commit 2f2712b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pkg/apis/build/v1alpha1/gitsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ type GitSource struct {
// +optional
ContextDir *string `json:"contextDir,omitempty"`

// HTTPProxy is optional.
HTTPProxy string `json:"httpProxy,omitempty"`

// HTTPSProxy is optional.
HTTPSProxy string `json:"httpsProxy,omitempty"`

// NoProxy can be used to specify domains for which no proxying should be performed. Optional.
NoProxy string `json:"noProxy,omitempty"`

// SecretRef refers to the secret that contains credentials to access the git repo. Optional.
SecretRef *corev1.LocalObjectReference `json:"credentials,omitempty"`

// Flavor of the git provider like github, gitlab, bitbucket, generic, etc. Optional.
Flavor string `json:"flavor,omitempty"`
}

0 comments on commit 2f2712b

Please sign in to comment.