Documentation
¶
Index ¶
- func NewSnapshotModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
- func PubSubSnapshotSpec_FromProto(mapCtx *direct.MapContext, in *pb.Snapshot) *krm.PubSubSnapshotSpec
- func PubSubSnapshotSpec_ToProto(mapCtx *direct.MapContext, in *krm.PubSubSnapshotSpec) *pb.Snapshot
- type SnapshotModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSnapshotModel ¶ added in v1.130.2
func NewSnapshotModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
func PubSubSnapshotSpec_FromProto ¶
func PubSubSnapshotSpec_FromProto(mapCtx *direct.MapContext, in *pb.Snapshot) *krm.PubSubSnapshotSpec
func PubSubSnapshotSpec_ToProto ¶
func PubSubSnapshotSpec_ToProto(mapCtx *direct.MapContext, in *krm.PubSubSnapshotSpec) *pb.Snapshot
Types ¶
type SnapshotModel ¶ added in v1.130.2
type SnapshotModel struct {
// contains filtered or unexported fields
}
func (*SnapshotModel) AdapterForObject ¶ added in v1.130.2
func (m *SnapshotModel) AdapterForObject(ctx context.Context, reader client.Reader, u *unstructured.Unstructured) (directbase.Adapter, error)
func (*SnapshotModel) AdapterForURL ¶ added in v1.130.2
func (m *SnapshotModel) AdapterForURL(ctx context.Context, url string) (directbase.Adapter, error)
Click to show internal directories.
Click to hide internal directories.