resourceclient

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBareCertificate added in v0.3.0

func GetBareCertificate(name, namespace string) cmapi.Certificate

GetBareCertificate returns a Certificate object with only ObjectMeta set.

func GetBareDNSRecord added in v0.3.0

func GetBareDNSRecord(name string) dnsvrecord1alpha1.CNAMERecord

GetBareDNSRecord returns a DNSRecord object with only ObjectMeta set.

func GetBareDomainMapping added in v0.3.0

func GetBareDomainMapping(name, namespace string) knativev1beta1.DomainMapping

GetBareDomainMapping returns a DomainMapping object with only ObjectMeta set.

func GetBareKSVC added in v0.3.0

func GetBareKSVC(name, namespace string) knativev1.Service

GetBareKSVC returns a KSVC object with only ObjectMeta set.

func GetBareNFSPVC added in v0.3.0

func GetBareNFSPVC(name, namespace string) nfspvcv1alpha1.NfsPvc

GetBareNFSPVC returns a NFSPVC object with only ObjectMeta set.

func GetBareSyslogNGFlow added in v0.3.0

func GetBareSyslogNGFlow(name, namespace string) loggingv1beta1.SyslogNGFlow

GetBareSyslogNGFlow returns a SyslogNGFlow object with only ObjectMeta set.

func GetBareSyslogNGOutput added in v0.3.0

func GetBareSyslogNGOutput(name, namespace string) loggingv1beta1.SyslogNGOutput

GetBareSyslogNGOutput returns a SyslogNGOutput object with only ObjectMeta set.

Types

type ResourceManagerClient

type ResourceManagerClient struct {
	Ctx       context.Context
	K8sclient client.Client
	Log       logr.Logger
}

func (ResourceManagerClient) CreateResource

func (r ResourceManagerClient) CreateResource(resource client.Object) error

CreateResource creates a resource.

func (ResourceManagerClient) DeleteResource

func (r ResourceManagerClient) DeleteResource(resource client.Object) error

DeleteResource deletes a resource.

func (ResourceManagerClient) UpdateResource

func (r ResourceManagerClient) UpdateResource(resource client.Object) error

UpdateResource updates a resource.

Jump to

Keyboard shortcuts

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