Documentation ¶
Index ¶
- type RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithAPIVersion(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithAnnotations(entries map[string]string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithFinalizers(values ...string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithGenerateName(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithGeneration(value int64) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithKind(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithLabels(entries map[string]string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithName(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithNamespace(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithResourceVersion(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithSpec(value *RouteSpecApplyConfiguration) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithStatus(value *RouteStatusApplyConfiguration) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithUID(value types.UID) *RouteApplyConfiguration
- type RouteIngressApplyConfiguration
- func (b *RouteIngressApplyConfiguration) WithConditions(values ...*RouteIngressConditionApplyConfiguration) *RouteIngressApplyConfiguration
- func (b *RouteIngressApplyConfiguration) WithHost(value string) *RouteIngressApplyConfiguration
- func (b *RouteIngressApplyConfiguration) WithRouterCanonicalHostname(value string) *RouteIngressApplyConfiguration
- func (b *RouteIngressApplyConfiguration) WithRouterName(value string) *RouteIngressApplyConfiguration
- func (b *RouteIngressApplyConfiguration) WithWildcardPolicy(value routev1.WildcardPolicyType) *RouteIngressApplyConfiguration
- type RouteIngressConditionApplyConfiguration
- func (b *RouteIngressConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *RouteIngressConditionApplyConfiguration
- func (b *RouteIngressConditionApplyConfiguration) WithMessage(value string) *RouteIngressConditionApplyConfiguration
- func (b *RouteIngressConditionApplyConfiguration) WithReason(value string) *RouteIngressConditionApplyConfiguration
- func (b *RouteIngressConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *RouteIngressConditionApplyConfiguration
- func (b *RouteIngressConditionApplyConfiguration) WithType(value v1.RouteIngressConditionType) *RouteIngressConditionApplyConfiguration
- type RoutePortApplyConfiguration
- type RouteSpecApplyConfiguration
- func (b *RouteSpecApplyConfiguration) WithAlternateBackends(values ...*RouteTargetReferenceApplyConfiguration) *RouteSpecApplyConfiguration
- func (b *RouteSpecApplyConfiguration) WithHost(value string) *RouteSpecApplyConfiguration
- func (b *RouteSpecApplyConfiguration) WithPath(value string) *RouteSpecApplyConfiguration
- func (b *RouteSpecApplyConfiguration) WithPort(value *RoutePortApplyConfiguration) *RouteSpecApplyConfiguration
- func (b *RouteSpecApplyConfiguration) WithSubdomain(value string) *RouteSpecApplyConfiguration
- func (b *RouteSpecApplyConfiguration) WithTLS(value *TLSConfigApplyConfiguration) *RouteSpecApplyConfiguration
- func (b *RouteSpecApplyConfiguration) WithTo(value *RouteTargetReferenceApplyConfiguration) *RouteSpecApplyConfiguration
- func (b *RouteSpecApplyConfiguration) WithWildcardPolicy(value routev1.WildcardPolicyType) *RouteSpecApplyConfiguration
- type RouteStatusApplyConfiguration
- type RouteTargetReferenceApplyConfiguration
- func (b *RouteTargetReferenceApplyConfiguration) WithKind(value string) *RouteTargetReferenceApplyConfiguration
- func (b *RouteTargetReferenceApplyConfiguration) WithName(value string) *RouteTargetReferenceApplyConfiguration
- func (b *RouteTargetReferenceApplyConfiguration) WithWeight(value int32) *RouteTargetReferenceApplyConfiguration
- type TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithCACertificate(value string) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithCertificate(value string) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithDestinationCACertificate(value string) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithInsecureEdgeTerminationPolicy(value v1.InsecureEdgeTerminationPolicyType) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithKey(value string) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithTermination(value v1.TLSTerminationType) *TLSConfigApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteApplyConfiguration ¶
type RouteApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *RouteSpecApplyConfiguration `json:"spec,omitempty"` Status *RouteStatusApplyConfiguration `json:"status,omitempty"` }
RouteApplyConfiguration represents an declarative configuration of the Route type for use with apply.
func ExtractRoute ¶
func ExtractRoute(route *apiroutev1.Route, fieldManager string) (*RouteApplyConfiguration, error)
ExtractRoute extracts the applied configuration owned by fieldManager from route. If no managedFields are found in route for fieldManager, a RouteApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. route must be a unmodified Route API object that was retrieved from the Kubernetes API. ExtractRoute provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractRouteStatus ¶
func ExtractRouteStatus(route *apiroutev1.Route, fieldManager string) (*RouteApplyConfiguration, error)
ExtractRouteStatus is the same as ExtractRoute except that it extracts the status subresource applied configuration. Experimental!
func Route ¶
func Route(name, namespace string) *RouteApplyConfiguration
Route constructs an declarative configuration of the Route type for use with apply.
func (*RouteApplyConfiguration) WithAPIVersion ¶
func (b *RouteApplyConfiguration) WithAPIVersion(value string) *RouteApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*RouteApplyConfiguration) WithAnnotations ¶
func (b *RouteApplyConfiguration) WithAnnotations(entries map[string]string) *RouteApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*RouteApplyConfiguration) WithCreationTimestamp ¶
func (b *RouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RouteApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*RouteApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *RouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RouteApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*RouteApplyConfiguration) WithDeletionTimestamp ¶
func (b *RouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RouteApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*RouteApplyConfiguration) WithFinalizers ¶
func (b *RouteApplyConfiguration) WithFinalizers(values ...string) *RouteApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*RouteApplyConfiguration) WithGenerateName ¶
func (b *RouteApplyConfiguration) WithGenerateName(value string) *RouteApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*RouteApplyConfiguration) WithGeneration ¶
func (b *RouteApplyConfiguration) WithGeneration(value int64) *RouteApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*RouteApplyConfiguration) WithKind ¶
func (b *RouteApplyConfiguration) WithKind(value string) *RouteApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*RouteApplyConfiguration) WithLabels ¶
func (b *RouteApplyConfiguration) WithLabels(entries map[string]string) *RouteApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*RouteApplyConfiguration) WithName ¶
func (b *RouteApplyConfiguration) WithName(value string) *RouteApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*RouteApplyConfiguration) WithNamespace ¶
func (b *RouteApplyConfiguration) WithNamespace(value string) *RouteApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*RouteApplyConfiguration) WithOwnerReferences ¶
func (b *RouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RouteApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*RouteApplyConfiguration) WithResourceVersion ¶
func (b *RouteApplyConfiguration) WithResourceVersion(value string) *RouteApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*RouteApplyConfiguration) WithSpec ¶
func (b *RouteApplyConfiguration) WithSpec(value *RouteSpecApplyConfiguration) *RouteApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*RouteApplyConfiguration) WithStatus ¶
func (b *RouteApplyConfiguration) WithStatus(value *RouteStatusApplyConfiguration) *RouteApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*RouteApplyConfiguration) WithUID ¶
func (b *RouteApplyConfiguration) WithUID(value types.UID) *RouteApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type RouteIngressApplyConfiguration ¶
type RouteIngressApplyConfiguration struct { Host *string `json:"host,omitempty"` RouterName *string `json:"routerName,omitempty"` Conditions []RouteIngressConditionApplyConfiguration `json:"conditions,omitempty"` WildcardPolicy *routev1.WildcardPolicyType `json:"wildcardPolicy,omitempty"` RouterCanonicalHostname *string `json:"routerCanonicalHostname,omitempty"` }
RouteIngressApplyConfiguration represents an declarative configuration of the RouteIngress type for use with apply.
func RouteIngress ¶
func RouteIngress() *RouteIngressApplyConfiguration
RouteIngressApplyConfiguration constructs an declarative configuration of the RouteIngress type for use with apply.
func (*RouteIngressApplyConfiguration) WithConditions ¶
func (b *RouteIngressApplyConfiguration) WithConditions(values ...*RouteIngressConditionApplyConfiguration) *RouteIngressApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*RouteIngressApplyConfiguration) WithHost ¶
func (b *RouteIngressApplyConfiguration) WithHost(value string) *RouteIngressApplyConfiguration
WithHost sets the Host 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 Host field is set to the value of the last call.
func (*RouteIngressApplyConfiguration) WithRouterCanonicalHostname ¶
func (b *RouteIngressApplyConfiguration) WithRouterCanonicalHostname(value string) *RouteIngressApplyConfiguration
WithRouterCanonicalHostname sets the RouterCanonicalHostname 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 RouterCanonicalHostname field is set to the value of the last call.
func (*RouteIngressApplyConfiguration) WithRouterName ¶
func (b *RouteIngressApplyConfiguration) WithRouterName(value string) *RouteIngressApplyConfiguration
WithRouterName sets the RouterName 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 RouterName field is set to the value of the last call.
func (*RouteIngressApplyConfiguration) WithWildcardPolicy ¶
func (b *RouteIngressApplyConfiguration) WithWildcardPolicy(value routev1.WildcardPolicyType) *RouteIngressApplyConfiguration
WithWildcardPolicy sets the WildcardPolicy 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 WildcardPolicy field is set to the value of the last call.
type RouteIngressConditionApplyConfiguration ¶
type RouteIngressConditionApplyConfiguration struct { Type *v1.RouteIngressConditionType `json:"type,omitempty"` Status *corev1.ConditionStatus `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` }
RouteIngressConditionApplyConfiguration represents an declarative configuration of the RouteIngressCondition type for use with apply.
func RouteIngressCondition ¶
func RouteIngressCondition() *RouteIngressConditionApplyConfiguration
RouteIngressConditionApplyConfiguration constructs an declarative configuration of the RouteIngressCondition type for use with apply.
func (*RouteIngressConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *RouteIngressConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *RouteIngressConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.
func (*RouteIngressConditionApplyConfiguration) WithMessage ¶
func (b *RouteIngressConditionApplyConfiguration) WithMessage(value string) *RouteIngressConditionApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
func (*RouteIngressConditionApplyConfiguration) WithReason ¶
func (b *RouteIngressConditionApplyConfiguration) WithReason(value string) *RouteIngressConditionApplyConfiguration
WithReason sets the Reason 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 Reason field is set to the value of the last call.
func (*RouteIngressConditionApplyConfiguration) WithStatus ¶
func (b *RouteIngressConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *RouteIngressConditionApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*RouteIngressConditionApplyConfiguration) WithType ¶
func (b *RouteIngressConditionApplyConfiguration) WithType(value v1.RouteIngressConditionType) *RouteIngressConditionApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type RoutePortApplyConfiguration ¶
type RoutePortApplyConfiguration struct {
TargetPort *intstr.IntOrString `json:"targetPort,omitempty"`
}
RoutePortApplyConfiguration represents an declarative configuration of the RoutePort type for use with apply.
func RoutePort ¶
func RoutePort() *RoutePortApplyConfiguration
RoutePortApplyConfiguration constructs an declarative configuration of the RoutePort type for use with apply.
func (*RoutePortApplyConfiguration) WithTargetPort ¶
func (b *RoutePortApplyConfiguration) WithTargetPort(value intstr.IntOrString) *RoutePortApplyConfiguration
WithTargetPort sets the TargetPort 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 TargetPort field is set to the value of the last call.
type RouteSpecApplyConfiguration ¶
type RouteSpecApplyConfiguration struct { Host *string `json:"host,omitempty"` Subdomain *string `json:"subdomain,omitempty"` Path *string `json:"path,omitempty"` To *RouteTargetReferenceApplyConfiguration `json:"to,omitempty"` AlternateBackends []RouteTargetReferenceApplyConfiguration `json:"alternateBackends,omitempty"` Port *RoutePortApplyConfiguration `json:"port,omitempty"` TLS *TLSConfigApplyConfiguration `json:"tls,omitempty"` WildcardPolicy *routev1.WildcardPolicyType `json:"wildcardPolicy,omitempty"` }
RouteSpecApplyConfiguration represents an declarative configuration of the RouteSpec type for use with apply.
func RouteSpec ¶
func RouteSpec() *RouteSpecApplyConfiguration
RouteSpecApplyConfiguration constructs an declarative configuration of the RouteSpec type for use with apply.
func (*RouteSpecApplyConfiguration) WithAlternateBackends ¶
func (b *RouteSpecApplyConfiguration) WithAlternateBackends(values ...*RouteTargetReferenceApplyConfiguration) *RouteSpecApplyConfiguration
WithAlternateBackends adds the given value to the AlternateBackends field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AlternateBackends field.
func (*RouteSpecApplyConfiguration) WithHost ¶
func (b *RouteSpecApplyConfiguration) WithHost(value string) *RouteSpecApplyConfiguration
WithHost sets the Host 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 Host field is set to the value of the last call.
func (*RouteSpecApplyConfiguration) WithPath ¶
func (b *RouteSpecApplyConfiguration) WithPath(value string) *RouteSpecApplyConfiguration
WithPath sets the Path 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 Path field is set to the value of the last call.
func (*RouteSpecApplyConfiguration) WithPort ¶
func (b *RouteSpecApplyConfiguration) WithPort(value *RoutePortApplyConfiguration) *RouteSpecApplyConfiguration
WithPort sets the Port 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 Port field is set to the value of the last call.
func (*RouteSpecApplyConfiguration) WithSubdomain ¶
func (b *RouteSpecApplyConfiguration) WithSubdomain(value string) *RouteSpecApplyConfiguration
WithSubdomain sets the Subdomain 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 Subdomain field is set to the value of the last call.
func (*RouteSpecApplyConfiguration) WithTLS ¶
func (b *RouteSpecApplyConfiguration) WithTLS(value *TLSConfigApplyConfiguration) *RouteSpecApplyConfiguration
WithTLS sets the TLS 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 TLS field is set to the value of the last call.
func (*RouteSpecApplyConfiguration) WithTo ¶
func (b *RouteSpecApplyConfiguration) WithTo(value *RouteTargetReferenceApplyConfiguration) *RouteSpecApplyConfiguration
WithTo sets the To 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 To field is set to the value of the last call.
func (*RouteSpecApplyConfiguration) WithWildcardPolicy ¶
func (b *RouteSpecApplyConfiguration) WithWildcardPolicy(value routev1.WildcardPolicyType) *RouteSpecApplyConfiguration
WithWildcardPolicy sets the WildcardPolicy 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 WildcardPolicy field is set to the value of the last call.
type RouteStatusApplyConfiguration ¶
type RouteStatusApplyConfiguration struct {
Ingress []RouteIngressApplyConfiguration `json:"ingress,omitempty"`
}
RouteStatusApplyConfiguration represents an declarative configuration of the RouteStatus type for use with apply.
func RouteStatus ¶
func RouteStatus() *RouteStatusApplyConfiguration
RouteStatusApplyConfiguration constructs an declarative configuration of the RouteStatus type for use with apply.
func (*RouteStatusApplyConfiguration) WithIngress ¶
func (b *RouteStatusApplyConfiguration) WithIngress(values ...*RouteIngressApplyConfiguration) *RouteStatusApplyConfiguration
WithIngress adds the given value to the Ingress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ingress field.
type RouteTargetReferenceApplyConfiguration ¶
type RouteTargetReferenceApplyConfiguration struct { Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Weight *int32 `json:"weight,omitempty"` }
RouteTargetReferenceApplyConfiguration represents an declarative configuration of the RouteTargetReference type for use with apply.
func RouteTargetReference ¶
func RouteTargetReference() *RouteTargetReferenceApplyConfiguration
RouteTargetReferenceApplyConfiguration constructs an declarative configuration of the RouteTargetReference type for use with apply.
func (*RouteTargetReferenceApplyConfiguration) WithKind ¶
func (b *RouteTargetReferenceApplyConfiguration) WithKind(value string) *RouteTargetReferenceApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*RouteTargetReferenceApplyConfiguration) WithName ¶
func (b *RouteTargetReferenceApplyConfiguration) WithName(value string) *RouteTargetReferenceApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*RouteTargetReferenceApplyConfiguration) WithWeight ¶
func (b *RouteTargetReferenceApplyConfiguration) WithWeight(value int32) *RouteTargetReferenceApplyConfiguration
WithWeight sets the Weight 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 Weight field is set to the value of the last call.
type TLSConfigApplyConfiguration ¶
type TLSConfigApplyConfiguration struct { Termination *v1.TLSTerminationType `json:"termination,omitempty"` Certificate *string `json:"certificate,omitempty"` Key *string `json:"key,omitempty"` CACertificate *string `json:"caCertificate,omitempty"` DestinationCACertificate *string `json:"destinationCACertificate,omitempty"` InsecureEdgeTerminationPolicy *v1.InsecureEdgeTerminationPolicyType `json:"insecureEdgeTerminationPolicy,omitempty"` }
TLSConfigApplyConfiguration represents an declarative configuration of the TLSConfig type for use with apply.
func TLSConfig ¶
func TLSConfig() *TLSConfigApplyConfiguration
TLSConfigApplyConfiguration constructs an declarative configuration of the TLSConfig type for use with apply.
func (*TLSConfigApplyConfiguration) WithCACertificate ¶
func (b *TLSConfigApplyConfiguration) WithCACertificate(value string) *TLSConfigApplyConfiguration
WithCACertificate sets the CACertificate 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 CACertificate field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithCertificate ¶
func (b *TLSConfigApplyConfiguration) WithCertificate(value string) *TLSConfigApplyConfiguration
WithCertificate sets the Certificate 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 Certificate field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithDestinationCACertificate ¶
func (b *TLSConfigApplyConfiguration) WithDestinationCACertificate(value string) *TLSConfigApplyConfiguration
WithDestinationCACertificate sets the DestinationCACertificate 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 DestinationCACertificate field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithInsecureEdgeTerminationPolicy ¶
func (b *TLSConfigApplyConfiguration) WithInsecureEdgeTerminationPolicy(value v1.InsecureEdgeTerminationPolicyType) *TLSConfigApplyConfiguration
WithInsecureEdgeTerminationPolicy sets the InsecureEdgeTerminationPolicy 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 InsecureEdgeTerminationPolicy field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithKey ¶
func (b *TLSConfigApplyConfiguration) WithKey(value string) *TLSConfigApplyConfiguration
WithKey sets the Key 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 Key field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithTermination ¶
func (b *TLSConfigApplyConfiguration) WithTermination(value v1.TLSTerminationType) *TLSConfigApplyConfiguration
WithTermination sets the Termination 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 Termination field is set to the value of the last call.