model

package
v0.0.0-...-8734b74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeService

type ComputeService struct {
	Ctx            context.Context
	ComputeService *compute.Service
	Error          error
}

ComputeService is GCP compute setvice

func (*ComputeService) Get

func (cs *ComputeService) Get()

Get for setup GCP auth client service

type GCSObj

type GCSObj struct {
	Ctx            context.Context
	ComputeService *compute.Service
	Bucket         string `json:"bucket"`
	ObjectName     string `json:"name"`
	Md5Hash        string `json:"md5Hash"`
}

GCSObj is request body

func (*GCSObj) InvalidateCache

func (gcsObj *GCSObj) InvalidateCache()

InvalidateCache will invalidate CDN cache

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL