v1alpha1

package
v0.0.0-...-dfa7a3b Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the project v1alpha1 API group +kubebuilder:object:generate=true +groupName=project.djkormo.github.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "project.djkormo.github.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type EndPoint

type EndPoint struct {
	// Endpoint name
	Name string `json:"name"`
	// IP is used for validation of an IP address
	// +kubebuilder:validation:Pattern="((^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$)|(^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$))"
	IP string `json:"ip"`
	// Protocol of endpoint
	Protocol string `json:"protocol"`
	// Port of endpoint
	Port int `json:"port"`
	// Description of endpoint
	Description string `json:"description,omitempty"`
}

EndPoint is a specification for a resource ProjectAccessSpec

func (*EndPoint) DeepCopy

func (in *EndPoint) DeepCopy() *EndPoint

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

func (*EndPoint) DeepCopyInto

func (in *EndPoint) DeepCopyInto(out *EndPoint)

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 projects API

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 ProjectAccess

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

	Spec   ProjectAccessSpec   `json:"spec,omitempty"`
	Status ProjectAccessStatus `json:"status,omitempty"`
}

ProjectAccess is the Schema for the projectaccesses API

func (*ProjectAccess) DeepCopy

func (in *ProjectAccess) DeepCopy() *ProjectAccess

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

func (*ProjectAccess) DeepCopyInto

func (in *ProjectAccess) DeepCopyInto(out *ProjectAccess)

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

func (*ProjectAccess) DeepCopyObject

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

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

type ProjectAccessList

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

ProjectAccessList contains a list of ProjectAccess

func (*ProjectAccessList) DeepCopy

func (in *ProjectAccessList) DeepCopy() *ProjectAccessList

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

func (*ProjectAccessList) DeepCopyInto

func (in *ProjectAccessList) DeepCopyInto(out *ProjectAccessList)

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

func (*ProjectAccessList) DeepCopyObject

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

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

type ProjectAccessSpec

type ProjectAccessSpec struct {
	ProjectName string     `json:"projectName,omitempty"`
	Endpoints   []EndPoint `json:"endpoints"`
}

ProjectAccessSpec defines the desired state of ProjectAccess

func (*ProjectAccessSpec) DeepCopy

func (in *ProjectAccessSpec) DeepCopy() *ProjectAccessSpec

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

func (*ProjectAccessSpec) DeepCopyInto

func (in *ProjectAccessSpec) DeepCopyInto(out *ProjectAccessSpec)

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

type ProjectAccessStatus

type ProjectAccessStatus struct {
}

ProjectAccessStatus defines the observed state of ProjectAccess

func (*ProjectAccessStatus) DeepCopy

func (in *ProjectAccessStatus) DeepCopy() *ProjectAccessStatus

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

func (*ProjectAccessStatus) DeepCopyInto

func (in *ProjectAccessStatus) DeepCopyInto(out *ProjectAccessStatus)

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

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 ProjectNetworkPolicy

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

	Spec   ProjectNetworkPolicySpec   `json:"spec,omitempty"`
	Status ProjectNetworkPolicyStatus `json:"status,omitempty"`
}

ProjectNetworkPolicy is the Schema for the projectnetworkpolicies API

func (*ProjectNetworkPolicy) DeepCopy

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

func (*ProjectNetworkPolicy) DeepCopyInto

func (in *ProjectNetworkPolicy) DeepCopyInto(out *ProjectNetworkPolicy)

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

func (*ProjectNetworkPolicy) DeepCopyObject

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

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

type ProjectNetworkPolicyList

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

ProjectNetworkPolicyList contains a list of ProjectNetworkPolicy

func (*ProjectNetworkPolicyList) DeepCopy

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

func (*ProjectNetworkPolicyList) DeepCopyInto

func (in *ProjectNetworkPolicyList) DeepCopyInto(out *ProjectNetworkPolicyList)

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

func (*ProjectNetworkPolicyList) DeepCopyObject

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

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

type ProjectNetworkPolicySpec

type ProjectNetworkPolicySpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	// Project name
	ProjectName string `json:"projectName,omitempty"`
	// Network Policy names
	NetworkPolicies []string `json:"networkPolicies,omitempty"`
}

ProjectNetworkPolicySpec defines the desired state of ProjectNetworkPolicy

func (*ProjectNetworkPolicySpec) DeepCopy

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

func (*ProjectNetworkPolicySpec) DeepCopyInto

func (in *ProjectNetworkPolicySpec) DeepCopyInto(out *ProjectNetworkPolicySpec)

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

type ProjectNetworkPolicyStatus

type ProjectNetworkPolicyStatus struct {
}

ProjectNetworkPolicyStatus defines the observed state of ProjectNetworkPolicy

func (*ProjectNetworkPolicyStatus) DeepCopy

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

func (*ProjectNetworkPolicyStatus) DeepCopyInto

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

type ProjectNetworkPolicyTemplate

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

	Spec   ProjectNetworkPolicyTemplateSpec   `json:"spec,omitempty"`
	Status ProjectNetworkPolicyTemplateStatus `json:"status,omitempty"`
}

ProjectNetworkPolicyTemplate is the Schema for the projectnetworkpolicytemplates API

func (*ProjectNetworkPolicyTemplate) DeepCopy

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

func (*ProjectNetworkPolicyTemplate) DeepCopyInto

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

func (*ProjectNetworkPolicyTemplate) DeepCopyObject

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

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

type ProjectNetworkPolicyTemplateList

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

ProjectNetworkPolicyTemplateList contains a list of ProjectNetworkPolicyTemplate

