v1beta1

package
v1.26.11 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API. +groupName=networking.gke.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: frontendconfig.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 FrontendConfig

type FrontendConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FrontendConfigSpec   `json:"spec,omitempty"`
	Status            FrontendConfigStatus `json:"status,omitempty"`
}

+genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

+k8s:openapi-gen=true

func (*FrontendConfig) DeepCopy

func (in *FrontendConfig) DeepCopy() *FrontendConfig

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

func (*FrontendConfig) DeepCopyInto

func (in *FrontendConfig) DeepCopyInto(out *FrontendConfig)

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

func (*FrontendConfig) DeepCopyObject

func (in *FrontendConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FrontendConfigList

type FrontendConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []FrontendConfig `json:"items"`
}

FrontendConfigList is a list of FrontendConfig resources

func (*FrontendConfigList) DeepCopy

func (in *FrontendConfigList) DeepCopy() *FrontendConfigList

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

func (*FrontendConfigList) DeepCopyInto

func (in *FrontendConfigList) DeepCopyInto(out *FrontendConfigList)

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

func (*FrontendConfigList) DeepCopyObject

func (in *FrontendConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FrontendConfigSpec

type FrontendConfigSpec struct {
	SslPolicy       *string              `json:"sslPolicy,omitempty"`
	RedirectToHttps *HttpsRedirectConfig `json:"redirectToHttps,omitempty"`
}

FrontendConfigSpec is the spec for a FrontendConfig resource +k8s:openapi-gen=true

func (*FrontendConfigSpec) DeepCopy

func (in *FrontendConfigSpec) DeepCopy() *FrontendConfigSpec

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

func (*FrontendConfigSpec) DeepCopyInto

func (in *FrontendConfigSpec) DeepCopyInto(out *FrontendConfigSpec)

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

type FrontendConfigStatus

type FrontendConfigStatus struct{}

FrontendConfigStatus is the status for a FrontendConfig resource

func (*FrontendConfigStatus) DeepCopy

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

func (*FrontendConfigStatus) DeepCopyInto

func (in *FrontendConfigStatus) DeepCopyInto(out *FrontendConfigStatus)

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

type HttpsRedirectConfig added in v1.10.0

type HttpsRedirectConfig struct {
	Enabled bool `json:"enabled"`
	// String representing the HTTP response code
	// Options are MOVED_PERMANENTLY_DEFAULT, FOUND, TEMPORARY_REDIRECT, or PERMANENT_REDIRECT
	ResponseCodeName string `json:"responseCodeName,omitempty"`
}

HttpsRedirectConfig representing the configuration of Https redirects +k8s:openapi-gen=true

func (*HttpsRedirectConfig) DeepCopy added in v1.10.0

func (in *HttpsRedirectConfig) DeepCopy() *HttpsRedirectConfig

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

func (*HttpsRedirectConfig) DeepCopyInto added in v1.10.0

func (in *HttpsRedirectConfig) DeepCopyInto(out *HttpsRedirectConfig)

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