client

package
v0.0.0-...-d41c5fe Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Scheme         = runtime.NewScheme()
	ParameterCodec = runtime.NewParameterCodec(Scheme)
	Codecs         = serializer.NewCodecFactory(Scheme)
	AddToScheme    = localSchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Get(ctx context.Context, resourceName, kindName, namespace, name string, opts metav1.GetOptions, result runtime.Object) (runtime.Object, error)
	List(ctx context.Context, resourceName, kindName, namespace string, opts metav1.ListOptions, result runtime.Object) (runtime.Object, error)
	Create(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.CreateOptions, result runtime.Object) (runtime.Object, error)
	Update(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.UpdateOptions, result runtime.Object) (runtime.Object, error)
	UpdateStatus(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.UpdateOptions, result runtime.Object) (runtime.Object, error)
	Delete(ctx context.Context, gvr schema.GroupVersionResource, namespace, name string, opts metav1.DeleteOptions) error
	Watch(ctx context.Context, gvr schema.GroupVersionResource, namespace string, opts metav1.ListOptions) (watch.Interface, error)
}

type ConsulV1alpha1

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

func NewConsulV1alpha1Client

func NewConsulV1alpha1Client(b Backend) *ConsulV1alpha1

func (*ConsulV1alpha1) CreateConsulBackup

func (*ConsulV1alpha1) DeleteConsulBackup

func (c *ConsulV1alpha1) DeleteConsulBackup(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*ConsulV1alpha1) GetConsulBackup

func (c *ConsulV1alpha1) GetConsulBackup(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*consulv1alpha1.ConsulBackup, error)

func (*ConsulV1alpha1) ListConsulBackup

func (c *ConsulV1alpha1) ListConsulBackup(ctx context.Context, namespace string, opts metav1.ListOptions) (*consulv1alpha1.ConsulBackupList, error)

func (*ConsulV1alpha1) UpdateConsulBackup

func (*ConsulV1alpha1) UpdateStatusConsulBackup

func (*ConsulV1alpha1) WatchConsulBackup

