Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardSet ¶ added in v1.1.0
type DashboardSet 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(*settings_mesh_gloo_solo_io_v1.Dashboard) bool) []*settings_mesh_gloo_solo_io_v1.Dashboard // Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list. UnsortedList(filterResource ...func(*settings_mesh_gloo_solo_io_v1.Dashboard) bool) []*settings_mesh_gloo_solo_io_v1.Dashboard // Return the Set as a map of key to resource. Map() map[string]*settings_mesh_gloo_solo_io_v1.Dashboard // Insert a resource into the set. Insert(dashboard ...*settings_mesh_gloo_solo_io_v1.Dashboard) // Compare the equality of the keys in two sets (not the resources themselves) Equal(dashboardSet DashboardSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(dashboard ezkube.ResourceId) bool // Delete the key matching the resource Delete(dashboard ezkube.ResourceId) // Return the union with the provided set Union(set DashboardSet) DashboardSet // Return the difference with the provided set Difference(set DashboardSet) DashboardSet // Return the intersection with the provided set Intersection(set DashboardSet) DashboardSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*settings_mesh_gloo_solo_io_v1.Dashboard, 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 DashboardSet Delta(newSet DashboardSet) sksets.ResourceDelta // Create a deep copy of the current DashboardSet Clone() DashboardSet }
func NewDashboardSet ¶ added in v1.1.0
func NewDashboardSet(dashboardList ...*settings_mesh_gloo_solo_io_v1.Dashboard) DashboardSet
func NewDashboardSetFromList ¶ added in v1.1.0
func NewDashboardSetFromList(dashboardList *settings_mesh_gloo_solo_io_v1.DashboardList) DashboardSet
type SettingsSet ¶
type SettingsSet 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(*settings_mesh_gloo_solo_io_v1.Settings) bool) []*settings_mesh_gloo_solo_io_v1.Settings // Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list. UnsortedList(filterResource ...func(*settings_mesh_gloo_solo_io_v1.Settings) bool) []*settings_mesh_gloo_solo_io_v1.Settings // Return the Set as a map of key to resource. Map() map[string]*settings_mesh_gloo_solo_io_v1.Settings // Insert a resource into the set. Insert(settings ...*settings_mesh_gloo_solo_io_v1.Settings) // Compare the equality of the keys in two sets (not the resources themselves) Equal(settingsSet SettingsSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(settings ezkube.ResourceId) bool // Delete the key matching the resource Delete(settings ezkube.ResourceId) // Return the union with the provided set Union(set SettingsSet) SettingsSet // Return the difference with the provided set Difference(set SettingsSet) SettingsSet // Return the intersection with the provided set Intersection(set SettingsSet) SettingsSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*settings_mesh_gloo_solo_io_v1.Settings, 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 SettingsSet Delta(newSet SettingsSet) sksets.ResourceDelta // Create a deep copy of the current SettingsSet Clone() SettingsSet }
func NewSettingsSet ¶
func NewSettingsSet(settingsList ...*settings_mesh_gloo_solo_io_v1.Settings) SettingsSet
func NewSettingsSetFromList ¶
func NewSettingsSetFromList(settingsList *settings_mesh_gloo_solo_io_v1.SettingsList) SettingsSet
Click to show internal directories.
Click to hide internal directories.