v1alpha1

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ImageRepositoryConditionArtifactAvailableBlank = diemetav1.ConditionBlank.Type(sourcev1alpha1.ImageRepositoryConditionArtifactAvailable)
	ImageRepositoryConditionImageResolvedBlank     = diemetav1.ConditionBlank.Type(sourcev1alpha1.ImageRepositoryConditionImageResolved)
	ImageRepositoryConditionReadyBlank             = diemetav1.ConditionBlank.Type(sourcev1alpha1.ImageRepositoryConditionReady)
)
View Source
var (
	MavenArtifactConditionAvailableBlank       = diemetav1.ConditionBlank.Type(sourcev1alpha1.MavenArtifactConditionArtifactAvailable)
	MavenArtifactConditionVersionResolvedBlank = diemetav1.ConditionBlank.Type(sourcev1alpha1.MavenArtifactConditionArtifactResolved)
	MavenArtifactConditionReadyBlank           = diemetav1.ConditionBlank.Type(sourcev1alpha1.MavenArtifactConditionReady)
)
View Source
var ArtifactBlank = (&ArtifactDie{}).DieFeed(sourcev1alpha1.Artifact{})
View Source
var ImageRepositoryBlank = (&ImageRepositoryDie{}).DieFeed(sourcev1alpha1.ImageRepository{})
View Source
var ImageRepositorySpecBlank = (&ImageRepositorySpecDie{}).DieFeed(sourcev1alpha1.ImageRepositorySpec{})
View Source
var ImageRepositoryStatusBlank = (&ImageRepositoryStatusDie{}).DieFeed(sourcev1alpha1.ImageRepositoryStatus{})
View Source
var MavenArtifactBlank = (&MavenArtifactDie{}).DieFeed(sourcev1alpha1.MavenArtifact{})
View Source
var MavenArtifactSpecBlank = (&MavenArtifactSpecDie{}).DieFeed(sourcev1alpha1.MavenArtifactSpec{})
View Source
var MavenArtifactStatusBlank = (&MavenArtifactStatusDie{}).DieFeed(sourcev1alpha1.MavenArtifactStatus{})
View Source
var MavenArtifactTypeBlank = (&MavenArtifactTypeDie{}).DieFeed(sourcev1alpha1.MavenArtifactType{})
View Source
var RepositoryBlank = (&RepositoryDie{}).DieFeed(sourcev1alpha1.Repository{})

Functions

This section is empty.

Types

type ArtifactDie

type ArtifactDie struct {
	// contains filtered or unexported fields
}

func (*ArtifactDie) Checksum

func (d *ArtifactDie) Checksum(v string) *ArtifactDie

Checksum is the SHA1 checksum of the artifact.

func (*ArtifactDie) DeepCopy

func (d *ArtifactDie) DeepCopy() *ArtifactDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ArtifactDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ArtifactDie) DieFeedJSON added in v0.8.0

func (d *ArtifactDie) DieFeedJSON(j []byte) *ArtifactDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ArtifactDie) DieFeedPtr

func (d *ArtifactDie) DieFeedPtr(r *sourcev1alpha1.Artifact) *ArtifactDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ArtifactDie) DieFeedRawExtension

func (d *ArtifactDie) DieFeedRawExtension(raw runtime.RawExtension) *ArtifactDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ArtifactDie) DieFeedYAML added in v0.8.0

func (d *ArtifactDie) DieFeedYAML(y []byte) *ArtifactDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ArtifactDie) DieFeedYAMLFile added in v0.8.0

func (d *ArtifactDie) DieFeedYAMLFile(name string) *ArtifactDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ArtifactDie) DieImmutable

func (d *ArtifactDie) DieImmutable(immutable bool) *ArtifactDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ArtifactDie) DieRelease

func (d *ArtifactDie) DieRelease() sourcev1alpha1.Artifact

DieRelease returns the resource managed by the die.

func (*ArtifactDie) DieReleaseJSON added in v0.8.0

func (d *ArtifactDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ArtifactDie) DieReleasePtr

func (d *ArtifactDie) DieReleasePtr() *sourcev1alpha1.Artifact

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ArtifactDie) DieReleaseRawExtension

func (d *ArtifactDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ArtifactDie) DieReleaseYAML added in v0.8.0

func (d *ArtifactDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ArtifactDie) DieStamp

func (d *ArtifactDie) DieStamp(fn func(r *sourcev1alpha1.Artifact)) *ArtifactDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ArtifactDie) DieStampAt added in v0.8.0

