Documentation ¶
Index ¶
- type TestDataSource
- func (d *TestDataSource) Build() *cdiv1beta1.DataSource
- func (t *TestDataSource) ToString() string
- func (d *TestDataSource) WithAPIVersion(apiVersion string) *TestDataSource
- func (d *TestDataSource) WithGenerateName(generateName string) *TestDataSource
- func (d *TestDataSource) WithKind(kind string) *TestDataSource
- func (d *TestDataSource) WithNamespace(namespace string) *TestDataSource
- func (d *TestDataSource) WithSourcePVC(name, namespace string) *TestDataSource
- func (d *TestDataSource) WithoutTypeMeta() *TestDataSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestDataSource ¶
type TestDataSource struct {
Data *cdiv1beta1.DataSource
}
func NewDataSource ¶
func NewDataSource(name string) *TestDataSource
func (*TestDataSource) Build ¶
func (d *TestDataSource) Build() *cdiv1beta1.DataSource
func (*TestDataSource) ToString ¶
func (t *TestDataSource) ToString() string
func (*TestDataSource) WithAPIVersion ¶
func (d *TestDataSource) WithAPIVersion(apiVersion string) *TestDataSource
func (*TestDataSource) WithGenerateName ¶
func (d *TestDataSource) WithGenerateName(generateName string) *TestDataSource
func (*TestDataSource) WithKind ¶
func (d *TestDataSource) WithKind(kind string) *TestDataSource
func (*TestDataSource) WithNamespace ¶
func (d *TestDataSource) WithNamespace(namespace string) *TestDataSource
func (*TestDataSource) WithSourcePVC ¶
func (d *TestDataSource) WithSourcePVC(name, namespace string) *TestDataSource
func (*TestDataSource) WithoutTypeMeta ¶
func (d *TestDataSource) WithoutTypeMeta() *TestDataSource
Click to show internal directories.
Click to hide internal directories.