v1beta1

package
v1.72.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for identityplatform/v1beta1 API group

Package v1beta1 contains API Schema definitions for the identityplatform v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/identityplatform +k8s:defaulter-gen=TypeMeta +groupName=identityplatform.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "identityplatform.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

	IdentityPlatformOAuthIDPConfigGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(IdentityPlatformOAuthIDPConfig{}).Name(),
	}

	IdentityPlatformTenantGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(IdentityPlatformTenant{}).Name(),
	}

	IdentityPlatformTenantOAuthIDPConfigGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(IdentityPlatformTenantOAuthIDPConfig{}).Name(),
	}
)

Functions

This section is empty.

Types

type IdentityPlatformOAuthIDPConfig

type IdentityPlatformOAuthIDPConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   IdentityPlatformOAuthIDPConfigSpec   `json:"spec,omitempty"`
	Status IdentityPlatformOAuthIDPConfigStatus `json:"status,omitempty"`
}

IdentityPlatformOAuthIDPConfig is the Schema for the identityplatform API +k8s:openapi-gen=true

func (*IdentityPlatformOAuthIDPConfig) DeepCopy

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

func (*IdentityPlatformOAuthIDPConfig) DeepCopyInto

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

func (*IdentityPlatformOAuthIDPConfig) DeepCopyObject

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

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

type IdentityPlatformOAuthIDPConfigList

type IdentityPlatformOAuthIDPConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []IdentityPlatformOAuthIDPConfig `json:"items"`
}

IdentityPlatformOAuthIDPConfigList contains a list of IdentityPlatformOAuthIDPConfig

func (*IdentityPlatformOAuthIDPConfigList) DeepCopy

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

func (*IdentityPlatformOAuthIDPConfigList) DeepCopyInto

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

func (*IdentityPlatformOAuthIDPConfigList) DeepCopyObject

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

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

type IdentityPlatformOAuthIDPConfigSpec

type IdentityPlatformOAuthIDPConfigSpec struct {
	/* The client id of an OAuth client. */
	// +optional
	ClientId *string `json:"clientId,omitempty"`

	/* The client secret of the OAuth client, to enable OIDC code flow. */
	// +optional
	ClientSecret *OauthidpconfigClientSecret `json:"clientSecret,omitempty"`

	/* The config's display name set by developers. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* True if allows the user to sign in with the provider. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`

	/* For OIDC Idps, the issuer identifier. */
	// +optional
	Issuer *string `json:"issuer,omitempty"`

	/* 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"`

	/* The multiple response type to request for in the OAuth authorization flow. This can possibly be a combination of set bits (e.g.: {id\_token, token}). */
	// +optional
	ResponseType *OauthidpconfigResponseType `json:"responseType,omitempty"`
}

func (*IdentityPlatformOAuthIDPConfigSpec) DeepCopy

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

func (*IdentityPlatformOAuthIDPConfigSpec) DeepCopyInto

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

type IdentityPlatformOAuthIDPConfigStatus

type IdentityPlatformOAuthIDPConfigStatus struct {
	/* Conditions represent the latest available observations of the
	   IdentityPlatformOAuthIDPConfig's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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"`
}

func (*IdentityPlatformOAuthIDPConfigStatus) DeepCopy

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

func (*IdentityPlatformOAuthIDPConfigStatus) DeepCopyInto

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

type IdentityPlatformTenant

type IdentityPlatformTenant struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   IdentityPlatformTenantSpec   `json:"spec,omitempty"`
	Status IdentityPlatformTenantStatus `json:"status,omitempty"`
}

IdentityPlatformTenant is the Schema for the identityplatform API +k8s:openapi-gen=true

func (*IdentityPlatformTenant) DeepCopy

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

func (*IdentityPlatformTenant) DeepCopyInto

func (in *IdentityPlatformTenant) DeepCopyInto(out *IdentityPlatformTenant)

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

func (*IdentityPlatformTenant) DeepCopyObject

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

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

type IdentityPlatformTenantList

type IdentityPlatformTenantList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []IdentityPlatformTenant `json:"items"`
}

IdentityPlatformTenantList contains a list of IdentityPlatformTenant

func (*IdentityPlatformTenantList) DeepCopy

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

func (*IdentityPlatformTenantList) DeepCopyInto

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

func (*IdentityPlatformTenantList) DeepCopyObject

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

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

type IdentityPlatformTenantOAuthIDPConfig

type IdentityPlatformTenantOAuthIDPConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   IdentityPlatformTenantOAuthIDPConfigSpec   `json:"spec,omitempty"`
	Status IdentityPlatformTenantOAuthIDPConfigStatus `json:"status,omitempty"`
}

IdentityPlatformTenantOAuthIDPConfig is the Schema for the identityplatform API +k8s:openapi-gen=true

func (*IdentityPlatformTenantOAuthIDPConfig) DeepCopy

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

func (*IdentityPlatformTenantOAuthIDPConfig) DeepCopyInto

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

func (*IdentityPlatformTenantOAuthIDPConfig) DeepCopyObject

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

type IdentityPlatformTenantOAuthIDPConfigList

type IdentityPlatformTenantOAuthIDPConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []IdentityPlatformTenantOAuthIDPConfig `json:"items"`
}

IdentityPlatformTenantOAuthIDPConfigList contains a list of IdentityPlatformTenantOAuthIDPConfig

func (*IdentityPlatformTenantOAuthIDPConfigList) DeepCopy

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

func (*IdentityPlatformTenantOAuthIDPConfigList) DeepCopyInto

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

func (*IdentityPlatformTenantOAuthIDPConfigList) DeepCopyObject

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

type IdentityPlatformTenantOAuthIDPConfigSpec

type IdentityPlatformTenantOAuthIDPConfigSpec struct {
	/* The client id of an OAuth client. */
	// +optional
	ClientId *string `json:"clientId,omitempty"`

	/* The client secret of the OAuth client, to enable OIDC code flow. */
	// +optional
	ClientSecret *TenantoauthidpconfigClientSecret `json:"clientSecret,omitempty"`

	/* The config's display name set by developers. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* True if allows the user to sign in with the provider. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`

	/* For OIDC Idps, the issuer identifier. */
	// +optional
	Issuer *string `json:"issuer,omitempty"`

	/* 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"`

	/* The multiple response type to request for in the OAuth authorization flow. This can possibly be a combination of set bits (e.g.: {id\_token, token}). */
	// +optional
	ResponseType *TenantoauthidpconfigResponseType `json:"responseType,omitempty"`

	/*  */
	TenantRef v1alpha1.ResourceRef `json:"tenantRef"`
}

func (*IdentityPlatformTenantOAuthIDPConfigSpec) DeepCopy

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

func (*IdentityPlatformTenantOAuthIDPConfigSpec) DeepCopyInto

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

type IdentityPlatformTenantOAuthIDPConfigStatus

type IdentityPlatformTenantOAuthIDPConfigStatus struct {
	/* Conditions represent the latest available observations of the
	   IdentityPlatformTenantOAuthIDPConfig's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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"`
}

func (*IdentityPlatformTenantOAuthIDPConfigStatus) DeepCopy

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

func (*IdentityPlatformTenantOAuthIDPConfigStatus) DeepCopyInto

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

type IdentityPlatformTenantSpec

type IdentityPlatformTenantSpec struct {
	/* Whether to allow email/password user authentication. */
	// +optional
	AllowPasswordSignup *bool `json:"allowPasswordSignup,omitempty"`

	/* Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users. */
	// +optional
	DisableAuth *bool `json:"disableAuth,omitempty"`

	/* Display name of the tenant. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Whether to enable anonymous user authentication. */
	// +optional
	EnableAnonymousUser *bool `json:"enableAnonymousUser,omitempty"`

	/* Whether to enable email link user authentication. */
	// +optional
	EnableEmailLinkSignin *bool `json:"enableEmailLinkSignin,omitempty"`

	/* The tenant-level configuration of MFA options. */
	// +optional
	MfaConfig *TenantMfaConfig `json:"mfaConfig,omitempty"`

	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* A map of <test phone number, fake code> pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded). */
	// +optional
	TestPhoneNumbers map[string]string `json:"testPhoneNumbers,omitempty"`
}

