Documentation ¶
Index ¶
- type Builder
- func (builder *Builder) Create() (*Builder, error)
- func (builder *Builder) Delete() error
- func (builder *Builder) Exists() bool
- func (builder *Builder) Get() (*configv1.ImageDigestMirrorSet, error)
- func (builder *Builder) Update(force bool) (*Builder, error)
- func (builder *Builder) WithMirror(mirror configv1.ImageDigestMirrors) *Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { // ConfigMap definition. Used to create configmap object. Definition *configv1.ImageDigestMirrorSet // Created configmap object. Object *configv1.ImageDigestMirrorSet // contains filtered or unexported fields }
Builder provides struct for configmap object containing connection to the cluster and the configmap definitions.
func ListImageDigestMirrorSets ¶
func ListImageDigestMirrorSets( apiClient *clients.Settings, options ...runtimeClient.ListOptions) ([]*Builder, error)
ListImageDigestMirrorSets returns a cluster-wide imagedigestmirrorset inventory.
func NewBuilder ¶
func NewBuilder(apiClient *clients.Settings, name string, mirror configv1.ImageDigestMirrors) *Builder
NewBuilder creates a new instance of Builder.
func (*Builder) Exists ¶
Exists checks if the defined imagedigestmirrorset has already been created.
func (*Builder) Get ¶
func (builder *Builder) Get() (*configv1.ImageDigestMirrorSet, error)
Get fetches the defined imagedigestmirrorset from the cluster.
func (*Builder) WithMirror ¶
func (builder *Builder) WithMirror(mirror configv1.ImageDigestMirrors) *Builder
WithMirror adds an imagedigestmirror for mirroring images.
Click to show internal directories.
Click to hide internal directories.