v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the core resources of the styra provider. +kubebuilder:object:generate=true +groupName=styra.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "styra.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

View Source
const (
	DataSourceCategoryAWSECR              = "aws/ecr"
	DataSourceCategoryBundleS3            = "bundle/s3"
	DataSourceCategoryGitBlame            = "git/blame"
	DataSourceCategoryGitContent          = "git/content"
	DataSourceCategoryGitRego             = "git/rego"
	DataSourceCategoryHTTP                = "http"
	DataSourceCategoryKubernetesResources = "kubernetes/resources"
	DataSourceCategoryLDAP                = "ldap"
	DataSourceCategoryPolicyLibrary       = "policy-library"
	DataSourceCategoryRest                = "rest"

	// DataSourceStatusFailed describes the status code when the external resource has failed
	DataSourceStatusFailed = "failed"
)

Supported datasource categories

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	DataSourceKind             = reflect.TypeOf(DataSource{}).Name()
	DataSourceGroupKind        = schema.GroupKind{Group: Group, Kind: DataSourceKind}.String()
	DataSourceKindAPIVersion   = DataSourceKind + "." + SchemeGroupVersion.String()
	DataSourceGroupVersionKind = SchemeGroupVersion.WithKind(DataSourceKind)
)

DataSource type metadata.

Functions

This section is empty.

Types

type DataSource

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

	Spec   DataSourceSpec   `json:"spec"`
	Status DataSourceStatus `json:"status,omitempty"`
}

A DataSource is the schema for Styra DataSources API +kubebuilder:printcolumn:name="CATEGORY",type="string",JSONPath=".spec.forProvider.category" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,styra}

func (*DataSource) DeepCopy

func (in *DataSource) DeepCopy() *DataSource

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

func (*DataSource) DeepCopyInto

func (in *DataSource) DeepCopyInto(out *DataSource)

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

func (*DataSource) DeepCopyObject

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

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

func (*DataSource) GetCondition

func (mg *DataSource) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DataSource.

func (*DataSource) GetDeletionPolicy

func (mg *DataSource) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DataSource.

func (*DataSource) GetProviderConfigReference

func (mg *DataSource) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DataSource.

func (*DataSource) GetProviderReference

func (mg *DataSource) GetProviderReference() *xpv1.Reference

GetProviderReference of this DataSource. Deprecated: Use GetProviderConfigReference.

func (*DataSource) GetWriteConnectionSecretToReference

func (mg *DataSource) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DataSource.

func (*DataSource) ResolveReferences

func (mg *DataSource) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DataSource.

func (*DataSource) SetConditions

func (mg *DataSource) SetConditions(c ...xpv1.Condition)

SetConditions of this DataSource.

func (*DataSource) SetDeletionPolicy

func (mg *DataSource) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DataSource.

func (*DataSource) SetProviderConfigReference

func (mg *DataSource) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DataSource.

func (*DataSource) SetProviderReference

func (mg *DataSource) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DataSource. Deprecated: Use SetProviderConfigReference.

func (*DataSource) SetWriteConnectionSecretToReference

func (mg *DataSource) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DataSource.

type DataSourceExternalStatus

type DataSourceExternalStatus struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Timestamp *string `json:"timestamp,omitempty"`
}

DataSourceExternalStatus represents the external status of a datasource tracked by Styra.

func (*DataSourceExternalStatus) DeepCopy

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

func (*DataSourceExternalStatus) DeepCopyInto

func (in *DataSourceExternalStatus) DeepCopyInto(out *DataSourceExternalStatus)

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

type DataSourceList

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

DataSourceList contains a list of DataSource

func (*DataSourceList) DeepCopy

func (in *DataSourceList) DeepCopy() *DataSourceList

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

func (*DataSourceList) DeepCopyInto

func (in *DataSourceList) DeepCopyInto(out *DataSourceList)

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

func (*DataSourceList) DeepCopyObject

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

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

func (*DataSourceList) GetItems

func (l *DataSourceList) GetItems() []resource.Managed

