v1alpha1

package
v0.0.0-...-91a9a81 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 52

Documentation

Overview

+groupName=applicationconnector.kyma-project.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "applicationconnector.kyma-project.io", Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ApplicationMapping

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

	Spec ApplicationMappingSpec `json:"spec"`
}

func (*ApplicationMapping) DeepCopy

func (in *ApplicationMapping) DeepCopy() *ApplicationMapping

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

func (*ApplicationMapping) DeepCopyInto

func (in *ApplicationMapping) DeepCopyInto(out *ApplicationMapping)

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

func (*ApplicationMapping) DeepCopyObject

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

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

func (*ApplicationMapping) GetObjectKind

func (in *ApplicationMapping) GetObjectKind() schema.ObjectKind

func (*ApplicationMapping) IsAllApplicationServicesEnabled

func (in *ApplicationMapping) IsAllApplicationServicesEnabled() bool

IsAllApplicationServicesEnabled returns true if the mapping enables whole Application. It means every existing and new service (added in the future) in the Application is enabled by the ApplicationMapping. The method returns true if the Spec.Services list is nil.

func (*ApplicationMapping) IsServiceEnabled

func (in *ApplicationMapping) IsServiceEnabled(id string) bool

IsServiceEnabled returns true if the service with given ID is enabled

type ApplicationMappingList

type ApplicationMappingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ApplicationMapping `json:"items"`
}

func (*ApplicationMappingList) DeepCopy

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

func (*ApplicationMappingList) DeepCopyInto

func (in *ApplicationMappingList) DeepCopyInto(out *ApplicationMappingList)

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

func (*ApplicationMappingList) DeepCopyObject

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

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

type ApplicationMappingService

type ApplicationMappingService struct {
	ID string `json:"id"`
}

func (*ApplicationMappingService) DeepCopy

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

func (*ApplicationMappingService) DeepCopyInto

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

type ApplicationMappingSpec

type ApplicationMappingSpec struct {
	Services []ApplicationMappingService `json:"services"`
}

func (*ApplicationMappingSpec) DeepCopy

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

func (*ApplicationMappingSpec) DeepCopyInto

func (in *ApplicationMappingSpec) DeepCopyInto(out *ApplicationMappingSpec)

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

type EventActivation

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

	Spec EventActivationSpec `json:"spec"`
}

func (*EventActivation) DeepCopy

func (in *EventActivation) DeepCopy() *EventActivation

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

func (*EventActivation) DeepCopyInto

func (in *EventActivation) DeepCopyInto(out *EventActivation)

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

func (*EventActivation) DeepCopyObject

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

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

func (*EventActivation) GetObjectKind

func (in *EventActivation) GetObjectKind() schema.ObjectKind

type EventActivationList

type EventActivationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []EventActivation `json:"items"`
}

func (*EventActivationList) DeepCopy

func (in *EventActivationList) DeepCopy() *EventActivationList

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

func (*EventActivationList) DeepCopyInto

func (in *EventActivationList) DeepCopyInto(out *EventActivationList)

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

func (*EventActivationList) DeepCopyObject

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

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

type EventActivationSpec

type EventActivationSpec struct {
	DisplayName string `json:"displayName"`
	SourceID    string `json:"sourceId"`
}

func (*EventActivationSpec) DeepCopy

func (in *EventActivationSpec) DeepCopy() *EventActivationSpec

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

func (*EventActivationSpec) DeepCopyInto

func (in *EventActivationSpec) DeepCopyInto(out *EventActivationSpec)

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