Documentation ¶
Index ¶
- func ConvertYamlFileToJson(file string) ([]byte, error)
- func GetName(instanceName string, suffix ...string) string
- func GetOrderernodeFromFile(file string) (*current.IBPOrderer, error)
- type Manager
- func (m *Manager) BasedOnCR(instance v1.Object, orderernode *current.IBPOrderer) (*current.IBPOrderer, error)
- func (m *Manager) CheckState(instance v1.Object) error
- func (m *Manager) Delete(instance v1.Object) error
- func (m *Manager) Exists(instance v1.Object) bool
- func (m *Manager) Get(instance v1.Object) (client.Object, error)
- func (m *Manager) GetName(instance v1.Object) string
- func (m *Manager) GetOrdererNodeBasedOnCRFromFile(instance v1.Object) (*current.IBPOrderer, error)
- func (m *Manager) Reconcile(instance v1.Object, update bool) error
- func (m *Manager) RestoreState(instance v1.Object) error
- func (m *Manager) SetCustomName(name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertYamlFileToJson ¶
func GetOrderernodeFromFile ¶
func GetOrderernodeFromFile(file string) (*current.IBPOrderer, error)
Types ¶
type Manager ¶
type Manager struct { Client k8sclient.Client Scheme *runtime.Scheme OrdererNodeFile string IgnoreDifferences []string Name string LabelsFunc func(v1.Object) map[string]string OverrideFunc func(v1.Object, *current.IBPOrderer, resources.Action) error }
func (*Manager) BasedOnCR ¶
func (m *Manager) BasedOnCR(instance v1.Object, orderernode *current.IBPOrderer) (*current.IBPOrderer, error)
func (*Manager) GetOrdererNodeBasedOnCRFromFile ¶
func (*Manager) SetCustomName ¶
Click to show internal directories.
Click to hide internal directories.