GetItems of this DataSourceList.

type DataSourceObservation

type DataSourceObservation struct {
	// The last time the data source was executed
	Executed *string `json:"executed,omitempty"`

	// The last observed status of the datasource
	Status *DataSourceExternalStatus `json:"status,omitempty"`
}

A DataSourceObservation defines the observed state of a DataSource.

func (*DataSourceObservation) DeepCopy

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

func (*DataSourceObservation) DeepCopyInto

func (in *DataSourceObservation) DeepCopyInto(out *DataSourceObservation)

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

type DataSourceParameters

type DataSourceParameters struct {
	DatasourcesV1Common `json:",inline"`

	AWSECR *DatasourcesV1AWSECR `json:"awsECR,omitempty"`

	BundleS3 *DatasourcesV1BundleS3 `json:"bundleS3,omitempty"`

	GitBlame *DatasourcesV1GitBlame `json:"gitBlame,omitempty"`

	GitContent *DatasourcesV1GitContent `json:"gitContent,omitempty"`

	GitRego *DatasourcesV1GitRego `json:"gitRego,omitempty"`

	HTTP *DatasourcesV1HTTP `json:"http,omitempty"`

	KubernetesResources *DatasourcesV1KubernetesResources `json:"kubernetesResources,omitempty"`

	LDAP *DatasourcesV1LDAP `json:"ldap,omitempty"`

	PolicyLibrary *DatasourcesV1PolicyLibrary `json:"policyLibrary,omitempty"`

	Rest *DatasourcesV1Rest `json:"rest,omitempty"`
}

A DataSourceParameters defines desired state of a DataSource

func (*DataSourceParameters) DeepCopy

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

func (*DataSourceParameters) DeepCopyInto

func (in *DataSourceParameters) DeepCopyInto(out *DataSourceParameters)

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

type DataSourceSpec

type DataSourceSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       DataSourceParameters `json:"forProvider"`
}

A DataSourceSpec defines the desired state of a DataSource.

func (*DataSourceSpec) DeepCopy

func (in *DataSourceSpec) DeepCopy() *DataSourceSpec

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

func (*DataSourceSpec) DeepCopyInto

func (in *DataSourceSpec) DeepCopyInto(out *DataSourceSpec)

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

type DataSourceStatus

type DataSourceStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          DataSourceObservation `json:"atProvider"`
}

A DataSourceStatus represents the status of a DataSource.

func (*DataSourceStatus) DeepCopy

func (in *DataSourceStatus) DeepCopy() *DataSourceStatus

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

func (*DataSourceStatus) DeepCopyInto

func (in *DataSourceStatus) DeepCopyInto(out *DataSourceStatus)

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

type DatasourcesV1AWSCommon

type DatasourcesV1AWSCommon struct {

	// Secret ID with AWS credentials
	// +kubebuilder:validation:Required
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-styra/apis/secret/v1alpha1.Secret
	// +crossplane:generate:reference:refFieldName=CredentialsRef
	// +crossplane:generate:reference:selectorFieldName=CredentialsSelector
	Credentials string `json:"credentials"`

	// CredentialsRef is a reference to a Secret used to set Credentials.
	// +optional
	CredentialsRef *xpv1.Reference `json:"credentialsRef,omitempty"`

	// CredentialsSelector selects references to a Secret used to set Credentials.
	// +optional
	CredentialsSelector *xpv1.Selector `json:"credentialsSelector,omitempty"`

	// AWS region
	// +kubebuilder:validation:Required
	Region string `json:"region"`
}

DatasourcesV1AWSCommon fields

func (*DatasourcesV1AWSCommon) DeepCopy

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

func (*DatasourcesV1AWSCommon) DeepCopyInto

func (in *DatasourcesV1AWSCommon) DeepCopyInto(out *DatasourcesV1AWSCommon)

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

type DatasourcesV1AWSECR

