v1

package
v0.0.0-...-9cd3684 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the github v1 API group +kubebuilder:object:generate=true +groupName=bitwarden.provider.matteogastaldello.provider +versionName=v1

Index

Constants

View Source
const (
	Group   = "bitwarden.provider.matteogastaldello.provider"
	Version = "v1"
)

Package type metadata.

Variables

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	BitwardenSecretKind             = reflect.TypeOf(BitwardenSecret{}).Name()
	BitwardenSecretGroupKind        = schema.GroupKind{Group: Group, Kind: BitwardenSecretKind}.String()
	BitwardenSecretAPIVersion       = BitwardenSecretKind + "." + SchemeGroupVersion.String()
	BitwardenSecretGroupVersionKind = SchemeGroupVersion.WithKind(BitwardenSecretKind)
)

Functions

This section is empty.

Types

type BitwardenSecret

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

	Spec   BitwardenSecretSpec   `json:"spec,omitempty"`
	Status BitwardenSecretStatus `json:"status,omitempty"`
}

BitwardenSecret is the Schema for the bitwardensecrets API

func (*BitwardenSecret) DeepCopy

func (in *BitwardenSecret) DeepCopy() *BitwardenSecret

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

func (*BitwardenSecret) DeepCopyInto

func (in *BitwardenSecret) DeepCopyInto(out *BitwardenSecret)

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

func (*BitwardenSecret) DeepCopyObject

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

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

func (*BitwardenSecret) GetCondition

func (mg *BitwardenSecret) GetCondition(ct rtv1.ConditionType) rtv1.Condition

GetCondition of this GitRepository.

func (*BitwardenSecret) GetDeletionPolicy

func (mg *BitwardenSecret) GetDeletionPolicy() rtv1.DeletionPolicy

GetDeletionPolicy of this GitRepository.

func (*BitwardenSecret) SetConditions

func (mg *BitwardenSecret) SetConditions(c ...rtv1.Condition)

SetConditions of this GitRepository.

func (*BitwardenSecret) SetDeletionPolicy

func (mg *BitwardenSecret) SetDeletionPolicy(r rtv1.DeletionPolicy)

SetDeletionPolicy of this GitRepository.

type BitwardenSecretList

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

BitwardenSecretList contains a list of BitwardenSecret

func (*BitwardenSecretList) DeepCopy

func (in *BitwardenSecretList) DeepCopy() *BitwardenSecretList

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

func (*BitwardenSecretList) DeepCopyInto

func (in *BitwardenSecretList) DeepCopyInto(out *BitwardenSecretList)

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

func (*BitwardenSecretList) DeepCopyObject

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

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

func (*BitwardenSecretList) GetItems

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

GetItems of this GitRepository.

type BitwardenSecretSpec

type BitwardenSecretSpec struct {
	rtv1.ManagedSpec `json:",inline"`

	ConnectorConfigRef *rtv1.Reference `json:"connectorConfigRef,omitempty"`
	Secret             `json:"secret"`
}

BitwardenSecretSpec defines the desired state of BitwardenSecret

func (*BitwardenSecretSpec) DeepCopy

func (in *BitwardenSecretSpec) DeepCopy() *BitwardenSecretSpec

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

func (*BitwardenSecretSpec) DeepCopyInto

func (in *BitwardenSecretSpec) DeepCopyInto(out *BitwardenSecretSpec)

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

type BitwardenSecretStatus

type BitwardenSecretStatus struct {
	rtv1.ManagedStatus `json:",inline"`

	SecretId string `json:"bitwardenId,omitempty"`
}

BitwardenSecretStatus defines the observed state of BitwardenSecret

func (*BitwardenSecretStatus) DeepCopy

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

func (*BitwardenSecretStatus) DeepCopyInto

func (in *BitwardenSecretStatus) DeepCopyInto(out *BitwardenSecretStatus)

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

type Field

type Field struct {
	Name  string `json:"name"`
	Value string `json:"value"`
	Type  int    `json:"type"`
}

func (*Field) DeepCopy

func (in *Field) DeepCopy() *Field

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

func (*Field) DeepCopyInto

func (in *Field) DeepCopyInto(out *Field)

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

type Login

type Login struct {
	// +optional
	Uris     []URI  `json:"uris"`
	Username string `json:"username"`
	Password string `json:"password"`
	// +optional
	Totp string `json:"totp"`
}

func (*Login) DeepCopy

func (in *Login) DeepCopy() *Login

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

func (*Login) DeepCopyInto

func (in *Login) DeepCopyInto(out *Login)

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

type Secret

type Secret struct {
	// +optional
	OrganizationID string `json:"organizationid"`
	// +optional
	CollectionIDs string `json:"collectionids"`
	// +optional
	FolderID *string `json:"folderid"`
	Type     int     `json:"type"`
	// +optional
	Name string `json:"name"`
	// +optional
	Id string `json:"id"`
	// +optional
	Notes *string `json:"notes"`
	// +optional
	Favorite bool `json:"favorite"`
	// +optional
	Fields []Field `json:"fields"`
	Login  Login   `json:"login"`
	// +optional
	Reprompt int `json:"reprompt"`
}

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

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

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

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

type URI

type URI struct {
	Match int    `json:"match"`
	URI   string `json:"uri"`
}

func (*URI) DeepCopy

func (in *URI) DeepCopy() *URI

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

func (*URI) DeepCopyInto

func (in *URI) DeepCopyInto(out *URI)

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