func (*ProjectNetworkPolicyTemplateList) DeepCopy

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

func (*ProjectNetworkPolicyTemplateList) DeepCopyInto

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

func (*ProjectNetworkPolicyTemplateList) DeepCopyObject

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

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

type ProjectNetworkPolicyTemplateSpec

type ProjectNetworkPolicyTemplateSpec struct {

	// Exclude namespaces
	ExcludeNamespaces []string `json:"excludeNamespaces,omitempty"`
	// Network Policy specitifation
	PolicySpec networkingv1.NetworkPolicySpec `json:"policySpec"`
}

ProjectNetworkPolicyTemplateSpec defines the desired state of ProjectNetworkPolicyTemplate

func (*ProjectNetworkPolicyTemplateSpec) DeepCopy

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

func (*ProjectNetworkPolicyTemplateSpec) DeepCopyInto

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

type ProjectNetworkPolicyTemplateStatus

type ProjectNetworkPolicyTemplateStatus struct {
}

ProjectNetworkPolicyTemplateStatus defines the observed state of ProjectNetworkPolicyTemplate

func (*ProjectNetworkPolicyTemplateStatus) DeepCopy

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

func (*ProjectNetworkPolicyTemplateStatus) DeepCopyInto

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

type ProjectRole

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

	Spec   ProjectRoleSpec   `json:"spec,omitempty"`
	Status ProjectRoleStatus `json:"status,omitempty"`
}

ProjectRole is the Schema for the projectroles API

func (*ProjectRole) DeepCopy

func (in *ProjectRole) DeepCopy() *ProjectRole

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

func (*ProjectRole) DeepCopyInto

func (in *ProjectRole) DeepCopyInto(out *ProjectRole)

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

func (*ProjectRole) DeepCopyObject

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

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

type ProjectRoleList

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

ProjectRoleList contains a list of ProjectRole

func (*ProjectRoleList) DeepCopy

func (in *ProjectRoleList) DeepCopy() *ProjectRoleList

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

func (*ProjectRoleList) DeepCopyInto

func (in *ProjectRoleList) DeepCopyInto(out *ProjectRoleList)

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

func (*ProjectRoleList) DeepCopyObject

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

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

type ProjectRoleSpec

type ProjectRoleSpec struct {

	// Project name
	ProjectName string `json:"projectName,omitempty"`
	// Role names array
	Roles []string `json:"roles,omitempty"`
}

ProjectRoleSpec defines the desired state of ProjectRole

func (*ProjectRoleSpec) DeepCopy

func (in *ProjectRoleSpec) DeepCopy() *ProjectRoleSpec

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

func (*ProjectRoleSpec) DeepCopyInto

func (in *ProjectRoleSpec) DeepCopyInto(out *ProjectRoleSpec)

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

type ProjectRoleStatus

type ProjectRoleStatus struct {
}

ProjectRoleStatus defines the observed state of ProjectRole

func (*ProjectRoleStatus) DeepCopy

func (in *ProjectRoleStatus) DeepCopy() *ProjectRoleStatus

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

func (*ProjectRoleStatus) DeepCopyInto

func (in *ProjectRoleStatus) DeepCopyInto(out *ProjectRoleStatus)

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

type ProjectRoleTemplate

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

	Spec   ProjectRoleTemplateSpec   `json:"spec,omitempty"`
	Status ProjectRoleTemplateStatus `json:"status,omitempty"`
}

ProjectRoleTemplate is the Schema for the projectroletemplates API

func (*ProjectRoleTemplate) DeepCopy

func (in *ProjectRoleTemplate) DeepCopy() *ProjectRoleTemplate

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

func (*ProjectRoleTemplate) DeepCopyInto

func (in *ProjectRoleTemplate) DeepCopyInto(out *ProjectRoleTemplate)

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

func (*ProjectRoleTemplate) DeepCopyObject

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

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

type ProjectRoleTemplateList

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

ProjectRoleTemplateList contains a list of ProjectRoleTemplate

func (*ProjectRoleTemplateList) DeepCopy

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

func (*ProjectRoleTemplateList) DeepCopyInto

func (in *ProjectRoleTemplateList) DeepCopyInto(out *ProjectRoleTemplateList)

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

func (*ProjectRoleTemplateList) DeepCopyObject

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

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

type ProjectRoleTemplateSpec

type ProjectRoleTemplateSpec struct {

	// Exclude namespaces
	ExcludeNamespaces []string `json:"excludeNamespaces,omitempty"`
	// RBAC Role Rules
	RoleRules []v1.PolicyRule `json:"roleRules,omitempty"`
}

ProjectRoleTemplateSpec defines the desired state of ProjectRoleTemplate

func (*ProjectRoleTemplateSpec) DeepCopy

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

func (*ProjectRoleTemplateSpec) DeepCopyInto

func (in *ProjectRoleTemplateSpec) DeepCopyInto(out *ProjectRoleTemplateSpec)

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

type ProjectRoleTemplateStatus

type ProjectRoleTemplateStatus struct {
}

ProjectRoleTemplateStatus defines the observed state of ProjectRoleTemplate

func (*ProjectRoleTemplateStatus) DeepCopy

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

func (*ProjectRoleTemplateStatus) DeepCopyInto

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

type ProjectSpec

type ProjectSpec struct {

	// ResourceQuota specification
	ResourceQuota corev1.ResourceQuotaSpec `json:"resourceQuota"`
	// LimitRange specification
	LimitRange v1.LimitRangeSpec `json:"limitRange"`
}

ProjectSpec defines the desired state of Project

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 {
}

ProjectStatus defines the observed state of Project

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL