v1alpha1

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for accesscontextmanager/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the accesscontextmanager v1alpha1 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/accesscontextmanager +k8s:defaulter-gen=TypeMeta +groupName=accesscontextmanager.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: "accesscontextmanager.cnrm.cloud.google.com", Version: "v1alpha1"}

	// 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

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

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

Functions

This section is empty.

Types

type AccessContextManagerAccessLevelCondition

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

	Spec   AccessContextManagerAccessLevelConditionSpec   `json:"spec,omitempty"`
	Status AccessContextManagerAccessLevelConditionStatus `json:"status,omitempty"`
}

AccessContextManagerAccessLevelCondition is the Schema for the accesscontextmanager API +k8s:openapi-gen=true

func (*AccessContextManagerAccessLevelCondition) DeepCopy

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

func (*AccessContextManagerAccessLevelCondition) DeepCopyInto

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

func (*AccessContextManagerAccessLevelCondition) DeepCopyObject

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

type AccessContextManagerAccessLevelConditionList

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

AccessContextManagerAccessLevelConditionList contains a list of AccessContextManagerAccessLevelCondition

func (*AccessContextManagerAccessLevelConditionList) DeepCopy

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

func (*AccessContextManagerAccessLevelConditionList) DeepCopyInto

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

func (*AccessContextManagerAccessLevelConditionList) DeepCopyObject

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

type AccessContextManagerAccessLevelConditionSpec

