v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=business.pagerduty.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "business.pagerduty.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Service_Kind             = "Service"
	Service_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Service_Kind}.String()
	Service_KindAPIVersion   = Service_Kind + "." + CRDGroupVersion.String()
	Service_GroupVersionKind = CRDGroupVersion.WithKind(Service_Kind)
)

Repository type metadata.

View Source
var (
	ServiceSubscriber_Kind             = "ServiceSubscriber"
	ServiceSubscriber_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServiceSubscriber_Kind}.String()
	ServiceSubscriber_KindAPIVersion   = ServiceSubscriber_Kind + "." + CRDGroupVersion.String()
	ServiceSubscriber_GroupVersionKind = CRDGroupVersion.WithKind(ServiceSubscriber_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Service

type Service struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter"
	Spec   ServiceSpec   `json:"spec"`
	Status ServiceStatus `json:"status,omitempty"`
}

Service is the Schema for the Services API. Creates and manages a business service in PagerDuty. +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:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,pagerduty}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

func (*Service) DeepCopyObject

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

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

func (*Service) GetCondition

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

GetCondition of this Service.

func (*Service) GetConnectionDetailsMapping

func (tr *Service) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Service

func (*Service) GetDeletionPolicy

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

GetDeletionPolicy of this Service.

func (*Service) GetID

func (tr *Service) GetID() string

GetID returns ID of underlying Terraform resource of this Service

func (*Service) GetInitParameters added in v0.5.0

func (tr *Service) GetInitParameters() (map[string]any, error)

GetInitParameters of this Service

func (*Service) GetManagementPolicies added in v0.5.0

func (mg *Service) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Service.

func (*Service) GetObservation

func (tr *Service) GetObservation() (map[string]any, error)

GetObservation of this Service

func (*Service) GetParameters

func (tr *Service) GetParameters() (map[string]any, error)

GetParameters of this Service

func (*Service) GetProviderConfigReference

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

GetProviderConfigReference of this Service.

func (*Service) GetProviderReference

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

GetProviderReference of this Service. Deprecated: Use GetProviderConfigReference.

func (*Service) GetPublishConnectionDetailsTo

func (mg *Service) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Service.

func (*Service) GetTerraformResourceType

func (mg *Service) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Service

func (*Service) GetTerraformSchemaVersion

func (tr *Service) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Service) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Service.

func (*Service) LateInitialize

func (tr *Service) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Service using its observed tfState. returns True if there are any spec changes for the resource.

func (*Service) ResolveReferences

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

ResolveReferences of this Service.

func (*Service) SetConditions

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

SetConditions of this Service.

func (*Service) SetDeletionPolicy

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

SetDeletionPolicy of this Service.

func (*Service) SetManagementPolicies added in v0.5.0

func (mg *Service) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Service.

func (*Service) SetObservation

func (tr *Service) SetObservation(obs map[string]any) error

SetObservation for this Service

func (*Service) SetParameters

func (tr *Service) SetParameters(params map[string]any) error

SetParameters for this Service

func (*Service) SetProviderConfigReference

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

SetProviderConfigReference of this Service.

func (*Service) SetProviderReference

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

SetProviderReference of this Service. Deprecated: Use SetProviderConfigReference.

func (*Service) SetPublishConnectionDetailsTo

func (mg *Service) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Service.

func (*Service) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Service.

type ServiceInitParameters added in v0.5.0

type ServiceInitParameters struct {

	// A human-friendly description of the service.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the business service.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The owner of the business service.
	PointOfContact *string `json:"pointOfContact,omitempty" tf:"point_of_contact,omitempty"`
}

func (*ServiceInitParameters) DeepCopy added in v0.5.0

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

func (*ServiceInitParameters) DeepCopyInto added in v0.5.0

func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters)

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

type ServiceList

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

ServiceList contains a list of Services

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

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

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

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

func (*ServiceList) DeepCopyObject

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

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

func (*ServiceList) GetItems

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

GetItems of this ServiceList.

type ServiceObservation

type ServiceObservation struct {

	// A human-friendly description of the service.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A URL at which the entity is uniquely displayed in the Web app.
	HTMLURL *string `json:"htmlUrl,omitempty" tf:"html_url,omitempty"`

	// The ID of the service.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the business service.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The owner of the business service.
	PointOfContact *string `json:"pointOfContact,omitempty" tf:"point_of_contact,omitempty"`

	// The API show URL at which the object is accessible.
	Self *string `json:"self,omitempty" tf:"self,omitempty"`

	// A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
	Summary *string `json:"summary,omitempty" tf:"summary,omitempty"`

	// ID of the team that owns the business service.
	Team *string `json:"team,omitempty" tf:"team,omitempty"`

	// Deprecated  Default (and only supported) value is business_service.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ServiceObservation) DeepCopy

func (in *ServiceObservation) DeepCopy() *ServiceObservation

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

func (*ServiceObservation) DeepCopyInto

func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation)

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