func (d *ArtifactDie) DieStampAt(jp string, fn interface{}) *ArtifactDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ArtifactDie) DieWith added in v0.8.1

func (d *ArtifactDie) DieWith(fns ...func(d *ArtifactDie)) *ArtifactDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ArtifactDie) LastUpdateTime

func (d *ArtifactDie) LastUpdateTime(v metav1.Time) *ArtifactDie

LastUpdateTime is the timestamp corresponding to the last update of this

artifact.

func (*ArtifactDie) Path

func (d *ArtifactDie) Path(v string) *ArtifactDie

Path is the relative file path of this artifact.

func (*ArtifactDie) Revision

func (d *ArtifactDie) Revision(v string) *ArtifactDie

Revision is a human readable identifier traceable in the origin source

system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm

chart version, etc.

func (*ArtifactDie) URL

func (d *ArtifactDie) URL(v string) *ArtifactDie

URL is the HTTP address of this artifact.

type ImageRepositoryDie

type ImageRepositoryDie struct {
	v1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ImageRepositoryDie) APIVersion

func (d *ImageRepositoryDie) APIVersion(v string) *ImageRepositoryDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*ImageRepositoryDie) DeepCopy

func (d *ImageRepositoryDie) DeepCopy() *ImageRepositoryDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ImageRepositoryDie) DeepCopyObject

func (d *ImageRepositoryDie) DeepCopyObject() runtime.Object

func (*ImageRepositoryDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ImageRepositoryDie) DieFeedJSON added in v0.8.0

func (d *ImageRepositoryDie) DieFeedJSON(j []byte) *ImageRepositoryDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ImageRepositoryDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ImageRepositoryDie) DieFeedRawExtension

func (d *ImageRepositoryDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageRepositoryDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ImageRepositoryDie) DieFeedYAML added in v0.8.0

func (d *ImageRepositoryDie) DieFeedYAML(y []byte) *ImageRepositoryDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ImageRepositoryDie) DieFeedYAMLFile added in v0.8.0

func (d *ImageRepositoryDie) DieFeedYAMLFile(name string) *ImageRepositoryDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ImageRepositoryDie) DieImmutable

func (d *ImageRepositoryDie) DieImmutable(immutable bool) *ImageRepositoryDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ImageRepositoryDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ImageRepositoryDie) DieReleaseJSON added in v0.8.0

func (d *ImageRepositoryDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ImageRepositoryDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ImageRepositoryDie) DieReleaseRawExtension

func (d *ImageRepositoryDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ImageRepositoryDie) DieReleaseUnstructured

func (d *ImageRepositoryDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*ImageRepositoryDie) DieReleaseYAML added in v0.8.0

func (d *ImageRepositoryDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ImageRepositoryDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ImageRepositoryDie) DieStampAt added in v0.8.0

func (d *ImageRepositoryDie) DieStampAt(jp string, fn interface{}) *ImageRepositoryDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ImageRepositoryDie) DieWith added in v0.8.1

func (d *ImageRepositoryDie) DieWith(fns ...func(d *ImageRepositoryDie)) *ImageRepositoryDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ImageRepositoryDie) GetObjectKind

func (d *ImageRepositoryDie) GetObjectKind() schema.ObjectKind

func (*ImageRepositoryDie) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (*ImageRepositoryDie) MarshalJSON

func (d *ImageRepositoryDie) MarshalJSON() ([]byte, error)

func (*ImageRepositoryDie) MetadataDie

func (d *ImageRepositoryDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *ImageRepositoryDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*ImageRepositoryDie) Spec

func (*ImageRepositoryDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*ImageRepositoryDie) Status

func (*ImageRepositoryDie) StatusDie

StatusDie stamps the resource's status field with a mutable die.

func (*ImageRepositoryDie) UnmarshalJSON

func (d *ImageRepositoryDie) UnmarshalJSON(b []byte) error

type ImageRepositorySpecDie

type ImageRepositorySpecDie struct {
	// contains filtered or unexported fields
}

func (*ImageRepositorySpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ImageRepositorySpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ImageRepositorySpecDie) DieFeedJSON added in v0.8.0

func (d *ImageRepositorySpecDie) DieFeedJSON(j []byte) *ImageRepositorySpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ImageRepositorySpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ImageRepositorySpecDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ImageRepositorySpecDie) DieFeedYAML added in v0.8.0

