v1

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "appuio.io", Version: "v1"}

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

type CloudProvider struct {
	// Name identifies the cloud provider.
	Name string `json:"name,omitempty"`
	// Zones is cloud-provider-specific zone aliases within a Region.
	// If multiple entries are present, the cluster may be spanning multiple zones.
	Zones []string `json:"zones,omitempty"`
	// Region is the geographic location of the Zone.
	Region string `json:"region,omitempty"`
}

CloudProvider identifies an infrastructure provider.

func (*CloudProvider) DeepCopy

func (in *CloudProvider) DeepCopy() *CloudProvider

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

func (*CloudProvider) DeepCopyInto

func (in *CloudProvider) DeepCopyInto(out *CloudProvider)

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

type Features

type Features map[string]string

Features is a key-value dict with keys being a feature name and values being a property of that feature.

func (Features) DeepCopy

func (in Features) DeepCopy() Features

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

func (Features) DeepCopyInto

func (in Features) DeepCopyInto(out *Features)

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

type GroupRef added in v0.5.0

type GroupRef struct {
	ID string `json:"id,omitempty"`
}

GroupRef references the underlying group

func (*GroupRef) DeepCopy added in v0.5.0

func (in *GroupRef) DeepCopy() *GroupRef

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

func (*GroupRef) DeepCopyInto added in v0.5.0

func (in *GroupRef) DeepCopyInto(out *GroupRef)

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

type OrganizationMembers added in v0.3.0

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

	Spec   OrganizationMembersSpec   `json:"spec,omitempty"`
	Status OrganizationMembersStatus `json:"status,omitempty"`
}

OrganizationMembers is the collection of members of an organization

func (*OrganizationMembers) DeepCopy added in v0.3.0

func (in *OrganizationMembers) DeepCopy() *OrganizationMembers

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

func (*OrganizationMembers) DeepCopyInto added in v0.3.0

func (in *OrganizationMembers) DeepCopyInto(out *OrganizationMembers)

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

func (*OrganizationMembers) DeepCopyObject added in v0.3.0

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

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

type OrganizationMembersList added in v0.3.0

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

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

OrganizationMembersList contains a list of OrganizationMembers resources

func (*OrganizationMembersList) DeepCopy added in v0.3.0

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

func (*OrganizationMembersList) DeepCopyInto added in v0.3.0

func (in *OrganizationMembersList) DeepCopyInto(out *OrganizationMembersList)

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

func (*OrganizationMembersList) DeepCopyObject added in v0.3.0

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

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

type OrganizationMembersSpec added in v0.3.0

type OrganizationMembersSpec struct {
	UserRefs []UserRef `json:"userRefs,omitempty"`
}

OrganizationMembersSpec contains the desired members of the organization

func (*OrganizationMembersSpec) DeepCopy added in v0.3.0

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

func (*OrganizationMembersSpec) DeepCopyInto added in v0.3.0

func (in *OrganizationMembersSpec) DeepCopyInto(out *OrganizationMembersSpec)

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

type OrganizationMembersStatus added in v0.3.0

type OrganizationMembersStatus struct {
	ResolvedUserRefs []UserRef `json:"resolvedUserRefs,omitempty"`
}

OrganizationMembersStatus contains the actual members of the organization

func (*OrganizationMembersStatus) DeepCopy added in v0.3.0

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

func (*OrganizationMembersStatus) DeepCopyInto added in v0.3.0

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

type Team added in v0.5.0

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

	Spec   TeamSpec   `json:"spec,omitempty"`
	Status TeamStatus `json:"status,omitempty"`
}

Team is the collection of members of a team.

func (*Team) DeepCopy added in v0.5.0

func (in *Team) DeepCopy() *Team

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

func (*Team) DeepCopyInto added in v0.5.0

func (in *Team) DeepCopyInto(out *Team)

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

func (*Team) DeepCopyObject added in v0.5.0

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

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

type TeamList added in v0.5.0

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

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

TeamList contains a list of Team resources

func (*TeamList) DeepCopy added in v0.5.0

func (in *TeamList) DeepCopy() *TeamList

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

func (*TeamList) DeepCopyInto added in v0.5.0

func (in *TeamList) DeepCopyInto(out *TeamList)

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

func (*TeamList) DeepCopyObject added in v0.5.0

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

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

type TeamSpec added in v0.5.0

type TeamSpec struct {
	DisplayName string    `json:"displayName,omitempty"`
	UserRefs    []UserRef `json:"userRefs"`
}

TeamSpec contains the desired members of a team.

func (*TeamSpec) DeepCopy added in v0.5.0

func (in *TeamSpec) DeepCopy() *TeamSpec

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

func (*TeamSpec) DeepCopyInto added in v0.5.0

func (in *TeamSpec) DeepCopyInto(out *TeamSpec)

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

type TeamStatus added in v0.5.0

type TeamStatus struct {
	GroupRef GroupRef `json:"groupRef,omitempty"`

	ResolvedUserRefs []UserRef `json:"resolvedUserRefs,omitempty"`
}

TeamStatus contains the actual members of a team and a reference to the underlying group.

func (*TeamStatus) DeepCopy added in v0.5.0

func (in *TeamStatus) DeepCopy() *TeamStatus

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

func (*TeamStatus) DeepCopyInto added in v0.5.0

func (in *TeamStatus) DeepCopyInto(out *TeamStatus)

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

type URLMap

type URLMap map[string]string

URLMap is a key-value dict with keys being a name of the URL and the values publicly accessible links.

func (URLMap) DeepCopy

func (in URLMap) DeepCopy() URLMap

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

func (URLMap) DeepCopyInto

func (in URLMap) DeepCopyInto(out *URLMap)

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

func (URLMap) GetURL

func (in URLMap) GetURL(key string) (*url.URL, error)

GetURL invokes url.Parse for the raw string from given key, if found.

type UsageProfile added in v0.28.0

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

	Spec   UsageProfileSpec   `json:"spec,omitempty"`
	Status UsageProfileStatus `json:"status,omitempty"`
}

UsageProfile is a representation of an APPUiO Cloud usage profile

func (*UsageProfile) DeepCopy added in v0.28.0

func (in *UsageProfile) DeepCopy() *UsageProfile

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

func (*UsageProfile) DeepCopyInto added in v0.28.0

func (in *UsageProfile) DeepCopyInto(out *UsageProfile)

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

func (*UsageProfile) DeepCopyObject added in v0.28.0

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

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

type UsageProfileList added in v0.28.0

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

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

UsageProfileList contains a list of UsageProfiles.

func (*UsageProfileList) DeepCopy added in v0.28.0

func (in *UsageProfileList) DeepCopy() *UsageProfileList

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

func (*UsageProfileList) DeepCopyInto added in v0.28.0

func (in *UsageProfileList) DeepCopyInto(out *UsageProfileList)

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

func (*UsageProfileList) DeepCopyObject added in v0.28.0

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

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

type UsageProfileSpec added in v0.28.0

type UsageProfileSpec struct {
	// NamespaceCount is the number of namespaces an organization with this usage profile can create per zone.
	NamespaceCount int `json:"namespaceCount,omitempty"`
	// Resources is the set of resources which are created in each namespace for which the usage profile is applied.
	// The key is used as the name of the resource and the value is the resource definition.
	Resources map[string]runtime.RawExtension `json:"resources,omitempty"`
}

UsageProfileSpec contains the desired state of the usage profile

func (*UsageProfileSpec) DeepCopy added in v0.28.0

func (in *UsageProfileSpec) DeepCopy() *UsageProfileSpec

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

func (*UsageProfileSpec) DeepCopyInto added in v0.28.0

func (in *UsageProfileSpec) DeepCopyInto(out *UsageProfileSpec)

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

type UsageProfileStatus added in v0.28.0

type UsageProfileStatus struct {
}

UsageProfileStatus contains the actual state of the usage profile

func (*UsageProfileStatus) DeepCopy added in v0.28.0

func (in *UsageProfileStatus) DeepCopy() *UsageProfileStatus

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

func (*UsageProfileStatus) DeepCopyInto added in v0.28.0

func (in *UsageProfileStatus) DeepCopyInto(out *UsageProfileStatus)

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

type User added in v0.3.0

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

	Spec   UserSpec   `json:"spec,omitempty"`
	Status UserStatus `json:"status,omitempty"`
}

User is a representation of a APPUiO Cloud user

func (*User) DeepCopy added in v0.3.0

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto added in v0.3.0

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject added in v0.3.0

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

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

type UserList added in v0.3.0

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

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

UserList contains a list of Users.

func (*UserList) DeepCopy added in v0.3.0

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto added in v0.3.0

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject added in v0.3.0

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

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

type UserPreferences added in v0.3.0

type UserPreferences struct {
	DefaultOrganizationRef string `json:"defaultOrganizationRef,omitempty"`
}

UserPreferences contains the Preferences of the user

func (*UserPreferences) DeepCopy added in v0.3.0

func (in *UserPreferences) DeepCopy() *UserPreferences

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

func (*UserPreferences) DeepCopyInto added in v0.3.0

func (in *UserPreferences) DeepCopyInto(out *UserPreferences)

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

type UserRef added in v0.3.0

type UserRef struct {
	Name string `json:"name,omitempty"`
}

UserRef points to a user

func (*UserRef) DeepCopy added in v0.3.0

func (in *UserRef) DeepCopy() *UserRef

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

func (*UserRef) DeepCopyInto added in v0.3.0

func (in *UserRef) DeepCopyInto(out *UserRef)

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

type UserSpec added in v0.3.0

type UserSpec struct {
	Preferences UserPreferences `json:"preferences,omitempty"`
}

UserSpec contains the desired state of the user

func (*UserSpec) DeepCopy added in v0.3.0

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto added in v0.3.0

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus added in v0.3.0

type UserStatus struct {
	DefaultOrganizationRef string `json:"defaultOrganization,omitempty"`
	ID                     string `json:"id,omitempty"`
	DisplayName            string `json:"displayName,omitempty"`
	Username               string `json:"username,omitempty"`
	Email                  string `json:"email,omitempty"`
}

UserStatus contains the acutal state of the user

func (*UserStatus) DeepCopy added in v0.3.0

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto added in v0.3.0

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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

type Zone

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

	// Data holds the cluster specific metadata.
	Data ZoneData `json:"data,omitempty"`
}

Zone is the Schema for the Zone API

func (*Zone) DeepCopy

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) DeepCopyObject

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

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

type ZoneData

type ZoneData struct {
	// DisplayName is a human-friendly name for the Zone.
	DisplayName string `json:"displayName,omitempty"`
	// Features holds a key-value dict with keys being a feature name and values being a property of that feature.
	// Some features may hold a version string as property.
	Features Features `json:"features,omitempty"`
	// URLs holds a key-value dict with keys being a name of the URL and the values publicly accessible links.
	URLs URLMap `json:"urls,omitempty"`
	// CNAME is the DNS record where custom application DNS hostnames shall be pointing to when exposing an application.
	CNAME string `json:"cname,omitempty"`
	// DefaultAppDomain is the base DNS record where OpenShift Routes without specific hostnames are exposed.
	DefaultAppDomain string `json:"defaultAppDomain,omitempty"`
	// GatewayIPs holds the outgoing IP addresses of the cluster.
	GatewayIPs []string `json:"gatewayIPs,omitempty"`
	// CloudProvider identifies the infrastructure provider which the Zone is running on.
	CloudProvider CloudProvider `json:"cloudProvider,omitempty"`
}

ZoneData holds all the Zone specific properties

func (*ZoneData) DeepCopy

func (in *ZoneData) DeepCopy() *ZoneData

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

func (*ZoneData) DeepCopyInto

func (in *ZoneData) DeepCopyInto(out *ZoneData)

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

type ZoneList

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

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

ZoneList contains a list of Zone.

func (*ZoneList) DeepCopy

func (in *ZoneList) DeepCopy() *ZoneList

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

func (*ZoneList) DeepCopyInto

func (in *ZoneList) DeepCopyInto(out *ZoneList)

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

func (*ZoneList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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