v1beta1

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for accesscontextmanager/v1beta1 API group

Package v1beta1 contains API Schema definitions for the accesscontextmanager v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/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: "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

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

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

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

Functions

This section is empty.

Types

type AccessContextManagerAccessLevel

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

	Spec   AccessContextManagerAccessLevelSpec   `json:"spec,omitempty"`
	Status AccessContextManagerAccessLevelStatus `json:"status,omitempty"`
}

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

func (*AccessContextManagerAccessLevel) DeepCopy

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

func (*AccessContextManagerAccessLevel) DeepCopyInto

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

func (*AccessContextManagerAccessLevel) DeepCopyObject

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

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

type AccessContextManagerAccessLevelList

type AccessContextManagerAccessLevelList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Items             []AccessContextManagerAccessLevel `json:"items"`
}

AccessContextManagerAccessLevelList contains a list of AccessContextManagerAccessLevel

func (*AccessContextManagerAccessLevelList) DeepCopy

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

func (*AccessContextManagerAccessLevelList) DeepCopyInto

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

func (*AccessContextManagerAccessLevelList) DeepCopyObject

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

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

type AccessContextManagerAccessLevelSpec

type AccessContextManagerAccessLevelSpec struct {
	/* The AccessContextManagerAccessPolicy this
	AccessContextManagerAccessLevel lives in. */
	AccessPolicyRef v1alpha1.ResourceRef `json:"accessPolicyRef,omitempty"`
	/* A set of predefined conditions for the access level and a combining function. */
	Basic Basic `json:"basic,omitempty"`
	/* Custom access level conditions are set using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request.
	See CEL spec at: https://github.com/google/cel-spec. */
	Custom Custom `json:"custom,omitempty"`
	/* Description of the AccessLevel and its use. Does not affect behavior. */
	Description string `json:"description,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. */
	ResourceID string `json:"resourceID,omitempty"`
	/* Human readable title. Must be unique within the Policy. */
	Title string `json:"title,omitempty"`
}

func (*AccessContextManagerAccessLevelSpec) DeepCopy

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

func (*AccessContextManagerAccessLevelSpec) DeepCopyInto

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

type AccessContextManagerAccessLevelStatus

type AccessContextManagerAccessLevelStatus struct {
	/* Conditions represents the latest available observations of the
	   AccessContextManagerAccessLevel's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
}

func (*AccessContextManagerAccessLevelStatus) DeepCopy

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

func (*AccessContextManagerAccessLevelStatus) DeepCopyInto

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

type AccessContextManagerAccessPolicy

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

	Spec   AccessContextManagerAccessPolicySpec   `json:"spec,omitempty"`
	Status AccessContextManagerAccessPolicyStatus `json:"status,omitempty"`
}

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

func (*AccessContextManagerAccessPolicy) DeepCopy

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

func (*AccessContextManagerAccessPolicy) DeepCopyInto

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

func (*AccessContextManagerAccessPolicy) DeepCopyObject

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

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

type AccessContextManagerAccessPolicyList

type AccessContextManagerAccessPolicyList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Items             []AccessContextManagerAccessPolicy `json:"items"`
}

AccessContextManagerAccessPolicyList contains a list of AccessContextManagerAccessPolicy

func (*AccessContextManagerAccessPolicyList) DeepCopy

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

func (*AccessContextManagerAccessPolicyList) DeepCopyInto

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

func (*AccessContextManagerAccessPolicyList) DeepCopyObject

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

type AccessContextManagerAccessPolicySpec

type AccessContextManagerAccessPolicySpec struct {
	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	ResourceID string `json:"resourceID,omitempty"`
	/* Human readable title. Does not affect behavior. */
	Title string `json:"title,omitempty"`
}

func (*AccessContextManagerAccessPolicySpec) DeepCopy

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

func (*AccessContextManagerAccessPolicySpec) DeepCopyInto

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

type AccessContextManagerAccessPolicyStatus

type AccessContextManagerAccessPolicyStatus struct {
	/* Conditions represents the latest available observations of the
	   AccessContextManagerAccessPolicy's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Time the AccessPolicy was created in UTC. */
	CreateTime string `json:"createTime,omitempty"`
	/* Resource name of the AccessPolicy. Format: {policy_id} */
	Name string `json:"name,omitempty"`
	/* Time the AccessPolicy was updated in UTC. */
	UpdateTime string `json:"updateTime,omitempty"`
}

func (*AccessContextManagerAccessPolicyStatus) DeepCopy

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

func (*AccessContextManagerAccessPolicyStatus) DeepCopyInto

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

type AccessContextManagerServicePerimeter

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

	Spec   AccessContextManagerServicePerimeterSpec   `json:"spec,omitempty"`
	Status AccessContextManagerServicePerimeterStatus `json:"status,omitempty"`
}

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

func (*AccessContextManagerServicePerimeter) DeepCopy

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

func (*AccessContextManagerServicePerimeter) DeepCopyInto

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

func (*AccessContextManagerServicePerimeter) DeepCopyObject

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

type AccessContextManagerServicePerimeterList

type AccessContextManagerServicePerimeterList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Items             []AccessContextManagerServicePerimeter `json:"items"`
}

AccessContextManagerServicePerimeterList contains a list of AccessContextManagerServicePerimeter

func (*AccessContextManagerServicePerimeterList) DeepCopy

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

func (*AccessContextManagerServicePerimeterList) DeepCopyInto

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

func (*AccessContextManagerServicePerimeterList) DeepCopyObject

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

type AccessContextManagerServicePerimeterSpec

type AccessContextManagerServicePerimeterSpec struct {
	/* The AccessContextManagerAccessPolicy this
	AccessContextManagerServicePerimeter lives in. */
	AccessPolicyRef v1alpha1.ResourceRef `json:"accessPolicyRef,omitempty"`
	/* Description of the ServicePerimeter and its use. Does not affect
	behavior. */
	Description string `json:"description,omitempty"`
	/* Immutable. Specifies the type of the Perimeter. There are two types: regular and
	bridge. Regular Service Perimeter contains resources, access levels,
	and restricted services. Every resource can be in at most
	ONE regular Service Perimeter.

	In addition to being in a regular service perimeter, a resource can also
	be in zero or more perimeter bridges. A perimeter bridge only contains
	resources. Cross project operations are permitted if all effected
	resources share some perimeter (whether bridge or regular). Perimeter
	Bridge does not contain access levels or services: those are governed
	entirely by the regular perimeter that resource is in.

	Perimeter Bridges are typically useful when building more complex
	topologies with many independent perimeters that need to share some data
	with a common perimeter, but should not be able to share data among
	themselves. Default value: "PERIMETER_TYPE_REGULAR" Possible values: ["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] */
	PerimeterType string `json:"perimeterType,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. */
	ResourceID string `json:"resourceID,omitempty"`
	/* Proposed (or dry run) ServicePerimeter configuration.
	This configuration allows to specify and test ServicePerimeter configuration
	without enforcing actual access restrictions. Only allowed to be set when
	the 'useExplicitDryRunSpec' flag is set. */
	Spec Spec `json:"spec,omitempty"`
	/* ServicePerimeter configuration. Specifies sets of resources,
	restricted services and access levels that determine
	perimeter content and boundaries. */
	Status Status `json:"status,omitempty"`
	/* Human readable title. Must be unique within the Policy. */
	Title string `json:"title,omitempty"`
	/* Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
	for all Service Perimeters, and that spec is identical to the status for those
	Service Perimeters. When this flag is set, it inhibits the generation of the
	implicit spec, thereby allowing the user to explicitly provide a
	configuration ("spec") to use in a dry-run version of the Service Perimeter.
	This allows the user to test changes to the enforced config ("status") without
	actually enforcing them. This testing is done through analyzing the differences
	between currently enforced and suggested restrictions. useExplicitDryRunSpec must
	bet set to True if any of the fields in the spec are set to non-default values. */
	UseExplicitDryRunSpec bool `json:"useExplicitDryRunSpec,omitempty"`
}