func (d *ImageRepositorySpecDie) DieFeedYAML(y []byte) *ImageRepositorySpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ImageRepositorySpecDie) DieFeedYAMLFile added in v0.8.0

func (d *ImageRepositorySpecDie) DieFeedYAMLFile(name string) *ImageRepositorySpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ImageRepositorySpecDie) DieImmutable

func (d *ImageRepositorySpecDie) DieImmutable(immutable bool) *ImageRepositorySpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ImageRepositorySpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ImageRepositorySpecDie) DieReleaseJSON added in v0.8.0

func (d *ImageRepositorySpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ImageRepositorySpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ImageRepositorySpecDie) DieReleaseRawExtension

func (d *ImageRepositorySpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ImageRepositorySpecDie) DieReleaseYAML added in v0.8.0

func (d *ImageRepositorySpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ImageRepositorySpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ImageRepositorySpecDie) DieStampAt added in v0.8.0

func (d *ImageRepositorySpecDie) DieStampAt(jp string, fn interface{}) *ImageRepositorySpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ImageRepositorySpecDie) DieWith added in v0.8.1

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ImageRepositorySpecDie) Image

Image is a reference to an image in a remote repository

func (*ImageRepositorySpecDie) ImagePullSecrets

ImagePullSecrets contains the names of the Kubernetes Secrets containing registry login

information to resolve image metadata.

func (*ImageRepositorySpecDie) Interval

The interval at which to check for repository updates.

func (*ImageRepositorySpecDie) ServiceAccountName

func (d *ImageRepositorySpecDie) ServiceAccountName(v string) *ImageRepositorySpecDie

ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate

the image pull if the service account has attached pull secrets. For more information:

https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account

type ImageRepositoryStatusDie

type ImageRepositoryStatusDie struct {
	// contains filtered or unexported fields
}

func (*ImageRepositoryStatusDie) Artifact

Artifact represents the output of the last successful repository sync.

func (*ImageRepositoryStatusDie) ArtifactDie

func (d *ImageRepositoryStatusDie) ArtifactDie(fn func(d *ArtifactDie)) *ImageRepositoryStatusDie

func (*ImageRepositoryStatusDie) ConditionsDie

func (d *ImageRepositoryStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ImageRepositoryStatusDie

func (*ImageRepositoryStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ImageRepositoryStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ImageRepositoryStatusDie) DieFeedJSON added in v0.8.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ImageRepositoryStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ImageRepositoryStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ImageRepositoryStatusDie) DieFeedYAML added in v0.8.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ImageRepositoryStatusDie) DieFeedYAMLFile added in v0.8.0

func (d *ImageRepositoryStatusDie) DieFeedYAMLFile(name string) *ImageRepositoryStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ImageRepositoryStatusDie) DieImmutable

func (d *ImageRepositoryStatusDie) DieImmutable(immutable bool) *ImageRepositoryStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ImageRepositoryStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ImageRepositoryStatusDie) DieReleaseJSON added in v0.8.0

func (d *ImageRepositoryStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ImageRepositoryStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ImageRepositoryStatusDie) DieReleaseRawExtension

func (d *ImageRepositoryStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ImageRepositoryStatusDie) DieReleaseYAML added in v0.8.0

func (d *ImageRepositoryStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ImageRepositoryStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ImageRepositoryStatusDie) DieStampAt added in v0.8.0

func (d *ImageRepositoryStatusDie) DieStampAt(jp string, fn interface{}) *ImageRepositoryStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ImageRepositoryStatusDie) DieWith added in v0.8.1

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ImageRepositoryStatusDie) ObservedGeneration

func (d *ImageRepositoryStatusDie) ObservedGeneration(v int64) *ImageRepositoryStatusDie

func (*ImageRepositoryStatusDie) Status

func (*ImageRepositoryStatusDie) URL

URL is the download link for the artifact output of the last repository

sync.

type MavenArtifactDie

type MavenArtifactDie struct {
	v1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*MavenArtifactDie) APIVersion

func (d *MavenArtifactDie) APIVersion(v string) *MavenArtifactDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*MavenArtifactDie) DeepCopy

func (d *MavenArtifactDie) DeepCopy() *MavenArtifactDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*MavenArtifactDie) DeepCopyObject

func (d *MavenArtifactDie) DeepCopyObject() runtime.Object

func (*MavenArtifactDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*MavenArtifactDie) DieFeedJSON added in v0.8.0

