k8scrds

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "diener.adviser.com"
View Source
const GroupVersion = "v1alpha1"
View Source
const S3BackendResource = "s3backends"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}

Functions

func NewS3BackendInformer added in v0.0.3

func NewS3BackendInformer(clientSet DienerV1Alpha1Interface, ns string, handler cache.ResourceEventHandler) (cache.Store, cache.Controller)

Types

type DienerV1Alpha1Client

type DienerV1Alpha1Client struct {
	// contains filtered or unexported fields
}

func (*DienerV1Alpha1Client) S3Backends

func (c *DienerV1Alpha1Client) S3Backends(namespace string) S3BackendInterface

type DienerV1Alpha1Interface

type DienerV1Alpha1Interface interface {
	S3Backends(namespace string) S3BackendInterface
}

func NewForConfig

func NewForConfig(ctx context.Context, c *rest.Config) (DienerV1Alpha1Interface, error)

type S3Backend

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

	Spec S3BackendSpec `json:"spec"`
}

func (*S3Backend) DeepCopyInto

func (in *S3Backend) DeepCopyInto(out *S3Backend)

DeepCopyInto copies all properties of this object into another object of the same type that is provided as a pointer.

func (*S3Backend) DeepCopyObject

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

DeepCopyObject returns a generically typed copy of an object

type S3BackendInterface

type S3BackendInterface interface {
	List(opts metav1.ListOptions) (*S3BackendList, error)
	Get(name string, options metav1.GetOptions) (*S3Backend, error)
	Create(*S3Backend) (*S3Backend, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
}

type S3BackendList

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

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

func (*S3BackendList) DeepCopyObject

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

DeepCopyObject returns a generically typed copy of an object

type S3BackendSpec

type S3BackendSpec struct {
	AccessKey       string  `json:"accessKey"`
	BucketName      string  `json:"bucketName"`
	Endpoint        *string `json:"endpoint,omitempty"`
	MaxAgeSeconds   int     `json:"maxAgeSeconds"`
	MaxObjectSize   int     `json:"maxObjectSize"`
	Region          *string `json:"region,omitempty"`
	SecretKey       string  `json:"secretKey"`
	TransferBufSize int     `json:"transferBufSize"`
}

Jump to

Keyboard shortcuts

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