type AccessContextManagerAccessLevelConditionSpec struct {
	// +optional
	AccessLevelRef *v1alpha1.ResourceRef `json:"accessLevelRef,omitempty"`

	/* Immutable. Device specific restrictions, all restrictions must hold for
	the Condition to be true. If not specified, all devices are
	allowed. */
	// +optional
	DevicePolicy *AccesslevelconditionDevicePolicy `json:"devicePolicy,omitempty"`

	/* Immutable. A list of CIDR block IP subnetwork specification. May be IPv4
	or IPv6.
	Note that for a CIDR IP address block, the specified IP address
	portion must be properly truncated (i.e. all the host bits must
	be zero) or the input is considered malformed. For example,
	"192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly,
	for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32"
	is not. The originating IP of a request must be in one of the
	listed subnets in order for this Condition to be true.
	If empty, all IP addresses are allowed. */
	// +optional
	IpSubnetworks []string `json:"ipSubnetworks,omitempty"`

	/* Immutable. An allowed list of members (users, service accounts).
	Using groups is not supported yet.

	The signed-in user originating the request must be a part of one
	of the provided members. If not specified, a request may come
	from any user (logged in/not logged in, not present in any
	groups, etc.).
	Formats: 'user:{emailid}', 'serviceAccount:{emailid}'. */
	// +optional
	Members []string `json:"members,omitempty"`

	/* Immutable. Whether to negate the Condition. If true, the Condition becomes
	a NAND over its non-empty fields, each field must be false for
	the Condition overall to be satisfied. Defaults to false. */
	// +optional
	Negate *bool `json:"negate,omitempty"`

	/* Immutable. The request must originate from one of the provided
	countries/regions.
	Format: A valid ISO 3166-1 alpha-2 code. */
	// +optional
	Regions []string `json:"regions,omitempty"`

	/* Immutable. A list of other access levels defined in the same Policy,
	referenced by resource name. Referencing an AccessLevel which
	does not exist is an error. All access levels listed must be
	granted for the Condition to be true.
	Format: accessPolicies/{policy_id}/accessLevels/{short_name}. */
	// +optional
	RequiredAccessLevels []string `json:"requiredAccessLevels,omitempty"`

	/* Immutable. Optional. The accessLevel 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 (*AccessContextManagerAccessLevelConditionSpec) DeepCopy

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

func (*AccessContextManagerAccessLevelConditionSpec) DeepCopyInto

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

type AccessContextManagerAccessLevelConditionStatus

type AccessContextManagerAccessLevelConditionStatus struct {
	/* Conditions represent the latest available observations of the
	   AccessContextManagerAccessLevelCondition'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. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`
}

func (*AccessContextManagerAccessLevelConditionStatus) DeepCopy

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

func (*AccessContextManagerAccessLevelConditionStatus) DeepCopyInto

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

type AccessContextManagerGCPUserAccessBinding

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

	Spec   AccessContextManagerGCPUserAccessBindingSpec   `json:"spec,omitempty"`
	Status AccessContextManagerGCPUserAccessBindingStatus `json:"status,omitempty"`
}

AccessContextManagerGCPUserAccessBinding is the Schema for the accesscontextmanager API +k8s:openapi-gen=true

func (*AccessContextManagerGCPUserAccessBinding) DeepCopy

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

func (*AccessContextManagerGCPUserAccessBinding) DeepCopyInto

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

func (*AccessContextManagerGCPUserAccessBinding) DeepCopyObject

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

type AccessContextManagerGCPUserAccessBindingList

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

AccessContextManagerGCPUserAccessBindingList contains a list of AccessContextManagerGCPUserAccessBinding

func (*AccessContextManagerGCPUserAccessBindingList) DeepCopy

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

func (*AccessContextManagerGCPUserAccessBindingList) DeepCopyInto

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

func (*AccessContextManagerGCPUserAccessBindingList) DeepCopyObject

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

type AccessContextManagerGCPUserAccessBindingSpec

type AccessContextManagerGCPUserAccessBindingSpec struct {
	/* Required. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted". */
	AccessLevels []string `json:"accessLevels"`

	/* Immutable. Required. Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the G Suite Directory API's Groups resource. If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht". */
	GroupKey string `json:"groupKey"`

	/* The organization that this resource belongs to. */
	OrganizationRef v1alpha1.ResourceRef `json:"organizationRef"`

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

func (*AccessContextManagerGCPUserAccessBindingSpec) DeepCopy

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

func (*AccessContextManagerGCPUserAccessBindingSpec) DeepCopyInto

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

type AccessContextManagerGCPUserAccessBindingStatus

type AccessContextManagerGCPUserAccessBindingStatus struct {
	/* Conditions represent the latest available observations of the
	   AccessContextManagerGCPUserAccessBinding's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N". */
	// +optional
	Name *string `json:"name,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. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`
}

func (*AccessContextManagerGCPUserAccessBindingStatus) DeepCopy

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

func (*AccessContextManagerGCPUserAccessBindingStatus) DeepCopyInto

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

type AccesslevelconditionDevicePolicy

type AccesslevelconditionDevicePolicy struct {
	/* Immutable. A list of allowed device management levels.
	An empty list allows all management levels. Possible values: ["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"]. */
	// +optional
	AllowedDeviceManagementLevels []string `json:"allowedDeviceManagementLevels,omitempty"`

	/* Immutable. A list of allowed encryptions statuses.
	An empty list allows all statuses. Possible values: ["ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", "ENCRYPTED"]. */
	// +optional
	AllowedEncryptionStatuses []string `json:"allowedEncryptionStatuses,omitempty"`

	/* Immutable. A list of allowed OS versions.
	An empty list allows all types and all versions. */
	// +optional
	OsConstraints []AccesslevelconditionOsConstraints `json:"osConstraints,omitempty"`

	/* Immutable. Whether the device needs to be approved by the customer admin. */
	// +optional
	RequireAdminApproval *bool `json:"requireAdminApproval,omitempty"`

	/* Immutable. Whether the device needs to be corp owned. */
	// +optional
	RequireCorpOwned *bool `json:"requireCorpOwned,omitempty"`

	/* Immutable. Whether or not screenlock is required for the DevicePolicy
	to be true. Defaults to false. */
	// +optional
	RequireScreenLock *bool `json:"requireScreenLock,omitempty"`
}

func (*AccesslevelconditionDevicePolicy) DeepCopy

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

func (*AccesslevelconditionDevicePolicy) DeepCopyInto

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

type AccesslevelconditionOsConstraints

type AccesslevelconditionOsConstraints struct {
	/* Immutable. The minimum allowed OS version. If not set, any version
	of this OS satisfies the constraint.
	Format: "major.minor.patch" such as "10.5.301", "9.2.1". */
	// +optional
	MinimumVersion *string `json:"minimumVersion,omitempty"`

	/* Immutable. The operating system type of the device. Possible values: ["OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", "DESKTOP_LINUX", "DESKTOP_CHROME_OS", "ANDROID", "IOS"]. */
	OsType string `json:"osType"`
}

func (*AccesslevelconditionOsConstraints) DeepCopy

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

func (*AccesslevelconditionOsConstraints) 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