func (d *MavenArtifactDie) DieFeedJSON(j []byte) *MavenArtifactDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*MavenArtifactDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*MavenArtifactDie) DieFeedRawExtension

func (d *MavenArtifactDie) DieFeedRawExtension(raw runtime.RawExtension) *MavenArtifactDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*MavenArtifactDie) DieFeedYAML added in v0.8.0

func (d *MavenArtifactDie) DieFeedYAML(y []byte) *MavenArtifactDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*MavenArtifactDie) DieFeedYAMLFile added in v0.8.0

func (d *MavenArtifactDie) DieFeedYAMLFile(name string) *MavenArtifactDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*MavenArtifactDie) DieImmutable

func (d *MavenArtifactDie) DieImmutable(immutable bool) *MavenArtifactDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*MavenArtifactDie) DieRelease

DieRelease returns the resource managed by the die.

func (*MavenArtifactDie) DieReleaseJSON added in v0.8.0

func (d *MavenArtifactDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*MavenArtifactDie) DieReleasePtr

func (d *MavenArtifactDie) DieReleasePtr() *sourcev1alpha1.MavenArtifact

DieReleasePtr returns a pointer to the resource managed by the die.

func (*MavenArtifactDie) DieReleaseRawExtension

func (d *MavenArtifactDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*MavenArtifactDie) DieReleaseUnstructured

func (d *MavenArtifactDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*MavenArtifactDie) DieReleaseYAML added in v0.8.0

func (d *MavenArtifactDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*MavenArtifactDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*MavenArtifactDie) DieStampAt added in v0.8.0

func (d *MavenArtifactDie) DieStampAt(jp string, fn interface{}) *MavenArtifactDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*MavenArtifactDie) DieWith added in v0.8.1

func (d *MavenArtifactDie) DieWith(fns ...func(d *MavenArtifactDie)) *MavenArtifactDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*MavenArtifactDie) GetObjectKind

func (d *MavenArtifactDie) GetObjectKind() schema.ObjectKind

func (*MavenArtifactDie) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (*MavenArtifactDie) MarshalJSON

func (d *MavenArtifactDie) MarshalJSON() ([]byte, error)

func (*MavenArtifactDie) MetadataDie

func (d *MavenArtifactDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *MavenArtifactDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*MavenArtifactDie) Spec

func (*MavenArtifactDie) SpecDie

func (d *MavenArtifactDie) SpecDie(fn func(d *MavenArtifactSpecDie)) *MavenArtifactDie

SpecDie stamps the resource's spec field with a mutable die.

func (*MavenArtifactDie) Status

func (*MavenArtifactDie) StatusDie

func (d *MavenArtifactDie) StatusDie(fn func(d *MavenArtifactStatusDie)) *MavenArtifactDie

StatusDie stamps the resource's status field with a mutable die.

func (*MavenArtifactDie) UnmarshalJSON

func (d *MavenArtifactDie) UnmarshalJSON(b []byte) error

type MavenArtifactSpecDie

type MavenArtifactSpecDie struct {
	// contains filtered or unexported fields
}

func (*MavenArtifactSpecDie) Artifact

Maven Artifact defines meta Type

func (*MavenArtifactSpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*MavenArtifactSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*MavenArtifactSpecDie) DieFeedJSON added in v0.8.0

func (d *MavenArtifactSpecDie) DieFeedJSON(j []byte) *MavenArtifactSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*MavenArtifactSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*MavenArtifactSpecDie) DieFeedRawExtension

func (d *MavenArtifactSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *MavenArtifactSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*MavenArtifactSpecDie) DieFeedYAML added in v0.8.0

func (d *MavenArtifactSpecDie) DieFeedYAML(y []byte) *MavenArtifactSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*MavenArtifactSpecDie) DieFeedYAMLFile added in v0.8.0

func (d *MavenArtifactSpecDie) DieFeedYAMLFile(name string) *MavenArtifactSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*MavenArtifactSpecDie) DieImmutable

func (d *MavenArtifactSpecDie) DieImmutable(immutable bool) *MavenArtifactSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*MavenArtifactSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*MavenArtifactSpecDie) DieReleaseJSON added in v0.8.0

func (d *MavenArtifactSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*MavenArtifactSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*MavenArtifactSpecDie) DieReleaseRawExtension

func (d *MavenArtifactSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*MavenArtifactSpecDie) DieReleaseYAML added in v0.8.0

func (d *MavenArtifactSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*MavenArtifactSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*MavenArtifactSpecDie) DieStampAt added in v0.8.0