type ServiceParameters

type ServiceParameters struct {

	// A human-friendly description of the service.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the business service.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The owner of the business service.
	// +kubebuilder:validation:Optional
	PointOfContact *string `json:"pointOfContact,omitempty" tf:"point_of_contact,omitempty"`

	// ID of the team that owns the business service.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-pagerduty/apis/team/v1alpha1.Team
	// +kubebuilder:validation:Optional
	Team *string `json:"team,omitempty" tf:"team,omitempty"`

	// Reference to a Team in team to populate team.
	// +kubebuilder:validation:Optional
	TeamRef *v1.Reference `json:"teamRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate team.
	// +kubebuilder:validation:Optional
	TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"`
}

func (*ServiceParameters) DeepCopy

func (in *ServiceParameters) DeepCopy() *ServiceParameters

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

func (*ServiceParameters) DeepCopyInto

func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters)

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

type ServiceSpec

type ServiceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ServiceParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ServiceInitParameters `json:"initProvider,omitempty"`
}

ServiceSpec defines the desired state of Service

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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

type ServiceStatus

type ServiceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ServiceObservation `json:"atProvider,omitempty"`
}

ServiceStatus defines the observed state of Service.

func (*ServiceStatus) DeepCopy

func (in *ServiceStatus) DeepCopy() *ServiceStatus

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

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

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

type ServiceSubscriber

type ServiceSubscriber struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subscriberId) || has(self.initProvider.subscriberId)",message="subscriberId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subscriberType) || has(self.initProvider.subscriberType)",message="subscriberType is a required parameter"
	Spec   ServiceSubscriberSpec   `json:"spec"`
	Status ServiceSubscriberStatus `json:"status,omitempty"`
}

ServiceSubscriber is the Schema for the ServiceSubscribers API. Creates and manages a business service subscriber in PagerDuty. +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:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,pagerduty}

func (*ServiceSubscriber) DeepCopy

func (in *ServiceSubscriber) DeepCopy() *ServiceSubscriber

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

func (*ServiceSubscriber) DeepCopyInto

func (in *ServiceSubscriber) DeepCopyInto(out *ServiceSubscriber)

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

func (*ServiceSubscriber) DeepCopyObject

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

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

func (*ServiceSubscriber) GetCondition

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

GetCondition of this ServiceSubscriber.

func (*ServiceSubscriber) GetConnectionDetailsMapping

func (tr *ServiceSubscriber) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ServiceSubscriber

func (*ServiceSubscriber) GetDeletionPolicy

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

GetDeletionPolicy of this ServiceSubscriber.

func (*ServiceSubscriber) GetID

func (tr *ServiceSubscriber) GetID() string

GetID returns ID of underlying Terraform resource of this ServiceSubscriber

func (*ServiceSubscriber) GetInitParameters added in v0.5.0

func (tr *ServiceSubscriber) GetInitParameters() (map[string]any, error)

GetInitParameters of this ServiceSubscriber

func (*ServiceSubscriber) GetManagementPolicies added in v0.5.0

func (mg *ServiceSubscriber) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ServiceSubscriber.

func (*ServiceSubscriber) GetObservation

func (tr *ServiceSubscriber) GetObservation() (map[string]any, error)

GetObservation of this ServiceSubscriber

func (*ServiceSubscriber) GetParameters

func (tr *ServiceSubscriber) GetParameters() (map[string]any, error)

GetParameters of this ServiceSubscriber

func (*ServiceSubscriber) GetProviderConfigReference

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

GetProviderConfigReference of this ServiceSubscriber.

func (*ServiceSubscriber) GetProviderReference

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

GetProviderReference of this ServiceSubscriber. Deprecated: Use GetProviderConfigReference.

func (*ServiceSubscriber) GetPublishConnectionDetailsTo

func (mg *ServiceSubscriber) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ServiceSubscriber.

func (*ServiceSubscriber) GetTerraformResourceType

func (mg *ServiceSubscriber) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServiceSubscriber

func (*ServiceSubscriber) GetTerraformSchemaVersion

func (tr *ServiceSubscriber) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServiceSubscriber) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ServiceSubscriber.

func (*ServiceSubscriber) LateInitialize

func (tr *ServiceSubscriber) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ServiceSubscriber using its observed tfState. returns True if there are any spec changes for the resource.

func (*ServiceSubscriber) ResolveReferences

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

ResolveReferences of this ServiceSubscriber.

func (*ServiceSubscriber) SetConditions

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

SetConditions of this ServiceSubscriber.

func (*ServiceSubscriber) SetDeletionPolicy

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

SetDeletionPolicy of this ServiceSubscriber.

func (*ServiceSubscriber) SetManagementPolicies added in v0.5.0

func (mg *ServiceSubscriber) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ServiceSubscriber.

