Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=cloud.google.com
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type BackendConfig
- type BackendConfigList
- type BackendConfigSpec
- type BackendConfigStatus
- type CDNConfig
- type CacheKeyPolicy
- type ConnectionDrainingConfig
- type CustomRequestHeadersConfig
- type IAPConfig
- type OAuthClientCredentials
- type SecurityPolicyConfig
- type SessionAffinityConfig
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: backendconfig.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BackendConfig ¶
type BackendConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackendConfigSpec `json:"spec,omitempty"` Status BackendConfigStatus `json:"status,omitempty"` }
+k8s:openapi-gen=true
func (*BackendConfig) DeepCopy ¶
func (in *BackendConfig) DeepCopy() *BackendConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendConfig.
func (*BackendConfig) DeepCopyInto ¶
func (in *BackendConfig) DeepCopyInto(out *BackendConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackendConfig) DeepCopyObject ¶
func (in *BackendConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackendConfigList ¶
type BackendConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []BackendConfig `json:"items"` }
BackendConfigList is a list of BackendConfig resources
func (*BackendConfigList) DeepCopy ¶
func (in *BackendConfigList) DeepCopy() *BackendConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendConfigList.
func (*BackendConfigList) DeepCopyInto ¶
func (in *BackendConfigList) DeepCopyInto(out *BackendConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackendConfigList) DeepCopyObject ¶
func (in *BackendConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackendConfigSpec ¶
type BackendConfigSpec struct { Iap *IAPConfig `json:"iap,omitempty"` Cdn *CDNConfig `json:"cdn,omitempty"` SecurityPolicy *SecurityPolicyConfig `json:"securityPolicy,omitempty"` TimeoutSec *int64 `json:"timeoutSec,omitempty"` ConnectionDraining *ConnectionDrainingConfig `json:"connectionDraining,omitempty"` SessionAffinity *SessionAffinityConfig `json:"sessionAffinity,omitempty"` CustomRequestHeaders *CustomRequestHeadersConfig `json:"customRequestHeaders,omitempty"` }
BackendConfigSpec is the spec for a BackendConfig resource +k8s:openapi-gen=true
func (*BackendConfigSpec) DeepCopy ¶
func (in *BackendConfigSpec) DeepCopy() *BackendConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendConfigSpec.
func (*BackendConfigSpec) DeepCopyInto ¶
func (in *BackendConfigSpec) DeepCopyInto(out *BackendConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendConfigStatus ¶
type BackendConfigStatus struct { }
BackendConfigStatus is the status for a BackendConfig resource
func (*BackendConfigStatus) DeepCopy ¶
func (in *BackendConfigStatus) DeepCopy() *BackendConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendConfigStatus.
func (*BackendConfigStatus) DeepCopyInto ¶
func (in *BackendConfigStatus) DeepCopyInto(out *BackendConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CDNConfig ¶
type CDNConfig struct { Enabled bool `json:"enabled"` CachePolicy *CacheKeyPolicy `json:"cachePolicy,omitempty"` }
CDNConfig contains configuration for CDN-enabled backends. +k8s:openapi-gen=true
func (*CDNConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDNConfig.
func (*CDNConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CacheKeyPolicy ¶
type CacheKeyPolicy struct { // If true, requests to different hosts will be cached separately. IncludeHost bool `json:"includeHost,omitempty"` // If true, http and https requests will be cached separately. IncludeProtocol bool `json:"includeProtocol,omitempty"` // If true, query string parameters are included in the cache key // according to QueryStringBlacklist and QueryStringWhitelist. // If neither is set, the entire query string is included and if false // the entire query string is excluded. IncludeQueryString bool `json:"includeQueryString,omitempty"` // Names of query strint parameters to exclude from cache keys. All other // parameters are included. Either specify QueryStringBlacklist or // QueryStringWhitelist, but not both. QueryStringBlacklist []string `json:"queryStringBlacklist,omitempty"` // Names of query string parameters to include in cache keys. All other // parameters are excluded. Either specify QueryStringBlacklist or // QueryStringWhitelist, but not both. QueryStringWhitelist []string `json:"queryStringWhitelist,omitempty"` }
CacheKeyPolicy contains configuration for how requests to a CDN-enabled backend are cached. +k8s:openapi-gen=true
func (*CacheKeyPolicy) DeepCopy ¶
func (in *CacheKeyPolicy) DeepCopy() *CacheKeyPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheKeyPolicy.
func (*CacheKeyPolicy) DeepCopyInto ¶
func (in *CacheKeyPolicy) DeepCopyInto(out *CacheKeyPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionDrainingConfig ¶
type ConnectionDrainingConfig struct { // Draining timeout in seconds. DrainingTimeoutSec int64 `json:"drainingTimeoutSec,omitempty"` }
ConnectionDrainingConfig contains configuration for connection draining. For now the draining timeout. May manage more settings in the future. +k8s:openapi-gen=true
func (*ConnectionDrainingConfig) DeepCopy ¶
func (in *ConnectionDrainingConfig) DeepCopy() *ConnectionDrainingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionDrainingConfig.
func (*ConnectionDrainingConfig) DeepCopyInto ¶
func (in *ConnectionDrainingConfig) DeepCopyInto(out *ConnectionDrainingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomRequestHeadersConfig ¶ added in v1.7.0
type CustomRequestHeadersConfig struct {
Headers []string `json:"headers,omitempty"`
}
CustomRequestHeadersConfig contains configuration for custom request headers +k8s:openapi-gen=true
type IAPConfig ¶
type IAPConfig struct { Enabled bool `json:"enabled"` OAuthClientCredentials *OAuthClientCredentials `json:"oauthclientCredentials"` }
IAPConfig contains configuration for IAP-enabled backends. +k8s:openapi-gen=true
func (*IAPConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAPConfig.
func (*IAPConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuthClientCredentials ¶
type OAuthClientCredentials struct { // The name of a k8s secret which stores the OAuth client id & secret. SecretName string `json:"secretName"` // Direct reference to OAuth client id. ClientID string `json:"clientID,omitempty"` // Direct reference to OAuth client secret. ClientSecret string `json:"clientSecret,omitempty"` }
OAuthClientCredentials contains credentials for a single IAP-enabled backend. +k8s:openapi-gen=true
func (*OAuthClientCredentials) DeepCopy ¶
func (in *OAuthClientCredentials) DeepCopy() *OAuthClientCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientCredentials.
func (*OAuthClientCredentials) DeepCopyInto ¶
func (in *OAuthClientCredentials) DeepCopyInto(out *OAuthClientCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityPolicyConfig ¶
type SecurityPolicyConfig struct { // Name of the security policy that should be associated. Name string `json:"name"` }
SecurityPolicyConfig contains configuration for CloudArmor-enabled backends.
func (*SecurityPolicyConfig) DeepCopy ¶
func (in *SecurityPolicyConfig) DeepCopy() *SecurityPolicyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyConfig.
func (*SecurityPolicyConfig) DeepCopyInto ¶
func (in *SecurityPolicyConfig) DeepCopyInto(out *SecurityPolicyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionAffinityConfig ¶
type SessionAffinityConfig struct { AffinityType string `json:"affinityType,omitempty"` AffinityCookieTtlSec *int64 `json:"affinityCookieTtlSec,omitempty"` }
SessionAffinityConfig contains configuration for stickyness parameters. +k8s:openapi-gen=true
func (*SessionAffinityConfig) DeepCopy ¶
func (in *SessionAffinityConfig) DeepCopy() *SessionAffinityConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityConfig.
func (*SessionAffinityConfig) DeepCopyInto ¶
func (in *SessionAffinityConfig) DeepCopyInto(out *SessionAffinityConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.