func (d *MavenArtifactSpecDie) DieStampAt(jp string, fn interface{}) *MavenArtifactSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*MavenArtifactSpecDie) DieWith added in v0.8.1

func (d *MavenArtifactSpecDie) DieWith(fns ...func(d *MavenArtifactSpecDie)) *MavenArtifactSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*MavenArtifactSpecDie) Interval

Interval at which to check the repository for updates.

func (*MavenArtifactSpecDie) MavenArtifactDie

func (d *MavenArtifactSpecDie) MavenArtifactDie(fn func(d *MavenArtifactTypeDie)) *MavenArtifactSpecDie

func (*MavenArtifactSpecDie) Repository

Repository defines the parameters for accessing a repository

func (*MavenArtifactSpecDie) RepositoryDie

func (d *MavenArtifactSpecDie) RepositoryDie(fn func(d *RepositoryDie)) *MavenArtifactSpecDie

func (*MavenArtifactSpecDie) Timeout

Timeout for artifact download operation.

Defaults to 'Interval' duration.

type MavenArtifactStatusDie

type MavenArtifactStatusDie struct {
	// contains filtered or unexported fields
}

func (*MavenArtifactStatusDie) Artifact

Artifact represents the output of the last successful repository sync.

func (*MavenArtifactStatusDie) ArtifactDie

func (d *MavenArtifactStatusDie) ArtifactDie(fn func(d *ArtifactDie)) *MavenArtifactStatusDie

func (*MavenArtifactStatusDie) ConditionsDie

func (d *MavenArtifactStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *MavenArtifactStatusDie

func (*MavenArtifactStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*MavenArtifactStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*MavenArtifactStatusDie) DieFeedJSON added in v0.8.0

func (d *MavenArtifactStatusDie) DieFeedJSON(j []byte) *MavenArtifactStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*MavenArtifactStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*MavenArtifactStatusDie) DieFeedRawExtension

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*MavenArtifactStatusDie) DieFeedYAML added in v0.8.0

func (d *MavenArtifactStatusDie) DieFeedYAML(y []byte) *MavenArtifactStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*MavenArtifactStatusDie) DieFeedYAMLFile added in v0.8.0

func (d *MavenArtifactStatusDie) DieFeedYAMLFile(name string) *MavenArtifactStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*MavenArtifactStatusDie) DieImmutable

func (d *MavenArtifactStatusDie) DieImmutable(immutable bool) *MavenArtifactStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*MavenArtifactStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*MavenArtifactStatusDie) DieReleaseJSON added in v0.8.0

func (d *MavenArtifactStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*MavenArtifactStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*MavenArtifactStatusDie) DieReleaseRawExtension

func (d *MavenArtifactStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*MavenArtifactStatusDie) DieReleaseYAML added in v0.8.0

func (d *MavenArtifactStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*MavenArtifactStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*MavenArtifactStatusDie) DieStampAt added in v0.8.0

func (d *MavenArtifactStatusDie) DieStampAt(jp string, fn interface{}) *MavenArtifactStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*MavenArtifactStatusDie) DieWith added in v0.8.1

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*MavenArtifactStatusDie) ObservedGeneration

func (d *MavenArtifactStatusDie) ObservedGeneration(v int64) *MavenArtifactStatusDie

func (*MavenArtifactStatusDie) Status

func (*MavenArtifactStatusDie) URL

URL is the download link for the artifact output of the last repository

sync.

type MavenArtifactTypeDie

type MavenArtifactTypeDie struct {
	// contains filtered or unexported fields
}

func (*MavenArtifactTypeDie) ArtifactId

Artifact identifier

func (*MavenArtifactTypeDie) Classifier

Classifier distinguishes artifacts that were built from the same POM but differed in content

func (*MavenArtifactTypeDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*MavenArtifactTypeDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*MavenArtifactTypeDie) DieFeedJSON added in v0.8.0

func (d *MavenArtifactTypeDie) DieFeedJSON(j []byte) *MavenArtifactTypeDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*MavenArtifactTypeDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*MavenArtifactTypeDie) DieFeedRawExtension

func (d *MavenArtifactTypeDie) DieFeedRawExtension(raw runtime.RawExtension) *MavenArtifactTypeDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*MavenArtifactTypeDie) DieFeedYAML added in v0.8.0

