v1alpha1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=service.opsgenie.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "service.opsgenie.jet.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.

Functions

This section is empty.

Types

type Service

type Service struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceSpec   `json:"spec"`
	Status            ServiceStatus `json:"status,omitempty"`
}

Service is the Schema for the Services API +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,opsgeniejet}

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) GetObservation

func (tr *Service) GetObservation() (map[string]interface{}, error)

GetObservation of this Service

func (*Service) GetParameters

func (tr *Service) GetParameters() (map[string]interface{}, 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) SetObservation

func (tr *Service) SetObservation(obs map[string]interface{}) error

SetObservation for this Service

func (*Service) SetParameters

func (tr *Service) SetParameters(params map[string]interface{}) 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 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 {
	ID *string `json:"id,omitempty" tf:"id,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 {

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/ok-amba/provider-jet-opsgenie/apis/team/v1alpha1.Team
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// +kubebuilder:validation:Optional
	TeamIDRef *v1.Reference `json:"teamIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	TeamIDSelector *v1.Selector `json:"teamIdSelector,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"`
}

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.

Jump to

Keyboard shortcuts

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