Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonSetSet ¶
type DaemonSetSet 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(*apps_v1.DaemonSet) bool) []*apps_v1.DaemonSet // Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list. UnsortedList(filterResource ...func(*apps_v1.DaemonSet) bool) []*apps_v1.DaemonSet // Return the Set as a map of key to resource. Map() map[string]*apps_v1.DaemonSet // Insert a resource into the set. Insert(daemonSet ...*apps_v1.DaemonSet) // Compare the equality of the keys in two sets (not the resources themselves) Equal(daemonSetSet DaemonSetSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(daemonSet ezkube.ResourceId) bool // Delete the key matching the resource Delete(daemonSet ezkube.ResourceId) // Return the union with the provided set Union(set DaemonSetSet) DaemonSetSet // Return the difference with the provided set Difference(set DaemonSetSet) DaemonSetSet // Return the intersection with the provided set Intersection(set DaemonSetSet) DaemonSetSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*apps_v1.DaemonSet, 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 DaemonSetSet Delta(newSet DaemonSetSet) sksets.ResourceDelta // Create a deep copy of the current DaemonSetSet Clone() DaemonSetSet }
func NewDaemonSetSet ¶
func NewDaemonSetSet(daemonSetList ...*apps_v1.DaemonSet) DaemonSetSet
func NewDaemonSetSetFromList ¶
func NewDaemonSetSetFromList(daemonSetList *apps_v1.DaemonSetList) DaemonSetSet
type DeploymentSet ¶
type DeploymentSet 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(*apps_v1.Deployment) bool) []*apps_v1.Deployment // Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list. UnsortedList(filterResource ...func(*apps_v1.Deployment) bool) []*apps_v1.Deployment // Return the Set as a map of key to resource. Map() map[string]*apps_v1.Deployment // Insert a resource into the set. Insert(deployment ...*apps_v1.Deployment) // Compare the equality of the keys in two sets (not the resources themselves) Equal(deploymentSet DeploymentSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(deployment ezkube.ResourceId) bool // Delete the key matching the resource Delete(deployment ezkube.ResourceId) // Return the union with the provided set Union(set DeploymentSet) DeploymentSet // Return the difference with the provided set Difference(set DeploymentSet) DeploymentSet // Return the intersection with the provided set Intersection(set DeploymentSet) DeploymentSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*apps_v1.Deployment, 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 DeploymentSet Delta(newSet DeploymentSet) sksets.ResourceDelta // Create a deep copy of the current DeploymentSet Clone() DeploymentSet }
func NewDeploymentSet ¶
func NewDeploymentSet(deploymentList ...*apps_v1.Deployment) DeploymentSet
func NewDeploymentSetFromList ¶
func NewDeploymentSetFromList(deploymentList *apps_v1.DeploymentList) DeploymentSet
type ReplicaSetSet ¶
type ReplicaSetSet 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(*apps_v1.ReplicaSet) bool) []*apps_v1.ReplicaSet // Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list. UnsortedList(filterResource ...func(*apps_v1.ReplicaSet) bool) []*apps_v1.ReplicaSet // Return the Set as a map of key to resource. Map() map[string]*apps_v1.ReplicaSet // Insert a resource into the set. Insert(replicaSet ...*apps_v1.ReplicaSet) // Compare the equality of the keys in two sets (not the resources themselves) Equal(replicaSetSet ReplicaSetSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(replicaSet ezkube.ResourceId) bool // Delete the key matching the resource Delete(replicaSet ezkube.ResourceId) // Return the union with the provided set Union(set ReplicaSetSet) ReplicaSetSet // Return the difference with the provided set Difference(set ReplicaSetSet) ReplicaSetSet // Return the intersection with the provided set Intersection(set ReplicaSetSet) ReplicaSetSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*apps_v1.ReplicaSet, 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 ReplicaSetSet Delta(newSet ReplicaSetSet) sksets.ResourceDelta // Create a deep copy of the current ReplicaSetSet Clone() ReplicaSetSet }
func NewReplicaSetSet ¶
func NewReplicaSetSet(replicaSetList ...*apps_v1.ReplicaSet) ReplicaSetSet
func NewReplicaSetSetFromList ¶
func NewReplicaSetSetFromList(replicaSetList *apps_v1.ReplicaSetList) ReplicaSetSet
type StatefulSetSet ¶
type StatefulSetSet 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(*apps_v1.StatefulSet) bool) []*apps_v1.StatefulSet // Unsorted list of resources stored in the set. Pass an optional filter function to filter on the list. UnsortedList(filterResource ...func(*apps_v1.StatefulSet) bool) []*apps_v1.StatefulSet // Return the Set as a map of key to resource. Map() map[string]*apps_v1.StatefulSet // Insert a resource into the set. Insert(statefulSet ...*apps_v1.StatefulSet) // Compare the equality of the keys in two sets (not the resources themselves) Equal(statefulSetSet StatefulSetSet) bool // Check if the set contains a key matching the resource (not the resource itself) Has(statefulSet ezkube.ResourceId) bool // Delete the key matching the resource Delete(statefulSet ezkube.ResourceId) // Return the union with the provided set Union(set StatefulSetSet) StatefulSetSet // Return the difference with the provided set Difference(set StatefulSetSet) StatefulSetSet // Return the intersection with the provided set Intersection(set StatefulSetSet) StatefulSetSet // Find the resource with the given ID Find(id ezkube.ResourceId) (*apps_v1.StatefulSet, 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 StatefulSetSet Delta(newSet StatefulSetSet) sksets.ResourceDelta // Create a deep copy of the current StatefulSetSet Clone() StatefulSetSet }
func NewStatefulSetSet ¶
func NewStatefulSetSet(statefulSetList ...*apps_v1.StatefulSet) StatefulSetSet
func NewStatefulSetSetFromList ¶
func NewStatefulSetSetFromList(statefulSetList *apps_v1.StatefulSetList) StatefulSetSet
Click to show internal directories.
Click to hide internal directories.