v1beta1

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1beta1 contains API Schema definitions for the msi-acrpull v1beta1 API group +kubebuilder:object:generate=true +groupName=msi-acrpull.microsoft.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "msi-acrpull.microsoft.com", Version: "v1beta1"}

	// 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 AcrPullBinding

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

	Spec   AcrPullBindingSpec   `json:"spec,omitempty"`
	Status AcrPullBindingStatus `json:"status,omitempty"`
}

AcrPullBinding is the Schema for the acrpullbindings API

func (*AcrPullBinding) DeepCopy

func (in *AcrPullBinding) DeepCopy() *AcrPullBinding

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

func (*AcrPullBinding) DeepCopyInto

func (in *AcrPullBinding) DeepCopyInto(out *AcrPullBinding)

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

func (*AcrPullBinding) DeepCopyObject

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

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

type AcrPullBindingList

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

AcrPullBindingList contains a list of AcrPullBinding

func (*AcrPullBindingList) DeepCopy

func (in *AcrPullBindingList) DeepCopy() *AcrPullBindingList

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

func (*AcrPullBindingList) DeepCopyInto

func (in *AcrPullBindingList) DeepCopyInto(out *AcrPullBindingList)

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

func (*AcrPullBindingList) DeepCopyObject

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

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

type AcrPullBindingSpec

type AcrPullBindingSpec struct {

	// The full server name for the ACR. For example, test.azurecr.io
	AcrServer string `json:"acrServer"`

	// The registry scope which the pull token should have. For example, repository:my-repository:pull,push
	// See docs for details: https://distribution.github.io/distribution/spec/auth/scope/
	// +optional
	Scope string `json:"scope"`

	// The Managed Identity client ID that is used to authenticate with ACR (specify one of ClientID or ResourceID)
	// +optional
	ManagedIdentityClientID string `json:"managedIdentityClientID"`

	// The Managed Identity resource ID that is used to authenticate with ACR (if ClientID is specified, this is ignored)
	// +optional
	ManagedIdentityResourceID string `json:"managedIdentityResourceID"`

	// The Service Account to associate the image pull secret with. If this is not specified, the default Service Account
	// of the namespace will be used.
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
}

AcrPullBindingSpec defines the desired state of AcrPullBinding

func (*AcrPullBindingSpec) DeepCopy

func (in *AcrPullBindingSpec) DeepCopy() *AcrPullBindingSpec

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

func (*AcrPullBindingSpec) DeepCopyInto

func (in *AcrPullBindingSpec) DeepCopyInto(out *AcrPullBindingSpec)

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

type AcrPullBindingStatus

type AcrPullBindingStatus struct {

	// Information when was the last time the ACR token was refreshed.
	// +optional
	LastTokenRefreshTime *metav1.Time `json:"lastTokenRefreshTime,omitempty"`

	// The expiration date of the current ACR token.
	// +optional
	TokenExpirationTime *metav1.Time `json:"tokenExpirationTime,omitempty"`

	// Error message if there was an error updating the token.
	// +optional
	Error string `json:"error,omitempty"`
}

AcrPullBindingStatus defines the observed state of AcrPullBinding

func (*AcrPullBindingStatus) DeepCopy

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

func (*AcrPullBindingStatus) DeepCopyInto

func (in *AcrPullBindingStatus) DeepCopyInto(out *AcrPullBindingStatus)

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