v1

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 provides partial-match assertion structs for source.toolkit.fluxcd.io/v1.

Re-generate with:

go generate ./...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketAssertion

type BucketAssertion struct {
	TypeMeta   assert.Opt[v1.TypeMeta]
	ObjectMeta assert.Opt[v1.ObjectMeta]
	Spec       BucketSpecAssertion
	Status     assert.Opt[v11.BucketStatus]
}

BucketAssertion is the assertion struct for Bucket.

func (BucketAssertion) IsAssertable

func (_ BucketAssertion) IsAssertable()

IsAssertable marks BucketAssertion as an Assertable.

type BucketSTSSpecAssertion

type BucketSTSSpecAssertion struct {
	Provider      assert.Opt[string]
	Endpoint      assert.Opt[string]
	SecretRef     assert.Opt[*meta.LocalObjectReference]
	CertSecretRef assert.Opt[*meta.LocalObjectReference]
}

BucketSTSSpecAssertion is the assertion struct for BucketSTSSpec.

func (BucketSTSSpecAssertion) IsAssertable

func (_ BucketSTSSpecAssertion) IsAssertable()

IsAssertable marks BucketSTSSpecAssertion as an Assertable.

type BucketSpecAssertion

type BucketSpecAssertion struct {
	Provider           assert.Opt[string]
	BucketName         assert.Opt[string]
	Endpoint           assert.Opt[string]
	STS                BucketSTSSpecAssertion
	Insecure           assert.Opt[bool]
	Region             assert.Opt[string]
	Prefix             assert.Opt[string]
	SecretRef          assert.Opt[*meta.LocalObjectReference]
	ServiceAccountName assert.Opt[string]
	CertSecretRef      assert.Opt[*meta.LocalObjectReference]
	ProxySecretRef     assert.Opt[*meta.LocalObjectReference]
	Interval           assert.Opt[v1.Duration]
	Timeout            assert.Opt[*v1.Duration]
	Ignore             assert.Opt[*string]
	Suspend            assert.Opt[bool]
}

BucketSpecAssertion is the assertion struct for BucketSpec.

func (BucketSpecAssertion) IsAssertable

func (_ BucketSpecAssertion) IsAssertable()

IsAssertable marks BucketSpecAssertion as an Assertable.

type ExternalArtifactAssertion

type ExternalArtifactAssertion struct {
	TypeMeta   assert.Opt[v1.TypeMeta]
	ObjectMeta assert.Opt[v1.ObjectMeta]
	Spec       ExternalArtifactSpecAssertion
	Status     assert.Opt[v11.ExternalArtifactStatus]
}

ExternalArtifactAssertion is the assertion struct for ExternalArtifact.

func (ExternalArtifactAssertion) IsAssertable

func (_ ExternalArtifactAssertion) IsAssertable()

IsAssertable marks ExternalArtifactAssertion as an Assertable.

type ExternalArtifactSpecAssertion

type ExternalArtifactSpecAssertion struct {
	SourceRef assert.Opt[*meta.NamespacedObjectKindReference]
}

ExternalArtifactSpecAssertion is the assertion struct for ExternalArtifactSpec.

func (ExternalArtifactSpecAssertion) IsAssertable

func (_ ExternalArtifactSpecAssertion) IsAssertable()

IsAssertable marks ExternalArtifactSpecAssertion as an Assertable.

type GitRepositoryAssertion

type GitRepositoryAssertion struct {
	TypeMeta   assert.Opt[v1.TypeMeta]
	ObjectMeta assert.Opt[v1.ObjectMeta]
	Spec       GitRepositorySpecAssertion
	Status     assert.Opt[v11.GitRepositoryStatus]
}

GitRepositoryAssertion is the assertion struct for GitRepository.

func (GitRepositoryAssertion) IsAssertable

func (_ GitRepositoryAssertion) IsAssertable()

IsAssertable marks GitRepositoryAssertion as an Assertable.

type GitRepositoryIncludeAssertion

type GitRepositoryIncludeAssertion struct {
	GitRepositoryRef assert.Opt[meta.LocalObjectReference]
	FromPath         assert.Opt[string]
	ToPath           assert.Opt[string]
}

GitRepositoryIncludeAssertion is the assertion struct for GitRepositoryInclude.

func (GitRepositoryIncludeAssertion) IsAssertable

func (_ GitRepositoryIncludeAssertion) IsAssertable()

IsAssertable marks GitRepositoryIncludeAssertion as an Assertable.

type GitRepositoryRefAssertion

type GitRepositoryRefAssertion struct {
	Branch assert.Opt[string]
	Tag    assert.Opt[string]
	SemVer assert.Opt[string]
	Name   assert.Opt[string]
	Commit assert.Opt[string]
}

GitRepositoryRefAssertion is the assertion struct for GitRepositoryRef.

func (GitRepositoryRefAssertion) IsAssertable

func (_ GitRepositoryRefAssertion) IsAssertable()

IsAssertable marks GitRepositoryRefAssertion as an Assertable.

type GitRepositorySpecAssertion

type GitRepositorySpecAssertion struct {
	URL                assert.Opt[string]
	SecretRef          assert.Opt[*meta.LocalObjectReference]
	Provider           assert.Opt[string]
	ServiceAccountName assert.Opt[string]
	Interval           assert.Opt[v1.Duration]
	Timeout            assert.Opt[*v1.Duration]
	Reference          GitRepositoryRefAssertion
	Verification       GitRepositoryVerificationAssertion
	ProxySecretRef     assert.Opt[*meta.LocalObjectReference]
	Ignore             assert.Opt[*string]
	Suspend            assert.Opt[bool]
	RecurseSubmodules  assert.Opt[bool]
	Include            assert.Opt[[]GitRepositoryIncludeAssertion]
	SparseCheckout     assert.Opt[[]string]
}

GitRepositorySpecAssertion is the assertion struct for GitRepositorySpec.

func (GitRepositorySpecAssertion) IsAssertable

func (_ GitRepositorySpecAssertion) IsAssertable()

IsAssertable marks GitRepositorySpecAssertion as an Assertable.

type GitRepositoryVerificationAssertion

type GitRepositoryVerificationAssertion struct {
	Mode      assert.Opt[v11.GitVerificationMode]
	SecretRef assert.Opt[meta.LocalObjectReference]
}

GitRepositoryVerificationAssertion is the assertion struct for GitRepositoryVerification.

func (GitRepositoryVerificationAssertion) IsAssertable

func (_ GitRepositoryVerificationAssertion) IsAssertable()

IsAssertable marks GitRepositoryVerificationAssertion as an Assertable.

type GroupVersionAssertion

type GroupVersionAssertion struct {
	Group   assert.Opt[string]
	Version assert.Opt[string]
}

GroupVersionAssertion is the assertion struct for GroupVersion.

func (GroupVersionAssertion) IsAssertable

func (_ GroupVersionAssertion) IsAssertable()

IsAssertable marks GroupVersionAssertion as an Assertable.

type HelmChartAssertion

type HelmChartAssertion struct {
	TypeMeta   assert.Opt[v1.TypeMeta]
	ObjectMeta assert.Opt[v1.ObjectMeta]
	Spec       HelmChartSpecAssertion
	Status     assert.Opt[v11.HelmChartStatus]
}

HelmChartAssertion is the assertion struct for HelmChart.

func (HelmChartAssertion) IsAssertable

func (_ HelmChartAssertion) IsAssertable()

IsAssertable marks HelmChartAssertion as an Assertable.

type HelmChartSpecAssertion

type HelmChartSpecAssertion struct {
	Chart                    assert.Opt[string]
	Version                  assert.Opt[string]
	SourceRef                LocalHelmChartSourceReferenceAssertion
	Interval                 assert.Opt[v1.Duration]
	ReconcileStrategy        assert.Opt[string]
	ValuesFiles              assert.Opt[[]string]
	IgnoreMissingValuesFiles assert.Opt[bool]
	Suspend                  assert.Opt[bool]
	Verify                   OCIRepositoryVerificationAssertion
}

HelmChartSpecAssertion is the assertion struct for HelmChartSpec.

func (HelmChartSpecAssertion) IsAssertable

func (_ HelmChartSpecAssertion) IsAssertable()

IsAssertable marks HelmChartSpecAssertion as an Assertable.

type HelmRepositoryAssertion

type HelmRepositoryAssertion struct {
	TypeMeta   assert.Opt[v1.TypeMeta]
	ObjectMeta assert.Opt[v1.ObjectMeta]
	Spec       HelmRepositorySpecAssertion
	Status     assert.Opt[v11.HelmRepositoryStatus]
}

HelmRepositoryAssertion is the assertion struct for HelmRepository.

func (HelmRepositoryAssertion) IsAssertable

func (_ HelmRepositoryAssertion) IsAssertable()

IsAssertable marks HelmRepositoryAssertion as an Assertable.

type HelmRepositorySpecAssertion

type HelmRepositorySpecAssertion struct {
	URL             assert.Opt[string]
	SecretRef       assert.Opt[*meta.LocalObjectReference]
	CertSecretRef   assert.Opt[*meta.LocalObjectReference]
	PassCredentials assert.Opt[bool]
	Interval        assert.Opt[v1.Duration]
	Insecure        assert.Opt[bool]
	Timeout         assert.Opt[*v1.Duration]
	Suspend         assert.Opt[bool]
	AccessFrom      assert.Opt[*acl.AccessFrom]
	Type            assert.Opt[string]
	Provider        assert.Opt[string]
}

