feat: allow proxy provider to reference an outpost to be added to
CI / image check (pull_request) Failing after 6s
CI / install-dependencies (pull_request) Successful in 1m23s
CI / build check (pull_request) Successful in 28s
CI / test (pull_request) Successful in 27s
CI / check lint (pull_request) Successful in 3m7s
CI / check format (pull_request) Successful in 7m40s
CI / image check (pull_request) Failing after 6s
CI / install-dependencies (pull_request) Successful in 1m23s
CI / build check (pull_request) Successful in 28s
CI / test (pull_request) Successful in 27s
CI / check lint (pull_request) Successful in 3m7s
CI / check format (pull_request) Successful in 7m40s
This commit is contained in:
@@ -25,6 +25,7 @@ type ProxyProviderSpecApplyConfiguration struct {
|
||||
AuthorizationFlow *string `json:"authorization_flow,omitempty"`
|
||||
InvalidationFlow *string `json:"invalidation_flow,omitempty"`
|
||||
ExternalHost *string `json:"external_host,omitempty"`
|
||||
Outpost *string `json:"outpost,omitempty"`
|
||||
}
|
||||
|
||||
// ProxyProviderSpecApplyConfiguration constructs a declarative configuration of the ProxyProviderSpec type for use with
|
||||
@@ -64,3 +65,11 @@ func (b *ProxyProviderSpecApplyConfiguration) WithExternalHost(value string) *Pr
|
||||
b.ExternalHost = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithOutpost sets the Outpost field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the Outpost field is set to the value of the last call.
|
||||
func (b *ProxyProviderSpecApplyConfiguration) WithOutpost(value string) *ProxyProviderSpecApplyConfiguration {
|
||||
b.Outpost = &value
|
||||
return b
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user