func (d *MavenArtifactTypeDie) DieFeedYAML(y []byte) *MavenArtifactTypeDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*MavenArtifactTypeDie) DieFeedYAMLFile added in v0.8.0

func (d *MavenArtifactTypeDie) DieFeedYAMLFile(name string) *MavenArtifactTypeDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*MavenArtifactTypeDie) DieImmutable

func (d *MavenArtifactTypeDie) DieImmutable(immutable bool) *MavenArtifactTypeDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*MavenArtifactTypeDie) DieRelease

DieRelease returns the resource managed by the die.

func (*MavenArtifactTypeDie) DieReleaseJSON added in v0.8.0

func (d *MavenArtifactTypeDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*MavenArtifactTypeDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*MavenArtifactTypeDie) DieReleaseRawExtension

func (d *MavenArtifactTypeDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*MavenArtifactTypeDie) DieReleaseYAML added in v0.8.0

func (d *MavenArtifactTypeDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*MavenArtifactTypeDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*MavenArtifactTypeDie) DieStampAt added in v0.8.0

func (d *MavenArtifactTypeDie) DieStampAt(jp string, fn interface{}) *MavenArtifactTypeDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*MavenArtifactTypeDie) DieWith added in v0.8.1

func (d *MavenArtifactTypeDie) DieWith(fns ...func(d *MavenArtifactTypeDie)) *MavenArtifactTypeDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*MavenArtifactTypeDie) GroupId

Artifact Group ID

func (*MavenArtifactTypeDie) Type

Package type (jar, war, pom), defaults to jar

func (*MavenArtifactTypeDie) Version

Artifact Version

The version element identifies the current version of the artifact.

Supported values: "0.1.2" (version) and "RELEASE"

Unsupported values: "LATEST", "SNAPSHOT" and Maven Version Ranges

https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html

type RepositoryDie

type RepositoryDie struct {
	// contains filtered or unexported fields
}

func (*RepositoryDie) DeepCopy

func (d *RepositoryDie) DeepCopy() *RepositoryDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*RepositoryDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*RepositoryDie) DieFeedJSON added in v0.8.0

func (d *RepositoryDie) DieFeedJSON(j []byte) *RepositoryDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*RepositoryDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*RepositoryDie) DieFeedRawExtension

func (d *RepositoryDie) DieFeedRawExtension(raw runtime.RawExtension) *RepositoryDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*RepositoryDie) DieFeedYAML added in v0.8.0

func (d *RepositoryDie) DieFeedYAML(y []byte) *RepositoryDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*RepositoryDie) DieFeedYAMLFile added in v0.8.0

func (d *RepositoryDie) DieFeedYAMLFile(name string) *RepositoryDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*RepositoryDie) DieImmutable

func (d *RepositoryDie) DieImmutable(immutable bool) *RepositoryDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*RepositoryDie) DieRelease

func (d *RepositoryDie) DieRelease() sourcev1alpha1.Repository

DieRelease returns the resource managed by the die.

func (*RepositoryDie) DieReleaseJSON added in v0.8.0

func (d *RepositoryDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*RepositoryDie) DieReleasePtr

func (d *RepositoryDie) DieReleasePtr() *sourcev1alpha1.Repository

DieReleasePtr returns a pointer to the resource managed by the die.

func (*RepositoryDie) DieReleaseRawExtension

func (d *RepositoryDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*RepositoryDie) DieReleaseYAML added in v0.8.0

func (d *RepositoryDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*RepositoryDie) DieStamp

func (d *RepositoryDie) DieStamp(fn func(r *sourcev1alpha1.Repository)) *RepositoryDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*RepositoryDie) DieStampAt added in v0.8.0

func (d *RepositoryDie) DieStampAt(jp string, fn interface{}) *RepositoryDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*RepositoryDie) DieWith added in v0.8.1

func (d *RepositoryDie) DieWith(fns ...func(d *RepositoryDie)) *RepositoryDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*RepositoryDie) SecretRef

SecretRef can be given the name of a secret containing

Authentication data.

For Basic Authentication use

- username: <BASE64>

password: <BASE64>

For mTLS authenticationa use

- certFile: <BASE64> a PEM-encoded client certificate

- keyFile: <BASE64> private key

For a Certificate Authority to trust while connecting use

- caFile: <BASE64> a PEM-encoded CA certificate

func (*RepositoryDie) URL

func (d *RepositoryDie) URL(v string) *RepositoryDie

URL is the HTTPS address of the repository. HTTP is not supported.

Jump to

Keyboard shortcuts

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