Documentation ¶
Index ¶
- func CheckResourceOperability(res client.Object, productName string) error
- func GetCABundle(serviceURL string) ([]byte, error)
- func GetHashMap[T any](objs []T) (map[uint32]T, sets.Set[uint32])
- func GetProductLabel(productName string) map[string]string
- func GetStructHash(req interface{}) uint32
- func IsBelongsToProduct(res client.Object, productName string) bool
- func IsLegal(res client.Object, productName string) (string, bool)
- func IsOwner(owner, object client.Object, scheme *runtime.Scheme) bool
- func RemoveOwner(owner, object client.Object, scheme *runtime.Scheme) error
- type EntryPoint
- type StringSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCABundle ¶ added in v0.4.0
func GetProductLabel ¶ added in v0.4.0
func GetStructHash ¶ added in v0.4.2
func GetStructHash(req interface{}) uint32
func IsBelongsToProduct ¶
IsBelongsToProduct check resouces is maintain by nautes
func IsLegal ¶
IsLegal used to check resources is availabel for reconcile. It will return two vars, pass or not and the reason if check is failed.
Types ¶
type EntryPoint ¶ added in v0.4.1
func GetEntryPointFromCluster ¶ added in v0.4.1
func (*EntryPoint) GetURL ¶ added in v0.4.1
func (e *EntryPoint) GetURL() string
type StringSet ¶ added in v0.4.1
func NewStringSet ¶ added in v0.4.1
func (StringSet) MarshalJSON ¶ added in v0.4.1
func (StringSet) MarshalYAML ¶ added in v0.4.1
func (*StringSet) UnmarshalJSON ¶ added in v0.4.1
func (*StringSet) UnmarshalYAML ¶ added in v0.4.1
Source Files ¶
Click to show internal directories.
Click to hide internal directories.