func (*AccessContextManagerServicePerimeterSpec) DeepCopy

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

func (*AccessContextManagerServicePerimeterSpec) DeepCopyInto

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

type AccessContextManagerServicePerimeterStatus

type AccessContextManagerServicePerimeterStatus struct {
	/* Conditions represents the latest available observations of the
	   AccessContextManagerServicePerimeter's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Time the AccessPolicy was created in UTC. */
	CreateTime string `json:"createTime,omitempty"`
	/* Time the AccessPolicy was updated in UTC. */
	UpdateTime string `json:"updateTime,omitempty"`
}

func (*AccessContextManagerServicePerimeterStatus) DeepCopy

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

func (*AccessContextManagerServicePerimeterStatus) DeepCopyInto

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

type Basic

type Basic struct {
	/* How the conditions list should be combined to determine if a request
	is granted this AccessLevel. If AND is used, each Condition in
	conditions must be satisfied for the AccessLevel to be applied. If
	OR is used, at least one Condition in conditions must be satisfied
	for the AccessLevel to be applied. Default value: "AND" Possible values: ["AND", "OR"] */
	CombiningFunction string `json:"combiningFunction,omitempty"`
	/* A set of requirements for the AccessLevel to be granted. */
	Conditions []Conditions `json:"conditions,omitempty"`
}