type DatasourcesV1AWSECR struct {
	DatasourcesV1RateLimiter `json:",inline"`

	DatasourcesV1Poller `json:",inline"`

	DatasourcesV1AWSCommon `json:",inline"`

	// Registry ID
	RegistryID *string `json:"registryId,omitempty"`
}

DatasourcesV1AWSECR defines properties specific to aws/ecr datasources

func (*DatasourcesV1AWSECR) DeepCopy

func (in *DatasourcesV1AWSECR) DeepCopy() *DatasourcesV1AWSECR

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

func (*DatasourcesV1AWSECR) DeepCopyInto

func (in *DatasourcesV1AWSECR) DeepCopyInto(out *DatasourcesV1AWSECR)

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

type DatasourcesV1BundleS3

type DatasourcesV1BundleS3 struct {
	DatasourcesV1Poller `json:",inline"`

	DatasourcesV1AWSCommon `json:",inline"`

	// S3 Bucket
	// +kubebuilder:validation:Required
	Bucket string `json:"bucket"`

	// Endpoint to S3 storage
	Endpoint *string `json:"endpoint,omitempty"`

	// S3 Path within a Bucket
	// +kubebuilder:validation:Required
	Path string `json:"path"`
}

DatasourcesV1BundleS3 defines properties specific to bundle/s3 datasources

func (*DatasourcesV1BundleS3) DeepCopy

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

func (*DatasourcesV1BundleS3) DeepCopyInto

func (in *DatasourcesV1BundleS3) DeepCopyInto(out *DatasourcesV1BundleS3)

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

type DatasourcesV1Common

type DatasourcesV1Common struct {

	// category
	// +kubebuilder:validation:Required
	Category string `json:"category"`

	// description
	Description *string `json:"description,omitempty"`

	// enabled
	Enabled *bool `json:"enabled,omitempty"`

	// on premises
	// +kubebuilder:validation:Required
	OnPremises bool `json:"onPremises"`

	// type
	// +kubebuilder:validation:Required
	// Enum: [pull push]
	Type string `json:"type"`
}

DatasourcesV1Common fields

func (*DatasourcesV1Common) DeepCopy

func (in *DatasourcesV1Common) DeepCopy() *DatasourcesV1Common

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

func (*DatasourcesV1Common) DeepCopyInto

func (in *DatasourcesV1Common) DeepCopyInto(out *DatasourcesV1Common)

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

type DatasourcesV1GitBlame

type DatasourcesV1GitBlame struct {
	DatasourcesV1GitCommon `json:",inline"`

	// path regexp
	PathRegexp *string `json:"pathRegexp,omitempty"`
}

DatasourcesV1GitBlame defines properties specific to git/blame datasources

func (*DatasourcesV1GitBlame) DeepCopy

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

func (*DatasourcesV1GitBlame) DeepCopyInto

func (in *DatasourcesV1GitBlame) DeepCopyInto(out *DatasourcesV1GitBlame)

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

type DatasourcesV1GitCommon

type DatasourcesV1GitCommon struct {
	DatasourcesV1Poller `json:",inline"`

	DatasourcesV1RateLimiter `json:",inline"`

	// Secret ID with credentials
	// +kubebuilder:validation:Required
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-styra/apis/secret/v1alpha1.Secret
	// +crossplane:generate:reference:refFieldName=CredentialsRef
	// +crossplane:generate:reference:selectorFieldName=CredentialsSelector
	Credentials *string `json:"credentials,omitempty"`

	// CredentialsRef is a reference to a Secret used to set Credentials.
	// +optional
	CredentialsRef *xpv1.Reference `json:"credentialsRef,omitempty"`

	// CredentialsSelector selects references to a Secret used to set Credentials.
	// +optional
	CredentialsSelector *xpv1.Selector `json:"credentialsSelector,omitempty"`

	// reference
	Reference *string `json:"reference,omitempty"`

	// ssh credentials
	SSHCredentials *DatasourcesV1GitCommonAO3SSHCredentials `json:"sshCredentials,omitempty"`

	// timeout
	Timeout *metav1.Duration `json:"timeout,omitempty"`

	// Git URL
	// +kubebuilder:validation:Required
	URL string `json:"url"`
}

