Documentation ¶
Overview ¶
Generate deepcopy object for networkservices/v1beta1 API group
Package v1beta1 contains API Schema definitions for the networkservices v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/networkservices +k8s:defaulter-gen=TypeMeta +groupName=networkservices.cnrm.cloud.google.com
Index ¶
- Variables
- type EndpointpolicyEndpointMatcher
- type EndpointpolicyMetadataLabelMatcher
- type EndpointpolicyMetadataLabels
- type EndpointpolicyTrafficPortSelector
- type GrpcrouteAbort
- type GrpcrouteAction
- type GrpcrouteDelay
- type GrpcrouteDestinations
- type GrpcrouteFaultInjectionPolicy
- type GrpcrouteHeaders
- type GrpcrouteMatches
- type GrpcrouteMethod
- type GrpcrouteRetryPolicy
- type GrpcrouteRules
- type HttprouteAbort
- type HttprouteAction
- type HttprouteCorsPolicy
- type HttprouteDelay
- type HttprouteDestination
- type HttprouteDestinations
- type HttprouteFaultInjectionPolicy
- type HttprouteHeaders
- type HttprouteMatches
- type HttprouteQueryParameters
- type HttprouteRangeMatch
- type HttprouteRedirect
- type HttprouteRequestHeaderModifier
- type HttprouteRequestMirrorPolicy
- type HttprouteResponseHeaderModifier
- type HttprouteRetryPolicy
- type HttprouteRules
- type HttprouteUrlRewrite
- type NetworkServicesEndpointPolicy
- type NetworkServicesEndpointPolicyList
- type NetworkServicesEndpointPolicySpec
- type NetworkServicesEndpointPolicyStatus
- type NetworkServicesGRPCRoute
- type NetworkServicesGRPCRouteList
- type NetworkServicesGRPCRouteSpec
- type NetworkServicesGRPCRouteStatus
- type NetworkServicesGateway
- type NetworkServicesGatewayList
- type NetworkServicesGatewaySpec
- type NetworkServicesGatewayStatus
- type NetworkServicesHTTPRoute
- type NetworkServicesHTTPRouteList
- type NetworkServicesHTTPRouteSpec
- type NetworkServicesHTTPRouteStatus
- type NetworkServicesMesh
- type NetworkServicesMeshList
- type NetworkServicesMeshSpec
- type NetworkServicesMeshStatus
- type NetworkServicesTCPRoute
- type NetworkServicesTCPRouteList
- type NetworkServicesTCPRouteSpec
- type NetworkServicesTCPRouteStatus
- type NetworkServicesTLSRoute
- type NetworkServicesTLSRouteList
- type NetworkServicesTLSRouteSpec
- type NetworkServicesTLSRouteStatus
- type TcprouteAction
- type TcprouteDestinations
- type TcprouteMatches
- type TcprouteRules
- type TlsrouteAction
- type TlsrouteDestinations
- type TlsrouteMatches
- type TlsrouteRules
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "networkservices.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme NetworkServicesEndpointPolicyGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(NetworkServicesEndpointPolicy{}).Name(), } NetworkServicesGRPCRouteGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(NetworkServicesGRPCRoute{}).Name(), } NetworkServicesGatewayGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(NetworkServicesGateway{}).Name(), } NetworkServicesHTTPRouteGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(NetworkServicesHTTPRoute{}).Name(), } NetworkServicesMeshGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(NetworkServicesMesh{}).Name(), } NetworkServicesTCPRouteGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(NetworkServicesTCPRoute{}).Name(), } NetworkServicesTLSRouteGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(NetworkServicesTLSRoute{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type EndpointpolicyEndpointMatcher ¶
type EndpointpolicyEndpointMatcher struct { /* The matcher is based on node metadata presented by xDS clients. */ // +optional MetadataLabelMatcher *EndpointpolicyMetadataLabelMatcher `json:"metadataLabelMatcher,omitempty"` }
func (*EndpointpolicyEndpointMatcher) DeepCopy ¶
func (in *EndpointpolicyEndpointMatcher) DeepCopy() *EndpointpolicyEndpointMatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointpolicyEndpointMatcher.
func (*EndpointpolicyEndpointMatcher) DeepCopyInto ¶
func (in *EndpointpolicyEndpointMatcher) DeepCopyInto(out *EndpointpolicyEndpointMatcher)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointpolicyMetadataLabelMatcher ¶
type EndpointpolicyMetadataLabelMatcher struct { /* Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown. Possible values: METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED, MATCH_ANY, MATCH_ALL */ // +optional MetadataLabelMatchCriteria *string `json:"metadataLabelMatchCriteria,omitempty"` /* The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client). */ // +optional MetadataLabels []EndpointpolicyMetadataLabels `json:"metadataLabels,omitempty"` }
func (*EndpointpolicyMetadataLabelMatcher) DeepCopy ¶
func (in *EndpointpolicyMetadataLabelMatcher) DeepCopy() *EndpointpolicyMetadataLabelMatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointpolicyMetadataLabelMatcher.
func (*EndpointpolicyMetadataLabelMatcher) DeepCopyInto ¶
func (in *EndpointpolicyMetadataLabelMatcher) DeepCopyInto(out *EndpointpolicyMetadataLabelMatcher)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointpolicyMetadataLabels ¶
type EndpointpolicyMetadataLabels struct { /* Required. Label name presented as key in xDS Node Metadata. */ LabelName string `json:"labelName"` /* Required. Label value presented as value corresponding to the above key, in xDS Node Metadata. */ LabelValue string `json:"labelValue"` }
func (*EndpointpolicyMetadataLabels) DeepCopy ¶
func (in *EndpointpolicyMetadataLabels) DeepCopy() *EndpointpolicyMetadataLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointpolicyMetadataLabels.
func (*EndpointpolicyMetadataLabels) DeepCopyInto ¶
func (in *EndpointpolicyMetadataLabels) DeepCopyInto(out *EndpointpolicyMetadataLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointpolicyTrafficPortSelector ¶
type EndpointpolicyTrafficPortSelector struct { /* Optional. A list of ports. Can be port numbers or port range (example, specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected. */ // +optional Ports []string `json:"ports,omitempty"` }
func (*EndpointpolicyTrafficPortSelector) DeepCopy ¶
func (in *EndpointpolicyTrafficPortSelector) DeepCopy() *EndpointpolicyTrafficPortSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointpolicyTrafficPortSelector.
func (*EndpointpolicyTrafficPortSelector) DeepCopyInto ¶
func (in *EndpointpolicyTrafficPortSelector) DeepCopyInto(out *EndpointpolicyTrafficPortSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteAbort ¶
type GrpcrouteAbort struct { /* The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. */ // +optional HttpStatus *int `json:"httpStatus,omitempty"` /* The percentage of traffic which will be aborted. The value must be between [0, 100] */ // +optional Percentage *int `json:"percentage,omitempty"` }
func (*GrpcrouteAbort) DeepCopy ¶
func (in *GrpcrouteAbort) DeepCopy() *GrpcrouteAbort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteAbort.
func (*GrpcrouteAbort) DeepCopyInto ¶
func (in *GrpcrouteAbort) DeepCopyInto(out *GrpcrouteAbort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteAction ¶
type GrpcrouteAction struct { /* Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations. */ // +optional Destinations []GrpcrouteDestinations `json:"destinations,omitempty"` /* Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy */ // +optional FaultInjectionPolicy *GrpcrouteFaultInjectionPolicy `json:"faultInjectionPolicy,omitempty"` /* Optional. Specifies the retry policy associated with this route. */ // +optional RetryPolicy *GrpcrouteRetryPolicy `json:"retryPolicy,omitempty"` /* Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries. */ // +optional Timeout *string `json:"timeout,omitempty"` }
func (*GrpcrouteAction) DeepCopy ¶
func (in *GrpcrouteAction) DeepCopy() *GrpcrouteAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteAction.
func (*GrpcrouteAction) DeepCopyInto ¶
func (in *GrpcrouteAction) DeepCopyInto(out *GrpcrouteAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteDelay ¶
type GrpcrouteDelay struct { /* Specify a fixed delay before forwarding the request. */ // +optional FixedDelay *string `json:"fixedDelay,omitempty"` /* The percentage of traffic on which delay will be injected. The value must be between [0, 100] */ // +optional Percentage *int `json:"percentage,omitempty"` }
func (*GrpcrouteDelay) DeepCopy ¶
func (in *GrpcrouteDelay) DeepCopy() *GrpcrouteDelay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteDelay.
func (*GrpcrouteDelay) DeepCopyInto ¶
func (in *GrpcrouteDelay) DeepCopyInto(out *GrpcrouteDelay)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteDestinations ¶
type GrpcrouteDestinations struct { /* */ ServiceRef v1alpha1.ResourceRef `json:"serviceRef"` /* Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. */ // +optional Weight *int `json:"weight,omitempty"` }
func (*GrpcrouteDestinations) DeepCopy ¶
func (in *GrpcrouteDestinations) DeepCopy() *GrpcrouteDestinations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteDestinations.
func (*GrpcrouteDestinations) DeepCopyInto ¶
func (in *GrpcrouteDestinations) DeepCopyInto(out *GrpcrouteDestinations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteFaultInjectionPolicy ¶
type GrpcrouteFaultInjectionPolicy struct { /* The specification for aborting to client requests. */ // +optional Abort *GrpcrouteAbort `json:"abort,omitempty"` /* The specification for injecting delay to client requests. */ // +optional Delay *GrpcrouteDelay `json:"delay,omitempty"` }
func (*GrpcrouteFaultInjectionPolicy) DeepCopy ¶
func (in *GrpcrouteFaultInjectionPolicy) DeepCopy() *GrpcrouteFaultInjectionPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteFaultInjectionPolicy.
func (*GrpcrouteFaultInjectionPolicy) DeepCopyInto ¶
func (in *GrpcrouteFaultInjectionPolicy) DeepCopyInto(out *GrpcrouteFaultInjectionPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteHeaders ¶
type GrpcrouteHeaders struct { /* Required. The key of the header. */ Key string `json:"key"` /* Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used. Possible values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY, MATCH_ALL */ // +optional Type *string `json:"type,omitempty"` /* Required. The value of the header. */ Value string `json:"value"` }
func (*GrpcrouteHeaders) DeepCopy ¶
func (in *GrpcrouteHeaders) DeepCopy() *GrpcrouteHeaders
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteHeaders.
func (*GrpcrouteHeaders) DeepCopyInto ¶
func (in *GrpcrouteHeaders) DeepCopyInto(out *GrpcrouteHeaders)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteMatches ¶
type GrpcrouteMatches struct { /* Optional. Specifies a collection of headers to match. */ // +optional Headers []GrpcrouteHeaders `json:"headers,omitempty"` /* Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods. */ // +optional Method *GrpcrouteMethod `json:"method,omitempty"` }
func (*GrpcrouteMatches) DeepCopy ¶
func (in *GrpcrouteMatches) DeepCopy() *GrpcrouteMatches
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteMatches.
func (*GrpcrouteMatches) DeepCopyInto ¶
func (in *GrpcrouteMatches) DeepCopyInto(out *GrpcrouteMatches)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteMethod ¶
type GrpcrouteMethod struct { /* Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION. */ // +optional CaseSensitive *bool `json:"caseSensitive,omitempty"` /* Required. Name of the method to match against. If unspecified, will match all methods. */ GrpcMethod string `json:"grpcMethod"` /* Required. Name of the service to match against. If unspecified, will match all services. */ GrpcService string `json:"grpcService"` /* Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used. Possible values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY, MATCH_ALL */ // +optional Type *string `json:"type,omitempty"` }
func (*GrpcrouteMethod) DeepCopy ¶
func (in *GrpcrouteMethod) DeepCopy() *GrpcrouteMethod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteMethod.
func (*GrpcrouteMethod) DeepCopyInto ¶
func (in *GrpcrouteMethod) DeepCopyInto(out *GrpcrouteMethod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteRetryPolicy ¶
type GrpcrouteRetryPolicy struct { /* Specifies the allowed number of retries. This number must be > 0. If not specpfied, default to 1. */ // +optional NumRetries *int `json:"numRetries,omitempty"` /* - connect-failure: Router will retry on failures connecting to Backend Services, for example due to connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: Router will retry if the gRPC status code in the response header is set to unavailable */ // +optional RetryConditions []string `json:"retryConditions,omitempty"` }
func (*GrpcrouteRetryPolicy) DeepCopy ¶
func (in *GrpcrouteRetryPolicy) DeepCopy() *GrpcrouteRetryPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteRetryPolicy.
func (*GrpcrouteRetryPolicy) DeepCopyInto ¶
func (in *GrpcrouteRetryPolicy) DeepCopyInto(out *GrpcrouteRetryPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcrouteRules ¶
type GrpcrouteRules struct { /* Required. A detailed rule defining how to route traffic. This field is required. */ Action GrpcrouteAction `json:"action"` /* Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. */ // +optional Matches []GrpcrouteMatches `json:"matches,omitempty"` }
func (*GrpcrouteRules) DeepCopy ¶
func (in *GrpcrouteRules) DeepCopy() *GrpcrouteRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcrouteRules.
func (*GrpcrouteRules) DeepCopyInto ¶
func (in *GrpcrouteRules) DeepCopyInto(out *GrpcrouteRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteAbort ¶
type HttprouteAbort struct { /* The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. */ // +optional HttpStatus *int `json:"httpStatus,omitempty"` /* The percentage of traffic which will be aborted. The value must be between [0, 100] */ // +optional Percentage *int `json:"percentage,omitempty"` }
func (*HttprouteAbort) DeepCopy ¶
func (in *HttprouteAbort) DeepCopy() *HttprouteAbort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteAbort.
func (*HttprouteAbort) DeepCopyInto ¶
func (in *HttprouteAbort) DeepCopyInto(out *HttprouteAbort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteAction ¶
type HttprouteAction struct { /* The specification for allowing client side cross-origin requests. */ // +optional CorsPolicy *HttprouteCorsPolicy `json:"corsPolicy,omitempty"` /* The destination to which traffic should be forwarded. */ // +optional Destinations []HttprouteDestinations `json:"destinations,omitempty"` /* The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy */ // +optional FaultInjectionPolicy *HttprouteFaultInjectionPolicy `json:"faultInjectionPolicy,omitempty"` /* If true, the matched traffic will use the destination ip and port of the original connection (as it was not processed by proxy) as the destination of the request. Only one of destinations, redirect, original_destination can be set. */ // +optional OriginalDestination *bool `json:"originalDestination,omitempty"` /* If set, the request is directed as configured by this field. */ // +optional Redirect *HttprouteRedirect `json:"redirect,omitempty"` /* The specification for modifying the headers of a matching request prior to delivery of the request to the destination. */ // +optional RequestHeaderModifier *HttprouteRequestHeaderModifier `json:"requestHeaderModifier,omitempty"` /* Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow. */ // +optional RequestMirrorPolicy *HttprouteRequestMirrorPolicy `json:"requestMirrorPolicy,omitempty"` /* The specification for modifying the headers of a response prior to sending the response back to the client. */ // +optional ResponseHeaderModifier *HttprouteResponseHeaderModifier `json:"responseHeaderModifier,omitempty"` /* Specifies the retry policy associated with this route. */ // +optional RetryPolicy *HttprouteRetryPolicy `json:"retryPolicy,omitempty"` /* Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries. */ // +optional Timeout *string `json:"timeout,omitempty"` /* The specification for rewrite URL before forwarding requests to the destination. */ // +optional UrlRewrite *HttprouteUrlRewrite `json:"urlRewrite,omitempty"` }
func (*HttprouteAction) DeepCopy ¶
func (in *HttprouteAction) DeepCopy() *HttprouteAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteAction.
func (*HttprouteAction) DeepCopyInto ¶
func (in *HttprouteAction) DeepCopyInto(out *HttprouteAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteCorsPolicy ¶
type HttprouteCorsPolicy struct { /* In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. */ // +optional AllowCredentials *bool `json:"allowCredentials,omitempty"` /* Specifies the content for Access-Control-Allow-Headers header. */ // +optional AllowHeaders []string `json:"allowHeaders,omitempty"` /* Specifies the content for Access-Control-Allow-Methods header. */ // +optional AllowMethods []string `json:"allowMethods,omitempty"` /* Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax. */ // +optional AllowOriginRegexes []string `json:"allowOriginRegexes,omitempty"` /* Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes. */ // +optional AllowOrigins []string `json:"allowOrigins,omitempty"` /* If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect. */ // +optional Disabled *bool `json:"disabled,omitempty"` /* Specifies the content for Access-Control-Expose-Headers header. */ // +optional ExposeHeaders []string `json:"exposeHeaders,omitempty"` /* Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header. */ // +optional MaxAge *string `json:"maxAge,omitempty"` }
func (*HttprouteCorsPolicy) DeepCopy ¶
func (in *HttprouteCorsPolicy) DeepCopy() *HttprouteCorsPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteCorsPolicy.
func (*HttprouteCorsPolicy) DeepCopyInto ¶
func (in *HttprouteCorsPolicy) DeepCopyInto(out *HttprouteCorsPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteDelay ¶
type HttprouteDelay struct { /* Specify a fixed delay before forwarding the request. */ // +optional FixedDelay *string `json:"fixedDelay,omitempty"` /* The percentage of traffic on which delay will be injected. The value must be between [0, 100] */ // +optional Percentage *int `json:"percentage,omitempty"` }
func (*HttprouteDelay) DeepCopy ¶
func (in *HttprouteDelay) DeepCopy() *HttprouteDelay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteDelay.
func (*HttprouteDelay) DeepCopyInto ¶
func (in *HttprouteDelay) DeepCopyInto(out *HttprouteDelay)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteDestination ¶
type HttprouteDestination struct { /* */ // +optional ServiceRef *v1alpha1.ResourceRef `json:"serviceRef,omitempty"` /* Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. */ // +optional Weight *int `json:"weight,omitempty"` }
func (*HttprouteDestination) DeepCopy ¶
func (in *HttprouteDestination) DeepCopy() *HttprouteDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteDestination.
func (*HttprouteDestination) DeepCopyInto ¶
func (in *HttprouteDestination) DeepCopyInto(out *HttprouteDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteDestinations ¶
type HttprouteDestinations struct { /* */ // +optional ServiceRef *v1alpha1.ResourceRef `json:"serviceRef,omitempty"` /* Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. */ // +optional Weight *int `json:"weight,omitempty"` }
func (*HttprouteDestinations) DeepCopy ¶
func (in *HttprouteDestinations) DeepCopy() *HttprouteDestinations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteDestinations.
func (*HttprouteDestinations) DeepCopyInto ¶
func (in *HttprouteDestinations) DeepCopyInto(out *HttprouteDestinations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteFaultInjectionPolicy ¶
type HttprouteFaultInjectionPolicy struct { /* The specification for aborting to client requests. */ // +optional Abort *HttprouteAbort `json:"abort,omitempty"` /* The specification for injecting delay to client requests. */ // +optional Delay *HttprouteDelay `json:"delay,omitempty"` }
func (*HttprouteFaultInjectionPolicy) DeepCopy ¶
func (in *HttprouteFaultInjectionPolicy) DeepCopy() *HttprouteFaultInjectionPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteFaultInjectionPolicy.
func (*HttprouteFaultInjectionPolicy) DeepCopyInto ¶
func (in *HttprouteFaultInjectionPolicy) DeepCopyInto(out *HttprouteFaultInjectionPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteHeaders ¶
type HttprouteHeaders struct { /* The value of the header should match exactly the content of exact_match. */ // +optional ExactMatch *string `json:"exactMatch,omitempty"` /* The name of the HTTP header to match against. */ // +optional Header *string `json:"header,omitempty"` /* If specified, the match result will be inverted before checking. Default value is set to false. */ // +optional InvertMatch *bool `json:"invertMatch,omitempty"` /* The value of the header must start with the contents of prefix_match. */ // +optional PrefixMatch *string `json:"prefixMatch,omitempty"` /* A header with header_name must exist. The match takes place whether or not the header has a value. */ // +optional PresentMatch *bool `json:"presentMatch,omitempty"` /* If specified, the rule will match if the request header value is within the range. */ // +optional RangeMatch *HttprouteRangeMatch `json:"rangeMatch,omitempty"` /* The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax */ // +optional RegexMatch *string `json:"regexMatch,omitempty"` /* The value of the header must end with the contents of suffix_match. */ // +optional SuffixMatch *string `json:"suffixMatch,omitempty"` }
func (*HttprouteHeaders) DeepCopy ¶
func (in *HttprouteHeaders) DeepCopy() *HttprouteHeaders
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteHeaders.
func (*HttprouteHeaders) DeepCopyInto ¶
func (in *HttprouteHeaders) DeepCopyInto(out *HttprouteHeaders)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteMatches ¶
type HttprouteMatches struct { /* The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used. */ // +optional FullPathMatch *string `json:"fullPathMatch,omitempty"` /* Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched. */ // +optional Headers []HttprouteHeaders `json:"headers,omitempty"` /* Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false. */ // +optional IgnoreCase *bool `json:"ignoreCase,omitempty"` /* The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used. */ // +optional PrefixMatch *string `json:"prefixMatch,omitempty"` /* Specifies a list of query parameters to match against. ALL of the query parameters must be matched. */ // +optional QueryParameters []HttprouteQueryParameters `json:"queryParameters,omitempty"` /* The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used. */ // +optional RegexMatch *string `json:"regexMatch,omitempty"` }
func (*HttprouteMatches) DeepCopy ¶
func (in *HttprouteMatches) DeepCopy() *HttprouteMatches
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteMatches.
func (*HttprouteMatches) DeepCopyInto ¶
func (in *HttprouteMatches) DeepCopyInto(out *HttprouteMatches)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteQueryParameters ¶
type HttprouteQueryParameters struct { /* The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set. */ // +optional ExactMatch *string `json:"exactMatch,omitempty"` /* Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set. */ // +optional PresentMatch *bool `json:"presentMatch,omitempty"` /* The name of the query parameter to match. */ // +optional QueryParameter *string `json:"queryParameter,omitempty"` /* The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set. */ // +optional RegexMatch *string `json:"regexMatch,omitempty"` }
func (*HttprouteQueryParameters) DeepCopy ¶
func (in *HttprouteQueryParameters) DeepCopy() *HttprouteQueryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteQueryParameters.
func (*HttprouteQueryParameters) DeepCopyInto ¶
func (in *HttprouteQueryParameters) DeepCopyInto(out *HttprouteQueryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteRangeMatch ¶
type HttprouteRangeMatch struct { /* End of the range (exclusive) */ // +optional End *int `json:"end,omitempty"` /* Start of the range (inclusive) */ // +optional Start *int `json:"start,omitempty"` }
func (*HttprouteRangeMatch) DeepCopy ¶
func (in *HttprouteRangeMatch) DeepCopy() *HttprouteRangeMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteRangeMatch.
func (*HttprouteRangeMatch) DeepCopyInto ¶
func (in *HttprouteRangeMatch) DeepCopyInto(out *HttprouteRangeMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteRedirect ¶
type HttprouteRedirect struct { /* The host that will be used in the redirect response instead of the one that was supplied in the request. */ // +optional HostRedirect *string `json:"hostRedirect,omitempty"` /* If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false. */ // +optional HttpsRedirect *bool `json:"httpsRedirect,omitempty"` /* The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect. */ // +optional PathRedirect *string `json:"pathRedirect,omitempty"` /* The port that will be used in the redirected request instead of the one that was supplied in the request. */ // +optional PortRedirect *int `json:"portRedirect,omitempty"` /* Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request. */ // +optional PrefixRewrite *string `json:"prefixRewrite,omitempty"` /* The HTTP Status code to use for the redirect. Possible values: MOVED_PERMANENTLY_DEFAULT, FOUND, SEE_OTHER, TEMPORARY_REDIRECT, PERMANENT_REDIRECT */ // +optional ResponseCode *string `json:"responseCode,omitempty"` /* if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false. */ // +optional StripQuery *bool `json:"stripQuery,omitempty"` }
func (*HttprouteRedirect) DeepCopy ¶
func (in *HttprouteRedirect) DeepCopy() *HttprouteRedirect
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteRedirect.
func (*HttprouteRedirect) DeepCopyInto ¶
func (in *HttprouteRedirect) DeepCopyInto(out *HttprouteRedirect)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteRequestHeaderModifier ¶
type HttprouteRequestHeaderModifier struct { /* Add the headers with given map where key is the name of the header, value is the value of the header. */ // +optional Add map[string]string `json:"add,omitempty"` /* Remove headers (matching by header names) specified in the list. */ // +optional Remove []string `json:"remove,omitempty"` /* Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header. */ // +optional Set map[string]string `json:"set,omitempty"` }
func (*HttprouteRequestHeaderModifier) DeepCopy ¶
func (in *HttprouteRequestHeaderModifier) DeepCopy() *HttprouteRequestHeaderModifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteRequestHeaderModifier.
func (*HttprouteRequestHeaderModifier) DeepCopyInto ¶
func (in *HttprouteRequestHeaderModifier) DeepCopyInto(out *HttprouteRequestHeaderModifier)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteRequestMirrorPolicy ¶
type HttprouteRequestMirrorPolicy struct { /* The destination the requests will be mirrored to. The weight of the destination will be ignored. */ // +optional Destination *HttprouteDestination `json:"destination,omitempty"` }
func (*HttprouteRequestMirrorPolicy) DeepCopy ¶
func (in *HttprouteRequestMirrorPolicy) DeepCopy() *HttprouteRequestMirrorPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteRequestMirrorPolicy.
func (*HttprouteRequestMirrorPolicy) DeepCopyInto ¶
func (in *HttprouteRequestMirrorPolicy) DeepCopyInto(out *HttprouteRequestMirrorPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteResponseHeaderModifier ¶
type HttprouteResponseHeaderModifier struct { /* Add the headers with given map where key is the name of the header, value is the value of the header. */ // +optional Add map[string]string `json:"add,omitempty"` /* Remove headers (matching by header names) specified in the list. */ // +optional Remove []string `json:"remove,omitempty"` /* Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header. */ // +optional Set map[string]string `json:"set,omitempty"` }
func (*HttprouteResponseHeaderModifier) DeepCopy ¶
func (in *HttprouteResponseHeaderModifier) DeepCopy() *HttprouteResponseHeaderModifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteResponseHeaderModifier.
func (*HttprouteResponseHeaderModifier) DeepCopyInto ¶
func (in *HttprouteResponseHeaderModifier) DeepCopyInto(out *HttprouteResponseHeaderModifier)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteRetryPolicy ¶
type HttprouteRetryPolicy struct { /* Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. */ // +optional NumRetries *int `json:"numRetries,omitempty"` /* Specifies a non-zero timeout per retry attempt. */ // +optional PerTryTimeout *string `json:"perTryTimeout,omitempty"` /* Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. */ // +optional RetryConditions []string `json:"retryConditions,omitempty"` }
func (*HttprouteRetryPolicy) DeepCopy ¶
func (in *HttprouteRetryPolicy) DeepCopy() *HttprouteRetryPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteRetryPolicy.
func (*HttprouteRetryPolicy) DeepCopyInto ¶
func (in *HttprouteRetryPolicy) DeepCopyInto(out *HttprouteRetryPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteRules ¶
type HttprouteRules struct { /* The detailed rule defining how to route matched traffic. */ // +optional Action *HttprouteAction `json:"action,omitempty"` /* A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. */ // +optional Matches []HttprouteMatches `json:"matches,omitempty"` }
func (*HttprouteRules) DeepCopy ¶
func (in *HttprouteRules) DeepCopy() *HttprouteRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteRules.
func (*HttprouteRules) DeepCopyInto ¶
func (in *HttprouteRules) DeepCopyInto(out *HttprouteRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttprouteUrlRewrite ¶
type HttprouteUrlRewrite struct { /* Prior to forwarding the request to the selected destination, the requests host header is replaced by this value. */ // +optional HostRewrite *string `json:"hostRewrite,omitempty"` /* Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value. */ // +optional PathPrefixRewrite *string `json:"pathPrefixRewrite,omitempty"` }
func (*HttprouteUrlRewrite) DeepCopy ¶
func (in *HttprouteUrlRewrite) DeepCopy() *HttprouteUrlRewrite
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttprouteUrlRewrite.
func (*HttprouteUrlRewrite) DeepCopyInto ¶
func (in *HttprouteUrlRewrite) DeepCopyInto(out *HttprouteUrlRewrite)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesEndpointPolicy ¶
type NetworkServicesEndpointPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkServicesEndpointPolicySpec `json:"spec,omitempty"` Status NetworkServicesEndpointPolicyStatus `json:"status,omitempty"` }
NetworkServicesEndpointPolicy is the Schema for the networkservices API +k8s:openapi-gen=true
func (*NetworkServicesEndpointPolicy) DeepCopy ¶
func (in *NetworkServicesEndpointPolicy) DeepCopy() *NetworkServicesEndpointPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesEndpointPolicy.
func (*NetworkServicesEndpointPolicy) DeepCopyInto ¶
func (in *NetworkServicesEndpointPolicy) DeepCopyInto(out *NetworkServicesEndpointPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesEndpointPolicy) DeepCopyObject ¶
func (in *NetworkServicesEndpointPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesEndpointPolicyList ¶
type NetworkServicesEndpointPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkServicesEndpointPolicy `json:"items"` }
NetworkServicesEndpointPolicyList contains a list of NetworkServicesEndpointPolicy
func (*NetworkServicesEndpointPolicyList) DeepCopy ¶
func (in *NetworkServicesEndpointPolicyList) DeepCopy() *NetworkServicesEndpointPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesEndpointPolicyList.
func (*NetworkServicesEndpointPolicyList) DeepCopyInto ¶
func (in *NetworkServicesEndpointPolicyList) DeepCopyInto(out *NetworkServicesEndpointPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesEndpointPolicyList) DeepCopyObject ¶
func (in *NetworkServicesEndpointPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesEndpointPolicySpec ¶
type NetworkServicesEndpointPolicySpec struct { /* */ // +optional AuthorizationPolicyRef *v1alpha1.ResourceRef `json:"authorizationPolicyRef,omitempty"` /* */ // +optional ClientTlsPolicyRef *v1alpha1.ResourceRef `json:"clientTlsPolicyRef,omitempty"` /* Optional. A free-text description of the resource. Max length 1024 characters. */ // +optional Description *string `json:"description,omitempty"` /* Required. A matcher that selects endpoints to which the policies should be applied. */ EndpointMatcher EndpointpolicyEndpointMatcher `json:"endpointMatcher"` /* The location for the resource */ Location string `json:"location"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* */ // +optional ServerTlsPolicyRef *v1alpha1.ResourceRef `json:"serverTlsPolicyRef,omitempty"` /* Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports. */ // +optional TrafficPortSelector *EndpointpolicyTrafficPortSelector `json:"trafficPortSelector,omitempty"` /* Required. The type of endpoint config. This is primarily used to validate the configuration. Possible values: ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED, SIDECAR_PROXY, GRPC_SERVER */ Type string `json:"type"` }
func (*NetworkServicesEndpointPolicySpec) DeepCopy ¶
func (in *NetworkServicesEndpointPolicySpec) DeepCopy() *NetworkServicesEndpointPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesEndpointPolicySpec.
func (*NetworkServicesEndpointPolicySpec) DeepCopyInto ¶
func (in *NetworkServicesEndpointPolicySpec) DeepCopyInto(out *NetworkServicesEndpointPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesEndpointPolicyStatus ¶
type NetworkServicesEndpointPolicyStatus struct { /* Conditions represent the latest available observations of the NetworkServicesEndpointPolicy's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The timestamp when the resource was created. */ CreateTime string `json:"createTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. The timestamp when the resource was updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*NetworkServicesEndpointPolicyStatus) DeepCopy ¶
func (in *NetworkServicesEndpointPolicyStatus) DeepCopy() *NetworkServicesEndpointPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesEndpointPolicyStatus.
func (*NetworkServicesEndpointPolicyStatus) DeepCopyInto ¶
func (in *NetworkServicesEndpointPolicyStatus) DeepCopyInto(out *NetworkServicesEndpointPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesGRPCRoute ¶
type NetworkServicesGRPCRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkServicesGRPCRouteSpec `json:"spec,omitempty"` Status NetworkServicesGRPCRouteStatus `json:"status,omitempty"` }
NetworkServicesGRPCRoute is the Schema for the networkservices API +k8s:openapi-gen=true
func (*NetworkServicesGRPCRoute) DeepCopy ¶
func (in *NetworkServicesGRPCRoute) DeepCopy() *NetworkServicesGRPCRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesGRPCRoute.
func (*NetworkServicesGRPCRoute) DeepCopyInto ¶
func (in *NetworkServicesGRPCRoute) DeepCopyInto(out *NetworkServicesGRPCRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesGRPCRoute) DeepCopyObject ¶
func (in *NetworkServicesGRPCRoute) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesGRPCRouteList ¶
type NetworkServicesGRPCRouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkServicesGRPCRoute `json:"items"` }
NetworkServicesGRPCRouteList contains a list of NetworkServicesGRPCRoute
func (*NetworkServicesGRPCRouteList) DeepCopy ¶
func (in *NetworkServicesGRPCRouteList) DeepCopy() *NetworkServicesGRPCRouteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesGRPCRouteList.
func (*NetworkServicesGRPCRouteList) DeepCopyInto ¶
func (in *NetworkServicesGRPCRouteList) DeepCopyInto(out *NetworkServicesGRPCRouteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesGRPCRouteList) DeepCopyObject ¶
func (in *NetworkServicesGRPCRouteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesGRPCRouteSpec ¶
type NetworkServicesGRPCRouteSpec struct { /* Optional. A free-text description of the resource. Max length 1024 characters. */ // +optional Description *string `json:"description,omitempty"` /* */ // +optional Gateways []v1alpha1.ResourceRef `json:"gateways,omitempty"` /* Required. Service hostnames with an optional port for which this route describes traffic. Format: [:] Hostname is the fully qualified domain name of a network host. This matches the RFC 1123 definition of a hostname with 2 notable exceptions: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (*.). The wildcard label must appear by itself as the first label. Hostname can be “precise” which is a domain name without the terminating dot of a network host (e.g. “foo.example.com”) or “wildcard”, which is a domain name prefixed with a single wildcard label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or ‘-’, and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Router must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames "*.foo.bar.com" and "*.bar.com" to be associated with the same route, it is not possible to associate two routes both with "*.bar.com" or both with "bar.com". In the case that multiple routes match the hostname, the most specific match will be selected. For example, "foo.bar.baz.com" will take precedence over "*.bar.baz.com" and "*.bar.baz.com" will take precedence over "*.baz.com". If a port is specified, then gRPC clients must use the channel URI with the port to match this rule (i.e. "xds:///service:123"), otherwise they must supply the URI without a port (i.e. "xds:///service"). */ Hostnames []string `json:"hostnames"` /* Optional. Set of label tags associated with the GrpcRoute resource. */ // +optional Labels map[string]string `json:"labels,omitempty"` /* The location for the resource */ Location string `json:"location"` /* */ // +optional Meshes []v1alpha1.ResourceRef `json:"meshes,omitempty"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Optional. Routers define a list of routers this GrpcRoute should be served by. Each router reference should match the pattern: `projects/* /locations/global/routers/` */ // +optional Routers []string `json:"routers,omitempty"` /* Required. A list of detailed rules defining how to route traffic. Within a single GrpcRoute, the GrpcRoute.RouteAction associated with the first matching GrpcRoute.RouteRule will be executed. At least one rule must be supplied. */ Rules []GrpcrouteRules `json:"rules"` }
func (*NetworkServicesGRPCRouteSpec) DeepCopy ¶
func (in *NetworkServicesGRPCRouteSpec) DeepCopy() *NetworkServicesGRPCRouteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesGRPCRouteSpec.
func (*NetworkServicesGRPCRouteSpec) DeepCopyInto ¶
func (in *NetworkServicesGRPCRouteSpec) DeepCopyInto(out *NetworkServicesGRPCRouteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesGRPCRouteStatus ¶
type NetworkServicesGRPCRouteStatus struct { /* Conditions represent the latest available observations of the NetworkServicesGRPCRoute's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The timestamp when the resource was created. */ CreateTime string `json:"createTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. Server-defined URL of this resource */ SelfLink string `json:"selfLink,omitempty"` /* Output only. The timestamp when the resource was updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*NetworkServicesGRPCRouteStatus) DeepCopy ¶
func (in *NetworkServicesGRPCRouteStatus) DeepCopy() *NetworkServicesGRPCRouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesGRPCRouteStatus.
func (*NetworkServicesGRPCRouteStatus) DeepCopyInto ¶
func (in *NetworkServicesGRPCRouteStatus) DeepCopyInto(out *NetworkServicesGRPCRouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesGateway ¶
type NetworkServicesGateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkServicesGatewaySpec `json:"spec,omitempty"` Status NetworkServicesGatewayStatus `json:"status,omitempty"` }
NetworkServicesGateway is the Schema for the networkservices API +k8s:openapi-gen=true
func (*NetworkServicesGateway) DeepCopy ¶
func (in *NetworkServicesGateway) DeepCopy() *NetworkServicesGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesGateway.
func (*NetworkServicesGateway) DeepCopyInto ¶
func (in *NetworkServicesGateway) DeepCopyInto(out *NetworkServicesGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesGateway) DeepCopyObject ¶
func (in *NetworkServicesGateway) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesGatewayList ¶
type NetworkServicesGatewayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkServicesGateway `json:"items"` }
NetworkServicesGatewayList contains a list of NetworkServicesGateway
func (*NetworkServicesGatewayList) DeepCopy ¶
func (in *NetworkServicesGatewayList) DeepCopy() *NetworkServicesGatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesGatewayList.
func (*NetworkServicesGatewayList) DeepCopyInto ¶
func (in *NetworkServicesGatewayList) DeepCopyInto(out *NetworkServicesGatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesGatewayList) DeepCopyObject ¶
func (in *NetworkServicesGatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesGatewaySpec ¶
type NetworkServicesGatewaySpec struct { /* One or more addresses with ports in format of ":" that the Gateway must receive traffic on. The proxy binds to the ports specified. IP address can be anything that is allowed by the underlying infrastructure (auto-allocation, static IP, BYOIP). */ // +optional Addresses []string `json:"addresses,omitempty"` /* Optional. A fully-qualified AuthorizationPolicy URL reference. Specifies how traffic is authorized. If empty, authorization checks are disabled. */ // +optional AuthorizationPolicy *string `json:"authorizationPolicy,omitempty"` /* Optional. A free-text description of the resource. Max length 1024 characters. */ // +optional Description *string `json:"description,omitempty"` /* Optional. Set of label tags associated with the Gateway resource. */ // +optional Labels map[string]string `json:"labels,omitempty"` /* The location for the resource */ Location string `json:"location"` /* Required. One or more ports that the Gateway must receive traffic on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0 on the ports specified below. */ Ports []int `json:"ports"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Required. Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens. */ Scope string `json:"scope"` /* Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled. */ // +optional ServerTlsPolicy *string `json:"serverTlsPolicy,omitempty"` /* Immutable. The type of the customer managed gateway. Possible values: MATCH_TYPE_UNSPECIFIED, MATCH_ANY, MATCH_ALL */ // +optional Type *string `json:"type,omitempty"` }
func (*NetworkServicesGatewaySpec) DeepCopy ¶
func (in *NetworkServicesGatewaySpec) DeepCopy() *NetworkServicesGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesGatewaySpec.
func (*NetworkServicesGatewaySpec) DeepCopyInto ¶
func (in *NetworkServicesGatewaySpec) DeepCopyInto(out *NetworkServicesGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesGatewayStatus ¶
type NetworkServicesGatewayStatus struct { /* Conditions represent the latest available observations of the NetworkServicesGateway's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The timestamp when the resource was created. */ CreateTime string `json:"createTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. Server-defined URL of this resource */ SelfLink string `json:"selfLink,omitempty"` /* Output only. The timestamp when the resource was updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*NetworkServicesGatewayStatus) DeepCopy ¶
func (in *NetworkServicesGatewayStatus) DeepCopy() *NetworkServicesGatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesGatewayStatus.
func (*NetworkServicesGatewayStatus) DeepCopyInto ¶
func (in *NetworkServicesGatewayStatus) DeepCopyInto(out *NetworkServicesGatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesHTTPRoute ¶
type NetworkServicesHTTPRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkServicesHTTPRouteSpec `json:"spec,omitempty"` Status NetworkServicesHTTPRouteStatus `json:"status,omitempty"` }
NetworkServicesHTTPRoute is the Schema for the networkservices API +k8s:openapi-gen=true
func (*NetworkServicesHTTPRoute) DeepCopy ¶
func (in *NetworkServicesHTTPRoute) DeepCopy() *NetworkServicesHTTPRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesHTTPRoute.
func (*NetworkServicesHTTPRoute) DeepCopyInto ¶
func (in *NetworkServicesHTTPRoute) DeepCopyInto(out *NetworkServicesHTTPRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesHTTPRoute) DeepCopyObject ¶
func (in *NetworkServicesHTTPRoute) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesHTTPRouteList ¶
type NetworkServicesHTTPRouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkServicesHTTPRoute `json:"items"` }
NetworkServicesHTTPRouteList contains a list of NetworkServicesHTTPRoute
func (*NetworkServicesHTTPRouteList) DeepCopy ¶
func (in *NetworkServicesHTTPRouteList) DeepCopy() *NetworkServicesHTTPRouteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesHTTPRouteList.
func (*NetworkServicesHTTPRouteList) DeepCopyInto ¶
func (in *NetworkServicesHTTPRouteList) DeepCopyInto(out *NetworkServicesHTTPRouteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesHTTPRouteList) DeepCopyObject ¶
func (in *NetworkServicesHTTPRouteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesHTTPRouteSpec ¶
type NetworkServicesHTTPRouteSpec struct { /* Optional. A free-text description of the resource. Max length 1024 characters. */ // +optional Description *string `json:"description,omitempty"` /* */ // +optional Gateways []v1alpha1.ResourceRef `json:"gateways,omitempty"` /* Required. Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that ip addresses are not allowed. Wildcard hosts are supported as "*" (no prefix or suffix allowed). */ Hostnames []string `json:"hostnames"` /* Optional. Set of label tags associated with the HttpRoute resource. */ // +optional Labels map[string]string `json:"labels,omitempty"` /* The location for the resource */ Location string `json:"location"` /* */ // +optional Meshes []v1alpha1.ResourceRef `json:"meshes,omitempty"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Optional. Routers define a list of routers this HttpRoute should be served by. Each router reference should match the pattern: `projects/* /locations/global/routers/` The attached Router should be of a type PROXY */ // +optional Routers []string `json:"routers,omitempty"` /* Required. Rules that define how traffic is routed and handled. */ Rules []HttprouteRules `json:"rules"` }
func (*NetworkServicesHTTPRouteSpec) DeepCopy ¶
func (in *NetworkServicesHTTPRouteSpec) DeepCopy() *NetworkServicesHTTPRouteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesHTTPRouteSpec.
func (*NetworkServicesHTTPRouteSpec) DeepCopyInto ¶
func (in *NetworkServicesHTTPRouteSpec) DeepCopyInto(out *NetworkServicesHTTPRouteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesHTTPRouteStatus ¶
type NetworkServicesHTTPRouteStatus struct { /* Conditions represent the latest available observations of the NetworkServicesHTTPRoute's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The timestamp when the resource was created. */ CreateTime string `json:"createTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. Server-defined URL of this resource */ SelfLink string `json:"selfLink,omitempty"` /* Output only. The timestamp when the resource was updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*NetworkServicesHTTPRouteStatus) DeepCopy ¶
func (in *NetworkServicesHTTPRouteStatus) DeepCopy() *NetworkServicesHTTPRouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesHTTPRouteStatus.
func (*NetworkServicesHTTPRouteStatus) DeepCopyInto ¶
func (in *NetworkServicesHTTPRouteStatus) DeepCopyInto(out *NetworkServicesHTTPRouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesMesh ¶
type NetworkServicesMesh struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkServicesMeshSpec `json:"spec,omitempty"` Status NetworkServicesMeshStatus `json:"status,omitempty"` }
NetworkServicesMesh is the Schema for the networkservices API +k8s:openapi-gen=true
func (*NetworkServicesMesh) DeepCopy ¶
func (in *NetworkServicesMesh) DeepCopy() *NetworkServicesMesh
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesMesh.
func (*NetworkServicesMesh) DeepCopyInto ¶
func (in *NetworkServicesMesh) DeepCopyInto(out *NetworkServicesMesh)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesMesh) DeepCopyObject ¶
func (in *NetworkServicesMesh) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesMeshList ¶
type NetworkServicesMeshList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkServicesMesh `json:"items"` }
NetworkServicesMeshList contains a list of NetworkServicesMesh
func (*NetworkServicesMeshList) DeepCopy ¶
func (in *NetworkServicesMeshList) DeepCopy() *NetworkServicesMeshList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesMeshList.
func (*NetworkServicesMeshList) DeepCopyInto ¶
func (in *NetworkServicesMeshList) DeepCopyInto(out *NetworkServicesMeshList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesMeshList) DeepCopyObject ¶
func (in *NetworkServicesMeshList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesMeshSpec ¶
type NetworkServicesMeshSpec struct { /* Optional. A free-text description of the resource. Max length 1024 characters. */ // +optional Description *string `json:"description,omitempty"` /* Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. This field is only valid if the type of Mesh is SIDECAR. */ // +optional InterceptionPort *int `json:"interceptionPort,omitempty"` /* Optional. Set of label tags associated with the Mesh resource. */ // +optional Labels map[string]string `json:"labels,omitempty"` /* The location for the resource */ Location string `json:"location"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` }
func (*NetworkServicesMeshSpec) DeepCopy ¶
func (in *NetworkServicesMeshSpec) DeepCopy() *NetworkServicesMeshSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesMeshSpec.
func (*NetworkServicesMeshSpec) DeepCopyInto ¶
func (in *NetworkServicesMeshSpec) DeepCopyInto(out *NetworkServicesMeshSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesMeshStatus ¶
type NetworkServicesMeshStatus struct { /* Conditions represent the latest available observations of the NetworkServicesMesh's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The timestamp when the resource was created. */ CreateTime string `json:"createTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. Server-defined URL of this resource */ SelfLink string `json:"selfLink,omitempty"` /* Output only. The timestamp when the resource was updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*NetworkServicesMeshStatus) DeepCopy ¶
func (in *NetworkServicesMeshStatus) DeepCopy() *NetworkServicesMeshStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesMeshStatus.
func (*NetworkServicesMeshStatus) DeepCopyInto ¶
func (in *NetworkServicesMeshStatus) DeepCopyInto(out *NetworkServicesMeshStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesTCPRoute ¶
type NetworkServicesTCPRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkServicesTCPRouteSpec `json:"spec,omitempty"` Status NetworkServicesTCPRouteStatus `json:"status,omitempty"` }
NetworkServicesTCPRoute is the Schema for the networkservices API +k8s:openapi-gen=true
func (*NetworkServicesTCPRoute) DeepCopy ¶
func (in *NetworkServicesTCPRoute) DeepCopy() *NetworkServicesTCPRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesTCPRoute.
func (*NetworkServicesTCPRoute) DeepCopyInto ¶
func (in *NetworkServicesTCPRoute) DeepCopyInto(out *NetworkServicesTCPRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesTCPRoute) DeepCopyObject ¶
func (in *NetworkServicesTCPRoute) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesTCPRouteList ¶
type NetworkServicesTCPRouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkServicesTCPRoute `json:"items"` }
NetworkServicesTCPRouteList contains a list of NetworkServicesTCPRoute
func (*NetworkServicesTCPRouteList) DeepCopy ¶
func (in *NetworkServicesTCPRouteList) DeepCopy() *NetworkServicesTCPRouteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesTCPRouteList.
func (*NetworkServicesTCPRouteList) DeepCopyInto ¶
func (in *NetworkServicesTCPRouteList) DeepCopyInto(out *NetworkServicesTCPRouteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesTCPRouteList) DeepCopyObject ¶
func (in *NetworkServicesTCPRouteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesTCPRouteSpec ¶
type NetworkServicesTCPRouteSpec struct { /* Optional. A free-text description of the resource. Max length 1024 characters. */ // +optional Description *string `json:"description,omitempty"` /* */ // +optional Gateways []v1alpha1.ResourceRef `json:"gateways,omitempty"` /* Optional. Set of label tags associated with the TcpRoute resource. */ // +optional Labels map[string]string `json:"labels,omitempty"` /* The location for the resource */ Location string `json:"location"` /* */ // +optional Meshes []v1alpha1.ResourceRef `json:"meshes,omitempty"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Optional. Routers define a list of routers this TcpRoute should be served by. Each router reference should match the pattern: `projects/* /locations/global/routers/` The attached Router should be of a type PROXY */ // +optional Routers []string `json:"routers,omitempty"` /* Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match. */ Rules []TcprouteRules `json:"rules"` }
func (*NetworkServicesTCPRouteSpec) DeepCopy ¶
func (in *NetworkServicesTCPRouteSpec) DeepCopy() *NetworkServicesTCPRouteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesTCPRouteSpec.
func (*NetworkServicesTCPRouteSpec) DeepCopyInto ¶
func (in *NetworkServicesTCPRouteSpec) DeepCopyInto(out *NetworkServicesTCPRouteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesTCPRouteStatus ¶
type NetworkServicesTCPRouteStatus struct { /* Conditions represent the latest available observations of the NetworkServicesTCPRoute's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The timestamp when the resource was created. */ CreateTime string `json:"createTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. Server-defined URL of this resource */ SelfLink string `json:"selfLink,omitempty"` /* Output only. The timestamp when the resource was updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*NetworkServicesTCPRouteStatus) DeepCopy ¶
func (in *NetworkServicesTCPRouteStatus) DeepCopy() *NetworkServicesTCPRouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesTCPRouteStatus.
func (*NetworkServicesTCPRouteStatus) DeepCopyInto ¶
func (in *NetworkServicesTCPRouteStatus) DeepCopyInto(out *NetworkServicesTCPRouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesTLSRoute ¶ added in v1.80.0
type NetworkServicesTLSRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkServicesTLSRouteSpec `json:"spec,omitempty"` Status NetworkServicesTLSRouteStatus `json:"status,omitempty"` }
NetworkServicesTLSRoute is the Schema for the networkservices API +k8s:openapi-gen=true
func (*NetworkServicesTLSRoute) DeepCopy ¶ added in v1.80.0
func (in *NetworkServicesTLSRoute) DeepCopy() *NetworkServicesTLSRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesTLSRoute.
func (*NetworkServicesTLSRoute) DeepCopyInto ¶ added in v1.80.0
func (in *NetworkServicesTLSRoute) DeepCopyInto(out *NetworkServicesTLSRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesTLSRoute) DeepCopyObject ¶ added in v1.80.0
func (in *NetworkServicesTLSRoute) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesTLSRouteList ¶ added in v1.80.0
type NetworkServicesTLSRouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkServicesTLSRoute `json:"items"` }
NetworkServicesTLSRouteList contains a list of NetworkServicesTLSRoute
func (*NetworkServicesTLSRouteList) DeepCopy ¶ added in v1.80.0
func (in *NetworkServicesTLSRouteList) DeepCopy() *NetworkServicesTLSRouteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesTLSRouteList.
func (*NetworkServicesTLSRouteList) DeepCopyInto ¶ added in v1.80.0
func (in *NetworkServicesTLSRouteList) DeepCopyInto(out *NetworkServicesTLSRouteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkServicesTLSRouteList) DeepCopyObject ¶ added in v1.80.0
func (in *NetworkServicesTLSRouteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkServicesTLSRouteSpec ¶ added in v1.80.0
type NetworkServicesTLSRouteSpec struct { /* Optional. A free-text description of the resource. Max length 1024 characters. */ // +optional Description *string `json:"description,omitempty"` /* */ // +optional Gateways []v1alpha1.ResourceRef `json:"gateways,omitempty"` /* The location for the resource */ Location string `json:"location"` /* */ // +optional Meshes []v1alpha1.ResourceRef `json:"meshes,omitempty"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match. */ Rules []TlsrouteRules `json:"rules"` }
func (*NetworkServicesTLSRouteSpec) DeepCopy ¶ added in v1.80.0
func (in *NetworkServicesTLSRouteSpec) DeepCopy() *NetworkServicesTLSRouteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesTLSRouteSpec.
func (*NetworkServicesTLSRouteSpec) DeepCopyInto ¶ added in v1.80.0
func (in *NetworkServicesTLSRouteSpec) DeepCopyInto(out *NetworkServicesTLSRouteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkServicesTLSRouteStatus ¶ added in v1.80.0
type NetworkServicesTLSRouteStatus struct { /* Conditions represent the latest available observations of the NetworkServicesTLSRoute's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The timestamp when the resource was created. */ CreateTime string `json:"createTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. Server-defined URL of this resource */ SelfLink string `json:"selfLink,omitempty"` /* Output only. The timestamp when the resource was updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*NetworkServicesTLSRouteStatus) DeepCopy ¶ added in v1.80.0
func (in *NetworkServicesTLSRouteStatus) DeepCopy() *NetworkServicesTLSRouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesTLSRouteStatus.
func (*NetworkServicesTLSRouteStatus) DeepCopyInto ¶ added in v1.80.0
func (in *NetworkServicesTLSRouteStatus) DeepCopyInto(out *NetworkServicesTLSRouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TcprouteAction ¶
type TcprouteAction struct { /* Optional. The destination services to which traffic should be forwarded. At least one destination service is required. */ // +optional Destinations []TcprouteDestinations `json:"destinations,omitempty"` /* Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. */ // +optional OriginalDestination *bool `json:"originalDestination,omitempty"` }
func (*TcprouteAction) DeepCopy ¶
func (in *TcprouteAction) DeepCopy() *TcprouteAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcprouteAction.
func (*TcprouteAction) DeepCopyInto ¶
func (in *TcprouteAction) DeepCopyInto(out *TcprouteAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TcprouteDestinations ¶
type TcprouteDestinations struct { /* */ ServiceRef v1alpha1.ResourceRef `json:"serviceRef"` /* Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. */ // +optional Weight *int `json:"weight,omitempty"` }
func (*TcprouteDestinations) DeepCopy ¶
func (in *TcprouteDestinations) DeepCopy() *TcprouteDestinations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcprouteDestinations.
func (*TcprouteDestinations) DeepCopyInto ¶
func (in *TcprouteDestinations) DeepCopyInto(out *TcprouteDestinations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TcprouteMatches ¶
type TcprouteMatches struct { /* Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: “10.0.0.1” - matches against this exact IP address. “10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'. */ Address string `json:"address"` /* Required. Specifies the destination port to match against. */ Port string `json:"port"` }
func (*TcprouteMatches) DeepCopy ¶
func (in *TcprouteMatches) DeepCopy() *TcprouteMatches
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcprouteMatches.
func (*TcprouteMatches) DeepCopyInto ¶
func (in *TcprouteMatches) DeepCopyInto(out *TcprouteMatches)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TcprouteRules ¶
type TcprouteRules struct { /* Required. The detailed rule defining how to route matched traffic. */ Action TcprouteAction `json:"action"` /* Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are “OR”ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. */ // +optional Matches []TcprouteMatches `json:"matches,omitempty"` }
func (*TcprouteRules) DeepCopy ¶
func (in *TcprouteRules) DeepCopy() *TcprouteRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcprouteRules.
func (*TcprouteRules) DeepCopyInto ¶
func (in *TcprouteRules) DeepCopyInto(out *TcprouteRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsrouteAction ¶ added in v1.80.0
type TlsrouteAction struct { /* Required. The destination services to which traffic should be forwarded. At least one destination service is required. */ Destinations []TlsrouteDestinations `json:"destinations"` }
func (*TlsrouteAction) DeepCopy ¶ added in v1.80.0
func (in *TlsrouteAction) DeepCopy() *TlsrouteAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsrouteAction.
func (*TlsrouteAction) DeepCopyInto ¶ added in v1.80.0
func (in *TlsrouteAction) DeepCopyInto(out *TlsrouteAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsrouteDestinations ¶ added in v1.80.0
type TlsrouteDestinations struct { /* */ ServiceRef v1alpha1.ResourceRef `json:"serviceRef"` /* Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100. */ // +optional Weight *int `json:"weight,omitempty"` }
func (*TlsrouteDestinations) DeepCopy ¶ added in v1.80.0
func (in *TlsrouteDestinations) DeepCopy() *TlsrouteDestinations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsrouteDestinations.
func (*TlsrouteDestinations) DeepCopyInto ¶ added in v1.80.0
func (in *TlsrouteDestinations) DeepCopyInto(out *TlsrouteDestinations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsrouteMatches ¶ added in v1.80.0
type TlsrouteMatches struct { /* Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. */ // +optional Alpn []string `json:"alpn,omitempty"` /* Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set. */ // +optional SniHost []string `json:"sniHost,omitempty"` }
func (*TlsrouteMatches) DeepCopy ¶ added in v1.80.0
func (in *TlsrouteMatches) DeepCopy() *TlsrouteMatches
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsrouteMatches.
func (*TlsrouteMatches) DeepCopyInto ¶ added in v1.80.0
func (in *TlsrouteMatches) DeepCopyInto(out *TlsrouteMatches)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsrouteRules ¶ added in v1.80.0
type TlsrouteRules struct { /* Required. The detailed rule defining how to route matched traffic. */ Action TlsrouteAction `json:"action"` /* Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. */ Matches []TlsrouteMatches `json:"matches"` }
func (*TlsrouteRules) DeepCopy ¶ added in v1.80.0
func (in *TlsrouteRules) DeepCopy() *TlsrouteRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsrouteRules.
func (*TlsrouteRules) DeepCopyInto ¶ added in v1.80.0
func (in *TlsrouteRules) DeepCopyInto(out *TlsrouteRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.