v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the sentry v1alpha1 API group +kubebuilder:object:generate=true +groupName=sentry.kubernetes.jaceys.me

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "sentry.kubernetes.jaceys.me", 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 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 ProjectCondition

type ProjectCondition string

+kubebuilder:validation:Enum=Created;Error

const (
	ProjectConditionCreated ProjectCondition = "Created"
	ProjectConditionError   ProjectCondition = "Error"
)

type ProjectKey

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

	Spec   ProjectKeySpec   `json:"spec,omitempty"`
	Status ProjectKeyStatus `json:"status,omitempty"`
}

ProjectKey is the Schema for the projectkeys API.

func (*ProjectKey) DeepCopy

func (in *ProjectKey) DeepCopy() *ProjectKey

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

func (*ProjectKey) DeepCopyInto

func (in *ProjectKey) DeepCopyInto(out *ProjectKey)

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

func (*ProjectKey) DeepCopyObject

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

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

type ProjectKeyCondition

type ProjectKeyCondition string

+kubebuilder:validation:Enum=Created;Error

const (
	ProjectKeyConditionCreated ProjectKeyCondition = "Created"
	ProjectKeyConditionError   ProjectKeyCondition = "Error"
)

type ProjectKeyList

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

ProjectKeyList contains a list of ProjectKey.

func (*ProjectKeyList) DeepCopy

func (in *ProjectKeyList) DeepCopy() *ProjectKeyList

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

func (*ProjectKeyList) DeepCopyInto

func (in *ProjectKeyList) DeepCopyInto(out *ProjectKeyList)

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

func (*ProjectKeyList) DeepCopyObject

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

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

type ProjectKeySpec

type ProjectKeySpec struct {
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	// Slug of the Sentry project that this project key should be created under.
	Project string `json:"project"`

	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	// Name of the Sentry project key.
	Name string `json:"name"`
}

ProjectKeySpec defines the desired state of ProjectKey.

func (*ProjectKeySpec) DeepCopy

func (in *ProjectKeySpec) DeepCopy() *ProjectKeySpec

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

func (*ProjectKeySpec) DeepCopyInto

func (in *ProjectKeySpec) DeepCopyInto(out *ProjectKeySpec)

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

type ProjectKeyStatus

type ProjectKeyStatus struct {
	// The state of the Sentry project key.
	// "Created" indicates that the Sentry project key was created successfully.
	// "Error" indicates that an error occurred while trying to reconcile the Sentry project key.
	Condition ProjectKeyCondition `json:"condition,omitempty"`

	// Additional detail about any errors that occurred while trying to reconcile the Sentry project key.
	Message string `json:"message,omitempty"`

	// The ID of the Sentry project key.
	ID string `json:"id,omitempty"`

	// The time that the Sentry project key was last successfully reconciled.
	LastSynced *metav1.Time `json:"lastSynced,omitempty"`

	// The ID of the Sentry project that this project key belongs to.
	ProjectID string `json:"projectID,omitempty"`
}

ProjectKeyStatus defines the observed state of ProjectKey.

func (*ProjectKeyStatus) DeepCopy

func (in *ProjectKeyStatus) DeepCopy() *ProjectKeyStatus

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

func (*ProjectKeyStatus) DeepCopyInto

func (in *ProjectKeyStatus) DeepCopyInto(out *ProjectKeyStatus)

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 ProjectSpec

type ProjectSpec struct {
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	// Slug of the Sentry team that this project should be created under.
	Team string `json:"team"`

	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	// Name of the Sentry project.
	Name string `json:"name"`

	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	// Slug of the Sentry project.
	Slug string `json:"slug"`
}

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 {
	// The state of the Sentry project.
	// "Created" indicates that the Sentry project was created successfully.
	// "Error" indicates that an error occurred while trying to reconcile the Sentry project.
	Condition ProjectCondition `json:"condition,omitempty"`

	// Additional detail about any errors that occurred while trying to reconcile the Sentry project.
	Message string `json:"message,omitempty"`

	// The ID of the Sentry project.
	ID string `json:"id,omitempty"`

	// The time that the Sentry project was last successfully reconciled.
	LastSynced *metav1.Time `json:"lastSynced,omitempty"`
}

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.

type Team

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

	Spec   TeamSpec   `json:"spec,omitempty"`
	Status TeamStatus `json:"status,omitempty"`
}

Team is the Schema for the teams API.

func (*Team) DeepCopy

func (in *Team) DeepCopy() *Team

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

func (*Team) DeepCopyInto

func (in *Team) DeepCopyInto(out *Team)

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

func (*Team) DeepCopyObject

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

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

type TeamCondition

type TeamCondition string

+kubebuilder:validation:Enum=Created;Error

const (
	TeamConditionCreated TeamCondition = "Created"
	TeamConditionError   TeamCondition = "Error"
)

type TeamList

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

TeamList contains a list of Team.

func (*TeamList) DeepCopy

func (in *TeamList) DeepCopy() *TeamList

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

func (*TeamList) DeepCopyInto

func (in *TeamList) DeepCopyInto(out *TeamList)

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

func (*TeamList) DeepCopyObject

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

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

type TeamSpec

type TeamSpec struct {
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	// Name of the Sentry team.
	Name string `json:"name"`

	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	// Slug of the Sentry team.
	Slug string `json:"slug"`
}

TeamSpec defines the desired state of Team.

func (*TeamSpec) DeepCopy

func (in *TeamSpec) DeepCopy() *TeamSpec

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

func (*TeamSpec) DeepCopyInto

func (in *TeamSpec) DeepCopyInto(out *TeamSpec)

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

type TeamStatus

type TeamStatus struct {
	// The state of the Sentry team.
	// "Created" indicates that the Sentry team was created successfully.
	// "Error" indicates that an error occurred while trying to reconcile the Sentry team.
	Condition TeamCondition `json:"condition,omitempty"`

	// Additional detail about any errors that occurred while trying to reconcile the Sentry team.
	Message string `json:"message,omitempty"`

	// The ID of the Sentry team.
	ID string `json:"id,omitempty"`

	// The time that the Sentry team was last successfully reconciled.
	LastSynced *metav1.Time `json:"lastSynced,omitempty"`
}

TeamStatus defines the observed state of Team.

func (*TeamStatus) DeepCopy

func (in *TeamStatus) DeepCopy() *TeamStatus

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

func (*TeamStatus) DeepCopyInto

func (in *TeamStatus) DeepCopyInto(out *TeamStatus)

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