Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apis v1alpha1 API group +kubebuilder:object:generate=true +groupName=apis.portieris.io
Index ¶
- Constants
- Variables
- type Image
- type LabelSelector
- type MatchExpression
- type Portieris
- func (in *Portieris) DeepCopy() *Portieris
- func (in *Portieris) DeepCopyInto(out *Portieris)
- func (in *Portieris) DeepCopyObject() runtime.Object
- func (self *Portieris) GetClusterRoleBindingName() string
- func (self *Portieris) GetClusterRoleName() string
- func (self *Portieris) GetPodSecurityPolicyName() string
- func (self *Portieris) GetServiceAccountName() string
- func (self *Portieris) GetWebhookServerTlsSecretName() string
- func (self *Portieris) GetWebhookServiceName() string
- type PortierisList
- type PortierisSpec
- type PortierisStatus
- type Service
- type WebHooks
Constants ¶
const (
CleanupFinalizerName = "cleanup.finalizers.portieris.io"
)
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Portieris.
func (*Portieris) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Portieris) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Portieris) GetClusterRoleBindingName ¶
func (*Portieris) GetClusterRoleName ¶
func (*Portieris) GetPodSecurityPolicyName ¶
func (*Portieris) GetServiceAccountName ¶
func (*Portieris) GetWebhookServerTlsSecretName ¶
func (*Portieris) GetWebhookServiceName ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebHooks.
func (*WebHooks) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.