v1beta1

package
v1.45.0 Latest Latest
Warning

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

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

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

Constants

This section is empty.

Variables

View Source
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

func (in *Folder) DeepCopy() *Folder

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

func (*Folder) DeepCopyInto

func (in *Folder) DeepCopyInto(out *Folder)

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

func (*Folder) DeepCopyObject

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

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

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

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

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

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

func (*ResourceManagerLienStatus) DeepCopyInto

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

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

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

func (*ResourceManagerPolicyList) DeepCopyInto

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

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

func (*ResourceManagerPolicySpec) DeepCopyInto

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

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

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