func (*Basic) DeepCopy

func (in *Basic) DeepCopy() *Basic

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

func (*Basic) DeepCopyInto

func (in *Basic) DeepCopyInto(out *Basic)

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

type Conditions

type Conditions struct {
	/* Device specific restrictions, all restrictions must hold for
	the Condition to be true. If not specified, all devices are
	allowed. */
	DevicePolicy DevicePolicy `json:"devicePolicy,omitempty"`
	/* 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. */
	IpSubnetworks []string `json:"ipSubnetworks,omitempty"`
	/*  */
	Members []Members `json:"members,omitempty"`
	/* 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. */
	Negate bool `json:"negate,omitempty"`
	/* The request must originate from one of the provided
	countries/regions.
	Format: A valid ISO 3166-1 alpha-2 code. */
	Regions []string `json:"regions,omitempty"`
	/*  */
	RequiredAccessLevels []v1alpha1.ResourceRef `json:"requiredAccessLevels,omitempty"`
}

func (*Conditions) DeepCopy

func (in *Conditions) DeepCopy() *Conditions

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

func (*Conditions) DeepCopyInto

func (in *Conditions) DeepCopyInto(out *Conditions)

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

type Custom

type Custom struct {
	/* Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
	This page details the objects and attributes that are used to the build the CEL expressions for
	custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec. */
	Expr Expr `json:"expr,omitempty"`
}

func (*Custom) DeepCopy

func (in *Custom) DeepCopy() *Custom

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

func (*Custom) DeepCopyInto

func (in *Custom) DeepCopyInto(out *Custom)

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

type DevicePolicy

type DevicePolicy struct {
	/* A list of allowed device management levels.
	An empty list allows all management levels. Possible values: ["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] */
	AllowedDeviceManagementLevels []string `json:"allowedDeviceManagementLevels,omitempty"`
	/* A list of allowed encryptions statuses.
	An empty list allows all statuses. Possible values: ["ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", "ENCRYPTED"] */
	AllowedEncryptionStatuses []string `json:"allowedEncryptionStatuses,omitempty"`
	/* A list of allowed OS versions.
	An empty list allows all types and all versions. */
	OsConstraints []OsConstraints `json:"osConstraints,omitempty"`
	/* Whether the device needs to be approved by the customer admin. */
	RequireAdminApproval bool `json:"requireAdminApproval,omitempty"`
	/* Whether the device needs to be corp owned. */
	RequireCorpOwned bool `json:"requireCorpOwned,omitempty"`
	/* Whether or not screenlock is required for the DevicePolicy
	to be true. Defaults to false. */
	RequireScreenLock bool `json:"requireScreenLock,omitempty"`
}

func (*DevicePolicy) DeepCopy

func (in *DevicePolicy) DeepCopy() *DevicePolicy

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

func (*DevicePolicy) DeepCopyInto

func (in *DevicePolicy) DeepCopyInto(out *DevicePolicy)

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

