Documentation
¶
Index ¶
- type APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) GetAPIVersion() *string
- func (b *APIIdentityApplyConfiguration) GetKind() *string
- func (b *APIIdentityApplyConfiguration) GetName() *string
- func (b *APIIdentityApplyConfiguration) GetNamespace() *string
- func (b APIIdentityApplyConfiguration) IsApplyConfiguration()
- func (b *APIIdentityApplyConfiguration) WithAPIVersion(value string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithAnnotations(entries map[string]string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithCreationTimestamp(value metav1.Time) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithFinalizers(values ...string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithGenerateName(value string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithGeneration(value int64) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithKind(value string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithLabels(entries map[string]string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithName(value string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithNamespace(value string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithResourceVersion(value string) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithStatus(value *APIIdentityStatusApplyConfiguration) *APIIdentityApplyConfiguration
- func (b *APIIdentityApplyConfiguration) WithUID(value types.UID) *APIIdentityApplyConfiguration
- type APIIdentityStatusApplyConfiguration
- func (b *APIIdentityStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *APIIdentityStatusApplyConfiguration
- func (b *APIIdentityStatusApplyConfiguration) WithCore(value bool) *APIIdentityStatusApplyConfiguration
- func (b *APIIdentityStatusApplyConfiguration) WithHolders(values ...*HolderApplyConfiguration) *APIIdentityStatusApplyConfiguration
- func (b *APIIdentityStatusApplyConfiguration) WithOwner(value *ExportReferenceApplyConfiguration) *APIIdentityStatusApplyConfiguration
- type ExportReferenceApplyConfiguration
- func (b *ExportReferenceApplyConfiguration) WithCluster(value string) *ExportReferenceApplyConfiguration
- func (b *ExportReferenceApplyConfiguration) WithName(value string) *ExportReferenceApplyConfiguration
- func (b *ExportReferenceApplyConfiguration) WithUID(value string) *ExportReferenceApplyConfiguration
- type HolderApplyConfiguration
- func (b *HolderApplyConfiguration) WithCluster(value string) *HolderApplyConfiguration
- func (b *HolderApplyConfiguration) WithName(value string) *HolderApplyConfiguration
- func (b *HolderApplyConfiguration) WithSince(value v1.Time) *HolderApplyConfiguration
- func (b *HolderApplyConfiguration) WithUID(value string) *HolderApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIIdentityApplyConfiguration ¶
type APIIdentityApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Status *APIIdentityStatusApplyConfiguration `json:"status,omitempty"`
}
APIIdentityApplyConfiguration represents a declarative configuration of the APIIdentity type for use with apply.
APIIdentity is the view of one API identity: which APIExport owns it and which other APIExports hold it. It is computed from the APIExports of the installation and not stored anywhere; there is one per identity, named after the identity value, served read-only through the Admin workspace.
func APIIdentity ¶
func APIIdentity(name string) *APIIdentityApplyConfiguration
APIIdentity constructs a declarative configuration of the APIIdentity type for use with apply.
func (*APIIdentityApplyConfiguration) GetAPIVersion ¶
func (b *APIIdentityApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*APIIdentityApplyConfiguration) GetKind ¶
func (b *APIIdentityApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*APIIdentityApplyConfiguration) GetName ¶
func (b *APIIdentityApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*APIIdentityApplyConfiguration) GetNamespace ¶
func (b *APIIdentityApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (APIIdentityApplyConfiguration) IsApplyConfiguration ¶
func (b APIIdentityApplyConfiguration) IsApplyConfiguration()
func (*APIIdentityApplyConfiguration) WithAPIVersion ¶
func (b *APIIdentityApplyConfiguration) WithAPIVersion(value string) *APIIdentityApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithAnnotations ¶
func (b *APIIdentityApplyConfiguration) WithAnnotations(entries map[string]string) *APIIdentityApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*APIIdentityApplyConfiguration) WithCreationTimestamp ¶
func (b *APIIdentityApplyConfiguration) WithCreationTimestamp(value metav1.Time) *APIIdentityApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *APIIdentityApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *APIIdentityApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithDeletionTimestamp ¶
func (b *APIIdentityApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *APIIdentityApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithFinalizers ¶
func (b *APIIdentityApplyConfiguration) WithFinalizers(values ...string) *APIIdentityApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*APIIdentityApplyConfiguration) WithGenerateName ¶
func (b *APIIdentityApplyConfiguration) WithGenerateName(value string) *APIIdentityApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithGeneration ¶
func (b *APIIdentityApplyConfiguration) WithGeneration(value int64) *APIIdentityApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithKind ¶
func (b *APIIdentityApplyConfiguration) WithKind(value string) *APIIdentityApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithLabels ¶
func (b *APIIdentityApplyConfiguration) WithLabels(entries map[string]string) *APIIdentityApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*APIIdentityApplyConfiguration) WithName ¶
func (b *APIIdentityApplyConfiguration) WithName(value string) *APIIdentityApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithNamespace ¶
func (b *APIIdentityApplyConfiguration) WithNamespace(value string) *APIIdentityApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithOwnerReferences ¶
func (b *APIIdentityApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *APIIdentityApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*APIIdentityApplyConfiguration) WithResourceVersion ¶
func (b *APIIdentityApplyConfiguration) WithResourceVersion(value string) *APIIdentityApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithStatus ¶
func (b *APIIdentityApplyConfiguration) WithStatus(value *APIIdentityStatusApplyConfiguration) *APIIdentityApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*APIIdentityApplyConfiguration) WithUID ¶
func (b *APIIdentityApplyConfiguration) WithUID(value types.UID) *APIIdentityApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type APIIdentityStatusApplyConfiguration ¶
type APIIdentityStatusApplyConfiguration struct {
// owner is the APIExport that holds the identity authoritatively: the
// oldest one holding it. When it is deleted the oldest holder succeeds
// it; an identity no APIExport holds any more has no entry.
Owner *ExportReferenceApplyConfiguration `json:"owner,omitempty"`
// holders lists the APIExports, other than the owner, that serve the
// identity: those whose identity secret carries the same key, oldest
// first.
Holders []HolderApplyConfiguration `json:"holders,omitempty"`
// core is true for the identities of the core APIExports in the root
// workspace, which every shard needs before it can serve.
Core *bool `json:"core,omitempty"`
// conditions is a list of conditions that apply to the identity.
Conditions *conditionsv1alpha1.Conditions `json:"conditions,omitempty"`
}
APIIdentityStatusApplyConfiguration represents a declarative configuration of the APIIdentityStatus type for use with apply.
APIIdentityStatus is the derived state of an identity. The object has no spec: nothing about it is user intent.
func APIIdentityStatus ¶
func APIIdentityStatus() *APIIdentityStatusApplyConfiguration
APIIdentityStatusApplyConfiguration constructs a declarative configuration of the APIIdentityStatus type for use with apply.
func (*APIIdentityStatusApplyConfiguration) WithConditions ¶
func (b *APIIdentityStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *APIIdentityStatusApplyConfiguration
WithConditions sets the Conditions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Conditions field is set to the value of the last call.
func (*APIIdentityStatusApplyConfiguration) WithCore ¶
func (b *APIIdentityStatusApplyConfiguration) WithCore(value bool) *APIIdentityStatusApplyConfiguration
WithCore sets the Core field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Core field is set to the value of the last call.
func (*APIIdentityStatusApplyConfiguration) WithHolders ¶
func (b *APIIdentityStatusApplyConfiguration) WithHolders(values ...*HolderApplyConfiguration) *APIIdentityStatusApplyConfiguration
WithHolders adds the given value to the Holders field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Holders field.
func (*APIIdentityStatusApplyConfiguration) WithOwner ¶
func (b *APIIdentityStatusApplyConfiguration) WithOwner(value *ExportReferenceApplyConfiguration) *APIIdentityStatusApplyConfiguration
WithOwner sets the Owner field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Owner field is set to the value of the last call.
type ExportReferenceApplyConfiguration ¶
type ExportReferenceApplyConfiguration struct {
// cluster is the logical cluster name hosting the APIExport.
Cluster *string `json:"cluster,omitempty"`
// name is the name of the APIExport.
Name *string `json:"name,omitempty"`
// uid is the UID of the APIExport, so that an export deleted and
// recreated under the same name can be told apart from the original.
UID *string `json:"uid,omitempty"`
}
ExportReferenceApplyConfiguration represents a declarative configuration of the ExportReference type for use with apply.
ExportReference identifies an APIExport across the installation.
func ExportReference ¶
func ExportReference() *ExportReferenceApplyConfiguration
ExportReferenceApplyConfiguration constructs a declarative configuration of the ExportReference type for use with apply.
func (*ExportReferenceApplyConfiguration) WithCluster ¶
func (b *ExportReferenceApplyConfiguration) WithCluster(value string) *ExportReferenceApplyConfiguration
WithCluster sets the Cluster field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cluster field is set to the value of the last call.
func (*ExportReferenceApplyConfiguration) WithName ¶
func (b *ExportReferenceApplyConfiguration) WithName(value string) *ExportReferenceApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ExportReferenceApplyConfiguration) WithUID ¶
func (b *ExportReferenceApplyConfiguration) WithUID(value string) *ExportReferenceApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type HolderApplyConfiguration ¶
type HolderApplyConfiguration struct {
ExportReferenceApplyConfiguration `json:""`
// since is when the holder was created.
Since *v1.Time `json:"since,omitempty"`
}
HolderApplyConfiguration represents a declarative configuration of the Holder type for use with apply.
Holder is an APIExport, other than the owner, that serves the identity.
func Holder ¶
func Holder() *HolderApplyConfiguration
HolderApplyConfiguration constructs a declarative configuration of the Holder type for use with apply.
func (*HolderApplyConfiguration) WithCluster ¶
func (b *HolderApplyConfiguration) WithCluster(value string) *HolderApplyConfiguration
WithCluster sets the Cluster field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cluster field is set to the value of the last call.
func (*HolderApplyConfiguration) WithName ¶
func (b *HolderApplyConfiguration) WithName(value string) *HolderApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*HolderApplyConfiguration) WithSince ¶
func (b *HolderApplyConfiguration) WithSince(value v1.Time) *HolderApplyConfiguration
WithSince sets the Since field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Since field is set to the value of the last call.
func (*HolderApplyConfiguration) WithUID ¶
func (b *HolderApplyConfiguration) WithUID(value string) *HolderApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.