v1beta1

package
v1.20.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 31

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API. +groupName=cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: backendconfig.GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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"`
	HealthCheck          *HealthCheckConfig          `json:"healthCheck,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

func (in *CDNConfig) DeepCopy() *CDNConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDNConfig.

func (*CDNConfig) DeepCopyInto

func (in *CDNConfig) DeepCopyInto(out *CDNConfig)

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 added in v1.4.0

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 added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionDrainingConfig.

func (*ConnectionDrainingConfig) DeepCopyInto added in v1.4.0

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

func (*CustomRequestHeadersConfig) DeepCopy added in v1.9.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRequestHeadersConfig.

func (*CustomRequestHeadersConfig) DeepCopyInto added in v1.9.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HealthCheckConfig added in v1.9.0

type HealthCheckConfig struct {
	// CheckIntervalSec is a health check parameter. See
	// https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
	CheckIntervalSec *int64 `json:"checkIntervalSec,omitempty"`
	// TimeoutSec is a health check parameter. See
	// https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
	TimeoutSec *int64 `json:"timeoutSec,omitempty"`
	// HealthyThreshold is a health check parameter. See
	// https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
	HealthyThreshold *int64 `json:"healthyThreshold,omitempty"`
	// UnhealthyThreshold is a health check parameter. See
	// https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
	UnhealthyThreshold *int64 `json:"unhealthyThreshold,omitempty"`
	// Type is a health check parameter. See
	// https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
	Type *string `json:"type,omitempty"`
	Port *int64  `json:"port,omitempty"`
	// RequestPath is a health check parameter. See
	// https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
	RequestPath *string `json:"requestPath,omitempty"`
}

HealthCheckConfig contains configuration for the health check. +k8s:openapi-gen=true

func (*HealthCheckConfig) DeepCopy added in v1.9.0

func (in *HealthCheckConfig) DeepCopy() *HealthCheckConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckConfig.

func (*HealthCheckConfig) DeepCopyInto added in v1.9.0

func (in *HealthCheckConfig) DeepCopyInto(out *HealthCheckConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

func (in *IAPConfig) DeepCopy() *IAPConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAPConfig.

func (*IAPConfig) DeepCopyInto

func (in *IAPConfig) DeepCopyInto(out *IAPConfig)

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

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. If set to empty, the
	// existing security policy on the backend will be removed.
	Name string `json:"name"`
}

SecurityPolicyConfig contains configuration for CloudArmor-enabled backends. If not specified, the controller will not reconcile the security policy configuration. In other words, users can make changes in GCE without the controller overwriting them. +k8s:openapi-gen=true

func (*SecurityPolicyConfig) DeepCopy

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 added in v1.4.0

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 added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityConfig.

func (*SessionAffinityConfig) DeepCopyInto added in v1.4.0

func (in *SessionAffinityConfig) DeepCopyInto(out *SessionAffinityConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL