v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the grafana v1 API group +kubebuilder:object:generate=true +groupName=grafana.abergmeier.github.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "grafana.abergmeier.github.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 GrafanaAdmin

type GrafanaAdmin struct {
	Username UsernameSpec `json:"username"`
	Password PasswordSpec `json:"password"`
}

func (*GrafanaAdmin) DeepCopy

func (in *GrafanaAdmin) DeepCopy() *GrafanaAdmin

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

func (*GrafanaAdmin) DeepCopyInto

func (in *GrafanaAdmin) DeepCopyInto(out *GrafanaAdmin)

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

type Organization

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

	Spec   OrganizationSpec   `json:"spec,omitempty"`
	Status OrganizationStatus `json:"status,omitempty"`
}

Organization is the Schema for the organizations API

func (*Organization) DeepCopy

func (in *Organization) DeepCopy() *Organization

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

func (*Organization) DeepCopyInto

func (in *Organization) DeepCopyInto(out *Organization)

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

func (*Organization) DeepCopyObject

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

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

type OrganizationList

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

OrganizationList contains a list of Organization

func (*OrganizationList) DeepCopy

func (in *OrganizationList) DeepCopy() *OrganizationList

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

func (*OrganizationList) DeepCopyInto

func (in *OrganizationList) DeepCopyInto(out *OrganizationList)

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

func (*OrganizationList) DeepCopyObject

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

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

type OrganizationSpec

type OrganizationSpec struct {
	Url   string             `json:"url"`
	Admin *GrafanaAdmin      `json:"admin,omitempty"`
	Users []OrganizationUser `json:"users,omitempty"`
}

OrganizationSpec defines the desired state of Organization

func (*OrganizationSpec) DeepCopy

func (in *OrganizationSpec) DeepCopy() *OrganizationSpec

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

func (*OrganizationSpec) DeepCopyInto

func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)

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

type OrganizationStatus

type OrganizationStatus struct {
}

OrganizationStatus defines the observed state of Organization

func (*OrganizationStatus) DeepCopy

func (in *OrganizationStatus) DeepCopy() *OrganizationStatus

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

func (*OrganizationStatus) DeepCopyInto

func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)

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

type OrganizationUser

type OrganizationUser struct {
	Email string `json:"email"`
	Role  string `json:"role"`
}

func (*OrganizationUser) DeepCopy

func (in *OrganizationUser) DeepCopy() *OrganizationUser

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

func (*OrganizationUser) DeepCopyInto

func (in *OrganizationUser) DeepCopyInto(out *OrganizationUser)

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

type PasswordSpec

type PasswordSpec struct {
	// Optional: Specifies a source the value should come from.
	// +optional
	ValueFrom *ValueSource `json:"valueFrom,omitempty"`
}

func (*PasswordSpec) DeepCopy

func (in *PasswordSpec) DeepCopy() *PasswordSpec

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

func (*PasswordSpec) DeepCopyInto

func (in *PasswordSpec) DeepCopyInto(out *PasswordSpec)

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

type User

type User struct {
	Name  string `json:"name,omitempty"`
	Login string `json:"login"`
	Email string `json:"email,omitempty"`
}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

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

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

type UserSpec

type UserSpec struct {
	Url   string        `json:"url"`
	Admin *GrafanaAdmin `json:"admin,omitempty"`
	Users []User        `json:"users,omitempty"`
}

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

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

type UserStatus struct {
}

UserStatus defines the observed state of User

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

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

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

type UsernameSpec

type UsernameSpec struct {
	// Optional: Specifies a source the value should come from.
	// +optional
	ValueFrom *ValueSource `json:"valueFrom,omitempty"`
}

func (*UsernameSpec) DeepCopy

func (in *UsernameSpec) DeepCopy() *UsernameSpec

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

func (*UsernameSpec) DeepCopyInto

func (in *UsernameSpec) DeepCopyInto(out *UsernameSpec)

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

type Users

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

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

Users is the Schema for the users API

func (*Users) DeepCopy

func (in *Users) DeepCopy() *Users

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

func (*Users) DeepCopyInto

func (in *Users) DeepCopyInto(out *Users)

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

func (*Users) DeepCopyObject

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

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

type UsersList

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

UsersList contains a list of User

func (*UsersList) DeepCopy

func (in *UsersList) DeepCopy() *UsersList

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

func (*UsersList) DeepCopyInto

func (in *UsersList) DeepCopyInto(out *UsersList)

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

func (*UsersList) DeepCopyObject

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

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

type ValueSource

type ValueSource struct {
	SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}

func (*ValueSource) DeepCopy

func (in *ValueSource) DeepCopy() *ValueSource

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

func (*ValueSource) DeepCopyInto

func (in *ValueSource) DeepCopyInto(out *ValueSource)

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