DatasourcesV1GitCommon fields

func (*DatasourcesV1GitCommon) DeepCopy

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

func (*DatasourcesV1GitCommon) DeepCopyInto

func (in *DatasourcesV1GitCommon) DeepCopyInto(out *DatasourcesV1GitCommon)

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

type DatasourcesV1GitCommonAO3SSHCredentials

type DatasourcesV1GitCommonAO3SSHCredentials struct {

	// Secret ID with passphrase
	// +kubebuilder:validation:Required
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-styra/apis/secret/v1alpha1.Secret
	// +crossplane:generate:reference:refFieldName=PassphraseRef
	// +crossplane:generate:reference:selectorFieldName=PassphraseSelector
	Passphrase *string `json:"passphrase,omitempty"`

	// PassphraseRef is a reference to a Secret used to set Passphrase.
	// +optional
	PassphraseRef *xpv1.Reference `json:"passphraseRef,omitempty"`

	// PassphraseSelector selects references to a Secret used to set Passphrase.
	// +optional
	PassphraseSelector *xpv1.Selector `json:"passphraseSelector,omitempty"`

	// Secret ID with private key
	// +kubebuilder:validation:Required
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-styra/apis/secret/v1alpha1.Secret
	// +crossplane:generate:reference:refFieldName=PrivateKeyRef
	// +crossplane:generate:reference:selectorFieldName=PrivateKeySelector
	// +kubebuilder:validation:Required
	PrivateKey string `json:"privateKey"`

	// PassphraseRef is a reference to a Secret used to set Passphrase.
	// +optional
	PrivateKeyRef *xpv1.Reference `json:"privateKeyRef,omitempty"`

	// PassphraseSelector selects references to a Secret used to set Passphrase.
	// +optional
	PrivateKeySelector *xpv1.Selector `json:"privateKeySelector,omitempty"`
}

DatasourcesV1GitCommonAO3SSHCredentials fields

func (*DatasourcesV1GitCommonAO3SSHCredentials) DeepCopy

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

func (*DatasourcesV1GitCommonAO3SSHCredentials) DeepCopyInto

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

type DatasourcesV1GitContent

type DatasourcesV1GitContent struct {
	DatasourcesV1GitCommon `json:",inline"`
}

DatasourcesV1GitContent defines properties specific to git/content datasources

func (*DatasourcesV1GitContent) DeepCopy

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

func (*DatasourcesV1GitContent) DeepCopyInto

func (in *DatasourcesV1GitContent) DeepCopyInto(out *DatasourcesV1GitContent)

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

type DatasourcesV1GitRego

type DatasourcesV1GitRego struct {
	DatasourcesV1GitCommon `json:",inline"`

	// path
	Path *string `json:"path,omitempty"`
}

DatasourcesV1GitRego defines properties specific to git/rego datasources

func (*DatasourcesV1GitRego) DeepCopy

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

func (*DatasourcesV1GitRego) DeepCopyInto

func (in *DatasourcesV1GitRego) DeepCopyInto(out *DatasourcesV1GitRego)

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

type DatasourcesV1HTTP

type DatasourcesV1HTTP struct {
	DatasourcesV1Poller `json:",inline"`

	DatasourcesV1RegoFiltering `json:",inline"`

	DatasourcesV1TLSSettings `json:",inline"`

	// headers
	Headers []DatasourcesV1HTTPHeader `json:"headers,omitempty"`

	// url
	// +kubebuilder:validation:Required
	URL string `json:"url"`
}

DatasourcesV1HTTP defines properties specific to http datasources

func (*DatasourcesV1HTTP) DeepCopy

func (in *DatasourcesV1HTTP) DeepCopy() *DatasourcesV1HTTP

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

func (*DatasourcesV1HTTP) DeepCopyInto

func (in *DatasourcesV1HTTP) DeepCopyInto(out *DatasourcesV1HTTP)

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

