Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Field path constants that are specific to the internal API // representation. // https://github.com/kubernetes/apimachinery/blob/v0.21.0-beta.1/pkg/apis/meta/v1/types.go#L105 ObjectNameField = "metadata.name" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config interface { GetK8sBaseDirectory() string GetK8sNamespace() string GetK8sObjectName() string GetPauseChannel() chan bool GetWatchInterval() time.Duration }
Config defines package configuration interface.
type Object ¶
func (*Object) IsModified ¶
func (*Object) RemoveFilesFromDir ¶
RemoveFilesFromDir removes regular files from directory path, without recursion. Function can be provided with a list of file name exception, this files will not be removed.
Click to show internal directories.
Click to hide internal directories.