func (*ServiceSubscriber) SetObservation

func (tr *ServiceSubscriber) SetObservation(obs map[string]any) error

SetObservation for this ServiceSubscriber

func (*ServiceSubscriber) SetParameters

func (tr *ServiceSubscriber) SetParameters(params map[string]any) error

SetParameters for this ServiceSubscriber

func (*ServiceSubscriber) SetProviderConfigReference

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

SetProviderConfigReference of this ServiceSubscriber.

func (*ServiceSubscriber) SetProviderReference

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

SetProviderReference of this ServiceSubscriber. Deprecated: Use SetProviderConfigReference.

func (*ServiceSubscriber) SetPublishConnectionDetailsTo

func (mg *ServiceSubscriber) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ServiceSubscriber.

func (*ServiceSubscriber) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ServiceSubscriber.

type ServiceSubscriberInitParameters added in v0.5.0

type ServiceSubscriberInitParameters struct {

	// The ID of the subscriber entity.
	SubscriberID *string `json:"subscriberId,omitempty" tf:"subscriber_id,omitempty"`

	// Type of subscriber entity in the subscriber assignment. Possible values can be user and team.
	SubscriberType *string `json:"subscriberType,omitempty" tf:"subscriber_type,omitempty"`
}

func (*ServiceSubscriberInitParameters) DeepCopy added in v0.5.0

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

func (*ServiceSubscriberInitParameters) DeepCopyInto added in v0.5.0

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

type ServiceSubscriberList

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

ServiceSubscriberList contains a list of ServiceSubscribers

func (*ServiceSubscriberList) DeepCopy

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

func (*ServiceSubscriberList) DeepCopyInto

func (in *ServiceSubscriberList) DeepCopyInto(out *ServiceSubscriberList)

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

func (*ServiceSubscriberList) DeepCopyObject

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

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

func (*ServiceSubscriberList) GetItems

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

GetItems of this ServiceSubscriberList.

type ServiceSubscriberObservation

type ServiceSubscriberObservation struct {

	// The ID of the business service to subscribe to.
	BusinessServiceID *string `json:"businessServiceId,omitempty" tf:"business_service_id,omitempty"`

	// The ID of the business service subscriber assignment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID of the subscriber entity.
	SubscriberID *string `json:"subscriberId,omitempty" tf:"subscriber_id,omitempty"`

	// Type of subscriber entity in the subscriber assignment. Possible values can be user and team.
	SubscriberType *string `json:"subscriberType,omitempty" tf:"subscriber_type,omitempty"`
}

func (*ServiceSubscriberObservation) DeepCopy

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

func (*ServiceSubscriberObservation) DeepCopyInto

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

type ServiceSubscriberParameters

type ServiceSubscriberParameters struct {

	// The ID of the business service to subscribe to.
	// +crossplane:generate:reference:type=Service
	// +kubebuilder:validation:Optional
	BusinessServiceID *string `json:"businessServiceId,omitempty" tf:"business_service_id,omitempty"`

	// Reference to a Service to populate businessServiceId.
	// +kubebuilder:validation:Optional
	BusinessServiceIDRef *v1.Reference `json:"businessServiceIdRef,omitempty" tf:"-"`

	// Selector for a Service to populate businessServiceId.
	// +kubebuilder:validation:Optional
	BusinessServiceIDSelector *v1.Selector `json:"businessServiceIdSelector,omitempty" tf:"-"`

	// The ID of the subscriber entity.
	// +kubebuilder:validation:Optional
	SubscriberID *string `json:"subscriberId,omitempty" tf:"subscriber_id,omitempty"`

	// Type of subscriber entity in the subscriber assignment. Possible values can be user and team.
	// +kubebuilder:validation:Optional
	SubscriberType *string `json:"subscriberType,omitempty" tf:"subscriber_type,omitempty"`
}

func (*ServiceSubscriberParameters) DeepCopy

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

func (*ServiceSubscriberParameters) DeepCopyInto

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

type ServiceSubscriberSpec

type ServiceSubscriberSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ServiceSubscriberParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ServiceSubscriberInitParameters `json:"initProvider,omitempty"`
}

ServiceSubscriberSpec defines the desired state of ServiceSubscriber

func (*ServiceSubscriberSpec) DeepCopy

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

func (*ServiceSubscriberSpec) DeepCopyInto

func (in *ServiceSubscriberSpec) DeepCopyInto(out *ServiceSubscriberSpec)

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

type ServiceSubscriberStatus

type ServiceSubscriberStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ServiceSubscriberObservation `json:"atProvider,omitempty"`
}

ServiceSubscriberStatus defines the observed state of ServiceSubscriber.

func (*ServiceSubscriberStatus) DeepCopy

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

func (*ServiceSubscriberStatus) DeepCopyInto

func (in *ServiceSubscriberStatus) DeepCopyInto(out *ServiceSubscriberStatus)

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