Files

29 lines
1.2 KiB
Go
Raw Permalink Normal View History

2026-07-17 08:06:53 +02:00
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by controller-gen. DO NOT EDIT.
package v1alpha1
// NetworkEgressFQDNTargetApplyConfiguration represents a declarative configuration of the NetworkEgressFQDNTarget type for use
// with apply.
//
// NetworkEgressFQDNTarget matches traffic by an exact domain name (no wildcards).
type NetworkEgressFQDNTargetApplyConfiguration struct {
// Hostname is a fully qualified domain name to match exactly.
Hostname *string `json:"hostname,omitempty"`
}
// NetworkEgressFQDNTargetApplyConfiguration constructs a declarative configuration of the NetworkEgressFQDNTarget type for use with
// apply.
func NetworkEgressFQDNTarget() *NetworkEgressFQDNTargetApplyConfiguration {
return &NetworkEgressFQDNTargetApplyConfiguration{}
}
// WithHostname sets the Hostname 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 Hostname field is set to the value of the last call.
func (b *NetworkEgressFQDNTargetApplyConfiguration) WithHostname(value string) *NetworkEgressFQDNTargetApplyConfiguration {
b.Hostname = &value
return b
}