HelmRepositorySpecAssertion is the assertion struct for HelmRepositorySpec.

func (HelmRepositorySpecAssertion) IsAssertable

func (_ HelmRepositorySpecAssertion) IsAssertable()

IsAssertable marks HelmRepositorySpecAssertion as an Assertable.

type LocalHelmChartSourceReferenceAssertion

type LocalHelmChartSourceReferenceAssertion struct {
	APIVersion assert.Opt[string]
	Kind       assert.Opt[string]
	Name       assert.Opt[string]
}

LocalHelmChartSourceReferenceAssertion is the assertion struct for LocalHelmChartSourceReference.

func (LocalHelmChartSourceReferenceAssertion) IsAssertable

func (_ LocalHelmChartSourceReferenceAssertion) IsAssertable()

IsAssertable marks LocalHelmChartSourceReferenceAssertion as an Assertable.

type OCILayerSelectorAssertion

type OCILayerSelectorAssertion struct {
	MediaType assert.Opt[string]
	Operation assert.Opt[string]
}

OCILayerSelectorAssertion is the assertion struct for OCILayerSelector.

func (OCILayerSelectorAssertion) IsAssertable

func (_ OCILayerSelectorAssertion) IsAssertable()

IsAssertable marks OCILayerSelectorAssertion as an Assertable.

type OCIRepositoryAssertion

type OCIRepositoryAssertion struct {
	TypeMeta   assert.Opt[v1.TypeMeta]
	ObjectMeta assert.Opt[v1.ObjectMeta]
	Spec       OCIRepositorySpecAssertion
	Status     assert.Opt[v11.OCIRepositoryStatus]
}

OCIRepositoryAssertion is the assertion struct for OCIRepository.

func (OCIRepositoryAssertion) IsAssertable

func (_ OCIRepositoryAssertion) IsAssertable()

IsAssertable marks OCIRepositoryAssertion as an Assertable.

type OCIRepositoryRefAssertion

type OCIRepositoryRefAssertion struct {
	Digest       assert.Opt[string]
	SemVer       assert.Opt[string]
	SemverFilter assert.Opt[string]
	Tag          assert.Opt[string]
}

OCIRepositoryRefAssertion is the assertion struct for OCIRepositoryRef.

func (OCIRepositoryRefAssertion) IsAssertable

func (_ OCIRepositoryRefAssertion) IsAssertable()

IsAssertable marks OCIRepositoryRefAssertion as an Assertable.

type OCIRepositorySpecAssertion

type OCIRepositorySpecAssertion struct {
	URL                assert.Opt[string]
	Reference          OCIRepositoryRefAssertion
	LayerSelector      OCILayerSelectorAssertion
	Provider           assert.Opt[string]
	SecretRef          assert.Opt[*meta.LocalObjectReference]
	Verify             OCIRepositoryVerificationAssertion
	ServiceAccountName assert.Opt[string]
	CertSecretRef      assert.Opt[*meta.LocalObjectReference]
	ProxySecretRef     assert.Opt[*meta.LocalObjectReference]
	Interval           assert.Opt[v1.Duration]
	Timeout            assert.Opt[*v1.Duration]
	Ignore             assert.Opt[*string]
	Insecure           assert.Opt[bool]
	Suspend            assert.Opt[bool]
}

OCIRepositorySpecAssertion is the assertion struct for OCIRepositorySpec.

func (OCIRepositorySpecAssertion) IsAssertable

func (_ OCIRepositorySpecAssertion) IsAssertable()

IsAssertable marks OCIRepositorySpecAssertion as an Assertable.

type OCIRepositoryVerificationAssertion

type OCIRepositoryVerificationAssertion struct {
	Provider          assert.Opt[string]
	SecretRef         assert.Opt[*meta.LocalObjectReference]
	MatchOIDCIdentity assert.Opt[[]OIDCIdentityMatchAssertion]
}

OCIRepositoryVerificationAssertion is the assertion struct for OCIRepositoryVerification.

func (OCIRepositoryVerificationAssertion) IsAssertable

func (_ OCIRepositoryVerificationAssertion) IsAssertable()

IsAssertable marks OCIRepositoryVerificationAssertion as an Assertable.

type OIDCIdentityMatchAssertion

type OIDCIdentityMatchAssertion struct {
	Issuer  assert.Opt[string]
	Subject assert.Opt[string]
}

OIDCIdentityMatchAssertion is the assertion struct for OIDCIdentityMatch.

func (OIDCIdentityMatchAssertion) IsAssertable

func (_ OIDCIdentityMatchAssertion) IsAssertable()

IsAssertable marks OIDCIdentityMatchAssertion as an Assertable.

Jump to

Keyboard shortcuts

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