type DatasourcesV1HTTPHeader

type DatasourcesV1HTTPHeader struct {

	// Header's name
	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// Secret ID where the Header's value is stored
	SecretID *string `json:"secretID,omitempty"`

	// Header's value
	Value *string `json:"value,omitempty"`
}

DatasourcesV1HTTPHeader fields

func (*DatasourcesV1HTTPHeader) DeepCopy

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

func (*DatasourcesV1HTTPHeader) DeepCopyInto

func (in *DatasourcesV1HTTPHeader) DeepCopyInto(out *DatasourcesV1HTTPHeader)

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

type DatasourcesV1KubernetesResources

type DatasourcesV1KubernetesResources struct {
	DatasourcesV1RateLimiter `json:",inline"`

	DatasourcesV1Poller `json:",inline"`

	// strip out resource properties given their relative path
	Masks map[string][]string `json:"masks,omitempty"`

	// allows to include/exclude namespaces
	Namespaces map[string]bool `json:"namespaces,omitempty"`

	// field selectors per resource [group]
	Selectors map[string]string `json:"selectors,omitempty"`
}

DatasourcesV1KubernetesResources properties specific to kubernetes/resources datasources

func (*DatasourcesV1KubernetesResources) DeepCopy

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

func (*DatasourcesV1KubernetesResources) DeepCopyInto

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

type DatasourcesV1LDAP

type DatasourcesV1LDAP struct {
	DatasourcesV1RateLimiter `json:",inline"`

	DatasourcesV1Poller `json:",inline"`

	DatasourcesV1RegoFiltering `json:",inline"`

	DatasourcesV1TLSSettings `json:",inline"`

	// Secret ID with credentials
	// +kubebuilder:validation:Required
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-styra/apis/secret/v1alpha1.Secret
	// +crossplane:generate:reference:refFieldName=CredentialsRef
	// +crossplane:generate:reference:selectorFieldName=CredentialsSelector
	Credentials *string `json:"credentials,omitempty"`

	// CredentialsRef is a reference to a Secret used to set Credentials.
	// +optional
	CredentialsRef *xpv1.Reference `json:"credentialsRef,omitempty"`

	// CredentialsSelector selects references to a Secret used to set Credentials.
	// +optional
	CredentialsSelector *xpv1.Selector `json:"credentialsSelector,omitempty"`

	// search
	Search *DatasourcesV1LDAPAO5Search `json:"search,omitempty"`

	// List of URLs: main + replicas
	// +kubebuilder:validation:Required
	Urls []string `json:"urls"`
}

DatasourcesV1LDAP properties specific to LDAP datasources

func (*DatasourcesV1LDAP) DeepCopy

func (in *DatasourcesV1LDAP) DeepCopy() *DatasourcesV1LDAP

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

func (*DatasourcesV1LDAP) DeepCopyInto

func (in *DatasourcesV1LDAP) DeepCopyInto(out *DatasourcesV1LDAP)

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

type DatasourcesV1LDAPAO5Search

type DatasourcesV1LDAPAO5Search struct {

	// Search attribute selection.
	// Documentation: https://ldapwiki.com/wiki/AttributeSelection
	//
	Attributes []string `json:"attributes,omitempty"`

	// Search Base DN.
	// Documentation: https://ldapwiki.com/wiki/BaseDN
	//
	// +kubebuilder:validation:Required
	BaseDN string `json:"baseDN"`

	// Search dereference policy.
	// Documentation: https://ldapwiki.com/wiki/Dereference%20Policy
	//
	// Enum: [never searching finding always]
	Deref *string `json:"deref,omitempty"`

	// Search filter.
	// Documentation: https://ldapwiki.com/wiki/LDAP%20SearchFilters
	// Examples: https://ldapwiki.com/wiki/LDAP%20Query%20Examples
	//
	// +kubebuilder:validation:Required
	Filter string `json:"filter"`

	// Search page size.
	// Documentation: https://ldapwiki.com/wiki/MaxPageSize
	//
	// Maximum: 4.294967295e+09
	// Minimum: 0
	PageSize *int64 `json:"pageSize,omitempty"`

	// Search scope.
	// Documentation: https://ldapwiki.com/wiki/LDAP%20Search%20Scopes
	//
	// Enum: [base-object single-level whole-subtree]
	Scope *string `json:"scope,omitempty"`

	// Search page limit.
	// Documentation: https://ldapwiki.com/wiki/SizeLimit
	//
	// Minimum: 0
	SizeLimit *int64 `json:"sizeLimit,omitempty"`
}

