Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutatingWebhookConfigurationSet ¶ added in v0.1.16
type MutatingWebhookConfigurationSet interface {
// Get the set stored keys
Keys() sets.String
// List of resources stored in the set. Pass an optional filter function to filter on the list.
List(filterResource ...func(*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) bool) []*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration
// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
UnsortedList(filterResource ...func(*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) bool) []*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration
// Return the Set as a map of key to resource.
Map() map[string]*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration
// Insert a resource into the set.
Insert(mutatingWebhookConfiguration ...*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration)
// Compare the equality of the keys in two sets (not the resources themselves)
Equal(mutatingWebhookConfigurationSet MutatingWebhookConfigurationSet) bool
// Check if the set contains a key matching the resource (not the resource itself)
Has(mutatingWebhookConfiguration ezkube.ResourceId) bool
// Delete the key matching the resource
Delete(mutatingWebhookConfiguration ezkube.ResourceId)
// Return the union with the provided set
Union(set MutatingWebhookConfigurationSet) MutatingWebhookConfigurationSet
// Return the difference with the provided set
Difference(set MutatingWebhookConfigurationSet) MutatingWebhookConfigurationSet
// Return the intersection with the provided set
Intersection(set MutatingWebhookConfigurationSet) MutatingWebhookConfigurationSet
// Find the resource with the given ID
Find(id ezkube.ResourceId) (*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration, error)
// Get the length of the set
Length() int
// returns the generic implementation of the set
Generic() sksets.ResourceSet
// returns the delta between this and and another MutatingWebhookConfigurationSet
Delta(newSet MutatingWebhookConfigurationSet) sksets.ResourceDelta
// Create a deep copy of the current MutatingWebhookConfigurationSet
Clone() MutatingWebhookConfigurationSet
}
func NewMutatingWebhookConfigurationSet ¶ added in v0.1.16
func NewMutatingWebhookConfigurationSet(mutatingWebhookConfigurationList ...*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) MutatingWebhookConfigurationSet
func NewMutatingWebhookConfigurationSetFromList ¶ added in v0.1.16
func NewMutatingWebhookConfigurationSetFromList(mutatingWebhookConfigurationList *admissionregistration_k8s_io_v1.MutatingWebhookConfigurationList) MutatingWebhookConfigurationSet
type ValidatingWebhookConfigurationSet ¶
type ValidatingWebhookConfigurationSet interface {
// Get the set stored keys
Keys() sets.String
// List of resources stored in the set. Pass an optional filter function to filter on the list.
List(filterResource ...func(*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) bool) []*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration
// Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list.
UnsortedList(filterResource ...func(*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) bool) []*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration
// Return the Set as a map of key to resource.
Map() map[string]*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration
// Insert a resource into the set.
Insert(validatingWebhookConfiguration ...*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration)
// Compare the equality of the keys in two sets (not the resources themselves)
Equal(validatingWebhookConfigurationSet ValidatingWebhookConfigurationSet) bool
// Check if the set contains a key matching the resource (not the resource itself)
Has(validatingWebhookConfiguration ezkube.ResourceId) bool
// Delete the key matching the resource
Delete(validatingWebhookConfiguration ezkube.ResourceId)
// Return the union with the provided set
Union(set ValidatingWebhookConfigurationSet) ValidatingWebhookConfigurationSet
// Return the difference with the provided set
Difference(set ValidatingWebhookConfigurationSet) ValidatingWebhookConfigurationSet
// Return the intersection with the provided set
Intersection(set ValidatingWebhookConfigurationSet) ValidatingWebhookConfigurationSet
// Find the resource with the given ID
Find(id ezkube.ResourceId) (*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, error)
// Get the length of the set
Length() int
// returns the generic implementation of the set
Generic() sksets.ResourceSet
// returns the delta between this and and another ValidatingWebhookConfigurationSet
Delta(newSet ValidatingWebhookConfigurationSet) sksets.ResourceDelta
// Create a deep copy of the current ValidatingWebhookConfigurationSet
Clone() ValidatingWebhookConfigurationSet
}
func NewValidatingWebhookConfigurationSet ¶
func NewValidatingWebhookConfigurationSet(validatingWebhookConfigurationList ...*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) ValidatingWebhookConfigurationSet
func NewValidatingWebhookConfigurationSetFromList ¶
func NewValidatingWebhookConfigurationSetFromList(validatingWebhookConfigurationList *admissionregistration_k8s_io_v1.ValidatingWebhookConfigurationList) ValidatingWebhookConfigurationSet
Click to show internal directories.
Click to hide internal directories.