func (*IdentityPlatformTenantSpec) DeepCopy

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

func (*IdentityPlatformTenantSpec) DeepCopyInto

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

type IdentityPlatformTenantStatus

type IdentityPlatformTenantStatus struct {
	/* Conditions represent the latest available observations of the
	   IdentityPlatformTenant's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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"`
}

func (*IdentityPlatformTenantStatus) DeepCopy

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

func (*IdentityPlatformTenantStatus) DeepCopyInto

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

type OauthidpconfigClientSecret

type OauthidpconfigClientSecret struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *OauthidpconfigValueFrom `json:"valueFrom,omitempty"`
}

func (*OauthidpconfigClientSecret) DeepCopy

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

func (*OauthidpconfigClientSecret) DeepCopyInto

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

type OauthidpconfigResponseType

type OauthidpconfigResponseType struct {
	/* If true, authorization code is returned from IdP's authorization endpoint. */
	// +optional
	Code *bool `json:"code,omitempty"`

	/* If true, ID token is returned from IdP's authorization endpoint. */
	// +optional
	IdToken *bool `json:"idToken,omitempty"`

	/* If true, access token is returned from IdP's authorization endpoint. */
	// +optional
	Token *bool `json:"token,omitempty"`
}

func (*OauthidpconfigResponseType) DeepCopy

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

func (*OauthidpconfigResponseType) DeepCopyInto

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

type OauthidpconfigValueFrom

type OauthidpconfigValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	// +optional
	SecretKeyRef *v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"`
}

func (*OauthidpconfigValueFrom) DeepCopy

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

func (*OauthidpconfigValueFrom) DeepCopyInto

func (in *OauthidpconfigValueFrom) DeepCopyInto(out *OauthidpconfigValueFrom)

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

type TenantMfaConfig

type TenantMfaConfig struct {
	/* A list of usable second factors for this project. */
	// +optional
	EnabledProviders []string `json:"enabledProviders,omitempty"`

	/* Whether MultiFactor Authentication has been enabled for this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED, MANDATORY */
	// +optional
	State *string `json:"state,omitempty"`
}

func (*TenantMfaConfig) DeepCopy

func (in *TenantMfaConfig) DeepCopy() *TenantMfaConfig

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

func (*TenantMfaConfig) DeepCopyInto

func (in *TenantMfaConfig) DeepCopyInto(out *TenantMfaConfig)

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

type TenantoauthidpconfigClientSecret

type TenantoauthidpconfigClientSecret struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *TenantoauthidpconfigValueFrom `json:"valueFrom,omitempty"`
}

func (*TenantoauthidpconfigClientSecret) DeepCopy

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

func (*TenantoauthidpconfigClientSecret) DeepCopyInto

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

type TenantoauthidpconfigResponseType

type TenantoauthidpconfigResponseType struct {
	/* If true, authorization code is returned from IdP's authorization endpoint. */
	// +optional
	Code *bool `json:"code,omitempty"`

	/* If true, ID token is returned from IdP's authorization endpoint. */
	// +optional
	IdToken *bool `json:"idToken,omitempty"`

	/* If true, access token is returned from IdP's authorization endpoint. */
	// +optional
	Token *bool `json:"token,omitempty"`
}

func (*TenantoauthidpconfigResponseType) DeepCopy

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

func (*TenantoauthidpconfigResponseType) DeepCopyInto

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

type TenantoauthidpconfigValueFrom

type TenantoauthidpconfigValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	// +optional
	SecretKeyRef *v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"`
}

func (*TenantoauthidpconfigValueFrom) DeepCopy

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

func (*TenantoauthidpconfigValueFrom) DeepCopyInto

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