type Expr

type Expr struct {
	/* Description of the expression */
	Description string `json:"description,omitempty"`
	/* Textual representation of an expression in Common Expression Language syntax. */
	Expression string `json:"expression,omitempty"`
	/* String indicating the location of the expression for error reporting, e.g. a file name and a position in the file */
	Location string `json:"location,omitempty"`
	/* Title for the expression, i.e. a short string describing its purpose. */
	Title string `json:"title,omitempty"`
}

func (*Expr) DeepCopy

func (in *Expr) DeepCopy() *Expr

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

func (*Expr) DeepCopyInto

func (in *Expr) DeepCopyInto(out *Expr)

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

type Members

type Members struct {
	/*  */
	ServiceAccountRef v1alpha1.ResourceRef `json:"serviceAccountRef,omitempty"`
	/*  */
	User string `json:"user,omitempty"`
}

func (*Members) DeepCopy

func (in *Members) DeepCopy() *Members

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

func (*Members) DeepCopyInto

func (in *Members) DeepCopyInto(out *Members)

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

type OsConstraints

type OsConstraints struct {
	/* 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". */
	MinimumVersion string `json:"minimumVersion,omitempty"`
	/* The operating system type of the device. Possible values: ["OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", "DESKTOP_LINUX", "DESKTOP_CHROME_OS"] */
	OsType string `json:"osType,omitempty"`
}

func (*OsConstraints) DeepCopy

func (in *OsConstraints) DeepCopy() *OsConstraints

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

func (*OsConstraints) DeepCopyInto

func (in *OsConstraints) DeepCopyInto(out *OsConstraints)

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

type Resources

type Resources struct {
	/*  */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef,omitempty"`
}

func (*Resources) DeepCopy

func (in *Resources) DeepCopy() *Resources

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

func (*Resources) DeepCopyInto

func (in *Resources) DeepCopyInto(out *Resources)

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

type Spec

type Spec struct {
	/*  */
	AccessLevels []v1alpha1.ResourceRef `json:"accessLevels,omitempty"`
	/*  */
	Resources []Resources `json:"resources,omitempty"`
	/* GCP services that are subject to the Service Perimeter
	restrictions. Must contain a list of services. For example, if
	'storage.googleapis.com' is specified, access to the storage
	buckets inside the perimeter must meet the perimeter's access
	restrictions. */
	RestrictedServices []string `json:"restrictedServices,omitempty"`
	/* Specifies how APIs are allowed to communicate within the Service
	Perimeter. */
	VpcAccessibleServices VpcAccessibleServices `json:"vpcAccessibleServices,omitempty"`
}

func (*Spec) DeepCopy

func (in *Spec) DeepCopy() *Spec

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

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

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

type Status

type Status struct {
	/*  */
	AccessLevels []v1alpha1.ResourceRef `json:"accessLevels,omitempty"`
	/*  */
	Resources []Resources `json:"resources,omitempty"`
	/* GCP services that are subject to the Service Perimeter
	restrictions. Must contain a list of services. For example, if
	'storage.googleapis.com' is specified, access to the storage
	buckets inside the perimeter must meet the perimeter's access
	restrictions. */
	RestrictedServices []string `json:"restrictedServices,omitempty"`
	/* Specifies how APIs are allowed to communicate within the Service
	Perimeter. */
	VpcAccessibleServices VpcAccessibleServices `json:"vpcAccessibleServices,omitempty"`
}

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

type VpcAccessibleServices

type VpcAccessibleServices struct {
	/* The list of APIs usable within the Service Perimeter.
	Must be empty unless 'enableRestriction' is True. */
	AllowedServices []string `json:"allowedServices,omitempty"`
	/* Whether to restrict API calls within the Service Perimeter to the
	list of APIs specified in 'allowedServices'. */
	EnableRestriction bool `json:"enableRestriction,omitempty"`
}

func (*VpcAccessibleServices) DeepCopy

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

func (*VpcAccessibleServices) DeepCopyInto

func (in *VpcAccessibleServices) DeepCopyInto(out *VpcAccessibleServices)

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