Documentation ¶
Overview ¶
Generate deepcopy object for resourcemanager/v1beta1 API group
Package v1beta1 contains API Schema definitions for the resourcemanager v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/resourcemanager +k8s:defaulter-gen=TypeMeta +groupName=resourcemanager.cnrm.cloud.google.com
Index ¶
- Variables
- type Folder
- type FolderList
- type FolderSpec
- type FolderStatus
- type LienParent
- type PolicyAllow
- type PolicyBooleanPolicy
- type PolicyDeny
- type PolicyListPolicy
- type PolicyRestorePolicy
- type Project
- type ProjectList
- type ProjectSpec
- type ProjectStatus
- type ResourceManagerLien
- type ResourceManagerLienList
- type ResourceManagerLienSpec
- type ResourceManagerLienStatus
- type ResourceManagerPolicy
- type ResourceManagerPolicyList
- type ResourceManagerPolicySpec
- type ResourceManagerPolicyStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "resourcemanager.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 FolderGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(Folder{}).Name(), } ProjectGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(Project{}).Name(), } ResourceManagerLienGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ResourceManagerLien{}).Name(), } ResourceManagerPolicyGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ResourceManagerPolicy{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type Folder ¶
type Folder struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FolderSpec `json:"spec,omitempty"` Status FolderStatus `json:"status,omitempty"` }
Folder is the Schema for the resourcemanager API +k8s:openapi-gen=true
func (*Folder) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Folder.
func (*Folder) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Folder) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FolderList ¶
type FolderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Folder `json:"items"` }
FolderList contains a list of Folder
func (*FolderList) DeepCopy ¶
func (in *FolderList) DeepCopy() *FolderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderList.
func (*FolderList) DeepCopyInto ¶
func (in *FolderList) DeepCopyInto(out *FolderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FolderList) DeepCopyObject ¶
func (in *FolderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FolderSpec ¶
type FolderSpec struct { /* The folder's display name. A folder's display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. */ DisplayName string `json:"displayName,omitempty"` /* The folder that this resource belongs to. Changing this forces the resource to be migrated to the newly specified folder. Only one of folderRef or organizationRef may be specified. */ FolderRef v1alpha1.ResourceRef `json:"folderRef,omitempty"` /* The organization that this resource belongs to. Changing this forces the resource to be migrated to the newly specified organization. Only one of folderRef or organizationRef may be specified. */ OrganizationRef v1alpha1.ResourceRef `json:"organizationRef,omitempty"` /* 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"` }
func (*FolderSpec) DeepCopy ¶
func (in *FolderSpec) DeepCopy() *FolderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderSpec.
func (*FolderSpec) DeepCopyInto ¶
func (in *FolderSpec) DeepCopyInto(out *FolderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderStatus ¶
type FolderStatus struct { /* Conditions represent the latest available observations of the Folder's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Timestamp when the Folder was created. Assigned by the server. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ CreateTime string `json:"createTime,omitempty"` /* The folder id from the name "folders/{folder_id}" */ FolderId string `json:"folderId,omitempty"` /* The lifecycle state of the folder such as ACTIVE or DELETE_REQUESTED. */ LifecycleState string `json:"lifecycleState,omitempty"` /* The resource name of the Folder. Its format is folders/{folder_id}. */ Name string `json:"name,omitempty"` }
func (*FolderStatus) DeepCopy ¶
func (in *FolderStatus) DeepCopy() *FolderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderStatus.
func (*FolderStatus) DeepCopyInto ¶
func (in *FolderStatus) DeepCopyInto(out *FolderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LienParent ¶ added in v1.45.0
type LienParent struct { /* */ ProjectRef v1alpha1.ResourceRef `json:"projectRef,omitempty"` }
func (*LienParent) DeepCopy ¶ added in v1.45.0
func (in *LienParent) DeepCopy() *LienParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LienParent.
func (*LienParent) DeepCopyInto ¶ added in v1.45.0
func (in *LienParent) DeepCopyInto(out *LienParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyAllow ¶ added in v1.45.0
type PolicyAllow struct { /* The policy allows or denies all values. */ All bool `json:"all,omitempty"` /* The policy can define specific values that are allowed or denied. */ Values []string `json:"values,omitempty"` }
func (*PolicyAllow) DeepCopy ¶ added in v1.45.0
func (in *PolicyAllow) DeepCopy() *PolicyAllow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAllow.
func (*PolicyAllow) DeepCopyInto ¶ added in v1.45.0
func (in *PolicyAllow) DeepCopyInto(out *PolicyAllow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyBooleanPolicy ¶ added in v1.45.0
type PolicyBooleanPolicy struct { /* If true, then the Policy is enforced. If false, then any configuration is acceptable. */ Enforced bool `json:"enforced,omitempty"` }
func (*PolicyBooleanPolicy) DeepCopy ¶ added in v1.45.0
func (in *PolicyBooleanPolicy) DeepCopy() *PolicyBooleanPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyBooleanPolicy.
func (*PolicyBooleanPolicy) DeepCopyInto ¶ added in v1.45.0
func (in *PolicyBooleanPolicy) DeepCopyInto(out *PolicyBooleanPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyDeny ¶ added in v1.45.0
type PolicyDeny struct { /* The policy allows or denies all values. */ All bool `json:"all,omitempty"` /* The policy can define specific values that are allowed or denied. */ Values []string `json:"values,omitempty"` }
func (*PolicyDeny) DeepCopy ¶ added in v1.45.0
func (in *PolicyDeny) DeepCopy() *PolicyDeny
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDeny.
func (*PolicyDeny) DeepCopyInto ¶ added in v1.45.0
func (in *PolicyDeny) DeepCopyInto(out *PolicyDeny)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyListPolicy ¶ added in v1.45.0
type PolicyListPolicy struct { /* One or the other must be set. */ Allow PolicyAllow `json:"allow,omitempty"` /* One or the other must be set. */ Deny PolicyDeny `json:"deny,omitempty"` /* If set to true, the values from the effective Policy of the parent resource are inherited, meaning the values set in this Policy are added to the values inherited up the hierarchy. */ InheritFromParent bool `json:"inheritFromParent,omitempty"` /* The Google Cloud Console will try to default to a configuration that matches the value specified in this field. */ SuggestedValue string `json:"suggestedValue,omitempty"` }
func (*PolicyListPolicy) DeepCopy ¶ added in v1.45.0
func (in *PolicyListPolicy) DeepCopy() *PolicyListPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyListPolicy.
func (*PolicyListPolicy) DeepCopyInto ¶ added in v1.45.0
func (in *PolicyListPolicy) DeepCopyInto(out *PolicyListPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyRestorePolicy ¶ added in v1.45.0
type PolicyRestorePolicy struct { /* May only be set to true. If set, then the default Policy is restored. */ Default bool `json:"default,omitempty"` }
func (*PolicyRestorePolicy) DeepCopy ¶ added in v1.45.0
func (in *PolicyRestorePolicy) DeepCopy() *PolicyRestorePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRestorePolicy.
func (*PolicyRestorePolicy) DeepCopyInto ¶ added in v1.45.0
func (in *PolicyRestorePolicy) DeepCopyInto(out *PolicyRestorePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Project ¶
type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProjectSpec `json:"spec,omitempty"` Status ProjectStatus `json:"status,omitempty"` }
Project is the Schema for the resourcemanager API +k8s:openapi-gen=true
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Project `json:"items"` }
ProjectList contains a list of Project
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectSpec ¶
type ProjectSpec struct { /* */ BillingAccountRef v1alpha1.ResourceRef `json:"billingAccountRef,omitempty"` /* The folder that this resource belongs to. Changing this forces the resource to be migrated to the newly specified folder. Only one of folderRef or organizationRef may be specified. */ FolderRef v1alpha1.ResourceRef `json:"folderRef,omitempty"` /* The display name of the project. */ Name string `json:"name,omitempty"` /* The organization that this resource belongs to. Changing this forces the resource to be migrated to the newly specified organization. Only one of folderRef or organizationRef may be specified. */ OrganizationRef v1alpha1.ResourceRef `json:"organizationRef,omitempty"` }
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectStatus ¶
type ProjectStatus struct { /* Conditions represent the latest available observations of the Project's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The numeric identifier of the project. */ Number string `json:"number,omitempty"` }
func (*ProjectStatus) DeepCopy ¶
func (in *ProjectStatus) DeepCopy() *ProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.
func (*ProjectStatus) DeepCopyInto ¶
func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceManagerLien ¶
type ResourceManagerLien struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceManagerLienSpec `json:"spec,omitempty"` Status ResourceManagerLienStatus `json:"status,omitempty"` }
ResourceManagerLien is the Schema for the resourcemanager API +k8s:openapi-gen=true
func (*ResourceManagerLien) DeepCopy ¶
func (in *ResourceManagerLien) DeepCopy() *ResourceManagerLien
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerLien.
func (*ResourceManagerLien) DeepCopyInto ¶
func (in *ResourceManagerLien) DeepCopyInto(out *ResourceManagerLien)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceManagerLien) DeepCopyObject ¶
func (in *ResourceManagerLien) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceManagerLienList ¶
type ResourceManagerLienList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceManagerLien `json:"items"` }
ResourceManagerLienList contains a list of ResourceManagerLien
func (*ResourceManagerLienList) DeepCopy ¶
func (in *ResourceManagerLienList) DeepCopy() *ResourceManagerLienList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerLienList.
func (*ResourceManagerLienList) DeepCopyInto ¶
func (in *ResourceManagerLienList) DeepCopyInto(out *ResourceManagerLienList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceManagerLienList) DeepCopyObject ¶
func (in *ResourceManagerLienList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceManagerLienSpec ¶
type ResourceManagerLienSpec struct { /* Immutable. A stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. */ Origin string `json:"origin,omitempty"` /* */ Parent LienParent `json:"parent,omitempty"` /* Immutable. Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. */ Reason string `json:"reason,omitempty"` /* 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"` /* Immutable. The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. e.g. ['resourcemanager.projects.delete'] */ Restrictions []string `json:"restrictions,omitempty"` }
func (*ResourceManagerLienSpec) DeepCopy ¶
func (in *ResourceManagerLienSpec) DeepCopy() *ResourceManagerLienSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerLienSpec.
func (*ResourceManagerLienSpec) DeepCopyInto ¶
func (in *ResourceManagerLienSpec) DeepCopyInto(out *ResourceManagerLienSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceManagerLienStatus ¶
type ResourceManagerLienStatus struct { /* Conditions represent the latest available observations of the ResourceManagerLien's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Time of creation */ CreateTime string `json:"createTime,omitempty"` /* A system-generated unique identifier for this Lien. */ Name string `json:"name,omitempty"` }
func (*ResourceManagerLienStatus) DeepCopy ¶
func (in *ResourceManagerLienStatus) DeepCopy() *ResourceManagerLienStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerLienStatus.
func (*ResourceManagerLienStatus) DeepCopyInto ¶
func (in *ResourceManagerLienStatus) DeepCopyInto(out *ResourceManagerLienStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceManagerPolicy ¶
type ResourceManagerPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceManagerPolicySpec `json:"spec,omitempty"` Status ResourceManagerPolicyStatus `json:"status,omitempty"` }
ResourceManagerPolicy is the Schema for the resourcemanager API +k8s:openapi-gen=true
func (*ResourceManagerPolicy) DeepCopy ¶
func (in *ResourceManagerPolicy) DeepCopy() *ResourceManagerPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerPolicy.
func (*ResourceManagerPolicy) DeepCopyInto ¶
func (in *ResourceManagerPolicy) DeepCopyInto(out *ResourceManagerPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceManagerPolicy) DeepCopyObject ¶
func (in *ResourceManagerPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceManagerPolicyList ¶
type ResourceManagerPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceManagerPolicy `json:"items"` }
ResourceManagerPolicyList contains a list of ResourceManagerPolicy
func (*ResourceManagerPolicyList) DeepCopy ¶
func (in *ResourceManagerPolicyList) DeepCopy() *ResourceManagerPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerPolicyList.
func (*ResourceManagerPolicyList) DeepCopyInto ¶
func (in *ResourceManagerPolicyList) DeepCopyInto(out *ResourceManagerPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceManagerPolicyList) DeepCopyObject ¶
func (in *ResourceManagerPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceManagerPolicySpec ¶
type ResourceManagerPolicySpec struct { /* A boolean policy is a constraint that is either enforced or not. */ BooleanPolicy PolicyBooleanPolicy `json:"booleanPolicy,omitempty"` /* Immutable. The name of the Constraint the Policy is configuring, for example, serviceuser.services. */ Constraint string `json:"constraint,omitempty"` /* The folder on which to configure the constraint. Only one of projectRef, folderRef, or organizationRef may be specified. */ FolderRef v1alpha1.ResourceRef `json:"folderRef,omitempty"` /* A policy that can define specific values that are allowed or denied for the given constraint. It can also be used to allow or deny all values. */ ListPolicy PolicyListPolicy `json:"listPolicy,omitempty"` /* The organization on which to configure the constraint. Only one of projectRef, folderRef, or organizationRef may be specified. */ OrganizationRef v1alpha1.ResourceRef `json:"organizationRef,omitempty"` /* The project on which to configure the constraint. Only one of projectRef, folderRef, or organizationRef may be specified. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef,omitempty"` /* A restore policy is a constraint to restore the default policy. */ RestorePolicy PolicyRestorePolicy `json:"restorePolicy,omitempty"` /* Version of the Policy. Default version is 0. */ Version int `json:"version,omitempty"` }
func (*ResourceManagerPolicySpec) DeepCopy ¶
func (in *ResourceManagerPolicySpec) DeepCopy() *ResourceManagerPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerPolicySpec.
func (*ResourceManagerPolicySpec) DeepCopyInto ¶
func (in *ResourceManagerPolicySpec) DeepCopyInto(out *ResourceManagerPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceManagerPolicyStatus ¶
type ResourceManagerPolicyStatus struct { /* Conditions represent the latest available observations of the ResourceManagerPolicy's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The etag of the organization policy. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. */ Etag string `json:"etag,omitempty"` /* The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z". */ UpdateTime string `json:"updateTime,omitempty"` }
func (*ResourceManagerPolicyStatus) DeepCopy ¶
func (in *ResourceManagerPolicyStatus) DeepCopy() *ResourceManagerPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerPolicyStatus.
func (*ResourceManagerPolicyStatus) DeepCopyInto ¶
func (in *ResourceManagerPolicyStatus) DeepCopyInto(out *ResourceManagerPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.