DatasourcesV1LDAPAO5Search Search Request. Documentation: https://ldapwiki.com/wiki/SearchRequest

swagger:model DatasourcesV1LDAPAO5Search

func (*DatasourcesV1LDAPAO5Search) DeepCopy

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

func (*DatasourcesV1LDAPAO5Search) DeepCopyInto

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

type DatasourcesV1PolicyLibrary

type DatasourcesV1PolicyLibrary struct {
	DatasourcesV1Poller `json:",inline"`
}

DatasourcesV1PolicyLibrary defines properties specific to policy-library datasources

func (*DatasourcesV1PolicyLibrary) DeepCopy

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

func (*DatasourcesV1PolicyLibrary) DeepCopyInto

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

type DatasourcesV1Poller

type DatasourcesV1Poller struct {

	// polling interval
	PollingInterval *metav1.Duration `json:"pollingInterval,omitempty"`
}

DatasourcesV1Poller fields

func (*DatasourcesV1Poller) DeepCopy

func (in *DatasourcesV1Poller) DeepCopy() *DatasourcesV1Poller

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

func (*DatasourcesV1Poller) DeepCopyInto

func (in *DatasourcesV1Poller) DeepCopyInto(out *DatasourcesV1Poller)

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

type DatasourcesV1RateLimiter

type DatasourcesV1RateLimiter struct {

	// requests per second
	RateLimit *resource.Quantity `json:"rateLimit,omitempty"`
}

DatasourcesV1RateLimiter fields

func (*DatasourcesV1RateLimiter) DeepCopy

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

func (*DatasourcesV1RateLimiter) DeepCopyInto

func (in *DatasourcesV1RateLimiter) DeepCopyInto(out *DatasourcesV1RateLimiter)

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

type DatasourcesV1RegoFiltering

type DatasourcesV1RegoFiltering struct {

	// Policy Filter (if set, then policyQuery must be set as well)
	PolicyFilter *string `json:"policyFilter,omitempty"`

	// Policy Query (if set, then policyFilter must be set as well)
	PolicyQuery *string `json:"policyQuery,omitempty"`
}

DatasourcesV1RegoFiltering fields

func (*DatasourcesV1RegoFiltering) DeepCopy

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

func (*DatasourcesV1RegoFiltering) DeepCopyInto

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

type DatasourcesV1Rest

type DatasourcesV1Rest struct {

	// content type
	ContentType *string `json:"contentType,omitempty"`
}

DatasourcesV1Rest defines properties specific to rest datasources

func (*DatasourcesV1Rest) DeepCopy

func (in *DatasourcesV1Rest) DeepCopy() *DatasourcesV1Rest

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

func (*DatasourcesV1Rest) DeepCopyInto

func (in *DatasourcesV1Rest) DeepCopyInto(out *DatasourcesV1Rest)

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

type DatasourcesV1TLSSettings

type DatasourcesV1TLSSettings struct {

	// Custom CA certificate
	CaCertificate *string `json:"caCertificate,omitempty"`

	// Skip TLS verification
	SkipTLSVerification *bool `json:"skipTLSVerification,omitempty"`
}

DatasourcesV1TLSSettings fields

func (*DatasourcesV1TLSSettings) DeepCopy

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

func (*DatasourcesV1TLSSettings) DeepCopyInto

func (in *DatasourcesV1TLSSettings) DeepCopyInto(out *DatasourcesV1TLSSettings)

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