func (c *ConsulV1alpha1) WatchConsulBackup(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

type ConsulV1alpha1ConsulBackupLister

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

func NewConsulV1alpha1ConsulBackupLister

func NewConsulV1alpha1ConsulBackupLister(indexer cache.Indexer) *ConsulV1alpha1ConsulBackupLister

func (*ConsulV1alpha1ConsulBackupLister) Get

func (*ConsulV1alpha1ConsulBackupLister) List

type ConsulV1alpha1Informer

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

func NewConsulV1alpha1Informer

func NewConsulV1alpha1Informer(c *InformerCache, client *ConsulV1alpha1, namespace string, resyncPeriod time.Duration) *ConsulV1alpha1Informer

func (*ConsulV1alpha1Informer) ConsulBackupInformer

func (f *ConsulV1alpha1Informer) ConsulBackupInformer() cache.SharedIndexInformer

func (*ConsulV1alpha1Informer) ConsulBackupLister

type GrafanaV1alpha1

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

func NewGrafanaV1alpha1Client

func NewGrafanaV1alpha1Client(b Backend) *GrafanaV1alpha1

func (*GrafanaV1alpha1) CreateGrafana

func (*GrafanaV1alpha1) CreateGrafanaUser

func (*GrafanaV1alpha1) DeleteGrafana

func (c *GrafanaV1alpha1) DeleteGrafana(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*GrafanaV1alpha1) DeleteGrafanaUser

func (c *GrafanaV1alpha1) DeleteGrafanaUser(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*GrafanaV1alpha1) GetGrafana

func (c *GrafanaV1alpha1) GetGrafana(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*grafanav1alpha1.Grafana, error)

func (*GrafanaV1alpha1) GetGrafanaUser

func (c *GrafanaV1alpha1) GetGrafanaUser(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*grafanav1alpha1.GrafanaUser, error)

func (*GrafanaV1alpha1) ListGrafana

func (c *GrafanaV1alpha1) ListGrafana(ctx context.Context, namespace string, opts metav1.ListOptions) (*grafanav1alpha1.GrafanaList, error)

func (*GrafanaV1alpha1) ListGrafanaUser

func (c *GrafanaV1alpha1) ListGrafanaUser(ctx context.Context, namespace string, opts metav1.ListOptions) (*grafanav1alpha1.GrafanaUserList, error)

func (*GrafanaV1alpha1) UpdateGrafana

func (*GrafanaV1alpha1) UpdateGrafanaUser

func (*GrafanaV1alpha1) UpdateStatusGrafana

func (*GrafanaV1alpha1) UpdateStatusGrafanaUser

func (*GrafanaV1alpha1) WatchGrafana

func (c *GrafanaV1alpha1) WatchGrafana(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*GrafanaV1alpha1) WatchGrafanaUser

func (c *GrafanaV1alpha1) WatchGrafanaUser(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

type GrafanaV1alpha1GrafanaLister

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

func NewGrafanaV1alpha1GrafanaLister

func NewGrafanaV1alpha1GrafanaLister(indexer cache.Indexer) *GrafanaV1alpha1GrafanaLister

func (*GrafanaV1alpha1GrafanaLister) Get

func (x *GrafanaV1alpha1GrafanaLister) Get(namespace, name string) (*grafanav1alpha1.Grafana, error)

func (*GrafanaV1alpha1GrafanaLister) List

func (x *GrafanaV1alpha1GrafanaLister) List(namespace string, selector labels.Selector) ([]*grafanav1alpha1.Grafana, error)

type GrafanaV1alpha1GrafanaUserLister

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

func NewGrafanaV1alpha1GrafanaUserLister

func NewGrafanaV1alpha1GrafanaUserLister(indexer cache.Indexer) *GrafanaV1alpha1GrafanaUserLister

func (*GrafanaV1alpha1GrafanaUserLister) Get

func (*GrafanaV1alpha1GrafanaUserLister) List

type GrafanaV1alpha1Informer

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

func NewGrafanaV1alpha1Informer

func NewGrafanaV1alpha1Informer(c *InformerCache, client *GrafanaV1alpha1, namespace string, resyncPeriod time.Duration) *GrafanaV1alpha1Informer

func (*GrafanaV1alpha1Informer) GrafanaInformer

func (f *GrafanaV1alpha1Informer) GrafanaInformer() cache.SharedIndexInformer

func (*GrafanaV1alpha1Informer) GrafanaLister

func (*GrafanaV1alpha1Informer) GrafanaUserInformer

func (f *GrafanaV1alpha1Informer) GrafanaUserInformer() cache.SharedIndexInformer

func (*GrafanaV1alpha1Informer) GrafanaUserLister

type HarborV1alpha1

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

func NewHarborV1alpha1Client

func NewHarborV1alpha1Client(b Backend) *HarborV1alpha1

func (*HarborV1alpha1) CreateHarborProject

func (*HarborV1alpha1) DeleteHarborProject

func (c *HarborV1alpha1) DeleteHarborProject(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*HarborV1alpha1) DeleteHarborRobotAccount

func (c *HarborV1alpha1) DeleteHarborRobotAccount(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*HarborV1alpha1) GetHarborProject

func (c *HarborV1alpha1) GetHarborProject(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*harborv1alpha1.HarborProject, error)

func (*HarborV1alpha1) GetHarborRobotAccount

func (c *HarborV1alpha1) GetHarborRobotAccount(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*harborv1alpha1.HarborRobotAccount, error)

func (*HarborV1alpha1) ListHarborProject

func (c *HarborV1alpha1) ListHarborProject(ctx context.Context, namespace string, opts metav1.ListOptions) (*harborv1alpha1.HarborProjectList, error)

func (*HarborV1alpha1) ListHarborRobotAccount

func (c *HarborV1alpha1) ListHarborRobotAccount(ctx context.Context, namespace string, opts metav1.ListOptions) (*harborv1alpha1.HarborRobotAccountList, error)

func (*HarborV1alpha1) UpdateHarborProject

func (*HarborV1alpha1) UpdateStatusHarborProject

func (*HarborV1alpha1) WatchHarborProject

func (c *HarborV1alpha1) WatchHarborProject(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*HarborV1alpha1) WatchHarborRobotAccount

func (c *HarborV1alpha1) WatchHarborRobotAccount(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

type HarborV1alpha1HarborProjectLister

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

func NewHarborV1alpha1HarborProjectLister

func NewHarborV1alpha1HarborProjectLister(indexer cache.Indexer) *HarborV1alpha1HarborProjectLister

func (*HarborV1alpha1HarborProjectLister) Get

func (*HarborV1alpha1HarborProjectLister) List

type HarborV1alpha1HarborRobotAccountLister

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

func NewHarborV1alpha1HarborRobotAccountLister

func NewHarborV1alpha1HarborRobotAccountLister(indexer cache.Indexer) *HarborV1alpha1HarborRobotAccountLister

func (*HarborV1alpha1HarborRobotAccountLister) Get

func (*HarborV1alpha1HarborRobotAccountLister) List

type HarborV1alpha1Informer

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

func NewHarborV1alpha1Informer

func NewHarborV1alpha1Informer(c *InformerCache, client *HarborV1alpha1, namespace string, resyncPeriod time.Duration) *HarborV1alpha1Informer

func (*HarborV1alpha1Informer) HarborProjectInformer

func (f *HarborV1alpha1Informer) HarborProjectInformer() cache.SharedIndexInformer

func (*HarborV1alpha1Informer) HarborProjectLister

func (*HarborV1alpha1Informer) HarborRobotAccountInformer

func (f *HarborV1alpha1Informer) HarborRobotAccountInformer() cache.SharedIndexInformer

func (*HarborV1alpha1Informer) HarborRobotAccountLister

func (f *HarborV1alpha1Informer) HarborRobotAccountLister() *HarborV1alpha1HarborRobotAccountLister

type InformerCache

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

func NewInformerCache

func NewInformerCache() *InformerCache

func (*InformerCache) Informers

func (c *InformerCache) Informers() []cache.SharedIndexInformer

func (*InformerCache) Write

type InformerFactory

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

func NewInformerFactory

func NewInformerFactory(s *Set, c *InformerCache, namespace string, resyncPeriod time.Duration) *InformerFactory

func (*InformerFactory) Cache

func (f *InformerFactory) Cache() *InformerCache

func (*InformerFactory) InformerFor

func (*InformerFactory) InformerForResource

func (*InformerFactory) Run

func (f *InformerFactory) Run(ctx context.Context)

type MinioV1alpha1

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

func NewMinioV1alpha1Client

func NewMinioV1alpha1Client(b Backend) *MinioV1alpha1

func (*MinioV1alpha1) CreateMinIOBucket

func (*MinioV1alpha1) CreateMinIOCluster

func (*MinioV1alpha1) CreateMinIOUser

func (*MinioV1alpha1) DeleteMinIOBucket

func (c *MinioV1alpha1) DeleteMinIOBucket(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*MinioV1alpha1) DeleteMinIOCluster

func (c *MinioV1alpha1) DeleteMinIOCluster(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*MinioV1alpha1) DeleteMinIOUser

func (c *MinioV1alpha1) DeleteMinIOUser(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*MinioV1alpha1) GetMinIOBucket

func (c *MinioV1alpha1) GetMinIOBucket(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*miniov1alpha1.MinIOBucket, error)

func (*MinioV1alpha1) GetMinIOCluster

func (c *MinioV1alpha1) GetMinIOCluster(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*miniov1alpha1.MinIOCluster, error)

func (*MinioV1alpha1) GetMinIOUser

func (c *MinioV1alpha1) GetMinIOUser(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*miniov1alpha1.MinIOUser, error)

func (*MinioV1alpha1) ListMinIOBucket

func (c *MinioV1alpha1) ListMinIOBucket(ctx context.Context, namespace string, opts metav1.ListOptions) (*miniov1alpha1.MinIOBucketList, error)

func (*MinioV1alpha1) ListMinIOCluster

func (c *MinioV1alpha1) ListMinIOCluster(ctx context.Context, namespace string, opts metav1.ListOptions) (*miniov1alpha1.MinIOClusterList, error)

func (*MinioV1alpha1) ListMinIOUser

func (c *MinioV1alpha1) ListMinIOUser(ctx context.Context, namespace string, opts metav1.ListOptions) (*miniov1alpha1.MinIOUserList, error)

func (*MinioV1alpha1) UpdateMinIOBucket

func (*MinioV1alpha1) UpdateMinIOCluster

func (*MinioV1alpha1) UpdateMinIOUser

func (*MinioV1alpha1) UpdateStatusMinIOBucket

func (*MinioV1alpha1) UpdateStatusMinIOCluster

func (*MinioV1alpha1) UpdateStatusMinIOUser

func (*MinioV1alpha1) WatchMinIOBucket

func (c *MinioV1alpha1) WatchMinIOBucket(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*MinioV1alpha1) WatchMinIOCluster

func (c *MinioV1alpha1) WatchMinIOCluster(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*MinioV1alpha1) WatchMinIOUser

func (c *MinioV1alpha1) WatchMinIOUser(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

type MinioV1alpha1Informer

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

func NewMinioV1alpha1Informer

func NewMinioV1alpha1Informer(c *InformerCache, client *MinioV1alpha1, namespace string, resyncPeriod time.Duration) *MinioV1alpha1Informer

func (*MinioV1alpha1Informer) MinIOBucketInformer

func (f *MinioV1alpha1Informer) MinIOBucketInformer() cache.SharedIndexInformer

func (*MinioV1alpha1Informer) MinIOBucketLister

func (f *MinioV1alpha1Informer) MinIOBucketLister() *MinioV1alpha1MinIOBucketLister

func (*MinioV1alpha1Informer) MinIOClusterInformer

func (f *MinioV1alpha1Informer) MinIOClusterInformer() cache.SharedIndexInformer

func (*MinioV1alpha1Informer) MinIOClusterLister

func (f *MinioV1alpha1Informer) MinIOClusterLister() *MinioV1alpha1MinIOClusterLister

func (*MinioV1alpha1Informer) MinIOUserInformer

func (f *MinioV1alpha1Informer) MinIOUserInformer() cache.SharedIndexInformer

func (*MinioV1alpha1Informer) MinIOUserLister

type MinioV1alpha1MinIOBucketLister

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

func NewMinioV1alpha1MinIOBucketLister

func NewMinioV1alpha1MinIOBucketLister(indexer cache.Indexer) *MinioV1alpha1MinIOBucketLister

func (*MinioV1alpha1MinIOBucketLister) Get

func (*MinioV1alpha1MinIOBucketLister) List

type MinioV1alpha1MinIOClusterLister

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

func NewMinioV1alpha1MinIOClusterLister

func NewMinioV1alpha1MinIOClusterLister(indexer cache.Indexer) *MinioV1alpha1MinIOClusterLister

func (*MinioV1alpha1MinIOClusterLister) Get

func (*MinioV1alpha1MinIOClusterLister) List

type MinioV1alpha1MinIOUserLister

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

func NewMinioV1alpha1MinIOUserLister

func NewMinioV1alpha1MinIOUserLister(indexer cache.Indexer) *MinioV1alpha1MinIOUserLister

func (*MinioV1alpha1MinIOUserLister) Get

func (x *MinioV1alpha1MinIOUserLister) Get(namespace, name string) (*miniov1alpha1.MinIOUser, error)

func (*MinioV1alpha1MinIOUserLister) List

func (x *MinioV1alpha1MinIOUserLister) List(namespace string, selector labels.Selector) ([]*miniov1alpha1.MinIOUser, error)

type MiniocontrollerV1beta1

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

func NewMiniocontrollerV1beta1Client

func NewMiniocontrollerV1beta1Client(b Backend) *MiniocontrollerV1beta1

func (*MiniocontrollerV1beta1) CreateMinIOInstance

func (*MiniocontrollerV1beta1) CreateMirror

func (*MiniocontrollerV1beta1) DeleteMinIOInstance

func (c *MiniocontrollerV1beta1) DeleteMinIOInstance(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*MiniocontrollerV1beta1) DeleteMirror

func (c *MiniocontrollerV1beta1) DeleteMirror(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*MiniocontrollerV1beta1) GetMinIOInstance

func (c *MiniocontrollerV1beta1) GetMinIOInstance(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*v1beta1.MinIOInstance, error)

func (*MiniocontrollerV1beta1) GetMirror

func (c *MiniocontrollerV1beta1) GetMirror(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*v1beta1.Mirror, error)

func (*MiniocontrollerV1beta1) ListMinIOInstance

func (c *MiniocontrollerV1beta1) ListMinIOInstance(ctx context.Context, namespace string, opts metav1.ListOptions) (*v1beta1.MinIOInstanceList, error)

func (*MiniocontrollerV1beta1) ListMirror

func (c *MiniocontrollerV1beta1) ListMirror(ctx context.Context, namespace string, opts metav1.ListOptions) (*v1beta1.MirrorList, error)

func (*MiniocontrollerV1beta1) UpdateMinIOInstance

func (*MiniocontrollerV1beta1) UpdateMirror

func (*MiniocontrollerV1beta1) WatchMinIOInstance

func (c *MiniocontrollerV1beta1) WatchMinIOInstance(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*MiniocontrollerV1beta1) WatchMirror

func (c *MiniocontrollerV1beta1) WatchMirror(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

type MiniocontrollerV1beta1Informer

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

func NewMiniocontrollerV1beta1Informer

func NewMiniocontrollerV1beta1Informer(c *InformerCache, client *MiniocontrollerV1beta1, namespace string, resyncPeriod time.Duration) *MiniocontrollerV1beta1Informer

func (*MiniocontrollerV1beta1Informer) MinIOInstanceInformer

func (f *MiniocontrollerV1beta1Informer) MinIOInstanceInformer() cache.SharedIndexInformer

func (*MiniocontrollerV1beta1Informer) MinIOInstanceLister

func (*MiniocontrollerV1beta1Informer) MirrorInformer

func (*MiniocontrollerV1beta1Informer) MirrorLister

type MiniocontrollerV1beta1MinIOInstanceLister

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

func NewMiniocontrollerV1beta1MinIOInstanceLister

func NewMiniocontrollerV1beta1MinIOInstanceLister(indexer cache.Indexer) *MiniocontrollerV1beta1MinIOInstanceLister

func (*MiniocontrollerV1beta1MinIOInstanceLister) Get

func (*MiniocontrollerV1beta1MinIOInstanceLister) List

type MiniocontrollerV1beta1MirrorLister

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

func NewMiniocontrollerV1beta1MirrorLister

func NewMiniocontrollerV1beta1MirrorLister(indexer cache.Indexer) *MiniocontrollerV1beta1MirrorLister

func (*MiniocontrollerV1beta1MirrorLister) Get

func (x *MiniocontrollerV1beta1MirrorLister) Get(namespace, name string) (*v1beta1.Mirror, error)

func (*MiniocontrollerV1beta1MirrorLister) List

func (x *MiniocontrollerV1beta1MirrorLister) List(namespace string, selector labels.Selector) ([]*v1beta1.Mirror, error)

type Set

type Set struct {
	ConsulV1alpha1         *ConsulV1alpha1
	GrafanaV1alpha1        *GrafanaV1alpha1
	HarborV1alpha1         *HarborV1alpha1
	MinioV1alpha1          *MinioV1alpha1
	MiniocontrollerV1beta1 *MiniocontrollerV1beta1
}

func NewSet

func NewSet(cfg *rest.Config) (*Set, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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