v1alpha1

package
v0.0.0-...-67e66f2 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: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the apis v1alpha1 API group +kubebuilder:object:generate=true +groupName=apis.portieris.io

Index

Constants

View Source
const (
	CleanupFinalizerName = "cleanup.finalizers.portieris.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "apis.portieris.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 Image

type Image struct {
	Host        string                    `json:"host,omitempty"`
	PullSecrets []v1.LocalObjectReference `json:"pullSecret,omitempty"`
	Image       string                    `json:"image,omitempty"`
	Tag         string                    `json:"tag,omitempty"`
	PullPolicy  v1.PullPolicy             `json:"pullPolicy,omitempty"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

type LabelSelector

type LabelSelector struct {
	MatchExpressions []MatchExpression `json:"matchExpressions,omitempty"`
}

func (*LabelSelector) DeepCopy

func (in *LabelSelector) DeepCopy() *LabelSelector

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

func (*LabelSelector) DeepCopyInto

func (in *LabelSelector) DeepCopyInto(out *LabelSelector)

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

type MatchExpression

type MatchExpression struct {
	Key      string   `json:"key,omitempty"`
	Operator string   `json:"operator,omitempty"`
	Values   []string `json:"values,omitempty"`
}

func (*MatchExpression) DeepCopy

func (in *MatchExpression) DeepCopy() *MatchExpression

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

func (*MatchExpression) DeepCopyInto

func (in *MatchExpression) DeepCopyInto(out *MatchExpression)

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

type Portieris

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

	Spec   PortierisSpec   `json:"spec,omitempty"`
	Status PortierisStatus `json:"status,omitempty"`
}

Portieris is the Schema for the portieris API

func (*Portieris) DeepCopy

func (in *Portieris) DeepCopy() *Portieris

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

func (*Portieris) DeepCopyInto

func (in *Portieris) DeepCopyInto(out *Portieris)

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

func (*Portieris) DeepCopyObject

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

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

func (*Portieris) GetClusterRoleBindingName

func (self *Portieris) GetClusterRoleBindingName() string

func (*Portieris) GetClusterRoleName

func (self *Portieris) GetClusterRoleName() string

func (*Portieris) GetPodSecurityPolicyName

func (self *Portieris) GetPodSecurityPolicyName() string

func (*Portieris) GetServiceAccountName

func (self *Portieris) GetServiceAccountName() string

func (*Portieris) GetWebhookServerTlsSecretName

func (self *Portieris) GetWebhookServerTlsSecretName() string

func (*Portieris) GetWebhookServiceName

func (self *Portieris) GetWebhookServiceName() string

type PortierisList

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

PortierisList contains a list of Portieris

func (*PortierisList) DeepCopy

func (in *PortierisList) DeepCopy() *PortierisList

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

func (*PortierisList) DeepCopyInto

func (in *PortierisList) DeepCopyInto(out *PortierisList)

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

func (*PortierisList) DeepCopyObject

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

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

type PortierisSpec

type PortierisSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Name                       string                  `json:"name,omitempty"`
	MetaLabels                 map[string]string       `json:"labels,omitempty"`
	SelectorLabels             map[string]string       `json:"selector,omitempty"`
	ReplicaCount               *int32                  `json:"replicaCount,omitempty"`
	Image                      Image                   `json:"image,omitempty"`
	Service                    Service                 `json:"service,omitempty"`
	SecurityContext            *v1.PodSecurityContext  `json:"securityContext,omitempty"`
	WebHooks                   WebHooks                `json:"webHooks,omitempty"`
	IBMContainerService        bool                    `json:"IBMContainerService,omitempty"`
	SkipSecretCreation         bool                    `json:"skipSecretCreation,omitempty"`
	SecretName                 string                  `json:"secretName,omitempty"`
	UseCertManager             bool                    `json:"useCertManager,omitempty"`
	Resources                  v1.ResourceRequirements `json:"resources,omitempty"`
	NodeSelector               map[string]string       `json:"nodeSelector,omitempty"`
	Tolerations                []v1.Toleration         `json:"tolerations,omitempty"`
	Affinity                   *v1.Affinity            `json:"affinity,omitempty"`
	AllowAdmissionSkip         bool                    `json:"allowAdmissionSkip,omitempty"`
	AllowedRepositories        []string                `json:"allowedRepositories,omitempty"`
	SecurityContextConstraints bool                    `json:"securityContextConstraints,omitempty"`
}

PortierisSpec defines the desired state of Portieris

func (*PortierisSpec) DeepCopy

func (in *PortierisSpec) DeepCopy() *PortierisSpec

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

func (*PortierisSpec) DeepCopyInto

func (in *PortierisSpec) DeepCopyInto(out *PortierisSpec)

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

type PortierisStatus

type PortierisStatus struct {
}

PortierisStatus defines the observed state of Portieris

func (*PortierisStatus) DeepCopy

func (in *PortierisStatus) DeepCopy() *PortierisStatus

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

func (*PortierisStatus) DeepCopyInto

func (in *PortierisStatus) DeepCopyInto(out *PortierisStatus)

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

type Service

type Service struct {
	Type              string             `json:"type,omitempty"`
	Port              int32              `json:"port,omitempty"`
	TargetPort        intstr.IntOrString `json:"targetPort,omitempty"`
	MetricsTargetPort intstr.IntOrString `json:"metricsTargetPort,omitempty"`
	MetricsPort       int32              `json:"metricsPort,omitempty"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

type WebHooks

type WebHooks struct {
	FailurePolicy *admv1.FailurePolicyType `json:"failurePolicy,omitempty"`
}

func (*WebHooks) DeepCopy

func (in *WebHooks) DeepCopy() *WebHooks

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

func (*WebHooks) DeepCopyInto

func (in *WebHooks) DeepCopyInto(out *WebHooks)

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